Related
Here is example of what i have done with codenameandroid source.
First thanks to Trojan38 for helping with this.
I created folder CNA in my home folder.
repo init -u https://github.com/CNA/android_manifest.git -b jellybean
repo sync
After repo is synced i copied local_manifest.xml from cm10 to include galaxysmtd into source three.
This file can be found in .repo folder.When u open you repo folder you have to enable Show hidden files.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_galaxysmtd" path="device/samsung/galaxysmtd" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_device_samsung_aries-common" path="device/samsung/aries-common" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_kernel_samsung_aries" path="kernel/samsung/aries" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />
</manifest>
Also you have to copy these 2 folders from cm10 repo:
/vendor/samsung/aries-common
/vendor/samsung/galaxysmtd
Then go to folder /vendor/cna
Open file vendorsetup.sh
Add lunch combo for galaxysmtd like on code bellow:
Code:
add_lunch_combo cna_crespo-userdebug
add_lunch_combo cna_crespo4g-userdebug
add_lunch_combo cna_grouper-userdebug
add_lunch_combo cna_maguro-userdebug
add_lunch_combo cna_stingray-userdebug
add_lunch_combo cna_stingray_cdma-userdebug
add_lunch_combo cna_toro-userdebug
add_lunch_combo cna_toroplus-userdebug
add_lunch_combo cna_umts_everest-userdebug
add_lunch_combo cna_wingray-userdebug
add_lunch_combo cna_d2att-userdebug
add_lunch_combo cna_d2spr-userdebug
add_lunch_combo cna_d2tmo-userdebug
add_lunch_combo cna_d2usc-userdebug
add_lunch_combo cna_d2vzw-userdebug
add_lunch_combo cna_i9300-userdebug
add_lunch_combo cna_galaxysmtd-userdebug
Then go to folder /vendor/cna/products
Create file cna_galaxysmtd.mk
File should look like this
Code:
$(call inherit-product, device/samsung/galaxysmtd/full_galaxysmtd.mk)
# Inherit some common stuff.
$(call inherit-product, vendor/cna/config/common_full_phone.mk)
# Inherit some common stuff.
$(call inherit-product, vendor/cna/config/gsm.mk)
PRODUCT_COPY_FILES += \
vendor/cna/prebuilt/hdpi/bootanimation.zip:system/media/bootanimation.zip
# Release name
PRODUCT_RELEASE_NAME := GT-I9000
PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=GT-I9000 BUILD_FINGERPRINT="samsung/GT-I9000/GT-I9000:2.3.5/GINGERBREAD/XXJVT:user/release-keys" PRIVATE_BUILD_DESC="GT-I9000-user 2.3.5 GINGERBREAD XXJVT release-keys"
PRODUCT_NAME := cna_galaxysmtd
PRODUCT_DEVICE := galaxysmtd
PRODUCT_BRAND := samsung
PRODUCT_MODEL := GT-I9000
PRODUCT_MANUFACTURER := samsung
In that same folder open file AndroidProducts.mk
File should look like this
Code:
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/cna_crespo.mk \
$(LOCAL_DIR)/cna_crespo4g.mk \
$(LOCAL_DIR)/cna_grouper.mk \
$(LOCAL_DIR)/cna_maguro.mk \
$(LOCAL_DIR)/cna_stingray.mk \
$(LOCAL_DIR)/cna_stingray_cdma.mk \
$(LOCAL_DIR)/cna_toro.mk \
$(LOCAL_DIR)/cna_toroplus.mk \
$(LOCAL_DIR)/cna_umts_everest.mk \
$(LOCAL_DIR)/cna_wingray.mk \
$(LOCAL_DIR)/cna_d2att.mk \
$(LOCAL_DIR)/cna_d2spr.mk \
$(LOCAL_DIR)/cna_d2tmo.mk \
$(LOCAL_DIR)/cna_d2usc.mk \
$(LOCAL_DIR)/cna_d2vzw.mk \
$(LOCAL_DIR)/cna_i9300.mk \
$(LOCAL_DIR)/cna_galaxysmtd.mk \
Then do another repo sync.
Then build like this:
. build/envsetup.sh
lunch (choose galaxysmtd)
mka squish
This is how my manifest file looks like.It includes some part of code from CM10.
You can download it from this location.File is default.xml
https://drive.google.com/#folders/0Bw09xjTGhT_HeHF1OVpNYnNwTmM
Want to include something from source into your builds?
For example i want to include DSPManager form CM10 into CNA build.
I will open default.xml file(manifest file) on this location .repo/manifests
Add this line into file
Code:
<project path="packages/apps/DSPManager" name="CyanogenMod/android_packages_apps_DSPManager" remote="github" revision="jellybean" />
Go to folder /build/target/product and open file core.mk
Add DSPManager like in code bellow at beggining of the file.
Code:
PRODUCT_BRAND := generic
PRODUCT_DEVICE := generic
PRODUCT_NAME := core
PRODUCT_PROPERTY_OVERRIDES := \
ro.config.notification_sound=Proxima.ogg \
ro.config.alarm_alert=Cesium.ogg
PRODUCT_PACKAGES := \
ApplicationsProvider \
BackupRestoreConfirmation \
Browser \
Contacts \
ContactsProvider \
DSPManager \
DefaultContainerService \
DownloadProvider \
DownloadProviderUi \
Like this all your builds for all devices will have DSP Manager included.
GUIDES!
Want to build from source?
Want to build CM10 from source.Here it is:
http://forum.xda-developers.com/showthread.php?t=1813924
This is good start for everyone.In link above you have a everything you need to set up your android enviroment.
Things that are not in this guide is:
Do not log on to machine as root.Use account created during install and use sudo commands in terminal.
Place all your work in home folder.
For example this is how i set my build machine.
In my home folder i created folder android.In that folder i create folders:aokp and cm10.
Yes,you can have different repo's on one machine.
Want to build AOKP from source.Here it is:
Create separate folder (for example AOKP).
Go to terminal and navigate to that folder.
Then type:
repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr1
repo sync
Download files local_manifest.xml and galaxysmtd.mk and folder aries-common from here http://rootaxbox.no-ip.org/malcho/AOKP%20Beast/
Local_manifest.xml goes to .repo folder(you have to enable Show hidden files and folders).
galaxysmtd.mk file goes to vendor/aokp/products
aries -common folder goes to vendor/aokp/overlay
In folder vendor/aokp/products add this to AndroidProducts.mk file.
$(LOCAL_DIR)/galaxysmtd.mk
In folder vendor/aokp add this to vendorsetup.sh file.
add_lunch_combo aokp_galaxysmtd-userdebug
repo sync
. build/envsetup.sh
lunch
choose galaxysmtd
make bacon
ROM wil be in folder /out/target/product/galaxysmtd
Want to build BAKED from source.Here it is:
Create separate folder (for example BAKED).
Go to terminal and navigate to that folder.
Then type:
repo init -u https://github.com/TeamBAKED/platform_manifest.git -b jb
repo sync
. build/envsetup.sh && lunch baked_galaxysmtd-userdebug && mka bacon
TeamBaked Github for tracking changes:
https://github.com/TeamBAKED
Want to build PARANOID from source.Here it is:
Create separate folder (for example paranoid).
Go to terminal and navigate to that folder.
Then type:
repo init -u git://github.com/ParanoidAndroid/manifest.git -b jellybean
Go to folder.On drop menu select menu View and option Show hidden files and folders.
Then folder .repo will appear.Go to folder manifests.
Open file default.xml with gedit.
Erase bolded line(Paranoid preference)
<project path="packages/apps/PackageInstaller" name="CyanogenMod/android_packages_apps_PackageInstaller" />
<project path="packages/apps/ParanoidPreferences" name="android_packages_apps_paranoidpreferences" remote="paranoid" revision="jellybean" />
<project path="packages/apps/ParanoidWallpapers" name="ParanoidAndroid/android_packages_apps_ParanoidWallpapers" />
Go back to folder .repo.
Copy local_manifest.xml from cm10 repo.This needs to be done to sync galaxys files.
repo sync
./rom-build.sh galaxysmtd
ParanoidAndroid github for tracking changes:
https://github.com/ParanoidAndroid
Want to build SLIM from source.Here it is:
Create separate folder (for example slimroms).
Go to terminal and navigate to that folder.
repo init -u git://github.com/SlimRoms/platform_manifest.git -b jb
repo sync
Do initial build for galaxysmtd
. build/envsetup.sh
lunch
choose galaxys i think number 16
make -j4 bacon
Error will appear.
Go to folder
/slimroms/kernel/samsung/ics-ramdisk from terminal
tar zxvf jb_combo.tar.gz
tar zxvf jb_combo_c.tar.gz
tar zxvf jb_combo_v.tar.gz
go to folder
/slimroms/kernel/samsung/samsung-kernel-aries/arch/arm/configs
Open file semaphore_galaxys_defconfig with text editor
type in terminal id enter in file your ID and GID.
Make shure the path is correct to your jbcombo.
CONFIG_INITRAMFS_SOURCE="~/android/slimroms/kernel/samsung/ics-ramdisk/jb_combo_c/"
CONFIG_INITRAMFS_ROOT_UID=1000
CONFIG_INITRAMFS_ROOT_GID=1000
Go back to your root folder slimroms.
. build/envsetup.sh
lunch
choose galaxys i think number 16
make -j4 bacon
SlimRoms github for tracking changes:
https://github.com/SlimRoms
EXAMPLE HOW TO TRACK CHANGES:
All patches and changes for cm10 rom goes to this site:
http://review.cyanogenmod.com/#/q/statuspen,n,z
These patch have status open and goes to review.When file is reviewed and approved it goes to status merged.That means that file is now at this site:
https://github.com/CyanogenMod
All patches and changes for aokp rom goes to this site:
http://gerrit.sudoservers.com/#/q/status:open,n,z
These patch have status open and goes to review.When file is reviewed and approved it goes to status merged.That means that file is now at this site:
https://github.com/AOKP
When u do repo sync you practicaly download all files from github site.
Example of my build script.Script do sync repo's and build.
Code:
cd ~/android/cm10
repo sync
cd ~/android/aokp
repo sync
cd ~/android/cm10
rm -rf ~/android/cm10/out/target/product/galaxysmtd
. build/envsetup.sh && brunch galaxysmtd
cd ~/android/aokp
rm -rf ~/android/aokp/out/target/product/galaxysmtd
. build/envsetup.sh && brunch galaxysmtd
You can run script with bash -x parametar to see output.
bash -x reposyncbulid.sh
CHERRY PICKING GUIDE IN PDF IN ATTACHMENT!
TEST ROMS BUILT FROM SOURCE
DISCONTINUED!!!!
Credits and thanks to:teamkang for source and guide,perka for guide,mialwe,stratosk,DerTeufel1980,lippol94,sixstingsgs,kasper_h,
kosako17,pmos69,prbassplayer,krarvind,aways,droidjam and all others on XDA from which i learned alot!Special thanks to bhu1 and franzyroy!
I love this thread... Thanks!!
only 3 ROMs ?... add more...
i flash 3 roms in a day...that`s nothing...
post cm7, miui, aosp and the other newly added
Give GingerReal a try too. It's great and keeps me coming back.
Yet another variant on the best rom thread! Zzzzz
Insanity cm 014/glitch
ROM, I like darky's rom at froyo time but now at gb time, I prefer either juwe's for performance or tweaky's for features.
Kernel, speedmod for froyo. Talon for gb.Talon's under dev but has been using 1.2kmhz for weeks and vy stable n vy fast.
Sent from my GT-I9000 using XDA Premium App
First I was a big fan of darky's roms, but I just got sick of all the green themes.
The perfect rom for me?
Juwe's smart edition 5.0
As the OP says, It's just great. Fast, Long battery life and looks great
Using it with the semaphore kernel.
I've been testing stock roms for a long time with custom kernels, specially Speedmod or Fugu. Now I'm fully on Cyanogenmod 7 with stock kernel. The stock rom provides stability and standard perfomance, CM7 provides full power over the phone at the cost of some bug or glitches.
I'm also back to stock Ramad JVP deodexed rom.Last night i've flashed Galaxian kernel to see how it works.Had some trouble with bluetooth and GPS butt now it's solved.
Damn,this kernel is fast.I choose default in voltage control(1000Mhz) and applied all tweaks.Phone is flying.
I prefer tweaky's features n apps, juwe's speed n battery life. I am using talon's kernel, its great.
Sent from my GT-I9000 using XDA Premium App
Like many others I tried many custom roms and kernels before concluding that the fastest and most stable with great battery life and speed are brotuck s rom and damian s kernel. On jvp and getting scores of 3500 with quadrant, about 800 higher than any other combination of custom mix and about 2000 points higher than just stock jvp.
Sent from my GT-I9000 using XDA App
I'm missing the speedmod kernel...
I think it's a great kernel, you should try it!
Maybe i will try speedmod why not.I'm returned now to semaphore from galaxian i had a problems with wifi and bluetooth.
Followed your advice; additional questions
Hi Malcho,
I followed your advice and installed EDB 1.2. First impressions are good (but they were good also with F1 Galaxy S2 V6 ....).
A few questions/remarks:
- how do you get 4 days of battery life? Thats about double of what i ever got by hardly using the phone at all.... I'm highly suspicious about this claim and will find out in the next couple of days
- how do i "... remove darky ram script and implemented juwe ram scripts" and what has been the benefit in your experience?
General remark: in my experience the performance of the various Roms (i've tried Stock JVP, F1 Galaxy, EDB with kernels Darky, Speedmod, Galaxian, Fugu) is getting more and more equal in terms of speed and feel. Of course Galaxian seems flying, but running at 1.4 Ghz is foul play in that respect
In my opinion we seem to have come to a point where ROMs have reached their optimum. Whats your opinion?
I turn of wifi and data connections when i don't using it.GPS is allways off.I turn off Auto sync in google account i manually sync contacts and gmail.I turn off back my data in Privacy tab.I use 2G instead off 3G.And i keep my brightness at 10%.Thats it.
If your phone is rooted use root explorer and navigate to folder /etc/init.d.I that folder you have a script under number S98 i think.Remove it.You have to mount that folder as rw.
Then download juwe script and flash it through CWM.You will notice speed of the phone.
I agree with you the roms are in the optimum butt we can except improvements in modems,kernels and other stuffs maybe themes.
I hope that this is the good answer for you.
Hi Malcho, thanks al lot for the quick answer. Now i know what init.d support means in kernels
Regarding battery: i lost 55% in 8 hours, but that is not a surprise considering:
- i have 3G, Wifi, Bluetooth, GPS turned on all the time
- auto sync is off, and is turned on every 4 hours for 5 minutes with the help of Tasker
- 50% of the battery usage is Display on auto-brightness (running time 42 minutes). Auto brightness levels have increased considerably since Gingerbread in my experience,
- 19% of the battery usage in tallk time (22 minutes)
- Wifi is 7%, Android is 7%, Mobile is 6%
So it's display that uses the most power, when i was using Speedmod kernels with lowered brightness, my average battery life was much higher, no wonder. Turning off GPS has never made a difference for me, turning off BT hardly. I do experience larger drains on 3G compared to Wifi.
Plus i have a feeling i need to calibrate the battery , havent done so in +10 ROM/Kernels flashes.
Like in most of linux distribution /etc/init.d is folder for startup scripts..
With your setting yours battery life is ok.As expected.I have a friend how use the same setting as you he says that he can be two days on battery.
Yes you should recalibrate battery.
I recently installed F1 JVP which comes with speedmod-kernel.
Phone went terribly slow and laggy (with lagfix enabled) very soon.
Also I had the Android OS-battery drain issue (speedmod is JVH-based).
So I flashed DarkCore-2.7.3 (since it's based on the JVP-kernel).
Battery-drain is gone, and the phone is fast again.
WRT to AndroidOS-battery-drain-bug, in 2.3.3 only DarkCore and Fugu got it fixed afaik.
In 2.3.4 (JVP+) it seems to be fixed for good. So I'd never use any 2.3.3-based kernel anymore.
I modded the values in the framework-res.apk/res/values/arrays.xml to lower the auto brightness settings using apk tool which hopefully should save battery
this is the values i used
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>30</item>
<item>70</item>
<item>130</item>
<item>255</item>
</integer-array>
the low value is when your in low light and the high value is when your in sunlight default samsung is
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>32</item>
<item>69</item>
<item>118</item>
<item>177</item>
<item>255</item>
</integer-array>
this only works for XFJVA i don't have time to change it for jvt hope this helps people save battery
DOWNLOAD LINK
http://www.multiupload.com/5AL40WN0VC
Can someone else port this to JVT?
I have Modded the framework.apk to give crt and cif over 3g by editing the bools.xml file.
i modded the file in framework-res.apk/res/values/arrays.xml to give lower brightness much lower than samsung default
Samsung default
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>32</item>
<item>69</item>
<item>118</item>
<item>177</item>
<item>255</item>
</integer-array>
My version
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>30</item>
<item>70</item>
<item>130</item>
<item>255</item>
</integer-array>
it should give much better battery life on auto brightness and to get the best out of it use a kernel which has light sensor polling set to 1s
download framework.apk file and use adb or root explorer to install to system/framework
http://www.multiupload.com/W0R9QYLXSE
newcastle9 said:
I have Modded the framework.apk to give crt and cif over 3g by editing the bools.xml file.
i modded the file in framework-res.apk/res/values/arrays.xml to give lower brightness much lower than samsung default
Samsung default
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>32</item>
<item>69</item>
<item>118</item>
<item>177</item>
<item>255</item>
</integer-array>
My version
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>30</item>
<item>70</item>
<item>130</item>
<item>255</item>
</integer-array>
it should give much better battery life on auto brightness and to get the best out of it use a kernel which has light sensor polling set to 1s
download framework.apk file and use adb or root explorer to install to system/framework
http://www.multiupload.com/W0R9QYLXSE
Click to expand...
Click to collapse
going to check. thanx...i was looking for this.
sajibcy said:
going to check. thanx...i was looking for this.
Click to expand...
Click to collapse
Let me know what you think
Sent from my GT-I9000 using Tapatalk
Thanks.
Any chance for JVZ?
it's the same for jvz, jvz, jvx, jkk ... just decompile framework-res.apk, then change arrays.xml in /res/values ... then recompile ... and ...
question
would it work in XXJVT???
Did you try more steps of brigtnes? Is it possible?
grzessiu said:
would it work in XXJVT???
Did you try more steps of brigtnes? Is it possible?
Click to expand...
Click to collapse
It won't work with jvt I tried better brightness values but this configuration seemed better on battery. In a couple of days I will add a jvt version
Sent from my GT-I9000 using Tapatalk
************************************************
IF THE LINES ARE NOT ALREADY IN BUILD.PROP, JUST ADD THEM TO THE END OF THE FILE
************************************************
So i found these in the net.
I have applied them in latest Fuzz's build and it is very smooth!!
Here are just a couple of tweaks to smoothen one's UI experience in Android 4.0 Ice Cream Sandwich. (Remember these changes won't apply without a reboot and you will need a rooted device).
Improve UI frame rate and touch response:
Code:
windowsmgr.max_events_per_sec=240
Disable kernel error logging:
Code:
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
Get rid of CPU rendering:
1. Navigate to /system/lib/egl/
2. Open the file named "egl.cfg"
3. Delete the first line. It should say "0 0 android" or something similar
4. Go back into the egl folder and delete libGLES_android.so
What this does is remove the entire soft-rendering pathway from the OS.
Enable tile rendering:
Tile rendering is a more efficient form of GPU composition, and boosts performance since each frame is split into tiles.
Code:
debug.enabletr=true
Improve Scrolling FPS:
Code:
ro.max.fling_velocity=6000
Signal Tweaks:
Code:
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
Network Speed tweaks:
Code:
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
Disable bootanimation for faster boot:
Code:
debug.sf.nobootanimation=1
i have only read permission bt not write...what should i do in this case
and d commands u said are not there in build.prop
i m using cm9 kangs by fuzz
you should use root file browser, e.g Root Explorer, and press mount as r/w on the top right corner.
then long press on build.prop file and select open in text editor
then add the lines to build.prop file, save and reboot
Solid explorer is another root explorer that's free and has an inbuilt text editor
Sent from my MB525
@OP, what were the specific values you used for scrolling fps and UI frame rate on your device
I found another thread on xda a stock/beta thread dealing with xperia and there were a few more tweaks.will post the link when I get to my PC.however that one had the values for deep sleepand performance.so far I am enjoying it.very fast and snappy.no boot loops nothing:thumbup:
Sent from my MB526 using xda premium
hsrars-d said:
you should use root file browser, e.g Root Explorer, and press mount as r/w on the top right corner.
then long press on build.prop file and select open in text editor
then add the lines to build.prop file, save and reboot
Click to expand...
Click to collapse
I just copied the file using drop box edited it on my PC and again synced it with my phone.just used ROM toolbox pro to set permissions
Sent from my MB526 using xda premium
syllogyking said:
@OP, what were the specific values you used for scrolling fps and UI frame rate on your device
Click to expand...
Click to collapse
windowsmgr.max_events_per_sec=240
ro.max.fling_velocity=6000
Sent from my MB525 using xda premium
http://androidforums.com/triumph-all-things-root/495620-build-prop-performance-tweaks-updated-04-14-2012-a.html
http://www.s3forums.com/forum/galaxy-s3-hacking-mods/474-list-some-build-prop-tweaks.html#post8158
Cleaned OP and added some more stuff
Not working
Tried adding to end of prop file but no effect. Should i leave a space after the last entry i.e.
**********(last entry)
winowdsmgr_****
or
**********(last entry)
windowsmgr_****
obviously what a typed above is a quick example not what I typed into build prop.
Thanks.
Tile rendering makes all my launchers crash even Trebuchet. The only option then left is to restore.
GigahurtzUK said:
Tried adding to end of prop file but no effect. Should i leave a space after the last entry i.e.
**********(last entry)
winowdsmgr_****
or
**********(last entry)
windowsmgr_****
obviously what a typed above is a quick example not what I typed into build prop.
Thanks.
Click to expand...
Click to collapse
I added it with no space, above the line that reads #end of build.prop
like this :
some_line
added_line
# end build properties
And you may not feel any difference, latest build is just fine without these tweaks, just added them before HWA builds came out
these are the ones i put in build.prop, and the phone feels smoother and more responsive now.
Code:
windowsmgr.max_events_per_sec=240
debug.enabletr=true
ro.min.fling_velocity=8000
ro.max.fling_velocity=12000
persist.sys.ui.hw=1
ro.media.enc.jpeg.quality=90
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=false
media.stagefright.enable-http=true
ro.telephony.call_ring.delay=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
persist.sys.purgeable_assets=1
video.accelerate.hw=1
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
ro.HOME_APP_ADJ=1
#modified lines:
#dalvik.vm.dexopt-flags=m=v,o=y
#ro.telephony.call_ring.delay=0
#hwui.whitelist=0
#hwui.blacklist=
#wifi.supplicant_scan_interval=120
sent from my cm9 defy...
Disabling the boot animation didn't work for me :/
I'm using a custom boot animation located in
/system/media/bootanimation.zip
My build.prop has it as my last entry:
http://pastebin.com/raw.php?i=EsLRbFNn
How can i use the Linaro tweaks?
Bleak3993 said:
How can i use the Linaro tweaks?
Click to expand...
Click to collapse
I'm wondering the same
btw, the bootanimation trick didn't work for me!
hsrars-d said:
************************************************
IF THE LINES ARE NOT ALREADY IN BUILD.PROP, JUST ADD THEM TO THE END OF THE FILE
************************************************
So i found these in the net.
I have applied them in latest Fuzz's build and it is very smooth!!
Here are just a couple of tweaks to smoothen one's UI experience in Android 4.0 Ice Cream Sandwich. (Remember these changes won't apply without a reboot and you will need a rooted device).
Improve UI frame rate and touch response:
Code:
windowsmgr.max_events_per_sec=240
Disable kernel error logging:
Code:
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
Get rid of CPU rendering:
1. Navigate to /system/lib/egl/
2. Open the file named "egl.cfg"
3. Delete the first line. It should say "0 0 android" or something similar
4. Go back into the egl folder and delete libGLES_android.so
What this does is remove the entire soft-rendering pathway from the OS.
Enable tile rendering:
Tile rendering is a more efficient form of GPU composition, and boosts performance since each frame is split into tiles.
Code:
debug.enabletr=true
Improve Scrolling FPS:
Code:
ro.max.fling_velocity=6000
Signal Tweaks:
Code:
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
Network Speed tweaks:
Code:
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
Disable bootanimation for faster boot:
Code:
debug.sf.nobootanimation=1
Click to expand...
Click to collapse
Using above fixes I get an error unfortunately trebuchet has stopped and can't operate my phone.
any ideas?
Most of these are BS, use if you want placebo. I don't support these anymore.
If you don't want to flash zips that makes your phone faster, or you just want to do it yourself, you should try this.
Intro:
As you know Android is open source and the development of Android is increased in today’s life. Android operating system is having some of the information which is really important . Now, whenever a user wants to do editing in the Android system, they do changes in build prop. Build prop tweaks are something which helps you to do changes in the system and customize your android.
If you are having any rooted Android device, this tweak will work absolutely fine. Every user can do editing. But while editing you have to make sure that you do it properly or else it will lead to a bricked Android device. You can easily increase the bootup time of your Android. Increase sound and much more.
Here are the working build.prop tweaks for our device:
Code:
#Better RAM management
ro.HOME_APP_ADJ=1
#Improved audio and video recording quality (works perfect on XL but still works good on X)
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.capture.maxres=8m
ro.media.panorama.defres=3264×1840
ro.media.panorama.frameres=1280×720
ro.camcorder.videoModes=true
ro.media.enc.hprof.vid.fps=65
#Faster Streaming videos
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=false
#GPU rendering (works better if you have NULL Kernel
debug.sf.hw=1
debug.performance.tuning=1
video.accelerate.hw=1
debug.egl.profiler=1 # Measure rendering time in adb shell dumpsys gfxinfo
debug.egl.hw=1
debug.composition.type=gpu # Disable hardware overlays and use GPU for screen compositing
#Disables built in error reporting
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
#Better net speed
net.tcp.buffersize.default=4096,87380,256960, 4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,409 6,163 84,256960
net.tcp.buffersize.umts=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,8 7380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,8 7380,256960,4096,163 84,256960
#Saves batery
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
#3G tweaks
ro.ril.hep=0
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
#Better scrolling
windowsmgr.max_events_per_sec=90 #Depends on your preference
ro.min_pointer_dur=8 ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
#Better signal
persist.cust.tel.eons=1
#Faster boot
ro.config.hw_quickpoweron=true
#Disables error checking
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
#Battery life
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
#Performance
debug.performance.tuning=1
Code:
#Optional
#Disables the bootanimation
debug.sf.nobootanimation=1
That's it and thanks to ALL THE DEVS ON XDA FOR THIS
:fingers-crossed:
HOW TO TWEAK YOUR 'build.prop' :
1) Download and install root explorer on your Android device from above given requirements
2) Open the application and grant the root permissions
3) Now, simply open go to '/system/' and then you will be able to see a build.prop file
4) Now, click on the option called as Mount R/O.
5) Long press on 'build.prop' and you will get a pop-up
6) Just hit open with text editor and then you are good to go
7) Copy the code given above of your choice and simply paste on your build.prop
8) Click on the save changes and then reboot your Android device.
9) To double check, you must set the permissions of build.prop to rw-r-r, so that you will not encounter some kind of error.
thanks, i was looking for this for a long time
flashed the veez tweaks zip. does I need to add these build prop tweaks or already included in the zip
pyumredkar said:
flashed the veez tweaks zip. does I need to add these build prop tweaks or already included in the zip
Click to expand...
Click to collapse
its quite optional, it's up to you:good:
Works on nougat??
vjendra said:
Works on nougat??
Click to expand...
Click to collapse
not all, but some of them