[Tutorial]Deodexing + Zipaligning Galaxy Gio GT-S5660 - Android Software/Hacking General [Developers Only]

Advantages or disadvantages
- Odexed ROMs are slightly faster, deodexed ROMs are slightly slower
+ You can make custom themes for your ROM
+ Performance los is negligible.
Requirements
xUltimate - http://www.droidforums.net/forum/xeudoxus/47283-release-xultimate.html
Busybox installed
Root
Automatic deodexing - Method 1, by r33p
1. Connect phone to computer
2. Start xUltimate, we will now get the required files from our phone to deodex and zipalign it which we will describe in the 3rd step.
3. Select option #15 then "do it all".
Deodexing (little harder, but contains useful information for your future Galaxy Gio modding experience)- Method 2, by me
1. Connect phone to computer
2. Start xUltimate, we will now get the required files from our phone to deodex and zipalign it which we will describe in the 3rd step.
3. On the main menu of xUltimate, choose option 5 (Pull and deodex all). Everything will be done for you here. Don't worry. You will see all your finished files in the folders 'done_app' and 'done_frame' which are located in the installation directory of xUltimate.
4. move folders 'done_app' and 'done_frame' folders to your sdcard, you can find these folders in the directory of xUltimate as described in the previous step.
5. Make sure the sdcard is not mounted to pc anymore
6. Open Windows Command Prompt and type the following commands.
adb shell
su
stop
mount -o remount,rw /dev/block/stl12 /system
rm /system/app/*.odex
rm /system/framework/*.odex
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
chmod 644 /system/app/*
chmod 644 /system/framework/*
mount -o remount,ro /dev/block/stl12 /system
sync
reboot recovery
Click to expand...
Click to collapse
7. Now data and cache reset in the recovery menu...
8. reboot
If one of the commands, for example 'cp' is not found, try putting busybox in front of the command:
eg: busybox cp /sdcard/done_frame/* /system/framework/
How to odex again
This may put you in the right direction. You may need to edit some steps.
http://forum.xda-developers.com/showthread.php?t=1124034
If you like my work please donate
Paypal:
Bankaccount: in private message

Updated my tutorial. Now everything works.

What does this do to my gio?
// Thanks from the noob

why the hassle? just let xultimate do it all automatic -> select option #15 then "do it all"
yep

Thanks.. ;-)
Would it work with others samsung devices?
Gonna try with 5510
Sent from my GT-I9100 using Tapatalk

dann3_86 said:
What does this do to my gio?
// Thanks from the noob
Click to expand...
Click to collapse
I am curious to

I suggest you google deodexing and zipaligning.
Deodexing in short means that it will allow you to have custom themes.
Zipaligning improves performance of the apk/jar files when reading
There is a lot of information you might want to look up!
I just added r33p's suggestion. Thanks!

Dhuu, just google it.............
I did, but it gives no answers.
I thought it was about the holy grail, or the fountain of youth..............
But no..........
But comes close
So tell me, does it works on the fly or must you reboot to aply changes?

I tiedy this metod and it works. Tank you

I'm having a problem..
I'm on xUltimate, I go to the advanced menu (15) and I type 1 (Do everything) and then it says that I don't have files in done_app folder.
Please help
Edit: I have rooted my phone, it's on Gingerbread.xxkpo. Do I have to Un-Root my phone and then do this ? Also can I root it back when the ROM is on ?
Please reply fast :S

I'm having this issue,,, what does it mean? i pulled out all the files with the automatic process and went fine. But then in the deoxed process:
How can i solve it? Thanks :3

Related

[HOWTO´S] collection of how to do it :)

Hi all, im making a NEW thread for how to make custom ROM, change build.prop, how to theme (coming later)! i will make a colection of how to´s to this thread for now all of the how to´s are made by me but in future i will take how to´s from others too (with their permission ofc )
so subscribe to this thread!!
i hope that there will be many custom ROMs after this
now you all think why did i do this if theres another tutorial for making custom ROM? answer: this is good alternative and this is not just one HOWTO!
HOWTO´S
-custom ROM
-edit build.prop
-5 lockscreen mod and extended power menu
-deodexing
-install android sdk and use ADB
-port themes (coming later)
-make own bootanimation (coming later)
** you can also post your ideas for new how to´s!!!
have a nice day
p.s dont blame me if something happens to your device while doing these how to´s
p.p.s if you want some special how to you can always suggest it in this thread
[HOWTO] make a custom ROM
How to make custom rom:
you will need: ADB, root explorer (maybe) and the files that are going to be in your rom!
the guide is based on The Dark Lestat's guide, i made it more easier and specific
code to delete unwanted apps: (if ADB)
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
rm /system/app/nameofapk.apk
code to add apps and stuff: (if ADB)
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
exit
exit
adb push nameofapk.apk /system/app/
1. flash the ROM that will be your ROMs base. example: my ROMs base is JPM so i flashed clean JPM
2. make a list of the features that are going to be in your ROM
3. then start adding those features. example: i added live wallpaper support so i did this --> http://forum.xda-developers.com/showthread.php?t=793823 i also added JIT so i ran the automatic batch file from the thread --> http://forum.xda-developers.com/showthread.php?t=1026870 . then you just add those features.
4. put your sd card on to your phone (if it isnt there already )
5. when your done adding different features you go to ADB and type this:
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
dd if=/dev/block/stl6 of=/sdcard/factoryfs.rfs
then you wait about 2 minutes and there will be some text and then you type this
Code:
exit
exit
and in your sd-card will be freshly created factoryfs.rfs, import your freshly created factoryfs.rfs to your desktop. now you choose your kernel.
5. kernel, download the kernel you want to your desktop.
6. download total commander to your pc
7. open total commander, open the base ROM.tar. example: my base ROM was JPM so i opened the JPM.tar and replaced the kernel and factoryfs.rfs with my factoryfs.rfs and my kernel (fugumod 2.2) using total commander.
delete everything else in the .tar but, Cache.rfs, factoryfs.rfs, zlmage and data.rfs and the logo!
then you test if you can flash your ROM... if it boots, you did it. if it doesnt, try again.
[HOWTO] edit BUILD.prop
HOW TO change firmware version, phone model, build version in "about phone"
1. open root explorer
2. go to /system, find build.prop, change to read/write mode. open the build.prop in text editor
* change build version: 4th line should say ro.build.display.id=(here you write your build version name), reboot and check build version in "about phone"
* change model number: 15th line should say ro.product.model=(here write your model number ), reboot and check model number in "about phone"
* change firmware version: 8th line should say ro.build.version.release=(here write your firmware version, like 3.0 honeycomb ), reboot and check firmware version in "about phone"
you can also change different things but ill write a guide of that later
hope you like it!
[HOWTO] port a THEME
reserved for later use
[HOWTO] get 5 lockscreen mod and extended power menu
-your ROM must be deodexed!
-you can get extended power menu and 5 lockscreen mod by downloading this --> http://www.megaupload.com/?d=PKHVA57W
-extract it to root of your sd-card
-open root explorer and copy/paste the files to /system/framework
-reboot and done
OR
use adb like this:
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
exit
exit
adb push nameoffile.jar /system/framework/
-reboot and done
***NOTE rebooting might take some time so dont panic
[HOWTO] deodex ROM
you must be rooted
What you'll need:
A Windows based machine
xUltimate v2.2
Patience
Process:
-Unzip xUltimate v2.2, and launch "Main.exe"
-If everything goes well xUltimate should recognize the phone and make a connection. You now should see a list of options.
-Run option 1. After option 1 is done, run option 2.
-Now these well take a while. Run option 3.
-IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex" (if you even have it). It's a bad file, and interferes with deodexing process.
-Now run option 4, and wait.
-Exit xUltimate, and put the phone in USB mass storage.
-Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
-Open a command prompt, and do the following:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /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 ext3 /dev/block/mmcblk1p21 /system
reboot
and voila your phone is deodexed
original guide by webst3r, i changed it so its easier to understand
[HOWTO] get ADB up and running (easy way)
ADB is an acronym for Android Debug Bridge and is a development tool for the Android Mobile Operating System
NOTE this is only for windows!
-open this link --> http://adf.ly/Xfyl wait 5 secs and click upper right corner "skip ads" it will download a program that automaticly installs android sdk (wich includes ADB)
-Open the app, leave the destination as C:\ and click ok/install
-Installing ADB/USB Drivers:
*NOTE* You may need additional (Device Specific) Drivers for your Device!
- Connect your Android Device to your PC using the provided USB Cable or just a plain ole 6-pin to 4-pin usb cable... (I prefer to use one with a ferite core)
- When the new hardware device notification pops-up on your pc point windows to the driver folder we moved to our C-drive(C:\android-sdk-windows\google-usb_driver) and install the adb driver.
** if your having issues with installing ADB drivers read this --> http://dl.dropbox.com/u/20575563/ADB_Drivers_for_dummies.pdf
-Running ADB from the Command Prompt:
-Windows XP: Select Start or Tap the Windows Key on your Keyboard, select
"Run" and type "CMD" then hit "Enter".
-Windows Vista/Win7: Select Start or Tap the Windows Key on your Keyboard, select the search box on the left and type "cmd" then hit "Enter".
Add the "ADB" directory path as a system variable in windows:
-To do this right-click on "My Computer" and select Properties. Next select the Advanced tab(Advanced Settings in Vista/7) then select Environment Variables.
-Click "New" under System Variables and add the following:
Variable =
Code:
adb
Value =
Code:
C:\android-sdk-windows\platform-tools
-Call up your Command Prompt:
Time to start adb
- Open up a Command Prompt Windows
- Type the commands below:
Code:
cd C:\android-sdk-windows\platform-tools
<-- Press Enter
Code:
adb.exe
<--Press Enter
and voila You will see alot of scripting fly through the command prompt window.
***note! you have to enable usb debugging in --> settings --> applications --> developement --> check usb debugging
tutorial is not made by me, its made by AndroidSamurai. i found it after lot of researching
[HOWTO] make your own update.zip
download and install, then watch the video
http://youtu.be/i0KzFPMA6-8
program and video made by Daneshm90
balaji.admin said:
Please include a Post for Deodexing the ROM. I've tried to deodex the DDJP2. But never succeeded.
Hope your post will help me.
Click to expand...
Click to collapse
there is a tut by rudolf..
[HOWTO] change app icon
How to change icons for app!
1.)
Things you need:
original app
your custom icon (size should be 48x48)
win rar
2.)
Unpack APK
3.)
Find file, for example: ic_launcher_settings.png (for settings.apk)
It should be in: res/drawable-mdpi or res/drawable-ldpi (dont know which icon phone uses, just replace both)
4.)
Rename you icon to, for example: ic_launcher_settings.png (for settings.apk)
5.)
Replace it
6.)
Final step is add files to old settings.apk archive and using root explorer copy it into /system/app/
DONE!
guide by peldax
jazux said:
hey, one question coming from me our device has the same resolution as htc wildfire? right? and device is ldpi or mdpi? please answer ASAP!!! i may have found very useful HOWTO that you will LOVE!!!
>>>>>>>>>>>>>>>>>>>>>>>>>
POX v.1.0 beta 2 released! be sure to try it out :]
<<<<<<<<<<<<<<<<<<<<<<<<<
GreeModding from finland :]
Click to expand...
Click to collapse
galaxy3 has ldpi - look there: http://developer.android.com/guide/practices/screens_support.html
jazux said:
-your ROM must be deodexed!
-you can get extended power menu and 5 lockscreen mod by downloading this --> http://www.megaupload.com/?d=PKHVA57W
-extract it to root of your sd-card
-open root explorer and copy/paste the files to /system/framework
-reboot and done
OR
use adb like this:
Code:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
exit
exit
adb push nameoffile.jar /system/framework/
-reboot and done
Click to expand...
Click to collapse
is this suit for every rom?
dxdiag32 said:
is this suit for every rom?
Click to expand...
Click to collapse
what do you mean? like does this work on other fw's than JPM? im not sure because i havent tested it, but i think it should work.
but it will surely work on every JPM based ROMs
>>>>>>>>>>>>>>>>>>>>>>>>>
POX v.1.0 beta 2 released! be sure to try it out :]
<<<<<<<<<<<<<<<<<<<<<<<<<
GreeModding from finland :]
Hey man a really nice tutorial
Can you add my tutorial on how to make bootanimations too
It would be appreciated
P.S. : If you tell yes,i'll give you a shortened version too
Deodexed Rom? How can i do it?.
cdesai said:
Hey man a really nice tutorial
Can you add my tutorial on how to make bootanimations too
It would be appreciated
P.S. : If you tell yes,i'll give you a shortened version too
Click to expand...
Click to collapse
yes i can add it
>>>>>>>>>>>>>>>>>>>>>>>>>
POX v.1.0 beta 2 released! be sure to try it out :]
<<<<<<<<<<<<<<<<<<<<<<<<<
GreeModding from finland :]
AndroKite said:
Deodexed Rom? How can i do it?.
Click to expand...
Click to collapse
ill do a tutorial later tonight!
>>>>>>>>>>>>>>>>>>>>>>>>>
POX v.1.0 beta 2 released! be sure to try it out :]
<<<<<<<<<<<<<<<<<<<<<<<<<
GreeModding from finland :]
AndroKite said:
Deodexed Rom? How can i do it?.
Click to expand...
Click to collapse
for now you can use this:
Thanks,i dont remenbre that you make a tutorial ,Thx.
AndroKite said:
Thanks,i dont remenbre that you make a tutorial ,Thx.
Click to expand...
Click to collapse
you welcome

[HOW-TO] DEODEX Your I9003

HOW TO DEODEX I9003
What you'll need:
A Windows based machine
JDK
ANDROID SDK
XULTIMATE 2.2
And A Rooted I9003
Process:
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. IMPORTANT: After you have run option 3
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the internal sdcard not in the external sd.
9. Now Put the phone in USB DEBUGGING mode and DON'T PUT THE PHONE IN MASS STORAGE MODE
10. Open a command prompt, and do the following:
Code:
adb shell
#su
#stop
mount -o remount rw /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o remount ro /system
reboot
Credits to -
Xeodoxus for xultimate
Ghostlypickel for this guide
DO THIS AT YOUR OWN RISK
IF YOU LYK MY POST THEN PLEASE PRESS THE THANKS BUTTON
Hey dude did you follow the same method coz we copy files to external_sd should we make some changes to the script...whenever i follow this method i get no such file or directory error and gets into bootloop
Sent from my GT-I9003 using XDA App
dude just copy the done frame and done app folder to internal sd
kkrraazzyy said:
dude just copy the done frame and done app folder to internal sd
Click to expand...
Click to collapse
i get disk full error
I have made a change in the adb command sequence. You will not get not enough space error, if you follow that.
Open a command prompt, and do the following:
Code:
adb shell
$ su
# stop
# mount -o remount rw /system
# rm /system/app/*.odex
# rm /system/framework/*.odex
# cp /sdcard/done_app/* /system/app/
# cp /sdcard/done_frame/* /system/framework/
# mount -o remount ro /system
# reboot
All the best
If any one wants deodexed ROM with only required applications I will post it tomorrow morning.
trip007in said:
If any one wants deodexed ROM with only required applications I will post it tomorrow morning.
Click to expand...
Click to collapse
I assume this would mean flashing and again restoring all apps. If that's the case, it may be easier to deodex.
But I would like to know which are "essential apps" only. I have flashed to XXKB3 and want to know which apps system I can remove safely.
I also wanted to increase in-call and speaker volumes. When I go in service menu, there is an optin Audio (No.5). Under this there is an option "Speaker". Under this there are options like "Volume" (is this in-call?), "Speaker" (Is this the loudspeaker?), "NR', "DRP", "SER", "CNI". Again under each there are many options, which should I change and by how much?
I had asked the questions in another thread but answer was not accurate(or maybe I did not understand)
kkrraazzyy said:
HOW TO DEODEX I9003
Process:
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. IMPORTANT: After you have run option 3
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the internal sdcard not in the external sd.
9. Now Put the phone in USB DEBUGGING mode and DON'T mount the sd card
10. Open a command prompt, and do the following:
Click to expand...
Click to collapse
I have some questions while doing this :
1) Does the phone have to be in USB debugging mode when the "Main.exe" is run?
2) In step 4, wait till when?
3) In step 8, root is where there are folders like "acct, "cache", "config" etc including "system", kindly confirm
4) After copying, do we have to remove cable, set to USB debugging, unmount "External SD card" and then connect phone? Why is this required, we are not using the external SD card anyway.
5) Does this mean open command prompt in phone, Terminal Emulator? Then which commands do we put, the one given by you or given by trip007in?
Is there a video of this procedure?
trip007in said:
I have made a change in the adb command sequence. You will not get not enough space error, if you follow that.
Open a command prompt, and do the following:
Code:
adb shell
$ su
# stop
# mount -o remount rw /system
# rm /system/app/*.odex
# rm /system/framework/*.odex
# cp /sdcard/done_app/* /system/app/
# cp /sdcard/done_frame/* /system/framework/
# mount -o remount ro /system
# reboot
All the best
If any one wants deodexed ROM with only required applications I will post it tomorrow morning.
Click to expand...
Click to collapse
Thanks a lot guys finally deodexed
Sent from my GT-I9003 using XDA App
You can remove following apks safely.
Code:
1. AxT9IME.apk
2. ChocoEUKor.apk
3. CoolEUKor.apk
4. Days.apk
5. Dlna.apk
6. DualClock.apk
7. Gallery3D.apk.bak
8. Gallery3Dmiui.apk.bak
9. GenieWidget.apk
10. GoogleBackupTransport.apk
11. HTMLViewer.apk
12. InfoAlarm.apk
13. MiniDiary.apk
14. LbsTestMode.apk
15. GoogleFeedback.apk
16. LiveWallpapers.apk
17. MobileTrackerEngineTwo.apk
18. MobileTrackerUI.apk
19. MtpApplication.apk
20. PhoneSetupWizard.apk
21. SelfTestMode.apk
22. SerialNumberLabelIndicator.apk
23. VisualizationWallpapers.apk
24. OtaProvisioningService.apk
25. Preconfig.apk
26. Protips.apk
27. RoseEUKor.apk
28. SamsungApps.apk
29. SamsungWidget_CalendarClock.apk
30. SamsungWidget_FeedAndUpdate.apk
31. SnsProvider.apk
32. Stk.apk
33. TwWallpaperChooser.apk
34. UNAService.apk
35. UnifiedInbox.apk
36. VpnServices.apk
37. aldiko-standard-1.2.6.1-samsung-s1.apk
38. hbo101.apk
39. lcdtest.apk
40. thinkdroid.apk
41. wipereceiver.apk
42. wssomacp.apk
43. wssyncmlnps.apk
jesrani said:
I assume this would mean flashing and again restoring all apps. If that's the case, it may be easier to deodex.
But I would like to know which are "essential apps" only. I have flashed to XXKB3 and want to know which apps system I can remove safely.
Click to expand...
Click to collapse
trip007in said:
You can remove following apks safely.
Click to expand...
Click to collapse
Uninstall or directly delete from some folder?
I was just reading on forums about deodex and it seems a bit complicated to me still, seems I need something called Android SKD. Not sure if I want to go through all that. Maybe you can give me the stock XXKB3 deodexed rom with "essential apps only" and I can backup and restore my other apps as I did from DDKB2 to XXKB3.
Also hope you can make some changed to your theme in the other thread,
congrats ronhoover
after deodexing succesful, then do a hard reset do i need to deodex again?
Of course
Sent from my GT-I9003 using XDA Premium App
Whats d use of deodex???
Sent from my GT-I9003 using XDA Premium App
is there any specific time should i wait after typing
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
or should i type one after the others?
my 1st try is succesful but. package installer and my files always force close.
jesrani said:
Originally Posted by kkrraazzyy View Post
Process:
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. IMPORTANT: After you have run option 3
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the internal sdcard not in the external sd.
9. Now Put the phone in USB DEBUGGING mode and DON'T mount the sd card
10. Open a command prompt, and do the following:
I have some questions while doing this :
1) Does the phone have to be in USB debugging mode when the "Main.exe" is run?
2) In step 4, wait till when?
3) In step 8, root is where there are folders like "acct, "cache", "config" etc including "system", kindly confirm
4) After copying, do we have to remove cable, set to USB debugging, unmount "External SD card" and then connect phone? Why is this required, we are not using the external SD card anyway.
5) Does this mean open command prompt in phone, Terminal Emulator? Then which commands do we put, the one given by you or given by trip007in?
Is there a video of this procedure?
Click to expand...
Click to collapse
@kkrraazzyy can you please advice on the above
I assume that throughout steps 1 to 8, the phone is on and not rebooted, is that right?
Before step 9, is rebooting required? The SD card is to be unmounted from Settings-->SD Card and phone storage-->Unmount SD card, please correct if I am wrong.
How do I do step 10, is this from within the phone or connect to PC and run what? I have downloaded a file "android-sdk_r11-windows.zip" which I have extracted to a folder. Inside is another file "SDK manager" which when I run, I get some screens as per attached image. Now what do I do next?
i think you should wait until # appear again.
now no more problem.
nope rebooting is not required after step 8 and by not mounting the sd card means dont put the phone in mass storage mode
and 10 the step has to be done from distro
just go the run and type cmd and follow the steps
and before doing this kindly read this http://forum.xda-developers.com/showthread.php?t=879701
kkrraazzyy said:
nope rebooting is not required after step 8 and by not mounting the sd card means dont put the phone in mass storage mode
and 10 the step has to be done from distro
just go the run and type cmd and follow the steps
and before doing this kindly read this http://forum.xda-developers.com/showthread.php?t=879701
Click to expand...
Click to collapse
I installed JDK and adb but there are a lot more updating options than in the guide. Also the update is large. Am not sure which updates to allow.
Instead, can I use this " http://forum.xda-developers.com/showthread.php?t=972852 "? If yes, how?
Thanks for the tutorial but I think some things are missing. What else do we need to install on our PC? Skies? Drivers for the phone? ADB or anything?
When you say do not mount the sd card, do we need to unmount it? what exactly do we need to do here?
At what point to we unplug the phone etc.

[WIP] how to deodex stock rom?

THIS HAS NOT BEEN TRIED ON THE ATRIX 2 YET! THIS IS JUST FOR HELP DECIDING IF THIS IS SAFE! I HAVE NOT PULLED THE TRIGGER YET! WITHOUT A WAY TO RECOVER I SUGGEST YOU DO NOT TRY IT.
I was thinking and remembered the original and deodexing the stock rom. The Atrix stock rom could be deodexed with a locked bootlader. In comparing the instructions below to our Atrix 2 I don't see a reason why this wouldn't work. Can some of you chime in with what you think?
Original post here:
http://forum.xda-developers.com/showthread.php?t=1162764
and post 50 -
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. Now run option 4, and wait.
6. Exit xUltimate, and put the phone in USB mass storage.
7. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
8. Put the phone in PC mode "MOTOROLA PHONE PORTAL"
9. Open a command prompt, and ENTER THE FOLLOWING COMMANDS: AFTER YOU ENTER su make sure you hit accept on your phone
C:\>cd\
C:\>android-sdk-windows\platform-tools\adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Some input from a little more experience than me?
I was thinking of trying the same thing, but I didn't want to run this without a way back.
I know they had tried it on the RZR and I think it caused a soft brick so they backed off till a way to flash. I was gonna try the way they had performed it till I seen they were having problems.
We are really stuck right now with no option to flash back to stock if we brick and I'm getting withdrawals LoL
I'm unfamiliar, whats the point?
Sent from my NookColor
Basically so you can change the look of system apps through theming the framework
Sent from my MB865 using xda premium
Is it possible for someone to upload the files from option 7. I cant seem to get xultimate to work, I always end up with a java error. And I'd like to play with some themes.
lfaber06 said:
Is it possible for someone to upload the files from option 7. I cant seem to get xultimate to work, I always end up with a java error. And I'd like to play with some themes.
Click to expand...
Click to collapse
Do u have the jdk installed?
Yup. Even tried uninstalling all java and re-installing then unzipped xultimate to another directory. And no dice..
halfevildruid said:
Do u have the jdk installed?
Click to expand...
Click to collapse
Step 7 is just a copy and paste from pc folder to sdcard.
That's what I want is all of the deodxed files so I can push em to my phone.
Sent from my Nexus S using Tapatalk
halfevildruid said:
THIS HAS NOT BEEN TRIED ON THE ATRIX 2 YET! THIS IS JUST FOR HELP DECIDING IF THIS IS SAFE! I HAVE NOT PULLED THE TRIGGER YET! WITHOUT A WAY TO RECOVER I SUGGEST YOU DO NOT TRY IT.
I was thinking and remembered the original and deodexing the stock rom. The Atrix stock rom could be deodexed with a locked bootlader. In comparing the instructions below to our Atrix 2 I don't see a reason why this wouldn't work. Can some of you chime in with what you think?
Original post here:
http://forum.xda-developers.com/showthread.php?t=1162764
and post 50 -
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. Now run option 4, and wait.
6. Exit xUltimate, and put the phone in USB mass storage.
7. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
8. Put the phone in PC mode "MOTOROLA PHONE PORTAL"
9. Open a command prompt, and ENTER THE FOLLOWING COMMANDS: AFTER YOU ENTER su make sure you hit accept on your phone
C:\>cd\
C:\>android-sdk-windows\platform-tools\adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Some input from a little more experience than me?
Click to expand...
Click to collapse
deodexed make it zipalign or not?? in xultimate have zipalign.exe . how to use it??

[Q] How to deodex my phone?

Hi guys,
i got one question to ask - how to deodex my phone?
I used xUltimate and deodexed the apps but the commands to coppy it to the phone seems not to work at all.
So how to copy done_app and done_framework to phone? I tried to use cmd in windows and adb shell but it says that cd command is not valid.
cube7 said:
Hi guys,
i got one question to ask - how to deodex my phone?
I used xUltimate and deodexed the apps but the commands to coppy it to the phone seems not to work at all.
So how to copy done_app and done_framework to phone? I tried to use cmd in windows and adb shell but it says that cd command is not valid.
Click to expand...
Click to collapse
FOLLOW THIS:
http://forum.xda-developers.com/showthread.php?t=1068027
Deodex
Advantages or disadvantages
- Odexed ROMs are slightly faster, deodexed ROMs are slightly slower
+ You can make custom themes for your ROM
+ Performance los is negligible.
Requirements:
Download XUltimate
Busybox installed
Root
1. Connect phone to computer
2. Start xUltimate, we will now get the required files from our phone to deodex and zipalign it which we will describe in the 3rd step.
3. On the main menu of xUltimate, choose option 5 (Pull and deodex all). Everything will be done for you here. Don't worry. You will see all your finished files in the folders 'done_app' and 'done_frame' which are located in the installation directory of xUltimate.
4. move folders 'done_app' and 'done_frame' folders to your sdcard, you can find these folders in the directory of xUltimate as described in the previous step.
5. Make sure the sdcard is not mounted to pc anymore
6. Open Windows Command Prompt and type the following commands.
adb shell
su
stop
mount -o remount,rw /dev/block/stl12 /system
rm /system/app/*.odex
rm /system/framework/*.odex
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
chmod 644 /system/app/*
chmod 644 /system/framework/*
mount -o remount,ro /dev/block/stl12 /system
sync
reboot recovery
7. Now data and cache reset in the recovery menu...
8. reboot
If one of the commands, for example 'cp' is not found, try putting busybox in front of the command:
eg: busybox cp /sdcard/done_frame/* /system/framework/
both ways don't work. The program seems not to recognize this commands. Can i do it via root explorer?
cube7 said:
both ways don't work. The program seems not to recognize this commands. Can i do it via root explorer?
Click to expand...
Click to collapse
Explain me the exact scenario.
This given method should work by all means. There is no escape.
Check the USB drivers.
Check the connectivity.
Then do it again.
drivers must be right 2 days ago i've flashed the phone. maybe it's adb, i copied it from one click folder.
i will copy the text from cmd as soon as i will be home.
btw, the process is ok till 6th point of the instruction. then it fails at cp command (busybox cp also).
cube7 said:
drivers must be right 2 days ago i've flashed the phone. maybe it's adb, i copied it from one click folder.
i will copy the text from cmd as soon as i will be home.
btw, the process is ok till 6th point of the instruction. then it fails at cp command (busybox cp also).
Click to expand...
Click to collapse
Try booting linux on ur pc as sometimes adb doesnt work for me on windows but for linux users it worked perfectly
Sent from my GT-i5801 using XDA App

Deodex ur jb rom {not for at&t}

FINALLY MY WIFI CAME BACK !!!
SO I THINK U SHOULD DEODEX UR ROM FOR MORE SPACE AND FLUIDITY
{I COULD NOT CREATE BATCH FILE AS OUR BOOT IMAGE DOES NOT SUPPORT TRUE ADB ROOT AS ITS DEV EDITION}(ANY IDEAS FROM DEVS IS WELCOME)
AGAIN SAYING NOT FOR ATT
OKAY FIRST THANX TO dsixda/Android-Kitchen FOR HELPING TO DEODEX THE ROM
NOW STEPS ::::::
-1.install a third party launcher (like apex for safety purpose)
0.MAKE A BACKUP OF UR SYSTEM (I HOPE U R USING BMM !!!)
1.DOWNLOAD THE APP AND FRAMEWORK FOLDER FROM LINK GIVEN BELOW
2.PUT BOTH THE FOLDERS ON SDCARD AS WELL AS INTERNAL MEMORY (DONNO WHICH IS USED !!)
3.OPEN THE """4.0.4ROOT BY CRC""" FOLDER U DOWNLOADED WHILE ROOTING OR ANY FOLDER WHICH CONTAINS ADB
3.5}NOW HOLDING SHIFT CLICK OPEN COMMAND WINDOW HERE
4.NOW CONNECT PHONE IN MTP MODE WITH DEBUGGING ON
5.TYPE THE FOLLOWING CODE AND U R DONE (WELL IT WILL SLIGHTLY MAKE U FEEL LIKE A TEMPORARY DEV HAAHAH)
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/deodexedapp/* /system/app/
rm /system/app/*.odex
cp /sdcard/deodexedframe/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
note ::
1.its o not zero
2.when u enter su the $ sign will change to # it means u gained root access
3.i dont remember but after pressing su look at ur phone if supersu notification for root access comes allow it if it is there
4.i am not sure or the stock launcher it may fc so firs install a third party launcher for safety purpose
*links ::::
apps::
https://app.sugarsync.com/iris/wf/D8443834_63525726_687588
framework::::
https://www.sugarsync.com/pf/D8443834_63525726_688199
pls hit thanx bros it motivates me !!!!!!!
make an acc on sugarsync the next famous storage systemm it will help u as well as me
What is MTP mode?
brianmoyano said:
What is MTP mode?
Click to expand...
Click to collapse
When ya connect the phone to PC, it will show 3 different modes. Like USB mass storage and stuff. One of em is MTP. pull down the notification bar, you will get those options (when connected of course)
Sent from my muffin LIFE! Under maintenance.!
Good. Thanks for sharing this!
I already Deodexed and zipaligined my rom using this tutorial to achieve the same.
brianmoyano said:
What is MTP mode?
Click to expand...
Click to collapse
Media Transfer Protocol. Gives you access to your SD Card and phone storage without unmounting them from phone so your SD Card is also available through phone as well as on PC. If you access any file on your phone, it will first copy it to PC and then open it which makes it slower. But its good enough for transferring pics and music and basically MEDIA TRANSFER as the name says..
answersamir said:
Code:
adb shell
su
stop
mount -o rw, remount /system/ /system/
cp /sdcard/deodexedapp/* /system/app/
rm /system/app/*.odex
cp /sdcard/deodexedframe/* /system/framework/
rm /system/framework/*.odex
mount -o ro, remount /system/ /system/
reboot
Click to expand...
Click to collapse
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
shubham412302 said:
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
Click to expand...
Click to collapse
On extremely close observations I found out that both are same :sly:
Buddy order doesn't matter
Sent from my ME865 using xda app-developers app
can you upload an alternate link for 'apps' ...download is not completing...it is stopping after 140mb....
poorna said:
can you upload an alternate link for 'apps' ...download is not completing...it is stopping after 140mb....
Click to expand...
Click to collapse
Thats the full size of zipped apps...
But it has all apps
Sent from my jb atrix 2
shubham412302 said:
Thats the full size of zipped apps...
But it has all apps
Sent from my jb atrix 2
Click to expand...
Click to collapse
when i try to extract it ,i get a message invalid file ...the actual size is 185mb ...twice i downloaded. in the 1st attempt i was able to download 146mb...in the 2nd attempt i was able to download 140mb....
poorna said:
when i try to extract it ,i get a message invalid file ...the actual size is 185mb ...twice i downloaded. in the 1st attempt i was able to download 146mb...in the 2nd attempt i was able to download 140mb....
Click to expand...
Click to collapse
Match this with your d/l file.
146 MB (153,457,466 bytes)
CRC: 7FC9D73F
shubham412302 said:
This one is wrong...
The right one is
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/deodexedapp/* /system/app/
cp /sdcard/deodexedframe/* /system/framework/
mount -o ro,remount /system/ /system/
reboot
Sent from my jb atrix 2
Click to expand...
Click to collapse
the phone is not booting... after i type stop and press enter ,the screen turns off,then when i type mount -o rw,remount /system/ /system/ and press enter i get the same line and then i get the # symbol again..then when type rm /system/app/*.odex and press enter i get the same line and then i get the # symbol again ,same thing for the next rm line...but when i type cp /sdcard/deodexedapp/* /system/app/ and press enter i get the same line again and there is no # symbol,the same thing happens to the following lines ....when i typed reboot and press enter the same line(reboot) appears and the phone is not rebooting...i removed the battery and tried to boot the phone is not booting...i downloaded both the links (apps and framework) and extracted them and copied both(deodexedapp and deodexedframe) to internal phone storage and sd card ....what might be the problem here?
poorna said:
the phone is not booting... after i type stop and press enter ,the screen turns off,then when i type mount -o rw,remount /system/ /system/ and press enter i get the same line and then i get the # symbol again..then when type rm /system/app/*.odex and press enter i get the same line and then i get the # symbol again ,same thing for the next rm line...but when i type cp /sdcard/deodexedapp/* /system/app/ and press enter i get the same line again and there is no # symbol,the same thing happens to the following lines ....when i typed reboot and press enter the same line(reboot) appears and the phone is not rebooting...i removed the battery and tried to boot the phone is not booting...i downloaded both the links (apps and framework) and extracted them and copied both(deodexedapp and deodexedframe) to internal phone storage and sd card ....what might be the problem here?
Click to expand...
Click to collapse
Wait for a while....
Until you get the [email protected] again you must not do any thing because the previous step is not done.....
Be patient.
The step copy system apps take 5 minutes...
And there is a space here before remount
mount -o rw, remount /system/ /system/
Sent from my jb atrix 2
What are the advantages of deodexing the stock rom?
I came across this thread and it gave me curiosity to find-out the stuff which I wanted to read for long time. Odex and deodex..
The only advantage I came across of deodexing was posibility of theme modifications.
Some thread on XDA and google said that with odex rom (1) boot will be faster.
With deodexing, they said (1) it will take up more data space (2) theoritically deodexing will slow some performance and (3) longer boot times because of big dalvik cache...
Please can you tell me exactly where I am wrong?
Sent from my jb atrix 2
Download unsuccessful
Download is not starting...it says it has started but nothing is getting downloaded have tried a lot.... any alternate link pls:silly:
hello , it´s only for jelly bean?

Categories

Resources