Recompile apks - Android Q&A, Help & Troubleshooting

Everywhere i look redirects to apkmanager.. Which is not working for me.. Can someone tell me the manual way to recompile an apk.. Or an alternative to apk manager.
Sent from my SPH-D710 using XDA Premium App

http://apkmultitool.com/
Here is a really good tool for APK files and more!
easy to use and set up.
Start recompiling APK's right away!

redbaron2005 said:
http://apkmultitool.com/
Here is a really good tool for APK files and more!
easy to use and set up.
Start recompiling APK's right away!
Click to expand...
Click to collapse
Facepalm... That is apkmanager. sigh...
Sent from my SPH-D710 using XDA Premium App

voredroid said:
Facepalm... That is apkmanager. sigh...
Sent from my SPH-D710 using XDA Premium App
Click to expand...
Click to collapse
it has apkmanager in it...
It's not apkmanager...
I gone through this a few times... trust me.
Download it, install it, put it in the same folder as your Android SDK, thats IT launch the .bat file.

redbaron2005 said:
it has apkmanager in it...
It's not apkmanager...
I gone through this a few times... trust me.
Download it, install it, put it in the same folder as your Android SDK, thats IT launch the .bat file.
Click to expand...
Click to collapse
Ok i didnt have it in the sdk folder.. Ill try that.. Ty
Sent from my SPH-D710 using XDA Premium App

Ok so that fixed the ADB not found issue thank you for that... my issue with it not compiling/decompiling was I was trying to use an odexed apk.. live and learn right... thanks for your help..

No problem anytime, I'm glad I was able to help.

Related

Media player

Could someone upload or tell me where to get stock 2.1 media player
Sent from my GT540 using XDA App
here you go
http://www.juniorwebdevs.co.uk/downloads/Music.apk
I want the media player not the music player
Thx anyway
Sent from my GT540 using XDA App
sorry i uploaded the wrong file ill upload the media player now for you
it should be one of them
http://www.juniorwebdevs.co.uk/downloads/ArcMMP.apk
http://www.juniorwebdevs.co.uk/downloads/ArcMediaGallery.apk
It doesnt get installed just like sim toolkit
Thx for uploading it
Im using joestone AOSP gingerbread does that affect anything
Sent from my GT540 using XDA App
mohnim said:
It doesnt get installed just like sim toolkit
Thx for uploading it
Im using joestone AOSP gingerbread does that affect anything
Sent from my GT540 using XDA App
Click to expand...
Click to collapse
Arc Software needs certain things that non-lg roms don't have. Therefore you can't install it.
Sent from my SwiftDroid 1.8 (2.3) GT540 using XDA App
I've been trying to port it but no luck
Sent from my GT540 using XDA Premium App
pashinator said:
I've been trying to port it but no luck
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
Same, I can get it to sorta work... it just won't do anything (how is that working??) -- lol, it loads up to the Music / Video screen and then refuses to continue.
pashinator said:
I've been trying to port it but no luck
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
The ArcSoft package contains the ArcSoft folder from /system/3rd_party and some libs in /system/lib (like libarc???.so). No luck for me too, maybe some more files missing. If anyone could do, I would be really thankful to him
tejasdj12 said:
The ArcSoft package contains the ArcSoft folder from /system/3rd_party and some libs in /system/lib (like libarc???.so). No luck for me too, maybe some more files missing. If anyone could do, I would be really thankful to him
Click to expand...
Click to collapse
I think there's something in the framework of stock roms it relies on, I can get it to install and load (after some nasty hacks), but it seems unable to actually function (Log just spits out "Application already in focus ignoring..." )
... But don't think I've given up, this is one of the few items on my "wish list" for SwiftDroid
Quinny899 said:
Arc Software needs certain things that non-lg roms don't have. Therefore you can't install it.
Sent from my SwiftDroid 1.8 (2.3) GT540 using XDA App
Click to expand...
Click to collapse
Can you elaborate a bit further? -- It was easy enough to "hack" the apk to allow it to install, and it loads up... just kinda doesn't actually do it's thing. (log is no help here sadly)
olite said:
Can you elaborate a bit further? -- It was easy enough to "hack" the apk to allow it to install, and it loads up... just kinda doesn't actually do it's thing. (log is no help here sadly)
Click to expand...
Click to collapse
It'll have stuff deeply encoded into random libs or something. You know what LG are like. It's like porting the FM radio
Sent from my Desire HD using XDA App
I got it try getting the Lib file and the APK
Sent from my HTC HD2 using xda premium
I think the .so files in the lib folder lets you install some apps and games depending on the Install Codes in the .so files, apps and the Games
Sent from my HTC HD2 using xda premium
The arc files are in random Locations and i think you need to get the LG GT540's Package Installer from /system/app/package installer.apk the permissions for the apk are
Owner R/W
Group R
Others R
I hope this helps ;D
Sent from my GT540 using xda premium

