• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Guide] Deodexing Stock ROM

NeoSabin

Well-Known Member
May 25, 2011
237
46
To your left
Deodexing is the process of recombining .odex files to an apk and making it a complete package again, mainly for themeing. This is really for those of you out there that want to stay on stock and theme it.

As a shortcut i have uploaded the deodex and zipaligned files for those who want to save time. If so skip to step 4.

Deodexed files
PLEASE DO A BACKUP IN RECOVERY BEFORE PROCEEDING

1.The user friendly way to deodex your system apps is by using xUltimate

2.After downloading it run main.exe and choose option 5. This will copy your system apps to your PC and deodex them. The originals will be in the folders "origi_app" and "origi_frame". The deodexed files will be in "done_app" and "done_frame".

3.For optimization run zipalign on the "done_app" folder by starting zipaling.exe, choosing the folder then running the zipalign.bat that was created.

4.Copy the "done_app" and "done_frame" onto your internal sd.

5.After copying, set your phone to internet connection on USB and make sure USB debugging is on. Now run these commands in cmd.

adb shell
su
stop
mount -o rw,remount -t ext4 /dev/block/mmcblk0p12 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext4 /dev/block/mmcblk0p12 /system
reboot

7.Delete the "done_app" and "done_frame" folders of you like.

6.Done. Enjoy your deodexed phone and the themes being provided by this great community :)
L
Base source used for this guide: [HOW-TO] Manually deodex your phone - RootzWiki
 
Upvote 0
well i have xp. i guess ill try windows 7. thankx. ill let u know what happen? thankxx


win xp dont play to nice with android, another possible fix is, if you have cwm recovery install, try putting the stork recovery back on it, cause when we was testing the cwm before the actual release the sd card didnt mount that good, but it seems likeits your phone thats causing the problem.
 
Upvote 0
the file downloaded. but the phone still didnt work on pc which is what im going to give up on =[

The file shiny linked was a zip flashable through CWM. Do you have a multi reader that you can put your SD card in and copy over the file? You can try removing files in /system/app/ and copy the system apps into that folder then disable signature verification and try installing.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones