yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mcord11758:
Two men enter, one man leave
[Android Software/Hacking General [Developers Only]] Consan:
I respect his work, I dont respect you..you are talking about respect. How can you say that when you offend me with your post .. thats not respect thats insolence..

Originally Posted by rafalo1333 View Post

"Hey, Guys, did your parents teach you to read with understanding & use your own brains?"

Thats really respect dude... Good work zeppelinrox .to bad you have a jackass as a tester.
[Android Software/Hacking General [Developers Only]] teorouge:
Wow, Zep's Supercharger really charges (people) up! :)
[Android Software/Hacking General [Developers Only]] :
It was question can you read & think.

Your posts shows you can't.. You don't even don't understand what is respect.

Now, leave this topic.

You don't help yourself and you don't help other. You only mess Zep work. Go out.
[Android Software/Hacking General [Developers Only]] n3n00:
Ok, phone is definitely snappier with supercharge (balanced 1) and kickass kernel. I just dunno if IO tweak (from kickass kernel) is working or not. Script is added to init.d, but I uninstalled Script Manager. Do I need to run kickass kernel on boot (using SM) or not?

Results noticed:

-less lag in menus (in FroyoMOD there is little lag when scrolling in Settings, using this, it is gone).

-no apps force closing.

+3G turbo not tested yet. I don't use it often :).

Thanks again, zeppelin!
[Android Software/Hacking General [Developers Only]] Dexter_prog:
Anyone? I am using a custom rom and I don't know where else to look :S
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Guys chill out.

Seriously! There is no need to talk about religion and parents.

If dori or I did that, he wouldn't be contributing so just stick to the main point.

New users are more than welcome!

I need to make FAQ.

So one can say what the "FAQ" :p
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh you've been aware of this for months. You're on page 1 lol

Welcome back to the thread :D

you can check with the cat command found in the kernel post.

if noop is used it worked
[Android Software/Hacking General [Developers Only]] denzel09:
Ahahah it s amazing :D
[Android Software/Hacking General [Developers Only]] n3n00:
It says

None

None

None

None

...

[Noop] cfq

[Noop] cfq

[Noop] cfq

...

None

None

... etc.

So I guess it's working.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yep it is :D
[Android Software/Hacking General [Developers Only]] :
Haha thats rock :D

LOL

Yeah, FAQ will be nice, especially for such boorish noobs. :D

ZaTapatalkowane & WyHtcIME'owane z ZTE Blade :)
[Android Software/Hacking General [Developers Only]] gu5t3r:
Like which ones?

V6 is the ONLY that tweaks LMK behaviour in services.jar/odex

V6 and KAK have cleanest code so you know what it is doing to your phone...

V6 and KAK are the only versatile ones that will work on all phones (and android toasters XD)

Almost all other tweak scripts are maker's phone bounded and will not work on all phones (or even same phones with different kernels)...

If you need to write boost manually each time to flush, I may disappoint you, but you can make your own script with two lines and request developer status:

echo 3 > /proc/sys/vm/drop_caches;
echo 1 > /proc/sys/vm/drop_caches;

So, you didn't discovered hot water....

Point of zepps scripts is automatization...

I don't get you people that are using CrossBreeder and other entropy apps... All latest kernel have either frandom support or entropy patch... That stuff just slow your phone down because frandom has 50MB/s throughput... No CrossBreeder or any app can do that...

All people whining V6 makes your phone slower than other tweaks, just put in higher minfrees, phone will multitask less and be faster...

(Most of other tweak scripts are using very high minfrees and while phone may be a bit faster but whats the point if you can't multitask)
[Android Software/Hacking General [Developers Only]] jader13254:
Says the guy who has no idea of anything :cool:

Go 'n install all the ultimate super mega hyper ultra over blazer mods with random build.prop tweaks, mixed init.d scripts and enjoy it! If you can :p
[Android Software/Hacking General [Developers Only]] jasonkhoo87:
Sorry, It my fault.. From menu explanation, I know that it this folder is where the profile are store.. So, basicly I can delete any that I do not want.. No more error for me..

Its not your bug, its a bug in my head.. :p
[Android Software/Hacking General [Developers Only]] Yenkazu:
Yes, simple script can do that, already in Linux web or similar for drop RAM cache

XD

Actually, for minfree tweak, we should have more testing by ourself, to find a suitable minfree for us

XD

I, for myself, higher minfree make me lag as hell ( insane right ? )

But some, have benefit by using high minfree

So, just testing, change minfree is so hurt ?

No, is so simple

And thanks for your explanation =)

