yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] omair2005:
hey so I'm on Galaxy S sprint..

I wanted to patch the services.jar before I flashed the rom, so I extracted the services.jar into the c:/super folder, and ran the commands.. it just hangs on "starting adb connection.. waiting for devices..."

I'm guessing i'll have better luck, flashing first then running this?
[Android Software/Hacking General [Developers Only]] pepcisko:
can you send me the log please? and if possible, a copy of your /system/build.prop from the phone.

Thanks :)
[Android Software/Hacking General [Developers Only]] pepcisko:
If you place the services.jar (see below if you are odexed) into the framework folder, you don't need any adb connection. The tool will detect you have a file in there.. no adb connection needed and actually no adb commands except the "kill-server" at the very beginning will be called.

But - for odexed ROMs, you need to be connected, otherwise the most important part of the patching won't be done. It has to be done in the phone, no other way.
[Android Software/Hacking General [Developers Only]] pepcisko:
Version 0.9.0.2 uploaded:

New features:

instead of using crappy adb commands, the final patching is done via shell scripts in the phone - please help me test that. I already restored my phone's system partition 4 times (since patching a GB MotoDefy+ with ICS HTC Evo services is not healthy, but necessary for my testing), all the final patching seems to work fine here. Tested for both odexed and deodexed files and my phone already hates me :D

the tool will make a backup of your original services.jar/odex file into a CWM recovery update.zip (will be in the backup folder) .. that's your way back from potential hell.

fixed a typo in manual API level selection - thanks for catching :)

Download:

Primary: http://d-h.st/ILi

Mirror: http://dev.pepcok.info/jellyscreampatcher/JellyScreamPatcherV6_0.9.0.2.7z

There are a few new folders (backup, scripts) so make sure you extract this into a clean c:\super folder (or whatever folder you use).

For odexed ROMs, you have to be connected to USB debug phone all the time. Thanks :)

Keep sending the logs... we're getting there !
[Android Software/Hacking General [Developers Only]] Stupifier:
Seems as though I got this working. I think my issues are V6 side now......not with this Tool.
[Android Software/Hacking General [Developers Only]] gaetanolip:
My rom has already a patched service jar. Since it has not the last services.jar mods i want to patch it myself. are the patching steps the same as it was a non-patched service.jar?

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] pepcisko:
That's more a question for Zep... in the actual patcher script the criteria for replacing values are well defined, and it works if you try to patch an already patched file. But - I don't know (did not test) what happens in this case - where some of the values are already changed and some are not. Zep will know for sure.

You can run my tool in the test mode, just place the services.jar into the framework folder and execute :

c:\super\Jellyblablapatcher.exe --test

which will give you the old and new smali files in the test folder. No phone patching will be done with this mode and you can review what changes were done, if you do a compare between the files (e.g. in Total Commander). Or send me the services.jar, I'd like to see what happens, too..
[Android Software/Hacking General [Developers Only]] zeppelinrox:
1. Jelly ISCream will read the current ADJ for each app type (HOME, VISIBLE, etc.) from ProcessList.smali and remembers them as "old" values.

2. It will then search certain areas of ActivityManagerServices.smali and if there is a matching old value, it gets replaced with the new supercharged value

3. ProcessList.smali gets updated to reflect the change.

The only way it won't work is if you have non-patched ProcessList.smali with a patched ActivityManagerServics.smali - since they have non-matching current values.

A workaround would be:

1. Run Jelly ISCream and be sure to select the same launcher strength that is currently in AMS.smali - This updates PL.smali so it now matches up with AMS.smali

2. Run JellyISCream again (on the updated smali files/services.jar) and do whatever you normally would do so that it will successfully find old values to change in AMS.smali.
[Android Software/Hacking General [Developers Only]] Stupifier:
Figured it all out. Everything works...100% supercharged. Started from scratch (with V6 and this tool) and that solved my issues.
[Android Software/Hacking General [Developers Only]] binher835:
I'm your fans now.

Please see the log file from my test. BTW, I noticed that the patcher copied only services.odex to my phone, no the services.jar, is this OK?
[Android Software/Hacking General [Developers Only]] icedeocampo:
Ok... i'll do this now... hang on...
[Android Software/Hacking General [Developers Only]] orbital_71:
Pepcisko, just a suggestion instead of waiting from u to build a new zip for the script that zepp newly create. Can we just had the patcher then what ever new script zepp create we just put inside the folder and run the patcher? Tks

LG-P990

Baseband 1119A
[Android Software/Hacking General [Developers Only]] azngoose:
I have the T-Mobile Galaxy S3 and I'm currently running a stock (ODEXed) rom (UVLH2). I have tried a bunch of times to get this patching service to work and it just keeps "boot-looping" on me. Basically, after I run the exe and follow all the instructions the phone hangs on the Samsung screen right before the actual boot up and when it would go into optimizing the apps. I used the backup update that the exe creates to restore the phone into a working state, and when I checked the v6 supercharger, it found a services.jar but when I try to install that under ICS options in v6, the same things happens when I do a super clean. The phone will hang on the Samsung screen.

Is there any way to get this exe to really work for my device? What exactly is going wrong and what can I do to fix/make it work.

P.S. I did follow ALL the steps, . . .i even followed the suggestion to clear the cache if it "bootloops" and it didn't do anything. I saw under the Q&A that I should send the system/framework folder, do you want the one that i have in the c:\super folder? And where exactly can I send it to?

Thanks
[Android Software/Hacking General [Developers Only]] pepcisko:
I don't fully understand what you're asking. When Zeppelinrox releases new script, I need to update my patcher, since it's different scripting language (bourne shell vs perl). So it takes some time for me to process his changes (depending on what I currently do and how my family/work is "bugging" me :D) and it can take between 1 hour and a day :) A week ago I already tried using win32 binaries for sh and sed to run Zep's patcher directly on a win32/64 system, but it did give me some errors so I decided not to use it for the initial tool versions. So - the bottom line is, right now this patcher can't run Zep's script directly, instead it uses a ported version of it internally. I will release new version based on ALL_ROMS_Jelly_ISCream+Maximum_Overdrive+Time_Killer_Killer--Smali_Patcher_Test_10.sh later today. But I'm still investigating on how to make this more efficient.

After the tool pulls the data and at the point where it starts the decompile process, break it using CTRL + C, then send me contents of the framework folder, plus the activity.log file (which includes the apilevel and bootclasspath). Zip it, upload to any of the cloud services (box, dropbox, whatever) and send me the link to download. I'll look at it.

Also, for your ROM (odexed), it will fail if you try to use services.jar in the ICS center in V6 Supercharger. Because supercharger is installing both files and we don't need that. I'll fix that in my script.. Bug found. Thank you.

For the bootloops - I'll test something as soon as you send me the files. Will keep you posted via PM.

If you check what the patcher does, it copies the new services.jar, dexopt-wraper binary and the dexopt-wrapper.sh to the sdcard, then uses the dexopt-wrapper.sh to create services.odex from services.jar (which becomes useless at this point). Then the odex is patched and that's it. For odexed ROMs, we don't overwrite the existing services.jar in the phone's system. Only the odex file.
[Android Software/Hacking General [Developers Only]] Cashreedhar:
Hello all.

Previously I stated this program didn't work on my HTC desire HD and went into bootloop. It looks like there was a problem in the ROM itself which was not allowing the system to mount as r/w.

Today I tried the new update V6_0.9.0.2. on Virtuous ROM for Desire HD, with ICS full sense 4. Everything worked well. My device is now superfast. Thank you very much for your great work!!

Please refer to the attached log
[Android Software/Hacking General [Developers Only]] icedeocampo:
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/HTCDev.jar:/system/framework/HTCExtension.jar:/system/framework/filterfw.jar:/system/framework/com.htc.android.bluetooth.jar:/system/framework/wimax.jar:/system/framework/usbnet.jar:/system/framework/com.orange.authentication.simcard.jar

ro.build.version.sdk=15
[Android Software/Hacking General [Developers Only]] gaetanolip:
thanks you,

but i use iscream patcher through pep windows exe, so i have not ams end pl .smali on my phone .

so, if v6 supercharger is 100% done, does it mean that new mod are applied to service.jar after using pep windows tool on prepatched service.jar???
[Android Software/Hacking General [Developers Only]] orbital_71:
pepcisko, in this update JellyScreamPatcherV6_0.9.0.2 it lose the function without using ADB can make it like the previous one which can go without ADB? tks:fingers-crossed:
[Android Software/Hacking General [Developers Only]] pepcisko:
Erm... what's not working? If you place the input files to the framework folder, it will not use adb.. which part are you concerned about?
[Android Software/Hacking General [Developers Only]] orbital_71:
Cos i don't like to use adb i send from mine phone to pc then i put inside the folder and run it. So for recent update how i suppose to get it work?

Sent from my LG-P990
[Android Software/Hacking General [Developers Only]] pepcisko:
you can do the same thing.

1. place the services.jar (or the whole framework folder) to the c:\super\framework folder

2. run the exe

3. the tool will ask you if you want to use the existing services, instead of pulling from the phone.. and after patching, you can decide whether to push via adb or just create the zip or in case you don't want anything, just get the new services.jar

But - for odexed ROMs, I use the adb connection because for decompiling I need to know the two variables from the phone and then for the final patching in the phone, adb is used to push the files to the sdcard. But if you don't want to do it and do the final patching manually, just break it (CTRL+C) at the place where it says "OK.. since you're running an ODEXed ROM, we have to be careful what we do now" . You'll get the pre-patched files and do whatever you want to do with them.
[Android Software/Hacking General [Developers Only]] dlee064:
Pales nelb1e

Hi, many thanks for a great tool.

Ok, I have a boot loop problem.

device: tab 7.7 ICS 4.04 ddlp5 stock odexed (all fresh installed)

straight went to your tool after root/busybox install

all seems fine, except after I reboot, I Get the boot-freeze..

I had to go to cwm and use the \backup\update created to restore back..

Also, strangely, even when services.jar is in the /sdcard, the V6 supercharger seem to have problems

After I typed I for Install services.jar ........

I get

"ls: */sdcard/services.jar : No such file or directory"

else
echo " Cool... look what I found... ;^]"
echo $line
echo ""
$sleep
[B]busybox ls -lc $foundjars | awk '{print $6,$7,$8,$9}' | sed 's/.*\'$storage'//\' | while read listjars; do echo " $listjars"; done[/B]
echo ""
$sleep
echo $line
echo " Newest files are listed first!"
fi

looks like the script isn't reading or awking well even when services.jar is found..

(sorry I know this is zepp's part)

Many thanks.
[Android Software/Hacking General [Developers Only]] Daniel D.:
Hmm, why does the script have permission problems? My phone is rooted. :confused:
[Android Software/Hacking General [Developers Only]] orbital_71:
Thanks for the instruction it work...:beer:

Sent from my LG-P990
[Android Software/Hacking General [Developers Only]] pepcisko:
that's funny. It says that your sdcard is "Read-only file system". Is it mounted as /mnt/sdcard properly?

btw can you try to do the same thing with this exe (bitte in die Eigenen Dateien usw. kopieren.. ich hoffe mein Deutsch is nach all diesen Jahren noch zu verstehen :D ) :

http://dev.pepcok.info/jellyscreampatcher/JellyScreamPatcherV6_0.9.0.3pre.exe

EDIT: it's ok that your phone is rooted, but the actuall shell (run via adb) may have shell rights only.

That's why I'm using the adb shell su -c "command" commands in case I detect uid 2000 (which is shell).
[Android Software/Hacking General [Developers Only]] pepcisko:
ok.. I already have a list of files to check, due to bootloops, will be able to do it sometime on Sunday only (sorry!! will be out during the weekend).

Can you upload your whole /system/framework folder for me, somewhere to cloud (dropbox or so) and PM me the link? Thanks..
[Android Software/Hacking General [Developers Only]] binher835:
pepcisko, just noticed that the services.odex is 2.31MB after decompling, but the original one is 2.51MB, maybe this's the reason caused bootloops, Please have a look, thanks.
[Android Software/Hacking General [Developers Only]] pepcisko:
I have to scratch that. The hell is loose at work.
[Android Software/Hacking General [Developers Only]] icedeocampo:
Trying 9.0.2 on HTC Desire V, still boot looping :)
[Android Software/Hacking General [Developers Only]] pepcisko:
Your files are on my list to check on Sunday :)
[Android Software/Hacking General [Developers Only]] Cashreedhar:
Pepcisko thank you very much for this tool. Not only the tool but also your great support and care to the user. As you have guided I have updated the busybox to the latest version also. Now my lazy ROM is lightening fast and all the reason is you. I read the OP of supercharger many times but never tried thinking it may not make much difference and I was too lazy.. But when I saw a tool which allows me to do everything with commands it was like a fun. And also your great support made me your BIG FAN..:good:
[Android Software/Hacking General [Developers Only]] gaetanolip:
Someone answer me please

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] Cashreedhar:
Just for a curiosity go to some file manager like es explorer, and check if you can mount as r/w. Coz I had the same problem with Nik Project X where I was not able to r/w system. And Rom builder suggested a solution too... Mine is HTC desire hd with ics sense 4
[Android Software/Hacking General [Developers Only]] pepcisko:
it can be different compression. I'm adding this to my list.. even though.. the odex is generated by the dexopt in your ROM. It should be correct. Let me check a few things on Sunday. I'll postpone my JB upgrade :D

Well, based on what Zep said, we just need to look at the smali files and compare the values in the original ams.smali vs processlist.smali.

Can you run my tool with the --test parameter (from commandline) and go through it? It will give you smali files in the test folder.

Zip them, attach here..
[Android Software/Hacking General [Developers Only]] gaetanolip:
Thanks pep

I do note have original prepatched service.jar by rom developer anymore because i already used your tool (then i run v6 supercharger with 100% done) so in my phone i have "your " patched service.jar.

So, is it the same if i'LL post the files you requested with the steps you showed to me coming from that " your new " patched service.jar?

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] jeff.wilson2000:
"Cannot locate boot class path file kafdex.jar"

Subject line says it all. Running an ODEXed Droid Razr, latest OTA ICS - fully rooted, have successfully gotten to 50% on zeppelinrox's V6 script, which is why I was trying this - to get the other 50% :)

I have attached the activity.log file. I've tried searching for information regarding the missing "kafdex.jar" file, but there really isn't much out there. Not sure how to input the proper BOOTCLASSPATH as I'm not sure where the file actually resides. Any help is appreciated, thanks...
[Android Software/Hacking General [Developers Only]] pepcisko:
Ha.. that's weird. Your system reports the /system/framework/kafdex.jar in the BOOTCLASSPATH, but the file actually is not there? WOW !!!

Don't worry about entering the bootclasspath manually - as you can see in the log, the tool pulled it from your phone.

So - I'm leaving in 15 minutes, but for the Sunday update I'll include a check for the files, produce a warning if some of the files is missing and will try to decompile using only the existing files, let's see if that works. Please wait until Sunday evening GMT..
[Android Software/Hacking General [Developers Only]] pepcisko:
I thought you were usign some sort of custom ROM? In the original Rom's zip file you can find the file. Or just PM me the ROM's name and version, I 'll get it.

----

Leaving to wilderness now, won't be able to check the thread. Folks with issues, please wait for Sunday evening GMT.
[Android Software/Hacking General [Developers Only]] gaetanolip:
Ok

attached original prepatched service.jar by developer of custom rom (foxhound 1.42 for sgs 3)

Let me know if i can patch it with your tool without problems

Many thanks
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You can try the -I switch to ignore errors.

A user was able to successfully mod services.jar after having the same problem.

Also, to support maximum overdrive on all roms, api level would have to be specified on pre-ics odex roms
[Android Software/Hacking General [Developers Only]] omair2005:
On CM10 preview, I extracted the services.jar and ran the program. everything went smooth, then put the new services.jar back into the correct folder, rebooted, and when I ran the v6 script, it's only charged 25% and said I need to patch services.jar

any help?

** fixed permissions and rebooted, seems to be working :)
[Android Software/Hacking General [Developers Only]] jeff.wilson2000:
Just tried this, got the exact same error message. Thanks for trying, guys. I know pepcisko is out until Sunday, this is no biggie, it can easily wait until then. I appreciate everyone's help.
[Android Software/Hacking General [Developers Only]] FeuchtVonLipwig:
"There seems to be a problem.. deleting temp files and exiting.

Please check the activity.log for details."

Rom is the one in my signature.

activity.log

and got this exception from second try using an easier folder
[Android Software/Hacking General [Developers Only]] Starsream88:
Really great tool for lazy man like me LOL

Just tried this, and i'm 100% supercharged :) ! the tool did everything, took service.jar from my phone, patched it and put it back to the phone !

