yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hisname:
I didn't have the time yesterday to try out your old ksm script on my kernel 2 device. and now you come out with a newer script??!!

exec /system/bin/sh '/storage/emulated/0/tapatalk_download/ksm2.sh.pdf'
/tapatalk_download/ksm2.sh.pdf' <

================================================
Data DeDuping KSM is NOT AVAILABLE!
================================================
System Awake Time is 0:46:18
================================================
System Idle Time is 1:02:21
================================================
System Deep Sleep Time is 3:35:22
================================================
System Up Time is 4:21:40
================================================
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Didn't I tell you to stop posting useless output?

Only post ksm results if you actually have ksm.

Goddammitsogoddammuch.

I'm going to bed.

And stop doing nonsensical things.
[Android Software/Hacking General [Developers Only]] Mr Prize:
okay i made the folder data/V6_SuperCharger . Now the error of that SuperChargerOptions directory is not coming. But this is coming - http://postimg.org/image/6utbqj0b9/

should I make a folder here as well?
[Android Software/Hacking General [Developers Only]] Computoncio:
Already done that, and the script is on /sbin/ext is part of the kernel, it's change settings in wake and sleep modes, and gets mount every boot.

So i just added a patch in init.d to replace the file after booting.

It's better this way cortexbrain-tune.sh

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]] zeppelinrox:
[MENTION=5327335]Mr Prize[/MENTION] Do the mount command that I asked for.

Use terminal.

Also do:

busybox mkdir -p

Does that error?

And yeah, make the folder but that's just a workaround.

You're likely to have other odd errors if your busybox is funky.
[Android Software/Hacking General [Developers Only]] Mr Prize:
i made the folder and ran the script, few errors were coming, like when using powershift, it could not create the file, but after sometime it does. So I kept running.. stuck on bootloop for about 4 retries.. have started working on 5.. will update the rest after some time..

Yo! thanks
[Android Software/Hacking General [Developers Only]] lvnatic:
I renamed all the files with .txt extension and the script is now working. Applied all tweaks and minfree values, and they all seem to stick after reboot, everything is working, very nice.

Thanks a lot for the help and sorry to bother with such things, it's been 2 days since we're trying to figure this out :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ya that's what happens when things go in one ear and out the other without a pitstop in the brain.

I said to do a couple of simple commands and that just making the folders is just a workaround because there is something buried with the rom.

Instead you ignore all that and boot loop.

That'll learn ya.

Pay attention to the bold.

that's what happens when a user listens... things start working :p

I wonder why the ROM dev would put those files in /system/bin.

The attachment seems to really be a text file too.

It almost seems to be an intentional act of sabotage in that the only reason for them to be there is to break commands.
[Android Software/Hacking General [Developers Only]] hisname:
alright, alright. chill dude . stop crying. I tested it on my kernel 2 device, it seems like it doesn't have KSM either. time to bug my dev to add KSM:p
[Android Software/Hacking General [Developers Only]] clay101eve:
Zepp doesn't cry. He points out the user errors. Zepp makes mistaken users cry. Cry on baby, cry on!

Clay

Team Pirate

Sent from my Carbonized I777
[Android Software/Hacking General [Developers Only]] bbrad:
I only see one person crying and that's you.
[Android Software/Hacking General [Developers Only]] ruelericsapalaran:
I'm trying to install the black dog sh but I'm encountering a problem. I'm stuck with the question "Erm... Is com.gau.go.lancherex.theme.defaultthemethree the launcher?". Go Launcher EX is my current launcher so I choose Yes, however, it does not proceed and goes back to the question again. How do I fix this?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] phonetool:
The second question is slightly different. Pay close attention.

At any rate, just answer to confirm that you have the correct launcher and the next step should be right into the normal V6 stuff.

I had this exact scenario play out for me a few days ago when ADW Launcher was updated. The update removed the Hard To Kill status of the launcher. Running V6 again (fixed dog) got me back to 100% supercharged.

Thanks zeppelinrox!
[Android Software/Hacking General [Developers Only]] hisname:
you people can't take jokes eh? I have been a long time user of this mod. zep and I had trolled each other before. I was just trolling him. duh. I never meant harm.
[Android Software/Hacking General [Developers Only]] ruelericsapalaran:
So, I'll just choose no? Coz if I choose "No", it will say that my home launcher is "android.process.acore" which is not my launcher (I think). :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
it probably is.

If you have die hard launcher its the only process with ADJ 1.

