do u kno the actually steps
Run steps 1-3 and then switch the connection mode on ur phone to media sync before u start step 4
Sent from my DROIDX using Tapatalk
so try these, which worked for me...
adb shell
su
stop
mount -o remount,rw /dev/block/system /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
exit
exit
adb reboot
I'm a newbie to Droid X and Linux, so be gentle ...
I did the following in the command window:
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/
When I tried rm /system/app/*.odex I received an error message saying "rm failed for /system/app/AccountAndSyncSettings.odex, Read-only file sytem".
Does that matter or can I continue?
Everything works until i try to copy the files. It starts working, then i get "cp: write error: no space left on device". Any ideas? I've tried multiple times and every time it freezes. I have to restore after that.
Tested and does NOT work with Droid 2 2.2. Phone locks up at "cp /sdcard/done_app/* /system/app"
I too have run into problems, i have DX OTA 2.2 rooted, Trying to deodex using ultimate v.2.2.1 , i get through steps 1-3 fine, but when i start 4 it makes it to 30 out of 43 and hangs on core.odex then says:
Starting core.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: Java heap space
at java.util.TreeSet.<init>(Unknown Source)
at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.<i nit>(AnalyzedInstru
ction.java:53)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.buildIn structionList(Metho
dAnalyzer.java:462)
at org.jf.dexlib.Code.Analysis.MethodAnalyzer.<init>( MethodAnalyzer.java
:113)
at org.jf.baksmali.Adaptors.MethodDefinition.addAnaly zedInstructionMetho
dItems(MethodDefinition.java:351)
at org.jf.baksmali.Adaptors.MethodDefinition.getMetho dItems(MethodDefini
tion.java:290)
at org.jf.baksmali.Adaptors.MethodDefinition.writeTo( MethodDefinition.ja
va:130)
at org.jf.baksmali.Adaptors.ClassDefinition.writeMeth ods(ClassDefinition
.java:322)
at org.jf.baksmali.Adaptors.ClassDefinition.writeVirt ualMethods(ClassDef
inition.java:307)
at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(C lassDefinition.java
:136)
at org.jf.baksmali.baksmali.disassembleDexFile(baksma li.java:189)
at org.jf.baksmali.main.main(main.java:278)
Press any key to continue . . .
then:
*****************************************
MAJOR ERROR!! WITH DEODEXING! core.odex
*****************************************
********DELETING INCORRECT FILES*********
please exit out of window "***Deodexing ADB Window, DO NOT EXIT!***"
Press any key to continue . . .
then :
*****************************************
ERROR! Something Happened??? FIX IT!
*****************************************
Press any key to continue . . .
then:
-xUltimate Script v2.2.1-
ROM: VZW
*****************************************
Choices: (Do not use anything here!! Press "7")
*****************************************
(1) Pull /system/app/ from phone (origi_app)
(2) Pull /system/framework/ from phone (origi_frame)
(3) Deodex /system/app/ (Output="done_app")
(4) Deodex /system/framework/ (Output="done_frame")
(5) Pull and Deodex all
(6) Backup original files
(7) Exit
(8) Help
(10) Deodex from /sdcard/odex/ (system and app)
(15) ADVANCED
Type Choice number:
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
ghostlypickel; said: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, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
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 sdcard.
9. Put the phone in PC mode
10. 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
Your phone should now be deodexed!
You may notice an increase in speed, and you now have the ability to edit certain files with greater effects. (i.e. services.jar)
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
to
mount -t rfs -o remount,rw /dev/block/stl9 /system
rm /system/app/*.odex
rm /system/framework/*.odex
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
NOOB QUESTION : Will deleting all the .odex files from system/app counted as deodexing ?? :angel: