[SCRIPT]Adrenaline Shot Script - Continuum Android Development

I just used this script found HERE
Follow the directions...
Required:
rooted phone
busybox installed [get from market]
Terminal Emulator [get from market]
make sure your rooted and busybox installed....
Im using my deodexed rom, not debloated, my ram is hanging at 183-185mb
any questions about script ask in the original thread.
any questions on working on continuum, post in this thread
phone is amazingly faster!
NOTE: looks like it unroots phone.
To reroot use superoneclick 2. 3. 3
I'm working on what we can do to stop this...

Good find! This is a good boost.. What this does is:
The phone has a selected amount of memory for it's tasks. Over time this memory gets used up. When the phone's memory reaches a specific amount the phone automatically deletes specific files.. In the process of all of this, everything is slowed down. What this script does is delete the cache which is using up the ram/memory. Instead of allowing the phone to manage this, this script deletes the files in a specific interval.. In this case, i think it is every hour(don't quote me)..
I utulized something similar to this in my previous rom.. it however lowered the point the phone deleted the items out of memory automatically.
Many scripts like this are out.
Code:
#!/system/bin/sh
# Adrenaline Shot
sync;
sleep 1
echo "3" > /proc/sys/vm/drop_caches;
echo "1" > /proc/sys/vm/drop_caches;
sleep 1
echo " ** Turbo Boosted ** ";
One option you could do is create an init.d script to automatically run this(as long as you have imnuts' custom kernel installed)
Likewise, as long as you have busybox installed you should be able to make an sysctl script that will run this on boot.

pattielipp said:
Good find! This is a good boost.. What this does is:
The phone has a selected amount of memory for it's tasks. Over time this memory gets used up. When the phone's memory reaches a specific amount the phone automatically deletes specific files.. In the process of all of this, everything is slowed down. What this script does is delete the cache which is using up the ram/memory. Instead of allowing the phone to manage this, this script deletes the files in a specific interval.. In this case, i think it is every hour(don't quote me)..
I utulized something similar to this in my previous rom.. it however lowered the point the phone deleted the items out of memory automatically.
Many scripts like this are out.
Code:
#!/system/bin/sh
# Adrenaline Shot
sync;
sleep 1
echo "3" > /proc/sys/vm/drop_caches;
echo "1" > /proc/sys/vm/drop_caches;
sleep 1
echo " ** Turbo Boosted ** ";
One option you could do is create an init.d script to automatically run this(as long as you have imnuts' custom kernel installed)
Likewise, as long as you have busybox installed you should be able to make an sysctl script that will run this on boot.
Click to expand...
Click to collapse
Thanks for explaining it. Did imnuts get unit.d to work? I did not see a confirmation
Sent from my SCH-I400 using xda premium

So I flashed this on ec09 and I lost root. Any ideas?
Sent from my SCH-I400 using xda premium

With imnuts kernel init.d scripts are working.. they are finicky, but i did have them working for a period of time when i was looking into init.d and sysctl scripts.
biznazz said:
So I flashed this on ec09 and I lost root. Any ideas?
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
flash another ec09 build.. most include root capabilities.. If you want a stock deodexed and rooted build go with ciscoo's build.. if you want deodexed adn debloated, i have a release out.. Both of these are rooted...

biznazz said:
So I flashed this on ec09 and I lost root. Any ideas?
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
As did i lol... superoneclick 2.3.3 works
Sent from my SCH-I400 using xda premium

Ok thanks ciscoo. Could you add that bit of info into the op for others that decide to flash this. thanks duder
Sent from my SCH-I400 using xda premium

Sure will. I wasn't sure until u mentioned it.
Sent from my SCH-I400 using xda premium

Just tried this,FREAKIN AWESOME!
Sent from my SCH-I400 using Tapatalk

abby_nitewolf said:
Just tried this,FREAKIN AWESOME!
Sent from my SCH-I400 using Tapatalk
Click to expand...
Click to collapse
Did it unroot ya though?
Sent from my SCH-I400 using xda premium

ciscogee said:
Did it unroot ya though?
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
Just flashed. Insta unroot. S1c rerooted fine. Here's my question. I looked, before I rooted again. Su is still in bin, and su and busybox are both in xbin. Maybe someone better with scripts can clear this up, but i can't see where the boost script should affect su at all. I looked at the updater script, and the boost script itself. I'd be very curious, if someone knows.
Sent from my SCH-I400 using Tapatalk

When you run this it removes all running scripts and applications from the ramdisk that are stored in the cache. Root is given at startup as well as other scripts being run only once, however they stay in the ram until the memory is needed, then they are replaced. This completly clears the cache.. for those running this, if you reroot your phone does this unroot it again after a specific amount of time? 1 hour or 1 day after the script is run?

pattielipp said:
When you run this it removes all running scripts and applications from the ramdisk that are stored in the cache. Root is given at startup as well as other scripts being run only once, however they stay in the ram until the memory is needed, then they are replaced. This completly clears the cache.. for those running this, if you reroot your phone does this unroot it again after a specific amount of time? 1 hour or 1 day after the script is run?
Click to expand...
Click to collapse
Rerooted at 0730. It's 1245 now. Just checked and i still have root.
Sent from my SCH-I400 using Tapatalk

Txwolf1980 said:
Rerooted at 0730. It's 1245 now. Just checked and i still have root.
Sent from my SCH-I400 using Tapatalk
Click to expand...
Click to collapse
Is ram still down also?
Sent from my SCH-I400 using xda premium

To be honest, There was only an 11mb drop with me. But, that (such as it was) is back up. Just ran it again, kept SU, but usage actually increased... Figures, I'd have the retarded phone of the bunch. Kinda supports the whole 'phone reflects it's user' line of thought.

yeah i was confused when it unrooted me. i just pushed the files back in and activated root again. It has been a day already and i still have root. i had about a 30mb difference with me. it may not be much for others but for me every mb counts.

In script OP. not this threads OP. Is the fix for unroot problem.
Sent from my SCH-I400 using xda premium

ciscogee said:
In script OP. not this threads OP. Is the fix for unroot problem.
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
Lol you beat me to it, i was about to post that
Sent from my ADR6425LVW using Tapatalk

Related

[TWEAK/HACK][ICS][GB] Data Speed

This is my Data Speed Tweak that would be found in my "DARKSTAR" ROM ( http://forum.xda-developers.com/showthread.php?p=22991708#post22991708 )
It is a flashable .zip
IF SOMETHING HAPPENS ITS ON YOU!!!
This has been tested on 3 gingerbread ROMs and 2 ICS ROMs, but it should work on any rooted ROM (including stock) on the E4GT.
Code:
installing
1.) reboot into CWM or any custom recovery
2.) install from external SDcard
3.) reboot
i went from .32 megabits/sec (fastest) to .75 megabits/sec (slowest) (on 3G)
**This will work in most areas but not all.**
What does this change to increase 3g speed?
Sent from my SPH-D710 using xda premium
blackcanopy said:
What does this change to increase 3g speed?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
it adds a file to the system part of a ROM
When i go to install this in cwm, I get a Error status 6, installation aborted. Yes it is on the external sd card. any ideas?
First try and reinstall. i prefer to install from my pc because it seems more reliable that dling from my phone. test speeds before and after and let us know how it goes. what cwm are you using. you might want to try the latest zip/tar for your build if your not already on it.
jazzneel said:
When i go to install this in cwm, I get a Error status 6, installation aborted. Yes it is on the external sd card. any ideas?
Click to expand...
Click to collapse
I got the same error. I downloaded to both internal and external and tried flashing both
Sent from my SPH-D710 using xda premium
blackcanopy said:
I got the same error. I downloaded to both internal and external and tried flashing both
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
i just updated the update script so try and redownload
jamcar said:
it adds a file to the system part of a ROM
Click to expand...
Click to collapse
Hey Jamcar, any possibility of giving us a little more info on what this actually adds to the system?
I tried downloading again to both internal and external and flashed both. I am still getting the same error
Sent from my SPH-D710 using xda premium
jasone4gt said:
Hey Jamcar, any possibility of giving us a little more info on what this actually adds to the system?
Click to expand...
Click to collapse
it puts a file in the /system/etc and it tell the radio how to connect to the network and it increase the connection speed for a faster download
Is this just a script that does the DNS or whatever changes to skip the Sprint proxies?
If so awesome, good stuff =) If not I'd love to know so I can try this as well.
For those who haven't seen it before though, you can do it manually from this Qbking vid.. http://www.youtube.com/watch?v=2LnUFd4osq8
It helped mine out a little bit.. doubled it probably though trust me it wasn't impressive beforehand so doubling wasn't much of an accomplishment.
Is it a file that can just's be pushed into the proper folder? Flashing doesn't seem to be working for me
Sent from my SPH-D710 using xda premium
blackcanopy said:
Is it a file that can just's be pushed into the proper folder? Flashing doesn't seem to be working for me
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
yes using adb or root explorer extract the .zip and put the only file in the /system/etc and reboot
jamcar said:
i just updated the update script so try and redownload
Click to expand...
Click to collapse
Downloaded after this and I am also getting the error.
Ok will try that.
When pushing this, I already have a file of the same name. They both appear to have the same info. So did it flashed (or at least put THAT file in place)?, but have an error on something.
Sent from my SPH-D710 using xda premium
borkan said:
Is this just a script that does the DNS or whatever changes to skip the Sprint proxies?
If so awesome, good stuff =) If not I'd love to know so I can try this as well.
For those who haven't seen it before though, you can do it manually from this Qbking vid.. http://www.youtube.com/watch?v=2LnUFd4osq8
It helped mine out a little bit.. doubled it probably though trust me it wasn't impressive beforehand so doubling wasn't much of an accomplishment.
Click to expand...
Click to collapse
no that dns bypass is possible via a build.prop edit but thats not what this is, this is just simply a sysctl tweak, you can read about it here http://forum.xda-developers.com/showthread.php?t=523707 op should update his post that it works on ALL android because we ALL have the linux kernel
Perhaps those that have already done it manually can't do by CWM because there is no change to the script?
Sent from my SPH-D710 using xda premium
shabbypenguin said:
no that dns bypass is possible via a build.prop edit but thats not what this is, this is just simply a sysctl tweak, you can read about it here http://forum.xda-developers.com/showthread.php?t=523707 op should update his post that it works on ALL android because we ALL have the linux kernel
Click to expand...
Click to collapse
You just answered my question, I'm about to bake this in my own little rom. Samsung forums always make me feel funny because everything is the same but with a lil diffrent tweak or theme here or there so I never release my work
something else kinda odd is the date on the one already on my system is dated 01 Aug 08 the one from your zip is dated 14 Nov 11. But they both have exact same lines within the script. And they are both 540bytes. MD5 has same number as well. I don't know if any of this info is helping anyone, but just trying to share what I am getting on my end.
Sent from my SPH-D710 using xda premium
Getting an error when trying to flash
Sent from my SPH-D710 using XDA App

