The general API level for odexed apps and framework in ICS and Jellybean is higher (15) than the Gingerbread so the apps in ICS and Jelly bean need to be deodexed differently. Here's is a much general and 100% successful way of deodexing those apps and pushing them into system. I know some of you might suggest dsixda kitchen but thats just limited to Linux or cygwin users. So i am gonna talk fully about how to deodex them samsung apps.
First of all what is deodexing:
Here's a good guide:
http://www.wugfresh.com/guides/deodex/ (do not use the guide to deodex you might brick your device)
Now let us actually proceed with deodexing system files:
1. Gain the actual .odex files be it by copying from actual system files or by extracting the firmware fresh
2. Download the following tool (auto deodex tool 1.0.3): (thanks to xavierjohn22)
http://forum.xda-developers.com/showpost.php?p=13254199&postcount=3
3. Extract it inside a folder.
4. Place the respective system/app files to be deodexed in _app
and system/framework files to be deodexed in _framework
5. Run Autodeotoolmain.bat
6. First deodex jar files (ie _framework files) ress 5
7. It will take some time.
8. Your deodexed files will be in deodexed_jar folder
9. Deodexing apps requires some extra steps
10. Download the attached file java.awt.jar
11. Place the java.awt.jar file in deodexed_jar folder
12. Now to deodex .apk files press 4.
13. Use the following as your boot class path:
Code:
am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.samsung.device.jar:core.jar:core-junit.jar:ext.jar:filterfw.jar:framework.jar:framework2.jar:GlobalConfig.jar:ime.jar:input.jar:javax.obex.jar:libvtmanagerjar.jar:minimode.jar:monkey.jar:pm.jar:sec_feature.jar:seccamera.jar:secframework.jar:sechardware.jar:secmediarecorder.jar:services.jar:svc.jar:twframework.jar:java.awt.jar
14. Press enter and drink some coffee or do something else it takes very long time.
15. After completion those apps will be stored in deodexed_apk
16. Now some jars and apks remain in _framework those do not need to be deodexed. Copy those files in deodexed_jar
17. Now copy deodex_jar folder and deodexed_apk folder to your phone (make sure unknown sources and usb debugging are on)
18. Unplug your phone once and let media scanning run
19. Plug you phone again and in windows command prompt fire in adb and type in following code:
adb shell
su
stop
mount -o remount,rw /dev/block/mmcblk0p9
/system rm
/system/app/*.odex
rm /system/framework/*.odex
busybox cp /sdcard/deodexed_APK/* /system/app/
busybox cp /sdcard/deodexed_JAR/* /system/framework/
chmod 644 /system/app/*
chmod 644 /system/framework/*
mount -o remount,ro /dev/block/mmcblk0p9 /system
sync
reboot recovery
Click to expand...
Click to collapse
20. In recovery wipe cache, dalvik and do a factory reset. Reboot (initially may take some time be patient)
21. Congratulations you are deodexed
thats nice
nice....
Thankyou ( +1 :good: )im looking this one!
Thnx ^^
thanks...
I found an options to optimize app, is it helpfull?
samyam2002000 said:
The general API level for odexed apps and framework in ICS and Jellybean is higher (15) than the Gingerbread so the apps in ICS and Jelly bean need to be deodexed differently. Here's is a much general and 100% successful way of deodexing those apps and pushing them into system. I know some of you might suggest dsixda kitchen but thats just limited to Linux or cygwin users. So i am gonna talk fully about how to deodex them samsung apps.
First of all what is deodexing:
Here's a good guide:
http://www.wugfresh.com/guides/deodex/ (do not use the guide to deodex you might brick your device)
Now let us actually proceed with deodexing system files:
1. Gain the actual .odex files be it by copying from actual system files or by extracting the firmware fresh
2. Download the following tool (auto deodex tool 1.0.3): (thanks to xavierjohn22)
http://forum.xda-developers.com/showpost.php?p=13254199&postcount=3
3. Extract it inside a folder.
4. Place the respective system/app files to be deodexed in _app
and system/framework files to be deodexed in _framework
5. Run Autodeotoolmain.bat
6. First deodex jar files (ie _framework files) ress 5
7. It will take some time.
8. Your deodexed files will be in deodexed_jar folder
9. Deodexing apps requires some extra steps
10. Download the attached file java.awt.jar
11. Place the java.awt.jar file in deodexed_jar folder
12. Now to deodex .apk files press 4.
13. Use the following as your boot class path:
Code:
am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.samsung.device.jar:core.jar:core-junit.jar:ext.jar:filterfw.jar:framework.jar:framework2.jar:GlobalConfig.jar:ime.jar:input.jar:javax.obex.jar:libvtmanagerjar.jar:minimode.jar:monkey.jar:pm.jar:sec_feature.jar:seccamera.jar:secframework.jar:sechardware.jar:secmediarecorder.jar:services.jar:svc.jar:twframework.jar:java.awt.jar
14. Press enter and drink some coffee or do something else it takes very long time.
15. After completion those apps will be stored in deodexed_apk
16. Now some jars and apks remain in _framework those do not need to be deodexed. Copy those files in deodexed_jar
17. Now copy deodex_jar folder and deodexed_apk folder to your phone (make sure unknown sources and usb debugging are on)
18. Unplug your phone once and let media scanning run
19. Plug you phone again and in windows command prompt fire in adb and type in following code:
20. In recovery wipe cache, dalvik and do a factory reset. Reboot (initially may take some time be patient)
21. Congratulations you are deodexed
Click to expand...
Click to collapse
thanks mate now i used it XD
ICS_XD said:
thanks mate now i used it XD
Click to expand...
Click to collapse
so that means the GAME HAS BEGUN
incarnation95 said:
so that means the GAME HAS BEGUN
Click to expand...
Click to collapse
Yeah XD
Sent from my GT-I9100G using xda premium
delete java.awt.jar from deodexed_JAR after DEODEXED?
Can someone help me? i dont know why i get permission denied
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\user>adb shell
[email protected]:/ # su
su
[email protected]:/ # stop
stop
[email protected]:/ # mount -o remount,rw /dev/block/mmcblk0p9
mount -o remount,rw /dev/block/mmcblk0p9
[email protected]:/ # /system rm
/system rm
sh: /system: cannot execute - Is a directory
126|[email protected]:/ # /system/app/*.odex
/system/app/*.odex
sh: /system/app/AccuWeatherDaemonService.odex: cannot execute - Permission denie
d
126|[email protected]:/ #
Click to expand...
Click to collapse
I solved it already.
need help
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\user>adb shell
[email protected]:/ # su
su
[email protected]:/ # stop
stop
[email protected]:/ # mount -o remount,rw /dev/block/mmcblk0p9
mount -o remount,rw /dev/block/mmcblk0p9
[email protected]:/ # /system rm
/system rm
sh: /system: cannot execute - Is a directory
126|[email protected]:/ # /system/app/*.odex
/system/app/*.odex
sh: /system/app/AccuWeatherDaemonService.odex: cannot execute - Permission denie
d
126|[email protected]:/ #
i'm stock in this one..can someone tell me how to resolve it?
Refer to the guide by superatmos...this guide has typos...but can't remember exactly...
Use dsixda kitchen
Sent from my GT-I9100G using Tapatalk 2
this metod can be used to deodex leaked JB XXLSJ rom !?
Can I also deodex leaked Jellybean XXLSJ stock ROMS?
Not sure but why take the trouble? Legendk95 already released a deodexed version of that ROM...
I keep getting
I keep getting this error message when running the .bat: Java was not found, you will not be able to sign apks or use apktool
Press any key to continue . . .
I have the newest JAVA and even Java dev tools on my laptop. What should I do?
Java is not set in your home path...
Related
OK, for those on any cupcake or donut build, I've included instruction to get the new Maps 3.2.0 and the new YouTube app from Eclair (Android 2.0).
1. Download the zip file. View attachment 2.0_Apps.zip
2. Extract and place Maps.apk and YouTube.apk on the root of your SDCard
I'm using CyanogenMod 4.2.2 with CM-Recovery 1.4
In CM 4.2.2 the apps are found in /system/app ***while the phone is on and operation, if it's off or in recovery the symlink won't be active so please make sure your phone is completely booted. Don't do this from Recovery Console***
If you're using a different rom... go through your phone and locate Maps.apk and YouTube.apk update the links below accordingly
Windows users (with ADB working)
1. Open a CMD (command promt window)
Type:
- adb remount
- adb shell
- rm /system/app/Maps.apk
- rm /system/app/YouTube.apk
- cd /sdcard
- cp Maps.apk /system/app
- cp YouTube.apk /system/app
Phone Users:
1. Open a Terminal Window:
2. Type the following:
- su
- mount /system -o remount,rw
- rm /system/app/Maps.apk
- rm /system/app/YouTube.apk
- cd /sdcard
- cp Maps.apk /system/app
- cp YouTube.apk /system/app
You don't need to reboot... Apps will show up immediately in your menu. (You'll need to put them back on your Home Screen if you had them there though)
You're done... enjoy!
Is this the new maps with turn by turn?
You might want to change from
rm /system/app/Maps.apk
rm /system/app/Youtube.apk
to
mv /system/app/Maps.apk /sdcard/Maps.apk.old
mv /system/app/Youtube.apk /sdcard/Youtube.apk.old
the youtube app isn't all that stable and it never hurts to keep a backup, also I believe you need to remove any .obex files for maps and youtube to avoid problems although I didn't see any under CM 4.2.2
edit: I also believe these don't work on 1.5 might be worth pointing out in the OP
persiansown said:
Is this the new maps with turn by turn?
Click to expand...
Click to collapse
No just the one from the sholes dump, its faster to load and has layers for wikipedia, latitude and things like that
edit: more info here http://forum.xda-developers.com/showthread.php?t=574329
will this in a Hero rom? thanks!
Moved to apps location
might have to give this a shot
Totally doesn't work for me:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\DamianV>adb remount
remount succeeded
C:\Users\>adb shell
# rm /system/app/maps.apk
rm /system/app/maps.apk
rm failed for /system/app/maps.apk, No such file or directory
# rm /system/app_s/Maps.apk
rm /system/app_s/Maps.apk
rm failed for /system/app_s/Maps.apk, No such file or directory
# cp Maps.apk /system/app
cp Maps.apk /system/app
cp: cannot stat 'Maps.apk': No such file or directory
# cp Maps.apk /system/app
cp Maps.apk /system/app
cp: cannot stat 'Maps.apk': No such file or directory
#
I tried a few different variations.
remember to remount first and make sure you have the correct directories.
some roms uses system/app, some roms uses data/app_s
NguyenHuu said:
remember to remount first
Click to expand...
Click to collapse
Yeah I did do that...odd
do u have the origional file.. i made a booboo and didnt back up. forgot to backup origional file.
can u use a file explorer and browse and double check which directories the files are actually in? i see you tried both system/app and app_s. and i see you have lowercase for maps.apk. it could be uppercase, case sensitive.
for example your first cmd #rm /system/app/maps.apk, it should be Maps.apk
also for the copying part you need to do adb push, dont do it from shell. if you do from shell it would have to be from sdcard to that directory. i noticed in your log you didnt change directory to sdcard.
IronCross1788 said:
do u have the origional file.. i made a booboo and didnt back up. forgot to backup origional file.
Click to expand...
Click to collapse
Hahah yeah I made the same mistake--was getting 'Cross-Linked' errors so I said ehh fudge it and just wiped the original out. After that I was able to get the new Maps.apk loaded up though and DAMN, definitely an improvement
I thought these apps wouldnt work on anything below android 1.6?
If you're having trouble finding the app and want to check the directory you're in you can use ls (that's LS) to list the contents of the current directory. ROMs store things in different places so if you haven't already try....
adb remount
adb shell
cd /data/
ls
At that point see if you have app, app_s, app-private etc then if you do you can ....
cd app or app_s etc
Then do..
ls Maps.apk (this is case-sensitive)
If you get nothing do
cd ..
That'll take you back one directory, so if you're in /data/app it'll put you in /data
With those few commands you can probably find it. I don't use Linux enough to know what if there's a 'find' command available in console. The other option that might be quicker would be to find the .zip of the ROM you're using, create a new folder for it, move the .zip file to the new folder and then extract it there. That way you can browse through directories more easily or use Windows / OS X / Linux search functions to find Maps.apk
Phew...
Dyonas said:
If you're having trouble finding the app and want to check the directory you're in you can use ls (that's LS) to list the contents of the current directory. ROMs store things in different places so if you haven't already try....
adb remount
adb shell
cd /data/
ls
At that point see if you have app, app_s, app-private etc then if you do you can ....
cd app or app_s etc
Then do..
ls Maps.apk (this is case-sensitive)
If you get nothing do
cd ..
That'll take you back one directory, so if you're in /data/app it'll put you in /data
With those few commands you can probably find it. I don't use Linux enough to know what if there's a 'find' command available in console. The other option that might be quicker would be to find the .zip of the ROM you're using, create a new folder for it, move the .zip file to the new folder and then extract it there. That way you can browse through directories more easily or use Windows / OS X / Linux search functions to find Maps.apk
Phew...
Click to expand...
Click to collapse
Sound advise, one last thing for anyone who didn't know the remount command is
mount -o rw,remount /system (assuming your apps are in /system/app)
so full instructions for a CyanogenMod install from the sd card would be as follows
- su
- mount -o rw,remount /system
- cd /sdcard
- mv /system/app/Maps.apk /sdcard/Maps.apk.old
- mv /system/app/YouTube.apk /sdcard/Youtube.apk.old
- cp Maps.apk /system/app
- cp YouTube.apk /system/app
To revert back to old apps if you decide you don't like the new ones
- su
- mount -o rw,remount /system
- cd /sdcard
- cp Maps.apk.old /system/app/Maps.apk
- cp Youtube.apk.old /system/app/Youtube.apk
Breakthecycle2 said:
Totally doesn't work for me:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\DamianV>adb remount
remount succeeded
C:\Users\>adb shell
# rm /system/app/maps.apk
rm /system/app/maps.apk
rm failed for /system/app/maps.apk, No such file or directory
# rm /system/app_s/Maps.apk
rm /system/app_s/Maps.apk
rm failed for /system/app_s/Maps.apk, No such file or directory
# cp Maps.apk /system/app
cp Maps.apk /system/app
cp: cannot stat 'Maps.apk': No such file or directory
# cp Maps.apk /system/app
cp Maps.apk /system/app
cp: cannot stat 'Maps.apk': No such file or directory
#
Click to expand...
Click to collapse
If you have a2sd, try mapping to /system/sd/app or /system/sd/app_s
Make sure you remount before doing so.
hey guys!
for those who are having problems...
I just put the apk files in my sdcard and then upgraded it using ASTRO.. it worked fine!
yeah well every1 is doing this mad confusing lmfao i just installed with appsinstaller and it worked like a charm lol why is everything always confusing
Is it possible to odex a system before I compress it into a androidinstall and send it to my device to install?
If so how?
only way i have found to odex is through the phone
How do people release odex'ed builds then?
2 ways
1. if adb works push the odex script to /data run the scrpit (search odex donut or dzo's instructions on how to use it), then do an adb pull of /system then repack it into a .tar and go
2 adb doesnt work for me so here is how i do it, i load up my build and in the /data folder i have the odex script, i run the script using terminal emulator, then i restart after its finished and put in a blank sd card then i copy the app and framework folders from /system to the SD and replace those folders in the original .tar with the newly odex'd ones
I put the odex script into data and then added it to init
jholtom said:
Is it possible to odex a system before I compress it into a androidinstall and send it to my device to install?
If so how?
Click to expand...
Click to collapse
I asked dzo once and he answered me, in the Fresh Froyo thread. The search function isn't working right now, but when you read this it might be working. Another thread described things in more detail, but I long ago forgot where that thread is. I never got odexing to work outside the phone, but here is the script I have tried. Note that the dexpreopt.py python script has to be edited to mount system as read/write, or it completely fails. I run this after a complete build.
Code:
#! /bin/sh
. build/envsetup.sh
lunch us_vogue-userdebug
rm out/target/product/vogue/obj/PACKAGING/systemimage_unopt_intermediates/system.img
ONE_SHOT_MAKEFILE=/home/devel/android/build/tools/dexpreopt/Android.mk make -C /home/devel/android/ files
make
mkdir /tmp/system-odex
rm -rf /tmp/system-odex/system
cp -ra out/target/product/vogue/system /tmp/system-odex
dexpreopt.py --outsystemdir=/tmp/system-odex/system
for i in /tmp/system-odex/system/app/*.apk; do zipalign -f 4 $i /tmp/zip; mv /tmp/zip $i; done
tar -C /tmp/system-odex -czf odex.tgz system
n2rjt said:
I asked dzo once and he answered me, in the Fresh Froyo thread. The search function isn't working right now, but when you read this it might be working. Another thread described things in more detail, but I long ago forgot where that thread is. I never got odexing to work outside the phone, but here is the script I have tried. Note that the dexpreopt.py python script has to be edited to mount system as read/write, or it completely fails. I run this after a complete build.
Code:
#! /bin/sh
. build/envsetup.sh
lunch us_vogue-userdebug
rm out/target/product/vogue/obj/PACKAGING/systemimage_unopt_intermediates/system.img
ONE_SHOT_MAKEFILE=/home/devel/android/build/tools/dexpreopt/Android.mk make -C /home/devel/android/ files
make
mkdir /tmp/system-odex
rm -rf /tmp/system-odex/system
cp -ra out/target/product/vogue/system /tmp/system-odex
dexpreopt.py --outsystemdir=/tmp/system-odex/system
for i in /tmp/system-odex/system/app/*.apk; do zipalign -f 4 $i /tmp/zip; mv /tmp/zip $i; done
tar -C /tmp/system-odex -czf odex.tgz system
Click to expand...
Click to collapse
ok thanks
I'll work with it
Also there is a script I use to odex files as they are downloaded from the market or installed on the phone. It is inside of my barebones build and if you look inside my userinit from my build you will see the call to the file.
Edit: I do not take credit for it, I just claim to be a source of the file as I already have it.
please can you tell me the steps to deodex the eropian rom xxjpy step by steps with also cmd command or if there is any other way to deodex
so i can freely download themes
thanksssssssss
frozenhill said:
please can you tell me the steps to deodex the eropian rom xxjpy step by steps with also cmd command or if there is any other way to deodex
so i can freely download themes
thanksssssssss
Click to expand...
Click to collapse
Use xUltimate, it's not bad
Use xUltimate, it's not bad
ok but how after i finish xultimate 1,2,3,4
what i shall do
frozenhill said:
Use xUltimate, it's not bad
ok but how after i finish xultimate 1,2,3,4
what i shall do
Click to expand...
Click to collapse
On Xultimate you choose number 5, it will take a while to finish the task, it will make 2 folders in the same directory of xultimate 1- done_app 2-done_frame
copy these 2 folders to your sdcard and then do as below on adb shell
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
dont forget that your phone has to be rooted
while entering the commands above you may see a message that the memory is full in this case you can remove odex files first then copy the folders to system
First off I take no credit for any of these instructions!! I did not make them and they were found at another area of the forum, I just thought since I used them to deodex my OLYEM_U4_2.2.3 that they may be of use to someone.
P.S. For step 5 there was no guava.odex, so if nothing show's up don't worry about; and I also changed the mount codes for step 10, these were out of my experience and just made things quicker.
You must be rooted!
Get xUltimate here.
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, 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 /system/ /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 /system/ /system/
reboot
Credits:
Rainabba and Mike919: For initially working with me to get a white clock, and later deodex.
toxman: For testing, and being a huge risk taker.
teenfaces: For letting me use his services.jar
And especially Xeudoxus: For letting me a guinea pig, for xUltimate, and answering my questions. And also for the making the xUltimate tool. It defiantly makes thing easier.
I get a virus warning Trojan when I downloaded the file, anyone else get this. I'm using Norton Antivirus.
Update:
The developers notes this on the OP. Figured what the hell and went ahead and tried it out. But when i press 3 i get "java" is not recognized and an internal or external command operable or batch file. So in english this means? I need Java SDK installed?
Update2:
I installed Java. And now everything seems to be working.
No virus However I got the java error, just downloaded java and problem sorted and now I'm deodexed Thanks for posting the information, really useful!
hexxor93 said:
No virus However I got the java error, just downloaded java and problem sorted and now I'm deodexed Thanks for posting the information, really useful!
Click to expand...
Click to collapse
No problem. Glad it worked.
Got the Java error. I already had it installed so I uninstalled and reinstalled to no avail. Can you guys be more specific as to which you downloaded? I have win 7 64 bit so I did the bottom option here: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html
Did anyone choose differently? I'll try 32 bit as I wait for a response.
omni_angel7 said:
Got the Java error. I already had it installed so I uninstalled and reinstalled to no avail. Can you guys be more specific as to which you downloaded? I have win 7 64 bit so I did the bottom option here: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html
Did anyone choose differently? I'll try 32 bit as I wait for a response.
Click to expand...
Click to collapse
http://www.java.com/en/download/ That's all nothing special just normal java
hexxor93 said:
http://www.java.com/en/download/ That's all nothing special just normal java
Click to expand...
Click to collapse
What the... That worked >.< Thanks man
omni_angel7 said:
What the... That worked >.< Thanks man
Click to expand...
Click to collapse
xD Glad it did. Random huh lol
hexxor93 said:
xD Glad it did. Random huh lol
Click to expand...
Click to collapse
Has anyone deodexed 2.3.4 build 4.5.91 yet? Can you confirm if this works?
TIA.
EDIT - Just went ahead and did it and it works well. The process is well documented by the OP.
i just tried this, gettin error any ideas ?this is what i did...
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\ADB>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
# su
su
# stop
stop
# mount -o rw,remount /system/ /system/
mount -o rw,remount /system/ /system/
# cp /sdcard/done_app/* /system/app/
cp /sdcard/done_app/* /system/app/
# cp /sdcard/done_frame/* /system/framework/
cp /sdcard/done_frame/* /system/framework/
cp: /system/framework/services.jar: No such file or directory
cp: /system/framework/sqlite-jdbc.jar: No space left on device
cp: /system/framework/svc.jar: No space left on device
# rm /system/app/*.odex
rm /system/app/*.odex
# rm /system/framework/*.odex
rm /system/framework/*.odex
# mount -o ro,remount /system/ /system/
mount -o ro,remount /system/ /system/
# reboot
reboot
C:\ADB>
simplesid242002 said:
i just tried this, gettin error any ideas ?this is what i did...
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\ADB>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
# su
su
# stop
stop
# mount -o rw,remount /system/ /system/
mount -o rw,remount /system/ /system/
# cp /sdcard/done_app/* /system/app/
cp /sdcard/done_app/* /system/app/
# cp /sdcard/done_frame/* /system/framework/
cp /sdcard/done_frame/* /system/framework/
cp: /system/framework/services.jar: No such file or directory
cp: /system/framework/sqlite-jdbc.jar: No space left on device
cp: /system/framework/svc.jar: No space left on device
# rm /system/app/*.odex
rm /system/app/*.odex
# rm /system/framework/*.odex
rm /system/framework/*.odex
# mount -o ro,remount /system/ /system/
mount -o ro,remount /system/ /system/
# reboot
reboot
C:\ADB>
Click to expand...
Click to collapse
I ran into that as well... I treated it as if I ran out of space, so I reran the copy command: cp /sdcard/done_frame/* /system/framework/ . With the odex files gone it ran without issue.
But it looks like you copied and pasted the entire block. I did it line by line and only rebooted at the end (after my second attempt to copy those files).
Can it deodex official 2.3.4?
Sent from my MB860 using XDA App
Javi97100 said:
Can it deodex official 2.3.4?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
Yes it can.
how do I know if i am dedoexed after doing all the steps?
and i keep getting error when trying to flash blur music.apk
i am at the adb shell step. When i get to typing: mount -o rw,remount /system/ /system/ it gives me a permission denied. What am i doing wrong?
and1baller said:
i am at the adb shell step. When i get to typing: mount -o rw,remount /system/ /system/ it gives me a permission denied. What am i doing wrong?
Click to expand...
Click to collapse
are you rooted?
did you enter "su"?
does the prompt appear as "#"?
yes i am rooted and i did type SU. But i don't see a # sign. All i see is a $ sign.
and1baller said:
yes i am rooted and i did type SU. But i don't see a # sign. All i see is a $ sign.
Click to expand...
Click to collapse
Then you are not in as root. When you type "su" do you check the phone screen to see if it is asking for you to grant permissions?
i checked the screen when typing su but it doesn't ask me to give permission. I am in usb debugging and the usb connection is set as none.
Files needed:
Xultimate 2.4 Download here
Download files "Smaili-1.2.4.jar" and "baksmali-1.4.2.jar" link
tutorial:
Once downloaded xUltimate & unzip wherever
Files "baksmali-1.4.2.jar" and "smali-1.4.2.jar" rename deleting numbers, would be as follows: · baksmali.jar "and" smali.jar ".
Copy both files to / xUltimate / jar and replace the existing.
Connect the PC to cellular USB debugging.
Open the folder xUltimate the main.exe
Select option 5; wait takes about 5-30 minutes depending on the phone model.
When and finish is created in the folder xUltimate 2 folders, "done_app" and "done_frame" copy both to sd (in case of a terminal with internal and external memory to the internal copy).
I opened a command window (I take it for granted that adb is correctly configured and no, I will not explain how, if in this section are supposed to know that) type in the following:
adb shell
su
stop
mount -o remount,rw /dev/block/mtdblock4 /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 /dev/block/mtdblock4 /system
reboot
enjoy..!!
Note: I recommend doing then wipe cache and cache davilk, if not boot also wipe data.
original post argendroid
max_choco said:
Files needed:
Xultimate 2.4 Download here
Download files "Smaili-1.2.4.jar" and "baksmali-1.4.2.jar" link
tutorial:
Once downloaded xUltimate & unzip wherever
Files "baksmali-1.4.2.jar" and "smali-1.4.2.jar" rename deleting numbers, would be as follows: · baksmali.jar "and" smali.jar ".
Copy both files to / xUltimate / jar and replace the existing.
Connect the PC to cellular USB debugging.
Open the folder xUltimate the main.exe
Select option 5; wait takes about 5-30 minutes depending on the phone model.
When and finish is created in the folder xUltimate 2 folders, "done_app" and "done_frame" copy both to sd (in case of a terminal with internal and external memory to the internal copy).
I opened a command window (I take it for granted that adb is correctly configured and no, I will not explain how, if in this section are supposed to know that) type in the following:
adb shell
su
stop
mount -o remount,rw /dev/block/mtdblock4 /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 /dev/block/mtdblock4 /system
reboot
enjoy..!!
Note: I recommend doing then wipe cache and cache davilk, if not boot also wipe data.
original post argendroid
Click to expand...
Click to collapse
Thanks - worked!
Can I make this guide on the JB ROM for RAZR XT910 ??Thanks
mclfriggi said:
Can I make this guide on the JB ROM for RAZR XT910 ??Thanks
Click to expand...
Click to collapse
Hey, if it works perfectly secure. regards
Enviado desde mi XT890 usando Tapatalk 2
My friend worked perfectly nom razr hd xt925, thank you.
Now I just need to make the process of adb that complicated.
Dear sir,how to how change deodex apk in jb to odex as i need to add 1 systemui.apk file to my GB stock rom.thank.
Not worked on my Motorola Droid 4 XT894
exxand said:
Not worked on my Motorola Droid 4 XT894
Click to expand...
Click to collapse
This forum its for xt890! Razr i
Intel device - Razr i Owner
Hit thanks if i help you or you like my style
Im still learning about all things here and I use motorola razr xt 910. This guide works for razr running stock jb 4.1.2 retail.en.eu.
Thanks for the guide guys....:good::good::good::good::good:
max_choco said:
Files needed:
Xultimate 2.4 Download here
Download files "Smaili-1.2.4.jar" and "baksmali-1.4.2.jar" link
tutorial:
Once downloaded xUltimate & unzip wherever
Files "baksmali-1.4.2.jar" and "smali-1.4.2.jar" rename deleting numbers, would be as follows: · baksmali.jar "and" smali.jar ".
Copy both files to / xUltimate / jar and replace the existing.
Connect the PC to cellular USB debugging.
Open the folder xUltimate the main.exe
Select option 5; wait takes about 5-30 minutes depending on the phone model.
When and finish is created in the folder xUltimate 2 folders, "done_app" and "done_frame" copy both to sd (in case of a terminal with internal and external memory to the internal copy).
I opened a command window (I take it for granted that adb is correctly configured and no, I will not explain how, if in this section are supposed to know that) type in the following:
adb shell
su
stop
mount -o remount,rw /dev/block/mtdblock4 /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 /dev/block/mtdblock4 /system
reboot
enjoy..!!
Note: I recommend doing then wipe cache and cache davilk, if not boot also wipe data.
original post argendroid
Click to expand...
Click to collapse
Does this work for Razr i on Stock Jelly Bean, no cwm recovery installed, rooted but bootloader locked (method from jcase with TwerkMyMoto 1.0)?
Thanks in advance