yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] FLeonR:
I've been using the v5 scripts, over FroyoMOD 2.6.1b, 2.7.0 and recently over CM7 (lastest update), and I've realized that after applying any script, all the processes start a "looping restart".. that is, the phone became extremely slow, and when I go to Settings > Applications > Processes, all of them say Restarting, and never start again, neither killing and start them manually. So I've to reboot the phone and for a while it goes fine... I've tryed restoring the original memory settings, with the UnSupercharge&Unbulletproof Script, but it continous to do the same, so the only solution was reinstalling the ROM...

Do you have any idea of what causes that? In order to be completely sure that the scripts were the guilties, I had made a nandroid, applied one of them, and the spected happened; so I restored using the script, and it do the same. Finally I restore the nandroid and the problem was gone...

I'm using LauncherPRO Plus 0.8.5 and Go SMS Pro, by the way...
[Android Software/Hacking General [Developers Only]] dpaine88:
New script looks and sounds awesome man, cannot wait for it!!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The V6 SuperCharger is up... zoom... zoom...
[Android Software/Hacking General [Developers Only]] CronusStrife:
Hallelujah!! I will test it ASAP!
[Android Software/Hacking General [Developers Only]] lanza_david:
why don't I get an input field?! I cannot select any options! what am I doing wrong?
[Android Software/Hacking General [Developers Only]] skadude66:
You need to select the script and run as root and run as interactive.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Cool :)

I will probably post non menu versions that can be used in aor
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Read the help file
[Android Software/Hacking General [Developers Only]] skadude66:
The new script is HUGE! I use Linux on a daily basis and 800 lines.. WOW. That's a lot of code :D

I rand balanced 2 and supercharged my launcher! If you look closely, you see how everyone has a weak ass launcher before supercharging :p

Great work Zeppelinrox! Once again you made an epic script!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Not bad for a newbie eh?

I only started fartin around with scripting a couple of months ago :)
[Android Software/Hacking General [Developers Only]] skadude66:
I'm finishing up a semester right now and I've got an entire class on Linux.. 800 lines must be HORRIBLE to debug haha.
[Android Software/Hacking General [Developers Only]] ferryPL:
I used the script (at stock froyo) and I don't have /data/99SuperCharger.sh file

How can I load up it on boot with Script Manager? New OOM groupings work or not?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It wasnt too bad since I started off with a 300ish line script with menu for items 2-10 and then blended in the status, uninstall, the launcher toggles and kernel tweak removal scripts.

I didnt put comments but try to figure it out lol.

The biggest hassle at the end was getting the menu selection errors totally bug free and without ugly error messages.

Then with script managers recent update the easy pidof check if its running stopped working (2 pids) so i kinda invented a nifty full proof workaround with awk.

If you got no error its on your phone - not the sdcard

FLeonR: i dunno Ive heard of similar problems in the past but nothing to do with supercharging/oom fixing. What scripts did you try?
[Android Software/Hacking General [Developers Only]] slvrarrow:
Why don't you sell this on the market mate? Like SetCpu, free to xda and pay on market for a dollar?
[Android Software/Hacking General [Developers Only]] twixyz:
First of all, thanks for this great tool to get the most from our devices!

I have one question before upgrading to v6 though. As a newbie who wants to do things right and safe, it took me a while to figure out v5. So now I've created a little step-by-step manual for myself how to neatly switch to v6. My request is if you guys would check this and correct me where I'm wrong or add useful information.

1. Unsupercharge & unbulletproof by running the appropriate scripts in GScript. Reboot?

2. Uninstall GScript.

3. Delete the "gscript" folder from SD-root.

4. Install Script Manager.

5. Download the v6 Superscript and put it in SD-root?

6. Open this scriptfolder in Script Manager and run the desired scripts.

7. Reboot.

8. AKMO no longer needed, may be uninstalled.

I know some steps are optional, but that way I'll know if I got the picture right. Besides that I prefer the clean way to avoid collisions.

Thanks in advance,

Gerard

The Netherlands
[Android Software/Hacking General [Developers Only]] skadude66:
I <3 awk! So much better than sed and grep haha. From what I saw it seems to be easy to code in the sense it's a lot of cat and echo's but the logic must be messed up!
[Android Software/Hacking General [Developers Only]] shiyou:
im on v5 right now