Check the bOOM Stick - just like the script says.

ya stick to what you're good at - Biggin'

:D

That's right.

In fact, when I was born, I slapped the doctor!

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

And hey, nobody playing with the new KSM script or what?

Slackers... lol
[Android Software/Hacking General [Developers Only]] eushaun99:
You mean this?

exec /system/bin/sh '/storage/emulated/0/xdahd_download/ksm2.sh'
root@android:/ # exec /system/bin/sh '/storage/emulated/0/xdahd_download/ksm2.sh'

================================================
Data DeDuping KSM savings - 54.79 MB!
================================================
6.17 = Benefit/Cost Ratio -> HIGHER IS BETTER!
8.77 Benefit Ratio x Shared 6.25 MB = 54.79 MB
1.42 Cost Ratio x 54.79 MB = 77.88 MB (Unique)
25 - Full Scans SINCE BOOT.
10 min 21 secs (621 seconds) Needed Per Scan
KSM Executes 443.57 Times Per Full Scan
================================================
KSM Per Minute Summary (Based on Awake Time)
KSM Executes 42 Times.
5.29 MB - Scanned Beneficially Per Minute.
7.52 MB - Scanned Wastefully Per Minute.
================================================

Current KSM Values:
===================

full_scans - 25
pages_shared - 1599
pages_sharing - 14025
pages_to_scan - 200
pages_unshared - 19936
pages_volatile - 54091
run - 1
sleep_millisecs - 1400

================================================
System Awake Time is 4:19:03
================================================
System Idle Time is 4:47:33
================================================
System Deep Sleep Time is 12:58:41
================================================
System Up Time is 17:17:44
================================================
[Android Software/Hacking General [Developers Only]] TJKV:
Actually, working hard to get init.d working so I can play with it :P
[Android Software/Hacking General [Developers Only]] zeppelinrox:
you enabled it sometime after boot?

Nice :)

Run the new one anyway. :cool:
[Android Software/Hacking General [Developers Only]] lvnatic:
The ROM is factory image 4.3, rooted. So the developer is Google himself.
[Android Software/Hacking General [Developers Only]] eushaun99:
You mean run the script? Then yeah. Sorry I didn't follow up the old posts. What do you want me to do exactly?
[Android Software/Hacking General [Developers Only]] hisname:
I think that Samsung is using V6 to boost benchmarking :eek:

http://www.anandtech.com/show/7187/looking-at-cpugpu-benchmark-optimizations-galaxy-s-4
[Android Software/Hacking General [Developers Only]] mixednuts:
Have you tried init.d injector?
[Android Software/Hacking General [Developers Only]] otterbvrn:
exec /system/bin/sh '/storage/primary/legacy/tapatalk_download/ksm2.sh.pdf'
legacy/tapatalk_download/ksm2.sh.pdf' <

================================================
Data DeDuping UKSM savings - 45.53 MB!
================================================
5.43 = Benefit/Cost Ratio -> HIGHER IS BETTER!
14.11 Benefit Ratio x Shared 3.23 MB = 45.53 MB
2.60 Cost Ratio x 45.53 MB = 118.35 MB (Unique)
7 - Full Scans SINCE BOOT.
45 min 3 secs (2703 seconds) Needed Per Scan
UKSM Executes 27030.00 Times Per Full Scan
================================================
UKSM Per Minute Summary (Based on Awake Time)
UKSM Executes 600 Times.
1.01 MB - Scanned Beneficially Per Minute.
2.63 MB - Scanned Wastefully Per Minute.
================================================

Current UKSM Values:
===================

abundant_threshold - 10
cpu_governor - [full] medium low quiet
cpu_ratios - 20 40 MAX/4 MAX/1
ema_per_page_time - 44604
eval_intervals - 1000 500 200 50
full_scans - 7
hash_strength - 64
max_cpu_percentage - 95
pages_scanned - 728009
pages_shared - 826
pages_sharing - 11656
pages_unshared - 30297
run - 1
sleep_millisecs - 100
sleep_times - 32787
thrash_threshold - 50

================================================
System Awake Time is 5:15:25
================================================
System Idle Time is 3:09:47
================================================
System Deep Sleep Time is 15:01:00
================================================
System Up Time is 20:16:25
================================================
[Android Software/Hacking General [Developers Only]] TJKV:
Well we compile from source, so we fixed it where it was broken :)

init.d works but ksm still doesn't seem to want to work, so some more work to be done.
[Android Software/Hacking General [Developers Only]] mixednuts:
Ah... you're compiling from source.

