[SOLVED]CWM script command to modify lcd density?

jaiiscool

Senior Member
Jan 30, 2008
1,011
360
0
Mumbai
jaiparekh.com
I use cm9 with 240 lcd density.

The problem is whenever I flash a nightly, I have to modify density manually.

I want to know if I can create a cwm script which I can always flash with the nightly to modify the density.

Please dont advice to use apps to do it like lcd density modder, etc. I am well aware.

Thanks!

EDIT: Succeeded in making it. File attached.


Sent from my GT-N7000 using xda premium
 

Attachments

Last edited:

M3TALLICA

Senior Member
Nov 14, 2011
1,507
499
103
I use cm9 with 240 lcd density.

The problem is whenever I flash a nightly, I have to modify density manually.

I want to know if I can create a cwm script which I can always flash with the nightly to modify the density.

Please dont advice to use apps to do it like lcd density modder, etc. I am well aware.

Thanks!

Sent from my GT-N7000 using xda premium
Edit the build.prop from the CM_Nightly.zip and re-zip it.
 
B

baz77

Guest
Look into creating a flashable zip file. Also look into adding code to delete old line and insert new line in buildprop.

Shouldnt be to hard. But thats easily spoken. Its to difficult for me.



Sent from my GT-N7000 using Tapatalk 2
 

jaiiscool

Senior Member
Jan 30, 2008
1,011
360
0
Mumbai
jaiparekh.com
Look into creating a flashable zip file. Also look into adding code to delete old line and insert new line in buildprop.

Shouldnt be to hard. But thats easily spoken. Its to difficult for me.



Sent from my GT-N7000 using Tapatalk 2
That is what I am searching for, but did not find it anywhere and ended up posting it here.

Sent from my GT-N7000 using xda premium