yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thanks :)

Looks like I can't use the charge_counter file... looks chinese lol

It doesn't matter if a kernel doesn't support a setting - I'm using the sysctl -e switch to suppress errors hehe

Cool.

My recovery has a console so I can cd to init.d or wherver and delete any file.

Also, wouldn't reflashing a rom keep your settings but wipe the init.d folder?

It does on mine.

But that's handy for those that can use CWM indeed. :)
[Android Software/Hacking General [Developers Only]] avgjoemomma:
True! We just don't want to give user's a false sense of security though. In any event, they'll be safer than their previous configuration anyways ;):p
[Android Software/Hacking General [Developers Only]] dpaine88:
This is AWESOME.

Mine installed and works flawlessly, without one tiny snag . I am using a Droid wit Simply Stunning 5.2

I have 2 questions...

1) When I use HTK, the option "Lock home in memory" in CM is checked and greyed out(says will not be acce if local.prop has the 1 value for it.) But then when I run the script, it says if Home is Locked, then it is not truely working. But why does the script lock it in via the home=1 command or whatever.

When I use BULLETPROOF- I now have the option to lock or unlock home as it is no longer greyed out in Cyanogen Mod Options.

Sticking with Bullet since I don't want Home to be locked via CM.

2) What do you recommend for VM Heap? I see your sig say 48mb. Are you still using that. My Droids GB ROM SS 5.2 defaults to like 28mb and I have read results that smaller VM heaps have been helping.
[Android Software/Hacking General [Developers Only]] tv31284:
Just installed your v6 scripts and everything seems to be running fine. I'm browsing and listening to streaming radio at the same time and both activities are staying alive. Only bad thing thus far is that messaging gets killed too easily so now I have to keep messaging locked in memory. Before I'd leave that setting alone and wouldn't lose any messages.

I'm on droid cm 7.02 btw and everything installed fine.

Great work.
[Android Software/Hacking General [Developers Only]] DannyDroid:
Have you ever thought of turning this script into an app?
[Android Software/Hacking General [Developers Only]] CronusStrife:
I've already asked about an app, and here is his reply.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
VM heap is subjective I guess you can try different levels.

If too low some people report FCs.

I keep it at 40 lately.

I never see LHIM greyed out on cm7stone.

Check with AMM with superuser denied and compare prioities of launcher to visible app.

Need to reboot when switching back to HTKL.

HTKL is indeed 1 but visible app is 2 in my arrangement.

Whats important is that launcher has a lower number than visible app.

Usually locking home makes it 1 but so are visible apps and gets killed before visible apps.

Yepper. But maybe the best thing is a frontend to the script as I like notifying the user as to whats going on while it happens.

I find the push the button and close the app kinda boring lol

Unless i have a tab with options and a second tab with scrolling messages.

I know zero about doing this at the moment tho :p

See above. I don't think i can put a sh file on market as it is in its current form. At the very least i need some kind of installation for it lol
[Android Software/Hacking General [Developers Only]] HaRdC0r3:
Hey thanks for your work.....I have some questions...I am currently using balanced3 right now and I notice multitasking has smaller values. What do you like to run? I am currently using lgb which uses CM's source but I am having problems like most others with gingerbreads poor memory management. I used to run something similar to this on froyo
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I usually run Balanced 3 as well but I've been toying with 6, 8, 26, 28 28 30.

Since I put the CustOOMize option in there.. I simply must use it :D

If you like to have background stuff working as well as it can, use the Multitasking or Balanced 1 should be good for that too.

Try using the unkernelizer... since it changes the kill oom allocating task back to the android default of 0. When it's 1 (cm7 default on milestone), android will kill the app that caused the low memory situation but when it's 0, android will kill the task according to it's badness score. I figure that the android default of 0 is better for multitasking since it lets different apps take turns updating instead of killing the one that caused the OOM situation.
[Android Software/Hacking General [Developers Only]] soccer568:
I downloaded the the supercharge file to the root of my sd card and then ran script manager and found the script. I ran it and got an error anyone know why? This is the first time I ever tried running your scripts.
[Android Software/Hacking General [Developers Only]] _crAss_:
I have bulletproofed my launcher manually and I have been setting the multitasking settings via AMM since you first proposed these settings.

Is there any difference/advantage in running your last script (apart from not having to run AMM at boot and of course much friendlier gui)?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Of course.

V6 revamps and fixes the entire android memory management groupings and priorities.

With HTK Launcher as default, its more stable (no need to toggle lock home in memory for gaming) with no downside/trade-off.

If using CM7, most apps are now in slot 5 so there is no way of knowing where the apps are on all rom's unless it is controlled by the script.

So the bonus is that it makes the script a totally universal minfree solution and can expect the same results on any rom.

What was the error. Usually the error message gives an idea of what's wrong.

But did you run as root and follow directions found in the supercharge HTML file (on the SD card)
[Android Software/Hacking General [Developers Only]] c0l3:
I run v6 with gscript and got a lot "stderr:" messages without any text. Cant see any echo you post.

edit:

sorry run it with script launcher with no problems

really good script thank you

but you could clean up your first post a little bit, it is hard to read
[Android Software/Hacking General [Developers Only]] soccer568:
It say theirs no HTML file but I downloaded ver.6 supercharge.sh.txt file. Isn't that what were supposed to download to run in script manager?
[Android Software/Hacking General [Developers Only]] skadude66:
Did you remove the .txt from it? Script Manager will run it successfully as a .sh (shell script) file.
[Android Software/Hacking General [Developers Only]] DannyDroid:
I'm not sure if this is any help?

http://appinventor.googlelabs.com/about/
[Android Software/Hacking General [Developers Only]] -iD:
u probably tried to download it from your phone, maybe with tapatalk (xda app). i'll bet your "v6" script is more like 80-90k rather than the 30.1k it should be. open it with a text viewer and i'll bet it's actually the html from the page rather than the file attachment. not sure why that happened but it happened to me too. something to do with the way tapatalk reads the download links.

solution? download it on your pc then email/dropbox/usb-sd whatever to move it onto your sd card.

hope that helps!
[Android Software/Hacking General [Developers Only]] soccer568:
Youtube

You're right I downloaded it from my pc and it worked. Once I run the script it will run automatically after every boot correct?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yeah that's weird.

But then again, you can always download it with the phone's browser :D

What rom are you using?

Actually, it doesn't matter...

The script will tell you what you need to do.It detects whether you have the init.d folder or the /system/etc/rootfs/init.mapphone_umts.rc file.

If not, it tells you to run /data/99supercharger.sh at boot with script manager at boot.

Then at the end, in ALL CAPS it will give another reminder if you have to do this.

I really made this a user friendly as possible so please just re-run the script and read the messages.

Ya... I know I gotta clean it up... :P

The most pertinent information is at the top.

I specify that the rest is background info in case people want to know all the little details.

I've actually looked into that previously. I found out yesterday that it can only be a single screen.

Also, it turns out that it google app inventor apps can't be put on the market even if it's a freebie. ballz.
[Android Software/Hacking General [Developers Only]] ctomgee:
zeppelinrox,

Many thanks, your info has helped me immensely tweak my phone's performance to my liking.

I've found that bulletproofing my homescreen, can hamper its performance when running memory intensive apps, however. Using the "safety" of the Cyanogenmod Extra setting of "lock home in memory" helps some, but in my experience, the best performance I've gotten is with the AMM settings 6-10-24-35-45-55.

I've left my homescreen un-bulletproofed, and kept the "lock home in memory" CM setting checked. This has left my homescreen damn hard to kill, but still gives me excellent performance.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You didn't try V6?

You can select whatever settings you want without running a 3rd party app at all.

You also aren't benefiting from the real memory fix..

the grouping and priority arrangement.

The reason you get good performance those high numbers is because all the apps are in slot 5 in CM now and with home locked in memory, if i remember correctly, you have nothing in slots 3 and 4 anyway.

Just give V6 a spin. The launcher isn't bulletproof and alot harder to kill than "lock home in memory"
[Android Software/Hacking General [Developers Only]] ctomgee:
I'll give it a shot. What settings would you recommend?
[Android Software/Hacking General [Developers Only]] wraithdu:
What happens when you reflash a ROM depends on the updater-script that is written by the dev. Some don't touch data, some format everything.

Most people either aren't comfortable with the terminal or don't have the sdk setup on their computers to use it, so I figure if they can make/restore nandroid backups and flash a ROM, they can flash a quick zip to delete those files.
[Android Software/Hacking General [Developers Only]] ashclepdia:
I now have the balls to try kak again thanks to this lol.

Will this remove ALL kak files? Curious as to how it works...gonna look thru script later.

Either way. Restoring a nandroids isn't really bad. I do it very often lol. This x2 can be very picky
[Android Software/Hacking General [Developers Only]] eoghan2t7:
Sep for the battery stats can you not use this code so you can do the battery calibration?

$ export PATH=/data/local/bin:$PATH
$su
# cat /sys/devices/platform/msm-battery/power_supply/battery/capacity
60
#
[Android Software/Hacking General [Developers Only]] bobcaruso:
Zep, what recovery are you using, that feature is exactly what I'm looking for in a recovery.
[Android Software/Hacking General [Developers Only]] rast4man:
So I installed LoStKernel+ v1.0.2.3 earlier today and then went back into script manager and all of a sudden I can't do anything with the scripts. I'm getting cp (copy) errors saying that the /sbin/*.* read-only file system. I double checked that the folders were R/W and they are. I also used Root Toolbox and manually mounted the directories R/W and still no go. What could have happened?

I am attaching a screen shot I took with DroCap2. I hope someone can shed some light on this because I really don't want to do a full wipe and start over. I could always use a backup I created a week ago but I have done so much since then. Help me out here please. TIA!

Regards,

rast4man
[Android Software/Hacking General [Developers Only]] LuvThyMetal:
Hey guys, is /init.rc suppose to be on or off?
[Android Software/Hacking General [Developers Only]] wraithdu:
Haha. It's really simple, it deletes the same files as the uninstaller in the script:

/system/etc/init.d/98KickAssKernel
/system/etc/init.d/S98KickAssKernel
/data/98KickAssKernel.sh

Anyone with a bootloop tried this yet and had it work?
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Zepp, here's my latest update. I updated some values and added some more :)

# Change network congestion algorithm to CUBIC
sysctl -w net.ipv4.tcp_congestion_control=cubic

# Hardening the TCP/IP stack to SYN attacks
# See http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
sysctl -w net.ipv4.tcp_syncookies=1
sysctl -w net.ipv4.conf.all.rp_filter=1
sysctl -w net.ipv4.conf.default.rp_filter=1
sysctl -w net.ipv4.tcp_synack_retries=2
sysctl -w net.ipv4.tcp_syn_retries=2
sysctl -w net.ipv4.tcp_max_syn_backlog=1024

# Bump up tw_buckets in case we get DoS'd
sysctl -w net.ipv4.tcp_max_tw_buckets=16384

# Ignore pings
sysctl -w net.ipv4.icmp_echo_ignore_all=1

# Enable bad error message protection (should be enabled by default)
sysctl -w net.ipv4.icmp_ignore_bogus_error_responses=1

# Don't cache ssthresh from previous connection
sysctl -w net.ipv4.tcp_no_metrics_save=1

sysctl -w net.ipv4.tcp_fin_timeout=15
sysctl -w net.ipv4.tcp_keepalive_intvl=30
sysctl -w net.ipv4.tcp_keepalive_probes=5
sysctl -w net.ipv4.tcp_keepalive_time=1800

# Disable IP Packet forwarding (should be disabled already)
sysctl -w net.ipv4.ip_forward=0

# Don't accept source routing
sysctl -w net.ipv4.conf.default.accept_source_route=0
sysctl -w net.ipv4.conf.all.accept_source_route=0

# Don't accept redirects
sysctl -w net.ipv4.conf.all.accept_redirects=0
sysctl -w net.ipv4.conf.default.accept_redirects=0
sysctl -w net.ipv4.conf.all.secure_redirects=0
sysctl -w net.ipv4.conf.default.secure_redirects=0

# Controls the System Request debugging functionality of the kernel
sysctl -w kernel.sysrq=0

More to come :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I don't have that path... the commands that I posted earlier with the other path... they don't work for you?

It's pretty much proprietary to milestone.. Androidiani Open Recovery...

It's odd that all recoveries wouldn't have that, eh?

Especially since the milestone has that locked bootloader and is married to signed motorola kernels.

I dunno better ask the dev of what you're using.

All those symlink errors make me think of a busybox problem.

Safer to have it off but you can always try as long as you have a backup plan :p
[Android Software/Hacking General [Developers Only]] maatsby:
Just ran U9 RC3. First time I've run this script for a long time, new rom's etc

I'm using desire hd, blackice rom, UD launcher, I don't have local.prop apparently so it made changes to build.prop. It worked fine and everything, and it sticks on boot.

But my question is, is it really going to take 5 years to load every time I reboot? It took ages the first time which was fine, but I've rebooted a couple more times now and it takes forever! Is there anything I can do or do I just suck it up?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Don't reboot... lol

Ok I will fix that maybe tomorrow I will have RC4 up... I figured out a couple of things to hopefully get it to stick on stubborn roms without delaying everybody else :p

Cool thanks...

Say, awhile ago another user, HaRdC0r3 had sent me these... there are duplicates with what I already had and what you posted but maybe you can sort out what you think works good?

net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.default.accept_source_route = 0
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.tiwlan0.accept_redirects = 0
net.ipv4.conf.usb0.accept_redirects = 0
net.ipv4.conf.dummy0.accept_redirects = 0
net.ipv4.conf.lo.accept_redirects = 0
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.default.accept_redirects = 0
net.ipv4.tcp_rmem = 8192 87380 524288
net.ipv4.udp_rmem_min = 8192
net.ipv4.tcp_wmem = 8192 87380 524288
net.ipv4.udp_wmem_min = 8192
net.core.rmem_default = 524288
net.core.rmem_max = 524288
net.core.wmem_default = 524288
net.core.wmem_max = 524288
net.core.somaxconn = 256
net.core.netdev_max_backlog = 200
net.core.optmem_max = 20480
net.ipv4.tcp_syn_retries = 3
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_max_syn_backlog = 1024
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_keepalive_time = 300
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_keepalive_intvl = 15
net.ipv4.tcp_rfc1337 = 1
net.ipv4.tcp_ecn = 0
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_max_orphans = 2048
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_max_tw_buckets = 1440000
net.ipv4.tcp_max_orphans = 16384
net.ipv4.ipfrag_high_thresh = 512000
net.ipv4.ipfrag_low_thresh = 446464
net.ipv4.neigh.default.gc_thresh3 = 2048
net.ipv4.neigh.default.gc_thresh2 = 1024
net.ipv4.neigh.default.gc_thresh1 = 256
net.ipv4.neigh.default.gc_interval = 30
net.ipv4.neigh.default.proxy_qlen = 96
net.ipv4.neigh.default.unres_qlen = 6
net.ipv4.route.flush = 1
net.ipv6.route.flush = 1
[Android Software/Hacking General [Developers Only]] maatsby:
haha, problem solved! :p

Champion! love your work
[Android Software/Hacking General [Developers Only]] adame09:
Same thing here running v6 supercharger, kak, and 3g tweaks on my htc g2 running cm7. which one is making my phone boot up slow?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The /data/99supercharger... near the top change the -z to a -n
[Android Software/Hacking General [Developers Only]] avgjoemomma:
A lot are repeats, the .all and .default I have should catch all the network interfaces so we don't need to do them manually. I haven't added any IPV6 stuff to my configs and I figure we can wait until it rolls out for everyone. I'll check out thr net.core and get back to you :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Cool thanks!

Before you go to bed, wanna try RC3.1? LOL

Just 2 little bugfixes ;)
[Android Software/Hacking General [Developers Only]] alienmind:
I got a couple of cp errors on first install:

================================================
SUPERCHARGE IN EFFECT IMMEDIATELY!!
================================================

cp: can't stat '/data/768HP': No such file or directory
cp: can't stat 'Super-(6,12,150,165,180,200).sh': No such file or directory
cp: can't stat '/sdcard/V6_SuperCharger/PowerShift_Scripts/768HP': No such file or directory
A PowerShift Script was saved to /data folder!

Find 768HP Super-(6,12,150,165,180,200).sh...

Just to let you know.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So all the error are related to the powershift script... must be a problem with the file name as far as google can tell me.

What does the file look like inside or I guess it didn't get created at all...

There should also be a powershift script in the sd card/v6 folder so it's not too big a deal you can use that if need be while I narrow down the problem
[Android Software/Hacking General [Developers Only]] zeppelinrox:
That's what she said :D

Well I re-uploaded it... I think I fixed that powershift script naming problem... I just put it in quotes.

I'll look at those settings tomorrow when I get the chance.

Thanks!
[Android Software/Hacking General [Developers Only]] camf3xu:
i keep getting an error message. using a samsung galaxy s ii

busybox v1.18.0.git

im trying to use the V6 SuperCharger Update 9 RC3.1

when it asks intigrate you say yes?

home locked in memory you say no?

my settings look like this.

i tried with and without set as root and run at boot

and my error message is still

any ideas?
[Android Software/Hacking General [Developers Only]] maatsby:
mate, ran RC3.1, reboot was TOO fast, i hardly saw the splash screen before it was gone! :p good stuff

also i had the same powershift problem as alienmind with RC3 but it's gone now on 3.1

thanks!
[Android Software/Hacking General [Developers Only]] avgjoemomma:
lol!

Rebooting right now...:eek:

.

.

.

Aww yeah, the sleep 60 is gone. Boot time is back to normal :D

.

.

.

and we're good!

Nexus One CM 7.1 Nightly intersectRaven Kernel APPROVED!!!!!!!!!

I really need to get some sleep. Got a bangin Halloween party tomorrow night until sometime Sunday morning ;)
[Android Software/Hacking General [Developers Only]] alienmind:
What V6 settings are you using on my ROM?
[Android Software/Hacking General [Developers Only]] maatsby:
To be honest I'm not sure it's needed, the rom is lightning as it is, i'm going to test for a couple of days.

I choose option 8 as the script recommends for DHD ram:

8. Super 768HP(Aggressive){6,12,150,165,180,200}
[Android Software/Hacking General [Developers Only]] alienmind:
RC3.1 is working better, no script errors, no 60 seconds lag on splash.

@maatsby there's always room for improvement, I think we may need some oom groupings, now experimenting with V6 to get optimal values

@zeppelinrox this is good stuff! Good work!
[Android Software/Hacking General [Developers Only]] camf3xu:
do u have any idea what could be going wrong with mine?
[Android Software/Hacking General [Developers Only]] evilj:
Running Go Launcher EX, but wrong HOME_LAUNCHER?

This is probably a bit of a n00b question, but...

I've run Supercharger, and chosen options 6 and 12, but when I do option 16, the OOM STICK, it lists my HOME_LAUNCHER OOM GROUPING as android.process.acore - is that right, as I'm running Go Launcher EX?
[Android Software/Hacking General [Developers Only]] jikantaru:
zeppelinrox you are a good programmer, this script boots my phone in 3 secs. before 15 secs. Also RC updates, I don't need to copy it to root folder in order to apply, it applies the tweaks great in sdcard. Also kickass.

Thanks so much buddy

God bless you and your family.
[Android Software/Hacking General [Developers Only]] dannejanne:
OK I just loaded this script on my Xperia Play with the setting SuperRam or whatever name it had. Everything worked fine without any errors. Now I'll just use it for a while and see if I can notice any difference. No idea which of the 17 settings I should use really for the best result.
[Android Software/Hacking General [Developers Only]] ZioGTS:
Hey zep, when I quit the script with option 30 I get some errors:

[: sh: unknown operand

mkdir: can't create directory '/sqlite_stmt_journals': Read-only file system

The unknown operand comes out a few times during script execution but all settings are successfully applied and stick after boot, so I didn't worry much about it.

Inviato dal mio GT-I9000 usando Tapatalk
[Android Software/Hacking General [Developers Only]] dud3me:
How do I make sure your scripts aren't running? what do I need to format/wipe? After using your scripts every time I turn on data connection my phone reboots, most likely because 3gturbotcharger but I want to get everything out just to be sure.
[Android Software/Hacking General [Developers Only]] sunstorm:
Hey Zep,

I'm using cm7 n185 on LG O2x and v6rc3 worked while rc3.1 caused boot failure. Retried 3.0 and it worked flawlessly again.

Please help. Love this script!
[Android Software/Hacking General [Developers Only]] Notorious544d:
Sorry for the nooby question but when I searched, I couldn't find an answer.

I'm running V6 supercharger RC2.1 and want to update to 3.1. How do I update? I know it says I have to clear the cache but do I remove the current script and then start the updated one after clearing cache?
[Android Software/Hacking General [Developers Only]] iUseJuGGZz:
When you run the script, type 13 then hit enter...I think that puts it back to normal.