[MOD] CWM Flash for Init.d Support - Galaxy Tab 10.1 Android Development

I have only tested this on my tablet with Pershoot's kernel, but I think it should work on other ROMs/Kernels as well. Please have a nandroid back at hand before flashing this...I am not responsible for anything bad that may happen...you know the shpeal.
Installation:
* download
* flash with CWM
* place scripts you want run at boot in /system/etc/init.d
Update (9/16/2011): Fix, forgot to mount system before extracting init.d folder to system
Update (9/17/2011): Fix service was disable and not called

What are people using init for on these tablets?
Sent from Galaxy Tab 10.1 using XDA Premium App

What its benefits ?

Made2Last said:
What are people using init for on these tablets?
Sent from Galaxy Tab 10.1 using XDA Premium App
Click to expand...
Click to collapse
nttuananh said:
What its benefits ?
Click to expand...
Click to collapse
You can use it to run the supercharger script, a zipalign script, all kinds of things.

... increase SD card readahead cache value, optimise SQL databases...
Sent from my HTC Flyer

If I flash this and place scripts in init.d, I don't need to have use scriptmanager to use the scripts at boot right?
Sent from my GT-P7510 using xda premium

nakedninja42 said:
If I flash this and place scripts in init.d, I don't need to have use scriptmanager to use the scripts at boot right?
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
That is correct.

nakedninja42 said:
If I flash this and place scripts in init.d, I don't need to have use scriptmanager to use the scripts at boot right?
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
I think bindroid already has init.d support. Flashing on a rom that already has init.d support can lead to double execution of scripts.

jfl0wers said:
I think bindroid already has init.d support. Flashing on a rom that already has init.d support can lead to double execution of scripts.
Click to expand...
Click to collapse
I was playing around with a stock build today. Bindroid does have its own init.d .

Hey guys.
Just installed this on overcome rom, and was wondering, how to check that the scripts actually run??

Can I only put a script in init.d with what ever file ending? Or do I need to name it in a specific manner?
Sent from my GT-P7500 using Tapatalk

I'm recieving a stuck at the boot up , i didn't have a custom kernel i had stock , so any idea ?

Related

[Tweak] Universal adrenaline shot

Going to try this on the D3, its big in the fascinate world. May be worth a dev porting to the D3 specifically. I'm going to take the plunge though since we can do nandbackups.
http://forum.xda-developers.com/showthread.php?t=1236779
From the thread post:
Whats inside:
changed partition mounts--- for less data corruption
patched sqlite's----IMPROVES I/O
honecomb 3.1 fugu mod-IMPROVES SCROLLING/RESPONSIVENESS
All new init.d files---PARTITION MOUNTS,CACHE,SYSCTL,KERNEL
Sysctl.conf----TWEAKS KERNEL AND I/O SCHEDULER
tweaked scaling governor----faster cpu performance
It has been reported to work on the Motorola Atrix, so that gives me hope for some additional improvements on the D3.
Sweet! Let us know how it works!
sent from my MONSTERDroid3 from the XDA app
Izeltokatl said:
Going to try this on the D3, its big in the fascinate world. May be worth a dev porting to the D3 specifically. I'm going to take the plunge though since we can do nandbackups.
http://forum.xda-developers.com/showthread.php?t=1236779
From the thread post:
Whats inside:
changed partition mounts--- for less data corruption
patched sqlite's----IMPROVES I/O
honecomb 3.1 fugu mod-IMPROVES SCROLLING/RESPONSIVENESS
All new init.d files---PARTITION MOUNTS,CACHE,SYSCTL,KERNEL
Sysctl.conf----TWEAKS KERNEL AND I/O SCHEDULER
tweaked scaling governor----faster cpu performance
It has been reported to work on the Motorola Atrix, so that gives me hope for some additional improvements on the D3.
Click to expand...
Click to collapse
So...howd it go?
evulhotdog said:
So...howd it go?
Click to expand...
Click to collapse
Perhaps not so well?
Sent from my DROID3 using xda premium
I have this mod applied on my mytouch 4g, made a big difference. Hope it works out for this device as well..
Wolfhere said:
Perhaps not so well?
Sent from my DROID3 using xda premium
Click to expand...
Click to collapse
I'm gonna test this myself in a few hours. Ill report back
Sent from my DROID3 using XDA App
Maybe his phone ripped a hole in space-time; He was sucked into another dimension.
Bobbar said:
Maybe his phone ripped a hole in space-time; He was sucked into another dimension.
Click to expand...
Click to collapse
Worst that happens is a bootloop and then you just boot into recovery and restore /system and you're back in business
Sent from my DROID3 using XDA App
erismaster said:
Worst that happens is a bootloop and then you just boot into recovery and restore /system and you're back in business
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
I looked throught the zip. It contains some files that the D3 doesnt have (or are in a different location). So some of the changes will probably do nothing.
Check out the newest from Hashcode. You can now restore from BP Tools. No need to flash and restore
Sent from my DROID3 using xda premium
Wolfhere said:
Check out the newest from Hashcode. You can now restore from BP Tools. No need to flash and restore
Sent from my DROID3 using xda premium
Click to expand...
Click to collapse
The .zips fail to install so this won't work on our phones. Not without tweaking.
And that's been out for over a week. I updated my recovey thread with it last week.
Sent from my DROID3 using XDA App
erismaster said:
The .zips fail to install so this won't work on our phones. Not without tweaking.
And that's been out for over a week. I updated my recovey thread with it last week.
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
I install the files inside the ZIP manually, it works out perfect and seems much smoother and with a better memory management now.
jchenny said:
I install the files inside the ZIP manually, it works out perfect and seems much smoother and with a better memory management now.
Click to expand...
Click to collapse
Did you do anything with the sysctl.conf and init.d?
Sorry for the delays... yes, as stated above, the zip files will not flash to the D3 (even though they do flash to the Moto Atrix??).
But you can definitely rip out files push them with Root Explorer or ADB commands. I haven't had time to mess with that but I may jump on it later today. Glad someone else tried and showed positive signs. That is encouraging.
I applied manually.
Don't notice any difference, really. But it may respond better to my finger. I'll have to run it for a few days.
Bobbar said:
I applied manually.
Don't notice any difference, really. But it may respond better to my finger. I'll have to run it for a few days.
Click to expand...
Click to collapse
Do we have init.d support? If not the init scripts probably wont do too much.
Willis111 said:
Do we have init.d support? If not the init scripts probably wont do too much.
Click to expand...
Click to collapse
I snatched the files from the latest SteelDroid to enable init.d. However I also used the scripts from that rom as well as they include alot the same tweaks.
I discovered that the sysctl.conf tweaks have no affect. We dont seem to have access to those adjustments. Perhaps because of our stock kernel?
for you, if you have a stock kernel to enable init.d .....
http://forum.xda-developers.com/showthread.php?t=1017291

[Q] what is "Supercharger Script" ?

i saw in the forum some guys who talked about "Supercharger Script".
could you guys explain what is it ? and what does it do ?
basically is a memory managment script improves snapiness and increases ram here is the best supercharger all credits to zepplinrox http://forum.xda-developers.com/showthread.php?t=1250276
Sent from my Milestone using xda premium
Why ROMs here not undergone supercharger script? So no need to manually configure it my self.
BoyBawang2 said:
Why ROMs here not undergone supercharger script? So no need to manually configure it my self.
Click to expand...
Click to collapse
cause different people have different needs .i like balanced 3 setting ,others like aggressive some dont like it at all so its better of this way
Sent from my Milestone using xda premium
i tried to install the script with this tutorial http://forum.xda-developers.com/showthread.php?t=1126940
but i could install the script (screenshot) : http://up353.siz.co.il/up1/mindfyjjldzm.png
what am i doing wrong ?
did u select run ad root?i select all options... and change the name frm sh.txt to .sh also run it as script
Sent from my Milestone using xda premium
i selected only run as root and changed the name to .sh and i still have the same problem
i also tried to install the script with Terminal Emulator but i still get the same problem
if your using minimod u can apply it frm the recovery or else u can download the Gscript version too
Sent from my Milestone using xda premium
what is minimod recovery and how i install it ?
liadatz said:
what is minimod recovery and how i install it ?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1091787
Sent from my Milestone using xda premium
i installed the open recovery and entered the supercharger script and now i have a lot of options and i don't know what to choose, maybe you can help me with that
liadatz said:
i installed the open recovery and entered the supercharger script and now i have a lot of options and i don't know what to choose, maybe you can help me with that
Click to expand...
Click to collapse
uhh ..agressive = less multitasking more ram for gaming etc
Balanced is best of both I use balanced 3
Sent from my Milestone using xda premium
Or maybe you could try the different options and make your own conclusion.
In my case, my best result was balanced 3, but it depends on how you use it.
thanks a lot.. you really helped me shalom06.
good day
one last question: if i will wipe my phone and install other rom, i have to run the script again ?
liadatz said:
one last question: if i will wipe my phone and install other rom, i have to run the script again ?
Click to expand...
Click to collapse
Yes. Wiping the phone and installing another ROM will require you to run the script again.