Some people nowadays lazy to typing into Google search, they need some Voice Assistant to do that

XD
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thanks.

Can you actually do 3 things all in a row.

Run the ksm2 script.

Do that stat command

Then do busybox date

I'm lookin for modification time of the ksm files in relation to the current time or if they only get changed on boot or whatnot.

I imagine you'd get segfaults if you run another zipalign script, yes?

If so, you need to find a good zipalign binary for your rom.

If not, I need to find out why the script would do it.

Second... run ksm tester... it will tell you lol (but the answer is yes)

Some boot script stays in memory and changes minfrees with screen off/on.

Thanks.

Yeah I'm seeing that longer delays result in lower B/C ratios...

I'm thinking that 1000 sleep, 2000 batch size is ideal.

Or 500 sleep/1000 batch size. (Both do a full scan in the same length of time.)

No worries.

But screen shot of the error would show whether I need to tweak anything :p

+1 lol

The logic makes no sense.

Imagine thinking that a copycat script with half the features is better than the full blown multi-featured original/template/predecessor/trail blazer...

...Gross User Ignorance lol

Hey can you answer my question as to why your previous ksm output showed no deep sleep time?

Everybody doesn't do test scripts like that? ;)

Something you said made me think of something... and can't really decide what to choose...

Well it's a safe assumption say that the truth butt hurts so...
[Android Software/Hacking General [Developers Only]] :
Hey

I need your assistance. I want to know using a command or script the name of the process currently running from list of all running processes. Any idea?

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] hoholee12:
/proc/blah/cmdline <-process name

/proc/blah/comm <-short one

/proc/blah <- process id

Google is your best friend.
[Android Software/Hacking General [Developers Only]] :
I tried Google but not getting what I want.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] hoholee12:
If you want to ask technical or off topic questions, you should do it via PM.
[Android Software/Hacking General [Developers Only]] otterbvrn:
What is the command of busybox date?
[Android Software/Hacking General [Developers Only]] eushaun99:
Its

busybox date
[Android Software/Hacking General [Developers Only]] gu5t3r:
Probably it was on charger overnight... Can't remember...

Will do a test unplugged tomorrow...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Do you means gets its own information or get info on something else ?

Or give an example of what you wanna do

Oh look at the big brain on @eushaun99 lol

hmm well the times stamps arent' helping at all.

But now I realize that hackable values are in any file with 644 permissions...

abundant_threshold

cpu_governor

cpu_ratios

eval_intervals

max_cpu_percentage

run

sleep_millisecs

thrash_threshold

Documentation on ukms 1.2 states that only run, sleep_millisecs, max_cpu_percentage and cpu_governor are configurable but you do have more stuff showing up than in that documentation so I'm not even sure if that's ukms 1.2 lol

Maybe you missed it but I had also asked before... are you sure that uksm keeps the phone awake?

KSM will keep running when plugged into the laptop (with the screen off) because when plugged in, the phone doesn't go to sleep and the full_scan count keeps climbing.

Otherwise, the full_scan counts stops whenever the screen is off - even when plugged into a wall charger.
[Android Software/Hacking General [Developers Only]] Yenkazu:
[MENTION=3357461]zeppelinrox[/MENTION]

Running process ?

Maybe he asking how to create like a Boom stick

XD
[Android Software/Hacking General [Developers Only]] :
Actually I want to kill all the user processes except the running one for e.g. if I am using TE to fire a script or commands to do so then it should not be killed. But I want to make it dynamic not just comparing the of running of process and kill everything except. I thing you should be clear now.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] eushaun99:
Not as big as yours. :D
[Android Software/Hacking General [Developers Only]] hoholee12:
So you want to make a task killer then?
[Android Software/Hacking General [Developers Only]] rignfool:
Question...