Thanks man for the great tool and thanks Zep for the best mod ever.
[Android Software/Hacking General [Developers Only]] ahhl:
i run the apk successfully then i clear dalvic cache. when i reboot. i stuck at Samsung logo. i have to reinstall back the backup service. jar
[Android Software/Hacking General [Developers Only]] pepcisko:
I just came back "online" (not counting tapatalk when I was away from the PC).

Working on the files checking now (as my other duties allow) and an update will be released during night today (I'm in GMT+2).

Sorry for waiting :)
[Android Software/Hacking General [Developers Only]] Moscow Desire:
Works like a champ!

Acer Iconia A501 ICS 4.0.3 running Evil Alex Unleashed 2 Deodexed.

Good job with the app!

MD
[Android Software/Hacking General [Developers Only]] Fensterbank:
for what is the update.zip which was created? Do I need to flash it for v6 supercharger?

edit:

Q: Will my phone's memory be blazing fast and effective after this?

A: No, you still have to run the V6 Supercharger script.

ok so I need just to run supercharger with script manager, and thats it, right?

edit 2:

OH MY GOD, I had to run the v6 supercharger script BEFORE i do this with the .exe? god damnit its so confusing, can I still run the supercharger script after i did this?
[Android Software/Hacking General [Developers Only]] EViollet:
The app can be run at any time. It just changes files that Supercharger cannot change by itself.

So you can run this app before or after Supercharger.

Envoyé depuis mon GT-I9300 avec Tapatalk
[Android Software/Hacking General [Developers Only]] Fensterbank:
for me it didnt worked. I have cm9. Do I need to select in /data/99SuperCharger.sh the 99supercharger.sh run with su and run on boot? beause for me it isnt selected.

---------- Post added at 08:00 PM ---------- Previous post was at 07:52 PM ----------

ok I tried it now, but it didnt do anything. the launcher is hard to kill, but thats it. the ram-settings dont match with supercharger. :mad::mad::mad::mad:
[Android Software/Hacking General [Developers Only]] .Ejekt:
After replacing the services.jar in framework with the patched file I seem to lose root. Any idea why?
[Android Software/Hacking General [Developers Only]] Fensterbank:
someone can help? I cant even open this ****ing help file.html :mad: pissing me off
[Android Software/Hacking General [Developers Only]] mynewcentury:
there seems to be a problem.. then when i check the activity log i saw this

2012-09-11 09:15:43 | E | [main] Decompile failed, can't see the classout folder

help anyone?? i saw someone reporting the problem but no respond yet
[Android Software/Hacking General [Developers Only]] orbital_71:
Pepcisko know about it patient he just back from his bz day

Sent from my LG-P990
[Android Software/Hacking General [Developers Only]] mynewcentury:
i shall wait.. thanks
[Android Software/Hacking General [Developers Only]] pepcisko:
Quick update... still fighting with the sources and making things better and easier. I guess I'll never ever give any ETA's :D

Anyway, for all who have the message "Decompile failed, can't see the classout folder" - there must be something else in the log too. Either

1. "'java' is not recognized as an internal or external command, operable program or batch file.", or

2. an error directly from Java.

The first one means that the java binary is not in the system path. Make sure that you include Java in the system path - e.g. http://www.java.com/en/download/help/path.xml shows how to do it. Typically Java7 binaries on win7 are installed in <system drive>:\windows\system32 folder, and you ned that folder to be in the PATH. For other versions of Java/WIndows it may vary.

The second would mean that the actual decompilation failed and there should be an error in the log, coming from java.
[Android Software/Hacking General [Developers Only]] pepcisko:
Well, you can change your services prior or after.. it's really your choice. I tend to do it even prior installing a new ROM and then just insert the new file into the ROM's zip. If you run supercharger first, let it install the supercharger service and then update your services.jar/odex, you should be fine as well.

Huh.. I'm lost here. The tool doesn't do anything like that.
[Android Software/Hacking General [Developers Only]] gaetanolip:
Originally Posted by pepcisko

I thought you were usign some sort of custom ROM? In the original Rom's zip file you can find the file. Or just PM me the ROM's name and version, I 'll get it.

----

Leaving to wilderness now, won't be able to check the thread. Folks with issues, please wait for Sunday evening GMT.

please may you anwer ????