[JELLYBEAN][ADDON][ANY ROM]Enable init.d function to your current ROM!

Hi,
Since Some ROMs and Stock ROM didn't supported init.d function, so I decided to post "addon" here.
Thanks to leap_ahead and Jamalsid, mustatir for confirming it's working.
##How to use it?
*Be sure to install busybox first.
-Busybox(free) https://play.google.com/store/apps/details?id=stericson.busybox
-Busybox(pro)
https://play.google.com/store/apps/details?id=stericson.busybox.donate
*Then, install busybox to system/xbin/.
1. Boot to recovery
2. Wipe cache/dalvik cache
3. Flash the zip file
4. Reboot
5. Enjoy.
#Use this at own your risk.
#Perform a Nandroid backup.
#This is tweak-free.
**Download
R3
http://d-h.st/2RS
-I know this OP looks ugly. I'm too lazy to make this beautiful, and this thread had written via Tapatalk.
-Hitting Thanks button is must
Just in case
flash rom , kernel, and after the patch !!!
Does anybody know whether a Miui has init support or not?
sperelli said:
Does anybody know whether a Miui has init support or not?
Click to expand...
Click to collapse
Well, The very easy way to figure out is this(for light(?) Users)
1. Install kernel which includes BLD
2. Install Nstools
3. Turn BLD ON.
4. Tick init.d option
5. Uninstall nstools
6. Reboot
7. See if BLD is working
Another way is terminal way...However, for easy users.l,..I'll skip this..;D
I'll give this a shot on my ns4g running rasbeanjelly posted by rustyjay and report back tomorrow... alcohol and hydrocodone work well together to ease pain, but I fear the consequences of going into recovery tonight could be awful
Sent from my Nexus S 4G using Tapatalk 2
Thank you very much!
Thanks for sharing.
To do : Modify update-script for symlink
Make busybox-free for convenience
On my ns4g, I can only select use init.d script if the restore at boot option is selected. If I select restore at boot, then init.d, then uncheck restore at boot, the init.d stays checked but is grayed out, I've tried with trinity teuv alpha 12 and marmite 4.8.7 with the same results. Nothing stays selected after a reboot.
Sent from my Nexus S 4G using Tapatalk 2
Does this make newest brainmaster tweaks compatible to any ROM?
Sent from my Nexus S using Tapatalk 2
p1gp3n said:
On my ns4g, I can only select use init.d script if the restore at boot option is selected. If I select restore at boot, then init.d, then uncheck restore at boot, the init.d stays checked but is grayed out, I've tried with trinity teuv alpha 12 and marmite 4.8.7 with the same results. Nothing stays selected after a reboot.
Sent from my Nexus S 4G using Tapatalk 2
Click to expand...
Click to collapse
My bad
I used NStools so long ago, so couldn't remember it!
Try to tick init.d, then uninstall it.
Plz be sure to add BLD, so it's easy to figure out.
Sent from my Nexus S using Tapatalk 2
Imppy said:
Does this make newest brainmaster tweaks compatible to any ROM?
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
Yes, it should. But isn't it BM tweak package includes this type of init.d installer already?
Sent from my Nexus S using Tapatalk 2
Articudos said:
Yes, it should. But isn't it BM tweak package includes this type of init.d installer already?
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
no ..i use your and bm tweaks and i get different file on init.d folder
So you need both to get brain master tweaks to work?
Sent from my Nexus S using Tapatalk 2
Imppy said:
So you need both to get brain master tweaks to work?
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
no both ,,,
leap_ahead said:
no ..i use your and bm tweaks and i get different file on init.d folder
Click to expand...
Click to collapse
Clear Explaination
My Zip just enables init.d working properly at boot.(there is no tweak in zip file) System/etc/init.d/placeholder doesn't do anything, that file just init.d folder to exist(for users who doesn't have init.d folder in system/etc)
BM's zip file (afaik) enables init.d function and install parts of BM tweaks in system/etc/init.d.
Sent from my Nexus S using Tapatalk 2
Articudos said:
Clear Explaination
My Zip just enables init.d working properly at boot.(there is no tweak in zip file) System/etc/init.d/placeholder doesn't do anything, that file just init.d folder to exist(for users who doesn't have init.d folder in system/etc)
BM's zip file (afaik) enables init.d function and install parts of BM tweaks in system/etc/init.d.
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
good to know ...i dont have enough experiance to give more detail
It appears to be working now... I uninstalled nstools, then got out again from the play store, instead of just restoring from titanium like I usually do. I enabled bln & bld, then selected restore at boot, init.d script, then unselected the restore at boot option. This left the init.d checked but grayed out. After a reboot, bln & bld are working without any other nstools interaction now on my ns4g, and restore at boot is not selected.
Sent from my Nexus S 4G using Tapatalk 2
So just to confirm brainmaster tweaks is your add on plus the tweaks?
Sent from my Nexus S using Tapatalk 2

How to zipalign apps

Please provide a method to zipalign all apps
i used a one time cwm flashable zip file but i dont think it worked!
any init.d script or any simple method?
and also how to check if apps are zipaligned?
Rom-DDULP8
Kernel-CoCore-E 6.2
http://forum.xda-developers.com/showthread.php?p=39393625
Sent from my GT-I9070 using xda premium
R_a_z_v_a_n said:
http://forum.xda-developers.com/showthread.php?p=39393625
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
isnt there any init.d script which can zipalign apps
and do i have to zipalign each application one by one using above method?
Rom-DDULP8
Kernel-CoCore-E 6.2
No, its a tool of Android SDK (Software Development Kit)
prateektyagi91 said:
isnt there any init.d script which can zipalign apps
and do i have to zipalign each application one by one using above method?
Rom-DDULP8
Kernel-CoCore-E 6.2
Click to expand...
Click to collapse
Search darkyzipalign.(its script from darky ROM)
Sent from my GT-I9070 using Tapatalk 2

[Q] Cronmod on Jellybean

Hey guys,
I tried to flash the Cronmod script on the latest Paranoid Android rom from OldDroid. First I flashed a patched servicr.jar, then
I mounted /data and /sdext, flashed the script and then formated /sdext.. but it doesn't work.
Can someone tell me what I did wrong there? Or is Cronmod not working on Android 4+?
Sent from my GT-S5830 using xda app-developers app
mount data & mount system. this would help u. I am using cron mod in AOKP.
Sent from my GT-S5830 using xda app-developers app
Mandark52 said:
mount data & mount system. this would help u. I am using cron mod in AOKP.
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
I think mounting /system is enough because the script'll be placed in /system/etc/init.d folder
problem
Blackbox421 said:
Hey guys,
I tried to flash the Cronmod script on the latest Paranoid Android rom from OldDroid. First I flashed a patched servicr.jar, then
I mounted /data and /sdext, flashed the script and then formated /sdext.. but it doesn't work.
Can someone tell me what I did wrong there? Or is Cronmod not working on Android 4+?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
you should mount system and even data if necessary but system is must by the way which cronmod script are you using please specify then i can help easily
adinatsu said:
you should mount system and even data if necessary but system is must by the way which cronmod script are you using please specify then i can help easily
Click to expand...
Click to collapse
All cronmod scripts are installed by the same way
Okay, thank you guys! I'll try it.
Idk why this isn't mentioned in the Cronmod thread, there he just says flash the script and nothing else..
Sent from my GT-S5830 using xda app-developers app
Blackbox421 said:
Okay, thank you guys! I'll try it.
Idk why this isn't mentioned in the Cronmod thread, there he just says flash the script and nothing else..
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
I know but we need to mount /system to push the script file into /system/etc/init.d folder as I told you
Anyway we can add a command line in the flashble zip file to do it automatically
Viper The Ripper said:
I know but we need to mount /system to push the script file into /system/etc/init.d folder as I told you
Anyway we can add a command line in the flashble zip file to do it automatically
Click to expand...
Click to collapse
Okay I tried it again but it still doesn't work..
I flashed Paranoid Android, then I flashed the patched service.jar from you directly. After that I wiped cache and dalvic cache and rebooted.
After the first reboot I went into recovery and mounted /system and /data then I flashed the script and formated /sdext.
I don't know what I've done wrong there.. Maybe I flashed the service.jar not correctly?
Sent from my GT-S5830 using xda app-developers app
Blackbox421 said:
Okay I tried it again but it still doesn't work..
I flashed Paranoid Android, then I flashed the patched service.jar from you directly. After that I wiped cache and dalvic cache and rebooted.
After the first reboot I went into recovery and mounted /system and /data then I flashed the script and formated /sdext.
I don't know what I've done wrong there.. Maybe I flashed the service.jar not correctly?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
:weird:
Try mounting /sd-ext and formating it when the installation
If it doesn't work, extract the script file from .zip file and put it into init.d manually and set the correct permissons, finally reboot your phone, it should work too
Viper The Ripper said:
:weird:
Try mounting /sd-ext and formating it when the installation
If it doesn't work, extract the script file from .zip file and put it into init.d manually and set the correct permissons, finally reboot your phone, it should work too
Click to expand...
Click to collapse
Hmm I tried it now on another rom (ICS) and now it's working, but with some weird bugs. When I long press the on/off button (I mean the one in the right side) only the word 'shutdown' appears.. Usually there should be more than this one word (There should be buttons for silence mode, vibration mode,...)
Plus there isn't a lockscreen anymore.. weird
Blackbox421 said:
Hmm I tried it now on another rom (ICS) and now it's working, but with some weird bugs. When I long press the on/off button (I mean the one in the right side) only the word 'shutdown' appears.. Usually there should be more than this one word (There should be buttons for silence mode, vibration mode,...)
Plus there isn't a lockscreen anymore.. weird
Click to expand...
Click to collapse
:weird: :weird: and LOL!! what a extrange thing :s
which rom are you using? maybe this rom is buggy?... I don't know but it works fine in CM10.1 :s
Viper The Ripper said:
:weird: :weird: and LOL!! what a extrange thing :s
which rom are you using? maybe this rom is buggy?... I don't know but it works fine in CM10.1 :s
Click to expand...
Click to collapse
First I tried on ParanoidAndroid from OldDroid and then on AOSP ICS from OldDroid.. on which rom did you tried this? On PA cronmod doesnt work and on ics these strange bugs appears D:
Sent from my GT-S5830 using xda app-developers app
Cron Mod is compatible with ALMOST every rom. uptill now i tried it on cm 10.1, cm 10.1.3, TheUltimatum ,TheMyth series, AOSPA, AOKP & Apocalypse.
Sent from my GT-S5830 using xda app-developers app
suggestion
Blackbox421 said:
First I tried on ParanoidAndroid from OldDroid and then on AOSP ICS from OldDroid.. on which rom did you tried this? On PA cronmod doesnt work and on ics these strange bugs appears D:
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
which cromod script do you use if you use v4+ then i tell you that it is quiet buggy and also creates low volume bug
i cant remember but one of my friend was having same problem
i would recommend you CronMod-INT2EXT+ not v2 or v2+ just what i am telling use this and reply me
PLEASE HIT THANKS IT WONT HURT
The bug is nothin but the conflict between diff scripts. If we use the necessary n specific scripts SGA ll be good rather than flashin evry script available.
Sent from my GT-S5830 using xda app-developers app
Mandark52 said:
The bug is nothin but the conflict between diff scripts. If we use the necessary n specific scripts SGA ll be good rather than flashin evry script available.
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
This is the only script I flashed on the rom, so don't make wrong accusations.
Sent from my GT-S5830 using xda app-developers app
adinatsu said:
which cromod script do you use if you use v4+ then i tell you that it is quiet buggy and also creates low volume bug
i cant remember but one of my friend was having same problem
i would recommend you CronMod-INT2EXT+ not v2 or v2+ just what i am telling use this and reply me
PLEASE HIT THANKS IT WONT HURT
Click to expand...
Click to collapse
I wa trzing int2ext+, did you/your friend also had problems with that version?
Maybe its a problem of the rom.. Both of them was built from OldDroid..
Sent from my GT-S5830 using xda app-developers app
Blackbox421 said:
I wa trzing int2ext+, did you/your friend also had problems with that version?
Maybe its a problem of the rom.. Both of them was built from OldDroid..
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
yes you may be right that the rom may not support it
I red some time ago that someone posted a modified version of cronmod in order to make it work on android 4+. You can use the kernel patcher by (I don't remember his name now, sorry) that wipe the rom on the ext4 partition. Good luck Peace!
aditya rathee said:
yes you may be right that the rom may not support it
Click to expand...
Click to collapse
That is the problem I think. I flashed cronmod on cm10 from mardon and it works without problems. Just weird that it doesnt work on roms from OldDroid..
Sent from my GT-S5830 using xda app-developers app

Categories

Resources