![]() |
[NOOB alert] how to make a startup script ?
I still didn't figure how to fix this .
Now I was thinking to create a startup script that disables SR2 once system and overclock loads . Now if I enable Apply on startup and reboot my device , the phone will reboot twice or even three times because alaways is loading OC profile without disabling SR2 . This SR2 is a pain , it f**s up every overclocking profile , making phone running very unstable , everytime forcing you to increase voltage a lot and still NOT stable . I nearly threw my phone against the wall when I got reboot while talking . :mad: |
Re: [NOOB alert] how to make a startup script ?
Anyone ?:(
|
Re: [NOOB alert] how to make a startup script ?
doesn't ariadne sh "..." ask for password?
"NOOB alert]" — maybe than overclock idea is not the best option to play with? |
Re: [NOOB alert] how to make a startup script ?
yes it asks for password, in the past i used opensh -c . I know what i am doing but i need a little help
|
Re: [NOOB alert] how to make a startup script ?
Quote:
|
Re: [NOOB alert] how to make a startup script ?
Yes I figured this so I tried ariadne -u root ... same result , also chmod -x /opt/overclock/* . :-s
|
Re: [NOOB alert] how to make a startup script ?
echo rootme | ariadne... might work
|
Re: [NOOB alert] how to make a startup script ?
Quote:
|
Re: [NOOB alert] how to make a startup script ?
Now I made a .conf file in /etc/init/apps/ but it doesn't load at startup .
This is the .conf file Code:
description "Disable Smart Reflex 2" I tried also to add echo 0 > /sys/power/sr_vdd2_autocomp in the FasterN9.sh wich is loaded at startup , but still doesn't work . |
Re: [NOOB alert] how to make a startup script ?
Those scripts are executed 2-5 minutes after startup, give it some time and see if it works then.
Also shouldn't be executing it as root? |
Re: [NOOB alert] how to make a startup script ?
Quote:
yes , I've tried with -u root too but same result . |
Re: [NOOB alert] how to make a startup script ?
Is there no way to run a script immediately on startup, i e without the 2-5 minute wait?
|
Re: [NOOB alert] how to make a startup script ?
Quote:
|
Re: [NOOB alert] how to make a startup script ?
Quote:
|
Re: [NOOB alert] how to make a startup script ?
Adding anything to /etc/init/ will cause an immediate reboot.
'perl refhashlist.pl' doesn't work either so I guess I'm doing this all wrong... |
Re: [NOOB alert] how to make a startup script ?
Quote:
|
Re: [NOOB alert] how to make a startup script ?
This is probably not the best solution, but if you are in patched open mode then you can add your commands to /etc/init.d/rcS.
In protected mode using inception you'd need to update refhashlist or aegis will lock the file and malf your phone so I don't recommend trying that unless you know what you are doing. Also if you are in patched open mode you might investigate doing your own startup script in /etc/init.d (i suppose it's not allowed in normal mode, correct me if I'm wrong.) |
All times are GMT. The time now is 15:12. |
vBulletin® Version 3.8.8