FORUMS

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

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

The hell yeah!
 
29 Vote(s)
85.29%
cool idea, but not really neccessary.
 
5 Vote(s)
14.71%
nope, wouldn't even try..
 
0 Vote(s)
0%

[ZIP] Dynamic automated build.prop editing

142 posts
Thanks Meter: 132
 
By klenamenis, Senior Member on 27th February 2014, 07:23 PM
Post Reply Subscribe to Thread Email Thread
9th May 2015, 06:26 PM |#131  
xXx's Avatar
Senior Member
Flag Munich
Thanks Meter: 306
 
Donate to Me
More
@klenamenis your script is awesome. May I use your script as part of my cleaner project? I will give you credit of cause.
 
 
11th May 2015, 06:18 AM |#132  
OP Senior Member
Thanks Meter: 132
 
Donate to Me
More
Quote:
Originally Posted by xXx

@klenamenis your script is awesome. May I use your script as part of my cleaner project? I will give you credit of cause.

Yes, sure!
The Following User Says Thank You to klenamenis For This Useful Post: [ View ]
26th May 2015, 07:36 PM |#133  
hhp_211's Avatar
Recognized Contributor
Thanks Meter: 889
 
More
@klenamenis Nice work! Thanks.
What would happen if you had several files called tweak.prop just in different folders?
It seems as it would try to run them all.

next question.
How would I include a tweak.prop, as in older version 0.4.6a, and have it function that way,,,
fully containing all the prop edits in 1 downloadable and flashable file so the user does not need to have or maintain a tweak.prop file?
26th May 2015, 08:15 PM |#134  
OP Senior Member
Thanks Meter: 132
 
Donate to Me
More
Quote:
Originally Posted by hhp_211

@klenamenis Nice work! Thanks.
What would happen if you had several files called tweak.prop just in different folders?
It seems as it would try to run them all.

next question.
How would I include a tweak.prop, as in older version 0.4.6a, and have it function that way,,,
fully containing all the prop edits in 1 downloadable and flashable file so the user does not need to have or maintain a tweak.prop file?

Code:
tweak=$(find /data/* sdcard* /storage/* /ext* -name $name -type f -follow 2>/dev/null | sed 1q)
sed makes sure that only the first instance gets written to $tweak.

I just made an a version of 0.5.4, although I can't test it at the moment; so if 0.5.4a fails, please fallback to 0.4.6a until it's fixed.
The Following User Says Thank You to klenamenis For This Useful Post: [ View ]
17th June 2015, 06:22 PM |#135  
Senior Member
Flag New Orleans, LA
Thanks Meter: 19
 
Donate to Me
More
Does this work if we use the CM updater to flash new ROMs?

Sent from my Nexus 6 using XDA Free mobile app
24th June 2015, 10:38 AM |#136  
OP Senior Member
Thanks Meter: 132
 
Donate to Me
More
Quote:
Originally Posted by natemup

Does this work if we use the CM updater to flash new ROMs?

Yes, it works regardless of the way you flash.
Post Reply Subscribe to Thread

Tags
build.prop, flash, script, tweak, zip
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes