[Q]How to move deodexed framework into system? - Galaxy S II Q&A, Help & Troubleshooting

I've deodex all the .jar and .apk files in the framework folder,now I have a problem how to move the deodex ones over the odex ones that are in the /system/framework/ ?
I tried doing it manualy by setting permisions to each .jar and .apk file and paste it into /system/framework/,but it doesen't work, I tired to push the .jar and .apk files with adb but it says:"Permission denied"...
I'm out of options can you help me?
GT-I9100
Stock ICS 4.0.4

Just asking buy why would you want to do this to 4.0.4?

andrewwright said:
Just asking buy why would you want to do this to 4.0.4?
Click to expand...
Click to collapse
I like it more than 4.1.2. Personal opinion.

HomeUp said:
I've deodex all the .jar and .apk files in the framework folder,now I have a problem how to move the deodex ones over the odex ones that are in the /system/framework/ ?
I tried doing it manualy by setting permisions to each .jar and .apk file and paste it into /system/framework/,but it doesen't work, I tired to push the .jar and .apk files with adb but it says:"Permission denied"...
I'm out of options can you help me?
GT-I9100
Stock ICS 4.0.4
Click to expand...
Click to collapse
Generate a flashable zip file(all you will need to do will be a drag and drop inside a pre-generated empty flashable package) and flash via recovery. You might need to sign it to flash via stock but I am not sure about ICS stock don't remember it anymore.
Sent from my GT-I9100 using xda app-developers app

Related

[Q] Manual deodex an rom before flashing?

