Android information¶
Contents:
The following information is not specific to any Android device. See the links just above for device-specific info.
Android universal instructions (custom roms etc)
See device-specific pages for how to get into recovery mode, fastboot mode, etc etc
Installing adb and fastboot on a computer¶
(not the android, a linux or windows or something)
https://developer.android.com/studio/releases/platform-tools.html
Just download the zip, unpack, and put the binaries on your PATH or something.
Custom recovery¶
(Pre-req to install custom ROM)
https://www.xda-developers.com/how-to-install-twrp/
Download from https://twrp.me/Devices/
Before:
Install adb and fastboot on a computer
Enable USB debugging on the android device
To install TWRP:
Boot into bootloader mode (e.g. fastboot mode)
“fastboot flash recovery twrp-2.8.x.x-xxx.img”
“fastboot reboot”
ALTERNATIVELY if device is already rooted, you can install and use TWRP manager
Custom ROM¶
http://www.android.gs/install-custom-roms-android-devices-guide/
THIS WIPES ALL YOUR DATA
Copy zipfiles to phone file system
Boot into recovery mode
select “wipe data factory reset”, “wipe cache partition” and “wipe dalvick cache”.
Choose “install zip from SD card” and “choose zip from SD card”. Pick the update file and flash the same.
Optional: repeat this operation for applying the Google Apps package.
Reboot
Kernel¶
(as opposed to the whole ROM)
With fastboot¶
Plug in the phone and boot to fastboot mode (back+power or camera+power). Wait until the screen with skating ‘droids appears,
press the back button (the center bar should say “Fastboot” or “Fastboot USB”)
On the computer:
fastboot flash boot boot.img fastboot reboot