what to do after rooting ?

20
Now that you are rooted … What next ???

Upload: arnav-gupta

Post on 04-Jul-2015

125 views

Category:

Mobile


0 download

DESCRIPTION

A presentation given at a rooting workshop at IIT Delhi

TRANSCRIPT

Page 1: What to do after Rooting ?

Now that you are rooted … What next ???

Page 2: What to do after Rooting ?

Disk Partition : Unrooted

/boot Kernel partition, executed at bootCannot be overwritten

/system Can be read by all apps and usersCannot be written to by anyone

/cache Can be written to by apps (for temp storage)Cannot be cleared without factory reset

/userdata Apps can write to own folder (/data/data/appname)Apps/Users cannot read anything

/recovery Recovery partition, executed at recovery-bootCannot be overwritten

Page 3: What to do after Rooting ?

Disk Partition : Rooted

/boot Overwrite with your own custom kernel

/system Delete/modify system appsInject your apps in to /system

/cache Can be cleared whenever you want toRefreshing of cache can make system faster

/userdata Full read access to /data partitionChange/backup/restore data of any app selectively

/recovery Overwrite with your own custom recovery(TWRP & CWM are some popular recoveries)

Page 4: What to do after Rooting ?

Some must have 'root

apps'

Page 5: What to do after Rooting ?

Titanium BackupOne of the most popular app data backup/restore apps on market.

Save your game data or your whatsapp messages even accross a system format.

Clear data of an app selectively without doing a factory reset of the phone.

Shift an user-installed app to /system

Disable OEM installed bloat apps.

Page 6: What to do after Rooting ?

LED Control AppsGet complete control over LED notifications

Set custom colors, blink speeds for separate apps, or for a group of apps

Set different LED notification styles according to time of day.

Some popular apps : -

* LED Light Flow

* Notifications ++

Page 7: What to do after Rooting ?

Greenify!Greenify is an app manager tool that lets you "Greenify"

an app and is unlike the "Hibernation" tool featured by

many other apps. A Greenify-ed app is in a state of

hibernation state and unable to access system

resources, bandwidth, or run background processes.

However, Greenify allows you to run an app normally in

the foreground when explicitly called by the user

without any extra fuss. Just don't greenify your alarm

clock or messenger!

Page 8: What to do after Rooting ?

Custom Recoveries

Page 9: What to do after Rooting ?

ClockWorkMod RecoveryDeveloped by famous CyanogenMod

developer Koushik 'Koush' Dutta.

Replaces the default recovery present

on the device

Allows formatting of any partition,

formatting of sdcards to any filesystem

(fat/ntfs/ext)

Flashing of custom ROMs, kernels

Complete backup 'image' of the whole

system and userdata partition. And

restore the same.

Page 10: What to do after Rooting ?

TeamWin Recovery ProjectTWRP is called by many as Android

Recovery on Steroids.

It provides all functionalities of CWM

Recovery, and some more.

You can selective backup/restore

certain partitions. The recovery has an

inbuilt file manager too.

Biggest draw : This recovery has a fully

touch driven UI and complete themable.

Page 11: What to do after Rooting ?

Supercharge your Phone !

Page 12: What to do after Rooting ?

Supercharger V6 by zeppelinroxPossibly the most famous root script for android phones.

Reduces the Android 'OOM' and 'minfree' parameters

Makes multitasking on old and sloppy hardware (single core, 1ghz) phones possible.

Get it via google search : google.com/search?q=supercharger+v6

Page 13: What to do after Rooting ?

Custom Kernels : Wings for your phoneA custom kernel may allow you to : -● Overclock the CPU ● Underclock the CPU volatages● Use different I/O schedulers● Use different CPU Governors● Modify GPU parameters● Tweak performance in other various ways

Page 14: What to do after Rooting ?

Custom Kernels : PrecautionsWhile custom kernels can promise to do wonders to your phone, try to keep in mind that excessively pushing your device beyond limits is not a bright idea.