After changing ROMs and kernels I have managed to get V6 to boot on my phone...

However... The entropy pool is not filling up...

The supercharger log says it has run... But entropy fails to get above 500...

If I run V6 again... Entropy climbs to 3k or so... After reboot... It doesn't stick...

What info do you need from me?

I haven't patched my services.jar yet for lack of a PC...
[Android Software/Hacking General [Developers Only]] otterbvrn:
So, What can you say about it?

Abnormal uksm?
[Android Software/Hacking General [Developers Only]] Computoncio:
Almost 39 uptime, smooth and stable phone ;):p:D

app_163@android:/sdcard/Download #
app_163@android:/sdcard/Download # sh ksm2.sh

================================================
Data DeDuping UKSM savings - 55.85 MB!
================================================
3.34 = Benefit/Cost Ratio -> HIGHER IS BETTER!
11.70 Benefit Ratio x Shared 4.77 MB = 55.85 MB
3.51 Cost Ratio x 55.85 MB = 195.81 MB (Unique)
59 - Full Scans SINCE BOOT.
33 min 33 secs (2013 seconds) Needed Per Scan
UKSM Executes 4026.00 Times Per Full Scan
================================================
UKSM Per Minute Summary (Based on Awake Time)
UKSM Executes 120 Times.
1.66 MB - Scanned Beneficially Per Minute.
5.84 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 - 82942
eval_intervals - 1000 500 200 50
full_scans - 59
hash_strength - 96
max_cpu_percentage - 95
pages_scanned - 7561205
pages_shared - 1222
pages_sharing - 14298
pages_unshared - 50127
run - 1
sleep_millisecs - 500
sleep_times - 120643
thrash_threshold - 50

================================================
System Awake Time is 32:59:39
================================================
System Idle Time is 22:55:08
================================================
System Deep Sleep Time is 5:56:11
================================================
System Up Time is 38:55:50
================================================

app_163@android:/sdcard/Download #

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v9.35

1st ROM : Vanilla RootBox Nightly 20130730 (Online)

2nd ROM : Resurrection Remix v4.0.4

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]] :
Nope I am on something else but need something like that.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] zeppelinrox:
All the stuff in this list?

busybox ps | awk '/[0-9]/&&!/]|\/*bin\/|\/init|_server/'

You can do a kill safely with

for i in `busybox ps | awk '/[0-9]/&&!/]|\/*bin\/|\/init|_server/{print $1}'`; do kill $i; done

If you do a kill -9 it's kinda asking for an instant reboot

That's what she said ;)

do: sysctrl -a | grep random

Oh it' just newest features which aren't really documented.

I found a little bit of info on the uksm forum but it's Chinese to me and google translate could be better.

Gotta think up a test or 2... heh

hey can you do:

top -n 30 | grep uksm
[Android Software/Hacking General [Developers Only]] rignfool:
Here ya go
[Android Software/Hacking General [Developers Only]] :
Will check and report back.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] hoholee12:
If you want all apps to be reset, why not just do 'killall system_server'?
[Android Software/Hacking General [Developers Only]] :
No I don't want soft reboot but a solution my requested query.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317

---------- Post added at 12:21 AM ---------- Previous post was at 12:16 AM ----------

It's killing everything. I just want to kill all user processes except what user is using.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] hoholee12:
for i in $(pgrep ""); do
if [ -e /proc/$i/stat ] && [ $(cat /proc/$i/stat | awk '{print $4}') == $(pgrep zygote) ]; then
if [ $(cat /proc/$i/oom_adj) != 0 ] && [ $(pgrep settings) == $i ]; then
kill $i
fi
fi
done

you want this?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well it's supposed to be:

kernel.random.write_wakeup_threshold=128

kernel.random.read_wakeup_threshold=1376

Do this code:

