yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] jova33:
I don't really understand what it does. If you ever used Zepp's KAK you already had something similar, but in his newer KAK I believe zepp is going to max out the entropy stuff.

From what I've gathered from zepp and another developer, in theory it speeds stuff up, but whether or not it's actually noticeable may be placebo. And zepp's version doesn't hurt anything, so he's including it in future tweaks.

Edit: imoseyon, a kernel developer for my device, Galaxy Nexus, set up his kernel to read from the non-blocking pools instead of the blocking pools. Still have little to no idea what this means, but from his words it has all the benefits of the seeder and none of the drawbacks.

Since I'm already using a tweaked out kernel, what kind of effect would you KAK have on it? I haven't used KAK in awhile and the only script I've been using is the V6 SuperCharger.

Edit edit: asked imoseyon about it,

"AFAIK, seeder app relies on periodic reseeding of /dev/random with /dev/urandom, and init.d tweaks rely on playing with wakeup thresholds. My kernel patch goes much lower level and reads directly from nonblocking pool, which guarantees that no process is blocked waiting for entropy to fill (and also makes other tweaks including seeder app redundant)."

Sent from my wireless telephonic device.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well about all I know is in this post http://xdaforums.com/showthread.php?p=36231166#post36231166

The sysctl tweak wouldn't hurt anything so no interference with anything.

I posted on the previous page what the change will be http://xdaforums.com/showthread.php?p=36235094#post36235094

busybox sysctl -e -w kernel.random.read_wakeup_threshold=1376; # Keep entropy_avail full - MAY save battery and/or boost responsiveness

So if you have KAK installed, you can just change the current value of 128 to 1376 or put that line in 99SuperCharger.

Yeah no devs are really convinced about it.

My standpoint is that since entropy_avail is continually bouncing around in the 100 to 400 range, I may as well keep it full, have less stuff going on in the background, and maybe save battery.

I wouldn't keep a binary running in the background all the time for keeping entropy levels up, that's for sure.

edit: So it looks like the new KAK will be kick ass... with the 3 different "random reboot tolerances" ie. hard rock, soft rock kernels etc., choose the i/o scheduler, found something that should make io tweaks safer ie. less likely to cause bootloops for some users.
[Android Software/Hacking General [Developers Only]] Metallimaniac:
Bulletproofed my phone app. Did not went good as I expected, but how do I remove the app from bulletproof list?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Just run BulletProof Apps again.

hmm... just checked the code... I just added this:

echo " To undo, come back here to \"Un-Bulletproof\"!"
[Android Software/Hacking General [Developers Only]] Zhenpo:
Nevermind got it figured out.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I forgot about an idea I had.

Was thinking to have a counter for wheel alignment and fix permissions.

If you have either to run on boot, have a counter so that it only runs every 3 boots or 5 boots... I dunno how many I should put :p
[Android Software/Hacking General [Developers Only]] mixednuts:
Not good to run on every boot?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well it doesn't hurt anything since an app only gets zipaligned if it hasn't before otherwise it gets skipped.

Fix permissions will set permissions for everything no matter what.

That really doesn't hurt anything either as it functions as a preventative measure on each boot.

I guess it would matter more if the boot process actually stalled when it was doing all that stuff - which they usually do.

But since my way doesn't stall anything, maybe I can skip the whole idea LOL
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Has anybody tested the sysctl tweak to keep entropy full?

btw also workin on V6

Added fixalign and now separating the 3g and misc tweaks,
[Android Software/Hacking General [Developers Only]] omniatic:
Yes, changed the value to 1376...seems to work very well. Faster loading and scrolling, from what I've noticed. Will run it for a while and see.

It appears I have more free ram, too.

Thanks for the tweak,

...sorry...I was on the phone...

Edit: It takes a few minutes of use before you notice an increase in the speed. Open and close a few apps and you're set.
[Android Software/Hacking General [Developers Only]] asdot:
Try it now, change to 1376

Btw, what about kernel.random.write_wakeup_threshold? No change, right?

Sent from MARVEL JellyScream
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ya you can leave that one alone :)

Oh and ummm... I think I found another gem... :cool:

http://www.linuxinsight.com/proc_sys_kernel_randomize_va_space.html

It's 2 by default on my device.

