Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Script] For Stock ROMS! Enable AutoStart Scripts! (etc/init.d folder) w/o VR Patch!

OP zeppelinrox

1st April 2011, 03:55 AM   |  #1  
zeppelinrox's Avatar
OP Senior Member
Flag IN THE FREAKIN' OP
Thanks Meter: 21,426
 
9,314 posts
Join Date:Joined: Dec 2010
Donate to Me
More
I'm not sure on which phones this will work.
Motorola Milestone is for certain. Probably other Motorolas as well.
If you have the file /system/bin/mot_boot_mode, then this should work just fine.

Edit: Works on DroidX, Atrix, Bionic, Defy... (I guess it really does have a chance of working if you have mot_boot_mode

Do this at your own risk

What you need:

1. GScript Lite or Script Manager
2. Rooted Phone. For Milestoners, you can use Universal Androot (not in market ?)
3. Busybox Installer

You don't need to have a vulnerable recovery applied.

Why you want it: People on custom roms take it for granted that they can run custom scripts from the /system/etc/init.d folder.

Overclocking, tweaking memory settings, kernel tweaks, etc.

Those on Stock ROMS usually have to resort to 3rd party apps (eg. Milestone Overclock, Auto Memory Manager) that take up memory to do stuff that custom roms do automatically and easily - with boot up scripts.

It's possible for Stock ROMS to get this ability via open recovery but most users may find it overwhelming and confusing as to where to even start.

I have also been working on GScripts to get my SuperCharging / Bulletproof Launcher tweaks to work on all phones without need of 3rd party software.
I found that the easiest way would be with a startup script placed in the /system/etc/init.d - the same way that custom roms do it.

Since alot of users would be uncomfortable with getting it working via open recovery, I converted the open recovery script to work in GScript!

Booya!

Instructions: 1. Extract the attached zip file into the root of your sdcard. The files should then be inside the folder /sdcard/gscript
................... 2. Run GScript Lite
................... 3. Press menu > Add script > Load file button
................... 4. Select "!Autostarts - Enable init.d on Stock ROMS.sh"
................... 5. Leave "Needs SU?" checked and press the Save button.
................... 6. It now shows up in the list of GScripts.
................... Note: GScript will save it internally within it's settings.
................... 7. Run the script by simply selecting it in GScript... and...
................... 8. Get tweaking!

All thanks go to those who put Androidian OpenRecovery together! ie. Skrilax_CZ, Azhad and 89luca89!!


Attached Files
File Type: zip gscript-Stock_ROMS-Autostarts_Enabled.zip - [Click for QR Code] (1.1 KB, 21780 views)
Last edited by zeppelinrox; 10th October 2011 at 04:19 AM.
The Following 24 Users Say Thank You to zeppelinrox For This Useful Post: [ View ]
sileshnair
1st April 2011, 06:29 AM   |  #2  
Guest
Thanks Meter: 0
 
n/a posts
Good job, Joe. I'll test and let you know.

btw, the values that we discussed a few days back work better for me on stock. First 3 from your script and last 3 default values.
1st April 2011, 07:26 AM   |  #3  
zeppelinrox's Avatar
OP Senior Member
Flag IN THE FREAKIN' OP
Thanks Meter: 21,426
 
9,314 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Cool beans
The Following User Says Thank You to zeppelinrox For This Useful Post: [ View ]
1st April 2011, 07:26 AM   |  #4  
Member
Thanks Meter: 5
 
87 posts
Join Date:Joined: Aug 2009
Cool
Quote:
Originally Posted by zeppelinrox

What you need:

1. GScript Lite
2. Rooted Phone. For Milestoners, you can use Universal Androot (not in market ?)
3. Busybox Installer - Have it install the latest BusyBox (v1.19). This ensures GScript doesn't spit out ugly stderr: messages.

You don't need to have a vulnerable recovery applied.

Why you want it: People on custom roms take it for granted that they can run custom scripts from the /system/etc/init.d folder.

Overclocking, tweaking memory settings, kernel tweaks, etc.

Those on Stock ROMS usually have to resort to 3rd party apps (eg. Milestone Overclock, Auto Memory Manager) that take up memory to do stuff that custom roms do automatically and easily - with boot up scripts.

It's possible for Stock ROMS to get this ability via open recovery but most users may find it overwhelming and confusing as to where to even start.

I have also been working on GScripts to get my SuperCharging / Bulletproof Launcher tweaks to work on all phones without need of 3rd party software.
I found that the easiest way would be with a startup script placed in the /system/etc/init.d - the same way that custom roms do it.

Since alot of users would be uncomfortable with getting it working via open recovery, I converted the open recovery script to work in GScript!

Booya!


Instructions: 1. Extract the attached zip file into the root of your sdcard. The files should then be inside the folder /sdcard/gscript
................... 2. Run GScript Lite
................... 3. Press menu > Add script > Load file button
................... 4. Select "!Autostarts - Enable init.d on Stock ROMS.sh"
................... 5. Leave "Needs SU?" checked and press the Save button.
................... 6. It now shows up in the list of GScripts.
................... Note: GScript will save it internally within it's settings.
................... 7. Run the script by simply selecting it in GScript... and...
................... 8. Get tweaking!

All thanks go to those who put Androidian OpenRecovery together! ie. Skrilax_CZ, Azhad and 89luca89!!


Hi, good evening.

Excellent work... But I cant see
gscript-All_ROMS-SuperCharge+BulletProof_Pack_v4.zip
It isnt a link.

Thanks. Best regards
Marcos
sileshnair
2nd April 2011, 03:46 AM   |  #5  
Guest
Thanks Meter: 0
 
n/a posts
Hey Zep, will these work on 2.1 eclair? I am running 2.1 for a change. Had enough of the half cooked Froyo and GB roms.
2nd April 2011, 04:34 AM   |  #6  
zeppelinrox's Avatar
OP Senior Member
Flag IN THE FREAKIN' OP
Thanks Meter: 21,426
 
9,314 posts
Join Date:Joined: Dec 2010
Donate to Me
More
I'm not sure.
Did you flash a custom eclair or stock?
I'd love to get it to work with stock eclair though.

If you have a 10overclock, where is it?

Actually, a good test is if you were able to overclock with AOR's froyo menu after running this gscript
sileshnair
2nd April 2011, 05:42 AM   |  #7  
Guest
Thanks Meter: 0
 
n/a posts
Quote:
Originally Posted by zeppelinrox

I'm not sure.
Did you flash a custom eclair or stock?
I'd love to get it to work with stock eclair though.

If you have a 10overclock, where is it?

Actually, a good test is if you were able to overclock with AOR's froyo menu after running this gscript

I am currently overclocked using milestone overclock app. There is no 10overclock file in /system/etc/init.d folder. I will try overclocking using AOR after loading modules.

Sent from my Milestone using Tapatalk
2nd April 2011, 03:26 PM   |  #8  
zeppelinrox's Avatar
OP Senior Member
Flag IN THE FREAKIN' OP
Thanks Meter: 21,426
 
9,314 posts
Join Date:Joined: Dec 2010
Donate to Me
More
In AOR, the eclair overclocking uses the /system/bin/boot_script folder as opposed to the usual /system/etc/init.d folder.

If I do a google search for "eclair /system/bin/boot_script" there aren't that many results.
If I do a google search for "eclair /system/etc/init.d" there are twice as many hits.

So this should work on stock eclair without vulnerability patch
21st April 2011, 07:15 AM   |  #9  
LuigiC6's Avatar
Senior Member
Thanks Meter: 44
 
266 posts
Join Date:Joined: Dec 2010
More
Applying this to a rooted, stock 2.2.1 milestone makes the M logo bootloop... ive tried it twice. Followed the steps exactly..

And I think it may have bricked my phone :S Now it won't turn on anymore...
Last edited by LuigiC6; 21st April 2011 at 07:45 AM.
21st April 2011, 03:13 PM   |  #10  
zeppelinrox's Avatar
OP Senior Member
Flag IN THE FREAKIN' OP
Thanks Meter: 21,426
 
9,314 posts
Join Date:Joined: Dec 2010
Donate to Me
More
So buysbox is installed right?
I actually developed the script working with stock telus 2.2.1 so it works.

I had a problem flashing the sbf 2.2 upgrade and was stuck on the M logo.
From recovery menu, I had wiped caches/reset to factory defaults and it booted up.

What have you tried so far?

Post Reply Subscribe to Thread

Tags
autostart, boot script, gscript, init.d, stock rom
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes