yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] hoholee12:
currently my settings are,

heapsize=181m

heapgrowthlimit=362m

heapstartsize=60m

it runs perfect:D

Btw do you know which process thread has this dalvik gc running?
[Android Software/Hacking General [Developers Only]] DBDMagic:
How do I patch services offline and that modified zip you have there what is hat zep is that what it should be after patched?

Cm 10.1.2 (Olive Oil) Samsung Hercules, Hercules!

---------- Post added at 11:54 PM ---------- Previous post was at 11:53 PM ----------

I'm catching hell patching the services jar cause someone stole my laptop and I'm using a dinosaur comp

Cm 10.1.2 (Olive Oil) Samsung Hercules, Hercules!
[Android Software/Hacking General [Developers Only]] abhi08638:
Sorry if im wrong but im doing this from memory lol

Just use the auto patcher tool provided and instead of plugging your phone in copy your services.jar to your SD card and transfer it to your computer

Then in the directory that you extracted the auto patcher there should be a folder in which you put your services.jar file and then run the program and select patch offline
[Android Software/Hacking General [Developers Only]] gu5t3r:
Nope....

WTF, you're not paying attention; you are giving more memory to normal apps than to ones that request more memory????

heapgrowthlimit < heapsize/2

---------- Post added at 10:55 AM ---------- Previous post was at 10:53 AM ----------

heapgrowthlimit -> limit for normal apps

heapsize -> limit for apps that request more memory (have "largeheap" in android manifest)

---------- Post added at 10:57 AM ---------- Previous post was at 10:55 AM ----------

and heapstartsize=60m ???? LOL
[Android Software/Hacking General [Developers Only]] hoholee12:
I wasnt following your logic.

My intention is to never allow gc(full ram) on non largeheap enabled processes.

Non largeheap would mean its probably gonna be a small process taking up only a little bit of resource.

If its taking up too much space, lmk will kill it(which it always does when launching some large memory allocated processes).

And run the gc on the largeheap enabled apps less often(half the ram). it runs less often so that you can use up more ram on games, while limiting upto half the ram to prevent memory leak.(to prevent lmk killing my game)

It works fine for my phone, so there is nothing wrong.

Btw, heapstartsize=60m is for allocating large memory in the first place so that the lmk will kill everything before the big process starts.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
But there's one thing...

dalvik.vm.heapgrowthlimit > dalvik.vm.heapsize = alot of bootloops.

A different test...

Do this:

awk '/btime/{print $2}' /proc/stat

turn off screen for a few minutes.

turn on screen.

run the code again.

does btime (boot time) change ?
[Android Software/Hacking General [Developers Only]] hoholee12:
Then i should do:

heapsize=heapgrowthlimit=ramsize/2

and leave the heapstartsize unchanged at ramsize/6.

There is a reason why i put a large number in heapstartsize.
[Android Software/Hacking General [Developers Only]] gu5t3r:
But, heapgrowthlimit is limit for NORMAL apps, heapsize is limit for LARGE HEAP enabled apps.... Your limit for normal apps is larger than for largeheap enabled apps, IT MAKES NO SENSE....

While screen is on it does not change, it was 1375899885, after a minute or two of screen off it is 1375899932....
[Android Software/Hacking General [Developers Only]] zeppelinrox:
There's your sleep bug!

Boot time should NOT change and uptime should keep increasing.

But for you, uptime stops counting and boot time is getting bigger lol
[Android Software/Hacking General [Developers Only]] hoholee12:
If i do not run gc on such a small process, it will prevent random stutters and save more battery.

Just tweaking lmk after doing that will be fine.

My lag problem is now solved thanks to my nonsense logic.
[Android Software/Hacking General [Developers Only]] gu5t3r:
Good for you =)

But, I don't have lags using "normal" logic XD

---------- Post added at 12:05 PM ---------- Previous post was at 12:02 PM ----------

I informed wedgess...

Thnx again =)
[Android Software/Hacking General [Developers Only]] hoholee12:
If i just do normal logic, that aint tweaking:rolleyes:

also, this logic actually solved my mediaserver and tapatalk lag(which i was about to kill myself when trying to fix this):thumbup:
[Android Software/Hacking General [Developers Only]] t-ryder:
Removed. Found an answer to my (stoopid) question.
[Android Software/Hacking General [Developers Only]] hisname:
never patched a odex rom before, I thought that services . jar will be changed. I searched and realised that only odex file should change.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well that's no fun lol

Glad you got it sorted tho :)

Ya that's why odex is a pita - you need all the framework files for baksmali to work.

Even then, it can still be finicky :p

FTFY...

And you're welcome :cool:
[Android Software/Hacking General [Developers Only]] dark_knight35:
Didn't you fix your lag problem like ...5..or 10.. times before?? :p
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So what ROM are you on?

Just curious... in your sig it says "(I DO NOT respond to emails, so don't ever expect for a reply.)"

So... why do you have you're email preceding it?

If you're standing on train tracks all day, don't you expect a train to run you over sooner or later?

Well 80+ % of users in this thread solved it ages ago ;)
[Android Software/Hacking General [Developers Only]] hoholee12:
Its a message to spammers.

---------- Post added at 11:14 AM ---------- Previous post was at 11:10 AM ----------

Lags in games. yes.

But lags in audio, no.

---------- Post added at 11:18 AM ---------- Previous post was at 11:14 AM ----------

i used your script a long time ago, but it didnt help.

Killing may have been reduced and be stabilized, but this was another problem.

---------- Post added at 11:18 AM ---------- Previous post was at 11:18 AM ----------

i used your script a long time ago, but it didnt help.

Killing may have been reduced and be stabilized, but this was another problem.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I'm pretty sure that the bots won't care about the message... they get what they want with the email address.

hah... snooze you lose.

There must be hundreds of changes since a "long time ago"

Seems that whatever you're trying with manipulating ooms and whatever...

I already do that with BulletProof_Apps in a non-destructive way on top of the global ADJ changes.

Your "new" idea to make heapsize=heapgrowthlimit? uh... I do that already too... came up with that more than a year ago.

A little after the time that I was the first to make dalvik heapsize a calculated percentage of RAM.

But I did come up with a new idea today... automatically bulletproof whatever app you have in front of your face lol
[Android Software/Hacking General [Developers Only]] hoholee12:
at least i didnt get any spams for last 2 months.:rolleyes:

i didnt say anything 'new'.

This 'idea' already was on my dad's galaxy s2 2 year old stock rom.

I just increased the value to half the ramsize, thats all.:p
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh okay I guess you just did away with changing heapgrowthlimit to be bigger than heapsize.

=======

Well I'm gonna add the ksm analyser thingie as a menu option for next update.

Later I'll add it as an xbin executable just like sclean/vac/flush/etc.
[Android Software/Hacking General [Developers Only]] arenaboy007:
I want to change the scrolling speed from normal to fast, how do I go about it from the script?

And when it says fast does it make it smoother or not?
[Android Software/Hacking General [Developers Only]] Computoncio:
[MENTION=3357461]zeppelinrox[/MENTION] just arrived home to find out Dorimanx released a new kernel v9.36:p, flashed but when i supercharge it says launcher is so weak..

I flashed the previous kernel and it supercharge fine, so my questions are:

1 - Do you want to now why??? Say YES please :D

2 - What do you need from me so i can help you figuring it, just ask and i will post.

Sorry if i stopped posting uksm logs, i was in mini vacations ;)

Edit: Here's supercharger log with "set -x" v6.log

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v9.36

1st ROM : Vanilla RootBox v4.2 (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]] LexusBrian400:
Please take this question within the spirit it was intended.

Is this mod useful on newer high spec phones? I'm really just curious. I remember this being developed when our phones were very sad in the spec dept. Just wondering if this is still helpful.

Thanks!
[Android Software/Hacking General [Developers Only]] eushaun99:
V6 will be useful for every type of phones. Just use it. You won't regret it. ;)
[Android Software/Hacking General [Developers Only]] utsav911:
I am using V6 supercharger on my Xperia Ion (stock Rom - 4.1.2)

And i am getting lags in games. I had no issues before i used this thing.

How can i solve it?
[Android Software/Hacking General [Developers Only]] Daniel D.:
Search this thread.
[Android Software/Hacking General [Developers Only]] hisname:
hmm.... I was wondering how many dudes are there in zeppelinrox ignore list? they need to be shamed.
[Android Software/Hacking General [Developers Only]] ferdo.smicilkas:
I try to install V6 superchager script and while try to installing framework patch i lose my root access so nothig is working with root privileges any way to restore it back, my phone is lg l3, rom JellyCast V5, i got 75% supercharged my rom then something went wrong help please
[Android Software/Hacking General [Developers Only]] davidben73:
hello zep. I have watch the tutorial video to flash the supercharged to my phone.

I have successfully flash it and run superclean and reboot at the end of flashing in script manager.

but after reboot, I have lost my all apps in ext SD partition.

Can you help me please? :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
1 - "YES please"

2 - bOOM Stick

Ask the devs that bake it into S4 ROMs.

What settings and options did you select.

Pick unsuitable options and that happens.

But I was toying with maybe changing the heapsize calculation.

Edit build.prop.

Double the dalvik heapsize and growth limit values in the supercharger section at the bottom.

Doubt that's how it happened.

There is no framework patch.

Reflash the ROM.

Get the details right ie. Don't confuse the starter kit with v6 and don't confuse v6 with the ultimatic patcher.

Bad explanations means lack of attention to important details.
[Android Software/Hacking General [Developers Only]] utsav911:
I changed minfree values as per mfc and there seems to be improvement.

values were as per 8th option super 768hp.

the values are lower now.

But i was thinking if custom values are possible?
[Android Software/Hacking General [Developers Only]] ferdo.smicilkas:
System restored hier we go again :highfive:

success
[Android Software/Hacking General [Developers Only]] Computoncio:
Here we go.

Is this what you want?

bOOM_Stick_RAW.log

bOOM_Stick_COOKED.log

Anything else just ask. :cool:

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v9.36

1st ROM : Vanilla RootBox v4.2 (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]] zeppelinrox:
Not sure exactly why wiping dalvik cache cause that sometimes.

What method of app2ext do you use? link2sd?

Of course.

Experiment with what works.

But I'm curious if you will notice a difference by changing the dalvik values as I suggested.

I hadnt had a huge number of game testing results.

So you got it all working?

Ok do:

