[Q] De-Compile Won't Work - T-Mobile Samsung Galaxy S II SGH-T989

Can't de-compile apk's in APK Manager. I have installed the proprietary files in apktool, the frameworks, and when I try to de-compile framework-res.apk or Settings.apk it gives an error and it doesn't de-compile.
Code:
LOG
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
Could Not Find C:\Users\alphasquad32\Desktop\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Users\alphasquad32\Desktop\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Loaded.
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: AndroidManifest.xml
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:106)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Caused by: brut.directory.PathNotExist: AndroidManifest.xml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:98)
... 5 more

Related

[MOD][15 Toggles] How to mod Lidroid framework

Before you get the idea please consider to thank Препод, poppuri and sk0t (from 4pda.ru) for their time and hard work, all credits go to them.
Here we go, the idea is simple , decompile "lidroid-res.apk", open "apktool.yml", you will find this :
Code:
version: 1.4.5
apkFileName: lidroid-res.apk
isFrameworkApk: true
usesFramework:
ids:
- 1
If you keep the "- 1" it will uses only one framework, you have to add "2", like this :
Code:
version: 1.4.5
apkFileName: lidroid-res.apk
isFrameworkApk: true
usesFramework:
ids:
- 1
- 2
Done, make your changes and re-compile, use my Apk_Manager if you have any trouble with ICS files.
Thanks again to Препод & poppuri & sk0t, don't forget to credit them.
as 2.apk - do I need to install twframework-res.apk or lidroid-res.apk?
firefds said:
as 2.apk - do I need to install twframework-res.apk or lidroid-res.apk?
Click to expand...
Click to collapse
i think you will need twframework-res.apk.
So, now we can translate to own languages the lidroid toggles, right?
Krendelrus said:
So, now we can translate to own languages the lidroid toggles, right?
Click to expand...
Click to collapse
Yes, it should work.
Very useful, thanks.
Lovely bit of info, cheers Wanam - works perfect
I can't thank you enough for this sir!
yoderk said:
I can't thank you enough for this sir!
Click to expand...
Click to collapse
You are welcome.
sorry for beeing noob, but after editing apktool.yml and compiling (11) i get an error "An error occured, please check the log..."
Schneckmeier said:
sorry for beeing noob, but after editing apktool.yml and compiling (11) i get an error "An error occured, please check the log..."
Click to expand...
Click to collapse
Get me the log.
I used your Apk_Manager_ICS:
Code:
|11.04.2012 -- 18:31:21,04|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
I: Framework installed to: C:\Users\Schneckmeier\apktool\framework\2.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Schneckmeier\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at brut.androlib.Androlib.parseUsesFramework(Androlib.java:399)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Schneckmeier said:
I used your Apk_Manager_ICS:
Code:
|11.04.2012 -- 18:31:21,04|
--------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
I: Framework installed to: C:\Users\Schneckmeier\apktool\framework\2.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Schneckmeier\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at brut.androlib.Androlib.parseUsesFramework(Androlib.java:399)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Click to expand...
Click to collapse
Maybe because you used the second solution, i removed it from the first page.
Use this one instead :
Code:
version: 1.4.5
apkFileName: lidroid-res.apk
isFrameworkApk: true
usesFramework:
ids:
- 1
- 2
re-installed newer java runtime environment 1.7.0_03 and used your second method now it works! Thanks wanam for help!!
Schneckmeier said:
re-installed newer java runtime environment 1.7.0_03 and used your second method now it works! Thanks wanam for help!!
Click to expand...
Click to collapse
It should work with jre 1.5 too.
is there anyway to change the "hamster" text in the values folder as everytime i recompile, i get a systemui error? im assuming i need to edit the text in strings.xml but still not working. any ideas? thx
dead0 said:
is there anyway to change the "hamster" text in the values folder as everytime i recompile, i get a systemui error? im assuming i need to edit the text in strings.xml but still not working. any ideas? thx
Click to expand...
Click to collapse
Any logs?
wanam said:
Any logs?
Click to expand...
Click to collapse
there were no errors in the log after compiling but i didn't edit the apktool.yml. everytime i edit *.yml i get compile error as posted above
tried again by just editing the apktool.yml as per your suggestion but get a compile error:
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
Could Not Find C:\Users\Administrator\Desktop\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedlidroid-res.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Administrator\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.err.CantFindFrameworkResException
at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:366)
at brut.androlib.Androlib.parseUsesFramework(Androlib.java:400)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Hi Wanam, how do you mod it so it doesn't say 'wanam lite' on the shut down dialog?
dead0 said:
there were no errors in the log after compiling but i didn't edit the apktool.yml. everytime i edit *.yml i get compile error as posted above
tried again by just editing the apktool.yml as per your suggestion but get a compile error:
java version "1.7.0_03"
Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)
Could Not Find C:\Users\Administrator\Desktop\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedlidroid-res.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Administrator\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.err.CantFindFrameworkResException
at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:366)
at brut.androlib.Androlib.parseUsesFramework(Androlib.java:400)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Click to expand...
Click to collapse
Push framework-res.apk (apktool if framework-res.apk).
kowcop said:
Hi Wanam, how do you mod it so it doesn't say 'wanam lite' on the shut down dialog?
Click to expand...
Click to collapse
Edit /res/values/strings.xml.

[Q] Help me with Apktool on my ARC!

Guys please help me with apktool! ım freakin out!
before everything, I setted up JDK & JRE, Android SDK Manager too..
ı tried lots of Apktool but having same mistake!
C:\apktool folder i created and put the files in it with my framework-res.apk
Then commanded
apktool if framework-res.apk
I: Framework installed to C:\whatever\your\path\is\framework\1.apk
All is ok. but when I try to DECOMPILE Settings.apk or SystemUI.apk or Browser.apk etc anyway here is the log;
Microsoft Windows XP [Sürüm 5.1.2600]
(C) Telif Hakkı 1985-2001 Microsoft Corp.
C:\Documents and Settings\Hyp>cd c:\apktool
C:\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Documents and Settings\Hyp\apktool\framework\1.apk
C:\apktool>apktool d Browser.apk
I: Baksmaling...
testI: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Hyp\apktool\frame
work\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
C:\apktool>
I'm on 2.3.4 not ICS! How to fix this damn package of id 2 ?
here you have a video tutorial

[Q] SystemUI.apk compile

Hello my friends.
I installed frameworkres and tw framework resources files. I decompiled SystemUI.apk and changed drawables.xml and status bar smali.
But I can't compile SystemUI.apk Error.
Log is here :
Code:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
C:\Windows\SysWOW64\Apk Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk Bulunamad
C:\Windows\SysWOW64\Apk Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk Bulunamad
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\HP\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2922)
at org.antlr.runtime.CommonTokenStream.getSourceName(CommonTokenStream.java:345)
at org.antlr.runtime.tree.CommonTreeNodeStream.getSourceName(CommonTreeNodeStream.java:106)
at org.antlr.runtime.tree.TreeP****r.getSourceName(TreeP****r.java:78)
at org.jf.smali.smaliTreeWalker.getErrorHeader(smaliTreeWalker.java:372)
at org.antlr.runtime.BaseRecognizer.displayRecognitionError(BaseRecognizer.java:192)
at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)
at org.jf.smali.smaliTreeWalker.smali_file(smaliTreeWalker.java:451)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:85)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:243)
at brut.androlib.Androlib.buildSources(Androlib.java:200)
at brut.androlib.Androlib.build(Androlib.java:191)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
I don't know what that error means but your apk manager is having problems with the smali
Try just doing the drawables with apk manager and see if that works...if it does work try the smali with this
Thank you but I have a problem. I don't know how can I use this tool.
Guide is here : http://forum.xda-developers.com/showthread.php?t=1136625
but links are broken.
You could try that what jarmezrocks has posted on that thread or post on it for some help.
I may still have the video/s from that tut and i can check tonight when I'm back at my pc but if you google 'smali baksmali tutorial' you should be able to find all the Info you need...and more...it's all out there
Sent from my GT-I9100 using xda premium
Arnadel said:
Hello my friends.
I installed frameworkres and tw framework resources files. I decompiled SystemUI.apk and changed drawables.xml and status bar smali.
But I can't compile SystemUI.apk Error.
Log is here :
Code:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
C:\Windows\SysWOW64\Apk Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk Bulunamad
C:\Windows\SysWOW64\Apk Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk Bulunamad
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\HP\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" java.lang.NullPointerException
at org.jf.util.PathUtil.getRelativeFile(PathUtil.java:44)
at org.jf.smali.smaliFlexLexer.getSourceName(smaliFlexLexer.java:2922)
at org.antlr.runtime.CommonTokenStream.getSourceName(CommonTokenStream.java:345)
at org.antlr.runtime.tree.CommonTreeNodeStream.getSourceName(CommonTreeNodeStream.java:106)
at org.antlr.runtime.tree.TreeP****r.getSourceName(TreeP****r.java:78)
at org.jf.smali.smaliTreeWalker.getErrorHeader(smaliTreeWalker.java:372)
at org.antlr.runtime.BaseRecognizer.displayRecognitionError(BaseRecognizer.java:192)
at org.antlr.runtime.BaseRecognizer.reportError(BaseRecognizer.java:186)
at org.jf.smali.smaliTreeWalker.smali_file(smaliTreeWalker.java:451)
at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:85)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:43)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:243)
at brut.androlib.Androlib.buildSources(Androlib.java:200)
at brut.androlib.Androlib.build(Androlib.java:191)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Click to expand...
Click to collapse
hello Sir.. there must be something to do with the codings in the statusbar .smali file.. try to inspect the codes again. it could be wrong codes that u have inserted. I ever came across these errors before when I tried to change some codes .smali file.. I managed to recompile when I reverted the original codes back..

[Q] [REQ]APK TOOL for XXLJS

Hy.
I always got any little problem witc compile/decompile XXLJS systemui.apk.
I have tried apkmanager 5.02., and apk multy tool with:
apktool 1.4.0,
apktool 1.4.1,
apktool 1.4.2,
apktool 1.4.3,
apktool 1.4.4,
apktool 1.4.5,
apktool 1.4.10,
apktool 1.5.0,
apktool 1.5.1,
.......and no succes. What do I wrong???
Please help me to make more modded apk-s to xxljs roms.
/ I use windows 8/
Thanx.
bezke said:
Hy.
I always got any little problem witc compile/decompile XXLJS systemui.apk.
I have tried apkmanager 5.02., and apk multy tool with:
apktool 1.4.0,
apktool 1.4.1,
apktool 1.4.2,
apktool 1.4.3,
apktool 1.4.4,
apktool 1.4.5,
apktool 1.4.10,
apktool 1.5.0,
apktool 1.5.1,
.......and no succes. What do I wrong???
Please help me to make more modded apk-s to xxljs roms.
/ I use windows 8/
Thanx.
Click to expand...
Click to collapse
i also have warnings when compiling. the trick is to copy the files from the modded SystemUI.apk into the original SystemUI.apk
- geroxx -
bezke said:
Hy.
I always got any little problem witc compile/decompile XXLJS systemui.apk.
I have tried apkmanager 5.02., and apk multy tool with:
apktool 1.4.0,
apktool 1.4.1,
apktool 1.4.2,
apktool 1.4.3,
apktool 1.4.4,
apktool 1.4.5,
apktool 1.4.10,
apktool 1.5.0,
apktool 1.5.1,
.......and no succes. What do I wrong???
Please help me to make more modded apk-s to xxljs roms.
/ I use windows 8/
Thanx.
Click to expand...
Click to collapse
I've just checked decompiling / compiling the SystemUI.apk (from the XXLSJ) and everything works well, with just a "standalone" apktool (1.5.0.5), on Windows 7.
Have you installed the frameworks?
Installing frameworks:
Command:
Code:
apktool if XXLSJ\framework-res.apk
Result:
Code:
I: Framework installed to: C:\Users\Gyebro\apktool\framework\1.apk
Command:
Code:
apktool if XXLSJ\twframework-res.apk
Result:
Code:
I: Framework installed to: C:\Users\Gyebro\apktool\framework\2.apk
Then testing decompile:
Command:
Code:
apktool d SystemUI.apk SystemUI_XXLSJ
Result:
Code:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Gyebro\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Finally test-recompile also finishes without errors:
Command:
Code:
apktool b SystemUI_XXLSJ SystemUI_custom.apk
Result:
Code:
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation ...
... [I]some aapt:warnings that translations are missing[/I] ...
I: Building apk file...
If you want to use APKMultiTool, then you either install frameworks first with running the apktool from command line, or install the frameworks by choosing the "decompile apk with dependencies" option. (But I recommend using the apktool if command)
You only need to install frameworks once. (They are stored in C:\Users\username\apktool\1.apk and 2.apk)
Search for Apk manager for ICS.
Don't remember where I founded but works!
EDIT: Wanam apk manager ICS.
I'm not home now but I remember this apk manager is made by Wanam...search in his HP mate! If you want when I arrive at home I can upload for you and send Google docs link.
Good lucky
Sent from my GT-I9100 using xda app-developers app
i get some zip error
Try Apk Changer. It works with windows 8.
http://forum.xda-developers.com/showthread.php?t=1189971

