Hi there, I have to android phones and I found an app on the store that doesn't appear for my second phone (xperia ray and Desire S).
So I extracted the apk from my /data/app/ fodler but of course I still can't install it on my other phone.
I guess this is something to do with the AndroidManifest.xml, so here are the questions :
- What tool I can use to extract, compile apk's ?
- What tool can I use to mod my apk so it launches on my 2nd phone ?
Thanks
you can use apk tool to decompile the apk. then you can edit the whole apk using eclipse. to be able to install an apk from system/app you have to put the apk into the same spot and restart the phone.
Dataslycer said:
you can use apk tool to decompile the apk. then you can edit the whole apk using eclipse. to be able to install an apk from system/app you have to put the apk into the same spot and restart the phone.
Click to expand...
Click to collapse
Thanks, so the device compatibility list is generated when compiling from Eclipse ?
You are unlikely to be able to get the apk working on an incompatible phone. The reason for the incompatibility is likely to be that the phone lacks certain necessary features (e.g. CPU type or version of android) so can't run. Unless you intend to reprogram the app to run on reduced features you are better off asking the app dev to add support for the 2nd phone.
Both phones have exact same features : 1Ghz 7x30 and adreno 205 GPU.
Both on GB and planned to get ICS...
Both on the latest MIUI GB release
Is there an option to make it unavailable/available for some specific devices when compiling ? in the XML ?
I want to start porting MIUI4 ROM from ARC S to NEO/NEOV.
We have almost same HW except front camera and main camera color settings.
I've already made port MIUI 2.4.6 to NEO by copying all files from folders etc, lib, and usr to a ported ROM from ICS Beta ROM, and it helps - everything works. But I think its not correct.
Can Someone help me with the list of files that need to be copied only for camera fix. As doesn't work flashlight with old camera fixes.
I want to copy new drivers from .562 FW to MIUI ROM, but if I copied folders etc, lib, and usr I get a boot-loop.
Thank you.
I think all you have to update is sensors.conf (for correct rotation) , hw_config.sh & pre_hw_config.sh (for correct ambient light sensor settings, led notification settings & etc) these files can be found on system\etc, and the camera libs (liboemcamera.so [to have a correct camera dimensions] and the the camera drivers that can be found on usr/semc/camera/)
try these camera drivers (for Neo V only): http://www.mediafire.com/?s8bk19n0ne810a7
copy all the files to usr/semc/camera/
Hello!
I need a help, ihave two roms ported Atrix 4G:
http://forum.xda-developers.com/showthread.php?t=1580449
&
http://forum.xda-developers.com/showthread.php?p=26703948#post26703948
I think they are "ported" I could not make the themes work, these two bootloops rom I have to apply a theme.
some details:
Yes, I have all the system ported to Atrix, all apk's (framework-res, SystemUI, theme chooser, theme manager, there's nothing missing, if talking Application (apk), and all the jar files as well, and also permissions on the file etc / permissions (com.tmobile.software.themes.xml), can anyone help me? is missing some file, but can not find ..
It is possible to port Camera, VideoPlayer and MobilePrint apps from Samsung 4.0.3/leaked 4.0.4 ROM to CyanogenMod 9?
I've used many deodex tools, changing permissions (rw-r--r-- / rwxrwxrwx) etc etc. Nothing helped. Then I'm asking and looking here for help.
Anyone knows?
Many Samsung apps (including the ones you name) rely on the TouchWiz framework. Which is not present in AOSP ROMs. So no.
So sad... anyway, thank you.
Hi all
I have a little problem here. I was using telcel jb rom but 3g didnt worked for me and now i know why.
Mexico operators doesnt work with 3g on 2100 Mhz (my operator works in this frequency), and they've disabled it somehow for mexico.
In ZAF (south africa) JB 3g works fine for me, but doesn't have my language and i can't figure out a way to "translate" it. I tried modifying the apps puting inside them in the values folder the folder for pt-BR, but the apps doesn't work after re-compiling.
I really upset with this all. Somebody could help me on this?
I ask 2 things:
- Is there anyway to change the system network's operating frequency? how can i do it?
- Is there anyway to put my language inside ZAF jb apps? they have values for pt-PT but not for pt-BR. The files for pt-BR i take from the mexico jb apps (decompile with dependencies, lg-res.apk, recompile after put the values folder from mexico in zaf apps)
shucrut said:
Hi all
I have a little problem here. I was using telcel jb rom but 3g didnt worked for me and now i know why.
Mexico operators doesnt work with 3g on 2100 Mhz (my operator works in this frequency), and they've disabled it somehow for mexico.
In ZAF (south africa) JB 3g works fine for me, but doesn't have my language and i can't figure out a way to "translate" it. I tried modifying the apps puting inside them in the values folder the folder for pt-BR, but the apps doesn't work after re-compiling.
I really upset with this all. Somebody could help me on this?
I ask 2 things:
- Is there anyway to change the system network's operating frequency? how can i do it?
- Is there anyway to put my language inside ZAF jb apps? they have values for pt-PT but not for pt-BR. The files for pt-BR i take from the mexico jb apps (decompile with dependencies, lg-res.apk, recompile after put the values folder from mexico in zaf apps)
Click to expand...
Click to collapse
I can help you about how to add languages to apk. I guess you got compile error while rebuild apk back right? That because some string format in strings.xml are incorrect. I think it apktool bug. The problem is percent (%) character. It's used to format number. If you want % character in the text, you must use %% to escape it and it give you % in output text.
You must correct all error that display in apktool output while rebuild it back. And to make it works you should edit following apk
- LGSystemSetting.apk
- LGSystemUI.apk
- LGHome3.apk
- and what ever apps that you want to add your language to.
So... It's easier to just replace that apk from Mexico rom into ZAF rom.
Thanks for replying artit. I got some errors rebuilding the apks, but I installed lg-res framework with apktool and after this, i got them to compiling.
But i pushed them to my phone and the system became messed up. The status bar didnt show up (i edited LGsystemUI.apk), home didnt show up, settings, lockscreen, nothing, just the lockscreen wallpaper. I edited them, add my language but just this.
I tried replacing the apps from mexico but the phone don't boot when i replace some apps like installservice apk
One question: Do i have to be on a deodexed ROM to edited apps work? if yes, i found my problem, cause i take the apps from my stock rom odexed
shucrut said:
Hi all
I have a little problem here. I was using telcel jb rom but 3g didnt worked for me and now i know why.
Mexico operators doesnt work with 3g on 2100 Mhz (my operator works in this frequency), and they've disabled it somehow for mexico.
In ZAF (south africa) JB 3g works fine for me, but doesn't have my language and i can't figure out a way to "translate" it. I tried modifying the apps puting inside them in the values folder the folder for pt-BR, but the apps doesn't work after re-compiling.
I really upset with this all. Somebody could help me on this?
I ask 2 things:
- Is there anyway to change the system network's operating frequency? how can i do it?
- Is there anyway to put my language inside ZAF jb apps? they have values for pt-PT but not for pt-BR. The files for pt-BR i take from the mexico jb apps (decompile with dependencies, lg-res.apk, recompile after put the values folder from mexico in zaf apps)
Click to expand...
Click to collapse
You can do following http://forum.xda-developers.com/showthread.php?t=2230966
I didn't really read your post but if you can't access the 4g of one company because it's on another frequency then sorry you cannot change it as the chip is set to run at specific frequencies... Very sorry
Sent from my LG-P769 using xda app-developers app
shucrut said:
Thanks for replying artit. I got some errors rebuilding the apks, but I installed lg-res framework with apktool and after this, i got them to compiling.
But i pushed them to my phone and the system became messed up. The status bar didnt show up (i edited LGsystemUI.apk), home didnt show up, settings, lockscreen, nothing, just the lockscreen wallpaper. I edited them, add my language but just this.
I tried replacing the apps from mexico but the phone don't boot when i replace some apps like installservice apk
One question: Do i have to be on a deodexed ROM to edited apps work? if yes, i found my problem, cause i take the apps from my stock rom odexed
Click to expand...
Click to collapse
You can try Lelus method, it much easier than rebuild apk ,
For odexed file, I think you need to deodex apk first. But to make new apk work you must copy
- META-INF folder
- AndroidManifest.xml
from original apk to new apk. And for LG stock rom apk, you cannot modify AndroidManifest.xml file. If you modify it, that apk will not work. You should zipalign apk after rebuilt but it not necessary.
Maybe you can use apk from Jelly Cream rom, it's deodexed and has pt-BR, I add all language from Mexico & Thailand rom to Europe V20H. But I modified some framework and some config in apk. If you're still not success with this I'll reverse all changes and rebuild that apk for you. I plan to add new language to Jelly cream rom this weekend.
MoonMaster345 said:
I didn't really read your post but if you can't access the 4g of one company because it's on another frequency then sorry you cannot change it as the chip is set to run at specific frequencies... Very sorry
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
I don't think so. You can flash new baseband to alter usable frequency. And you can change phone frequency for 2G/3G in hidden menu.
artit said:
You can try Lelus method, it much easier than rebuild apk ,
For odexed file, I think you need to deodex apk first. But to make new apk work you must copy
- META-INF folder
- AndroidManifest.xml
from original apk to new apk. And for LG stock rom apk, you cannot modify AndroidManifest.xml file. If you modify it, that apk will not work. You should zipalign apk after rebuilt but it not necessary.
Maybe you can use apk from Jelly Cream rom, it's deodexed and has pt-BR, I add all language from Mexico & Thailand rom to Europe V20H. But I modified some framework and some config in apk. If you're still not success with this I'll reverse all changes and rebuild that apk for you. I plan to add new language to Jelly cream rom this weekend.
I don't think so. You can flash new baseband to alter usable frequency. And you can change phone frequency for 2G/3G in hidden menu.
Click to expand...
Click to collapse
Thanks again artit. I tried lelus method, didnt work, so im trying decompile/recompile apks, bot not much luck
I deodexed all apks and framework and pushed to my phone after removing the .odex files
Im stucked at lgsettings.apk, i can decompile it by installing lg-res.apk into apkmultitools, but goterrorwhen trying to recompile it. If you want to i post the error log
I also tried using jellycream apps, but my only try was replacing all apps so got bootloop. I will try replacing just the necessary ones - lgsettings, systemui, lghome, camera, installservice