[Q] how to disable system update on el29

i have tried pm disable com.samsung i tried all kinds of things how can i disable the system update and notification
http://forum.xda-developers.com/showthread.php?p=30205683
If you're not rooted, i have seen a stock method posted before. Might take a bit to find..
Sent from my SPH-D710 using Xparent SkyBlue Tapatalk 2
When you didabled it did you wipe cache and dalvik?
sent from my BAD A$$ Epic touch
MoHoGalore said:
http://forum.xda-developers.com/showthread.php?p=30205683
If you're not rooted, i have seen a stock method posted before. Might take a bit to find..
Sent from my SPH-D710 using Xparent SkyBlue Tapatalk 2
Click to expand...
Click to collapse
Yes i am rooted and i already have fotakill installed
Sent from my PG86100 using xda app-developers app
patrao_n said:
When you didabled it did you wipe cache and dalvik?
sent from my BAD A$$ Epic touch
Click to expand...
Click to collapse
Yes i wiped cache and dalvik but when i type pm disable com.samsung it says invalid arguement or something like that then goes thru a bunch of stuff at the end it does say something about killed com.samsung or something like that also if type the command to get a list of services it doesnt have com.samsung
Sent from my PG86100 using xda app-developers app
oakieville said:
Yes i wiped cache and dalvik but when i type pm disable com.samsung it says invalid arguement or something like that then goes thru a bunch of stuff at the end it does say something about killed com.samsung or something like that also if type the command to get a list of services it doesnt have com.samsung
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
pm commands dont stop OTA but check system/app folder to make sure that FOTAkill have proper permissions set.
Edit: Also there is another thread in here with some other choices if you have not tried them already
Just making sure. You did type su then hit enter before you put the disable code right
sent from my BAD A$$ Epic touch
playya said:
pm commands dont stop OTA but check system/app folder to make sure that FOTAkill have proper permissions set.
Edit: Also there is another thread in here with some other choices if you have not tried them already
Click to expand...
Click to collapse
Yes permissions r set
Sent from my PG86100 using xda app-developers app
patrao_n said:
Just making sure. You did type su then hit enter before you put the disable code right
sent from my BAD A$$ Epic touch
Click to expand...
Click to collapse
Yes i typed su first
Sent from my PG86100 using xda app-developers app
oakieville said:
Yes permissions r set
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Could u pls link to the other thread thank u not sure which thread u mean
Sent from my PG86100 using xda app-developers app
oakieville said:
Could u pls link to the other thread thank u not sure which thread u mean
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
I've flashed this .zip file (I've attached below) and have had no problems with the OTA update prompt. But be sure to wipe cache and davlik. But here is your link request http://forum.xda-developers.com/showthread.php?t=1832496
pmcavalier2002 said:
I've flashed this .zip file (I've attached below) and have had no problems with the OTA update prompt. But be sure to wipe cache and davlik. But here is your link request http://forum.xda-developers.com/showthread.php?t=1832496
Click to expand...
Click to collapse
Im not sure wat my prob is i flashed that wiped cache and dalvik rebooted after about 2 minutes system update appeared
Sent from my PG86100 using xda app-developers app
oakieville said:
Im not sure wat my prob is i flashed that wiped cache and dalvik rebooted after about 2 minutes system update appeared
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
What rom are you running btw?
Have you backed up the rom then tried to take the update to see if it is really the ota and not something else?
Edit: Worse case scenario, I can edit the build.prop file so the ROM thinks it is a current ICS build so it won't nag you any longer either.
tdunham said:
What rom are you running btw?
Have you backed up the rom then tried to take the update to see if it is really the ota and not something else?
Edit: Worse case scenario, I can edit the build.prop file so the ROM thinks it is a current ICS build so it won't nag you any longer either.
Click to expand...
Click to collapse
Im on stock rooted rom i have custom recovery so ota fails and i want to do it without editing build.prop i buy these phone broken fix them and flash to metro and sell them so i dont want to edit build.prop and miss lead the people buying them also figure out y pm disable com.samsung isnt working stupidity on my part i flash to metro so i remove the device manager.apk or it will keep trying to activate and the device manager.apk is wat that command disable i put it back then the command works but still got update notifations
This seems to work i got it from thread pmcavalier2002 linked to
eightiesbaby said:
1st off im sorry if anyone feel that i am hi-jacking their thread but i tried this method amongst other apks with no success im not sure why but this apk only worked for a day or so then it was back to square one so i am posting something i discovered and it defiantly worked for me and am posting to help others who like me had no success in using one of those update kill apk's this method i discovered tested and soo far has rendered success for me im not sure if it will prevent future updates after ff18 but it defiantly stopped my phone currently running stock el29 gb from updating or even asking to update to ff8 ics update you must have root
i am not responsible for anyone who screws their phones up this is just something i tried and definatly helped me so i wanted to share
my phone had already downloaded the update and kept nagging to update every 10 minutes or so when and if you try my method do not delete the ics update that will be found in the search as this method needs the update there and needs it to fail any modifications done to the system such as deleting device management , debloating ,custom bootloader should all result in a failed update attempt and this is what you want
1st obtain root of-course
2nd obtain root explorer or something equivalent
3rd from root explorer on 1st page select menue and do a search for "update"
4th look for file " /data/data/com.sprint.ce.updater/shared_prefs/com.sprint.ce.updater_preferences.xml" you will see retry mode value by default it is set to true, change it to false ( if you change any system files such as deleting device management or running custom bootloader it will fail) you want it to fail , buy changing the true value to false and allowing it to try to update even though you know it will fail it wont come back up with nagging notice to update atleast it worked for me hope helps someone else out there p.s after failed update attempt it may get stuck in bootloader with triangle or something just do battery pull then reboot then voila no more annoying msgs asking to update ,nearly a week now and no pop ups for me
Click to expand...
Click to collapse
Sent from my SPH-D710 using xda app-developers app
Sent from my SPH-D710 using xda app-developers app