So... maybe busybox sysctl -w kernel.randomize_va_space=0 will speed it up :p
[Android Software/Hacking General [Developers Only]] jusma:
Hi Zep. I have been reading about a few other scripts, namely Seeder Entropy and Adrenaline Engine (http://xdaforums.com/showthread.php?t=1579710). Will it be OK to run them as well in addition to SuperCharger? The AE installation method requires me to remove all scripts inside init.d.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
If you install V6 with the addons (wheel alignment, fix emissions, misc & 3g tweaks etc) and KAK and 3G TurboCharger... you don't need either of those really.

Everything will be covered.

The only thing I see that AE has that I don't is a setting for enabling swap

So to get entropy full and do without a seeder/binary running all the time do this change in KAK:

Find:

busybox sysctl -e -w kernel.random.read_wakeup_threshold=128

Change to:

busybox sysctl -e -w kernel.random.read_wakeup_threshold=1376

And have entropy full all the time with no overhead.

As a bonus, add the sysctl tweak from my previous post
[Android Software/Hacking General [Developers Only]] orbital_71:
I waiting that one of this day that the power widget will not be needed. It will be auto detect and run by it own detection. This will be the biggest break through wasn't it? Smooth like smoothies...I got the power...te...tetete....:p
[Android Software/Hacking General [Developers Only]] asdot:
It's 2 by default on my device also.

1=enable, 0=disable, then what is the meaning of "2"? :D

Sent from MARVEL JellyScream
[Android Software/Hacking General [Developers Only]] zeppelinrox:
http://cyruslab.wordpress.com/2011/06/12/randomize_va_space-values/

Oh... and I kinda did more digging... :p http://xdaforums.com/showthread.php?p=36306102#post36306102
[Android Software/Hacking General [Developers Only]] jusma:
Thanks Zep, I think I'll stick with your scripts for now... don't want to experiment too much, lest I break something.
[Android Software/Hacking General [Developers Only]] Metallimaniac:
Err... didn't e figure out exactly how to do it.
[Android Software/Hacking General [Developers Only]] Parisatis:
Can someone tell me please how to stop this stupid supercharger.html ? Almost always I get bootloop with this "help" and need to restart my phone if I want to use it.

Only way for me is to use old script...
[Android Software/Hacking General [Developers Only]] GermainZ:
Isn't AE a modified version of SuperCharger optimized for lower end devices (so basically, instead of using the menu and configuring it to your likings you just flash it and that's all)?

Zep, my device isn't booting with Supercharger. First boot gets past the boot logo but my device is stuck on a black screen, a second reboot is successful but Supercharger is disabled. This has happened on a few custom ROMs I've used (which is weird considering we only have stock themed ROMs) and it's not the first time, but I never had the time to debug it and ended up just using SManager to load S99Supercharger at boot after deleting the init.d scripts.

I'm gonna get a logcat next time I reboot & I have a PC nearby. Anything else I should do? (Also, I've checked the script really quickly and Log_Supercharger.log seems to only be relevant for the last run, which is useless considering every second run runs correctly [and skips applying the supercharge].. But as I've said, I've only checked it quickly).

---------- Post added at 06:41 PM ---------- Previous post was at 06:36 PM ----------

The supercharger.html file only opens AFTER you have a bootloop to help you debug it. It's in no way causing the bootloop.

Actually, Supercharger creates a file in /data/ (or /data/V6_Supercharger/ not sure) and deletes it after it's done. That way, if you're just booting and the file still exists, it means your boot didn't go as planned... and Supercharger is disabled till you delete that file or open the config script manually, which does that for you (the message goes like: "DAMMIT... BOOTLOOP DETECTED... Do over! Re-enabling Supercharger!") AND opens the supercharger.html file.

---------- Post added at 06:43 PM ---------- Previous post was at 06:41 PM ----------

I haven't used the Bulletproof Apps option in a long time, but if I'm not mistaken, it gives you the option to delete all entries (then you can start all over again).

Otherwise, you can directly edit the bulletproof script in /data/V6_Supercharger but that might cause some problems (e.g. Supercharger restoring settings automatically).
[Android Software/Hacking General [Developers Only]] Parisatis:
I don't have problems with update7 and update8.
[Android Software/Hacking General [Developers Only]] TheDynamiteGuy:
Hey,what is 'kernel.msgmax' and 'kernel.msgmni' for??

I saw someone tweaks this..

Sent from my POWER'ED Ray
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well be warned that you're now spoiled.

If you start with the best, it's all downhill after that lol

Well most do but I can see how a new user may not want to pick bulletproof apps again if they think all they can do is add more apps to the list.

Most settings aren't really reliant on a devices ram but for the important ones that do, I make it a variable so it suits any device so of course, I say use mine lol

Maybe you can pull the Log file before the next reboot via ADB?

btw are you using the latest version?

Actually you can remove one app at a time now (it just loops through the list and you pick each time if you want to remove it from the list)

In the KAK script there's a few links for reference but google works too :p
[Android Software/Hacking General [Developers Only]] GermainZ:
Will do.

I'm using the Test 10 version right now, but it also happened with RC10.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
oh yeah and do you know if it may be the addons?

try disabling all other stuff like misc3g tweaks and the boot scripts.

If it's fine, then add one thing at a time
[Android Software/Hacking General [Developers Only]] BlackArtsInc:
I'm abandoning the V6 again.

Reminds me of the swap2system

kind of scripts.All is well after a reboot and after a while everything starts to get slower and slower till you decide to reboot again.I guess I m a Google devotee.They seem to know what they re doing.Stock android 4.xx is more than ok for everyday use.

Thanks again for your work Zep!

N.

Sent Using One Of My 5 iPads.
[Android Software/Hacking General [Developers Only]] m1trand1r:
So Sad:(

Sent fom my S-II running CM-10 by mcm811 powered with DorimanX kernel 7.35
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ya funny how they never specify what settings they used.

I supply the car.

It's up to user to know how to drive it - or crash it.
[Android Software/Hacking General [Developers Only]] m1trand1r:
hm.,yeah..that's weird...while i was using your masterpiece i never had issues...if i had one...i solved with reading here:D...and now i really can't even test your new work as i have new job, lappy is dead..and even my touch keys on my s2 are dead...:(...but i'd love to and i will when i recover myself a bit:D...because when my s2 was fully functional and you made me a favour and patched my services.jar backthen(due to my dead lappy(thanks again:))...my s2 became SR-71:D(fastest stealth bomber:D)...well..at least he has 5 Ipads....lol:)

Sent fom my S-II running CM-10 by mcm811 powered with DorimanX kernel 7.35
[Android Software/Hacking General [Developers Only]] jader13254:
I wouldn't really describe it as "funny"... I would describe it like you said... "I'll add you to my ignore list... Because you wasted my time" lol... :D

User comment about my ROM: "laggy. Back to xyz..." also kind of wasted time, as sometimes the problem sits in front of screen... With wrong setup, nothing works good.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
heh.. yep :)

So your rom must be supercharged? lol
[Android Software/Hacking General [Developers Only]] jader13254:
Yes, thats the reason of the lag. Thanks for pointing it out for me! Will remove it, going back to stock :)

:cool::D
[Android Software/Hacking General [Developers Only]] zeppelinrox:
what settings did you use and is services.jar patched?

If a user flashes the rom, will the script report 100% supercharged?
[Android Software/Hacking General [Developers Only]] a-id:
After almost one year using of SuperCharger I've found that patched services.jar was causing lags... Now when I've returned at stock services.jar in my modded ROMs all is working good. Anyway thanks for your work Zep! Also for useful info about Seeder effect :). At now I'm using your bulletproof, vac, zepalign and fixfc scripts with crond and I'm happy :)

Отправлено с моего GT-I9000 через Tapatalk
[Android Software/Hacking General [Developers Only]] jader13254:
This was a joke zep :p

Lol. I waste your time by making jokes... Sorry :o

I have a Patched Services.jar in my ROM, and well now my ROMs are the fastest :cool: xD

No seriouly, I love your services.jar patch, its damn cool :like a sir:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Actually, have you tried the latest patcher on an unmodded services.jar?

Recently looked at all the edits from top to bottom and I'm pretty sure that such a thing won't happen anymore ;)

oh... *whew* lol

hey if you don't mind, can you add that it's supercharged in your OP :p lol
[Android Software/Hacking General [Developers Only]] a-id:
Yes I've tried your last Windows patcher but nothing good happened. Joke or not but maybe Google knows what settings is better? :)

Отправлено с моего GT-I9000 через Tapatalk
[Android Software/Hacking General [Developers Only]] UpInTheAir:
If Google knew what is better, we wouldn't have XDA,....... Or V6SuperCharger for that matter ;)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Doubt it lol

So RC6 on a previously unmoded servcies.jar, right? Using an pre-modded jar wouldn't show the changes.

Anyway, what settings did you choose?

