I'm currently using scripts to change my BuglessBeast governor and Max clock speed at boot, but can't figure out how to chance scaling to deadline. Any help is appreciated
Sent from my Google Nexus S
Here is a zip containing init.d scripts. Unzip. There is a "governor" and "max_freq" in there.
http://db.tt/3kX5XBxC
If none of these work.......Runparts (init.d at boot) is not implemented on the kernel your using. Also make sure permissions. 755
snandlal said:
Here is a zip containing init.d scripts. Unzip. There is a "governor" and "max_freq" in there.
http://db.tt/3kX5XBxC
Click to expand...
Click to collapse
Thank you very much. The script I was looking for was to change the scheduler from cfs to deadline. I'm not sure I see one in your zip to do this?
Sent from my Google Nexus S
Ya. I replied a lil early this mornin. Realized it later
I am currently working on a custom rom but I can't get the init.d start up scripts to rewrite the values of certain files and do the thing I want them to do. Anyone have any ideas why?
Sent from my SGH-T839 using XDA Premium App
Busybox? Ask dev.
Depending on which files you are trying to overwrite, it may be writing them before the system sets their values.
if this is the problem any ideas on how i can overwrite the system values AFTER the system sets the values?
i'm currently using the 01insert_file_name_here - 98insert_file_name_here
method and i have it set to 98 so that means that the system should be writing those values last which should mean the values would be overwritten like i wanted but yet NONE of the init.d scripts are running.
hmmm.....
Which kernel are you using?
your kernel from glorious overdose that you said i could use haha
i even also tried switching to a kg2 stock deodex base and doing the same mods and the same result happened.....
i thought that the #filename method in the system/etc/init.d folder was the method used for running startup scripts.....i also gave the ect/init.d folder rwx-rwx-rwx permissions (0777) in the updater-script yet nothing.....
it should be etc/init.d, not sure if you had a typo in your post, or if you're using the wrong folder? I know that init.d scripts work on the KJ2 kernel I made.
sduvick said:
it should be etc/init.d, not sure if you had a typo in your post, or if you're using the wrong folder? I know that init.d scripts work on the KJ2 kernel I made.
Click to expand...
Click to collapse
yeah its the right folder
but does the script have to be named:
98test
or
S98test ?
b/c i noticed in glorious overdoes you put a capital s infront of the script's number and name.....in some other roms though they just use the # then name without the s
-x]Trunks[x- said:
yeah its the right folder
but does the script have to be named:
98test
or
S98test ?
b/c i noticed in glorious overdoes you put a capital s infront of the script's number and name.....in some other roms though they just use the # then name without the s
Click to expand...
Click to collapse
it seems galaxy s phones need the script to start with "S" followed by a number between 01-98 then a file name.....so the 2nd option I posted is correct.
but yet even with using your kernel i can't get the script to set the values i'd like it to for the rom i'm working on.....here's the script i have made (don't worry those who have work that is contributed to that file will be credited when i post the rom w/ this working script)
i've been trying for almost a week with different people's "solutions" yet none work
rom base: kj2 deodex w/ root
modem: kj2
kernel: glorious overdose 2 kernel
hopefully you can figure out the problem
Yaa...I know. you can find a lot of tweak in this forum. I just want to share the tweak I've made for you. this tweak is an enhanced version this old tweak http://forum.xda-developers.com/showthread.php?t=1714217. that tweak is for GB. I'm not recommend you to install that stuff to your system. if you're using ICS device, especially Xperia one, you can use this tweak instead.
all the files could be downloaded here:
v_0.1 : http://www.mediafire.com/?c4ua4cwwd0e774j
v_0.2 : http://www.mediafire.com/download.php?9ua4lz8wafqq79w
v_0.2.1 : http://www.mediafire.com/download.php?2bqcgbkt01banl6
(this latest update only contain add blocker tweak. you need to copy the hosts file into /system/etc to install it.)
sorry, no flashablel zip file yet, since we don't have working cwm at this moment.
PRE-REQUIREMENTS
1. rooted device
2. init.d support system
3. busybox with symlink installed
if you don't have a rom with init.d support, you can made it by yourself. simply create file named "install-recovery.sh" in /etc. and put these stuff inside that file
Code:
#!/system/bin/sh
# init.d activation script
busybox run-parts /system/etc/init.d/
to test your init.d script you can made a simple script in init.d contain
Code:
#!/system/bin/sh
# test code
touch /data/tes_kucing.log
echo "kucing meong" > /data/tes_kucing.log
if it succes, you'll find tes_kucing.log in /data after you reboot your device.
WHAT INSIDE IT?
this tweak consist of several parts.
1. kuro1 tweak - system tweak
2. kuro2 tweak - prop tweak
3. kuro4 tweak - sound enhancement
4. local.prop tweak
5. zipalign tweak
all the details about the tweak is already inside the tweak files.
HOW TO INSTALL
simply copy all files into their respective folders and give them rwxrwxrwx permission. after that type these command in your terminal
Code:
su
rm /data/dalvik-cache/*
reboot
after boot, check /data and see if you could find all the log files. if you got any problem, you can report here and show me the log files.
CHANGELOG:
v_0.2.1 (2-1-12):
- add blocker.
- this is a little addition for v_0.2. you need to install v_0.2 then copy hosts file to /system/etc to use the complete tweak.
v_0.2 (9-12-12) :
- new optimized script
- auto root for blast tool. no need to type su. just type "blast" in your terminal and the script will run with root permission
v_0.1 :
- initial public release
Click to expand...
Click to collapse
TERM OF USE AND SHARING:
this thread intent is for sharing. feel free to use, edit, distribute all material inside this thread which came from me. if there any parts of this mod which comes not from me please refer to the original dev I've mentioned in this thread. if want to share it to another forum or modify it you don't have to ask my permission. no need to credits, put links or whatsoever. you'll only need to remember that you should held all the responsibility by using this mod, modify it or distribute it. DO IT WITH YOUR OWN RISK
Click to expand...
Click to collapse
SPECIAL FEATURE
this tweak pack has special feature to clear up your memory so that you'll have more space to run app or run heavy app like games. in your terminal type
Code:
su
blast
a script will run and your memory will freed up. all the information about the memory you can get in your screen.
EDIT: if you're using the new version you only need to type 'blast' in your terminal.
GPS tweak
this tweak will make your gps acquire your postition relatively faster. to install it simply replace your gps.conf with this one and reboot. http://www.mediafire.com/download.php?vdkrzx55qkzqn27
please note that this gps.conf file is optimized for indonesian region. I'll show you which part I modified from the original one so that you can optimize your gps according to your country.
Code:
# more ntp server
NTP_SERVER=id.pool.ntp.org
# the line above is the ntp server for indonesia. you can replace it with your region id. the form will be <country code>.pool.ntp.org
NTP_SERVER=asia.pool.ntp.org
NTP_SERVER=europe.pool.ntp.org
NTP_SERVER=africa.pool.ntp.org
NTP_SERVER=north-america.pool.ntp.org
NTP_SERVER=south-america.pool.ntp.org
NTP_SERVER=oceania.ntp.org]
I also modify this part
Code:
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=1
# that line above is to enable intermediate position report. less accurate but faster gps lock
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# orig 5000
ACCURACY_THRES=100
# this line define the accuracy threshold if you activate intermediate position. If I'm mistaken the value is written in meter. less number means more accurate position, longer gps lock. while higher number means faster gps lock but less accurate position. you can modify this value on your own.
can you make a flashable since we have recovery for a few days now? im gonna test if it works.
Until there's update for this stuff there won't be any flashable zip. I know, its not convenience to copy the files one by one but I need to make sure the filesgot copied into system. Last time I checked into cwm thread there's a report about problem when install a flashable zip.
smokerman said:
can you make a flashable since we have recovery for a few days now? im gonna test if it works.
Click to expand...
Click to collapse
If you want tweaks...
Just visit the super thread for tweaks
http://forum.xda-developers.com/showthread.php?t=1908269
You can get many tweaks in flashable zip... Even bravia engine and xloud
Sent via 'rooted' BEETEL landline
thread updated with a lil new optimized tweak
thread updated with gps tweak as I've promised. check post 3#
3. kuro4 tweak - sound enhancement
Click to expand...
Click to collapse
Does that affect headphones volume which is not the best on stock? I'm sure the headphones volume is limited on purpose and I'm looking to boost it up since none of the Google Play volume boosting apps work on ICS and above.
i'm afraid not. the sound enhancement tweak is used to enhance the sound clarity, not the headphone volume. if you want a louder volume on your headphone you can try using eq app like the one in my beat bass app thread. try the latest one.
thread updated with add blocker tweak.
Nice work........
thanks for the mod... working fine on J .75 firmware . Ah, can you tell me how to enable boot animation. __
Goto /data/local.prop delete debug.sf.nobootanimation or change the value to zero
Not working for my Xperia Miro, phone stuck at Battery status after reboot.
Also cant find my region code for GPS tweak I am from and in Bulgaria.
Thanks
battery status? are you using cm10? which version of it?
Could you make this for flash gordon?
Sent from my ST26i using xda app-developers app
pardon me? what do you mean with flash gordon?
kurotsugi said:
battery status? are you using cm10? which version of it?
Click to expand...
Click to collapse
CM 10 FXP 220, just before enter the system there si battery status for JB 4.1 and my phone stuck there.
Also where to find my region code, I mean I am from, BUlgaria, but dont know is it "bul" or "bg" or someth. for the GPS tweak.
kurotsugi said:
pardon me? what do you mean with flash gordon?
Click to expand...
Click to collapse
Its an application That fakes recovery for xperia j and other phones without cwm. U can flash zips with it
Sent from my ST26i using xda app-developers app
Any Way to get this work on our device ?
http://forum.xda-developers.com/showthread.php?t=2145133
In andiroxu's kernel, it already there.
But this kernel Lags.
So, Can somebody make a cwm flashable file of this with 300 mb swap in cache folder.
OR Can you tell me how to do this.
I placed the init.d script in system/etc/init.d but nothing happens.
Can somebody tell me how to run init.d scripts ?
Thanks in Advance !
after placing that init.d scripts in the folder, use UNIVERSAL initd support enabler app.
Subject says it all. Just enabled init.d in stock and looking to see what scripts people are using and why?
And just to clarify, I'm already using "01permissive" and "08setperm", essentially the base scripts put in place Ryuinferno's init.sh file.