yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Use latest SuperSU.

There was an important update today.

Read the last few pages of that thread too.
[Android Software/Hacking General [Developers Only]] mixednuts:
Closely guarded secret LOL
[Android Software/Hacking General [Developers Only]] Dashmeet singh:
Help please :/
[Android Software/Hacking General [Developers Only]] VnnAmed:
Take a screenshot like zep asked you to do. You can also try removing v6 folder.
[Android Software/Hacking General [Developers Only]] lvnatic:
Ok i did a clean install of super su app and su binary. Root works fine, all apps work fine, in smanager i can see data and su permission has been granted. Still, scrips just don't work, they stuck just like in the ss i showed you. Unfortunately I don't have any other scripts to test them. Is this a prob from smanager or mby your scripts need to update for 4.3? Just sayin.

Has anybody managed to run these scripts on android 4.3?
[Android Software/Hacking General [Developers Only]] Dashmeet singh:
wtf is happening :/

now phone is discharging instead of charging :eek: :/ :(

please help :'(
[Android Software/Hacking General [Developers Only]] zeppelinrox:
you seriously didn't know what I meant or dismissed it.

Either way, you suffer from GUI - General User Incompetence.

Get a clue or an iPhone.

probably SManager.

Run it with terminal.

su

sh /sdcard/or/whatever/V6*sh
[Android Software/Hacking General [Developers Only]] lvnatic:
I ran the starterkit 1st and installed busybox and sqliate & zipalign binaries, everything went well and I rebooted. Then:
[Android Software/Hacking General [Developers Only]] eushaun99:
You put the script in init.d?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
on second thought, do everybody a favor and go to bed.

what command did you type exactly?

shhh... Don't ruin it :p
[Android Software/Hacking General [Developers Only]] izuall187:
Lol! There's the fun. :cool:
[Android Software/Hacking General [Developers Only]] lvnatic:
Su, enter, sh and then i copy-pasted the path of the script

Becuase my rom is rooted stock i didnt previously have init.d support so i used this app called "pimp my rom" to add "universal init.d support"

I didnt manually put the script file in init.d
[Android Software/Hacking General [Developers Only]] hisname:
this script is that ADVANCED???!!! it can even detect where the script is placed??? :eek:
[Android Software/Hacking General [Developers Only]] eushaun99:
Given zep's coding brilliance I would say yes.
[Android Software/Hacking General [Developers Only]] DigitalUnderground:
Thanks for this script...
[Android Software/Hacking General [Developers Only]] pitbull292006:
Will this work on the Sony Xperia Z????
[Android Software/Hacking General [Developers Only]] hisname:
lol
[Android Software/Hacking General [Developers Only]] eushaun99:
No. Once you run the script zep will turn your phone to a time bomb that will self destruct in 5...4...3...2...1...BOOM!! :P
[Android Software/Hacking General [Developers Only]] Yenkazu:
"Another GUI"

by Zeppelinrox

XD
[Android Software/Hacking General [Developers Only]] VnnAmed:
It's universal. It would work even on your toaster if it would be running android. Read the OP carefully.
[Android Software/Hacking General [Developers Only]] hisname:
Does toasters have LMK or OOM Grouping or kernels? :rolleyes:
[Android Software/Hacking General [Developers Only]] VnnAmed:
www.ohgizmo.com/wp-content/uploads/2008/08/toasterpc_2.jpg
[Android Software/Hacking General [Developers Only]] dark_knight35:
That's no toaster. It obviously doesn't offer the functions that define something to be a toaster.
[Android Software/Hacking General [Developers Only]] VnnAmed:
With such good understanding of concept of making jokes and being funny you have to be just great with the ladies xP So specially for you !| this picture is not serious |! :D
[Android Software/Hacking General [Developers Only]] dark_knight35:
Oh, really??? Maybe you shouldn't take everything that serious, I knew that your toaster is just a joke :p.
[Android Software/Hacking General [Developers Only]] VnnAmed:
Although I have to admit that I would like such toaster :D And if there would be toaster with android and Zeppelinrox would get ahold of it I bet it would make little black zeppelins in the corners. Now to get back on-topic I have some bad news. [MENTION=4375968]Android-UK[/MENTION] confirmed that on CM10.1 based ROMs on saga V6 have troubles and causes laggines. That's weird.
[Android Software/Hacking General [Developers Only]] otterbvrn:
Is it?

so, I am not alone...
[Android Software/Hacking General [Developers Only]] lvnatic:
I deleted every file in init.d folder and the v6 supercharger folder, still same error. Android 4.3 rooted factory image.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ya so what's the path of the script?

I really don't need to get into tap dancing around simple questions.

its normal for some devs to say that because they "know" that their "personal tweaks" are the cat's ass.

Or they don't know what they're doing.

Take your pick.
[Android Software/Hacking General [Developers Only]] SlamberGamer:
That is weird. . This is the best m0d out their. Mybe they just jelous bc0z they cant make this awes0me tweak. Hehe
[Android Software/Hacking General [Developers Only]] lvnatic:
I don't know how that helps, its just a random location where I saved the script file. In my case it's:

/sdcard/Scripts/V6_SuperCharger_for_Android-Update9_RC12-BlackDog-63457_Fix.sh.pdf

So I open terminal emulator, type su, then sh and paste the path to the script. In android 4.2 that worked just fine (well, on smanager, not on temulator) and on 4.3 it is now not working, so I'm inclined to think google changed some things into the os that are preventing your script to work.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
OK run it like this in terminal:

sh -x /sdcard/Scripts/V6_SuperCharger_for_Android-Update9_RC12-BlackDog-63457_Fix.sh.pdf > /sdcard/debug.text

You won't see anything.

But when the cursor reappears, attach debug.text which will be on your sdcard
[Android Software/Hacking General [Developers Only]] pitbull292006:
Wow....never in my life have I seen a bigger bunch of dickeaters.... I asked a simple question, which only required a simply answer
[Android Software/Hacking General [Developers Only]] hoholee12:
What part of "read the OP first" do you not understand?

Its the obvious thing to do first while youre in here and the same applies to any other forums out there.
[Android Software/Hacking General [Developers Only]] leolawliet:
Search key, that is all

Sent from my Pokédex
[Android Software/Hacking General [Developers Only]] SagiTHORus_:
:crying:I got stuck in boot animation , HELP !!

MIUI V5
[Android Software/Hacking General [Developers Only]] eushaun99:
Don't quote the OP.
[Android Software/Hacking General [Developers Only]] SagiTHORus_:
service jar got me into bootloop on bth roms

MIUI , cm10.1 :(

Huh, don't know what i did, but now it simply 100% supercharged lol

Anyway , thanks sir zeppelinrox !
[Android Software/Hacking General [Developers Only]] lvnatic:
http://db.tt/LDqc0O1X
[Android Software/Hacking General [Developers Only]] zeppelinrox:
of course.

If it knows you flashed a new rom or if it bootlooped or instantly update all scripts, even custom ones, while keeping settings intact, then self awareness of its location is easy lol

users have put it on car computers and android media boxes actually.

Hitler thought he was Reich too.

Felt a little bit of cleaning up would be peachy.

Then those dickeating Allies showed up to ruin his self loving ass.

/godwinned

PS...

Its empty. Typo? Try again.

Or do:

su

sh -x /sdcard/Scripts/V6*

Copy/paste it all. I need to see all the output.
[Android Software/Hacking General [Developers Only]] DigitalUnderground:
[MENTION=3357461]zeppelinrox[/MENTION] is a #ScriptWizard
[Android Software/Hacking General [Developers Only]] hisname:
I have lags when playing around with options 6-9

YOU ARE LYING!!THIS SCRIPT DOESN'T WORK ON MY TOASTER!!my bread gets burnt.i have no more breakfast for the next few days:crying:

Sometimes the script doesn't detects properly.example: I flashed mod XXX , device bootloop, the script will produce a .txt file and tell me that the device boot loops and the script was not executed even though v6 didn't cause any bootloops
[Android Software/Hacking General [Developers Only]] eushaun99:
V6 works on every device. User error. :p
[Android Software/Hacking General [Developers Only]] VnnAmed:
What he said :D
[Android Software/Hacking General [Developers Only]] zeppelinrox:
That's why there are different minfrees. duh.

See that's why when somebody says V6 causes lags, they're really talking about using unsuitable minfrees and is the result of retarded logic.

Which in turn, is the same as saying, "I'm an Idiot and I don't know the difference between driving, and driving into a wall."

Yeah it says it "detected a bootloop" so it takes itself out of the equation.

It doesn't say that SuperCharger caused the bootloop, does it?

I'm liking GUI - General User Incompetence - but "Idiocy" works too lol
[Android Software/Hacking General [Developers Only]] hisname:
it didn't say SuperCharger causes it.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So how does it not detect properly if it did boot loop after a different mod flash?

BTW did reboot remove the dup kak scripts?

It would be nice if users actually follow up after I give them advice.
[Android Software/Hacking General [Developers Only]] viiron:
Unknown Directories & Read-Only File Systems

Having issues with the new FixEmissions. I've attached a log file detailing the errors.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Try in a couple of days.

Pretty sure I got that covered ;)
[Android Software/Hacking General [Developers Only]] El_Dark:
V6 Working on UNOFFICIAL CM7.2 for the Galaxy Ace-i

Just to give you the good news zepp, it worked like a charm on my Ace-i, although the device is still quite unstable on this ROM.

Also, zipalign is giving me a segmentation fault, I got to report that to [MENTION=4686683]bieltv.3[/MENTION] and see why it happens.

Detailing, Fast Engine Flush and most of every other options work like a charm, only exception of wheel alignment and fix emissions.

I still got to test KAK and 3G TCE
[Android Software/Hacking General [Developers Only]] zeppelinrox:
you never know lol

segfault would have to be due to the zipalign binary that you're using.

Ok that "Toobox!" shouldn't be there... should be blank... like this:

+ grep init\.d

+ echo /sdcard/V6_SuperCharger_for_Android-Update9_RC12.sh

+ [ ]

Do in terminal...

echo $0

What's the

exact

output?

btw, which busybox are you using?

after doing the above command, update busybox and try the script again.

edit: on second thought, updating busybox may not do it.

Also do:

which grep
grep --help
[Android Software/Hacking General [Developers Only]] lvnatic:
u0_a68@manta:/ $ su

root@manta:/ # echo $0

sh

root@manta:/ # which grep

/system/bin/grep

root@manta:/ # grep --help

Toolbox!

root@manta:/ #

I use the busybox version included in ur starter kit script. Same goes for sqlite and zipalign binary.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok your rom is using toolbox's grep but the syntax must be different and it don't have any help.

Do this test (yes initid is intentional):

echo initid | grep blah

echo initid | grep init

echo initid | grep init.d

echo initid | grep init\.d

echo initid | grep "init.d"

echo initid | grep "init\.d"
[Android Software/Hacking General [Developers Only]] bbrad:
I got 1 phone but its a Samsung galaxy s so it's easy as odining back to stock so I don't mind :rolleyes:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok eggheads....

I gotta figure out a "measuring stick" to gauge KSM cost/effectiveness...

uptime=`awk -F. '{print $1}' /proc/uptime`
uphours=$(($uptime/3600))
upmins=$(($uptime/60%60))
upsecs=$(($uptime%60))
echo "Data DeDuping $KSM is " | awk -F, '{printf "%31s", $1}'
if [ "$ksmdir" ]; then
if [ "`cat /sys/kernel/mm/$ksmdir/run`" -eq 1 ]; then
shared=`cat /sys/kernel/mm/$ksmdir/pages_shared`
sharing=`cat /sys/kernel/mm/$ksmdir/pages_sharing`
saved=$((shared/256))
deduped=$((sharing/256))
secondsperscan=$((uptime/`cat /sys/kernel/mm/$ksmdir/full_scans`))
minsperscan=$((uptime/`cat /sys/kernel/mm/$ksmdir/full_scans`/60))
secsperscan=$((uptime/`cat /sys/kernel/mm/$ksmdir/full_scans`%60))
ksmrunsperscan=$((secondsperscan*1000/`cat /sys/kernel/mm/$ksmdir/sleep_millisecs`))
echo "saving $deduped""MB RAM!"
echo $line
echo " $saved""MB is being used $((shared/sharing)) times."
echo " There have been `cat /sys/kernel/mm/$ksmdir/full_scans` full scans SINCE BOOT."
echo " Each scan takes $minsperscan min $secsperscan secs ($secondsperscan seconds)"
echo " $KSM runs $ksmrunsperscan times per scan"
echo " So saving..."
else echo "NOT Enabled!"
fi
else echo "NOT AVAILABLE!"
fi

Kinda sorta stumped.

I must be tired but I don't see it yet...

Gotta figure out what info/calculation goes with:

"echo " So saving...""

btw calculations assume that settings have been in effect on boot and uses uptime to calculate how long things take.
[Android Software/Hacking General [Developers Only]] hisname:
it didn't execute the script even though v6 didn't do anything bad. a reboot did remove the script
[Android Software/Hacking General [Developers Only]] defiant07:
As you know I don't have ksm and I dunno much about it, but I was doing some reading/googling and found THIS, which says "KSM efficiency can be calculated by dividing the pages_sharing value by thepages_shared value. A higher result indicates more times that a page is shared by KSM, and a greater efficiency of KSM."

Hope that helps ;).

===EDIT===

The same source also states "KSM's wasted effort can be evaluated by dividing the pages_unshared value by the pages_sharing value. A lower result indicates less wasted effort on the part of KVM, and better KVM performance." Thus, I guess this would be your 'cost' and the above would be your 'benefit,' so I guess dividing the two would give you a cost to benefit metric/ratio.
[Android Software/Hacking General [Developers Only]] SagiTHORus_:
Can i odex my rom after 100% supercharged :confused:
[Android Software/Hacking General [Developers Only]] hisname:
why not?
[Android Software/Hacking General [Developers Only]] hearts king101:
[MENTION=3357461]zeppelinrox[/MENTION]

Hi my dear friend, How are you? Long time no see.

I'm here just to check on you and I hope you're doing fine :highfive: and I wish you a happy life.

Have a nice day.

Regards,

Nadher.
[Android Software/Hacking General [Developers Only]] SagiTHORus_:
Oh, thanks for replying :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So it all works as intended.

Like I said, 99SuperCharger takes itself out of the bootloop equation - so the user knows for sure that if it bootlooped, at least it wasnt supercharger that did it.

That's doing it the hard way but yeah.

Even if you have to repatch later, patching deodex is easier than patching odex.

All is well thanks :)

Hope you're doing okay too.

Yeah I seen that info in a couple of places.

I had the code wrong...

echo " $saved""MB is being used $((shared/sharing)) times."

I supposed to be...

echo " $saved""MB is being used $((sharing/shared)) times."

I did say I was tired lol

Those ratios are indeed valid but they don't take into account how long it takes or the impact on battery life and they would actually always be the same result on the same device regardless of ksm settings - it's just a question of how long it takes to do it.

here is an example of what I mean...

Defaults...

/sys/kernel/mm/ksm/full_scans - 11

/sys/kernel/mm/ksm/pages_shared - 922

/sys/kernel/mm/ksm/pages_sharing - 17765

/sys/kernel/mm/ksm/pages_to_scan - 100

/sys/kernel/mm/ksm/pages_unshared - 47255

/sys/kernel/mm/ksm/pages_volatile - 81208

/sys/kernel/mm/ksm/run - 1

/sys/kernel/mm/ksm/sleep_millisecs - 20

64 seconds per scan

3200 ksm runs per scan

ksm runs 3200 times in 64 seconds!

Settings from @gu5t3r

/sys/kernel/mm/ksm/full_scans - 22

/sys/kernel/mm/ksm/pages_shared - 892

/sys/kernel/mm/ksm/pages_sharing - 16829

/sys/kernel/mm/ksm/pages_to_scan - 10000

/sys/kernel/mm/ksm/pages_unshared - 48451

/sys/kernel/mm/ksm/pages_volatile - 75727

/sys/kernel/mm/ksm/run - 1

/sys/kernel/mm/ksm/sleep_millisecs - 100

27 seconds per scan

270 ksm runs per scan

ksm runs 270 times in 27 seconds so it would do 2 full scans a minute with about 550 ksm executions.

My preliminary settings...

/sys/kernel/mm/ksm/full_scans - 87

/sys/kernel/mm/ksm/pages_shared - 882

/sys/kernel/mm/ksm/pages_sharing - 16266

/sys/kernel/mm/ksm/pages_to_scan - 12800

/sys/kernel/mm/ksm/pages_unshared - 32221

/sys/kernel/mm/ksm/pages_volatile - 67323

/sys/kernel/mm/ksm/run - 1

/sys/kernel/mm/ksm/sleep_millisecs - 15000

165 seconds per scan

11 ksm runs per scan

ksm runs only 11 times in 2 minutes, 45 seconds.

So ksm runs about 4 times per minute.

Of course it takes longer BUT wow... the unshared values is drastically lower (about 58 MB) than the first 2 tests...

[MENTION=4665716]gu5t3r[/MENTION] values are suprisingly least efficient :P

pages_unshared - 48451 = 189MB... twice per minute...

