guys i'm trying to add lockscreens to the rom i'm using, I decompiled classes.dex from framework jar of a theme which have the lockscreens i want, after decompiling classes.dex with baksmali i get 4 folders:
-android
-com
-java
and -siso
which files are the ones that contains the information about lockscreens?
edit*
decompiling android-policy jar i found the files of the lockscreens. what more do i need?
any help would be appreciated and I hope somebody can help me
thanks
i've search for a tutorial or something that help me, but came with nothing, thats why I post this
Related
Hi, just have a question regarding modding apks inside /app in odexed roms.
Have read a few threads regarding deodexing and decompiling apks, and just wish to clarify one thing:
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Here's what I tried:
1. Used xultimate to deodex
2. Used apktool to decompile apk
3. Edited xml
4. Used apktool to compile
5. Added META-INF and AndroidManifest.xml from original apk using 7zip
6. Deleted Contacts.apk and Contacts.odex
7. Copied Contacts.apk over
Thanks in advance!
ock said:
Hi, just have a question regarding modding apks inside /app in odexed roms.
(...)
For apks which have a corresponding odex file, is it possible to modify them without deodexing the whole rom? Intend to edit some xml files in the Contacts.apk file but wasn't sure of the exact procedure.
Click to expand...
Click to collapse
+1
I am also interested in the answer ...
I would like to theme some widgets and theme the statusbar on a stock ROM. I am not sure is it possible ? And what is the procedure with the odexed files ?
For the last 12 hours I have been trying to decompile and edit the strings of this equalizer app (attached) to suit my theme. I have tried apkedit and apk manager but ended up with errors and only half the smali files have been extracted. Somebody tell me what I'm doing wrong and if you're feeling extra generous, decompile and send the files.
Sorry if I'm asking too much
Thank in advance
I am trying to modify XMLs of Jelly Bean Contacts.apk. Using apktool that has been used for ICS and other Jelly Bean apks, I can decompile and then recomplie it without any error. However, the recompiled Contacts.apk would not work in cell phone, showing a message "Unfortunately, Contacts has stopped!".
To simplify the problem, I simply do decompiling and then recompiling without any modifications. I found that the size of resources.arsc has been changed from 1480 KB to 1525 KB. The new Contacts.apk causes FC!
Note: Files in smali folder can still be modified. After editing, use apktool to recompile and create a new apk. Then use WinRAR or 7zp to drag the newly created classes.dex into the original Contacts.apk. Such a "modified" Contacts.apk works properly. Note here that we did not modify resources.arsc.
This problem is only related to resources.arsc!! XMLs cannot be recompiled!!
Does anybody have the same problem? Do you know how to solve this problem? Any solutions or suggestions are appreciated.
Did anybody try this?
Are you all ok with modifying Contacts.apk?
With the current apktool jar file you can not edit any XML in the contacts apk. It has to be done in source code
Sent from the BatCave
zelendel said:
With the current apktool jar file you can not edit any XML in the contacts apk. It has to be done in source code
Sent from the BatCave
Click to expand...
Click to collapse
Thank you for your reply. The question is why we can edit XML in other apks except Contacts.apk.
Is there any magic?
framework-res.apk, Settings.apk, SystemUI.apk, Phone.apk are all ok without any problem.
iBotPeaches, the author of apktool, wrote: "Looks like we have new resource type. T9Map. Will have to code support for it. Its just loosing it on rebuild."
See discussions at: https://github.com/iBotPeaches/brut.apktool/issues/11
Hi please can anybody help:
So I decompiled the framework-res.apk with apk-tool and did some changes in res/values/arrays ...when I compiled everything this probleme was coming: In the original framework-res.apk all values folders are hidden, in my re-compiled ones they are there
I tried to flash the rom - bootloop ... can anybody teach me right compiling of the framework-res.apk?
Thank you
Flo0008 said:
Hi please can anybody help:
So I decompiled the framework-res.apk with apk-tool and did some changes in res/values/arrays ...when I compiled everything this probleme was coming: In the original framework-res.apk all values folders are hidden, in my re-compiled ones they are there
I tried to flash the rom - bootloop ... can anybody teach me right compiling of the framework-res.apk?
Thank you
Click to expand...
Click to collapse
Take Meta-inf folder from original apk and copy it to new one. Open apks with 7zip or winrar. And I think that you need to copy AndroidManifest too.
Sent from my GT-I9070 using Tapatalk
Have found this very easy and fast tool here on XDA,have tested and its awesome,just try it and hit thanx for the dev on original thread!!!
-----------------------------------------
[Decompile/Compile] Quick Mod Tool 5.0 [decompile and compile with speed]Windows+Linux
-----------------------------------
Sick of having to download multiple tools to get one job done? heres one that does JUST the basics
Installs framework
Decompiles .apk files
Decompiles .jar files(classes.dex)
Compiles .apk files
Compiles .jar files(classes.dex)
Decompiles classes.dex file
Cecompiles classes.dex file
Signs .apk files
Clear working files
Integrated process log
Integrated verbose log
Link to original thread: http://forum.xda-developers.com/showthread.php?t=2536073
-CALIBAN666- said:
Have found this very easy and fast tool here on XDA,have tested and its awesome,just try it and hit thanx for the dev on original thread!!!
-----------------------------------------
[Decompile/Compile] Quick Mod Tool 2.0 [decompile and compile with speed]
-----------------------------------
Sick of having to download multiple tools to get one job done? heres one that does JUST the basics
Installs framework
Decompiles .apk files
Decompiles .jar files(classes.dex)
Compiles .apk files
Compiles .jar files(classes.dex)
Decompiles classes.dex file
Cecompiles classes.dex file
Signs .apk files
Clear working files
Integrated process log
Integrated verbose log
Link to original thread: http://forum.xda-developers.com/showthread.php?t=2536073
Click to expand...
Click to collapse
thanks mate, i appreciate you sharing my work
linux version is updated on original thread.
tool is updated to v4.0 in original thread.
its updated to version 5.0 in original thread.