yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ya that's weird! The only thing I can think of is that your launcher isn't the default or it isn't installed as a system app.

Cool. So you used CM's keep launcher in memory to

un

bulletproof the launcher. If you used balanced settings, enable CM's lock home (so launcher is killable), multitasking should be ok and you shouldn't get many launcherpro redraws anyway, unless you have the same problem as eXtink and the launcher redraws even when home=0
[Android Software/Hacking General [Developers Only]] :
I think I know what it is, I use the WidgetLocker HomeHelper. Maybe that's the problem. Trying it right know!

EDIT: I'm going to punch myself, this was really stupid of me. Thanks for saying it would be not my default launcher.
[Android Software/Hacking General [Developers Only]] :
After changing the priority to 0 my Launcher FC's everytime i reboot my system. Common problem?
[Android Software/Hacking General [Developers Only]] mcpterra:
Hi, good evening.

Excellent work... But I cant see

gscript-All_ROMS-SuperCharge+BulletProof_Pack_v4.zip

It isnt a link.

Thanks. Best regards

Marcos
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Hello sorry about that.

I was saving every few minutes while editing the OP.

I didn't want to attach the new zip files until I had all the new information up.

It's all up now though :)

I hope you like them!
[Android Software/Hacking General [Developers Only]] xploited:
Originally I used CM's keep launcher in memory, but that pretty much made any multi tasking impossible, so I disabled that before applying your scripts (bullteproof + balanced minfree).

Anyway, after 1 day of usage I am getting very good results! :D

- launcher stays in memory like it used to

- i am able to multitask with launcher + browser + fruit ninja open simultaneously

- the phone seems generally snappier

- there is no lag in switching between apps

Hats off to you man you did an awesome job. ;)

I don't understand what Motorola is doing, when it's really the 3rd party devs that improved my phone experience so much. Thanks again. :D

p.s. what's the difference between gscript v4 and normal script v3 that i applied yesterday? :confused:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thanks for the compliment I'm glad that it's working for you :D

Difference between v3 and v4:

There is a

super cool

Status Script...

And 3 more presests... another

balanced

setting,

gaming

and

multitasking.

I posted screen caps of gscript in action... it's so pretty!

Edit: I forgot to mention that when using gscripts, minfree settings are in effect

immediately

.

So, for example, you can change from balanced to gaming and back to balanced again without rebooting.
[Android Software/Hacking General [Developers Only]] CronusStrife:
I'm using the open recovery scripts. If i wanna use the GsScripts i´ll have to pass the UnSuperCharge+UnBulletProof script and then use the GsScripts or it doesn't matter?
[Android Software/Hacking General [Developers Only]] Caustic68:
Great scripts! Thank you.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You're very welcome :)

good question. I totally did not think about that in the update :o

If you use the "custom rom" gscripts that edit the *.rc file, you do have to run that uninstall script.

This is because the 99complete versions (open recovery and "All ROM gscripts) will supercede system file settings that the "custom rom" gscripts implement.

I will update OP and maybe gscripts too.

edit: OP updated
[Android Software/Hacking General [Developers Only]] acristhina:
Hi Zeppe, how are u? xD

So, tnks for ur script. Because this, I'm thinking of getting a "little more time" with my old milestone 1 xD

But, I'll grateful if you help me to take off some questions.

So... I'm using your script V4 "1. Aggressive 1 Settings" + CM7 + ADWLauncher EX + WidgetLocker.

I'm trying use the Typoclock in my locker screen, but, widget is not updating the "minutes", and always that I restart my phone, I lose him. BUUUUT if I use typoclock with your clock's widget together, both remain active - but unfortunately, typoclock is always outdated.

I think your script is killing typoclock, but, why??

Tnks and sry for my english =P

CRIS
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I never saw this post before :o

I've actually not heard of this problem before. Maybe if you wipe caches?

1. There might be a conflict with widget locker see

http://xdaforums.com/showpost.php?p=12557168&postcount=219

Widget locker may be your default launcher instead of ADW.

2. You can also enable CM's "lock home in memory" so that the launcher is killable and see if that helps.

3. Try something less aggressive. The aggressive settings are not friendly to background apps :eek: Try Balanced 1 as it seems more suited to your needs - it even gives you more ram in the 3rd slot :)

Oh, I'm pretty good, thanks for asking! :D
[Android Software/Hacking General [Developers Only]] rosmarcelino:
Well I did not apply the scripts, i only add the line via Root Explorer for the Bulletproof Launcher and I used de AMM for the memory tweaks,also changed the VM Heap to 40mb...and i have to say that it´s great!

Now my Gingerbread ROM from CM7 is faster then never! :D
[Android Software/Hacking General [Developers Only]] Der_Xte_Mensch:
Some days ago I reported that I added the line "ro.HOME_APP_ADJ=1" in /data/local.prop manually. At first, it worked really perfectly. But after some days and some (don't know how many) reboots, the line suddenly vanished out of /data/local.prop and the launcher-redraws came back...

Now I'm using the GScript and hope, that the bulletproofing will not disappear somehow again :-)
[Android Software/Hacking General [Developers Only]] dealsaddict:
hey zeppelinrox. thanks for the scripts, my phone runs better now too :) FFS.. Thanks for constantly improving on this :)
[Android Software/Hacking General [Developers Only]] Quintasan:
One question. Should changes to minfree levels from GScripts PERSIST after a reboot or not? They do not persist after a reboot here and I have to run script each time I restart my phone
[Android Software/Hacking General [Developers Only]] zeppelinrox:
@ rosmarcelino and dealsaddict: you're welcome I'm glad it's working good for you guys :)

You can confirm home launcher priority with the Status gscript. If it's 0 and still redrawing, maybe something else has taken over the home launcher attribute, such as widget locker.

Yes the should persist. Definitely.

What rom are you on and which scripts did you use?
[Android Software/Hacking General [Developers Only]] Quintasan:
Using latest CM7 from kabaldan, removed the 3rd version of Bulletproofing and Supercharging from OpenRecovery and then I applied Multitasking profile. I have to add that BulletProofing actually works, only minfree values are not getting saved
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You must have AMM installed.

If you do, disable superuser permissions or else AMM will load it's own settings on boot.

I forgot about this before but it's in the OP

If you don't have AMM installed, which scripts did you apply? the ALL ROM or Custom ROM?
[Android Software/Hacking General [Developers Only]] mcord11758:
My wifi does not appear to like the newest 3g charger. I have not yet looked at what the differences may be from my prior settings but there is a degradation in speed
[Android Software/Hacking General [Developers Only]] hazard209:
1) Did you reboot after running the script. 2) If the minfrees are still not sticking, did you go /system/etc/init.d and set the 99SuperCharger to run on boot and as root?
[Android Software/Hacking General [Developers Only]] Furlanfufi:
I have the same problem. Can't find the 99superchargerfile.
[Android Software/Hacking General [Developers Only]] hazard209:
Check /data.
[Android Software/Hacking General [Developers Only]] Furlanfufi:
/data show forbidden on scrip manager, empty on astro manager.
[Android Software/Hacking General [Developers Only]] hazard209:
In script manager go to menu > more > advanced options > config and make sure browse as root is checked.
[Android Software/Hacking General [Developers Only]] Furlanfufi:
thanks!

in /data, theres a superchargeradj, superchargerminfree, and superchargerminfree old.

what do I have to do?
[Android Software/Hacking General [Developers Only]] hazard209:
There should be a 99SuperCharger file. Run that file and that file alone as root and to run on boot.
[Android Software/Hacking General [Developers Only]] Furlanfufi:
Can't find that file...

someone knows what might have happened?
[Android Software/Hacking General [Developers Only]] DaXmax:
Alrite thanks... :)

Sent from LGE Secret phone using tapatalk app...
[Android Software/Hacking General [Developers Only]] hazard209:
Try Gscript. It should put the init.d folder on your phone.
[Android Software/Hacking General [Developers Only]] PieceKeepr:
I'm baffled because in the OP Zep said ...

"- If you have /system/etc/rootfs/init.mapphone_umts.rc, it makes a backup and edits that single file. This is nice and tidy.

... Thank to kabaldan for pointing out the importance of certain things.

- Most Custom ROMs - If you have a /system/etc/init.d folder, it creates 99SuperCharger in there and edits /data/local.prop (20 entries added for adjusting priorities and groupings). You shouldn't need to configure anything else.

- Stock ROMs - If you have neither, it creates /data/99SuperCharger.sh which you can load up on boot (run as root) with Script Manager. The OOM groupings work as well since it happens on boot in local.prop (20 entries added)"

So this leads me to believe that if you don't have the init.d folder on your phone the 99SuperCharger.sh file should be in /data, but you apparently don't have it there. Just trying to double check some things here, you are running the script you downloaded as root in Script Manager? What does it do when you run it? Any possibility of getting a screenshot?
[Android Software/Hacking General [Developers Only]] Furlanfufi:
I do have the /system/etc/init.d folder on the phone. 99Supercharger is not there or in /data, as strange as it sounds.

I'm using a custom rom for Milestone, Ice and Fire, which is based on CM7.

http://imageshack.us/photo/my-images/202/screenshot1313616955356.png/

That's when I used the script (for the second time in this boot), always in root.

http://imageshack.us/photo/my-images/818/screenshot1313616989800.png/

That's my folder after. /data doesn't have 99supercharger too.

http://imageshack.us/photo/my-images/200/screenshot1313617174863.png/

That's the script AFTER rebooting. Note that the old mem settings are different from what I used before.
[Android Software/Hacking General [Developers Only]] Furlanfufi:
I'll try to use Gscripts! Thanks!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
1. You don't get a 99SuperCharger file... it gets integrated into all milestone roms via init.mapphone_umts.rc

2. Delete the 22minfreehandler file from init.d

3. Reboot

note: those minfree values set by minfree handler are stupid for milestone.
[Android Software/Hacking General [Developers Only]] Furlanfufi:
Thanks Zepp and Hazard!!!!!!!

LMAO!

Too soon....script manager says "unable to process following files" when I try to delete 22minfreehandler!

Browsing as root!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Do you have any memory managing app running that might be using it?

actually type this in terminal emulator:

su [enter key]

mount -o remount,rw /system [enter]

rm /system/etc/init.d/22minfreehandler [enter]

That'll learn it but good.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You're going to have to elaborate... what does the script output say at the end regarding settings sticking?

Did you run the script as root?

After rebooting, what does the menu screen look like? SuperCharger launcher? What are the minfrees? Same or different from what you selected.

What you can do to test:

Apply a setting from 2 - 9

Exit the script.

Run the script.

What's it say now?

Then reboot and check what message shows up.

What was the prior script that you used? Update 2?

Reading your post gave me an idea... why not have 2 or 3 options? ;)

I can have the update 2 AND 3 versions along with the experimental one with ro.ril.hsxpa=5 and maybe ro.ril.gprsclass=34

That way, YOU make the decision and I can sleep at night LOL
[Android Software/Hacking General [Developers Only]] Furlanfufi:
IT WORKED, FINALLY!

Thanks a lot Zepp! I'll play a Zeppelin solo in your tribute!
[Android Software/Hacking General [Developers Only]] wkobaint:
If your devices running at JB or KK of course still relevant.
[Android Software/Hacking General [Developers Only]] lexus232:
Is there something similar for lollipop?
[Android Software/Hacking General [Developers Only]] wkobaint:
I don't know, maybe different on framework system.
[Android Software/Hacking General [Developers Only]] Lughnasadh:
What about ICS? I assume so, but always good to check beforehand...
[Android Software/Hacking General [Developers Only]] Ok_Kaleidoscope5109:
Eh, if your devices have a reasonable amount of RAM this is totally irrelevant. The OP created this when he had a Motorola Milestone with 256mb RAM. When I asked him about 512mb or 1gb devices after the Galaxy S1 and S2 were released he had no clue because he was still on his 256mb device.

No offense or anything, but this is totally unnecessary if you have a Nexus 4 or 5 for example.
[Android Software/Hacking General [Developers Only]] adame09:
Anyone running this on lollipop? Is there a tutorial to get it running right in lollipop?

Sent from my Nexus 6
[Android Software/Hacking General [Developers Only]] Revontheus:
Script works and runs fine but I almost feel no difference because at any given time I have like 1.2 GB free Ram anyways
[Android Software/Hacking General [Developers Only]] adame09:
So its probably not worth it right? I'm on a nexus 6

Sent from my Nexus 6
[Android Software/Hacking General [Developers Only]] Revontheus:
Yup, Nexus 6 is already powerful in terms of its Processor and any RAM problem is probably due to the infamous ColorFade Memory Leak found on all pre 5.1 Lollipop devices. Luckily for us this can be fixed with a certain module so tl;dr, no need to supercharge :)
[Android Software/Hacking General [Developers Only]] LiL_Assassin:
(Have sent you a pm M1t.

Hey guys, I know this might have been answered elsewhere, can you let me know if it has? I have tried to install the latest, and have changed the settings every which way I can and it bootloops. After restoring a backup I can restore settings and it doesn't boot loop. But how can I tell if its running/working.) Or if anyone knows which particular setting causes bootloop. Please let me know!

Sent from my XT861.
[Android Software/Hacking General [Developers Only]] rignfool:
Hmmm...

Its been so long...

There should be a log file on you storage...

I THINK you can look to the log to see how far along the boot process got...

Wild stab in the dark: turn off the entropy generator and try again
[Android Software/Hacking General [Developers Only]] wkobaint:
Agree! My old Optimus VU run only last ICS version and run this script very well!

I don't know what do you mean but my last one Optimus G E975 had 2gb ram (CM11 snapshot version) and run this script with services.jar mod by gu5t3r and wow the rocket!!
[Android Software/Hacking General [Developers Only]] sh4d1t0:
This works with lollipop?
[Android Software/Hacking General [Developers Only]] mcardielo:
I think only some parts, I couldn't make services. jar tweaks to work on lp

Enviado desde mi victara mediante Tapatalk
[Android Software/Hacking General [Developers Only]] mcardielo:
Hi, I'm running the latest version of the script in a Moto X 2014 with CM 12.1, when I run the script the first time I get this error messages:

cat: /sys/module/lowmemorykiller/parameters/minfree: Permission denied
awk: /sys/module/lowmemorykiller/parameters/adj: Permission denied
awk: /sys/module/lowmemorykiller/parameters/minfree: Permission denied

Can you help me?

EDIT: I'm using the wraithdu busybox version
[Android Software/Hacking General [Developers Only]] quickdraw86:
These scripts are intended for all versions of android up to JELLYBEAN. They were never updated for KitKat, and surely not for lollipop. No guarantees of them working somewhat or at all past jellybean, the system is/was structured differently in kk, I.e. selinux.
[Android Software/Hacking General [Developers Only]] -JFK-:
[MENTION=3357461]zeppelinrox[/MENTION] (your PM box is full)

Hello,

On the S6 we have a RAM management problem.

Multitasking is very bad, apps reload every time.

http://xdaforums.com/showthread.php?t=3132060

We are talking about you, your work and your skills.

Could you please have a look at our thread and if you can/want, give us some advices ?

If you won't post on our thread, you can probably give me some advices, I will share it to S6 users with your credits.

Thank you in advance, have a nice day.

Regards
[Android Software/Hacking General [Developers Only]] UpInTheAir:
Your kernel ramdisk is probably setting those permissions at 200 so there is no read or write access.

You can either:

1. unpack kernel boot.img to extract the ramdisk. Change those permissions in init.rc file to 664 save and repack. (don't ask me to do this for you), learn. ;)

2. Create a init.d script to set 664 permissions on boot

Cheers

UITA
[Android Software/Hacking General [Developers Only]] mcardielo:
I'll try the second option seems a bit easier, many thanks for your support

Enviado desde mi victara mediante Tapatalk
[Android Software/Hacking General [Developers Only]] anupritaisno1:
Thanks

3g turbocharger increased download speed from 5mbps to 10mbps. Latency was reduced form 98ms to 70ms (experimental 2)

Also quite happy with v6 supercharger. Antutu benchmark speed increased by about 100 and phone is quite fast
[Android Software/Hacking General [Developers Only]] nhmanas:
I need 2 minfree values. One for extreme multitasking one for gaming and daily use. What do you recommend? I'm using 1gb ram device cm11
[Android Software/Hacking General [Developers Only]] saved-j:
Hello.

I tried installing this on Xperia V with custom rom on stock 4.3 with locked bootloader.

i tried changing busybox. i tried removing the zipalign which went with the rom. but i don't know if anything helped, cuz...

When i execute the script, it still always reboots after finishing the test and saying there is no errors in rom, ahahaha.

I assume there's problem in zipalign, but I don't know how to fix the stuff on myself. Could anybody help?

ps. removed lotsa **** from the ROM. Now i get reboots randomly whether it's backupping build prop or settings_hw, or kinda that stuff.
[Android Software/Hacking General [Developers Only]] quickdraw86:
Wow. You should dirty flash your rom over itself to start over and recover rom parts that it sounds like you randomly removed. Reread the OP. You need a more complete busybox (use the wraithdu version in the OP), and, as you are on 4.3, you also need to use the jar patcher before you do anything with the script. You should probably just use the supercharger starter .zip that includes SU, busybox, and sqlite from the OP... Just read the OP, ALL of the info you need is there.
[Android Software/Hacking General [Developers Only]] saved-j:
0) i already dirty flashed my rom back to have my phone in a working state and it's ready to start all over again.:laugh:

1) wraithdu busybox didnot successfully install. i tried intelli-removing, standard removing... i only did not try installing rom without busybox (as i have locked bootloader... don't wanna loose root functions completely, it takes a whole hour to reflash via flashtool and get everything to work) :rolleyes:

2) jar patcher... from this place :eek: i start to lose understanding
[Android Software/Hacking General [Developers Only]] quickdraw86:
I have no idea what you're talking about. If cannot flash a .zip through a custom recovery image, are not able to modify things within the /system directory, and don't use the ultimatic jar patcher tool, this won't work.
[Android Software/Hacking General [Developers Only]] bhree:
why not oom_kill_allocating_task=1 and overcommit_memory=0?

I have been fan of v6 supercharger script since my first android device (froyo). I learn alot from v6sc script and still use it albeit many performance scripts arise. I have read some about tweaking and come to confusing decision. Maybe someone can give enlightenment,

1. why choose oom_kill_allocating_task=0 instead of 1 (instant oom kill)? If we have more option on this will be enhance the script further.

2. I think giving overcommit_memory option to 0 (system check before memory allocation) will give safety for OOM condition. Today devices have at least equipped with 1GB which less strict in RAM allocation.

3. flexible vfs_cache_pressure may also be a plus value for script, if there is somekind of auto calculation based on some other parameters to get most suitable value.

I think I'm asking too much but this script is awesome and perfection will make it more awesome.

Thanks.
[Android Software/Hacking General [Developers Only]] Paget96:
Kill allocating task is set to 0 because of multitasking on devices with less ram, for example on 512mb device you can run 3-4 apps at the same time without kill anything from ram. When this option is set to 1 it will scan trough ram and kill process which use the biggest amount of resources. :)

If you set overcommit_memory to 0, after few mins device will just stuck. Already tried :) on old L7 :)

Allocations are good, I don't see a reason to disable them :)

For vfs cache pressure auto calculation is don't needed. You need to chose if you want less or more cache reclaim :)
[Android Software/Hacking General [Developers Only]] bhree:
My understanding may be different version when kill allocating task set to 0, system will search for hogging process and when set to 1 will just kill anything in oom group according to lmk. The later is simpler and can save resources I think.

Overcommit memory once set to 2 and system no longer run more process. The two others still run on my system. When set to 1 it's simpler since system ignore memory limitation until lmk kicks in. While on 0 system calculate available memory and decide to let process overcommit. I had a situation when system is still responding but refuse to run new apps.

For vfs cache pressure I think zeppelinrox choose to keep the cache. May be I'm too lazy to do manual ram&cache cleaning. Set to make system look for more cache to claim.

Thanks.
[Android Software/Hacking General [Developers Only]] hoholee12:
its not worth jack tweaking proc. its more harm than good.

everyones been there trying to get the best out of it by tweaking vm, but its all just here to there and generally nothing gets better. except few options for dirty cache tweaking(useful for delaying io thrash when on low memory)

allowing overcommiting is necessary because all apps are already allocating that much size for heap.

you change that settings, you should also change your heapsize settings otherwise you are just breaking stuff.

my conclusion: if you dont want to break stuff, just dont touch proc fs!!(only use for debugging processes)

best way to tune is to use lmk if you want more memory.