yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] NAZUnlimited:
@zepp

1st of all, i love ur work, it's doing great things.

tryed the V6_SuperCharger_for_Android-Update9_RC6.9.test.sh and it worked perfectly.

however the KickAssKernelizer_Tweaks_Installer_Update_3_RC5.sh can't modify this line

lease-break-time = 45 vs 10 = KAK

tryed several times even with wipe dalvik cache and with previous kak versions, the 10 doesnt stick.

another thing, i found out this error in the /data/ kak log

(...)

+ busybox mount -t debugfs none /sys/kernel/debug

+ echo NO_NORMALIZED_SLEEPER

/system/etc/init.d/98KickAssKernel: cannot create /sys/kernel/debug/sched_features: permission denied

+ busybox umount /sys/kernel/debug

+ busybox sysctl -e -w vm.min_free_kbytes=4778

vm.min_free_kbytes = 4778

(...)

do u have any ideas how to fix those 2 problems?

btw, i'm runing cm gingerbread 2.3.5 and i didnt used the kak's optional io tweaks
[Android Software/Hacking General [Developers Only]] zeppelinrox:
For the lease break time, check further down the log file to see if it repeats like the min free kilobytes command.

You probably don't have the sched_features file but I'm curious so do in terminal:

su

for i in /sys/kernel/debug/*; do echo $i; echo; cat $i; echo ; done
[Android Software/Hacking General [Developers Only]] ppsx:
Just to report...

Nitro is breaking WiFi on my SGS.

P. S. Thank you for such a great piece of work.

ppsx@SGS
[Android Software/Hacking General [Developers Only]] metalspring:
i did this out of curiosity since i get the same error all the time and i got

no such file or directory

so do i need to do this first or what? busybox mount -t debugfs none /sys/kernel/debug

edit, it says that /sys/kernel/debug is non-existent for me...hmm, is that a good thing or a bad thing? (maybe thats another thing they mean when they say a kernel has logging off? lol)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
thanks.

Yep the update test has a warning about that already :p

maybe its a motorola thing in that they don't have that folder?
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Yes it does, which is why I originally thought it was just a delay thing. It says it's Kicking A via /system/etc/init.d/98KAK. But when you verify through the KAK script itself it says it's chewing bubblegum.

Weird.:confused:

Edit: I keep telling her she needs a new phone.
[Android Software/Hacking General [Developers Only]] metalspring:
so you dont have that folder either? i mean it is the Motorola milestone, right?
[Android Software/Hacking General [Developers Only]] rezapatel:
Question - does the script change sd read speed? Or could it override some other script that sets sd read speed?

Sent from my HTC Vision
[Android Software/Hacking General [Developers Only]] metalspring:
no, it does not that i know of...i know how you could possibly change it without an app or anything if you want though

edit:

heres the scripts, the first one is more comprehensive and the second one is easy and more compatible (i think)

Put either one in /system/etc/init.d and name it something like "95sdbuffer" (btw you can change the value in the "echo 512 > /sys/devices/virtual/bdi/179:0/read_ahead_kb" line to suit your needs- common values are 256, 512, 1024, 2048, 3072, 4096, 5120, 6144)

#!/system/bin/sh
for i in /sys/devices/virtual/bdi/*
do
echo 2 > $i/read_ahead_kb
done
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo 2 > /sys/devices/virtual/bdi/default/read_ahead_kb

or you can try just simply using the simple version

#!/system/bin/sh
echo 2048 > /sys/devices/virtual/bdi/179:0/read_ahead_kb

you can also run them in terminal emulator as superuser (just take off the #!/system/bin/sh part)
[Android Software/Hacking General [Developers Only]] PieceKeepr:
It would help if you said what issues you are having, but if you don't want to try to fix it re-run the script and choose unsupercharge.
[Android Software/Hacking General [Developers Only]] metalspring:
try using root explorer to look here /proc/sys/fs/lease-break-time

btw zeppelin, i have the folder /proc/sys/debug...is that the same as /sys/kernel/debug?
[Android Software/Hacking General [Developers Only]] fragargon:
hi zep,

wouw... this thread is running wel...

so not sure i well understood this expression "does it remember to put the seat down?" - if so...

I would say yes... output of your script flush_engine is written into a log.txt file

to summerize:

i should change the way I do coz sl4a dosn't get root right so I rather used secure settings to automate the flush process in combination with tasker.

every 4hours the task run - i created few variable to hold output and write down in a file date stamped :D (only last output of course)

is that not fine tunning of brilliant script zeppelin made??

really gratefull for your work dude
[Android Software/Hacking General [Developers Only]] NAZUnlimited:
the content of /proc/sys/fs/lease-break-time is 45 but even editing it to 10, after reboot doesnt stick, it returns to value 45 :confused:

edit: i dont understand from where comes the value 45, the only ones i found are either 10 or 5
[Android Software/Hacking General [Developers Only]] metalspring:
it doesnt stick because its basically just reporting back what the value currently is

try throwing this in terminal emulator

sysctl -w fs.lease-break-time=10

if it works then just throw it at the bottom of the script...maybe the "-e" is somehow messing something up??
[Android Software/Hacking General [Developers Only]] NAZUnlimited:
still 45. damm
[Android Software/Hacking General [Developers Only]] metalspring:
try this in terminal to double check

su

sysctl -a | grep fs
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Hah.. I like you're humor... yep she needs a phone that don't chew bubblegum... save your jaws!

Thanks. Yes it is :)

Yes the thread is on autopilot lol

Oh and it was a joke about flushing the toilet... how women prefer that you put the seat down :p

Yep!

Nah I'm pretty sure it's different.

I have it too and it's empty but going by what NAZ said, maybe I need to just make its contents visible somehow...

Well looks like you're SOL on both counts.

Your kernel doesn't accept the fs lease break setting as a tunable and it's locked in.

Nothing in the folder for the sleeper but at least you see something in /sys/kernel/debug

Hey what output do you get with:

mount | grep none
[Android Software/Hacking General [Developers Only]] NAZUnlimited:
# su
su
# sysctl -a | grep fs
sysctl -a | grep fs

vm.vfs_cache_pressure = 10

fs.inode-nr = 5548	2728

fs.inode-state = 5548	2728	0	0	0	0	0

fs.file-nr = 1316	0	65536

fs.file-max = 65536

fs.nr_open = 1048576

fs.dentry-state = 2898	1356	45	0	0	0

fs.overflowuid = 65534

fs.overflowgid = 65534

fs.leases-enable = 1

fs.dir-notify-enable = 1

fs.lease-break-time = 45

fs.aio-nr = 0

fs.aio-max-nr = 65536

fs.inotify.max_user_instances = 128

fs.inotify.max_user_watches = 8192

fs.inotify.max_queued_events = 16384

fs.epoll.max_user_watches = 69328

fs.suid_dumpable = 0

fs.nfs.nfs_mountpoint_timeout = 500

fs.nfs.nfs_congestion_kb = 13632

fs.nfs.nlm_grace_period = 0

fs.nfs.nlm_timeout = 10

fs.nfs.nlm_udpport = 0

fs.nfs.nlm_tcpport = 0

fs.nfs.nsm_use_hostnames = 0

fs.nfs.nsm_local_state = 0

sysctl: error reading key 'net.ipv4.route.flush': Permission denied

sysctl: error reading key 'net.ipv6.route.flush': Permission denied

sunrpc.nfs_debug = 0

sunrpc.nfsd_debug = 0

#

with and without the -e in sysctl -e -w fs.lease-break-time=10

edit: mount | grep none

returns this

mount | grep none

none on /sys/kernel/debug type debugfs (rw)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh yeah the -e just hides errors... what error do you get when you run:

sysctl -w fs.lease-break-time=10
[Android Software/Hacking General [Developers Only]] NAZUnlimited:
i get this

sysctl -w fs.lease-break-time=10

sysctl: short write
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ah yep I don't think it can be changed unless you have a different kernel/rom happening.

Thanks.

I have nothing like that output... no debugfs for me at all :p

stupid kernels...
[Android Software/Hacking General [Developers Only]] metalspring:
you cant load kernels can you? :p you dont see the great advantage of them then yet :) just you wait till you get a phone you load kernels on and see then :cool:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No I'm stuck with whatever is signed by Motorola...

I love their hardware tho... this thing has taken a beating and a half and I can't break no matter how I hack it LOL
[Android Software/Hacking General [Developers Only]] NAZUnlimited:
ok.

i'll try one other thing, 'cause i could see in the live logcat during boot, something like an error code and busybox killed before it reached file 98KickAssKernel

anyway, tx for ur help, zepp and metal.

u have given me a few ideas
[Android Software/Hacking General [Developers Only]] metalspring:
so i bet the droid 4 is pretty tempting, right? ;) If any current motorola device will eventually get an unlocked bootloader its that one

the keyboard is no big deal for me and the bootloader is a killer, and i'd love me a nice big HD screen so moto is out for me for now
[Android Software/Hacking General [Developers Only]] rezapatel:
Thanks, I will try it out :-)

Sent from my HTC Vision
[Android Software/Hacking General [Developers Only]] rezapatel:
It worked fine when I ran it from terminal.

Although it never started on boot, in the init.d folder.

I am running ILWT cm7 with v6 latest version.

It seems like the scripts don't even run for me from the init.d folder :(

Sent from my HTC Vision
[Android Software/Hacking General [Developers Only]] rezapatel:
It did create a 95sdbuffer.bak backup file in the folder, but didn't run the primary script. If any of that makes sense..err

Sent from my HTC Vision
[Android Software/Hacking General [Developers Only]] zeppelinrox:
you have to set permissions.

95sdbuffer.bak was probably created by root explorer after making an edit.

if the file is named 95sdbuffer...

su
cd /system/etc/init.d
chown 0.0 95sdbuffer
chmod 777 95sdbuffer

Now if you type 95sdbuffer, it should just run
[Android Software/Hacking General [Developers Only]] metalspring:
zeppelin, where did you learn all this scripting? i know some obvously but i definitely want to know much much more, any suggestions for something more than just basic scripting?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Alot of googling and reading... a tad more than a year ago... say January 2011... I knew pretty much nothing :p

Every little thing basic thing came from a google search... starting with if/then/else/elif statements :P

So the basics was lots of learning by example.

Some of it was looking at existing scripts and seeing how they work...

The main menu was a basic example for a car rental menu... and I blew it all out of proportion LOL

So after I knew the basics, there really wasn't examples of the more complicated things that I wanted to do.

So I tested ideas until I came up with something not too complicated and efficient.

If you look at the custoomizer in update 8 it's nothing like update 9.

I'm really proud of update 9's custOOMizer :)

I've never seen an sample script like that ;)

Some of it was combining ideas.... like how I get the bulletproof apps script to run at boot and 99supercharger to run with a 90 second delay without slowing down the boot process.

Bulletproof apps is especially cool.

It keeps executing itself in a separate process and ends until android loads up.

So when android is loaded, the script enters an endless while loop ;)

Same idea with 99supercharger except that when it gets into android, it waits the 90 seconds and runs one last time and ends.

Now I have so many different things in there, I look at that for reference when I forget precisely how to do something...

I figure... I can steal that... hell I made it LOL

I really think somebody can teach a class from all the different ideas that are in there :P

Now I face learning how to make an app starting with no knowledge of java :p

I hope I find a not too complicated path for that.
[Android Software/Hacking General [Developers Only]] metalspring:
whew, sounds like a lot of work lol, and after java and making an app then you might as well learn how to make a custom kernel, then a whole custom rom :p

i just need to figure out what i want to try to make a good script of...maybe some of my Droid build.prop tweaks and maybe i'll do one with sdcard buffer speed or something like that
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Sounds good :)

It helps to do make it unique as well.

Of course feel free to look at the V6 code for tips... though I've read somebodies remark that it's like spaghetti how I have it all interwoven :p

btw I really didn't think it would get that huge or that I would have to learn all this scripting stuff LOL

You should see how tiny the first version was :p

I had all these little scipts and depending on which option was picked, one would just get copied over to init.d (like how my recovery works) then I saw that the echo command can generate a new file/script and thought hey... cool... then all hell broke loose and went scripting crazy :p
[Android Software/Hacking General [Developers Only]] draiyan:
everything works fine, from v6 supercharger to KAK and to 3g turbocharger!!!

its amazing that i tried KAK, my phone is rocking!!! and its on stock rom, galaxy y.

THanks!!!!!!
[Android Software/Hacking General [Developers Only]] Nighthound:
Zep,

how does the KAK script differ from the V6SuperCharger script? I understand the V6 script includes a bunch of kernel tweaks as well. Do we need to run the KAK script if we're already using V6?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It only has a few of the more important ones... 6 or 7 of them.

Well, you see which ones they are when you run the script anyway.

KAK has a couple of dozen or something sysctls plus other stuff.

===================================================

Ok I added wraithdu's busybox v1.19.4 to the OP... 3 versions like before but labelled the CWM to be more obvious.

I also updated wraithdu's superuser binary (su) to v 3.1 and added an install script :)

It's actually a higher version than you can currently get through the superuser app hehehe
[Android Software/Hacking General [Developers Only]] kintama01:
When I clean the dalvik cache and restart (option 30), it usually tells me it was an unclean shutdown. last time all my apps disappeared... a few minutes of panic ensued :eek:
[Android Software/Hacking General [Developers Only]] DistantFather:
Would like to know if this script works on lg p500 with latest oxygen rom?
[Android Software/Hacking General [Developers Only]] jeozme:
Where to find the new su? Is it inside busybox?
[Android Software/Hacking General [Developers Only]] lawgone:
Please help me. I got this error:

I'm on Arconium 7.0, DoomKernel V18 of Xperia Arc.
[Android Software/Hacking General [Developers Only]] PieceKeepr:
I tried the ro.ril.cdma.ppp.up= in 3G since it seems that's where others are seeing a difference but I still don't see any improvement.

Before

After

Another reboot and tried again
[Android Software/Hacking General [Developers Only]] rashid.fairus:
try it,and you'll know,but make a backup if anything happen..
[Android Software/Hacking General [Developers Only]] jukyO:
Attached services.jar for HTC Desire on MIUI_Au ICS ROM.

Thanks for howto mate.
[Android Software/Hacking General [Developers Only]] himi-xda:
Extremly jumpy guide :-)

Hi,

I got my HTC Desire with this ROM, http://xdaforums.com/showthread.php?t=1403113

I am trying to read and understand about this whole thing but I am so lost!

Can you guys please give the steps needed to have this installed on a Desire with a CM9 based ROM?

The guide is extremly hard to follow for me?

What files do I need to download?

What applications do I need to install from market to be able to have this installed?

Cheers!
[Android Software/Hacking General [Developers Only]] metalspring:
The reason is simple, you can't get much better upload speeds than what you already were getting, Verizon 3g is capped right around 1mb/s no matter what...it's kinda like my wifi, for some reason even though I get download speeds of almost 20mb/s they limit upload to around 1 mb/s (stupid, right?)

That's another big advantage of 4g over everything else, upload speeds

Btw how the heck do you get such constant high speed uploads? My signal is around -74- -65 and I don't have them that constantly fast

(must be from a newer phone maybe???)
[Android Software/Hacking General [Developers Only]] himi-xda:
"Boot will take a LONG time as it "optimizes all your apps"

If you have the bootanimation turned on, I'm not sure if you will see the optimizing message or if the animation keeps playing in foreground."

How long is long? :)

Can it be neccesary to pull battery several times during this period?

I am seeing the ICS boot animation I waited for like 20 minutes and the pulled battery and booted again. Should I just keep waiting or did something went wrong?

Cheers!
[Android Software/Hacking General [Developers Only]] finneginsfast:
I tried V6_SuperCharger_for_Android-Update9_RC6.9.test.sh and just get a bootlooping nightmare unfortunately. Definately backing out of this one if I can ever get a normal startup, battery pulls aren't working.
[Android Software/Hacking General [Developers Only]] arevir711:
I'm upgraded from RC5.2 to 6.1 and how it only says 75% supercharged. init.rc is baked into Juggernaut 5.0 and using local.prop. Any suggestions? It used to run 100% all the time.
[Android Software/Hacking General [Developers Only]] friedsonjm:
CM9-THS - How to use?

Reference: Note2: It would be great if you were to let me know if a pre-existing file works for your rom/device.

The initial CM9-THS that I made seems to work on alot of devices but if you create your own, you can post it and I can link to it down below, above the attachments.

Actually, if you are on a CM9 ROM, try the CM9-THS version first.

Do I load that zip file using ROM manager, or unzip it, or what? :confused:

thanks, jf
[Android Software/Hacking General [Developers Only]] zeppelinrox:
The only time I've heard of apps disappearing is if busybox messes up somehow and the ext partition apps don't show up.

They are still sitting there, but not accessible.

Haven't heard of a dalvik wipe causing such a thing.

Would like to know if you read OP?

First post mentions on what it works on.

http://xdaforums.com/showpost.php?p=22643465&postcount=8328

Only needed on ICS.

Incomplete download. Download it again and make sure you have the whole file.

Ah you figured it out :)

If you have alot of apps yes it can take that long.

Well, what do find to be scary? My dad finds rollercoasters to be a nightmare but I think they're fun :D

Ok.. so what options did you pick? The risky ones?

If you disable init.rc integration and use local.prop, I doubt you can have a problem with that latest test.

So try with init.rc off an use local.prop.

Use latest test http://t.co/f3i1ryw2

It explains where you're missing the 25%
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No it's not flashable.

Just read step 8.

edit: grrr... I always forget that what's obvious to me is not so obvious to others.

Yes unzip it then do step 8.

I will elaborate a bit on that Note 2 blah blah... :p
[Android Software/Hacking General [Developers Only]] arevir711:
i downloaded most current version you recommended zep, now it says 50% and my launcher is weak. I use go launcher ex, does the script know what launcher is default? And do i needed to do anything special when upgrading? Or just rerun script? Thank you for feedback.
[Android Software/Hacking General [Developers Only]] wraithdu:
@zepp

Thanks for updating everything :)

@himi-xda

Just a pet peeve of mine really, but was it necessary to quote the entire 2nd post in your reply?
[Android Software/Hacking General [Developers Only]] marvinlh:
You should be grateful, heres mine

before

After

Any suggestions? Im running the fastest 3g setting
[Android Software/Hacking General [Developers Only]] prboy1969:
Zepp just wanted to share a little story. Friend and I have the same phone, almost exactly the same mods, same apps. Except he's not SuperCharged :P . He grabbed my phone by mistake. Then said out loud, " man my phone is flying today" . At which point I informed him it was mine. He was not happy. Said I was holding out on him, cause my phone ran much smoother and faster than his. End result, he's now SuperCharged ;) .

TEAM MiK

Mik Roms Since 3/13/11
[Android Software/Hacking General [Developers Only]] fleurdelisxliv:
almost the same thing happened to me my friend is now supercharged as well lol!
[Android Software/Hacking General [Developers Only]] friedsonjm:
OK! Installed CM9-THS on my Nook color, rebooted.. now trying to confirm which Supercharger script to use..

V6_SuperCharger_for_Android-update8.sh

or

V6_SuperCharger_for_Android-update9_RC6.1.sh

?

thanks! jf
[Android Software/Hacking General [Developers Only]] zeppelinrox:
on ICS? See post 2 :)

You guys have lots of ram and many would say you don't need it...

But its effin nice to zOOM zOOM ;)
[Android Software/Hacking General [Developers Only]] neverlost7:
Ok, I installed the Supercharger script about a week ago and first ran it at Aggressive 2 but after a couple of days the phone just went black and I had to remove the battery to get it up and running again. Thought the fault might be in the settings, so switched to Balanced 2. Today, the same thing happened with these settings. I really like the idea of the script and wouldn't want to uninstall, but if it keeps doing this I have no choice. Would any of you happen to have any idea of why it does this?

Some background information: my phone is a rooted Samsung Galaxy S (stock rom) and the operating system is 2.3.4, I9000XXJVR.
[Android Software/Hacking General [Developers Only]] friedsonjm:
OK.. did not wait.. trying RC6.1... more to follow...

---------- Post added at 01:13 PM ---------- Previous post was at 12:57 PM ----------

Generally up and running.. but the system does try to

'assign' something to a USB device (which it does not find) on boot; to be clear, this was happening starting when I applied the services.jar file, even before the Supercharger script. jf

EDIT: just tried to run Script Manager and got the same error..

Will try to run more SC options using Terminal, which is what I was using before.

EEDIT: Changed some options, particularly added 'Nitro,' did NOT get any error on this reboot! <grin>
[Android Software/Hacking General [Developers Only]] jukyO:
From ROM thread, seems that you have all needed stuff on your phone (superuser and busybox). I suppose you have adb drivers installed on your PC and USB debugging enabled on the phone.

1. Connect your phone to PC via USB

2. Download the supercharger script :http://xdaforums.com/attachment.php?attachmentid=661892&d=1311292674 and remove .txt from the end of filename.

3. Download and install Script Manager from the Market.

4. Put renamed file to your sdcard, location does not matter, or via adb:

adb push V6_* /sdcard

5. Start Script manager and load the V6 script, follow on screen instructions. I guess choice "6" would suite best for you.

When all ends, reboot your phone. Also, I guess you need to do stuff from post #2, since you have ICS. Pls let me know if you need further help.
[Android Software/Hacking General [Developers Only]] MBurns2:
one question:

if i want a really hard to kill launcher,with script v6 C9,i have to select "bulletproof launcher" right ? ty
[Android Software/Hacking General [Developers Only]] finneginsfast:
Well, not really scary just a raging pain in the butt I guess. Took about 1/2 an hour and alot of loops and battery pulls to get out of it.

And now for my humblest of apologies...I uninstalled lagfix tgeb reinstalled it with the wipe and all seems fine in the world again! :)

Cheers