I'm searching for a simple way how can I deodex any rom. My idea is to rename the *.odex file to classes.dex and put it into the apk/jar archive using a simple archive manager. Will this work? I don't like any scripts to do that, will make it manual before flashing the rom. And need I to sign the apk/jar files (I think the normal apk files need that, but what witch the framework? Need it too to be resigned?).
no use xultimate
Sent from my GT-S5830 using xda premium
sometimes scripts is better to make your life easier
btw try dsixda android kitchen. its my favorite tool/script to deodex
Hmm ok will try first the dsixda android kitchen, I see it has version for Linux. But I will understand how this script works?
EDIT
Ok, now I see, it uses baksmali and samli to deodex. Thanks to all, will test it tomorrow.
Ok, after using the dsixda android kitchen and deodexing the framework (and SystemUI.apk, not more) and flashing the ROM I got an bootloop (wipe doesn't help). Her is my logcat http://pastebin.com/DtfChnPp , can some help, what did I wrong? I have only after deodexing apply the volume mod and the Pdroid patch, I am working on this rom http://forum.xda-developers.com/showthread.php?t=1360889
try this
download xultimate, theres a thread about it somewhere. unzip it and connect your phone with the rom thats .odex http://forum.xda-developers.com/show....php?t=1360889
next
once connected click on opition 5 which will pull all the apps and framework files from your phone and will deodex all the files and store them in the folder called "done_app" and "done_framework" may take up to 15mins
next
change the folder names of the done folders to "app" and "framework" and have both folders and the rom.zip that you installed pre at hand, in your case
http://forum.xda-developers.com/show....php?t=1360889
Then open the rom.zip up with 7zip and then click on system folder and drop "app" and "framework" folders into the rom.zip so your swaping the the folders with the .odex files for the deoxed ones you just did. put it on sd-card. wipe, mount system and data and install.
correct me if im wrong.
hope this works.

Stock ROM APK

I've some stock ROM APK that I have saved and now I'm using Miracle ROM, how do I import it to work with Miracle ROM?
With titanium backup, or putting it in System/apps with Rwrr permissions and rebooting. Just make sure its deodexed (no odex file with it).
Also, with adb Shell (Google)
Sent from the other side... of the screen
dxppxd said:
With titanium backup, or putting it in System/apps with Rwrr permissions and rebooting. Just make sure its deodexed (no odex file with it).
Also, with adb Shell (Google)
Sent from the other side... of the screen
Click to expand...
Click to collapse
The Memo has an seperate .odex file, how do I make it to deodexed?
Can someone guide me to an tutorial that shows how to convert stock ROM APK file to be compatible with custom ROM or could someone do it for me as I'm not an expert on this
flash it with odin ....and is your rom's file extension really apk ?
Dragonoid said:
flash it with odin ....and is your rom's file extension really apk ?
Click to expand...
Click to collapse
You got an tutorial on how to do it with Odin? The Memo is an APK file with an seperate .odex file

[Q] Help systemUi decompile sense recent apps

Hello , i realy need help i am not able to decompile my s3 4.1.2 systemUI apk plz help .or if someone can plz do it for me i would like to have sense recent apps in it .Plz every help is much aprreciate it
update systemUi apk DOWNLOAD
Framework res.apk DOWNLOAD
If you can't decompile, then you sure won't be able to compile it back. so the files are useless
Glebun said:
If you can't decompile, then you sure won't be able to compile it back. so the files are useless
Click to expand...
Click to collapse
No the file is for someone to do it for me and get the sense recent apps in it
Mostunique99 said:
No the file is for someone to do it for me and get the sense recent apps in it
Click to expand...
Click to collapse
Why can't you decompile it, have you decompiled apk's before or is this your first attempt at this.
ag4751 said:
Why can't you decompile it, have you decompiled apk's before or is this your first attempt at this.
Click to expand...
Click to collapse
No i have put its always giving me errors
Mostunique99 said:
No i have put its always giving me errors
Click to expand...
Click to collapse
Check this then, before you decompile the apk.,
Open the apk with 7zip or whatever you normally use for zip files then look for classes.dex file, it will be in the main zip not in any sub folders, if there is one this will be causing the decompile error so extract it to your PC then delete it from the apk.
Now decompile the apk, do what you want, compile the apk then put the classes.dex file you extracted to your PC back in the apk.
ag4751 said:
Check this then, before you decompile the apk.,
Open the apk with 7zip or whatever you normally use for zip files then look for classes.dex file, it will be in the main zip not in any sub folders, if there is one this will be causing the decompile error so extract it to your PC then delete it from the apk.
Now decompile the apk, do what you want, compile the apk then put the classes.dex file you extracted to your PC back in the apk.
Click to expand...
Click to collapse
Thank you very much worked out perfectly :good:

[Q] How to reinstall deleted apps. Both apk and odex?

I'm trying to reinstall some deleted apps to my Verizon GS4. I downloaded the big zip file with all the stock apk's but am confused now since there's also a ".odex" file for most of the ".apk" files. Do I need to install both the apk and odex? If so, how?
TMack1962 said:
I'm trying to reinstall some deleted apps to my Verizon GS4. I downloaded the big zip file with all the stock apk's but am confused now since there's also a ".odex" file for most of the ".apk" files. Do I need to install both the apk and odex? If so, how?
Click to expand...
Click to collapse
You need the odex files.
They go in /system/app just like the apk files.
tech_head said:
You need the odex files.
They go in /system/app just like the apk files.
Click to expand...
Click to collapse
Thanks. The next question is about how I'm installing the apps. Typically, I've just downloaded an apk to the phone, clicked on it and pressed "install". If I do that, then what do I do with the .odex? Do I manually copy/paste it into the app folder?
Also, with some of the apk's, i get a "application won't install" message. Any ideas why? These apk's are all from a huge master apk download of all stock Verizon GS4 apk's.

[Q] Edit apk with ODEX file

Hi,
I have an apk that I'd like to edit, just some simple icon and xml changes. I have decompiled, edited and signed with apktool so I'm confident everything there is ok. Only problem is, it won't install.
The apk does have a odex file with it. Is it possible to edit this apk or am I wasting my time?
syztemlord said:
Hi,
I have an apk that I'd like to edit, just some simple icon and xml changes. I have decompiled, edited and signed with apktool so I'm confident everything there is ok. Only problem is, it won't install.
The apk does have a odex file with it. Is it possible to edit this apk or am I wasting my time?
Click to expand...
Click to collapse
if it is system file than place it in system/app
and set permissions and reboot
Does that include the original odex file or should I just dump it after I've edited the apk?
syztemlord said:
Does that include the original odex file or should I just dump it after I've edited the apk?
Click to expand...
Click to collapse
it work only if you have deodex it
Hello, I am running into the same problem. I want to change a setting in an apk. But I'm confused with the odex file accompanied with it.
Can I unpack an apk, change it. Rebuild it and put it back?
Do I also have to unpack the odex file and rebuild it and put it back?
I can see a lot of information about apk editing. But I can't find tools to edit an Odex?
I think I'm also confused about the odex/deodex. I just googled everything about this subject and got the tools studioandroid, but it doesn't contain anything with editing odex files....
I hope someone can help me out!
Thanks!!

Categories

Resources