Reader app

Does anyone know if it would be possible to rip the Reader app from the flyer for use on other devices?
Sent from my Xoom using XDA Premium App
baggy247 said:
Does anyone know if it would be possible to rip the Reader app from the flyer for use on other devices?
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
Testing the .apk and the .odex on my evo...we'll see if it works haha
EDIT: It didn't install..maybe it could be that I am using CyanogenMod7...
Here are the apps if someone wants to play with them.
Shigster said:
Testing the .apk and the .odex on my evo...we'll see if it works haha
EDIT: It didn't install..maybe it could be that I am using CyanogenMod7...
Here are the apps if someone wants to play with them.
Click to expand...
Click to collapse
Hmm I'd imagine in would need to be modded to work with non sense roms =/
Sent from my Xoom using XDA Premium App
How did you try to install it? Did you just "run" the apk from the sdcard?
That won't work. Because of the odex file.
You could de-odex the app and try to install it again.
More infos about de-odexing here: http://code.google.com/p/smali/wiki/DeodexInstructions
nickiberli said:
How did you try to install it? Did you just "run" the apk from the sdcard?
That won't work. Because of the odex file.
You could de-odex the app and try to install it again.
More infos about de-odexing here: http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
I placed the apps in the system/app folder and restarted....I don't have a need for it but I made them available for those who want to mess around with them =P

Apktool help

Hi,
I can decompile/compile/sign/zipalign fine using apktool, but when i have decompiled framework/systemui all the xml files come out with huge gaps between the coding. im using notepad++ to view/edit xml.
It doesn't affect the compiling but its hard to find code to change.
example: a normal xml with 5 lines of code will come out with about 20-30 lines.
Am i doing something wrong or is it apktool?
thanks.
stealo said:
Hi,
I can decompile/compile/sign/zipalign fine using apktool, but when i have decompiled framework/systemui all the xml files come out with huge gaps between the coding. im using notepad++ to view/edit xml.
It doesn't affect the compiling but its hard to find code to change.
example: a normal xml with 5 lines of code will come out with about 20-30 lines.
Am i doing something wrong or is it apktool?
thanks.
Click to expand...
Click to collapse
Its an APKtool issue, emmm I got alot of errors using apk manager and apktool, I dont know whats the problem and still didnt find a solution. Everytime I use it I have to have errors... and its annoying
I could do many stuff if it would work !!
do you want my apktool folder? i can try and help if its the same as my setup. its a bit messy but works.
Sent from my GT-I9100 using xda app-developers app
stealo said:
do you want my apktool folder? i can try and help if its the same as my setup. its a bit messy but works.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
check the link below ma8, even though its a mod tutorial thread, u have some usefull info regarding APK tool and also about decompile/recompile subject's over there, which might help u with ur issue
http://forum.xda-developers.com/showthread.php?p=29020343&posted=1#post29020343
Sun90 said:
check the link below ma8, even though its a mod tutorial thread, u have some usefull info regarding APK tool and also about decompile/recompile subject's over there, which might help u with ur issue
http://forum.xda-developers.com/showthread.php?p=29020343&posted=1#post29020343
Click to expand...
Click to collapse
cheers.
i saw that this mornong. i got sweet [email protected]#k all done at work today. playin around with all that stuff. ive switched back to cm9 stable. still got issues with the xml's, a door knob probably knows more than me though.
Sent from my GT-I9100 using xda app-developers app

Chrome apks

