Tuesday, 19 May 2015

Things you Should know about your Android - 2.

Android Versions (2009 - 2015)

THIS IS SECOND POST, CLICK HERE TO VISIT THE FIRST POST ON BASICS OF ANDROID



1.MOUNT :- In recovery mode, mount indicates selection of that particular partition example :- mount system indicates the partition is now ready to be accessed.

2.DALVIK CACHE :- The dalvik-cache directory holds all of the pre-compiled .dex files created from installed apps. These files are static and do not change unless the app is updated.

3.CACHE :- 
Temporary files that your app creates for its working. Has nothing to do with your data in the app, cleaning this will not affect your saved data in the app.

4.DATA :- All the users information, his preferences, saved files together make up the data. Cleaning the data will result in user's loss in information or saved files related to the app.

5.CLEAN FLASH :-  When you are flashing a completely new ROM or you face bootloop then a clean flash is recommended. In clean flash we mount system, then wipe data, internal storage, cache, dalvik cache, system. This results in no OS in device and a complete deletion of data and media files in internal storage.

6.DIRTY FLASH :- When a new version of same ROM is present, we can just wipe cache, dalvik cache and install new updated OS. This does not delete your data or media files.
No changes will be there except for the system.

7.CUSTOM KERNEL :- Custom kernel has following benefits :-
- the minimum and maximum frequencies that the CPU can scale up or down to
- how busy the CPU should be before it enables extra cores that it normally has disabled to save battery
- the frequency the CPU should boost to whenever it detects touch input (to ensure a smoother wake up)
- the CPU governor (which determines how quickly it tends to ramp up the frequency or not)   that should be used
- change the voltage of the CPU during all possible frequencies
- the maximum frequency of the GPU
- enable USB fast charge (for USB 3.0 ports)
- configure the I/O scheduler that is used.

8.GOVERNOR :- A governor is actually nothing more then a behavior profile for your CPU, the governor will tell the CPU exactly what to do in what situation.
Default types :-
– ondemand, the overall default CPU governor worldwide. Basically just ramps up your CPU speed to max freq when just pushing the screen once, then lowering it back to the minimal cpu freq (somewhat smart, but not optimized at all).
– performance just stays at the max CPU freq all the time (horrible for your battery).
– powersave stays at the min CPU freq all the time (resulting over the top lag).
– conservative is somewhat adjusted to use less power, but that’s also very notable in performance.

– userspace is a governor that needs to be completely configured manually, the default setting is the same as powersave, it will stay at your min CPU freq when not configured. (this governor is rarely used)

9. I/O SCHEDULER :-
Globally Governors and Schedulers are the same, they both provide a way how the system should work. but on Schedulers it’s all about the Input/Output datastream except the CPU settings. the I/O Schedulers decide how the upcoming I/O activity is being scheduled.
The standard schedulers are“noop” and “cfq” etc.

10. NANDROID BACKUP :- Custom recovery provides us with a function of backup. Nandroid backup means a image of the phone is created and saved as zip. The data, files, system everything is stored. Reflashing of this backup is done using custom recovery. Restoring backup puts your phone in the same state as it was when you took the backup. It will restore all your messages, saved games everything as it was before.
IT IS ALWAYS RECOMMENDED TO TAKE A NANDROID BACKUP OF YOUR STOCK ROM OR A STABLE SYSTEM BEFORE MAKING ANY CHANGES.

If you have any suggestions or queries please comment :)

Follow the blog, 
Hit like on the Facebook page and stay tuned :)
Comments are welcomed :)
Thank You.