is it neccesary to unsupercharge first?

then i uninstall gscript and install script manager?

the v6 is in .sh.txt do i have to remove .txt or is it ok"?
[Android Software/Hacking General [Developers Only]] skadude66:
I removed the .txt and ran it in script manager as root and as interactive.
[Android Software/Hacking General [Developers Only]] shiyou:
im on froyomod 2.7.0

should i use run at boot? or can i neglect that?
[Android Software/Hacking General [Developers Only]] skadude66:
I don't know what that would do, but Zeppelin says to run it as root and as interactive, so that's what I did.
[Android Software/Hacking General [Developers Only]] dj-basher:
Did this and just boots straight away to LG logo and stuck in boot loop again.

Ive managed to get on to CWM recovery by taking battery out, holding low vol + power button while putting battery back in.

Do i need to reinstall the ROM again now? (luckly i havent set my phone up much and only installed a few apps)

Im kinda s*ting bricks ive broke my phone now and only got it today :(

Thanks.

---------- Post added at 11:34 PM ---------- Previous post was at 11:12 PM ----------

Thought i woudl bit the bullet and reinstall everything on clockworkmod. Press wipe data/cache but now it has just froze and stuck on formatting cache. Any idea what i should do or will it take along time doing this as ive installed a few apps? Been like it for about 10 mins now and the "loading" bar isnt moving at all. Whats should i do? Thank yuo very much.
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Not sure plug it in and wait... I say plug it in since you don't want the battery to run out on you....
[Android Software/Hacking General [Developers Only]] dj-basher:
I did that straight away. Any time i use CWM i always plug it in to charger to make sure.

Anyway, i waited 20 mins and thought right thats it, pulled the plug and battery, put battery back in, booted it up as normal and it booted perfect, just everything i installed have gone and had to complete the set up again at the start but now i have my phone working again its all good. I would of thought wipe data/cache would wipe the ROM off aswell, but it just basicly did a full reset :)

God, its been a intense hour or so for me i can tell you. I dont think i will have the courage to try the v6 again, espech the other guide i followed.
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Well at least your up and running again, I don't think there are any "special" instructions needed but you might want to ask Zep, he would know....
[Android Software/Hacking General [Developers Only]] dj-basher:
Yeah, well someone earlier in thread told me abit more on how to do it so i might give it a go tomorrow if i feel up to it now i know CWM works very well. Cheers bud.:)
[Android Software/Hacking General [Developers Only]] lucfig:
@zeppelinrox, are you aware of any way of differentiating processes that I launch (the ones that appears when I long press home button) from the ones launched automaticly by the system (facebook or gmail syncing for example)?

I am asking this because it should be better for the user if these auto-launched processes were killed as soon as they end their tasks. Or an higher OOM value is set to them when they finish what they had to do.

Why would it be better? Because the system would keep the apps that I launch for a longer time in memory.

Daily I check my gReader and Read it Later apps and eventualy have to go to my Browser. So here is an example of how it currently is:

Launch Read it Later

Launch gReader

Launch Dolphin Browser HD

etc.

Auto sync occours: Gmail, Facebook, Calendar are launched

Widget updates: Beautiful Widgets, DroidStats are launched

By the time I long press home and switch from Dolphin to Read it Later, the app has already been killed and is relaunched.

I think I have explained my point. So do you know if is possible to set a lower OOM priority for apps that are on recently launched list(long press home button)? Should I create a thread for this?

Thanks in advance and sorry for the long post.
[Android Software/Hacking General [Developers Only]] zhuoyang:
Hi zep,

if I run the 99Supercharger thats in the /system/etc/init.d/ , I will get

/system/etc/init.d/99SuperCharger: line 23: Syntax error near unexpected token 'fi'
/system/etc/init.d/99SuperCharger: line 23:fi;'
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Glad you got it up and running.

I'm about to upload RC2... ironed out a couple of things...

Theoretically, android should do this by default...

However, the background apps/content providers should die before secondary servers (apps you launched/used recently)

A couple things you can do is use more multitasking friendly minfrees.