for i in /proc/`pgrep swiftkey`/*oom*; do echo; echo $i; cat $i; done

So you're sure that you have different results with only the kernel being different?

Just to compare, post the boom sticks and above code result for the other kernel version as well.
[Android Software/Hacking General [Developers Only]] Computoncio:
I'm sure, i tested yesterday with Dorimanx v9.35 and all ok, after i flash v9.36 begin the launcher issue. Dori said he fixed something in oom grouping in this release maybe he didn't fixed it :p.

for i in /proc/`pgrep swiftkey`/*oom*; do echo; echo $i; cat $i; done <

/proc/15151/oom_adj
1

/proc/15151/oom_killed
0

/proc/15151/oom_score
179

/proc/15151/oom_score_adj
117
app_165@android:/sdcard/Download #

I will flash last working kernel and post the Boom sticks asap.

Edit:

Logs from dorimanx kernel v9.35, last one without issues.

bOOM_Stick_RAW_OK.log

bOOM_Stick_COOKED_OK.log

for i in /proc/`pgrep swiftkey`/*oom*; do echo; echo $i; cat $i; done <

/proc/11479/oom_adj
2

/proc/11479/oom_killed
0

/proc/11479/oom_score
37155

/proc/11479/oom_score_adj
117

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v9.36

1st ROM : Vanilla RootBox v4.2 (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]] zeppelinrox:
Ok yeah just as I suspected - all ADJ values are off by 1 number closer to 0.

phone and systemui should be -12 and not -11

swiftkey with (oom_score_adj of 117) should be 2 and not 1

hey another quickie... do:

for i in /proc/`pgrep launcher`/*oom*; do echo; echo $i; cat $i; done

The only way the launcher's oom_adj should be 0 (as shown with the new kernel) is if the oom_score_adj file has a zero - but it probably has a 58 (which translates to ADJ 1 and not 0)
[Android Software/Hacking General [Developers Only]] ferdo.smicilkas:
100% supercharged, had some problems with ultimate jar patcher tools in the end works very well on my lg thanks :D
[Android Software/Hacking General [Developers Only]] Computoncio:
From the new kernel.

/proc/11947/oom_adj
0

/proc/11947/oom_killed
0

/proc/11947/oom_score
115

/proc/11947/oom_score_adj
58
app_165@android:/sdcard/Download #

Anything else mate? I'm at your disposal :p:D

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v9.36

1st ROM : Vanilla RootBox v4.2 (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]] zeppelinrox:
That should do it.

It shows that the 58 is incorrectly converted to ADJ 0 instead of 1
[Android Software/Hacking General [Developers Only]] davidben73:
Yep, I'm using link 2 sd. But after some reboot, it will works again but somehow it'll gonna lost again :confused:
[Android Software/Hacking General [Developers Only]] Computoncio:
So it's a kernel issue.

Do you want to post your conclusion in Dorimanx kernel thread.

Since yesterday he released 3 kernel versions, one more won't hut :D

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v9.36

1st ROM : Vanilla RootBox v4.2 (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]] zeppelinrox:
posted... http://xdaforums.com/showthread.php?p=44496969#post44496969
[Android Software/Hacking General [Developers Only]] mixednuts:
So, is it just your fixes that he's baked into his specific kernel?

If you recall, I had a similar OOM issue with a kernel from another dev.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Nah I doubt he has anything of mine in his kernel.
[Android Software/Hacking General [Developers Only]] dorimanx:
you right.

i dont mess with others work.

Sent from my GT-I9100
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well that's an interesting choice of words.
[Android Software/Hacking General [Developers Only]] onlyankush_s:
how to Bake the V6 SuperCharger memory system script in a ROM while cooking. Please tell the procedure.

thank you
[Android Software/Hacking General [Developers Only]] altius_cooper:
[MENTION=3357461]zeppelinrox[/MENTION] I get this error while patching the services.jar

Sorry If I posted in the wrong thread
[Android Software/Hacking General [Developers Only]] Kodaro:
Hi all,

I have a few questions and I think they are kinda nublike but I absolutely can't find the answers anywhere :(

I use ICS and configured all the stuff. Normally my init.d does work well but with this script it doesn't. Ok no big deal I can just start 99Supercharger.sh manually via widget after booting.

But in the init.d folder are a lot of scripts now (99Supercharger, 98Kickass, Flushthing, zipalign, vacuum) and I think if they are all in the init.d folder I have to

start ALL of them

after I boot,

is that correct

?

Strangely the

flush and the zipalign

and the vacuum actually

asks

me things if I start their .sh from the init.d folder.

How can it be a proper boot script when I need to answer them?

For example zipalign is asking if it should zipalign all stuff or just the new and then it asks me if I want to change the boot options.

My thoughts are that maybe my init.d-on-boot is not working anymore because that scripts don't run through cause they are expecting some answers. I never have bootlogs in /data/ hmm :(

And I may have found a bug the kick ass kernelizer and the normal v6 supercharger do ask if I want hard-rock or soft-rock panicsettings. But both scripts don't know what the other one is doing so I can softrock via v6 supercharger and after that hardrock via kickasskernelizer. If I look at the status of the V6 then it's still softrock but the kickasskernelizer say it's hardrock. Humm!?

A small question in the end what does that mean when the phone softboots during zipaligning? At the moment it's not happening but yesterday a lot.

Thanks for any answers :good:

And a big thanks to you zeppelinrox for this very good all-in-one memory tool this is really awesome :)

btw using V6 U9 RC12 BlackDog, KAK U3 RC11 Test 2 and 3G U3 RC11 Test 2
[Android Software/Hacking General [Developers Only]] hisname:
I told zep about that issue looooong ago. well, it seems that he was too lazy to exclude that either from V6 or KAK(oopps:p)well,the settings from v6 will be applied since it is the last one to be executed
[Android Software/Hacking General [Developers Only]] zeppelinrox:
never saw that before.

what ultimatc and windows versions?

if you have /data/BootLog* files then init.d works fine.

If you open them up, you will see no questions were asked.

The scripts know if they are run manually and if so, they ask you a thing or 2.

And if not, they just do their thing, no questions asked.

I guess I'm the only one that's figured out self-configurable boot scripts? heh.

When I get a chance to update kak I'll have both edit edit other files so its consistent.

Kinda like how fixalign, if enabled feom within the script itself, will edit fixfc and zepalign so that those 2 don't run.

low priority for me to make sure the user has a brain.

I should put a warning in the OP directed at scarecrows.
[Android Software/Hacking General [Developers Only]] onlyankush_s:
Please answer this query also.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh missed it.

With latest versions, folder structure is all mirrored on the sdcard.
[Android Software/Hacking General [Developers Only]] hisname:
9999 bug in android 4.3 fixed
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Cool.

I suspected it to be a smanager issue since terminal was fine
[Android Software/Hacking General [Developers Only]] zeppelinrox:
New Script... Super DeDuper Snooper RC1!

Ok this is the name for the

new

,

one of a kind

,

KSM Analyzer Tool

...

Super DeDuper Snooper

!

Ok it was

Super Duper DeDuper Snooper

but I think it was too long lol.

What do you think? Either way, it would be "DeDuper Snooper" for short :p

Anyway, I tweaked the code and user output from the previous test.

Users like @gu5t3r and @Daniel D. should have 2 time summaries because of the kernel that doesn't go to deep sleep.

Click THANKS because it tickles! :D
[Android Software/Hacking General [Developers Only]] SagiTHORus_:
Wow new script ! thanks zeppelinrox

Gonna try it out now :fingers-crossed:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
OK.

Feel free to post outputs :cool:
[Android Software/Hacking General [Developers Only]] eushaun99:
Here ya go

================================================
Data DeDuping KSM savings - 70.38 MB!
================================================
5.44 = Benefit/Cost Ratio -> HIGHER IS BETTER!
10.17 Benefit Ratio x Shared 6.92 MB = 70.38 MB
1.87 Cost Ratio x 70.38 MB = 131.54 MB (Unique)
================================================
7 - Full Scans SINCE BOOT.
10 min 0 secs (600 seconds) Needed Per Scan
KSM Executes 428.57 Times Per Full Scan
================================================
KSM Per Minute Summary (Based on Awake Time)
KSM Executes 42 Times.
7.04 MB - Scanned Beneficially Per Minute.
13.15 MB - Scanned Wastefully Per Minute.
================================================

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

full_scans - 7
pages_shared - 1772
pages_sharing - 18016
pages_to_scan - 200
pages_unshared - 33692
pages_volatile - 70027
run - 1
sleep_millisecs - 1400

================================================
System Awake Time is 1:20:04
================================================
System Idle Time is 1:58:18
================================================
System Deep Sleep Time is 15:19:03
================================================
System Up Time is 16:39:07
================================================
[Android Software/Hacking General [Developers Only]] otterbvrn:
================================================
Data DeDuping KSM savings - 50.44 MB!
================================================
7.41 = Benefit/Cost Ratio -> HIGHER IS BETTER!
11.78 Benefit Ratio x Shared 4.28 MB = 50.44 MB
1.59 Cost Ratio x 50.44 MB = 80.22 MB (Unique)
================================================
6 - Full Scans SINCE BOOT.
11 min 5 secs (665 seconds) Needed Per Scan
KSM Executes 443.33 Times Per Full Scan
================================================
KSM Per Minute Summary (Based on Awake Time)
KSM Executes 40 Times.
4.55 MB - Scanned Beneficially Per Minute.
7.24 MB - Scanned Wastefully Per Minute.
================================================

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

full_scans - 6
pages_shared - 1096
pages_sharing - 12913
pages_to_scan - 256
pages_unshared - 20536
pages_volatile - 51474
run - 1
sleep_millisecs - 1500

================================================
System Awake Time is 1:17:41
================================================
System Idle Time is 0:30:40
================================================
System Deep Sleep Time is 1:48:34
================================================
System Up Time is 3:06:15
================================================