FORUMS

Analysis & Opinion

 View Poll Results: What about an app? See post #90 for more infos, let me know what you think!

The hell yeah!
 
31 Vote(s)
83.78%
cool idea, but not really neccessary.
 
6 Vote(s)
16.22%
nope, wouldn't even try..
 
0 Vote(s)
0%

[ZIP] Dynamic automated build.prop editing

145 posts
Thanks Meter: 137
 
By kl3, Senior Member on 27th February 2014, 07:23 PM
Post Reply Subscribe to Thread Email Thread
9th July 2015, 11:55 PM |#141  
OP Senior Member
Thanks Meter: 137
 
More
Versioin 0.5.8 has again been replaced since not passing BACKUP= at all resulted in failure instead of just not backing up. This is fixed now and custom paths are checked properly now (hopefully).

I highly recommend using either /system/build.prop.backup or /sdcard/build.prop.backup as custom paths. /storage/emulated/0/foo/bar/foo.bar will fail! If you encounter issues when using backups, please try using one of the recommend paths first before reporting. Some paths vary across different devices/ROMs.

After all, BACKUP=y is probably the safest and easiest way to safe your original build.prop file.
The Following User Says Thank You to kl3 For This Useful Post: [ View ]
 
 
25th August 2015, 01:02 PM |#142  
Senior Member
Thanks Meter: 344
 
More
Quote:
Originally Posted by kl3

Versioin 0.5.8 has again been replaced since not passing BACKUP= at all resulted in failure instead of just not backing up. This is fixed now and custom paths are checked properly now (hopefully).

I highly recommend using either /system/build.prop.backup or /sdcard/build.prop.backup as custom paths. /storage/emulated/0/foo/bar/foo.bar will fail! If you encounter issues when using backups, please try using one of the recommend paths first before reporting. Some paths vary across different devices/ROMs.

After all, BACKUP=y is probably the safest and easiest way to safe your original build.prop file.

A typo is detected in tweakprop-0.5.9a.zip folder name
Code:
META-INF_a
- can be renamed by users with tool 7-zip to correct folder name
Code:
META-INF
Variable to backup or not is identical to backupPATH in tweak.prop:
Code:
BACKUP=y|Y|yes|Yes|YES
BACKUP=/foo/bar/foo.bar
That's why 0.5.9 failed. /sdcard/tweak.prop was found having a single line to add including BACKUP=Y. I expected by default a backup to be placed in same folder. That's why I kept the 2nd setvar BACKUP commented.
See attached images.




- how about using different name to avoid confusion of what is what:
Code:
BACKUP=y|Y|yes|Yes|YES
BACKPATH=/foo/bar/foo.bar
Last edited by O-T; 28th August 2015 at 11:35 PM.
25th August 2015, 04:01 PM |#143  
Senior Member
Flag Seekonk
Thanks Meter: 30
 
Donate to Me
More
Quote:
Originally Posted by O-T

A typo is detected in tweakprop-0.5.9a.zip folder name

Code:
META-INF_a
- can be renamed by users with tool 7-zip to correct folder name
Code:
META-INF
Variable to backup or not is identical to backupPATH in tweak.prop:
Code:
BACKUP=y|Y|yes|Yes|YES
BACKUP=/foo/bar/foo.bar
- how about using different name to avoid confusion of what is what:
Code:
BPATH=/system

So... I made the change to the file using 7zip, and commented out ALL lines in the internal tweak.prop file.

At the end of tweak.prop, I added:

dalvik.vm.dexopt-flags=v=n,o=v,m=y
ro.sf.lcd_density=380

(and a blank line like originally stated in the OP...

Neither of those changes makes it into my build.prop, yet no errors are indicated in TWRP.

What am I doing wrong?
Post Reply Subscribe to Thread

Tags
build.prop, flash, script, tweak, zip

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes