yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Bilistas:
I thought that when i ran the jelly scream my services.jar would be fixed and i would get 100% supercharged.. but i do this and i get 50%. There are more changes on services.jar?

---------- Post added at 08:02 PM ---------- Previous post was at 07:55 PM ----------

i've being there mate...

run the starter kit newest version. Only install the 3rd option, all the others are already there since you use CM10. After doing so, run the v6 supercharge. Just say yes to everything and choose a kernel option (rockn roll seems to be great) when you get to the ics server it will automatically choose manual option. Since you don't know what to do you'll have to find a patched services.jar (for roms until 1208 you can find some on the defy JB thread.. just go there). You must put the patched services.jar on the root of sdcard previously. You will choose install when you get to the ics service, the script finds the file and you just have to say yes to everything till it reboots and becomes awsome.

ATTENTION: Read the instructions!!! Use search!!! Make specific questions and not 'what do I do?!' People will help you if they notice you're trying to help yoursef!!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
If I didn't answer your question, it's because somebody else already answered, or, if nobody has answered it, it's because...

I can't be bothered -

just like you can't be bothered to read Post 1 and/or 2.

So do that first so you don't sound like a spoon-fed, fatass baby again.

Fatass babies are cute - but it's not when you imitate one.

Don't have any spaces in folder names.

Thanks man :)

Shouldn't be that many... probably more like 50ish but I never counted :p

Edit: ok looks like 56 changes ;)

People use it with Link2SD but what options did you do?

Did you install a different busybox version?

Did you do a superclean?

Older supercleans would wipe the cache partition and would fubar link2sd for some users but the newest version wouldn't do that.
[Android Software/Hacking General [Developers Only]] aLeda:
Thank you SOOOOOOOOOOOOOOOOOO much I try to do it now ! :D

Edit: What do you mean by "only the 3rd option" ?

What file please:

I think I found one, is this one good: (http://xdaforums.com/showpost.php?p=29546670&postcount=3249) ?

PS: I'm on 17.08 now :)

Thanks you so much !

---------- Post added at 02:18 AM ---------- Previous post was at 01:22 AM ----------

Bilistas are you still here ? :)

EDIT: IN FACT IM NOT GONNA DO IT THANK YOU ANYWAY
[Android Software/Hacking General [Developers Only]] benzxi:
used this on my ainol aurora 2 tablet on ics running agro-b. usb otg function is gone but all is well. how do i get it back,,,,,?
[Android Software/Hacking General [Developers Only]] ghostryder12:
Hi Zeppelinroxx, I've been using this great script since I rooted my Inspire and flashed CoreDroid last year. Thank you, thank you, thank you. I've never had an issue with it from the beginning. You rock...

From my CoreDroid Supercharged Inspire
[Android Software/Hacking General [Developers Only]] hisee:
my apps(background process) are killing randomly is any way to stop sum particular app from killing
[Android Software/Hacking General [Developers Only]] pepcisko:
ok.. if you get a minute, take the attached files and try to superscream them with the script. I did a file compare in Total Commander, there are 998 differences in ActivityManagerService.smali and 6 differences in ProcessList.smali (that one is expected I guess). I'm really puzzled about the larger file.
[Android Software/Hacking General [Developers Only]] Geo1997:
SuperCharger is used in Omega v13. But the minfree ram is 200MB. And for many users, it's too low and make a worse multitasking. Is it possible to put a lower value ?
[Android Software/Hacking General [Developers Only]] aloysius987:
Can we try to bust zep's thanks meter? just kidding.
[Android Software/Hacking General [Developers Only]] GalaxyGusta:
should i use it for my SGS 2?

its already fast

BTW you should creat a GUI version of that AWESOME thing
[Android Software/Hacking General [Developers Only]] asdot:
lmao

Sent from MARVEL
[Android Software/Hacking General [Developers Only]] poondog:
Just run the script and select a less aggressive setting like 768hp or a 512mb setting

Sent from my HTC Incredible S
[Android Software/Hacking General [Developers Only]] remus82:
You should, if you want it FASTER :cool:
[Android Software/Hacking General [Developers Only]] iluvamk:
Can someone point me in the right direction as to where to 2 smali files that need edited are at? Please and thank you.
[Android Software/Hacking General [Developers Only]] jova33:
I believe, correct me if I'm wrong, you still need to decompile the services.jar on your computer, pull out those files, put them on your phone, run the script, put those files back on the computer, then create the classes.dex, put it in the services.jar, put services.jar on your phone, and run v6 supercharger. Is this the process? I'm afk for the weekend, and only have my phone with me.
[Android Software/Hacking General [Developers Only]] iluvamk:
Thanks that's what I thought but just checking. Will have to learn how to do that. . . yea!
[Android Software/Hacking General [Developers Only]] TobsTec:
Got my Archos 80 G9 (Odexed ICS) and Samsung Galaxy S (TAJB JellyBean) supercharged using the new smali editing script. Works like a treat!

Thanks zeppelinrox and congratulations for the infinite patience with all the questions here :).
[Android Software/Hacking General [Developers Only]] AMIR-TUTU:
JUST COMING TO SAY YOUR ARE AMAZING BUDD !!:laugh:

MY DEVICE CHANGED TO A PHANTOM:silly:

5 STARS VOTED AND MANY THANKS:good:
[Android Software/Hacking General [Developers Only]] aloysius987:
Want to see a member with max thanks... I hope zeppelinrox will make that happen... XD
[Android Software/Hacking General [Developers Only]] Pseudonym:
Here bro, dream come true!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Thank God...

Wouldn't effect any usb thingies.

Read & Learn

Actually, you should post both versions to verify if it's working right.

I hope to make it all streamlined with a windows batch file much like rexstor's batch file for odex roms :)

Or maybe make it for both odex and deodex.

http://xdaforums.com/showthread.php?t=1098849 :(

lol
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Download page updated!!

Click THANKS & Try To Break My THANKS METER!
[Android Software/Hacking General [Developers Only]] pepcisko:
Yup. here you go. 1st folder original files decompiled from "stock" services.jar.. 2nd folder files after Jellyscream patcher V1, 3rd folder is files after patcher V2. No manual edits have been done, I think the script is changing too much.. please take a look.
[Android Software/Hacking General [Developers Only]] asdot:
Click THANKS & I give up to break your THANKS METER :D

Sent from MARVEL
[Android Software/Hacking General [Developers Only]] AMIR-TUTU:
in this :

V6_SuperCharger_for_Android-Update9_RC11_Test_4.sh.pdf - [Click for QR Code] (250.5 KB, 8045 views)

whats tha 1 to 33 option in the last of script ?

i dont understand:confused:
[Android Software/Hacking General [Developers Only]] shag_on_e:
Hey zep, I've been manually editing services.jar since the beginning, and I see now with your automatic patching script that it requires editing ProcessList.smali also. Is it necessary to edit this file manually too or will it change when compiled? The reason I ask is when I was attempting to edit it based on what the patching script said, it didn't say what the ADJ was for Foreground app. Default is 0*0, what should I do with this? I like to do as much manually as possible so I stay somewhat knowledgeable if what I'm doing. Thanks for the incredible work!

~~~~There is no spoon~~~~
[Android Software/Hacking General [Developers Only]] zeppelinrox:
uh oh...

Lots is not right about it.

Which busybox version and build are you using?

Scroll up to see the list

ProcessList.smali wouldn't change after creating a new dex file after only changing ActivityManagerService.smali

Yes the script doesn't bother with the stuff that it shouldn't modify.

Foreground remains 0x0 and perceptible remains 0x2.
[Android Software/Hacking General [Developers Only]] shag_on_e:
So I do need to edit ProcessList.smali manually for everything to be correct then? Sorry to bug, just wanna make sure I keep it right.

~~~~There is no spoon~~~~
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yes... it's better to have it in sync with values changed in ActivityManagerService.smali since AMS.smali will often import info from ProcessList.smali
[Android Software/Hacking General [Developers Only]] pepcisko:
OK, I guess you have a point. Since I have multiple busybox builds in the system, I tried them all..

busybox 1.18.5 (comes with sshdroidpro) gave me those ~1000 changes in the file. This one was active when I first tried, since sshdroidpro altered the PATH variable... thanks guys !!!! :D

anyway, busybox 1.20.2-jb bionic (comes with the ROM) gave me ~120 changes in the file

busybox 1.19.4 (wraithdu) gave me ~120 changes in the file (same changes as busybox 1.20.2-jb in the ROM)

So... I assume the 1.18.5 is way off... but how do I verify that those 120 changes coming from using the 1.19.4 and 1.20.2 are correct? :)

zipfile attached.. can you take a peek please?
[Android Software/Hacking General [Developers Only]] MoneyFace =p:
I'm facing trouble trying to change the values of smali files in Step 8 for Jelly Bean service.jar patching such that there is nothing similar to the lines you've provided in the tutorial.

I'm using U9RC11T4 and Smali Test 2.
[Android Software/Hacking General [Developers Only]] TJKV:
Hmm...I had bootloops when I used the script to do the smali editing for me (Defy, CM10 17th Aug)

Took logs thru adb during boot but haven't seen it yet. Didn't bother seeing what changes the script made to activitymanager and processlist, but this might be the issue. But I was using the ROM's busybox, 1.20.1-jb...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It's better but not quite right... very weird... same busybox and same key strings are found...

Well gimme a few... hopefully I can get a test 3 up quick
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ok.. uploaded Jelly_Scream_Smali_Patcher_Test_3.sh.pdf... this may even work with the older, crappier busybox 1.18.5 :p

Well... I hope it would anyway.
[Android Software/Hacking General [Developers Only]] pepcisko:
almost the same behavior... with the 1.18.5 bb, this v3 patches even more stuff than the older v2 :D

with 1.19.4 and 1.20.2, v3 it's almost the same behavior as v2 (same # of changes).

But - there are 2 differences in output of v2 and v3 run with bb1.20.2 and the same 2 differences between v2 and v3 output when run with bb 1.19.4.... it seems these two versions of bb produce the same results consistently.

I'll dare to run the script on my linux box when I get to it tomorrow morning.. let's see what that one says.

Thanks for the efforts anyway.. is there a list of what exactly needs to be changed? Because your described 60 changes are a lot more than the original ~8 mentioned in the manual patching guide... I may write a perl script for this and then compile to exe so that others have no problem running it..
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Can you post the new files?

At least there are 2 segments that i can rule out so far.

It wouldn't be hard to determine the changes by reading the code tho an exe sounds nice lol.
[Android Software/Hacking General [Developers Only]] pepcisko:
LOL.. right, I'll get the values from the shell script. Here the files that the v3 produced. Going to sleep now (1am)
[Android Software/Hacking General [Developers Only]] GalaxyGusta:
This thing is too difficult I don't understand a word in the script
[Android Software/Hacking General [Developers Only]] :
The script explains what something is before asking you if you want it. It is really easy. When they ask for "any key to say Y/N" that probably is the recommended selection.
[Android Software/Hacking General [Developers Only]] aloysius987:
Lol I guess he's trying to say that there are many metaphors in the script
[Android Software/Hacking General [Developers Only]] orbital_71:
Hi zepp, i am 100% superchage if i wanna use the Jelly Scream Smali Patcher Test 2 simply just run the script and follow from step 5 for instruction am i right with it? Tks
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ah test 3 was a little better... Try test 4... I hope this is it... I can't see where it can go wrong now :p

And see the attached for before and after from CM9 :)

View attachment AMS.zip

Yes but use the latest Test 4 I just uploaded.

I can't decide between...

This:

Or This...
[Android Software/Hacking General [Developers Only]] mykamran:
thise ise good package but one problem my phone not charge very good and give more time to charged more than ego.how can fixe this problem.
[Android Software/Hacking General [Developers Only]] GalaxyGusta:
Lol :)

Well English is not my main language....

But can you explain what the zip attached contains?
[Android Software/Hacking General [Developers Only]] pepcisko:
Tried v4 with the bb1.20.2... much better :) 48 differences. But still different when compared with a "real sed & co." (ubuntu 10).

Attaching files again, this time also with a "proper" linux results. I'll do the perl script when I have time today.

Thanks for the patience with me :)
[Android Software/Hacking General [Developers Only]] aLeda:
if i wipe data the script will be completly removed and my phone will be "clean" ?

thanks
[Android Software/Hacking General [Developers Only]] remus82:
Zeppelin can I confirm something? If I want to just use your script to zepalign, fix permissions and detailing, I do not need to patch services jar? Thanks!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It's not related to supercharging.

But for shi.tz n giggles, use the die-hard battery calibrator script.

And don't ask me how to use it.

Which one? AMS.zip was just for those who know such as pepcisko who I quote last in this post lol

Cleaner than you want.

Just UnSuperCharge like a normal person.

And DON"T ask me how... I'll have you banned from planet earth.

Right.

That 48 is actually 100% correct.

The first 6 edits only get counted as 4 changes for some reason so it really is 50 changes in total (I miscounted when I said 56... maybe I included ProcessList.smali? lol)

Anyway, "real sed & co." (ubuntu 10) only misses those first 6 but I don't see why it would.

The syntax is exactly same as the rest of the script. :confused:

The patch would still be successful but maybe you can test this with the "real sed"

In a console, cd to the folder with the original smali files and paste this:

set -x
bkupnew=0x7
hvynew=0x4
homenew=0x1
svcnew=0x6
visnew=0x3
bkupold=`grep BACKUP_APP_ADJ ProcessList.smali | awk '{print $NF}'`
hvyold=`grep HEAVY_WEIGHT_APP_ADJ ProcessList.smali | awk '{print $NF}'`
homeold=`grep HOME_APP_ADJ ProcessList.smali | awk '{print $NF}'`
prevold=`grep PREVIOUS_APP_ADJ ProcessList.smali | awk '{print $NF}'`
svcold=`grep SERVICE_ADJ ProcessList.smali | awk '{print $NF}'`
visold=`grep VISIBLE_APP_ADJ ProcessList.smali | awk '{print $NF}'`
startline1=`sed -n '/0xf4t/=' ActivityManagerService.smali`
sed -i '/"Background"/,/end method/{
'$(($startline1+2))'s/'$visold'/'$visnew'/
'$(($startline1+4))'s/'$hvyold'/'$hvynew'/
'$(($startline1+5))'s/'$bkupold'/'$bkupnew'/
'$(($startline1+6))'s/'$svcold'/'$svcnew'/
'$(($startline1+7))'s/'$homeold'/'$homenew'/
'$(($startline1+8))'s/'$prevold'/'$prevnew'/}' ActivityManagerService.smali

Post the output maybe it will give a clue.

Thanks for confirming the last test is working as expected at least with busybox :D

Edit: It may be easier to just do the below command as a test... :p

sed -i '910s/0x6/0x1/' ActivityManagerService.smali

Edit 2: Oh yeah... can you do this with perl?
[Android Software/Hacking General [Developers Only]] sinosuke:
I couldn't run V6 SuperCharger on MIUI ROM for HTC Incredible S,because I can't get full root permission for Script Manager. Can you fix this,plsss!!!! Your V6 really awesome man ^_^
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Use terminal.

su -c sh /sdcard/V6*

@pepcisko I actually have cygwin installed which has GNU sed and forgot to test Jelly Scream with that.

Well I just did and it does work 100% as expected with cygwin's GNU sed.
[Android Software/Hacking General [Developers Only]] sinosuke:
But if i install SU,dose it conflict with the Permission Management of MIUI ROM. If i'm using MIUI ROM,I have to get SU to make V6 work?
[Android Software/Hacking General [Developers Only]] pepcisko:
Attached

diff ./ActivityManagerService.smali ../original\ files/ActivityManagerService.smali
910c910
< 0x1t 0x0t 0x0t 0x0t
---
> 0x6t 0x0t 0x0t 0x0t

Sure.. but I won't because if done incorrectly, I may just piss off Ron Perlman :P

http://1.bp.blogspot.com/-7Rhf0DR85S4/Tk8PSeNyFxI/AAAAAAAAAAg/GUAxT0iPyjg/s1600/conan-the-barbarian-movie-trailer-ron-pearlman-corin.jpg
[Android Software/Hacking General [Developers Only]] zeppelinrox:
LOL nice pic... heh...

Well that small code output worked...

At the bottom of your output/txt file shows...

+ sed -i '/"Background"/,/end method/{
/0x3/ 905s/0x1
/0x4/ 907s/0x3
/0x7/ 908s/0x4
/0x6/ 909s/0x5
/0x1/ 910s/0x6
//}' ActivityManagerService.smali

I get in cygwin sed

+ sed -i '/"Background"/,/end method/{
940s/0x1/0x3/
942s/0x3/0x4/
943s/0x4/0x7/
944s/0x5/0x6/
945s/0x6/0x1/
946s/0x7//}' ActivityManagerService.smali

I made a mistake in the posted code tho - I forgot the prevnew value but that don't matter, really. (that's why I have the 0x7// on the last line instead of 0x7/0x5/)

Ignoring the line numbers which are different... for some reason you have *new values at the front of the line instead of the back... and yours dont even reach the last line for the prev* entries...

Before I tackle that... I noticed cygwin sed spat out an error when using the test 2... so I modded it a bit and works now so if you like, I'd appreciate if you can give this attached one a quick whirl...

edit: ok here is the previous test code but tweaked... I can't see it not working :p

set -x
bkupnew=0x7
hvynew=0x4
homenew=0x1
prevnew=0x5
svcnew=0x6
visnew=0x3
bkupold=`grep BACKUP_APP_ADJ ProcessList.smali | awk '{print $NF}'`
hvyold=`grep HEAVY_WEIGHT_APP_ADJ ProcessList.smali | awk '{print $NF}'`
homeold=`grep HOME_APP_ADJ ProcessList.smali | awk '{print $NF}'`
prevold=`grep PREVIOUS_APP_ADJ ProcessList.smali | awk '{print $NF}'`
svcold=`grep SERVICE_ADJ ProcessList.smali | awk '{print $NF}'`
visold=`grep VISIBLE_APP_ADJ ProcessList.smali | awk '{print $NF}'`
startline1=`sed -n '/0xf4t/=' ActivityManagerService.smali`
sed -i $(($startline1+2))'s/'$visold'/'$visnew'/
'$(($startline1+4))'s/'$hvyold'/'$hvynew'/
'$(($startline1+5))'s/'$bkupold'/'$bkupnew'/
'$(($startline1+6))'s/'$svcold'/'$svcnew'/
'$(($startline1+7))'s/'$homeold'/'$homenew'/
'$(($startline1+8))'s/'$prevold'/'$prevnew'/' ActivityManagerService.smali

I like this one better tho... I hope this one works too...

set -x
bkupnew=0x7
hvynew=0x4
homenew=0x1
prevnew=0x5
svcnew=0x6
visnew=0x3
bkupold=`grep BACKUP_APP_ADJ ProcessList.smali | awk '{print $NF}'`
hvyold=`grep HEAVY_WEIGHT_APP_ADJ ProcessList.smali | awk '{print $NF}'`
homeold=`grep HOME_APP_ADJ ProcessList.smali | awk '{print $NF}'`
prevold=`grep PREVIOUS_APP_ADJ ProcessList.smali | awk '{print $NF}'`
svcold=`grep SERVICE_ADJ ProcessList.smali | awk '{print $NF}'`
visold=`grep VISIBLE_APP_ADJ ProcessList.smali | awk '{print $NF}'`
startline1=`sed -n '/0xf4t/=' ActivityManagerService.smali`
sed -i '/"Background"/,/end method/{'$(($startline1+2))'s/'$visold'/'$visnew'/
'$(($startline1+4))'s/'$hvyold'/'$hvynew'/
'$(($startline1+5))'s/'$bkupold'/'$bkupnew'/
'$(($startline1+6))'s/'$svcold'/'$svcnew'/
'$(($startline1+7))'s/'$homeold'/'$homenew'/
'$(($startline1+8))'s/'$prevold'/'$prevnew'/}' ActivityManagerService.smali
[Android Software/Hacking General [Developers Only]] pepcisko:
seems like on the phone it does patch the array data, but on the ubuntu box it doesn't.