You weren't listed as the OP for that ROM thread, so I just assumed you were a user / tester. :o
[Android Software/Hacking General [Developers Only]] dark_knight35:
[MENTION=3357461]zeppelinrox[/MENTION] I think that jeeko dude tries to communicate with you in his thread :D.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well whoever rooted it and put it together maybe fubarred something?

I meant was KSM turned on/enabled sometime after boot or was it enabled on boot?

How so?

Awesome.

I can compare these settings with another users that has the same uksm version but is really slow.

btw did you enable it after boot or was automatically enabled?

Y U NO RUN NEW TEST?

Responded
[Android Software/Hacking General [Developers Only]] jasonkhoo87:
May I know PowerShift_Scripts folder is for what purpose? Is it auto generate? Because Im currently using fix version, there will be re-generating error for all script inside that folder.. By the way, I use custom values for memory management.. Not applying the suggested from menu.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I already told you to look at the menu options.

And post a screen shot of the error
[Android Software/Hacking General [Developers Only]] hisname:
Performance increase was observed . I suppose they must have hid some of your code in the rom? lol. just my imagination
[Android Software/Hacking General [Developers Only]] Daniel D.:
Did you read the article and understand it? Your imagination is... forget it. Waste of time.
[Android Software/Hacking General [Developers Only]] TJKV:
Y U NO READ?

KSM still doesn't work yet :p

Works on our device's Cyanogenmod ROMs but not on SB that I'm compiling...

EDIT: Oh wait do you mean you want me to test run the new one to see if it handles the zero error properly? In that case okay will run it and post..

Okay here it is:

# sh /sdcard/ksm2.sh

================================================
Data DeDuping KSM is On... But BORKEN!
================================================

Current KSM Values:
===================

full_scans - 0
pages_shared - 0
pages_sharing - 0
pages_to_scan - 256
pages_unshared - 0
pages_volatile - 0
run - 1
sleep_millisecs - 1500

================================================
System Awake Time is 12:01:27
================================================
System Idle Time is 10:22:55
================================================
System Deep Sleep Time is 0:00:01
================================================
System Up Time is 12:01:28
================================================

Was plugged in, hence no deep sleep...
[Android Software/Hacking General [Developers Only]] india86:
exec /system/bin/sh '/storage/primary/legacy/tapatalk_download/ksm2.sh.pdf'
legacy/tapatalk_download/ksm2.sh.pdf' <

================================================
Data DeDuping KSM savings - 25.00 MB!
================================================
1.59 = Benefit/Cost Ratio -> HIGHER IS BETTER!
4.01 Benefit Ratio x Shared 6.23 MB = 25.00 MB
2.52 Cost Ratio x 25.00 MB = 63.06 MB (Unique)
42 - Full Scans SINCE BOOT.
8 min 44 secs (524 seconds) Needed Per Scan
KSM Executes 349.33 Times Per Full Scan
================================================
KSM Per Minute Summary (Based on Awake Time)
KSM Executes 40 Times.
2.86 MB - Scanned Beneficially Per Minute.
7.22 MB - Scanned Wastefully Per Minute.
================================================

Current KSM Values:
===================

full_scans - 42
pages_shared - 1595
pages_sharing - 6401
pages_to_scan - 256
pages_unshared - 16143
pages_volatile - 33347
run - 1
sleep_millisecs - 1500

================================================
System Awake Time is 6:07:12
================================================
System Idle Time is 4:03:39
================================================
System Deep Sleep Time is 10:20:45
================================================
System Up Time is 16:27:57
================================================

Kernel 3.4.54 nA+
[Android Software/Hacking General [Developers Only]] Exile1975:
When running the detailing script from within the v6 script it has a wait as if it were running on boot. Stalls for a few minutes is what i mean.
[Android Software/Hacking General [Developers Only]] eushaun99:
Sorry, but I don't know. My ROM doesn't have any switch to turn on or off ksm. Any way of finding that out?
[Android Software/Hacking General [Developers Only]] otterbvrn:
Auto enabled zep
[Android Software/Hacking General [Developers Only]] gu5t3r:
================================================
Data DeDuping UKSM savings - 30.12 MB!
================================================
0.93 = Benefit/Cost Ratio -> HIGHER IS BETTER!
4.51 Benefit Ratio x Shared 6.68 MB = 30.12 MB
4.83 Cost Ratio x 30.12 MB = 145.57 MB (Unique)
261 - Full Scans SINCE BOOT.
2 min 58 secs (178 seconds) Needed Per Scan
UKSM Executes 890.00 Times Per Full Scan
================================================
UKSM Per Minute Summary (Based on Awake Time)
UKSM Executes 300 Times.
10.15 MB - Scanned Beneficially Per Minute.
49.07 MB - Scanned Wastefully Per Minute.
================================================

