All notes

Custom Recovery FAQ is a very good FAQ for beginners on recovery ROM.

Two popular recovery ROMs are: CWM (Clock Work Mod) and TWRP.


logansDroids: how to install custom recovery.

CWM provides ROM Manager on Google Play, which is easy to use to install Recovery. Another option is GooManager app (no longer supported).


Manual Method: Installing custom recovery with ADB Fastboot:

  1. Download and install ADB fastboot on your computer. See below for fastboot.
  2. Enable USB debugging on Android.
  3. Reboot your phone into download mode and connect the phone via USB cable. If you don't know how to enter download mode: connect your phone to computer, run "adb reboot download".
  4. In ADB interface: fastboot flash recovery. Then input the img path.
  5. Reboot to recovery mode. Commandline way: adb reboot recovery.

Fastboot fastboot.

fastboot is a small tool in the Android SDK, used to re-flash partitions on your device. It is an alternative to the recovery mode: fastboot mode is useful for updating the firmware quickly, without having to use a recovery mode.

Boot to the "fastboot mode" on the device. On your computer, run the fastboot tool to issue commands.

Some Samsung devices use heimdall, which offers functionality similar to fastboot.

Phone Models




How to install twrp using odin.

  1. Run/open Odin3 exe file on your PC.
  2. (If applicable) Enable OEM unlock: Go to Settings - About phone - and tap Build number seven times to enable Developer options. Go back to main Settings page, scroll to bottom and select Developer options from there. Under Developer options, look for Enable OEM unlock checkbox/toggle and enable it.
  3. Boot your device into Download mode: Switch off your device. Press and hold “Home + Power + Volume down” buttons for a few seconds until you see a warning screen. Press Volume Up on the warning screen to accept it and boot into Download mode.
  4. Once your device is in download mode, connect it to the PC with a USB cable. The Odin window on PC should detect the device and show an “Added!!” message.
  5. Now click on the "AP" tab on Odin window and select the TWRP recovery .tar file that you downloaded for your device.
  6. wcfNote: 如果显示“签名错误”之类的,那是因为还在用官带的rec刷补丁。在odin刷的时候把工具的自动重启关了,刷好pass后,手动按着音量加和减,HOME以及电源按键,7秒左右屏幕一熄就可以松开音量减,这样就进入rec(twrp界面)。To get into TWRP after reboot instead of Samsung's own recovery: In "Options", unselect "auto-reboot". After the next step when "pass" msg shows on Odin, press "HOME+Power+UP+DOWN" for 7 seconds, if the phone reboots, release DOWN, hold still "HOME+Power+UP", then you will get into TWRP.
  7. Click the Start button on Odin and wait for it to finish the process. Once it has finished successfully, you’ll see a pass message on the Odin screen. Your device will automatically reboot when Odin is done flashing. You can then disconnect your device.
  8. How to boot into TWRP recovery on a Samsung Galaxy device: Switch off your device. Press and hold “Home + Power + Volume Up” buttons for a few seconds and as soon as you see your device’ logo on-screen, release three buttons altogether. Your device will boot into TWRP recovery.

Root samsung S5

AndroidCentral. first have to turn developer mode on for your Galaxy S5. Here's how to do it.

  1. Go to the settings menu on your GS5.
  2. Scroll down to the "System section and tap "About Device."
  3. Now scroll down to "Build number."
  4. Tap the "Build number" section seven times. (You'll see a warning that you're about to unlock developer options.)
  5. Now back out to the main settings menu, and you'll see "Developer options" listed.

To root my Samsumg S5 G9008W, refer to Androidxda.

Root android 5.0

VolumeDown+Power+Home: download mode.

wcfNote: when installing Gapps, I came across "failed to veryfy whole file signature". It seems that Samsung only allows packages/roms to be installed signed by itself. So I have to switch to CM rom.


WCF note: I just copy the app, priv-apps from the zip file to according locaitons under /system with x-plorer.


1. Download the KitKat official signed package from Cyanogen - 83.1 MB

2. Copy on your External SD Card

3. Boot the phone into recovery mode (shutdown the phone, then start it pressing Volume+/up, home button and power for several seconds)

4. Select "install zip" and then "choose zip from /storage/extSdCard", locate on your phone and proceed with the installation.

5. Reboot your phone and you're done.

To remove/hide bloatware I suggest to use Titanium Backup.

Optimize phone

Gallery thumbnails

1. Deleted the thumbdata file (in DCIM/.thumbnails), and touch a new empty .thumbnails.

2. In Settings-Applications-All-Gallery: cleared data (only a few MB), (I would also have cleared the cache if there was anything there), then "Force stop"

3. In Settings-Applications-All-Media Storage: cleared data (only about 30MB), (I would also have cleared the cache if there was anything there), then "Force stop"

4. Restarted the phone

Google input

Slide on space bar, can slide your cursor.

Even more precise cursor control, tap the greater-than symbol or the Google icon in Gboard's upper-left corner and then tap the "I".

Fast access to numbers and symbols: touch your finger to the "?123" key and then slide it upward across the keyboard.

Long-press for symbols.

Speedy deleting of entire words or sentences: Look under "Glide typing," and make sure "Enable gesture delete" is activated. Now, when you want to erase a word or multiple words, touch your finger to the backspace key (the key to the right of "m") and immediately slide it toward the left.

Smart storage of your favorite words and phrases: Use dictionary.

Formatted fractions in a fraction of a second: Simply long press any numbers in Gboard.

Android FAQ

Erase data before selling

Keep the serial number of the phone or tablet on file for your records.

Remove your SIM card. It's still possible for contacts or call logs to be kept on your SIM card.

Remove your micro SD card. Or erase and format your SD card.

Device's internal storage. For iOS, "Settings - General - Reset - Erase all Content and Settings". For Android, encrypt your phone first and then do a factory reset (under "Backup & reset").

Remove google account. If you have a Samsung Galaxy, then you should remove your Samsung account, too.

Remove any bindings. Deactivate your phone with your carrier (e.g. China Mobile) before handing it off. To remove devices from your Google account, head to, click on "Sign-in & security," then under "Device activity & notifications," find the model you have wiped.

References:,, digitalTrends.

Installation related

“设置向导” 已停止运行

wcfSolution: 用手速进入设置-app,打开“显示系统app”,找到“设置向导(setup wizard)”,选权限,把里面两个权限打开。Samsung C9 Pro测试可用。



Insufficient storage space

Internal and External storage. Why the division? The key reason is security: apps installed to "Internal storage" have pieces that cannot be modified by the user or other apps. That's key for apps that have tricky internals, but even more necessary for apps that require a paid license, offer in-app purchases, or authenticate you with an online account.
The reason most apps choose not to install in External storage by default is that when you do plug your device in and access its storage (with a computer, in a car, or anywhere else), those apps are no longer accessible, because the storage has been "mounted" elsewhere.

APK location

Stackoverflow ref. Preinstalled applications are in /system/app folder. User installed applications are in /data/app. Good thing is that for un-rooted ones, not only the files are "listable", they're also readable.

There is also an application called "AirDroid" for fetching your downloaded apks.