General :: Recompile APKs Manually?
Mar 3, 2012Everywhere 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
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
I cant recompile movies,stock launcher apk. If I just decompile and again recompile without any changes it gives me error.
C1904
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
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 RelatedAny TUT in how to recompile an existing kernel so i can make some changes and then recompile it?
View 5 Replies View RelatedI 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 RelatedI 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...
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]...
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 Relatedhow 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 View RelatedI 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.
I am trying to install apks from a sense rom for the Droid DNA but none of them install. What am I doing wrong?
View 1 Replies View Relatedi am trying to combine two apk's in one..i write scripts using python for android.i can package those scripts in apk. however apk if installed on a phone which doesn't have python interpreter ask's user's to download interpretor.
what i want is one monolithic apk which contains python interpretor plus my script.
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?
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.
I have been searching all over the place for a guide on how to invert apk's.
View 9 Replies View RelatedIs there a way to have, say, multiple Gallery.apk, all being individual applications that can be opened? But not default apks, an apk that I downloaded from the Playstore.
On that note, where can I find my apks that I downloaded from the Playstore?
I want to modify some apps but when I do I can't seem to get them working on devices.
I am happy with the use of APK tool and zipaling, and have successfully modified my SystemUI.apk but when I try to mod apps it does not work.
I have tried modding the apk in data/app and just replacing the file and tried modding the downloaded apk and try to install.
My process:
Decompile (APKtool)
Mod
Recompile (APKtool) - with errors
I add the files from the original APK that errored during recompile with 7zip
Zipaling
Transfer back to the device
Devices
Samsung S3 mini & Nexus 7 - both running stock rooted JB 4.1.1
We use Eclipse for making android apps. Is there any way to open APK files in Eclipse, so I can view their source folder, etc. and do any editing? I've used APK Multi tool and APK Manager, but I wanted to open an APK in Eclipse.
View 3 Replies View RelatedI'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.
So I know how to extract APKs with APK manager.
However, I want to know, when you extract APKs, where are the images of the APK located?
In which folder when you extract the APK files, are the images?
- It used to be easier back in the day, you would extract and all the images would just be there.
Sideloading of apk's does not work anymore. I did not install any new app or module. Unknown sources is checked of course.
But when I try to install an APK clicking on Install does not respond and no message appears. I rebooted more times, cleared all caches, etc. to no avail.
My first post on XDA...I bought myself a Galaxy S2 (G!) and really loving it.Now that I want to have some apps on my phone and enjoy it , I have data connection and a bit costly and also wired internet has some problem to be converted into WIFI as well
where I can download the APK files of android apps?But I want dont want take risk of my google account and want to download APKs without making my ID out .
I want to extract all files from multi packages odin files, that comes in .tar.md5 extension.
View 6 Replies View RelatedWhen trying to install an application does not allow. installation starts proper activation, during the course of the installation remains frozen and after a few seconds restarts my xperia s ...
View 2 Replies View RelatedI know they should be in /data/app but 2 are missing. I recently added my wife's account to my Gnex since she bought Where's my Water and Amazing Alex for my son to use on her phone. I wanted to install Amazing Alex on our Asus Transformer TF101 but Rovio has decided it doesn't work well. Now my 5 year old is freaking out. I added her account to my phone and downloaded it from the Play Store. I wanted to side load it to the TF101 via Dropbox but the apk doesn't show in the /data/app folder when using Root Explorer. Neither game I installed using her account shows.
View 3 Replies View RelatedI've been looking for a way to make a flashable ZIP that does the following:
Installs Galaxy Locker
Installs Nova Launcher
Installs an icon pack
Sets the wallpaper
Uses my Nova Launcher settings
sideloading apks to multiple android devices at once (like, 8 or 9 of em). Searched around the forums a bit and couldn't find anything directly relating to this issue, so I figured I'd ask. I dunno if this belongs more in App development, but its an Android specific issue so...
At present I'm using Test Flight App (I'd post the URL but I'm too much of a noob here) to manage builds and releases. Its really great for getting beta builds out to the studio team, and to various beta testers and potential partners.
1) Actually downloading the apks is a manual process per device. So if you've a small QA team (or are working solo) it takes alot of time to get the newest build onto everything.
2) Each build has to be uploaded via the Test Flight website, then distributed to users on a build by build basis. This is a difficult to automate process, so makes having any kind of continuous integration system for nightlies etc. difficult at best.
I've been looking into possibly doing something like installing a Dropbox on each device and automating CI builds to a dedicated folder, which is shared via Dropbox to everything, but its a bit of work up front to get it working and I may still have to actually manually install the things each time.
i was wondering if there is a way to create a zip package to flash through CWM, in order to install various apks simoultaneously... You know, when i flash a new rom i get bored of having to reinstall everything, and Titanium backup doesn't work properly... so i wanted to create a pack with all my favourite apps, and install them all in once!
View 1 Replies View RelatedI'm just curious if it is possible to port proprietary apps (for example the S3 SecEmail.apk) to different phones, or are they locked into mfg specific phones?
The reason I ask this is because I am trying to find an email app that offers image compression, and I can't find one anywhere. This is the only one I've found.