[help]CRT-OFF MC8 Odex / Deodex - Galaxy Ace II Q&A, Help & Troubleshooting

Make Backup
DEODEX MC8 ( Test and report please )
-
someone can re-odex services.jar ??
Code:
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: Unknown opcode: f1
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:87)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:157)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:250)
Caused by: java.lang.RuntimeException: Unknown opcode: f1
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:51)
... 6 more
Error occured at code address 20
code_item @0x71d90
- How To

KyrillosV7B's services.jar has CRT-OFF feature included I think

Buddhism said:
KyrillosV7B's services.jar has CRT-OFF feature included I think
Click to expand...
Click to collapse
He need .odex file, kyrillos is deodexed

deodex MC8 version to test...not sure if it work, make backup and test !

I would try to make .odex
Can you upload original odex services.jar ?

Rooobertinhooo said:
I would try to make .odex
Can you upload original odex services.jar ?
Click to expand...
Click to collapse
here.

asdfzz said:
here.
Click to expand...
Click to collapse
Stuck on Boot on

Related

[MOD] No Increasing Ringtone + HOW to !

Hey guys !
I made a quick NoIncRing MOD, I figured while i was at it i would explain how to create the MOD.
I would like to Thank criskelo for his ZIP :
http://forum.xda-developers.com/showthread.php?t=1700174
I don't own an S3 but i did have the mod checked by an owner (works), i don't know what rom's it will work on so make a backup (as i said in the instructions).
How to Flash :
1. make sure you phone has a CWM recovery
2. backup SecPhone.apk and Secphone.odex (for odex rom's)
3. download the zip and place it in your internal SD
4. flash using, install zip from sd - choose zip from sd card
Download :
http://www.mediafire.com/?81u87b53067a4b1
*Tested on LF6 (deodexed) and LEF (stock-odex)
I'll be happy to make Mod's for Any ROM you want. Simply attach the SecPhone.apk application from System/app
HOW TO ?
1. extract Secphone.apk from your phone/rom - system/app
2. download baksmali.jar and smali.jar from : http://code.google.com/p/smali/
3. extract classes.dex from SecPhone.apk
4. Put the classes.dex in to a folder alon with smali.jar and backsmali.jar then open a COMMAND window and navigate to the folder.
5. enter the following command :
java -Xmx512m -jar baksmali.jar -a 15 classes.dex
Click to expand...
Click to collapse
6. You will now have an OUT folder, inside find : Ringer$1.smali
7. Look for 2 lines containing :
setstreamvolume
Click to expand...
Click to collapse
8. Erase them (one is at the middle and one at the end)
9. now go back to your folder with classes.dex, OUT folder and smali.jar and erase classes.dex (VERY IMPORTANT !!)
10. In the command window enter :
java -Xmx512m -jar smali.jar out -a 15 -o classes.dex
Click to expand...
Click to collapse
11. Now you will have a new classes.dex , drag it back in to your SecPhone.apk and in to my ZIP.
12. Flash and enjoy
Reserved
...works great on XXALF6 stock...thanks...
your welcome
i cant find classes.dex on the apk...i am on stock XXALF6...but rooted...please help
Hi any chance for an ALF2 odexed version?
Sent from my GT-I9300 using Tapatalk
There is a good chance it would work anyway,
You can either try it OR post me the SecPhone.apk from your ROM.
yoelsd said:
There is a good chance it would work anyway,
You can either try it OR post me the SecPhone.apk from your ROM.
Click to expand...
Click to collapse
plz help me...thx in advance...
any chance to make this for the sprint gs3?
amazing mod!
noob 911 said:
plz help me...thx in advance...
Click to expand...
Click to collapse
Np, just tell me for what ROM is it ?
stu5797 said:
any chance to make this for the sprint gs3?
amazing mod!
Click to expand...
Click to collapse
Sure, send over the SecPhone and ROM name.
yoelsd said:
Np, just tell me for what ROM is it ?
Sure, send over the SecPhone and ROM name.
Click to expand...
Click to collapse
i am on I9300XXALF6 - build number...but rooted...please help
secphone i have already attached few post back...
yoelsd said:
There is a good chance it would work anyway,
You can either try it OR post me the SecPhone.apk from your ROM.
Click to expand...
Click to collapse
Please can you make a odexed version for this, and if possible make an deodexed version. ive tried other version for some odd reason i cant make no calls. thesE are for ALF2
I am on the original stock sprint rom but rooted. IMM76D.L710VPALEN
ahac85 said:
Please can you make a odexed version for this, and if possible make an deodexed version. ive tried other version for some odd reason i cant make no calls. thesE are for ALF2
Click to expand...
Click to collapse
Here you go :
http://www.mediafire.com/?l63c5dhehra6qv3
Good for Deodexed and odexed LF2
yoelsd said:
Here you go :
http://www.mediafire.com/?l63c5dhehra6qv3
Good for Deodexed and odexed LF2
Click to expand...
Click to collapse
thanks its working fine, there quite a bit difference in filesize compared the one in the opening post?
The one in the main post has call recording etc..
Happy to hear it works
yoelsd said:
The one in the main post has call recording etc..
Happy to hear it works
Click to expand...
Click to collapse
i have uploaded the secphone for my XXALF6 stock rom...can u help me to do the apk...? thx in advance...
i already have an LF6 stock on the main page..
I'm confused; why is this necessary? Maybe it's just because I'm on Omega 6.0 but if I go into the dialer and hit menu -> Call Settings, I have the option of turning off increasing ring.
Thanks.....working great on rooted stock XXALF6 With Franco Kernel r.6....
Sent from my GT-I9300 using xda premium

[MOD] Villain Theme System ( VRtheme ) for XXLSJ/XWLS8

While preparing JB Style for XXLSJ I've seen that we needed a proper VRTheme templatefor the new partitions ( /preload ) in our new systems. This will probably change in the future as Samsung releases the final version... but meanwhile... you can use this template to build mods.
No need to replace the entire SystemUI for battery images. This is not my work, I just simply adapted the original template.
Source:
http://forum.xda-developers.com/showthread.php?t=1207017
http://www.villainrom.co.uk/forum/threads/about-villaintheme-system.4971/
Download:
http://depositfiles.com/files/6lj80t3aa
Crussader said:
While preparing JB Style for XXLSJ I've seen that we needed a proper VRTheme templatefor the new partitions ( /preload ) in our new systems. This will probably change in the future as Samsung releases the final version... but meanwhile... you can use this template to build mods.
No need to replace the entire SystemUI for battery images. This is not my work, I just simply adapted the original template.
Source:
http://forum.xda-developers.com/showthread.php?t=1207017
http://www.villainrom.co.uk/forum/threads/about-villaintheme-system.4971/
Download:
http://depositfiles.com/files/6lj80t3aa
Click to expand...
Click to collapse
Thanks for sharing this Mods for Create new things.
dark_zhero said:
Thanks for sharing this Mods for Create new things.
Click to expand...
Click to collapse
i tried using it but went into boot loop..
all system\app files including systemui.apk which were before in systems\apps will be now in preload\symlink\system\app ??
or will the systemui.apk reside somewhere else ??
and the folders with the modified pngs will be named like systemui.apk ?? with the the extension ??
Thanks
xinfinityoO said:
i tried using it but went into boot loop..
all system\app files including systemui.apk which were before in systems\apps will be now in preload\symlink\system\app ??
or will the systemui.apk reside somewhere else ??
Click to expand...
Click to collapse
exactly... in deodexed ROMs they're located in there ( preload\symlink\system\app ). If I recall correctly, in odexed ( stock fro sammobile source ) they're still on system/app.... check where they are before patching using a root file manager.
xinfinityoO said:
and the folders with the modified pngs will be named like systemui.apk ?? with the the extension ??
Thanks
Click to expand...
Click to collapse
you have to recreate the folder structure of the file you're trying to mod
SystemUI.apk / res / drawable-hdpi ( for example )
Check one of my mods to see what I mean
Crussader said:
exactly... in deodexed ROMs they're located in there ( preload\symlink\system\app ). If I recall correctly, in odexed ( stock fro sammobile source ) they're still on system/app.... check where they are before patching using a root file manager.
you have to recreate the folder structure of the file you're trying to mod
SystemUI.apk / res / drawable-hdpi ( for example )
Check one of my mods to see what I mean
Click to expand...
Click to collapse
i did as what you have said ..but boot loop ..will check the systemui.apk location and try again
thanks
xinfinityoO said:
i did as what you have said ..but boot loop ..will check the systemui.apk location and try again
thanks
Click to expand...
Click to collapse
are you using .9.png files? They must be compiled before so you can use them
Crussader said:
are you using .9.png files? They must be compiled before so you can use them
Click to expand...
Click to collapse
Is that so? I never knew that
So quick question... If I change the hue of. 9 image I can't drop straight into an apk? It has to be recompiled 1st? If that's the case, that explains a lot. Thanks for the heads up on this. Every time I did this previously the image got distorted so i gave up touching them and just changed normal pngs.

[SHARE/UPDATE : 02/09] Using PIN/Pattern after LockScreen

I share with you this tips i found in Xperia P, U, Sola, Go thread. I do it for XPERIA S If someone is interested.
http://forum.xda-developers.com/showpost.php?p=37764559&postcount=1
You can have the stock JB lockscreen (Who is very pretty en useful :laugh and after have patter to secure your phone. Like CM ROM
I do it for JB on eXistenZ BLACK Edition | V2 based on 6.2.B.0.200 and it's works perfectly
You need root
Save your old android.policy.jar find in /system/framework
See in attachement the android.policy.jar i use on XPERIA S eXistenZ BLACK Edition | V2 based on 6.2.B.0.200 and put with the same permission (RW- R-- R--) in /system/framework. Reboot. Done !
Please do a backup of your ROM before. I am not responsible for any problems
:good:
View attachment android.policy.jar
EDIT : In attachement new android.policy.jar for the 1.96 fireware. See this post : http://forum.xda-developers.com/showpost.php?p=45233652&postcount=24 for Deodex ROM
MaxPayne3004 said:
I share with you this tips i found in Xperia P, U, Sola, Go thread. I do it for XPERIA S If someone is interested.
http://forum.xda-developers.com/showpost.php?p=37764559&postcount=1
You can have the stock JB lockscreen (Who is very pretty en useful :laugh and after have patter to secure your phone. Like CM ROM
I do it for JB on eXistenZ BLACK Edition | V2 based on 6.2.B.0.200 and it's works perfectly
You need root
Save your old android.policy.jar find in /system/framework
See in attachement the android.policy.jar i use on XPERIA S eXistenZ BLACK Edition | V2 based on 6.2.B.0.200 and put with the same permission (RW- R-- R--) in /system/framework. Reboot. Done !
Please do a backup of your ROM before. I am not responsible for any problems
:good:
View attachment 2037719
Click to expand...
Click to collapse
i cannot find this line : iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
Works great! Thanks a lot!:good:
stck said:
i cannot find this line : iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->mShowLockBeforeUnlock:Z
Click to expand...
Click to collapse
Please tell me wich firware or android you have ? In the first post on the thread i think it's for ICS. In JB is diff : See page 5 on the thread :
http://forum.xda-developers.com/showpost.php?p=41061521&postcount=50
cities516 said:
Works great! Thanks a lot!:good:
Click to expand...
Click to collapse
You're welcom
tenks working sa jb .211
jemju_xps-user said:
tenks working sa jb .211
Click to expand...
Click to collapse
happy to share. I was looking for this solution for a long time
MaxPayne3004 said:
Please tell me wich firware or android you have ? In the first post on the thread i think it's for ICS. In JB is diff : See page 5 on the thread :
http://forum.xda-developers.com/showpost.php?p=41061521&postcount=50
Click to expand...
Click to collapse
my firmware is 6.2.B.0.200 :laugh:
stck said:
my firmware is 6.2.B.0.200 :laugh:
Click to expand...
Click to collapse
So you can take mine android.policy.jar.. I think
MaxPayne3004 said:
So you can take mine android.policy.jar.. I think
Click to expand...
Click to collapse
I took your android.policy.jar and I'm on the leaked .200 build and it didn't worked for me.
alex_dudu_ said:
I took your android.policy.jar and I'm on the leaked .200 build and it didn't worked for me.
Click to expand...
Click to collapse
Ho ok.
Did you activate pattern on security ?
I used your androidpolicy.jar and it worked on leaked. 197 but it created an empty option at boot menu
sceretman said:
I used your androidpolicy.jar and it worked on leaked. 197 but it created an empty option at boot menu
Click to expand...
Click to collapse
Ok i thing because on eXistenZ you have a reboot option. You need to decompile en recompile your android.policy.jar. If you keep a copy of your original, then you can restore
Yes I activated pattern in security. But the lookscreen swipe doesn't appear. The pattern comes directly.
Ok. Can you edit your androidpolicy.jar and add reboot option too
Thanks in advance
MaxPayne3004 said:
So you can take mine android.policy.jar.. I think
Click to expand...
Click to collapse
I know , but the android.policy.jar that i have is from http://forum.xda-developers.com/showthread.php?t=2266071 , so i would like to add your function on it but i don't know how to change it :crying:
Sorry Bro, This is a fools question.
Acro S LT26w .211 can use?
REGARDS
stck said:
I know , but the android.policy.jar that i have is from http://forum.xda-developers.com/showthread.php?t=2266071 , so i would like to add your function on it but i don't know how to change it :crying:
Click to expand...
Click to collapse
You must read the link in the first post.
after
This link can help you to decompile your android.policy : http://forum.xda-developers.com/showthread.php?t=2195680
Or to use Smali and Baskmali command (java -jar baksmali.jar -o classout / java -Xmx512M -jar smali.jar classout...)
aum1080p said:
Sorry Bro, This is a fools question.
Acro S LT26w .211 can use?
REGARDS
Click to expand...
Click to collapse
Not my android.policy but making the handling in the first post yes !
MaxPayne3004 said:
Not my android.policy but making the handling in the first post yes !
Click to expand...
Click to collapse
Thank Sir.
Regards

How to mod android.policy.jar?

My Xperia S is official , it is odex
I want to mod the android.policy.jar
but I find it in system/framework/android.policy.jar is only 1KB
and the android.policy.jar next to android.policy.odex which is 369KB
I think the android.policy.odex is normal.
The android.policy.jar 's information is not I need , only have a small data!
How can i mod the android.policy.jar??
Thank you Very much~!
The android.policy.jar & android.policy.odex :
View attachment 2205036
:fingers-crossed:
lllllllllll said:
My Xperia S is official , it is odex
I want to mod the android.policy.jar
but I find it in system/framework/android.policy.jar is only 1KB
and the android.policy.jar next to android.policy.odex which is 369KB
I think the android.policy.odex is normal.
The android.policy.jar 's information is not I need , only have a small data!
How can i mod the android.policy.jar??
Thank you Very much~!
The android.policy.jar & android.policy.odex :
View attachment 2205036
:fingers-crossed:
Click to expand...
Click to collapse
Hi,
In order to make changes in the android policy.jar file, you first need to deodex it. You can very easily deodex it using my software over here - http://forum.xda-developers.com/showthread.php?t=2213235
Then, follow this huide to decompile the jar - http://forum.xda-developers.com/showthread.php?t=1732635
Good luck
Sent from my LT26i using xda app-developers app
abcdjdj said:
Hi,
In order to make changes in the android policy.jar file, you first need to deodex it. You can very easily deodex it using my software over here - http://forum.xda-developers.com/showthread.php?t=2213235
Then, follow this huide to decompile the jar - http://forum.xda-developers.com/showthread.php?t=1732635
Good luck
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
OK, thank you
Am i just deodex the android policy.jar? Do not need to deodex my rom?
Then , it is different for decompile the jar and decompile the apk?
Thank YoU ~
I'm Hongkonger~~ :victory:
lllllllllll said:
OK, thank you
Am i just deodex the android policy.jar? Do not need to deodex my rom?
Then , it is different for decompile the jar and decompile the apk?
Thank YoU ~
I'm Hongkonger~~ :victory:
Click to expand...
Click to collapse
You do not need to deodex your entire rom. Only deodexing the android policy.jar file will suffice. Decompiling a jar file is slightly different from decompiling an apk. We do not use apktool to decompile jar files but execute these two commands - (First extract classes.dex from anroid policy.jar using winrar and place it in the same folder as smali.jar and baksmali.jar)
Code:
java -jar baksmali.jar -o classout/ classes.dex
Make any changes that you want to do now.
Code:
java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
Then rename new-classes.dex to classes.dex and put it back into the jar file.
Regards,
abcdjdj
Is there a guide how to return to odex? My rom is odex. I now have my mod android.policy.jar
AFAIK, when you deodex a framework file, all the rest needs to be deodexed also, something that doesn't exist with apps files...
gercen said:
Is there a guide how to return to odex? My rom is odex. I now have my mod android.policy.jar
Click to expand...
Click to collapse
Here is a guide to re-odex framework files - http://forum.xda-developers.com/showthread.php?t=1208320
Felimenta97 said:
AFAIK, when you deodex a framework file, all the rest needs to be deodexed also, something that doesn't exist with apps files...
Click to expand...
Click to collapse
I am sorry, I confused framework files with apks coz I have myself tried using a deodexed apk on a fully odexed rom and it worked. You are right, using a partially deodexed framework causes bootloops.

[Q] Stuck at LG Logo

hey guys, i wanted to change the status bar to transparent
so i followed this
"So, I've found transparent status-bar on 4pda. It made by tokar77.
Circle-battery mod included.
Replace LGhome3.apk and LGsystemUI.apk at system/app. Set rw-r--r-- permissions
Replace android.policy.jar in system/framework."
http://forum.xda-developers.com/show...2225317&page=3
then this reply :
For LGSystemUI.apk deodexed and LGHome3.apk deodexed no problem if u have odex system, just copy and replace app to your System apps and delete odex file. But android.policy.jar deodexed will not work if u have odex framework files,, all u need to have is deodexed framework files or moded android.policy.jar which is odex,
i moved the odex files, now the phone won't get past the LG logo :'( :'(
I HAVE ALL ORIGINAL FILES, please what do i do :'(
did i ruin my phone for ever ?
I ALSO DID A HARD RESET
nothing :'(
SgtMaadadi said:
hey guys, i wanted to change the status bar to transparent
so i followed this
"So, I've found transparent status-bar on 4pda. It made by tokar77.
Circle-battery mod included.
Replace LGhome3.apk and LGsystemUI.apk at system/app. Set rw-r--r-- permissions
Replace android.policy.jar in system/framework."
http://forum.xda-developers.com/show...2225317&page=3
then this reply :
For LGSystemUI.apk deodexed and LGHome3.apk deodexed no problem if u have odex system, just copy and replace app to your System apps and delete odex file. But android.policy.jar deodexed will not work if u have odex framework files,, all u need to have is deodexed framework files or moded android.policy.jar which is odex,
i moved the odex files, now the phone won't get past the LG logo :'( :'(
I HAVE ALL ORIGINAL FILES, please what do i do :'(
did i ruin my phone for ever ?
I ALSO DID A HARD RESET
nothing :'(
Click to expand...
Click to collapse
flash kdz..
hasan4791 said:
flash kdz..
Click to expand...
Click to collapse
how ??
please help
SgtMaadadi said:
how ??
please help
Click to expand...
Click to collapse
chk FAQ in this section...do search before asking any quest,,,,don expect help frm members always...!!

Categories

Resources