[Q] "smali" files on the I727? Can they be edited without Baksmali (Deodex)?
I've been looking into the coding on this phone for a while. I've made a couple of posts trying to figure out how to get Nfc enabled on this phone with no luck. So I am trying to look into it a bit further myself. I'm learning as I go, but I am trying to compare other phones files (and custom ROM files) with working Nfc with the stock ROM files on the SkyRocket to try and find clues as to which files are needed to start working on this. One thing I notice (difference) is there doesn't seem to be any "smali" files or code on the SkyRocket stock ROM. Can someone please tell me where they are located (I am rooted and use Root Explorer) on the Stock ROM or which files are used in their place?
Thanks.
**Edit**
OK, I've done a little more research and found out the "smali" code in an Odexed ROM is located in the Odexes. In order to work on them I am guessing they would need to be DeOdexed? Or is there a way to view and edit them without Baksmali?
typically bc
an odex file is renamed to class.dex and combined into the same apk
deodexing basically works likethis
every apk needs a set of instructions
thats the odex
so by removing the odex and turning it to a classes.dex
file we can remove the unwanted odex file
and speed up access to the files instructions
opens faster closes and caches faster i do beleive i could be wrong
but i know the general idea
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.
Hi, recently i installed CM10.1 and NUMA and i love both. I really love the apps that they have.
So, now i've installed Jelly Bean official, and i wanted to bring the phone.apk to my new Jelly Bean, but didn't work. I have no signal with that apk.
Is there a way to do this?
I want the phone.apk that have 3 tabs. 1: Dialer, 2: History, 3:Contacts.
And also, i want the 4.2 clock, the icons (framework-res.apk and SystemUI.apk) from 4.2.
I have the apk's from CM10.1, but i don't know if i can move it to /app without problems.
I'd really apreciate your answers.
PS: Yes, they have rw-r-r
brianmoyano said:
Hi, recently i installed CM10.1 and NUMA and i love both. I really love the apps that they have.
So, now i've installed Jelly Bean official, and i wanted to bring the phone.apk to my new Jelly Bean, but didn't work. I have no signal with that apk.
Is there a way to do this?
I want the phone.apk that have 3 tabs. 1: Dialer, 2: History, 3:Contacts.
And also, i want the 4.2 clock, the icons (framework-res.apk and SystemUI.apk) from 4.2.
I have the apk's from CM10.1, but i don't know if i can move it to /app without problems.
I'd really apreciate your answers.
PS: Yes, they have rw-r-r
Click to expand...
Click to collapse
I assume the JB rom is stock odexed? If so, there's half your battle. If you just replaced the phone.apk, then you need to rename the .odex to .bak or something similar. However, I think the moto dialer is more integrated than just being a standard apk, I think contacts come into play as well. (I could be wrong here.)
You might try renaming the phone.apk and it's odex then putting the apk you want in it's place with the proper permissions. Reboot, wipe dalvik, and see if that works. If not, you might try installing the phone.apk that you want, and clear the defaults for the original, then set the new apk as default.
Same for the clock.
As for framework-res, and SystemUI, that just won't work. (I'm not sure I understand what you want out of these two, so I apologize in advance.)
Remember, our CM10 has an ICS framework, so I'm not sure what is actual ASOP JB and what is Frankenbuild. You might seek those apks from a proper JB build. I'm not sure that this can even be done, but there's my two cents nonetheless.
Don't forget a backup before you go crazy, though I'm sure you're well aware of that.
41rw4lk said:
I assume the JB rom is stock odexed? If so, there's half your battle. If you just replaced the phone.apk, then you need to rename the .odex to .bak or something similar. However, I think the moto dialer is more integrated than just being a standard apk, I think contacts come into play as well. (I could be wrong here.)
You might try renaming the phone.apk and it's odex then putting the apk you want in it's place with the proper permissions. Reboot, wipe dalvik, and see if that works. If not, you might try installing the phone.apk that you want, and clear the defaults for the original, then set the new apk as default.
Same for the clock.
As for framework-res, and SystemUI, that just won't work. (I'm not sure I understand what you want out of these two, so I apologize in advance.)
Remember, our CM10 has an ICS framework, so I'm not sure what is actual ASOP JB and what is Frankenbuild. You might seek those apks from a proper JB build. I'm not sure that this can even be done, but there's my two cents nonetheless.
Don't forget a backup before you go crazy, though I'm sure you're well aware of that.
Click to expand...
Click to collapse
Thx for answering. I tried what you said. I renamed phone.apk and it's odex., and wiped dalviv. I don't know why, the phone app is still working, but, without signal :/
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.
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...