So 380MB scanned per minute with no benefit... :p

But it may be different since he has uksm and that may work differently... but I don't think it would be THAT different from what I came up with...

hmm... he did do a test before I can look at his numbers directly lol
[Android Software/Hacking General [Developers Only]] Computoncio:
Zep I'm using Dorimanx kernel with uksm

Here my data of uksm just after enabling it

app_110@android:/sdcard # sh play.sh
/sys/kernel/mm/uksm/abundant_threshold - 10
/sys/kernel/mm/uksm/cpu_governor - [full] medium low quiet
/sys/kernel/mm/uksm/cpu_ratios - 20 40 MAX/4 MAX/1
/sys/kernel/mm/uksm/ema_per_page_time - 500
/sys/kernel/mm/uksm/eval_intervals - 1000 500 200 50
/sys/kernel/mm/uksm/full_scans - 1
/sys/kernel/mm/uksm/hash_strength - 64
/sys/kernel/mm/uksm/max_cpu_percentage - 95
/sys/kernel/mm/uksm/pages_scanned - 0
/sys/kernel/mm/uksm/pages_shared - 0
/sys/kernel/mm/uksm/pages_sharing - 0
/sys/kernel/mm/uksm/pages_unshared - 0
/sys/kernel/mm/uksm/run - 0
/sys/kernel/mm/uksm/sleep_millisecs - 500
/sys/kernel/mm/uksm/sleep_times - 0
/sys/kernel/mm/uksm/thrash_threshold - 50

I'm up for testing too and i will report back ;):p

So, if you need anything more just ask.

Edit: Later i will upload again with pages shared.

app_110@android:/sdcard # sh play.sh
/sys/kernel/mm/uksm/abundant_threshold - 10
app_110@android:/sdcard # sh play.sh
/sys/kernel/mm/uksm/abundant_threshold - 10
/sys/kernel/mm/uksm/cpu_governor - full [medium] low quiet
/sys/kernel/mm/uksm/cpu_ratios - 20 30 MAX/4 MAX/1
/sys/kernel/mm/uksm/ema_per_page_time - 8769
/sys/kernel/mm/uksm/eval_intervals - 1000 500 400 100
/sys/kernel/mm/uksm/full_scans - 1
/sys/kernel/mm/uksm/hash_strength - 64
/sys/kernel/mm/uksm/max_cpu_percentage - 50
/sys/kernel/mm/uksm/pages_scanned - 221141
/sys/kernel/mm/uksm/pages_shared - 1757
/sys/kernel/mm/uksm/pages_sharing - 14314
/sys/kernel/mm/uksm/pages_unshared - 24855
/sys/kernel/mm/uksm/run - 1
/sys/kernel/mm/uksm/sleep_millisecs - 500
/sys/kernel/mm/uksm/sleep_times - 2649
/sys/kernel/mm/uksm/thrash_threshold - 50

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v9.35

1st ROM : Vanilla RootBox Nightly 20130718

2nd ROM : Resurrection Remix v4.0.4 (Online)

MODEM: Modem+RIL - XXLS8