Anyway - the primary goal is to run this on the phone, right? :P

EDIT: ignore that.. yes, it's correct

<deleted text questioning a line in the script>
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Wow I nearly had it right the first time after all with Test 2 (slightly modded from test 1).

The extra }{ at the end of some lines was fubarring on some setups then.

(Test 5 is nearly the same as Test 2 but with the }{ stuff deleted.)

BUT there is one edit that is incorrect in your phone's AMS.smali so it wasn't perfect just yet lol

If you can test the previously posted code to try and get the array edits to work on ubuntu that would be good.

Thanks for testing :)
[Android Software/Hacking General [Developers Only]] pepcisko:
yup, I'm on it (jumping between barbecuing and the PC.. LOL)
[Android Software/Hacking General [Developers Only]] pma7779:
I need some help if possible. I've been using V6 on all my ROMS and it was relatively easy to install. For JellyBean it's a little more complicated.

A couple of questions:

How do I create the classes.dex and do I then compress all those files again into the services.jar?
[Android Software/Hacking General [Developers Only]] Nephilim:
The info for how to do this is in post 2. Remember to use the jelly scream script for the best results also.
[Android Software/Hacking General [Developers Only]] pepcisko:
here the Ubuntu results of the two code chunks in one of the previous posts.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh neither worked on ubuntu, huh?

Strange... I wonder if it has to do with the tabs/indents at the front of each line
[Android Software/Hacking General [Developers Only]] Geo1997:
What about supercharger with swap ?

How to verify that supercharger is working ?

Envoyé depuis mon GT-I9300
[Android Software/Hacking General [Developers Only]] JokerAce:
The script will tell you, sincerely, honestly with no truth withheld from you. 100% means 100%, every percent of it. No lies are involved either. No doubts too. No hidden cost, opportunity or monetary, involved too.

What may have cost you is your time, to search through the thread. To read the script.
[Android Software/Hacking General [Developers Only]] zakoo2:
isnt there a way to compile/decompile services.jar on the phone itself wish .sh scripts? would be much easier than copying the files back and forth... :fingers-crossed:

sorry if it was mentioned earlier, but had no idea how to search for that :/
[Android Software/Hacking General [Developers Only]] Geo1997:
:D old post or not what i want exactly ;)

Supercharger works with swap ram like normal ram ? Any changes done to swap ram ?

Envoyé depuis mon GT-I9300
[Android Software/Hacking General [Developers Only]] medozse7s:
how to install it for my stock rom ?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I tried in the past but failed.

But I did just find some useful info so will try again. ;)

The main limitation would be lack of ram for many users tho

Edit: Ok you or anybody else give this a shot... http://xdaforums.com/showthread.php?t=904548

You have an S3... swap would slow you down.

Just try it with newest script and use calculated values.

I'd answer but you're now on my ignore list
[Android Software/Hacking General [Developers Only]] zakoo2:
umm, im not really sure what and how to do it so i'll leave the testing to someone more advanced :)

but glad to hear you're working on this, thank you :)
[Android Software/Hacking General [Developers Only]] asdot:
Your quote's toooooo loooong :rolleyes:

Sent from MARVEL
[Android Software/Hacking General [Developers Only]] aLeda:
But if I wipe data, I'll not have to UnSuperCharge isn't it ?

It will be done automaticly ?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Welcome to my ignore list.