Current UKSM Values:
===================

full_scans - 261
hash_strength - 224
min_scan_ratio - 1
pages_scanned - 1607184
pages_shared - 1710
pages_sharing - 7712
pages_unshared - 37265
run - 1
scan_batch_pages - 15000
sleep_millisecs - 200
sleep_times - 19034
thrash_threshold - 50

================================================
System Awake Time is 12:54:59
================================================
System Idle Time is 11:52:55
================================================
System Deep Sleep Time is 0:00:05
================================================
System Up Time is 12:55:04
================================================

Played with your logic to scan more pages with bigger sleeps...

15000/250 also runs good for me...
[Android Software/Hacking General [Developers Only]] killaflow:
I'm using it with crossbreeder & it's showing that I have 16 entropy points when I actually have 4096 from another app.anyway it's freaking awesome I've been using this script since I discovered it
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I'm adding a fix for that...

if [ "`grep`" = "Toolbox!" ] || [ "`cp`" = "Toolbox!" ]; then sleep="sleep 3"
echo " What The Hell?"
echo $line
echo ""
$sleep
echo " This ROM has fubarred commands such as..."
echo ""
$sleep
echo " ...\"grep\" or \"cp\" (copy)..."
echo ""
$sleep
echo " ...which can break ANY shell script or apps!"
echo ""
$sleep
echo " Gonna fix up that crap for you..."
echo ""
$sleep
remount rw
for i in /system/bin/*; do
if [ "$i" != "/system/bin/toolbox" ] && [ "`$i`" = "Toolbox!" ]; then rm $i; fi
done
remount ro
echo $line
echo " All Done! And You're Welcome!"
echo $line
echo ""
$sleep

BINGO :)

Thanks.

Yeah that can use a bit of tweaking ;)

What version?

Latest doesn't have any wait at all.

oh ok just making sure you hadn't turned it on yourself afterwards is all.

Interesting... That version of ukms doens't seem to get very active at all.

You have full cpu governor and 95 max cpu percentage.

Run the script again and then afterwards do:

stat /sys/kernel/mm/uksm/*

Actually I'm now leaning ther other way a bit now.

I read that to save on cpu, scan less pages at a time.

So right now playing with 1000 pages at 500ms

Hey how is it that you have no deep sleep time?

Was the phone plugged into a computer all 13 hrs?
[Android Software/Hacking General [Developers Only]] Exile1975:
I'm using the latest black dog fix. After doing a fresh install and running the detailing script for the first time.

Edit: its still doing the wait if i choose 18 from the list again.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Tell me what you're smokin' or post a screen shot :cool:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I had clicked thanks but I removed it

XDA should have a rule about being a 2 faced twat.

Welcome to my ignoramus list

PS. Any drop caches script started with my work just like alot of stuff in V6.

Some people love second best because that's what they deserve.
[Android Software/Hacking General [Developers Only]] Exile1975:
At this point it sits for two minutes. I timed it. If you want i can take an ss of starting it, and the time it completes you'll see that i start it, but the time the script shows itself starting is two minutes later
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It say

commencing sqlite

... blah blah... it doesn't say that it's waiting for anything.

When it says "

this may take awhile

", it's because it's busy doing something -

looking for db files

.
[Android Software/Hacking General [Developers Only]] Exile1975:
Alright, sorry. Just must be a coincidence that it takes exactly two minutes. Thanks for the help, and sorry to waste your time.
[Android Software/Hacking General [Developers Only]] El_Dark:
Hi zepp,

Two things :P first one is regarding zipalign, I'm still getting segfaults when I run it, I actually grabbed the one from the SuperCharger Starter Kit... I have busybox 1.21 and running on CyanogenMod 7.2 RC2 for Ace-i by [MENTION=4686683]bieltv.3[/MENTION]

Except for that thingie I'm 100% Supercharged :D

Second one, if my /sys/kernel/mm/ directory is empty, what the fubar does it mean!? Is it that I don't have KMS in my kernel? Also, Gingerbread 2.3.7, forgot to mention that....

Thanks in advance!!
[Android Software/Hacking General [Developers Only]] brxx1:
Sorry for spam but What id ksm? Tried TO google it but i don't think it's kasperry mobile securety..

Before posting something under this, read the OP. It's scientifically demonstrated that the 98% of the problems that affect xda average user it's caused by the lack of reading. the 2% left is caused by aliens hacking your phone.
[Android Software/Hacking General [Developers Only]] El_Dark:
Get a read :)

http://www.linux-kvm.org/page/KSM
[Android Software/Hacking General [Developers Only]] tomascus:
Hey guys, oddly my minfrees reset after screen off. It successfully applies at boot up and all, but every time I put my phone to sleep, min frees are reset to default.
[Android Software/Hacking General [Developers Only]] killaflow:
ur catching feelings like a *****!! v6 is a load of crap there much better mods out there
[Android Software/Hacking General [Developers Only]] eushaun99:
You do know that all the other mods out there originated from v6 right? So don't go running your mouth saying v6 is crap. You don't even know what you're talking about lol.
[Android Software/Hacking General [Developers Only]] Yenkazu:
GUI
[Android Software/Hacking General [Developers Only]] defiant07:
Ignorance must truly be bliss...don't be mad that Zep caught you being a punk and that he called you out on it. Just shut up and fade into nothingness.

Nothing is as innovative and intelligent as V6 as Zep's current research and labours on ksm vividly illustrates. Who else writes test scripts just to collect a sufficient sample of data in order to quantify and validate their mods?

Its 380 kb worth of code is smarter that your 1 byte mind, show some respect...No Supe For You! Come Back Never! :mad:
[Android Software/Hacking General [Developers Only]] TheEndHK:
I'm using CrossBreeder 5.21.13 ... Does Supercharge V6 and KickAssKerneler work with CrossBreeder?
[Android Software/Hacking General [Developers Only]] n3n00:
Well, I've added everything except * manually with RE (in 08KernelTweak), so can I remove everything except those IO lines from the file?
[Android Software/Hacking General [Developers Only]] :
Congratulations Zep! You really deserved that! :)

I think false is better in some way. I have new ROM now and I have little trouble with V6 SC sticking, so I will test it when I make supercharger fine. :D

ZaTapatalkowane & WyHtcIME'owane z ZTE Blade :)
[Android Software/Hacking General [Developers Only]] kakagi:
i am bit confused.... can i use this script in my samsung galaxy mini rooted deodexed rom?
[Android Software/Hacking General [Developers Only]] Consan:
Is this working with Samsung galaxy S MIUI Galnet Twooey?
[Android Software/Hacking General [Developers Only]] :
Hey, Guys, did your parents teach you to read with understanding & use your own brains?

Why just didnt you red the first post, why are you asking for that what is in the first post???

It's so annoying.... Zep is hard working on his mod, hes writing a long post, and you had it in your ass. Damn it!

So, take your asses to first post and learn, ****.

ZaTapatalkowane & WyHtcIME'owane z ZTE Blade :)
[Android Software/Hacking General [Developers Only]] Consan:
very mature post..shall we start with personal attacks now???You can take out your anger on someone else. I cant help it if you live in a poor country sry..blame it on your parents
[Android Software/Hacking General [Developers Only]] :
Well, I'm tester of Zep modification and of course I can tell you a lot.

But...

If you don't want to read first post...

I'm sure a lot of users who help to make this mod better would tell the same. It's non personal attack. It's attack for noobism.

You and few other think like this:

"I'm a noob so I don't must do ANYTHING. Someone stupid could say me all 1000 times, I have in my ass that's all what is in FIRST POST. I have in my ass how many time it take to make this mod happen. I'm most important guy in the world, because I don't understand and I don't want learn anything on my own. Haha "

I tell you, THIS WILL WORK ON ALL DEVICES.

Now you understand???

Now, try do something by yourself or take your ass out of this topic.

Day to day I'm very peaceful, but how many times can we talk about the same.

And, your attack for my country is so so funny. Your ****ing pitiful noob who only insult others.

Go out of this topic.

I'm doing something for Zep, Do You?

ZaTapatalkowane & WyHtcIME'owane z ZTE Blade
[Android Software/Hacking General [Developers Only]] Consan:
Im not a n00b. I read but I guess I missed that part. Im doing something for myself mate , and that is leaving this ****ty topic.. It was you who started to attack me and my parent so im not the bad guy here