Here are some apks that change the icons on your home screen and your app drawer.
Thanks to Pfaffinator for the icons.
1 go to system/ app and copy your entire app file then place it on an sd card for backup if you want to revert back to your original icons.
2 copy these new apks to system/ app. Your phone will ask if you want to replace your old apk with the new one...tap yes then profit.
3 I do not know how to make a zip file yet as I am still learning.
4 I will add more as I theme more icons.
5 DISLAIMER : I am not responsible for your phone if something goes wrong.
Here are some screen shots
Download
http://db.tt/iOAl5ScE
If someone would like to zip these up feel free
Sent from my EVO using xda app-developers app
Mine
Sent from my EVO using xda app-developers app
If you flash super Jelly, use the super Jelly updater to download a blank zip. You then use an archive manager like 7zip or winrar to place the apk's in the system/app folder. I think it has to be signed for JB, not sure how to do that tho.
Thanks for sharing tho. If these are someone else's work can you give them credit? If this is your work, nice job!
Edit: saw you said you were theming the icons. Sorry if I offended by suggesting this was another person's work
Sent from my EVO using xda premium
fpineda101 said:
If you flash super Jelly, use the super Jelly updater to download a blank zip. You then use an archive manager like 7zip or winrar to place the apk's in the system/app folder. I think it has to be signed for JB, not sure how to do that tho.
Thanks for sharing tho. If these are someone else's work can you give them credit? If this is your work, nice job!
Edit: saw you said you were theming the icons. Sorry if I offended by suggesting this was another person's work
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Sorry my mistake. I didn't make the icons. I put them in the apks to use with our phones. Thank you for making me aware that I needed to do that.
Sent from my EVO using xda app-developers app
Pull the apks modified. Either adb pull system > w/e.apk. or do it via phone via a root powered file explore. Place the apks on your sdcard. Mount the device place on your computer. That download a theme or a mod zip. And archive into that make your changes etc flash to test then release as a theme. Message me about if you already haven't ill get to you as soon as I can.
Sent from my EVO using xda app-developers app
I did have a slight problem with the nfc apk force closing on boot.
shadowxaero said:
I did have a slight problem with the nfc apk force closing on boot.
Click to expand...
Click to collapse
Did it force close once or does it work correctly now? If it doesn't work correctly and you made a backup on your SD card of your original APks you can just pull the NFC apk only and put it back in system app.
Sent from my Galaxy Nexus using xda app-developers app
Anyone figure out how to zip these yet? I would really like to use these but I'm not too good at this other method...nice work on these btw bro :thumbup:
Sent from my EVO using xda app-developers app
That's what I did, just replaced it with another NFC apk.
Sent from my EVO using xda premium
Can someone who got these to work explain to me how they did it? I downloaded the YouTube file went to es file explorer copied the apk went to system/apps pasted it then it asked me if I wanted to overwrite I pressed yes it said it was installed successfully but when I go to my app drawer nothing changes...any help would be appreciated Tia
Edit: nevermind after I rebooted it changed..you should put that you need to reboot in the instructions so less educated people like me know that..thanks for these they are sweet and go with my chrome theme!
Sent from my EVO

Apktool problems

I used apktool to decompile the whatsapp apk but as soon as I try to recompile (with or without changes), I get a lot of errors..
Sent from my GT-I9070 using XDA Premium 4 mobile app
Exact error? Have you tried searching?
GermainZ said:
Exact error? Have you tried searching?
Click to expand...
Click to collapse
Hello, attached is a screenshot of the exact error I've encountered. I tried searching but no relevant answers were found.
RazaVakil7995 said:
Hello, attached is a screenshot of the exact error I've encountered. I tried searching but no relevant answers were found.
Click to expand...
Click to collapse
You didn't attach anything.. Make sure that you have your frameworks installed via apktool before recompiling.. best thing to do is copy/paste your cmd prompt of the apktool process of it trying to compile.. then we will go from there
Sorry the screenshot I took wasn't getting uploaded because it was in bmp format. Actually when I decompiled and recompiled flappy bird's apk it works. I used myappsharer to send whatsapp but I sent the flappy bird's apk natively through file manager. Can this be the reason for it not working
Sent from my GT-I9070 using XDA Premium 4 mobile app
RazaVakil7995 said:
Sorry the screenshot I took wasn't getting uploaded because it was in bmp format. Actually when I decompiled and recompiled flappy bird's apk it works. I used myappsharer to send whatsapp but I sent the flappy bird's apk natively through file manager. Can this be the reason for it not working
Sent from my GT-I9070 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Could be.. Try just pulling it from your sdcard or wherever you downloaded it too..

Categories

Resources