General :: How To Decompile / Recompile System Apps From MTK Phones
Dec 21, 2013
how to Decompile/Recompile System apps from MTK phones? I'm using apktool 1.5.2.I can decompile like "SystemUI.apk"But I can't recompile. Even I didn't edit anything yet.Specially those who have MTK phones.
View 3 Replies
Aug 20, 2013
I want to add some function to my system music player app. So I decompiled the classes.dex with dex2jar, copied the source code and add the code for my functions. Now my problem is that I do not know how to recompile the app. I can't compile it with Eclipse because it uses some system namespaces (in Eclipse it is an error so I can't compile) How can I recompile the app? I only have the *.java files.
Or can't I use the java files and have to edit the smali files? Of course that's much harder...
View 6 Replies
View Related
May 17, 2012
I don't want to use APK Multi-Tools or APK_Manager or whatever. I want to know exactly what those tools are doing in order to recompile the system apk while keeping the original signature.
What I initially did...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
But obviously that's unsigned. I need to sign it, but I want to use the original signature, which I'm guessing is the META-INF stuff, right? So I attempted this...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
7za x -o"%~dpnx1-signature" "%~dpnx1.apk" META-INF -r
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
7za a -tzip "%~dpnx1.apk" "%~dpnx1-signature/*" -mx9
You'll notice I now use 7-Zip to pull out META-INF from the original APK and then insert it back into the recompiled one afterwards.
The only other thing I can think of would be to go with my first method, but then use 7-zip to pull out the compiled files from the unsigned apk and insert them into the signed apk. I haven't tried that yet, but it will be the next one I go with. Every time this fails, though, I have to do a nandroid restore.
For those interested, after running "apktool b" (to build/compile), ignore the output zip. Instead go into the source directory and there is now a build directory. In that is an apk directory. Simply add your changed files to the original untouched APK (if you modified any XML files, then replace resources.arsc; if you added anything to smali, then replace classes.dex; if you added any XML files, then you need to include those as well; for me, i copied resources.arsc, classes.dex, and one new XML file). I used the following command:
Code:
zip -9 ..SystemUI.apk reslayoutstatus_bar.xml classes.dex resources.arsc
I use zip instead of 7za for cosmetic reasons. You can also use "7za a -tzip etc..." if you want.
View 1 Replies
View Related
May 18, 2013
I'm interested in an app to decompile apps within android. Something like ninjamorph would be great however ninjamorph seems to do the equivalent of extracting an apk instead of leaving an editable app with readable xml files. What is the likelihood of something like this happening? What is preventing it from happening?
View 2 Replies
View Related
Jun 24, 2010
I was just having one of those moments of thought about switching my phone from an Incredible to the Droid X, still tossing the idea around, but say I do....what happens to the apps that I bought on the Incredible...would they be useable on say a newer Android based phone?
View 4 Replies
View Related
Aug 18, 2013
The title says all, the decompiling is succesfull, but i cant recompile any apk, this is the log when i try to recompile holo launcher. (using the last apktool)
and the same happen even if i dont edit nothing on the apk and try to recompile.
I have "if framework-res and systemui" resources from my phone
View 1 Replies
View Related
Aug 8, 2012
I've been able to successfully disassemble the Google Now apk for ICS devices and made a change to the sounds it makes for "open" and "success". However, xdaAutoTool displays a lot of errors when I try to recompile it.
View 1 Replies
View Related
Feb 8, 2013
Is it ok? Will there be problems in the future or not?
View 3 Replies
View Related
Jun 15, 2012
Any TUT in how to recompile an existing kernel so i can make some changes and then recompile it?
View 5 Replies
View Related
Mar 3, 2012
Everywhere i look redirects to apkmanager.. Which is not working for me.. Any manual way to recompile an apk.. Or an alternative to apk manager.
SPH-D710
View 6 Replies
View Related
Dec 29, 2013
I cant recompile movies,stock launcher apk. If I just decompile and again recompile without any changes it gives me error.
C1904
View 5 Replies
View Related
Jul 8, 2012
I want recompile the kernel of my lg e400 for add ext2-3-4 support.How i must proceed? I'm able to compiling with success and i have source from lg, sdk installed etc etc.
View 3 Replies
View Related
Mar 13, 2012
I'm trying to decompile a few apks for modifying the dialer on an ICS rom. When I go to decompile I get an empty folder and this error:
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder .java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder .java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib .java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85 )
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
All I would like to do is edit a few xml files to change the color on text. Could I just rename the apk to .zip and extract the files to be edited?
View 5 Replies
View Related
Jun 6, 2012
How to decompile APK in android?
View 4 Replies
View Related
Jul 8, 2013
I have been trying to use APK Tool for HOURS and I keep getting this error:
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" java.lang.ClassCastException: brut.androlib.res.data.
value.ResFileValue cannot be cast to brut.androlib.res.data.value.ResScalarValue
at brut.androlib.res.decoder.ARSCDecoder.readComplexE ntry(ARSCDecoder.ja[code].....
I am trying to edit BlockLauncher Pro APK. Is there any other way to decompile apks?
View 7 Replies
View Related
Apr 18, 2013
how to decompile and compile jar files using cmd or other...
View 2 Replies
View Related
Nov 22, 2011
Using APK Manager im trying to decompile some APKs from ICS, though always run into errors (Unlike GB APKs which I have no problem with)
Code:
|22/11/2011 -- 20:21:58.42|
--------------------------------------------------------------------------
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)
--------------------------------------------------------------------------
|22/11/2011 -- 20:22:29.68|
--------------------------------------------------------------------------
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
[URL]
Ive heard using the newer version of APK Manager is supposed to fix things, though cant find a newer one. The only file I found on XDA was a Jar file, and didnt explain what / how to replace with current APK Manager.
View 9 Replies
View Related
May 11, 2013
what do you use to transfer your data between phones?
I want atleast my apps and sms transfered.
Bonus perks if it can transfer the app settings/saved games.
View 3 Replies
View Related
Jun 23, 2012
I can decompile and recompile framework-res.apk and other apps successfully, but every time I decompile a theme chooser *.apk I get errors trying to recompile.
Is there a trick to this? I am running Reaper 3.0(CyanogenMod 7) installed the framework via installation options(that's all), have paths to platform-tools, tools etc.. The latest Android SDK installed (and all the others..)
Once again I'n only getting these errors Recompiling TC Themes.
Here is an Excerpt of my APKMULTITOOL.LOG, the start middle and end.
(full log is also attached)
|
Code:
Thu 06/21/2012 -- 22:05:11.28|
--------------------------------------------------------------------------
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/signedcom.araviel.theme.aerish.apk
Could Not Find C:android-sdkplace-apk-here-for-modding../place-apk-here-for-modding/unsignedcom.araviel.theme.aerish.apk
I: Loading resource table...
I: Loaded.
[code]...
View 2 Replies
View Related
Aug 19, 2012
I need to edit my phone "service.jar' file. So i need to know how to compile and decompile ".jar" files. I think before the edit ".jar" files i need to decompile it like android apps. Are there any too for it like apktool? I try to do it with apktool but not success.
View 4 Replies
View Related
May 20, 2014
Is it possible to decompile an apk and change some function? For example: A game give you always 50 gems for an exercise. Is it possible to change the function so you will get 100 gems?
View 1 Replies
View Related
Feb 20, 2014
I was trying to decompile, modify and then recompile my SystemUI.APK to put THIS mod into it. I am using THIS TOOL.... Now I can successfully decompile my SystemUI.APK, but when I go to recompile it, nothing happens and there is nothing in the recompiled folder.
BTW I have a Sprint GS4 running a custom ROM (TouchWiz based) on Android 4.3.
View 1 Replies
View Related
Oct 10, 2013
It Possible? I Decompile App and i want add my class to this app. How to do this? I search but can'y find any guide. I Use Apktool.
View 5 Replies
View Related
Mar 31, 2012
I have 3 android phones, one old G2, one xperia X8 and recently I got a free motoluxe from t-mobile.
I would like to make sure all the installed apps are always synced between each phone: If i install a few apps on the G2, I will be able to install them on any other phone by clicking a button or such without having to remember what i did install.
One major problem is that the motoluxe is not rooted yet, but both the other have custom roms.
View 2 Replies
View Related
Feb 20, 2014
I've installed the android sdk, java, and all the other fancy things I was supposed to, but cannot get Android Multitool to decompile any apk's.
This is the error log it throws out: The system cannot find the path specified. 'apktool' is not recognized as an internal or external command, operable program or batch file. The system cannot find the file specified.
View 4 Replies
View Related
May 18, 2013
I know how to decompile, recompile and sign apk but how to decompile smali file for editing....
View 9 Replies
View Related
Nov 26, 2013
Some apps like location tracking apps on my sons phone does not work all the time when his phones on 2g internet. But on wifi it seems to work all the time. Apps like life360 location tracking apps, remote control apps like androidlost, which uses push messages and also polling services works intermittently. Sometimes it works on 2g internet and sometimes it does not. But on wifi, there's no problem at all.
But strangely messaging apps like viber works continuously on 2g or wifi without any problems.
View 3 Replies
View Related
Dec 11, 2011
I am about to activate a Droid for my wife, and I would to set her up with her own Google account for email, contacts and such, but be able to download apps using my Google Checkout account and be able to install my purchased apps. Is there a way to do this? I know this is available in the iOS world. I was hoping the same thing would be available in the Android world.
View 3 Replies
View Related
Apr 3, 2012
I've occasionally had some issues with seeing the white HTC screen between switching apps and what not, is this because all of them are on my phone? Is it better to put some on the sd card?
View 7 Replies
View Related
Feb 16, 2012
I'm trying desperately to edit some files inside SystemUI.apk and framework-res.apk but I'm having some troubles...
I wanted to post in the specific thread of the program : [URL] but I'm not allowed to, because it's my first post here.
First I used only apktool, I managed to decompile my 2 files with no problems, I replaced a few *.png files and tried to recompile it but I'm getting errors... (I only manage to recompile the files if I don't edit a thing)
Then I tried APK Multi Tool, I achieved to decompile my 2 files (with the option 9 in the program), but I can't recompile them after editing my files. So I decided to make a test, I tried to decompile and recompile (I hit 9 then 11 in the choice case) them WITHOUT changing a thing and I get errors anyway. If I use the choice 1 (only extract the apk), do my editing and then zip the project (with the choice 3), directories are wrong inside the new *.apk, I get "projectsSystemUI.apk(res or smali, etc...)" so the *.apk result is not usable
Here is the log file when I try to recompile WITHOUT changes :
Code:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
[Code]....
View 9 Replies
View Related