Each CPU is different. Some might not handle overclock gracefully. If your phone heats up or shuts down randomly, do NOT overclock/undervolt.

A custom kernel is not the Holy Grail or the answer to the million dollar question always. It could be that your hardware just cannot perform any more than it does.

Page 15: What to do after Rooting ?

A world beyond rooting

Page 16: What to do after Rooting ?

Own your phoneOwn your phoneAndroid is an open source Operating System. Android is an open source Operating System.

This opens the door to the most obvious step – customize This opens the door to the most obvious step – customize the OS itselfthe OS itself

There are two kinds of customizations : There are two kinds of customizations :

a) 'modding' the stock firmware that the OEM installs on a) 'modding' the stock firmware that the OEM installs on the phonethe phone

b) customizing the android source code and building it for b) customizing the android source code and building it for the phonethe phone

While rooting is sufficient to run a modded stock ROM, While rooting is sufficient to run a modded stock ROM, unlocking or hacking of the bootloader is essential to be unlocking or hacking of the bootloader is essential to be able to run a custom ROM build from source (mostly but able to run a custom ROM build from source (mostly but

not always).not always).

Page 17: What to do after Rooting ?

Modded Stock OS : ProsModded Stock OS : Pros

● Since based on a OEM-built Since based on a OEM-built ROM, all hardware is ROM, all hardware is guaranteed to work.guaranteed to work.

● Hacks less into low level Hacks less into low level codes, so has comparatively codes, so has comparatively lower risks of running.lower risks of running.

● Proprietary OEM-developed Proprietary OEM-developed functionality (eg. HTC Zoe, functionality (eg. HTC Zoe, Samsung Galaxy S4 gimmicks, Samsung Galaxy S4 gimmicks, Sony's social integration Sony's social integration softwares) are preserved.softwares) are preserved.

● Does not need custom built Does not need custom built kernel, thus bootloader kernel, thus bootloader unlocking is not needed.unlocking is not needed.

Page 18: What to do after Rooting ?

Modded Stock OS : ConsModded Stock OS : Cons

● Cannot go beyond the latest Cannot go beyond the latest Android version that the OEM Android version that the OEM has released for the device.has released for the device.

● Cannot 'get more out of' the Cannot 'get more out of' the system hardwares. system hardwares.

● Would look more or less like Would look more or less like the OEM skinthe OEM skin

Page 19: What to do after Rooting ?

Custom Android OS : ProsCustom Android OS : Pros

● Build from the latest Android Build from the latest Android source code. Thus run android source code. Thus run android 4.3.1 on three year old HTC 4.3.1 on three year old HTC Desire or Xperia X10 Galaxy S.Desire or Xperia X10 Galaxy S.

● Complete customizability of Complete customizability of the framework thus allowing the framework thus allowing you to do literally 'whatever you to do literally 'whatever you want to do' with the OSyou want to do' with the OS

● Themeability support – two Themeability support – two identical phones running the identical phones running the exact same OS can be made to exact same OS can be made to look very different from look very different from each other.each other.

● Ability to 'get more out of' Ability to 'get more out of' hardware. eg. Enabling LTE on hardware. eg. Enabling LTE on Nexus 4, enabling FM Radio on Nexus 4, enabling FM Radio on HTC Desire/Nexus OneHTC Desire/Nexus One

Page 20: What to do after Rooting ?

Custom Android OS : ConsCustom Android OS : Cons

● Development takes time. Development takes time. Alphas and beta builds for a Alphas and beta builds for a long time.long time.

● Complicated hardware like Complicated hardware like camera takes time to develop camera takes time to develop drivers for, and may not drivers for, and may not perform as well as it does perform as well as it does on stock ROMson stock ROMs

● Deep level hardware codes Deep level hardware codes are touched hence has are touched hence has comparatively more risks comparatively more risks involvedinvolved

● Proprietary functions of the Proprietary functions of the OEM would not work (either OEM would not work (either cannot be developed or cannot be developed or license issues)license issues)