SD Tweakz - Run your scripts on SD at boot-time. (Plus few battery tweaks)

ungaze

Senior Member
Jul 27, 2010
401
158
0
manila
Updated the script, first page updated.

Thanks to NerGaz for everything included in the fix. Thanks man

If you want to update the old script, just flash the new one(v2) to replace the old script. Just like before, to remove the script, undo.zip on first page should work just fine.

(CM7 testers needed. To test just download the new v2.zip along with the undo.zip(just in case) then add the sd patch(place on scriptz folder) script from franco's thread. Flash the v2.zip and check by "cat /sys/devices/virtual/bdi/179:0/read_ahead_kb" on terminal. should reply with 4096.
 
Last edited:

Omnichron

Senior Member
Dec 1, 2010
932
117
0
East Highland, CA
Updated the script, first page updated.

Thanks to NerGaz for everything included in the fix. Thanks man

If you want to update the old script, just flash the new one(v2) to replace the old script. Just like before, to remove the script, undo.zip on first page should work just fine.

(CM7 testers needed. To test just download the new v2.zip along with the undo.zip(just in case) then add the sd patch(place on scriptz folder) script from franco's thread. Flash the v2.zip and check by "cat /sys/devices/virtual/bdi/179:0/read_ahead_kb" on terminal. should reply with 4096.
Using CM7, will post results this evening. Thanx!:D
 

ungaze

Senior Member
Jul 27, 2010
401
158
0
manila
Glad to hear, as NervGaz has stated:

The issue can occur on rom's that mount the sdcard on /mnt/sdcard and symlink that to /sdcard as your mountpoint doesn't exist. Potentially you can see issues with this if it mounts before vold runs as well as vold with throw an error if the mountpoint is in use. This can occur on rom's that mount to /sdcard. Hope that clears it up a bit.
I was also worried before that, with long scripts/tweaks, vold might catch up with init.d and catch the mount point still in use and therefore throw an error. Maybe you just got lucky with just one script. ;)

Well I suggest you still download the new script as well(and place it where it's easily flashable) just in case.
 

AsherChua

Senior Member
Nov 16, 2010
486
21
0
Jurong West
Updated the script, first page updated.

Thanks to NerGaz for everything included in the fix. Thanks man

If you want to update the old script, just flash the new one(v2) to replace the old script. Just like before, to remove the script, undo.zip on first page should work just fine.

(CM7 testers needed. To test just download the new v2.zip along with the undo.zip(just in case) then add the sd patch(place on scriptz folder) script from franco's thread. Flash the v2.zip and check by "cat /sys/devices/virtual/bdi/179:0/read_ahead_kb" on terminal. should reply with 4096.
Alright ungaze! I came from the past tweaks! So if I'm not wrong,I just need to flash the undo.zip and then download the tweaks and put them in a scriptz folder to replace the old ones and reboot?
 

ungaze

Senior Member
Jul 27, 2010
401
158
0
manila
No need to undo.zip, just flash the V2 zip and all is good. For the tweaks/scripts(on the "scriptz" folder[this is getting kind of confusing lol]) just visit franco's thread for updates.
 

eigokyoukan

Senior Member
Feb 2, 2010
730
320
0
Cincinnati
Q. Is there an app for android to convert amend to edify?

I do not have access to my PC for a couple days, and I wanted to try and get this to work with Clockwork recovery.

I really do not want to edit these manually on my phone, so an android app to convert would be fantastic.

Otherwise, I'll just wait till I get back... play ample Portal 2... then get to work on this.

EDIT: Anybody have the time to try using the amend to edify tool on SD tweaks 2? I will give you +2 internets for it! :)

Sent from my LG-P500 using XDA App
 
Last edited:

ungaze

Senior Member
Jul 27, 2010
401
158
0
manila
Q. Is there an app for android to convert amend to edify?

I do not have access to my PC for a couple days, and I wanted to try and get this to work with Clockwork recovery.

I really do not want to edit these manually on my phone, so an android app to convert would be fantastic.

Otherwise, I'll just wait till I get back... play ample Portal 2... then get to work on this.

EDIT: Anybody have the time to try using the amend to edify tool on SD tweaks 2? I will give you +2 internets for it! :)

Sent from my LG-P500 using XDA App
let's ask marioemp2k7 ;)
 

marioemp2k7

Senior Member
Feb 16, 2011
241
201
63
How to convert amend to edify scripting

I have already answered to Ungaze by PM but I will also do it here for everybody that needs it.
I am using Amend to Edify tool and have modified the phoneDatabase.xml by adding a profile entry for dynamic mount type loading (file attached). Just replace the original file.
That should be it! It is that easy ;)!
 

Attachments

Last edited:
  • Like
Reactions: ungaze

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
I have already answered to Ungaze by PM but I will also do it here for everybody that needs it.
I am using Amend to Edify tool and have modified the phoneDatabase.xml by adding a profile entry for dynamic mount type loading (file attached). Just replace the original file.
That should be it! It is that easy ;)!
Sorry for my ignorance, but what's that used for?