[Q] Super Power Menu

I tried to implement Super Power Menu (Link) to stock 4.2.2.
I've done following to start:
Code:
java -jar apktool.jar if framework-res.apk
I: Framework installed to: C:\Users\xxx\apktool\framework\1.apk
Now I try to decompile and recompile framework-res.apk without changes. It fails:
Code:
C:\Users\xxx\Downloads\apktool1.5.2.tar>java -jar apktool.jar d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\xxx\Downloads\apktool1.5.2.tar>java -jar apktool.jar b framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
What's wrong?
Could someone help me?
Looks like a problem with apktool.yml. Is it located in the path the prompt is looking for it in?
063_XOBX said:
Looks like a problem with apktool.yml. Is it located in the path the prompt is looking for it in?
Click to expand...
Click to collapse
I changed directory and used full path to targetfile and it worked. Thanks to your suggestion!
So I changed back to apktool folder and specified sourcepath now:
Code:
java -jar apktool.jar b framework-res framework-res_new.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
That worked now. Perfect!
Then I "signed" the apk by replacing/inserting "AndroidManifest.xml" and folder "META-INF" to "framework-res_new.apk".
I will do nandroid, replace (unchanged) file and report very soon.
Greetings
Glad it worked. Reading command prompts is like a native tongue once you get the hang of it.
063_XOBX said:
Glad it worked. Reading command prompts is like a native tongue once you get the hang of it.
Click to expand...
Click to collapse
Modified "framework-res.apk" worked. I only had to recreate Google account.
But modifying android.policy.odex resulted in bootloop.
I made following:
Deodex:
Code:
java -jar baksmali-1.4.2.jar -c core.jar:core-junit.jar:bouncycastle.jar:ext.jar:framework.jar:telephony-common.jar:mms-common.jar:android.policy.jar:services.jar:apache-xml.jar -x android.policy.odex
Made changes. (See attachment.)
Create dex:
Code:
dexopt-wrapper system/framework/android.policy.jar system/framework/patched_android.policy.odex $BOOTCLASSPATH
Restore signature:
Code:
busybox dd if=/system/framework/android.policy.odex of=/system/framework/patched_android.policy.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
Replaced android.policy.odex
Result: Bootloop
Any suggestions? I got no errors.
Greetings
I'm with my question in this thread at all right?

Categories

Resources