This is specifically aimed at those that wish to "experiment" with the effects of having HW acceleration on or off, and changing the Dalvik Heap size. If anyone can objectively quantify the benefits or otherwise of doing either or both of these, let everyone know...
Usual caveats regarding "Try this at your own risk" and "make a Nandroid backup first" if you are not used to file manipulation and so on...
What we are going to do:
- Connect PC and Phone via USB
- Use ADB to copy the Phone's current build.prop text file to the PC
- Modify the build.prop file on the PC
- Use ADB to overwrite the Phone's build.prop file with the one you have modified
- Reboot the Phone using ADB
Firstly, you need to ensure that your PC (I'm limiting this to Windows for now) can communicate with your Blade via USB. If you can access the SD card via Windows Explorer/File Manager, you should be OK. If not, download the ZTE USB drivers found elsewhere in the forum - http://tinyurl.com/33fhyvp
For the purposes of this, you do not want to mount the SD card, so when you plug the phone in to the PC, select "Don't mount".
Plug the phone in to your PC.
On your phone, go to Setttings>Applications>Development and turn USB debugging ON. See pic below.
Download the 3 ADB files you need if you haven't already got them (they are part of the Clockwork zip). Attached below in a zip file if not.
Extract the 3 files to the root of your Windows drive (C:\ in all probability).
Go to "Run" or "Command Prompt" (depending on which Windows version you are using) and type cmd, return.
If you don't see just "C:\" simply hit "CD.." and return repeatedly until you do.
Then type "ADB devices" and return... Ignore quotes for all ADB commands!
You should see the Daemon notices followed by "P729B device" or similar. If you don't see this, Windows is not communicating with the phone. Or you may be running Win 7 64bit...!
Assuming successful, do this:
"ADB pull /system/build.prop c:\"
This will copy build.prop to your PC drive root.
Now open the build.prop file in C:\ on your PC using Notepad or similar. You will need to use Wordwrap to view the file correctly (Format from the Menu bar)
You should see something like this (cut down):
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=msm7k
# ro.build.product is obsolete; use ro.product.device
ro.build.product=P729B
# Do not try to parse ro.build.description or .fingerprint
#ro.build.description=blade-user 2.1-update1 ERE27 201005 release-keys
ro.build.description=passion-user 2.1-update1 ERE27 24178 release-keys
#ro.build.fingerprint=ZTE/P729B/P729B/blade:2.1-update1/ERE27/201005:user/release-keys
ro.build.fingerprint=google/passion/passion/mahimahi:2.1-update1/ERE27/24178:user/release-keys
usb.default.pid=0x1354
# end build properties
#
# system.prop for surf
#
##########################################
#History:
#when who what, where, why
#-------- ---- ---------------------------------------------------
#2010-01-27 zhangxian new file for moonckae bord config
#2010-03-03 luwenjun modify the version number
#2010-04-01 zhaobin need setupwizard when first boot
#2010-05-25 tangjuan set the default ringtone
#2010-06-05 zhangping add default value of the timezone is Europe/London(London, Dublin)
#...
##########################################
ro.setupwizard.mode=DISABLED
ro.build.baseband_version=P729BB01
ro.build.software_version=P729BV1.0.0B01
ro.build.sw_internal_version=OUK_P729BV1.0.0B09
ro.product.board_name=blade
rild.libpath=/system/lib/libril-qc-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
DEVICE_PROVISIONED=1
debug.sf.hw=0
dalvik.vm.heapsize=32m
ro.sf.lcd_density=240
ro.config.ringtone=FluteyPhone.ogg
ro.config.notification_sound=Tinkerbell.ogg
wifi.supplicant_scan_interval=45
wlan.default.dns1=8.8.4.4
persist.sys.timezone=Europe/London
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.com.google.gmsversion=2.1_r6
ro.sf.lcd_density=240
The lines you might wish to modify are shown in red text. To modify the hw acceleration, change debug.sf.hw= to 0 for off and 1 for on. To modify the VM heap max size, change dalvik.vm.heapsize= to anything from 12m to 48m - the standard is 24m and most folk BELIEVE that 32m is optimal....
Once you have modded these, SAVE the text file as normal, simply select "Save" from Notepad's menu. Quit Notepad.
Then, do the following
"ADB remount"
"ADB push c:\build.prop /system/"
Once done do this
"ADB reboot" or "ADB shell reboot" depending which version of ADB you have...
And that's it.
Attached Files
Edited by LanceH, 21 January 2011 - 08:32 PM.







Sign In
Create Account




Back to top












