[Q] Transferring stock apps - General Questions and Answers

Summary: How can I transfer apps from the stock rom (that are stored as.apk and .odex pairs) to my current rom?
Full Story: The stock rom (Gingerbread) for the Samsung YP-G70 has a working fm radio app that I'd like to use with my current rom (CM 10.2). I saved the .apk and .odex files from a stock install to my sd card.
Is this even possible?
If anybody's managed to do it, what're the steps? (the default apps are stored as .apk with a .odex file and xultimate can't seem to handle the files (get "top level error" about missing files and such))

No mate it is not that way....
goggle For it

Ankit Gor said:
No mate it is not that way....
goggle For it
Click to expand...
Click to collapse
Already tried that. All the results I'm seeing involve a third party app backup tool (which I've already tried without success), or don't address the mixed apk & odex issue.

no it wont
it wont work as it is odexed .... try deodexing the apk but still i would say it wont work but still u try...

Related

(request) stock Birthday/Event Reminder from Froyo

requesting the stock app from froyo "birthday reminder" or "event reminder" to be used on a stock gingerbread mod. (seemed it has been removed from GB)
thanks for helping!
(found one from stock froyo build but is only an ODEX file, no APK)
converting froyo system apps to GingerBread
so i managed to grab the
event reminder.apk and event reminder.odex
kpt.apk and kpt.odex
from a stock FROYO rom, however whenever i install the apk's
i got "application not installed" both apk and odex have RW R R permissions still nogo.
copied the files to /system/app doesn't work either...
does anyone know how to convert them to work on GingerBread?
thanks!
PS: if you need the files, let me know...
It is framework dependent...so it will not install...
popcorn1122 said:
It is framework dependent...so it will not install...
Click to expand...
Click to collapse
So can't the app be reprogrammed to suit a different framework???
would they be able to make it compatible with GB?
too bad.. those were my most useful apps from froyo.. wonder why they removed it from GB..

install apk extracted from other stock firmware or roms deodexed - help

Hello everyone, I hope I have posted in the right section, I have to ask you a question that despite several hours of trial and research remains to me: I was going to download the firmware official google nexus 7 and take the apk that interest me, and install them on our tablet 7plus.
I downloaded the version both deodexed and odexed of the google nexus 7 and I extracted, for example, the contacts.apk DEODEXED from it.Installing the apk android ics stock tells me: error with the analysis of the packet. I also tested with version odexed putting the apk file and the odex file into the folder system / apps but also restarting did not work ...
1) it's possible what I want and for example it's possible to install another launcher (ex. launcher.apk stolen from google nexus 7 stock deodexed) like a normal apk and use it just pressing home button and selecting it instead of touchwiz launcher?
2) if yes can you explain me the procedure?
3) do you know where I can find the backgrounds stock once downloaded any ROM (which gives me the compacted system folder plus other img etc etc?
Thank you in advance .... sorry for my english, i hope you have understood my intention : I'm going to replace the application of our contacts and launcher tab with those of the google nexus 7
See you soon, Andrea
djskarpia said:
Hello everyone, I hope I have posted in the right section, I have to ask you a question that despite several hours of trial and research remains to me: I was going to download the firmware official google nexus 7 and take the apk that interest me, and install them on our tablet 7plus.
I downloaded the version both deodexed and odexed of the google nexus 7 and I extracted, for example, the contacts.apk DEODEXED from it.Installing the apk android ics stock tells me: error with the analysis of the packet. I also tested with version odexed putting the apk file and the odex file into the folder system / apps but also restarting did not work ...
1) it's possible what I want and for example it's possible to install another launcher (ex. launcher.apk stolen from google nexus 7 stock deodexed) like a normal apk and use it just pressing home button and selecting it instead of touchwiz launcher?
2) if yes can you explain me the procedure?
3) do you know where I can find the backgrounds stock once downloaded any ROM (which gives me the compacted system folder plus other img etc etc?
Thank you in advance .... sorry for my english, i hope you have understood my intention : I'm going to replace the application of our contacts and launcher tab with those of the google nexus 7
See you soon, Andrea
Click to expand...
Click to collapse
I don't think you can just copy over a system apk from one device to another without porting it which I cannot help you with. Same thing goes for the launchers they too would need to be ported over. You could try and use something like apkManager to decompile the app then make the necessary changes to it, i.e. resolution, device name, etc, etc,. then compile it. I have no experience doing this with apps and you might find some help by digging around in the main android development forum, not the one for this device the main one.
http://forum.xda-developers.com/forumdisplay.php?f=524

[Q] How to get GTAB P5113 Samsung Keyboard on CM10?

Not liking the Android Keyboard too much in CM10 JB for Galaxy Tab 2 10.1 wifi
so, looking for way(s) to get the Stock Samsung Keyboard app/apk from ICS to work on CM10.
Tried using Titanium Backup / restore, as well as, recovery update.zip options but no luck.
Any ideas on how to get this app as well as few other Samsung Stock apps to work on CM or other builds?
You need the APK (and odex if it wasn't deodexed) as well as the lib for the keyboard.
a bit mre detail plz
imnuts said:
You need the APK (and odex if it wasn't deodexed) as well as the lib for the keyboard.
Click to expand...
Click to collapse
Dude, is that an Audi? I am guessing you drive one, I do and Love it!
As for how to make the apps run, I have searched but confused about Smali, Baksmali etc. And don't think I am going the right direction here. So, if you could, plz post some steps as to how this is done. Also, where to find the lib and odex files...
I'd have to restore my original backup and extract the files and later restore the current running cm10. Since I have only one tab, it is not easy to experiment as it takes time for loading etc. If u can post some specific steps, I'll just take it from there for all the stock apps I need (I.e. calendar, memo etc.)
The easiest way to do it would be to pull the APK from a deodexed ROM, then you don't need to worry about an odex file. For the lib, I believe it is libXt9core.so or similar, and it will be in /system/lib/. Then all you would need to do is put the APK in /system/app and the lib in /system/lib and it should work for you.
Also, yes it is an Audi

Install duplicated apps ver without overwrite

I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
xdadfm said:
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
Click to expand...
Click to collapse
I think you cannot without modifying the two .APK, can you rename one then copy to root/system/app ?
xdadfm said:
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
Click to expand...
Click to collapse
By modifying the package name of any of the .apk file, I think you should be able to install both versions.. because while installing an App, Android will compare the .apk's package name with the .apks already installed before... The point of modifying the .apk file is to make sure that Android sees it as a completely different app, and not think of one as an update to the other...
For more info, check out link below:
http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app
and try Googling this:
"install two versions of the same app android"
ivan.untalan said:
I think you cannot without modifying the two .APK, can you rename one then copy to root/system/app ?
Click to expand...
Click to collapse
It crash as I assume
Sami Kabir said:
By modifying the package name of any of the .apk file, I think you should be able to install both versions.. because while installing an App, Android will compare the .apk's package name with the .apks already installed before... The point of modifying the .apk file is to make sure that Android sees it as a completely different app, and not think of one as an update to the other...
For more info, check out link below:
http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app
and try Googling this:
"install two versions of the same app android"
Click to expand...
Click to collapse
The linked having various discussion but non of them are working
I had google around and the only way is to have different profile https://play.google.com/store/apps/details?id=fahrbot.apps.switchme&hl=en
Which is very risky getting boot looping.
The safest method is to modified the .xml but I am not an android dev.I doesn't know how to modified it.
Does anyone know any tools which can modified .apk to custom version. ?
Thank you
xdadfm said:
It crash as I assume
The linked having various discussion but non of them are working
I had google around and the only way is to have different profile https://play.google.com/store/apps/details?id=fahrbot.apps.switchme&hl=en
Which is very risky getting boot looping.
The safest method is to modified the .xml but I am not an android dev.I doesn't know how to modified it.
Does anyone know any tools which can modified .apk to custom version. ?
Thank you
Click to expand...
Click to collapse
For modifying .apk files you need to Download and Setup a small tool called APKTOOL (for Windows)
Below is the link to the GUI version of apktool:
http://forum.xda-developers.com/showthread.php?p=33815550
The original version of apktool works with Windows' Command Promt's command line interface... If you want that instead, then Google "apktool for windows" or anything similar
After decompiling, I think you need to edit your AndroidManifest.xml file BUT I am not sure about this.. please Google "how to change application package name android"

[Q] Restore secmemo.apk

Hi to all forum members.
I have a problem with a rom...
I need to restore Secmemo.apk from the rom I9100BlueZ_JellySNAP_v6.0.
In this rom this apk was deleted by default but i love this application and i have a backup of data to restore for it (my old rom was a previously version of android and if i restore application and data with titanium backup the application crash ).
I try to extract it from XWMS1 stock rom, deodex it, put secmemo.apk and secmemowidget.apk in /system/app folder but i don't show it in my apk list.
Anyone could help me?
thanks for your answers.
korabio said:
Hi to all forum members.
I have a problem with a rom...
I need to restore Secmemo.apk from the rom I9100BlueZ_JellySNAP_v6.0.
In this rom this apk was deleted by default but i love this application and i have a backup of data to restore for it (my old rom was a previously version of android and if i restore application and data with titanium backup the application crash ).
I try to extract it from XWMS1 stock rom, deodex it, put secmemo.apk and secmemowidget.apk in /system/app folder but i don't show it in my apk list.
Anyone could help me?
thanks for your answers.
Click to expand...
Click to collapse
Porting these to a new phone is hard so take the android version you have and look for other samsung roms of the same version with the memo apk then install that apk and restore the data. A more experienced dev could tell you exactly what to do.
Lgrootnoob said:
Take the package you initially got then find the apks in the /system/app folder and push those to your phone /system/app and then reboot.
Click to expand...
Click to collapse
if i restore from backup (my old rom was a stock rom) the application crash.
i try to extract it from the same stock samsung rom, put it into the system/app folder but it crash.
i try to deodex the apk and put it into system/app but it crash
i try also to restore from stock rom the symbolic link but it crash on start of the application ...
any idea?
Lgrootnoob said:
Porting these to a new phone is hard so take the android version you have and look for other samsung roms of the same version with the memo apk then install that apk and restore the data. A more experienced dev could tell you exactly what to do.
Click to expand...
Click to collapse
if i download this deodexed rom from this topic:
Code:
http://forum.xda-developers.com/showthread.php?t=2520038&highlight=xwms1
and extract system/app/secmemo.apk and copy to my rom in same position in your opinion it work?
thanks
korabio said:
if i download this deodexed rom from this topic:
Code:
http://forum.xda-developers.com/showthread.php?t=2520038&highlight=xwms1
and extract system/app/secmemo.apk and copy to my rom in same position in your opinion it work?
thanks
Click to expand...
Click to collapse
Can only know if you try.
The depenencies on these apks are on the touchwiz framework and stuff like that.
As long as the rom you take it from is a touchwiz samsung rom of the same version of android and the rom you put it on has the touchwiz framework then your fine but try it first.
If all else fails then you could be hacker and decompress the titanium backup zip file for your memo data and use an sqlite editor from the play store to see if you can read the memos that you left.
Or after that you could load the original rom up again and restore it on that or restore it on another of the same rom.(Another phone maybe)
Lgrootnoob said:
Can only know if you try.
The depenencies on these apks are on the touchwiz framework and stuff like that.
As long as the rom you take it from is a touchwiz samsung rom of the same version of android and the rom you put it on has the touchwiz framework then your fine but try it first.
If all else fails then you could be hacker and decompress the titanium backup zip file for your memo data and use an sqlite editor from the play store to see if you can read the memos that you left.
Or after that you could load the original rom up again and restore it on that or restore it on another of the same rom.(Another phone maybe)
Click to expand...
Click to collapse
i hope that the different framework between two roms is the problem...
for now i extract the db from titanium backup and reimport to colornote (from google play).
Thanks for your help

Categories

Resources