[Android Software Development] dozz01:
[Cube U9GT2/Window N90/Visture V2/Easypad 970] Optimizing "build.prop" ICS 4.0.3

Discussion Thread about "build.prop" for ICS 4.0.3 related to Cube U9GT2, Window N90, Visture V2, and Easypad 970.

Table of contents:

Part 1: Original build.prop discussion "# autogenerated by buildinfo.sh"

Part 2: Original build.prop discussion "# ADDITIONAL_BUILD_PROPERTIES"

Part 3: Additional lines

Part 4: Optimizing build.prop

Part 1: Original build.prop discussion "# autogenerated by buildinfo.sh":

# begin build properties
# autogenerated by buildinfo.sh
01. ro.build.id=IML74K
02. ro.build.display.id=rk29sdk-eng 4.0.3 IML74K eng.yangyun.20120108.124417 test-keys
03. ro.build.version.incremental=eng.yangyun.20120108.124417
04. ro.build.version.sdk=15
05. ro.build.version.codename=REL
06. ro.build.version.release=4.0.3
07. ro.build.date=Sun Jan 8 12:44:47 CST 2012
08. ro.build.date.utc=1325997887
09. ro.build.type=eng
10. ro.build.user=yangyun
11. ro.build.host=rk29
12. ro.build.tags=test-keys
13. ro.product.model=CUBE U9GT 2
14. ro.product.brand=Android
15. ro.product.name=rk29sdk
16. ro.product.device=rk29sdk
17. ro.product.board=rk29sdk
18. ro.product.cpu.abi=armeabi-v7a
19. ro.product.cpu.abi2=armeabi
20. ro.product.manufacturer=unknown
21. ro.product.locale.language=en
22. ro.product.locale.region=US
23. persist.sys.timezone=Asia/Shanghai
24. ro.wifi.channels=
25. ro.board.platform=rk29
# ro.build.product is obsolete; use ro.product.device
26. ro.build.product=rk29sdk
# Do not try to parse ro.build.description or .fingerprint
27. ro.build.description=rk29sdk-eng 4.0.3 IML74K eng.yangyun.20120108.124417 test-keys
28. ro.build.fingerprint=Android/rk29sdk/rk29sdk:4.0.3/IML74K/eng.yangyun.20120108.124417:eng/test-keys
29. ro.build.characteristics=tablet
# end build properties

01. Correct code

02.-05. Correct codes + Information (Source)

06. must beginn with the correct OS Version eg. 2.3.1 or 4.0.3 but afterwards text can be added

07. unimportant; changeable

08. UTC = timezone; another timezone would be GMT; found no sources in what to change those values

09. important; changeable in: eng, user, userdebug (source)

10.-11. unimportant => changeable

12. build description; i guess it should match with 2.+27.+28.; but it is also changeable, eg. rel-keys, unsigned, ...

13.+16. important for OS and some Apps; should match with the CPU

14. Information; e.g. the carrier the software is customized for

15. Information; is integrated in fingerprint

17.-19,25-29. correct code

20. important for OS and some Apps to identify some compatibilities

21.-22. for applications to identify from which region the user is

23. unimportant; good for Firmwares to adjust the values the OS starts with; typical lines are eg.: "persist.sys.language=en"; "persist.sys.country=US"; "persist.sys.timezone=Europe/Amsterdam"

24. can be adjusted to "14", but it wont probably effect smth.

Part 2: Original build.prop discussion "# ADDITIONAL_BUILD_PROPERTIES":

# ADDITIONAL_BUILD_PROPERTIES
#
01. ro.com.android.dateformat=MM-dd-yyyy
02. ro.config.ringtone=Rigel.ogg
03. ro.config.notification_sound=Fluorine.ogg
04. ro.config.alarm_alert=Alarm_Classic.ogg
05. ro.config.facelock=enable_facelock
06. persist.facelock.detect_cutoff=5000
07. persist.facelock.recog_cutoff=5000
08. ro.opengles.version=131072
09. wifi.interface=wlan0
10. wifi.supplicant_scan_interval=120
11. persist.sys.usb.config=mtp
12. persist.sys.strictmode.visual=false
13. dalvik.vm.jniopts=warnonly
14. ro.sf.hwrotation=270
15. ro.rk.sdcard_volume=Internal SD
16. ro.rk.external_volume=External SD
17. ro.sf.fakerotation=true
18. sys.hwc.compose_policy=6
19. rild.libargs=-d_/dev/ttyUSB1
20. ril.pppchannel=/dev/ttyUSB2
21. ril.function.dataonly=1
22. rild.libpath=/system/lib/libril-rk29-dataonly.so
23. dalvik.vm.heapstartsize=8m
24. dalvik.vm.heapgrowthlimit=64m
25. dalvik.vm.heapsize=256m
26. ro.kernel.android.checkjni=1
27. ro.setupwizard.mode=OPTIONAL
28. dalvik.vm.dexopt-flags=m=y
29. net.bt.name=Android
30. dalvik.vm.stack-trace-file=/data/anr/traces.txt

1.-4. self explaining settings

5.-7. can be deleted when facelock ist not be used

