[Gen9 Android Development] kuskro:
Awesome preset for on Gen9 101 1.2Ghz 512mb

To whom it may help, I share my presets for this marvellous rom:

1. Rom version: 22_12_2013-13_29_20 (NOTE: this is only for low ram devices like Gen9 101 1.2Ghz 512mbRAM, other devices don't need this stuff, maybe only to install lux app for reducing battery drain).

2. On /system/build.prop:

If you used a screen filter for reducing bluelight, you might need to disable hardware overlays and use GPU for screen compositing (take note that "developer options" lets you check this option via GUI but it has to be checked each reboot, so I prefer do it throught build.prop):

debug.composition.type=gpu

My favourite screen density is not 160, it is 181 so I modified this line on build.prop:

ro.sf.lcd_density=181

To enhance scrolling and screen refreshing performance:

ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
ro.min_pointer_dur=8
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000

3. With Trickster MOD we can modify the I/O scheduler to CFQ with 512mb of read ahead buffer size and the governor to HOTPLUG with the next preset:

> down_differential: 10
> down_threshold: 40
> hotplug_in_sampling_periods: 5
> hotplug_out_sampling_periods: 20
> ignore_nice_load:0
> io_is_busy: 0
> sampling_rate: 50000
> up_threshold: 50

Of course, on this app setting it's needed to set this "kernel settings" on boot.

4. I'm using "RAM manager PRO" app to manage "MORE FREE MEMORY" over this device's ram and to cache swap memory (512mb for the swap file has been enough in my case) on the SDcard.

5. On Settings>Developer options> check "Don't keep activities"

6. On Settings>Performance>Memory management, check "Allow purging of assets".

7. On Settings>Developer options, change animations to off (Window animation scale, Transition animation scale and Animator duration scale).

8. On Archos Control Panel app, toggle on "deep sleep".

9. If you are not using the 3G dongle, you can disable some annoying services. Open the shell (terminal) and write:

su
pm disable com.android.stk
pm disable com.android.smspush

Moreover, if you have Zeam launcher installed:

su
pm disable com.tmobile.thememanager

Futhermore, to increase the free memory I normally disable some other services but you need to know what you are doing: com.google.android.gsf (google app package), com.google.android.gsf.login (same), com.google.android.gms (part of google play store), com.android.vending (google market), com.android.android.location, com.google.android.apps.uploader (used by apps like Picasa), com.android.smspush (mobile messenger used by the app WAPPushManager.apk).

To enable any service:

su
pm enable <any service>

10. We can remove some system apps like: CellBroadcastReceiver.apk, CMAccount.apk, CMFileManager.apk (can be replace by other), CMUpdater.apk, GenieWidget.apk, GoogleEars.apk, LockClock.apk, Phone.apk (if you don't use the 3G), TalkBack.apk (can be installed later), TelephonyProvider.apk (if you don't use the 3G), VoicePlus.apk (if you don't use the 3G) and WhisperPush.apk.

Open the android console emulator:

su
mount -o remount,rw /
rm <path to apk>

Optional, to make read-only again

mount -o remount,r /

When Finished:

reboot

You should know "rm" command leaves a lot of garbage to system that use storage space (for example, cached apk), and is hard to find without knowledge of system (stuff scattered around filesystem). If you know what you are doing, then why not, but playing with "rm" won't do any good. Instead of removing apps I recommend you to disable them.

11. In addition, replacing Trebuchet launcher by Zeam Launcher makes this rom flights. And installing Lux app to control the britghness we will save lot of battery juice.

Best.