====== Information ====== * Ubuntu Touch * Google/LG Nexus 4 ===== Prerequisites ===== * [[Distros:Ubuntu (Desktop)]] ===== Notes ===== * devel and staging Channels are unusable due to https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551150 ====== Dependencies ====== **** sudo apt-get install 'ubuntu-device-flash' ===== TWRP ===== * Latest TWRP for Mako is 3.0.2-0 * Check https://dl.twrp.me/mako for newer versions and change URL below as-needed wget 'https://dl.twrp.me/mako/twrp-3.0.2-0-mako.img' -O ~/'Downloads/twrp-mako.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-mako.img' && rm ~/'Downloads/twrp-mako.img' ====== Install Ubuntu Touch ====== ===== Query Channels ===== **** ubuntu-device-flash query --list-channels --device='mako' ===== Install to Device ===== **** ubuntu-device-flash touch --channel='ubuntu-touch/rc-proposed/ubuntu' --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