Quickstart to Android Flashing Custom ROMs

Bootloader Android

I know I was a bit confused when initially rooting and installing custom ROMs on my Android device and while I don’t consider myself an expert there are a few terms that could use a quick definition to know your way around custom ROM installations.

Device Modes/States

When you start your device you can boot into 1 of 3 modes

  • Bootloader: a mode that can boot into Recovery or start the regular boot process (into Android) and also shows some details of your device. ROMs can be flashed in the bootloader but it is not the typical case
  • Recovery: a mode to flash ROMs (stock / custom)
  • Regular system boot: boots into the operating system while would typically be Android

Communication Tools

These tools can be used to communicate and even transfer files with your device

  • adb: when in recovery mode / standard Android
  • fastboot : when in bootloader

Unlocking the Bootloader

Bootloader

Boot loaders can be locked which prevents custom ROMS from being flashed. Unlocking the bootloader can be done with the following commands (this was done on a Nexus 7 2013, other devices may need other commands)

  1. Reboot into the bootloader
    adb reboot bootloader
  2. Unlock the bootloader
    fastboot oem unlock

Bootloader unlockBootloader unlock icon

Once the bootloader is unlocked you can install a custom ROM. While I believe it is possible to install custom ROMs without a custom recovery program, the typical way to install a ROM is with one. I’ve used ClockWorkMod Recovery and Team Win Recovery Project (TWRP) but there are others other there. Just make sure you install the right one for your device.

Flashing a Custom ROM

Custom Recovery TWRP

  1. Install a custom recovery
  2. Install it on your device
  3. Download your custom ROM
  4. Reboot your device into recovery
    adb reboot recovery
  5. Follow the on screen instructions to install the ROM
    1. Typically you have to wipe your device (dalvik cache, system and personal data)
    2. Install the custom ROM from a zip file
  6. Reboot into your new ROM

Custom ROMS

  • Custom builds/implementation of Android with some famous ones such as CyanogenMod and ParanoidAndroid (currently I’m using OmniROM)
  • Stock ROMs are the original ROM that came with the device
  • Custom ROMs typically will not have the Google services and usually need to be manually installed. Typically packaged / called gapps
  • Some problem with custom ROMs is usually hardware support: some things may not work as well as they do on stock ROMs. Thus custom ROMs that are based on stock ROMs will probably have better hardware support compared to generic custom ROMs

Rooting

Other Terms

  • “Unlocked”: this can mean several things
    • Unlocked from a carrier: it can us SIM cards from any carrier
    • Unlocked bootloader: it can load custom ROMs

Things I’m still unsure of

  • If the bootloader needs to be unlocked in order to flash a custom recovery
  • “Secure boot”: shown on the boot loader but doesn’t affect flashing a custom ROM

Links

DES Interactive Energy Saver

Interactive Energy Saver

http://www.des.gov.bn/bdes/images/electric_usage.swf
(Note: requires Flash thus wont’ work on iOS and later Android devices)

Saw this on DES website as I was getting links for my previous post and thought it would be nice to share. It is nice that they are providing interactivity, however it needs to be more accessible and there should be an HTML 5 / Javascript / Canvas solution to this especially with Flash being gone on mobile devices.

Perhaps @mfirdaus will bring the HTML5 solution to reality (P.S. he’s also available at mfirdaus.net).

QWOP

QWOP

If at first you don’t succeed try try again…

QWOP finish screenshot

It has come a long way from my doing the Funky Chicken Leg as seen below, to beat the game literally on 1 knee
QWOP Funky Chicken Leg cheat way of winning

P.S. For those wondering how far back you can go, there is a block at the -3m position. Yes I did try hahaha
QWOP block at -3m screenshot

Fun, frustrating, fulfilling game and pretty inspirational all from a simple running game!

For some videos check out Youtube QWOP search. Perhaps I’ll make a few videos of how to beat the game: the Funky Chicken Leg way (or other non-running methods) and also the proper way to run (or at least the way I do, because I don’t think my method is optimal)

Happy playing people!

Powered by ScribeFire.