Maybe it's the multitasking part that does that?
[Android Software/Hacking General [Developers Only]] asdot:
Zepp, I guess you're right about kernel.random.read_wakeup_threshold, battery get better now

after change kernel.randomize_va_space to 0, 3D graphics score decreased. change to default, back to normal again. testing for several time and I get the same results. No luck for me I guess :D

I'll test again using another kernel tonight.

Sent from MARVEL JellyScream
[Android Software/Hacking General [Developers Only]] a-id:
At now I just say about services.jar only with its apps priorities and not about all Android. I think xda is the best :)...

No, that's not multitasking part, I've tried all the settings and aggressive too, result - without supercharged LMK settings and patched services.jar it goes better... Sorry, but it's not only my feelings.

Отправлено с моего GT-I9000 через Tapatalk
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Some users actually reported that lower minfrees were better if aggressive was too high.

Not too sure if you experimented much with minfrees while patched with the latest.

But did you patch a previously unpatched services.jar?

That's important.
[Android Software/Hacking General [Developers Only]] BlackArtsInc:
XPERIA Mini ST15I 100% SC'ed and all three 512MB settings after a while were rendering the phone slower than my old X8.Anyway,Zep if you re older than 18 and stop using the word "arbitrary" when choosing some of the values for your scripts you can apply for a job at Google.They could use some real insight I guess.Thanks again for the script and the support! See you!

N.

Sent Using One Of My 5 iPads.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh i see.

You must have been drinking.

Nothing's arbitrary and I don't use that word in my scripts- not even once.

You must have me confused with Dianne Hackborn from Google.

She said that the 15 max hidden app limit was arbitrary.
[Android Software/Hacking General [Developers Only]] jader13254:
For sure ;) :good:

I will add it... Asap... If I'm not to lazy (1th Time xD)

I SCREAM SUPERCHARGED! lol

Yeah i'm lazy I know (2th Time xD), my ROM has an outdated Patched services.jar :(

=-:sadface:-= *saaaddddfaceee*

#sad clown

I will re-patch it asap :good:

You know... I'm lazy (3th Time xD)... Link to Services.jar patching tool? xD

I can't use search -> xda app coders got the search functio to show exactly that, what you don't want... :D

How they did it... Lol...

Jan > *sadface%
[Android Software/Hacking General [Developers Only]] a-id:
I agree that lower minfrees is better, at now I'm using stock 44Mb + drop caches every 12 hours with crond and all is cool. I've experimented really much with LMK, I've even tried Thunderbolt! LMK settings applying it with Supercharger... :) Of course I've used last Windows patcher every time getting "clean" services.jar from original ROM.

Отправлено с моего GT-I9000 через Tapatalk
[Android Software/Hacking General [Developers Only]] GermainZ:
Ok, zep, this is driving me crazy.

I edited your script a bit so the logs aren't overwritten every time... and my device's boot stopped freezing. Seriously, WTF? I don't mind problems getting fixed without me doing anything, but I just hate it when they're fixed when I'm trying to debug it -and didn't do anything yet....

Anyway, only one reboot apparently froze, and the last line of the log was a remount,rw command.

So I started experimenting.

Opened Supercharger again & tried changing my driver's options. Surprise: the old ~"can't modify: ro" error came back again. Except that everything should be working fine considering Supercharger remounts everything as rw first... Hell, I even checked your script to see if I can find some remount,ro command that shouldn't be there. xD

Anyway, I think I managed to figure out what's wrong. And it's ****ed up.

Running this:

busybox mount -o remount,rw /; busybox mount -o remount,rw /data; busybox mount -o remount,rw /system; while:; do clear; busybox mount | grep 'rootfs\|/data \|/system '; sleep 2; done

Shows the following output:

rootfs on / type rootfs (rw,noatime)
/dev/st19 on /system type rfs (rw,relatime,vfat,log_off,check=no,gid/uid,rwx,iocharset=cp437)
/dev/stl11 on /data type rfs (rw,nosuid,nodev,noatime,vfat,11w,check=no,gid/uid/rwx,iocharset=cp437)

<clear>

rootfs on / type rootfs (ro,noatime)
/dev/st19 on /system type rfs (ro,relatime,vfat,log_off,check=no,gid/uid,rwx,iocharset=cp437)
/dev/stl11 on /data type rfs (rw,nosuid,nodev,noatime,vfat,11w,check=no,gid/uid/rwx,iocharset=cp437)

