====== Information ====== * Ubuntu Touch * Google/LG Nexus 5 ===== Prerequisites ===== * [[distros:ubuntu_mate | Ubuntu MATE]] ====== Dependencies ====== **** sudo apt-get install 'ubuntu-device-flash' ===== TWRP ===== * Latest TWRP for Hammerhead is 3.0.3-0 * Check https://dl.twrp.me/hammerhead for newer versions and change URL below as-needed wget 'https://dl.twrp.me/hammerhead/twrp-3.0.3-0-hammerhead.img' -O ~/'Downloads/twrp-hammerhead.img' --referer='https://dl.twrp.me' ====== Boot TWRP ====== * Disable MTP * Wipe everything (Factory Reset, Advanced Wipe, and Format Data) * Reboot to Bootloader fastboot boot ~/'Downloads/twrp-hammerhead.img' && rm ~/'Downloads/twrp-hammerhead.img' ====== Install Ubuntu Touch ====== ===== Query Channels ===== **** ubuntu-device-flash --server='http://system-image.ubports.com' query --list-channels --device='hammerhead' ===== Channels ===== * http://system-image.ubports.com/ubuntu-touch/stable/hammerhead/?C=M;O=D * http://system-image.ubports.com/ubuntu-touch/rc-proposed/hammerhead/?C=M;O=D * http://system-image.ubports.com/ubuntu-touch/devel_stable/hammerhead/?C=M;O=D * http://system-image.ubports.com/ubuntu-touch/devel_rc-proposed/hammerhead/?C=M;O=D * http://system-image.ubports.com/ubuntu-touch/devel-proposed/hammerhead/?C=M;O=D ===== Install to Device ===== **** ubuntu-device-flash --server='http://system-image.ubports.com' touch --channel='ubuntu-touch/devel_rc-proposed' --device='hammerhead' --bootstrap ====== Post-Install ====== ===== Settings ===== * Add Ubuntu One Account * Enable Developer Mode and disable when finished ===== Software ===== ==== Show Scopes ==== adb shell click list ==== Remove Scopes ==== adb shell sudo click unregister 'com.ubuntu.developer.webapps.webapp-amazon' --user=phablet && sudo click unregister 'com.ubuntu.developer.webapps.webapp-ebay' --user=phablet && sudo click unregister 'com.ubuntu.developer.webapps.webapp-facebook' --user=phablet && sudo click unregister 'com.ubuntu.developer.webapps.webapp-gmail' --user=phablet && sudo click unregister 'com.ubuntu.developer.webapps.webapp-twitter' --user=phablet && sync