about // doc

Android Quick Ref

Created: 2014

Last modified: Dec, 2015

How to install custom ROM in Sero 7 Pro

Several custom ROMs are available in xda-developers website. I use dopa2.0 which can be downloaded from here. Note that dopa2.0 is the old Android 4.2 without the bloatware, and every aspect about hardware (HDMI, NFC, etc.) is still working.

  • First root the device and install CWM by following the instruction. I use WinXP virtual machine. ADB usb driver needs to be installed via device manager, and ignore the MTP driver installation inquiry. Execute the “step0-DoItAll” file to finish the root. During the process, the tablet may take several reboot. After each reboot, reconnect the tablet to PC (or virtual machine) manually.

  • In windows, copy the ROM file to Sero 7 Pro via adb

adb push \path\to\file\sero7pro-bld60220-dopa-v2.0.zip /sdcard2/

Note that the trailing slash after “/sdcard2” should not be omitted, declaring it is a directory (reference here).

  • Power off the tablet. And then press the power button and volume down key at the same time for a few seconds until see string “Recovery” appear on the screen. Release the keys. Use volume up and down keys for navigation and power button for confirmation.

  • Select install zip from external sdcard, and enable ROM integrity check by selecting “toggle signature verification”. Install the ROM and reboot. Detals can be found here.

How to install Cyanogenmod ROM to Amazon Fire 7 tablet

The unexpensive Amazon Fire 7 tablet is a good testbed for Cyagnogenmod. The whole installation process is documented in this video, but here are quick steps:

  • Download this supertools for 5th-generation Amazon Fire 7, and unzip. This tool pack includes necessary Android utilities such as adb and fastboot, USB drivers and also custom made batch job scripts.

  • Visit CM-12.1 page for Amazon Fire 7, and download CM ROM, OpenGapps (I use the “pico” version) and SuperSU. Prepare an external memory (microSD card or OTG USB drive) and copy these zip files to the external memory. Mount the external memory onto tablet.

  • Enable developer mode, and enable USB debugging. Connect tablet to PC via a USB cable, and install USB drivers if necessary.

  • If a recovery utility has not been installed yet, run “1-Amazon-Fire-5th-gen.bat” file in the supertool package, and install the recovery utility. Or one can also follow the instructions here to install TWRP, or instructions here to install the Cyanogen Recovery.

  • Boot tablet to bootloader mode via

adb reboot bootloader

in command line. Or do it manually by turning off the tablet first, and turning it on with holding volume down button after that. In the end, run “2-Boot-TWRP-To-Restore-Device.bat” to boot tablet to recovery mode. Note that one has to use command line to boot this Amazon tablet to recovery mode, because at least at the time of the writing the recovery cannot be flashed to the Amazon tablet since the bootloader is locked.

  • In the recovery mode, first back up the existing file system. Wipe out the existing ROM, and then install the zip images with the recovery utilities.

  • Reboot. Viola.


  • A “friendly” list of ADB shell command can be found in ADBShell.com. They are very similar to Linux commands.