Something is remounting / and /system as RO, which (obviously) causes Supercharger to fail... Now, I don't know how to figure out what is doing this, so I just tried a couple of things hoping it'll help you:

This script:

logcat -c; busybox mount -o remount,rw /; busybox mount -o remount,rw /data; busybox mount -o remount,rw /system; logcat;

Shows nothing except fast dormancy related lines.

Then I thought that since the mount command needs root access, some root process might be doing it. So I ran this:

ps | grep root | awk '{print($9)}'

And here's a list of the processes:

/init
kthreadd
ksoftirqd/0
watchdog/0
events/0
khelper
async/mgr
suspend
sync_supers
bdi-default
kblockd/0
pmu_events/0
kseriod
kmmcd
khungtaskd
kswap0
aio/0
crypto/0
lcd_wq/0
CSL_LCDC/0
lcd_periodic_re
taos_wq
prox_wq
charing_current
rx_ether_queue
usb_mass_storag
check_ic_wq/0
irq/126-melfas-
kstriped
kondemand/0
kinteractive_up
kinteractive_dow
kconservative/0
kconservative/0
ksmartass_up/0
ksmartass_down/
klazy/0
binder
ipc-wq/0
cmd_wq/0
rsp_wq/0
notify_wq/0
cmd_wq/0
v3d_thread
AudioCtrlWq/0
mmcpd
/sbin/ueventd
/init
/system/bin/vold
/system/bin/debuggerd
/system/bin/installd
/sbin/adbd
/loop0
kdmflush
kcryptd_io
kcryptd
sh
flush-138:11
flush-179:0
/system/bin/sh
/system/bin/netd
zygote
flush-138:9
flush-138:6
ps
grep
awk

And that's about everything I've thought of...

Searching showed that I'm not the only one who has this issue but offers no viable solution.

Any ideas?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Did you find it?

Try the Ultimate Jar Power Tools thread lol

Ok... strange stuff then :p

Ah... at what point did it change from rw to ro?

During boot?

Check other init.d scripts for a remount,ro command.

Also maybe you can pull a logcat as android loads up and get boot up info

Or... if you can duplicate the scenario, grab a logcat right after it changes to ro
[Android Software/Hacking General [Developers Only]] GermainZ:
That happens once the device is booted (using a terminal emulator), every time I try to remount as rw.

Boots are fine for now... I'll keep monitoring them (already checked init.d scripts, BTW).
[Android Software/Hacking General [Developers Only]] m4RinKo2:
My keyboard doesnt work. When I prees some button, nothing happens. PLZ HELP ME!
[Android Software/Hacking General [Developers Only]] GermainZ:
I'm not sure if you edited your post before or after I posted my reply, so I'm replying to this part.

I can reproduce it (I just have to run the one liner script with the logcat command), but it shows absolutely nothing except Fast Dormancy related entries (and input once I touch my screen).
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ah ok I have an idea.. try this Root Logger app from the play store

https://play.google.com/store/apps/details?id=com.stericson.rootlogger.free&hl=en
[Android Software/Hacking General [Developers Only]] EatHeat:
Get another keyboard.. :cool:

Sent from my Galaxy Y GT-S5360. Press thanks if I helped you.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Hey so here's a command that I need for some people to do:

cat /system/lib/egl/egl.cfg

I'm looking at the tweak to disable CPU rendering so that Android will only use GPU rendering.

I wouldn't delete anything, I'd just modify the egl.cfg file and it looks like an easy mod to put in ;)
[Android Software/Hacking General [Developers Only]] GermainZ:
#comments

0 1 hgl

I don't think that's possible on GB.

Also, Root Logger shows nothing relevant (I can see myself remounting, but nothing related to remounts after that)... can that be done automatically at a kernel level?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Looks like yours is set to GPU rendering.

If using CPU rendering look like be:

#comments
0 0 android
0 1 hg

According to this http://code.google.com/p/gles6410/issues/detail?id=3#c12 it looks like CPU rendering does occur on GB after all

Look the same for froyo as well eclair... heh...

so it would be an easy edit.

0 0 means use software because the second digit is a 0

0 1 means use hardware because the second digit is a 1

So if the script finds "0 1", it would simply put a # in front of the line with "0 0"

But more results would be good to have :)

And that's really freakin weird about system continually being remounted as read only :p

But yeah, perhaps it's the kernel doing it but I dunno for sure.