v6 supercharger question

How do you know when it's running and do you have to run it
Every time you reboot?
You need too locate the init.d file and set it to run at boot. If it's working you will know because when you run the script it will say you are supercharged 100%
Sent from my SGH-T989 using xda premium
rymanh said:
You need too locate the init.d file and set it to run at boot. If it's working you will know because when you run the script it will say you are supercharged 100%
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
I thought I'm remember reading that you were not Supposed to set it at boot. If you read the original thread it will tell you how to tell if it is working. And that is after you install it use 17 to reboot and open it with script manager again and when it come up the options list it will say your super charged below the list
Sent from my SGH-T989 using xda premium
In the script it advises not to run the script at boot but you are supposed to go to etc/init.d and set the S99SuperCharger and Bulletproof aps to run at boot.. Other wise you will need to run the script every time you start your phone
Sent from my SGH-T989 using xda premium
rymanh said:
In the script it advises not to run the script at boot but you are supposed to go to etc/init.d and set the S99SuperCharger and Bulletproof aps to run at boot.. Other wise you will need to run the script every time you start your phone
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
I have been in the intd folder before but I never seen
Anything about making run at boot. And by the way I am running
Cm10 official and it says I am 75% supercharged. I think that's
Because my ROM deletes something every time I boot.
edshawn911 said:
I have been in the intd folder before but I never seen
Anything about making run at boot. And by the way I am running
Cm10 official and it says I am 75% supercharged. I think that's
Because my ROM deletes something every time I boot.
Click to expand...
Click to collapse
Until I figured out I would have the same problem as you.. Only 75% whenever I reboot my phone.. After you set the file to run at boot it will be 100% every time I promise... Btw bulletproof apps is optional and doesn't count in your supercharger percentage.. But if you want it to work properly ou need to set it to run at boot as well
Sent from my SGH-T989 using xda premium
rymanh said:
Until I figured out I would have the same problem as you.. Only 75% whenever I reboot my phone.. After you set the file to run at boot it will be 100% every time I promise... Btw bulletproof apps is optional and doesn't count in your supercharger percentage.. But if you want it to work properly ou need to set it to run at boot as well
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
thanks a lot for your help. could you maybe give me your exact steps
so that i can use that as a guide. thanks in advance..
I use the smanager app... After you set up V6 the way you want it navigate to the file location specified near the top of the screenshot... etc/init.d/S99SuperCharger and make sure SU, and boot are set.
That's all you have to do
Sent from my SGH-T989 using xda premium