Don't use bulletproof launcher if you have a low ram device.

You can bulletproof those apps that you want to keep alive and save them to 97BulletProof_Apps and use script manager to apply it every few minutes if you like.

If you were to do that, you can also edit 97BulletProof_Apps and add in apps to kill every at the same time using the pkill command...

With pkill, you can use a unique segment of the process name the same way as you can with pgrep.

So, for example say the script adds this to the script:

echo "-17" > /proc/`pgrep gReader\`oom_adj;

echo "renice -20 `pgrep $gReader`;

You can add below it

pkill facebook

So the script then looks like:

echo "-17" > /proc/`pgrep gReader\`oom_adj;
echo "renice -20 `pgrep gReader`;

pkill facebook

Yeah you probably have busybox v1.19.1 or something like that?

About to upload RC2... it shouldn't throw finicky busyboxes for a loop.
[Android Software/Hacking General [Developers Only]] eoghan2t7:
Firing up sm for rc2 ;)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Holy crap RC1 already had nearly 2,000 downloads... LOL

Well, RC2 is up!

Changelog isn't done yet tho

http://xdaforums.com/showpost.php?p=18703418&postcount=5021
[Android Software/Hacking General [Developers Only]] jcc332006:
Dam!Zep you just changed my release. LOL! Just finished lacing up my newest Rom "Deranged 9" up with your latest, and man it will be the smoothest froyo rom ever released on the vibrant. May need you to peep in here and there as you did before. Astounding work my friend!!:) Let me relace with Rc2. Cheers!!:)
[Android Software/Hacking General [Developers Only]] Gage_Hero:
I have a stupid question unrelated to V6..... I installed cwm, but it doesn't seem to want to make a backup, what am I doing wrong? is it permissions??
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yeah I didn't expect to have another one out so quick... but there were a couple of bugs that needed squishing and optimzed the code a little while I was at it.

the 99SuperCharges will now write a timestamp plus filename to /data/SuperChargerRan now...

btw You can bake it in easy now by only using /data/init.rc :D
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well that post that you linked to earlier.. it did say something about the phone not unmounting properly so that's my guess
[Android Software/Hacking General [Developers Only]] avgjoemomma:
It's not taking a backup in Recovery? Make sure to reboot into recovery mode and try it. If that doesn't work there is a Fix Permissions option but you shouldn't really need to do that since you're in Recovery mode.
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Yeah I boot into recovery. hit the backup it runs for like 2 seconds then back to the menu.....I know its has to take longer then that but there is no message.

Might be the version I'm using 3.2.0.0? I don't know much about cwm, I used amonra on my hero before, now I have a samsung
[Android Software/Hacking General [Developers Only]] jcc332006:
Righteous brother,:) I did just that and rom is silky smooth. About to put the newest in right now.
[Android Software/Hacking General [Developers Only]] eoghan2t7:
Zep if you were a girl i would kiss you lol rc2 is working great
[Android Software/Hacking General [Developers Only]] zeppelinrox:
hehehe..

Well redownload it... the 99SuperCharger has a very small mistake...

It has 2 "#sleep 60" commands... the second one is supposed to remain "sleep 1" like it is in /data/99SuperCharger :p

It doesn't hurt anything but it ain't purdy
[Android Software/Hacking General [Developers Only]] wraithdu:
Found a few small misses in a cursory glance -

1) still has the modified init.rc copied over /init.rc regardless of setting on line 2615

2) looks like you modified the minfree values in the menu... but not for the actual settings
[Android Software/Hacking General [Developers Only]] avgjoemomma:
I'm on the latest CWM and it works really smoothly. Try to upgrade to 4.7.0.5 with recovery 5.0.2.0
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Upgrade huh? I didn't install this through rom manager, its on a telus samsung fascinate, model t959p .... any idea exactly how i would upgrade? sorry i don't mean to hijack the thread it just there are a lot of knowledgeable ppl here....
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Arg...

Ok 2 questions...

Do you notice scrolling a little jerky?

Are you getting repeated comments in the .prop file?

I just noticed I had repeats but unsure when I got them :p
[Android Software/Hacking General [Developers Only]] avgjoemomma:
You can get it right from the Market :)

https://market.android.com/details?id=com.koushikdutta.rommanager

Install that then open up Rom Manager and click on Flash ClockworkMod Recovery. It will download the latest recovery and you should be good to go.
[Android Software/Hacking General [Developers Only]] Gage_Hero:
One more post I promise I'll shut up... I have rom manager, my options are, nexus s, nexus s 4g, samsung galaxys i9000 and samsung gallaxysi9000 (mtd). I have a samsung Fascinate 4G model T959P. Which one do I choose and if something goes horrible wrong, will I be able to odin my way back? I do have the files since ive messed up the phone once before lol.
[Android Software/Hacking General [Developers Only]] wraithdu:
Yeah, I do notice the jerkiness. I'm going to remove the extra new tweaks and reboot to see. I did a quick google for pm.sleep_mode, and I'm not sure changing that is a good idea (just my 2 cents).

I don't have any repeats in my build.prop though, looks ok.

Also, I'm going to rebuild my busybox version with the latest version of the cross compiler. I noticed that there were tweaks in the config:

CONFIG_EXTRA_CFLAGS="-march=armv7-a -mfpu=neon"

I'm going to do a bit of research on those, but do you think it will not work on older android CPUs with those settings?

---------- Post added at 11:13 PM ---------- Previous post was at 11:05 PM ----------

And yes, removing the graphics tweaks and sleep_mode (don't know if this last one matters, but it scares me http://xdaforums.com/showpost.php?p=17669730&postcount=8 ) has relieved the jerkiness.
[Android Software/Hacking General [Developers Only]] lucfig:
Sure I can manually add facebook, gmail and others to the kill list. But I was thinking in find a way to get the PID of the apps I recently launched and lower their OOM value automatically.

In the example I used before, the OOM values should be like this:

Dolphin Browser OOM 7

Read it Later OOM 7

gReader OOM 8

gmail OOM 8

facebook OOM 9

Beautiful Widgets OOM 9

etc.

and not like this:

Beautiful Widgets OOM 7

Dolphin Browser OOM 7

Gmail OOM 8

Facebook OOM 8

gReader OOM 9

Read it Later OOM 9

Some apps can access the recently launched list (TaskOS for example).
[Android Software/Hacking General [Developers Only]] jukalo:
zepp you are rigth, the /system partition dont unmount properly, i checked with root xplorer and wend i open /system partition is mounted as r/w and the / partition is mounted as r/o
[Android Software/Hacking General [Developers Only]] Gage_Hero:
jukalo is there a way to fix it? all i wanna do is make a backup... but i cant make that happen...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok I upped RC2.1

Took out those 2 graphics tweaks but left the sleep mode in as I'm curious as to feedback about battery... it's not an uncommon tweak and I haven't heard anything bad about it being set to 1.

Also took care of your first 2 comments :)

About the busybox stuff and older cpus... I'm sure you know more about that than I do :p

Yeah they get the info using java but I doubt a script can do that.

So if thats what you want, you can just do...

echo 7 > /proc/`pgrep dolphin`/oom_adj

echo 8 > /proc/`pgrep greader`/oom_adj

echo 9 > /proc/`pgrep facebook`/oom_adj

pgrep will use the PID of a matching process.

I guess an easy way is to just bulletproof all the apps you want to control and have the script put everything in 97bulletproof_apps and just edit the script with the numbers you want instead of the -17
[Android Software/Hacking General [Developers Only]] jukalo:
me to, this thing only happens to me whit the rc1, i gonna test the rc2 right now
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Sorry, I don't know enough about your model and don't want to give you incorrect information. You should check out the Fascinate forum and see if they can help you: http://xdaforums.com/forumdisplay.php?f=721
[Android Software/Hacking General [Developers Only]] Gage_Hero:
RC2.1 seems to be smokin fast Zep.... Thanks Superchargerman......
[Android Software/Hacking General [Developers Only]] jukalo:
now the new rc 2.1 it working for me, tnx alot zepp for fixing the unmounting issue
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Good... glad it's working!!

Got the changelog up...

Updated October 26

: - V6 SuperCharger Update 9 RC2.1

Smarter - If you change launchers, it tells you that you need to reboot ;)

Smarter - If it's your first SuperCharge, it brings to the wipe caches & reboot tool

Misc. Tweaks - Removed "debug.sf.hw=1", Added "pm.sleep_mode=1" (saves battery)

Tweaked - Minfrees again - less multitasking but not as aggressive as before

Enhanced - the interface some more

Improved - the code some more

Tweaked - init.rc support - off by default

Tweaked - 99SuperCharger a bit - Added an echo command to make busybox v1.19.1 stfu and be happy.
[Android Software/Hacking General [Developers Only]] Gage_Hero:
thanks avgjoe, unfortunately there is no forum for my model so I end up pickin an choosin from other forums..... i pm'd another guy who seems to be knowledgeable, he helped me resurrect my phone after i broke it badly.. so i'll see what he has to say, he has the same model....
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Awesome! Good luck! I hope you'll be able to upgrade. The new CWM backup format is pretty solid and has gotten me out of trouble a few hundred times already :p
[Android Software/Hacking General [Developers Only]] lucfig:
Thanks for replying quickly(again), but I do not want to bulletproof any specific apps, that was just an example. Just wanted to make the apps I launch last longer.

But not being able to get a list of the recent apps via script makes this much more difficult.

I know I could use a combination of ActivityManager.getRecentTasks and ActivityManager.RunningAppProcess to determine my recend apps and running processes respectively and then set lower OOM values to recent apps and higher to the ones running but not in recent list. But how to do it is another question, as I am not a developer.

Sorry. I am stoping here. Getting too off topic.

Anyway, thanks for the attention.
[Android Software/Hacking General [Developers Only]] avgjoemomma:
RC 2.1 working for me with no hitches so far. Only had a problem with one release anyways :p
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yes I realize that.

I was just pointing out that you can just use the 97bulletproof script as a template and use the 8, 9, or 10 values that you want instead of -17.

You can have script manager run it every 10 minutes or whatever so if an app that's in the script is running it will get the assigned the value that you want...
[Android Software/Hacking General [Developers Only]] zhuoyang:
So if i need to cook my setting into my rom i just need to copy init.rc to /data/ ?
[Android Software/Hacking General [Developers Only]] vilks:
how can i update supercharger? i have instaled but if i want to update? what steps i need to do?
[Android Software/Hacking General [Developers Only]] ckoadiyn:
Just redownload and rerun
[Android Software/Hacking General [Developers Only]] nunggg:
I have problem with kickasskernelizer RC1 effect to video player button does not respond after uninstall kickasskernelizer is work fine again

Detail rom RCMix runny v3.1

Kernel test V.7 found problem

Kernel test V.8 found problem

But supercharge and 3g it work very nice

thank you :D
[Android Software/Hacking General [Developers Only]] Notorious544d:
Sorry if this was answered before but does this only work on CM7 or does it work for normal based roms as well?
[Android Software/Hacking General [Developers Only]] Jar3112:
I have a problem in bulletproofing xda app. It only works from supercharger script, if I use a widget or a shortcut it won't stick!

Sent from my Galaxy Ace on GLSMT 2.1 with XDA app.
[Android Software/Hacking General [Developers Only]] DavidMT909:
Twice I installed V6 SuperCharger Update 9 RC1, and I lost root access to Set CPU when it worked before, any reason why?
[Android Software/Hacking General [Developers Only]] Gustavo RD78:
Great, V6 RC2 works perfectly for me!

Thank you for yet another Zepp!
[Android Software/Hacking General [Developers Only]] vilks:
one file? wich one? i just have to replace it my internal card or i have to make all steps in script menager.?
[Android Software/Hacking General [Developers Only]] Thekn:
In the RC2 version I don't have all the options showed in the First Post,

I only have the option to change the scrolling speed, and the System Integration option..

Is that correct?

And how can I go to Options, as called in the script?
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Hey Zep,

Over night uptime...7:32.... battery 99% flippin awesome dude!!!!!!

Did wipe battery stats after install also :D
[Android Software/Hacking General [Developers Only]] chitose_ndy:
can some one help?

it said i dont have data/local.prop

and i cant undergrade my busybox :(