8. OpenGL ES 2.0 code

9. correct code

10. changeable from 1 to indefinite; some issues occur if value is set to high

11.-13. correct code

14. effects the screen rotation; "270" is the best value for having the screen in portrait mode plus "auto-rotate screen" within settings activated; taking this line out results in having the screen in landscape mode plus "auto-rotate screen" within settings deactivated -> changing the screen mode here must happen over the launcher settings

15.-16. correct code; the line "ro.rk.usb_host_volume=USB Device" can be added if supported; unfortunately for now the Cube & co. Firmwares doesn't seem to support this

17. can be deleted

18. hwc stands for 3rd party hardware composer; the effects of "6" i.d.k.

19.-22. can be deleted when tablet is not used as phone

23. influences directly the overall device performance and best settings here are more important than in 24.-25.; with 1m the home screen will reload permanently and the device will restart occasionally, with 5m the home screen plus widgets should be fine but still the device will restart sometimes, the standard value 8m is already a good value; with every 1m more or less the device will use ~16MB more/less RAM; good performance value would probably be 7m, and a good stability value 10m; 12m is also acceptable

24. the size the startsize can grow; typical 2.x.x values were 32m-48m; good values for ICS are 48-64m

25. the size dalvik cache uses at max; typical values are 4 times the "heapgrowthlimit" or less

26. checking tool; when switched to "0" performance will slightly be increased(source)

-> updated to "1", because no noticeable effect with "0"

27. checking tool; when switched to "DISABLED" performance will slightly be increased

28. checking tool; when switched to "v=n,o=v" performance will slightly be increased

-> updated to =m=y, because no noticeable effect with "v=n,o=v"

29. can be deleted

30. correct code

Part 3: Additional lines:

01. debug.sf.nobootanimation=1
02. ro.config.hw_hasbootsound=false
[strike]03. pm.sleep_mode=[0-4][/strike]
[strike]04. dalvik.vm.verify-bytecode=false[/strike]
05. ro.rksdk.version=RK2918_ANDROID4.0.3-SDK_V2.02_20120201
06. ro.product.version=1.0.0
07. ro.product.ota.host=www.rockchip.com:2300

01. second boot-animation wont start

02. no sound during boot process

03. causes deeper sleep; often used in 2.x.x, but i.d.k. if it still has an effect in ICS; values "0, 1, 2, 3, 4" (source, bottom of website)

04. checking tool; when switched to "false" performance will slightly be increased; but it also can negatively effect applications (source)

05.-07. some new lines from N90/Moage, but i don't know the purpose yet

Part 4: Optimizing build.prop:

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=IML74K
ro.build.display.id=rk29sdk-eng 4.0.3 IML74K eng.fjp.20120305.172107 test-keys
ro.build.version.incremental=eng.fjp.20120305.172107
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.3
ro.build.date=Sun Jan 8 12:44:47 CST 2012
ro.build.date.utc=1325997887
ro.build.type=eng
ro.build.user=dozz
ro.build.host=vers08
ro.build.tags=test-keys
ro.product.model=GT-P1000
ro.product.brand=Samsung
ro.product.name=rk29sdk
ro.product.device=GT-P1000
ro.product.board=rk29sdk
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=14
ro.board.platform=rk29sdk
# ro.build.product is obsolete; use ro.product.device
ro.build.product=rk29sdk
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=rk29sdk-eng 4.0.3 IML74K eng.fjp.20120305.172107 test-keys
ro.build.fingerprint=Samsung/rk29sdk/GT-P1000:4.0.3/IML74K/eng.fjp.20120305.172107:eng/test-keys
ro.build.characteristics=tablet
# end build properties

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.opengles.version=131072
wifi.interface=wlan0
wifi.supplicant_scan_interval=45
sys.hwc.compose_policy=6
persist.sys.usb.config=mtp
# ro.sf.hwrotation=270
ro.rk.sdcard_volume=Internal Storage
ro.rk.external_volume=SD Card
ro.rk.usb_host_volume=USB Device
dalvik.vm.heapstartsize=7m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=192m
persist.sys.strictmode.visual=false
dalvik.vm.jniopts=warnonly
ro.kernel.android.checkjni=1
ro.setupwizard.mode=DISABLED
dalvik.vm.dexopt-flags=m=y
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.rksdk.version=RK2918_ANDROID4.0.3-SDK_V2.02_20120201
ro.product.version=1.0.0
ro.product.ota.host=www.rockchip.com:2300
ro.config.hw_hasbootsound=false
debug.sf.nobootanimation=1
[blank line]

If someone has some tested improvements, please do not hesitate to post them. ;)

dozz

update 2012.03.19:

part "# autogenerated by buildinfo.sh"

:

- still best settings; fingerprint data were updated

part "# ADDITIONAL_BUILD_PROPERTIES":

- some tweaks had in long term run with more apps installed no noticeable positiv effect and were removed or changed

- date and sound lines were removed

- dalvik.vm.heap values were changed to 7m, 48m, 192m - everything else (higher or lower) destabilized the system in long term run with more apps installed

- three lines from N90/Moage were added

-> new build.prop version (v08)