[Q] Init.d on stock rom&kernel?

Is it possible to get init.d working on a SGH-T889 that is rooted, and running the latest stock rom and kernel?
I managed to make the folder, and chmod it to 777 via a terminal, and my tweaking apps create scripts in said folder that are pre-modded to 777, but they fail to launch at boot.
I would like to stay as close to stock as possible, but I love being rooted.
What can I do to find a happy medium?
Sent from my SGH-T889 using xda premium
EncryptedFile said:
Is it possible to get init.d working on a SGH-T889 that is rooted, and running the latest stock rom and kernel?
I managed to make the folder, and chmod it to 777 via a terminal, and my tweaking apps create scripts in said folder that are pre-modded to 777, but they fail to launch at boot.
I would like to stay as close to stock as possible, but I love being rooted.
What can I do to find a happy medium?
Sent from my SGH-T889 using xda premium
Click to expand...
Click to collapse
You have to enable this in the ramdisk
Sent from my SGH-T889 using xda app-developers app
I believe apps like script manager can do this, but you can also get init.d support using busybox and an edited script in /system/etc/. Otherwise - what ptmr3 said
Busybox run-parts with installrecovery.sh, it works on many, many devices with stock kernels. Just make sure you don't inadvertently delete the script from recovery.
Darkshado said:
Busybox run-parts with installrecovery.sh, it works on many, many devices with stock kernels. Just make sure you don't inadvertently delete the script from recovery.
Click to expand...
Click to collapse
That would be the one
headscratch.gif
I'm extremely computer literate, but only fairly adept at matters pertaining to android/rooted actions.
I have above basic Linux knowledge as well, so if you point me in the right direction, I should be able to take it from there.
//I meant to add I have busy box installed.
Sent from my SGH-T889 using xda premium

