[Q] Best way to install new de-odexed system apps? - General Questions and Answers

I have a samsung galaxy note 2 (sgh-t889) I have de-odexed framework, and all system apks after a long learning process but i tested two of them and they worked on my phone! Pleased i would like to install the 151 apks and the framework files onto my phone but what is the easiest fastest way to do so?, i am still unfamiliar with adb but i know push pull, how can i delete system/app and replace it with my own app folder with all my de-odexed files?

Related

[Q] Is a partially deodexed phone okay?

I'm using xUltimate to deodex the files on my rooted Motorola I1 but I'm getting errors with a few of the system apps(Phone, CameraMoto, etc.). Is it safe to copy to my phone just the successfully deodexed apks and let be the few odexed apps? Or does everything on my phone need to be either odexed or deodexed for the phone to run?
I'm also very interested to the answer to this...
Well, it took a few failed reboots, but as of now my phone seems to be working while only partially deodexed. It's fully booted and I can make a phone call - haven't tested anything else. Everything in /system/framework is deodexed, but there are still a few apks in /system/apps that are not.
The output from the failed reboots seemed to indicate that at least one of the still-odexed apk files needed particular odex files in /system/framework and couldn't find them, raising an unhandled exception(I'd deleted all the .odex files from /system/framework once I'd copied over the deodexed versions). I copied back the odex files the apk needed(just the .odex files, not the originial .jar or .apk files) to /system/framework and the phone booted successfully.
So right now my /system/app has a mixture of odexed and deodexed files; my /system/framework has only deodexed jars but also has a few of the original odex files. Not sure if the phone would be okay with a mixture of odexed and deodexed files in /system/framework, especially with regard to certain critical jars. I seem to recall, however, attempting to put a single deodexed file(services.jar) onto a different phone(HTC Incredible) and not getting good results.
As long as the framework files are odexed, both deodexed and odexed apps in /system/app will work.
If the framework is deodexed, all /system/apps has to be deodexed, if not, the apps will be disabled on boot and won't show up in launcher (they won't get deleted). The device won't boot if for example the settings app gets disabled..
The framework cannot be deodexed partially.
Thanks Fr4gg0r, that makes sense and jibes with what I found. So far I've been able to manually deodex some of the /system/apps that xUltimate couldn't deodex itself, so I may not need to run with a partially deodexed phone, anyways.

[Q] Remove system apps and odex?

I'm debluring my US Froyo rom and there are some system apps that I want to remove completely. My question is if I remove the apks, should I also remove the odex files that they are associated with. I'm learning how to develop on Androids (Mainly my Defy but have friends that want me to clean up their phones) and a detailed explanation would be awesome.
Another question would be if I'm just renaming the apk, what should I do with the odex: leave alone, rename, or remove. And why?
PS: the original /system/app folder is completely backed up is I decide I want that app later

is this a stock samsung feature only?

When i was using a stock rom i remember i could copy libs and apks to system and as soon as i was out of root explorer those files worked without needing to restart.
Now i am on cm9 rc2 and i noticed that copying the same files i need to reboot to make the files work.
Is that a touchwiz exclusive feature or is somewhere hiden?
The only thing i remember doing different now in cm9 was updating apex launcher, could that be the reason?
The files i used are email apk, polaris office libs and apks, etc.

[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

[Q] Question about stock Samsung apps after custom mod

I know this has been asked before, but it hasn't been asked too clearly, at least to me. I'm using CM 10.1 on a Tmobile Galaxy S3, and I want to install a few of the Samsung apps like the Accuweather widget, sMemo, etc. I have all the apps in a backup folder, and they all have two files; a .apk file, and a .odex file. Can I just install them (.apk) like normal apps, or do I need to do something special with the .odex file, or can you even run them on a custom rom? I just really like a few of the stock features and would prefer to have them, but not at the cost of giving up CM 10.1 just to use them.
The stock apps need kinda stock environment to work with. So most of the stock apps don't work properly on a custom ROM.
That shouldn't prevent you from giving it a try.
You shouldn't be installing it as a normal app, but you should push the apk to system/app with right permissions (rw-r--r--) and reboot.
See if that works. Try with and without the odex file.
Look at this thread on how to set permissions.
A search would have told you that you can't run OEM apps in an AOSP based rom
Wayne Tech S-III
You need the framework that samsung adds. Using a rom based off the original will do it for you.

Categories

Resources