I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
damnmisur said:
I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
Click to expand...
Click to collapse
Sweet! Do you know if there's a way to make the sound settings stick as well? (bass booster)
derekwilkinson said:
Sweet! Do you know if there's a way to make the sound settings stick as well? (bass booster)
Click to expand...
Click to collapse
I can post more script for that in a bit.
edit: damn if I can't find the files for the bass boost settings.
Sent from the bowels of hell
Those are my exact settings preference, thanks
Sent from my Nexus S
Doesn't the voodoo control app work?
Voodoo settings aren't sticking with ics based roms.
Sent from the bowels of hell
Does this work on stock cm7.101? (stock cm7.1 kernel)
This works on all roms I believe. The files are in the system folder which are common between roms. Correct me if i'm wrong.
Sent from the bowels of hell
Erm.... What the heck are Voodoo colors?
Voodoo control plus on the market if you don't know about it you better find out
sent from my Nexus NScollab
evoschecter said:
Erm.... What the heck are Voodoo colors?
Click to expand...
Click to collapse
Voodoo colors offer an adjustment to rooted phones. Its like the color adjustment on a t.v.
Sent from my Nexus S using xda premium
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Enhanced said:
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Click to expand...
Click to collapse
Didn't realize that didn't stock either lol thanks for the heads up
Sent from my Nexus S 4G using Tapatalk
Enhanced said:
Damnmisur, can you create a script to automatically change the "Background Process Limit" to at most 3 processes?
Seems like this is another one of those things that don't stick upon restarting. Many people like to set their limits instead of letting apps stay in memory.
Thanks!
Click to expand...
Click to collapse
Wish I could. I'm a noob and figured out the voodoo colors script by looking at system files. I don't really know how to make the script for what you are asking for.
Sent from the bowels of hell
damnmisur said:
Wish I could. I'm a noob and figured out the voodoo colors script by looking at system files. I don't really know how to make the script for what you are asking for.
Sent from the bowels of hell
Click to expand...
Click to collapse
Just need to figure out where those values are stored at just like the voodoo ones
Sent from my Nexus S 4G using Tapatalk
Someone figure it out!
sweet!! gonna try this out. now i can stop using franco.Kernel 11/25 lol
Hoping a dev stumbles on this thread for an answer to process limits. This will be most likely solved when Nexus S ICS code is released.
Sent from the bowels of hell
Omg you're a god! And the options you chose actually look really nice! My screen looks juicy and bright instead of neon!
damnmisur said:
I know that a lot of people are asking how to make voodoo settings stick. I found the following to work even on roms without init.d. I suppose this means Rom Toolbox could be used to run all your scripts
For those that do not know how to write scripts this is easy.
This works on roms without init.d as well.
Download ROM Toolbox from market. Open scripter. Create new script. Copy and paste the following:
#! /sys/bin/sh
echo 2309122400 >/sys/class/misc/voodoo_color/red_multiplier
echo 2309122400 >/sys/class/misc/voodoo_color/green_multiplier
echo 2701672960 >/sys/class/misc/voodoo_color/blue_multiplier
echo -44 >/sys/class/misc/voodoo_color/blue_v1_offset
echo -50 >/sys/class/misc/voodoo_color/red_v1_offset
echo -53 >/sys/class/misc/voodoo_color/green_v1_offset
These settings are from samoled. You can change the numbers to your preference. Save the script. You can then run the script and set to run at boot all from ROM Toolbox.
Click to expand...
Click to collapse
Awesome now I don't need to manually do it
Sent from my Nexus S using xda premium
Related
If you do not know what is this about and do not have any problems, leave the scripts alone and go on with your life.
Click to expand...
Click to collapse
Attached.
1a. Fixed zram.zip for franco kernels v18/v19
Fixed by removing the 00remount script from /system/etc/init.d, since it messes up with boot on phones with DT's apps2sd (and probably other similar scripts) - a2sd fails to mount sd-ext partition, phone "hangs" on LG logo.
If you are already stuck after flashing franco's original zram.zip due to this issue, then go to recovery, mount /system there, and
Code:
> adb shell
# rm -f /system/etc/init.d/00remount
# exit
> adb reboot
Alternatively, flash remove-zram.zip and reboot. This will remove ZRAM altogether.
There is no ZRAM support on franco's 2.6.35.x (v1) kernels, flashing this there is absolutely useless
Click to expand...
Click to collapse
1b. remove-zram.zip: Removes ZRAM. Deletes the following files if they exist:
Code:
/system/bin/zramconfig
/system/etc/zram.sh
/system/etc/init.d/00remount
/system/etc/init.d/00zram
2. remount-noatime.zip
Remounts all your filesystems with noatime,nodiratime options (potential I/O speedup). Taken from the original zram.zip and renamed to 98remount so that it comes after all other stuff is done.
3. remount-noatime-nobarrier.zip
Same as above, plus remounts ext4 with barrier=0 option for users with sd-ext on ext4. (potential I/O speedup)
Q: What is zram?! I do not understand what is this about!
A: Read the red warning.
Q: How can I find whether my kernel supports ZRAM?
A: Use the shell.
Code:
# zcat /proc/config.gz | grep ZRAM | grep -v ^#
CONFIG_ZRAM=y
Q: What is noatime, nodiratime, barriers?
A: Google it!
Q: I deleted the 00remount script as advised in recovery, but still have issues with A2SD not mounting my sd-ext!
A: If you are using CM7 ROM, then delete /system/etc/init.d/05mountsd as well. (Rename to _05mountsd or whatever else that does not start with digits should do as well.)
Em a newbie.... just asking ... is this improves battery life?
>>Sent from my LG-optimus One™ using XDA Premium App® Rom -void forever with franco kernel v19
samcad said:
em a newbie.... Just asking ... Is this improves battery life?
Click to expand...
Click to collapse
no!
1234567890
samcad said:
Em a newbie.... just asking ... is this improves battery life?
>>Sent from my LG-optimus One™ using XDA Premium App® Rom -void forever with franco kernel v19
Click to expand...
Click to collapse
As the doctor already mentioned... THis script is for those who get issues with boot up of their OS..!! Read the FIRST POST...!!
If your phone is working fine then this is not for you...!!!
Good one.
Prepare for 40 thousand posts asking if this script makes coffee and cleans the house for you.
imiki2421 said:
As the doctor already mentioned... THis script is for those who get issues with boot up of their OS..!! Read the FIRST POST...!!
If your phone is working fine then this is not for you...!!!
Click to expand...
Click to collapse
I have read it... but m just knowing anyway in improving in this script
>>Sent from my LG-optimus One™ using XDA Premium App® Rom -void forever with franco kernel v19
franciscofranco said:
Prepare for 40 thousand posts asking if this script makes coffee and cleans the house for you.
Click to expand...
Click to collapse
My /dev/null is ready
And does it make coffe? )
Sent from my LG-P500 using XDA App
Fresh installed 6.5.7 then fk19 then revised zram then noatime then dt a2sd (rebooting in between ofc) and got stuck again after flashing a2sd.
Got in recovery and deleted the 2 scripts from init.d via adb then reboot. It rebooted ok and I thought yeeah we're done. I did another reboot afterwards and it stuck again.
Trying to figure out what to try next. That's a way to spend my vacations lol
See adb logcat
I'll be the first. Does it make coffee and clean the house for me?
Btw glad your hissy fit is over. Good to have you back.
Sent from my LG-P500 using XDA Premium App
Testing -> remount-noatime-nobarrier.zip
I had no problems, just testing that for noatime, no barrier
franciscofranco said:
Good one.
Prepare for 40 thousand posts asking if this script makes coffee and cleans the house for you.
Click to expand...
Click to collapse
rofl, youre kinda, funny you know that?
Lawful123 said:
Btw glad your hissy fit is over. Good to have you back.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
totally out of topic!!!!
but I HAD to rotfl! ...hissy fit.... LOL!
Is there anyway to remove ZRAM after installing the original ZRAM?
I have been following franco kernel since v16.
Now i'm using V19.1.. and i have installed ZRAM for the first time after flashing 19.1
My phone has random reboots and i guess the sole cause is ZRAM.
Is there anyway to disable ZRAM? THANKS!
NOTE: I have tried to revert back to v19 but same issue.. random reboots.
kutysam said:
Is there anyway to remove ZRAM after installing the original ZRAM?
Click to expand...
Click to collapse
Delete the installed files. See the ZIP for which ones.
kutysam said:
Is there anyway to disable ZRAM? THANKS!
NOTE: I have tried to revert back to v19 but same issue.. random reboots.
Click to expand...
Click to collapse
Delete /system/etc/init.d/00zram
Finally, I very much doubt that zram is causing reboots for you. It is merely a swap.
dr. I´m using Juwe11 RamScript, as far as I can see theres no duplicate stuff between your last script and his so i can use both, but my question is if its better that your script runs after him, now yours run first because of the files name.
Roqu3 said:
dr. I´m using Juwe11 RamScript, as far as I can see theres no duplicate stuff between your last script and his so i can use both, but my question is if its better that your script runs after him, now yours run first because of the files name.
Click to expand...
Click to collapse
Does not matter at all in which order they run...
Added remove-zram.zip; self-explanatory.
dr.notor said:
Added remove-zram.zip; self-explanatory.
Click to expand...
Click to collapse
So it will increase quadrant score? (lol)
======
Preface
======
The script is actually Base on Juwe11's RAM script
which you can found here... http://forum.xda-developers.com/showthread.php?t=1111145
==========
Main Content
==========
The adj value of his script is a bit too tight for Our O2X...
so the Launcher is killed quite often if many apps opened in the background.
Here's the adj value changes I made, originally, Juwe11's values are..
"0,1,2,4,6,15" and I change it to, "0,1,2,7,8,9"
the forth value is for HIDDEN_APP_MIN_ADJ, which including the Launcher (I'm using LauncherPro) belongs to this category when you open some foreground application.
the default android value for this is also 7, and I find the OOM value for Launcher is 6 usually... so Juwe11's "4" will lead to our Launcher being Killed, keep it at 7, never tried to have mine killed yet.
The last 2 vaule just make sure the last category EMPTY_APP_ADJ is kill earlier than the previous..
About the minfree vaule...
I change it to "1536,3072,4096,7680,8960,10240" which actually the same values of "Moderate preset" of autokiller
which is enough to ensure most RAM being use before killing for faster task switching...
=====
Credit
=====
!! Credit goes to Juwe11 for his mighty RAM script~ !!
Backup your RAMscript and remove it to somewhere before install this...
install via CWM, it will put the script into your /etc/inti.d/ that's it, boot and try
i just installed it,
i will let u know what are the results,
u are correct, the original script kills the launcher and apps specially XDA
will try this configuration on auto killer memory seems good m8 to set it to moderate
shpapy said:
i just installed it,
i will let u know what are the results,
u are correct, the original script kills the launcher and apps specially XDA
Click to expand...
Click to collapse
I'm not sure if other Launcher would have a different OOM value~
I have Autokiller memory optimizer which I paid before...so I can view OOM value easily..
But with this Script... I guess really no task killer needed for our 2X already.
antec123 said:
will try this configuration on auto killer memory seems good m8 to set it to moderate
Click to expand...
Click to collapse
so, just edit the minfree value according to the values inside AutoKiller if you find some other setting suits you more
but about the adj value... I guess that part is already good enough
now I find my phone already got around 60-90 free RAM at any time...
Multiple games running at the background while web browsing...
and the Browser usually got a higher OOM, which tends to kill earlier than Games..
it is reasonable.. as the WEB you can load again with the same URL..
while the game got killed, you lost the state... android is doing it's work nicely I guess.
best memory managment script i have tryed is v6supercharger http://forum.xda-developers.com/showthread.php?t=991276
I think its the best of the best.
orlox said:
best memory managment script i have tryed is v6supercharger http://forum.xda-developers.com/showthread.php?t=991276
I think its the best of the best.
Click to expand...
Click to collapse
I tried both V6 and Juwe11's before...
and I manage to be patient enough to follow step by steps...
for installing so many things... and it just put a script in init.d at the end...
And I found it do not contain adj value in it, so I come back to Juwe11's
but anyway, this is your choice...
thanks for that script
just a quick question
would this script also work on a sgs2, running oxygen aosp stock rom?
pa.pn2 said:
thanks for that script
just a quick question
would this script also work on a sgs2, running oxygen aosp stock rom?
Click to expand...
Click to collapse
same as Original Juwe11's version.
it was suppose to work on any ROM which support init.d
but the values may need some tweaking accordingly.
squide said:
I'm not sure if other Launcher would have a different OOM value~
I have Autokiller memory optimizer which I paid before...so I can view OOM value easily..
But with this Script... I guess really no task killer needed for our 2X already.
Click to expand...
Click to collapse
Sorry to let you down. But the results are the same......
Sent from my LG-P990 using XDA App
squide said:
I tried both V6 and Juwe11's before...
and I manage to be patient enough to follow step by steps...
for installing so many things... and it just put a script in init.d at the end...
And I found it do not contain adj value in it, so I come back to Juwe11's
but anyway, this is your choice...
Click to expand...
Click to collapse
adj values are in /data/SuperChargerAdj while minfree values are in /data/SuperChargerMinfree.
it's just a script in init.d at the end, you only need to follow it step by step...
squide said:
so, just edit the minfree value according to the values inside AutoKiller if you find some other setting suits you more
but about the adj value... I guess that part is already good enough
now I find my phone already got around 60-90 free RAM at any time...
Multiple games running at the background while web browsing...
and the Browser usually got a higher OOM, which tends to kill earlier than Games..
it is reasonable.. as the WEB you can load again with the same URL..
while the game got killed, you lost the state... android is doing it's work nicely I guess.
Click to expand...
Click to collapse
i set the preset to moderate and get about 126-128mb on free ram pretty impressive and the stock browser don't get close so quickly nice! i use v10e ESA and neoblaze kernel
Works on CM7?
_Vegas said:
Works on CM7?
Click to expand...
Click to collapse
it should work on all ROM supporting init.d
in case you don't like it, go to /etc/init.d to remove the script and reboot.
it wont modify your file system..
it just override some system value on boot.
if you removes the script.. your phone would back to the state before you install this.
so, just try see if u like, if not, delete it, reboot, that's it.
Works really nicely on CM7 nightly.
Sent from my Optimus 2X
Bit of a Dumb question but my phone still has the Stock rom and doesn't have the init.d Folder
if I created /system/etc/init.d and copied the script into that would this work?
waynefox said:
Bit of a Dumb question but my phone still has the Stock rom and doesn't have the init.d Folder
if I created /system/etc/init.d and copied the script into that would this work?
Click to expand...
Click to collapse
Sorry, no. You need a custom rom of some sort to get init.d support.
TrymHansen said:
Sorry, no. You need a custom rom of some sort to get init.d support.
Click to expand...
Click to collapse
You need a Custom Kernel supporting init.d to be more accurate.
and NeoBlaze is a good one to try with.
if you really need to keep your stock ROM..
First of all you still need to root your phone
Install ROM manager from market
flash the Clockworkmod via ROM manager
install NeoBlaze Kernel, then you're ready.
if warranty is your concern, take a look to the Nvflash thread..
O2X is ALMOST unbrickable, almost.
squide said:
You need a Custom Kernel supporting init.d to be more accurate.
and NeoBlaze is a good one to try with.
if you really need to keep your stock ROM..
First of all you still need to root your phone
Install ROM manager from market
flash the Clockworkmod via ROM manager
install NeoBlaze Kernel, then you're ready.
Click to expand...
Click to collapse
I'm pretty sure that won't work. You need ROM-support as well. (A Ramdisk script which starts the init.d. thing to be even more accurate.) Feel free to prove me wrong.
TrymHansen said:
I'm pretty sure that won't work. You need ROM-support as well. (A Ramdisk script which starts the init.d. thing to be even more accurate.) Feel free to prove me wrong.
Click to expand...
Click to collapse
Ramdisk is a part of the kernel, so if you bung a kernel that supports init.d on (any) rom it'll run what's in there assuming it's eXecutable.
You can do it on the stock rom even, as long as you have a init.d kernel (and create the entries in ../etc/init.d/).
Although I can't "prove" this to you at the moment...
**** Do Not Repost! Link back to this thread! ****
*** Update: This works on Thrill/Optimus 3D. There are seperate kernel modules for Froyo/GingerBread/CyanogenMod kernels***
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
This uses SYMSEARCH by Skrilax_CZ
https://github.com/SkrilaxCZ
Inspired by Milestone Overclock by Tiago Sousa, but totally rewritten for omap kernel 2.6.35-7 and above.
http://code.google.com/p/milestone-overclock/
This is a stripped down version. I'm working on a fully featured version, that will allow you to play with voltage as well. There are some hurdles to overcome before that is ready for prime time... In the mean time, lets see what stock voltage can do... 1188 is my sweet spot on stock voltage, what is yours? I get up to 1235 without reboots, or real noticeable lags but the linkpacks are all over the place, where it stays in the 80's at 1188. And remember, the number is in hz a.k.a. cycles per second, so to get Mhz, you must add 'Six Zeroes' to the end of your desired Mhz.
* Note2Devs: Feel free to put this in your ROM, but please do credit me for the Overclock in your release, and link back to this thread. You can also post a link to your ROM here as a way to make myself and other aware of it. Thanks...
* Echts shows us how he integrate's the module into his own ROM. TY, Echts...
http://forum.xda-developers.com/showpost.php?p=19542521&postcount=52
* Thanks to greenbats for helping figure out the O3D gingerbread kernel issue!
** And don't ask to put it in an app. I won't be happy about that. I'm serious! **
Here go some of my Recording Engineer work...
http://www.youtube.com/watch?v=Je8K_hCej3s
http://www.youtube.com/watch?v=yfBfcdSL1pc
http://www.youtube.com/watch?v=iIU8DO4rdKI
http://www.youtube.com/watch?v=msavF7LIdvY
Essentially, hardware wise, the Thrill has exactly the same specs as the Optimus 3D ? I mean, CPU wise.
It's the same hardware
omgomg said:
Essentially, hardware wise, the Thrill has exactly the same specs as the Optimus 3D ? I mean, CPU wise.
Click to expand...
Click to collapse
Yes, give this a go on the O3D, the module is actually compiled against the cyanogenmod cosmo kernel, which is really for the O3D. Should work.
for test \
How do I install this on the optimus 3D?
greenbat said:
How do I install this on the optimus 3D?
Click to expand...
Click to collapse
No real installing... It's just the modules... You can throw them in /system/lib/modules, and then use an init script to load them up, then set the frequency, but don't do that until you know what works *STABLE* for you.
If you have a favorite ROM, let the dev know about this, and maybe they'll integrate it.
I'm not sure if custom kernels like acurateam's might be too different to work properly at this point. But it won't hurt to try. Just don't start loading it at boot right away.
tekahuna said:
No real installing... It's just the modules... You can throw them in /system/lib/modules, and then use an init script to load them up, then set the frequency, but don't do that until you know what works *STABLE* for you.
If you have a favorite ROM, let the dev know about this, and maybe they'll integrate it.
I'm not sure if custom kernels like acurateam's might be too different to work properly at this point. But it won't hurt to try. Just don't start loading it at boot right away.
Click to expand...
Click to collapse
Thanx for your advice and Great find!!!
I have send your xda link to acura. Hopefully he can integrate it.
greenbat said:
Thanx for your advice and Great find!!!
I have send your xda link to acura. Hopefully he can integrate it.
Click to expand...
Click to collapse
I didn't find this. I made it! First OC'd OMAP4 period! Unless you count RAZR's... hah
Great invention
tekahuna said:
I didn't find this. I made it! First OC'd OMAP4 period! Unless you count RAZR's... hah
Click to expand...
Click to collapse
Great invention and congratulations!
Great job.... we use to use this type of script in motorola defy and moto bravo. It was easier with those because of the 2nd init recovery booting.
Sent from my LG-P925 using XDA App
tekahuna said:
**** Do Not Repost! Link back to this thread! ****
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
Is it possible for you to change this into a scriptmanager file?
Click to expand...
Click to collapse
Type this in scriptmanager shell.
greenbat said:
tekahuna said:
**** Do Not Repost! Link back to this thread! ****
Here ya go... I prefer this method rather than hard coding changes in the kernel. Assuming you have both kernel modules extracted to /sdcard
Switch to root
Code:
$ su
Copy files from sdcard to /system/lib/modules directory - You only do this once
Code:
# cp /sdcard/symsearch.ko /system/lib/modules/symsearch.ko
# cp /sdcard/opperator.ko /system/lib/modules/opperator.ko
Load modules, always do symsearch.ko first - You do this every time you reboot
Code:
# insmod /system/lib/modules/symsearch.ko
# insmod /system/lib/modules/opperator.ko
Set Frequency - You do this when you want to change frequency - in hz, that's 6 additions Zero's to make Mhz
Code:
# echo 1188000000 > /proc/opperator
Is it possible for you to change this into a scriptmanager file?
Click to expand...
Click to collapse
What I'd really like is for the ROM making dev's to come to a consensus as to how to integrate this... Mainly, the best place to throw the script that does this at boot on these phones. I know how we did it on droid X, but I haven't dug deep enough into this phone just yet to be sure... I'll update the OP as methods improve and I get more feedback.
Click to expand...
Click to collapse
Or use callmearia kernel and make script for system/etc/init folder... havent tried his kernel but it should support the script at boot up. Acura roms should work that way too.
The way most roms use overclock is the init script that starts at boot...
Sent from my LG-P925 using XDA App
rdannar said:
Great job.... we use to use this type of script in motorola defy and moto bravo. It was easier with those because of the 2nd init recovery booting.
Sent from my LG-P925 using XDA App
Click to expand...
Click to collapse
Those would have been based on Milestone Overclock... Which is where I gained most of my knowledge by contributing to getting the droidx/2 side of things working. MO's method of manipulating frequency and voltage no longer works on OMAP4, or rather kernel 2.6.35+... I had to come up with a new way of doing things, which didn't fit well under the existing framework of MO. So, I started from scratch... This is just the tip of the iceberg... Basic, basic, basic...
i get insmod: init_module /system/lib/modules/symsearch.ko failed (exec format error).
What am i doing wrong?
I also get the same error: insmod: init_module '/system/lib/modules/symsearch.ko' failed (exec format error)
Is it because I have gingerbread?
Must I use froyo?
borelis said:
i get insmod: init_module /system/lib/modules/symsearch.ko failed (exec format error).
What am i doing wrong?
Click to expand...
Click to collapse
Both O3D's, huh? What kernel are you running? give me output of
# dmesg
and
# busybox uname -a
And if it's acurateam, a link to their kernel source
tekahuna said:
What kernel are you running? give me output of
# dmesg
and
# busybox uname -a
And if it's acurateam, a link to their kernel source
Click to expand...
Click to collapse
"LINK Boot_2.0 More RAM, No Lags, More Speed.." from acura. Think he uses stock kernel. Im on GB by the way.
Outputs is a bit over my head. Tell me how and i´ll provide it for you.
hey guys,
i know it may sound like a noob question but how can i set swappiness?
i flashed 'x8EnableSwapPartition', tryed to change swappiness in this script, but still 20..
then i tryed to set swappiness via hw_config.sh: still 20..
i feel like i'm going crazy
You're on custom kernel? If you are, there's a guide here. Try searching for that if you haven't.
Please give credit where credit is due..
If you can't even search how can I help you??
sorry, but there is no working guide...
its not the first time i used swap, but it always worked... well, actually it works but just about 14-18 MB due to 20 swappiness
and yes, of course i'm running a custom kernel
Install SetXperia from the PlayStore.
With it you can control cpu, swap and loads of really great extras.. You can even set a swap file @ boot and yes, swappiness..
thanks, it works
but there has to be another way to set swappiness, like in other roms too, without an app
laufersteppenwolf said:
thanks, it works
but there has to be another way to set swappiness, like in other roms too, without an app
Click to expand...
Click to collapse
yeah... it worked...
after reboot: 'can't get root access'... but superuser allows root...
anyone an idea to set it via script at boot?
Push SetXperia into system apps and set permissions and owner same as others..
laufersteppenwolf said:
thanks, it works
but there has to be another way to set swappiness, like in other roms too, without an app
Click to expand...
Click to collapse
sysctl -w vm.swappiness=x
where x is the value in which 0<x<100
and where do i have to add this line? hw_config ?
laufersteppenwolf said:
and where do i have to add this line? hw_config ?
Click to expand...
Click to collapse
create a new init.d script & name it to 15swappiness or anyname you want as long as there is number in front
Example:
#!/system/bin/sh
# Set swappiness to 40
sysctl -w vm.swappiness=40
This will only modify what needs to be tweak in the build.prop.
It will not modify anybody else's build.prop work.
This means it can be used after you install a custom ROM and
keep any changes your dev has made to their own build.prop.
I have screen shots of my 3 Mps DSL Line and my LTE.
If it gives any indication about how much more performance gain there is
WiFi gives me up to 2.9 Mbps normally.
LTE gives me close to 30 Mbps normally.
Revision 2:
little less aggressive on the phone itself
little bit better WiFi and LTE speeds
cleaned up TONS of code and named everything!
Also the 2nd version will save a backup so you
can restore your old build.prop if you do not like
the changes that were made from from the tweaks.
AND it should keep the original build.prop.
Mind you, the undoer will only work with version 2.
you can also make a swap file (paging file like windows)
command will be
# busybox mkswap /dev/block/zram0
# chmod 077 /dev/block/zram0
# reboot
how did you install an ULV kernel on your droid 4?
dewhashish said:
how did you install an ULV kernel on your droid 4?
Click to expand...
Click to collapse
through an inti.d script
Won't install
I can't get these to install, using safestrap 3.0. Any ideas what I am doing wrong?
zeroktal said:
I can't get these to install, using safestrap 3.0. Any ideas what I am doing wrong?
Click to expand...
Click to collapse
it has only been tested on SS211.
I believe there are differences in the way it reads
and mounts the partitions...
what does the error say?
Not to sound stupid, but will this work on Eclipse 1.3.4 for D4?
Sent from my DROID4 using xda app-developers app
panamakevin said:
Not to sound stupid, but will this work on Eclipse 1.3.4 for D4?
Sent from my DROID4 using xda app-developers app
Click to expand...
Click to collapse
the way It is set it up -should- in theory work with any ROM made for the D4.
Can we get this written for ss305?
jkieffer46 said:
Can we get this written for ss305?
Click to expand...
Click to collapse
yes give me a little while to install and reconfigure for ss3
jkieffer46 said:
Can we get this written for ss305?
Click to expand...
Click to collapse
I have tried and failed miserably! I am no means a "true" programmer BUT
I have a work around for the people with SS3. Although it does involve a
terminal emulator which is free and the Google Play Store link is BAM!
I will make a flashable fix in the morning with instructions on how to do it.
I will also have a screenshot of what to type as well. The script will still do
the same thing as the flashable BUT in the terminal (manual way)
Just ran the .sh
I just modified and ran the SH from the command line. Only had to remove one > per file. Thanks, my speed increase isn't amazing, but its solid. You are Awesome.
Is there a way to flash this in ss305 yet or what
No, I'm sorry, haven't time to work on it. right now the work around is through a shell and reboot
Sent from my DROID4 using xda premium
Ok ill wait. I dont know how to do anything other than flash zips
Does it have any tweaks for GSM/HSDPA? The 3G is really poor on Droid 4.