MOD ProjectXtreme

So I just stumbled across this mod:
http://forum.xda-developers.com/show....php?t=2272317
I.e. It's not mine and I take no responsibility or credit, but so far it's made my phone even more blazingly fast and buttery smooth.
It was in the Lg optimus g at&t... I used it on my og and just installed it on my pro seems to be working great!!! will test for the next 24hrs. Theres a app on post 5.
Gotroot said:
So I just stumbled across this mod:
http://forum.xda-developers.com/show....php?t=2272317
Click to expand...
Click to collapse
Here's a clickable version of the link.
it says init.d is required, do we have init.d on the stock kernel?
Erik
download the init.d installer from the market for 99 cents, run it and it will install init.d. after reboot mount your system as rw and then install the projectxtreme app open it and click install and your done. check in the ect/init.d folder using a root file explorer and you'll see the projectelxtreme scripts in there. if not run install from app again reboot and check. ilan easy way to know is by seeing its granted su permissions at the bottom of your screen when you turn your phone on or reboot.
ricco333 said:
it says init.d is required, do we have init.d on the stock kernel?
Erik
Click to expand...
Click to collapse
Pimp my rom(free) can do that for you
Sent from my LT30p using xda premium
Which version did you apply in cwm?
Sent from my LG-E980 using Tapatalk 2

Categories

Resources