for i in /system/etc/init.d/*; do echo; echo $i; grep random $i; done; echo
[Android Software/Hacking General [Developers Only]] :
Not working.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You didn't do kill -9, did you?

And what got killed that you didn't want to get killed.

Do a before and after output of busybox ps | awk '/[0-9]/&&!/]|\/*bin\/|\/init|_server/'
[Android Software/Hacking General [Developers Only]] hoholee12:
for i in $(pgrep ""); do
if [ -e /proc/$i/stat ] && [ $(cat /proc/$i/stat | awk '{print $4}') == $(pgrep zygote) ]; then
if [ $(cat /proc/$i/oom_adj) -gt 0 ]; then
kill $i
fi
fi
done
[Android Software/Hacking General [Developers Only]] :
Still not getting.

Suppose the code you suggested is out into a script file run from TE after firing su. TE will get killed. Even systemui will killed. I don't want to kill system running processes just user level processes and the process which is opened and in view by me.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] hoholee12:
its so easy, you can do it yourself.

Why not just go and learn more about /proc capabilities and a little bit of shell scripting?

Anyways, i edited my previous post. i think that will suit what you will need.
[Android Software/Hacking General [Developers Only]] :
:D:p:D Nice one. BTW thanks but still it's not giving what I meant.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] hoholee12:
look at my previous post again. I edited it to fit your needs.

And watch your attitude. I am helping you right now.
[Android Software/Hacking General [Developers Only]] :
OK let me check.

Edit: No profits. But I think I am getting idea from all this what I can do now. I will experiment a little and will revert back with code what I actually want. So catch you soon.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317

---------- Post added at 01:09 AM ---------- Previous post was at 12:56 AM ----------

I'm in my ethics but you are directly making wrong comments here. Leave it. Thanks for all help. Also look for my new app Xtreme Booster v2. Try it and give your valuable comments.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I was using adb and ya TE got killed lol

for i in `busybox ps | awk '/u0_/{print $1}'`; do
if [ "`cat /proc/$i/oom_adj`" -gt 0 ]; then kill $i; fi
done

Whatever you're using will have ADJ 0 so that should do it.

If system ui gets killed... who cares... it will restart immediately.

But you can always add an exception for what you don't want killed.

Like so:

for i in `busybox ps | awk '/u0_/&&!/systemui|media|input|whatever/{print $1}'`; do
if [ "`cat /proc/$i/oom_adj`" -gt 0 ]; then kill $i; fi
done
[Android Software/Hacking General [Developers Only]] :
You are very much right but that can't help when you are unknown of the exceptional processes running on the device of the user of your script.

I know what is proc for and what can be done with it. But the question is to make a command or a script to exclude all the system processes+user in use process and kill everything else. Your solution is correct but not fulfill the need. Again I have to manually write all the exceptions. I think you understand what I am saying.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It's up to you to determine what qualifies.

Dunno if you ran it but busybox ps | awk '/u0_/{print $1}' will filter out almost all of what you don't want.

And you can filter out that output based on their priority with this part:

if [ "`cat /proc/$i/oom_adj`" -gt 0 ]

Change the 0 to whatever priority you want.

Actually, that part filters out systemui anyway, since that's a -16.
[Android Software/Hacking General [Developers Only]] :
Thanks for all of your and lenarox help.

Warm regards from deep of my heart.

Sent from Project Xtreme using Tapatalk 2

Project Xtreme http://xdaforums.com/showthread.php?t=2272317
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You're welcome.

btw this would probably do it anyway...

for i in `busybox ps | awk '/u0_/{print $1}'`; do
if [ "`cat /proc/$i/oom_adj`" -gt 3 ]; then kill $i; fi
done

Only kills apps with ADJ 4 or more ie. they're basically running in the background.
[Android Software/Hacking General [Developers Only]] t-ryder:
The v6 supercharger is the only engine that works for me. If I want to cook it into my ROM I would need to take init.d , the supercharger scripts in /data but what about the init.rc stuff? Am I forgetting something?
[Android Software/Hacking General [Developers Only]] rignfool:
Ok
[Android Software/Hacking General [Developers Only]] hisname:
dafuq? running android 4.3

oh, my kernel dev doesn't want to add UKSM.... :( http://xdaforums.com/showpost.php?p=44259735&postcount=2892
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thanks.

The numbers are alot better tho it does take half an hour per scan, it's half as long as before :)

The files and folder structure should be on the sdcard already if using the latest V6.

Use fresher KAK. "Stink" is in the OP lol

Yeah if you were paying attention, another user has the same problem.

You have dummy commands in system/bin.

Type in terminal:

grep

cp

Do they spit out "Toolbox!"?

Actually just run this code:

for i in /system/bin/*; do if [ "$i" != "/system/bin/toolbox" ] && [ "`$i`" = "Toolbox!" ]; then echo " $i is BORKEN!"; fi; done

And for the love of god, don't type it out.

Copy and paste like a big boy.

As for uksm, does that kernel have ksm at least?

If so maybe he feels there isn't much of a difference between ksm and uksm
[Android Software/Hacking General [Developers Only]] hisname:
u0_a95@jgedlte:/ $ grep
BusyBox v1.20.2-linusyang (2012-08-12 21:41:27 CST) multi-call binary.

Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...

Search for PATTERN in FILEs (or stdin)

-H Add 'filename:' prefix
-h Do not add 'filename:' prefix
-n Add 'line_no:' prefix
-l Show only names of files that match
-L Show only names of files that don't match
-c Show only count of matching lines
-o Show only the matching part of line
-q Quiet. Return 0 if PATTERN is found, 1 otherwise
-v Select non-matching lines
-s Suppress open and read errors
-r Recurse
-i Ignore case
-w Match whole words only
-x Match whole lines only
-F PATTERN is a literal (not regexp)
-E PATTERN is an extended regexp
-m N Match up to N times per file
-A N Print N lines of trailing context
-B N Print N lines of leading context
-C N Same as '-A N -B N'
-e PTRN Pattern to match
-f FILE Read pattern from file

1|u0_a95@jgedlte:/ $ cp
BusyBox v1.20.2-linusyang (2012-08-12 21:41:27 CST) multi-call binary.

Usage: cp [OPTIONS] SOURCE... DEST

Copy SOURCE(s) to DEST

-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Overwrite
-i Prompt before overwrite
-l,-s Create (sym)links

1|u0_a95@jgedlte:/ $

I will try the other code later. how do I know whether my kernel has KSM?

alright here it is. but it looks weird...

u0_a95@jgedlte:/ $ su
root@jgedlte:/ # for i in /system/bin/*; do if [ "$i" != "/[ "$i" != "/system/bin/toolbox "`$i`" = "Toolbox!" ]; then echo " $i i s BORKEN!"; fi; done

the command just stucks here and nothing else happens.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Why am I not shocked that you decided to type it out wrong?

But do this one instead...

for i in /system/bin/*; do if [ "$i" != "/system/bin/toolbox" ] && [ "`cat $i`" = "toolbox" ]; then echo " $i is BORKEN!"; fi; done

COPY AND PASTE IT... DON'T TYPE IT OUT

And the ksm test script tells you if it has ksm... duh

Post the ksm script output

ONLY

IF IT HAS KSM.
[Android Software/Hacking General [Developers Only]] hisname:
I didn't type it out. I copied and paste.

u0_a95@jgedlte:/ $ su
root@jgedlte:/ # for i in /system/bin/*; do if [ "$i" != "/[ "$i" != "/system/bin/toolbox "`cat $i`" = "toolbox" ]; then echo " $i is BORKEN!"; fi; done
root@jgedlte:/ #
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok well the output you pasted isn't the command as I posted it.

But it didn't hang that time, right?

Run V6 will run with Terminal instead since SManager is giving that -9999 error.
[Android Software/Hacking General [Developers Only]] hisname:
can't run FOM.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ha... The log stops when you run it.

Just reboot and check the logs.
[Android Software/Hacking General [Developers Only]] hisname:
that's the point. it just stop there. it doesn't advance
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You mean the phone freezes up or what?

What if you just run it manually ?

Use the xbin version ie.

flush

Or

sh -x flush
[Android Software/Hacking General [Developers Only]] hisname:
yep,nothing happens.it justs stays there for 10mins.i will do the commands later.is it a busybox issue?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Post a screen shot of sh -x flush

Using a different busybox wouldn't hurt.

If works then its busybox.

If not, its something else.