MODS: My RR mods, My RB mods, Partition Fix, ASUL v5.1.1 by Kroz :good: and V6 SuperCharger:p
[Android Software/Hacking General [Developers Only]] gu5t3r:
full_scans -> 367
hash_strength -> 35
min_scan_ratio -> 1
pages_scanned -> 1726499
pages_shared -> 1752
pages_sharing -> 9041
pages_unshared -> 42148
run -> 1
scan_batch_pages -> 10000
sleep_millisecs -> 100
sleep_times -> 53772
thrash_threshold -> 50

16:58:24 up 10:50, load average: 9.88, 9.53, 9.74

I know my values 10000/100 are little high, but I said CTCaer recommends 5000/60 for balace between battery and performance on uksm, and I have 5000/100 as low in LuPuS menu to preffer battery....

On my LT18 which is low on ram your values are too slow for me...

What I could live with is at least 10000/1000
[Android Software/Hacking General [Developers Only]] bbrad:
Zep does this guy have permission to put your mod in his mod? http://xdaforums.com/showthread.php?t=2360670
[Android Software/Hacking General [Developers Only]] hisname:
that jeeko dude again? nope, he doesn't have permission
[Android Software/Hacking General [Developers Only]] bbrad:
I'm gonna contact a mod but first I for to here it official from zep then I'm gonna get that jeeko dude banned because he just thinks he can rip off other peoples work.
[Android Software/Hacking General [Developers Only]] dark_knight35:
I once wrote a hater comment against him, but guess what? - a moderator removed it. Always intersting to see that they support pirates in the first way. Unfortunately there are many jeekos out there :(.
[Android Software/Hacking General [Developers Only]] lvnatic:
u0_a68@manta:/ $ su

root@manta:/ # echo initid | grep blah

Toolbox!

root@manta:/ # echo initid | grep init

Toolbox!

root@manta:/ # echo initid | grep init.d

Toolbox!

root@manta:/ # echo initid | grep init\.d

Toolbox!

root@manta:/ # echo initid | grep "init.d"

Toolbox!

root@manta:/ # echo initid | grep "init\.d"

Toolbox!

root@manta:/ #

The rom im using is factory image 4.3 btw, rooted, deodexed. Stock kernel as well.
[Android Software/Hacking General [Developers Only]] defiant07:
Should have known you already knew and that it couldn't be that simple :p. Yeah, that $((shared/sharing)) seemed odd to me, but I just assumed you knew what you were doing, lol.

Why ya gotta make it so complex for...bringing time into the equation and what not...thanks for droppin' the science on me yet again :good:.

He knows about it, I gave him a heads up back close to when it was initially released.

Hey me too...welcome to the club...the key is to question the work on technical level and avoid phases that could be interpreted as value judgements like bad, horrible, pos, etc.
[Android Software/Hacking General [Developers Only]] UpInTheAir:
Don't be so rude ! zep may get some donations, but none of anyones business. obviously he shares his work with us because he wants to, and not financial gain. Thanks zepp !
[Android Software/Hacking General [Developers Only]] UpInTheAir:
Well, if it was a joke, some sort of smily would help, wouldn't it?

I do (edit: try) develop myself, present kernels and past ROMs. So I have an appreciation of what zep has given up to share with us. ;)

Comments such as yours don't belong in a development thread (joking or not), PM is best :)
[Android Software/Hacking General [Developers Only]] Daniel D.:
You should not ask someone about his donations. People are donating far too little in my eyes. It doesn't have to be large sums of money, but 1$ is better than nothing.
[Android Software/Hacking General [Developers Only]] hisname:
exec /system/bin/sh '/storage/emulated/0/tapatalk_download/ksm.sh.pdf'
/tapatalk_download/ksm.sh.pdf' <

================================================
Data DeDuping KSM is NOT AVAILABLE!
================================================
System Awake Time is 0:12:07
================================================
System Idle Time is 0:20:14
================================================
System Deep Sleep Time is 0:01:23
================================================
System Up Time is 0:13:30
================================================

I will try it on kernel 2 later
[Android Software/Hacking General [Developers Only]] bbrad:
Yea I'm actually working on my own mod but its actually gonna work instead of ripping off work.