Hi,
I have been trying to deodex my droid 2 in order to install custom themes via xUltimate using the manual method. I get to the point where you copy the /sdcard/done_app/* to /system/app and /sdcard/done_frame, etc via adb and I keep getting an error message stating that there is no directory named /sdcard/done_app/ although it is there. Any ideas? Is there a one click deodex for droid 2 yet?
Thanks in advance,
Andrew
Follow up, bump
Follow up - tried deodexing again, using directions and files from this thread:
I am running Android 2.2.20 VZ Droid 2
I put the deodexed folders on the root of the sdcard.
Here is where I get stuck (This is getting frustrating:
C:\android-sdk_r071-windows\android-sdk-windows\tools
# su
su
# stop
stop
# mount -o remount,rw /dev/block/system /systems
mount -o remount,rw /dev/block/system /system
# cp /sdcard/done_app/* /system/app/
cp /sdcard/done_app/* /system/app/
cp: /sdcard/done_app/*: No such file or directory
hophead75 said:
Follow up - tried deodexing again, using directions and files from this thread:
I am running Android 2.2.20 VZ Droid 2
I put the deodexed folders on the root of the sdcard.
Here is where I get stuck (This is getting frustrating:
C:\android-sdk_r071-windows\android-sdk-windows\tools
# su
su
# stop
stop
# mount -o remount,rw /dev/block/system /systems
mount -o remount,rw /dev/block/system /system
# cp /sdcard/done_app/* /system/app/
cp /sdcard/done_app/* /system/app/
cp: /sdcard/done_app/*: No such file or directory
Click to expand...
Click to collapse
i don't really want to state something obvious...but seems like /sdcard/done_app/ doesn't exists OR the sdcard is not mounted (connected in the wrong mode? wrong settings in winamp so that the sdcard is always mounted when usb is connected?)
Yeah, it needed to be in pc mode. I guess that should have been obvious, but i couldn't root my phone in pc mode, had to use usb mass storage so I used that for everything.
I´m trying to root my phone. It has been rooted before but something messed up and i dant have root anymoore.
I use this method
Code:
adb shell
/preinstall/dosu
/bin/mount -o remount,rw /system
cp /preinstall/su /system/bin/
chmod 6755 /system/bin/su
PATH=/system/bin:$PATH pm install /preinstall/Superuser.apk
When i write
Code:
/bin/mount -o remount,rw /system
i get
Code:
/bin/mount: not found
if i check with Astro the file seems to be there.
Anyone know how to solve this?
Just root with : http://forum.xda-developers.com/showthread.php?t=1255548 ?
Its for 2.3.4 or earlier android system.
PakaPakaxz said:
Just root with : http://forum.xda-developers.com/showthread.php?t=1255548 ?
Its for 2.3.4 or earlier android system.
Click to expand...
Click to collapse
It doesnt work.
having the same issue...
jiggytom said:
having the same issue...
Click to expand...
Click to collapse
Did you solved this problem yet?
You might try:
/system/bin/mount -o remount,rw /system
The /bin partition is osh, perhaps you remade this in some way that adb can not read/execute it?
Use at your own risk!
hello
I made deodexed app & framework for p7500 jpkg6
and i will show you how to install it over stock rom
Please note that your Base stock Rom should be JPKG6
then:
1-Root your Device
2-Install CWM Recovery & make bukeup if something gone wrong
3-Download the files unrar it and copy it to your SDCARD
4- put your tablet in debugging mod
5-use adb
adb shell
su
stop
mount -o rw,remount -t ext4 /dev/block/mmcblk1p21 /system
cp /sdcard/ deodexed_app/* /system/app/
cp /sdcard/ deodexed_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext4 /dev/block/mmcblk1p21 /system
reboot ( when the tablet reboot enter to recovery mod before it boot)
6- Factory Data reset
7-Wipe Cache
8-Wipe Dalvik cache
9- Wait until boot to the desktop, the first time may take some time please be patient
Download:
deodexed_frame
http://www.multiupload.com/WL92D1BR0O
deodexed_app
http://www.multiupload.com/CTIDFVYPIT
thanks to taha_e
Hi. What is the meaning of the following code? I mean, what is she?
This is the work that could paste the file or files. Odex to remove that?
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
Re: Code means Deodex
"adb shell
su
stop
mount -o rw,remount /system/ /system/" are the commands to get superuser permissions and remount "/system/"
"cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex" are the commands to push the deodexed .apk files and .jar files from "/sdcard/done_app/" and "\sdcard\done_frame\" to "\system\app\" and "\system\framework\" respectively. The odex files are not required and this also deletes them
"mount -o ro,remount /system/ /system/
reboot" remounts system and reboots your cell phone.
These commands need deodexed system files put in the required directories.
Search the forums or google on how to pull system files and deodex them :good:
To make this work you must be on stock rooted firmware!!!
I made a quick guide how to root stock 4.3 firmware, and can be found here
I'm not responsible for any damage caused by using this on your phone!!!
Let's start:
1 - you need deodexed app and deodexed framework. download and unzip. will result 2 folders (app & framework) wich must be copied on your phone (int sdcard)
2 - download adb from attach and unzip
3 - enable USB debugging mode (go to settings > about phone > tap on Build Number 7 times, until a message appears saying 'You are now a Developer.') than go to settings > Developer Options and enable USB Debugging Mode
4 - go to adb folder and open a command window (hold shift and right click on mouse button / choose "open command window here")
5 - connect your phone to pc with usb cable
>>> ml6_deodexed_zipaligned_apps_framework
>>> na1_deodexed_zipaligned_apps_framework
Now enter folowing codes:
>>> adb shell
>>> su (if you are using adb shell in su for the first time, keep phone screen on. after entering "su" code, super user request prompt in phone. press allow!!!)
>>> stop (touchscreen will not be active until reboot, don't worry!)
>>> mount -o rw,remount /system/ /system/ (mounting system r/w)
>>> cp /sdcard/app/* /system/app/ (copy deodexed system applications) (this will take 3 - 5 min)
>>> rm /system/app/*.odex (remove odex files)
>>> chmod 0644 /system/app/*.apk (this fix permissions in system/app)
>>> cp /sdcard/framework/* /system/framework/ (copy deodexed framework)
>>> rm /system/framework/*.odex (remove odex files)
>>> mount -o ro,remount /system/ /system/ (mounting system r/o)
>>> reboot (your phone will reboot) (this will take a little)
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
chmod 0644 /system/app/*.apk
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
Now you have a deodexed stock rom!!!
do not forget to press thanks
i recommend to remove all knox files from your phone.
to do this you need an application to modify your system files ( i use root explorer )
to remove knox delete this files:
system > app > ContainerAgent.apk / ContainerEventsRelayManager.apk / KLMSAgent.apk / KNOXAgent.apk /
KnoxAttestationAgent.apk / KNOXStore.apk / KNOXStub.apk
system > containers (delete entire folder)
system > etc > secure_storage > com.sec.knox.store (delete entire folder)
reserved...
Well written buddy :good:
I would like to see a "how to zipaligned" the apks also.
robalm said:
Well written buddy :good:
I would like to see a "how to zipaligned" the apks also.
Click to expand...
Click to collapse
attached app are deodexed & zipaligned
Sent from my GT-N7100 using xda app-developers app
Good idea thanks to you
You forgot to add "how to deodex stock 4.3 ML6 firmware"
robalm said:
You forgot to add "how to deodex stock 4.3 ML6 firmware"
Click to expand...
Click to collapse
root the rom and folow instructions.
app & framework are from ML6
Sent from my GT-N7100 using xda app-developers app
cosmyndemeter said:
root the rom and folow instructions.
app & framework are from ML6
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
All worked fine, but i do not like to have old apps and framework on a newer rom version.
robalm said:
All worked fine, but i do not like to have old apps and framework on a newer rom version.
Click to expand...
Click to collapse
explain pls. what rom you have?
cosmyndemeter said:
explain pls. What rom you have?
Click to expand...
Click to collapse
n7100dduena1.
robalm said:
n7100dduena1.
Click to expand...
Click to collapse
uploading na1_deodexed_zipaligned_apps_framework.
download link on #1 post
cosmyndemeter said:
uploading na1_deodexed_zipaligned_apps_framework.
download link on #1 post
Click to expand...
Click to collapse
Thank you for this, I had wondered whether the app & framework were universal. I had not seen it was from the ML6.
Thanks for working on the NA1.
YOSEFE said:
Thank you for this, I had wondered whether the app & framework were universal. I had not seen it was from the ML6.
Click to expand...
Click to collapse
i think app are same, framework can be different
my stock rom flashed is mk9, but is use na1_deodexed_zipaligned_apps_framework without any problem
na1_deodexed_zipaligned_apps_framework uploaded
cosmyndemeter said:
na1_deodexed_zipaligned_apps_framework uploaded
Click to expand...
Click to collapse
Thank you very much.
Going there now.
OP,
can you tell me what is wrong with my phone causing the errors with this?
C:\Users\Me...\Downloads\adb\adb>adb shell
[email protected]:/ $ su
su
[email protected]:/ # stop
stop
[email protected]:/ # mount -o rw,remount /system/ /system/
mount -o rw,remount /system/ /system/
[email protected]:/ # cp /sdcard/app/* /system/app/
cp /sdcard/app/* /system/app/
[email protected]:/ # rm /system/app/*.odex
rm /system/app/*.odex
rm failed for /system/app/*.odex, No such file or directory
255|[email protected]:/ # chmod 0644 /system/app/*
chmod 0644 /system/app/*
Unable to chmod /system/app/mcRegistry: Permission denied
10|[email protected]:/ # cp /sdcard/framework/* /system/framework/
cp /sdcard/framework/* /system/framework/
[email protected]:/ # rm /system/framework/*.odex
rm /system/framework/*.odex
rm failed for /system/framework/*.odex, No such file or directory
255|[email protected]:/ # chmod 0644 /system/framework/*
chmod 0644 /system/framework/*
[email protected]:/ # mount -o ro,remount /system/ /system/
mount -o ro,remount /system/ /system/
[email protected]:/ # reboot
reboot
Thanks.
YOSEFE said:
OP,
can you tell me what is wrong with my phone causing the errors with this?
C:\Users\Me...\Downloads\adb\adb>adb shell
[email protected]:/ $ su
su
[email protected]:/ # stop
stop
[email protected]:/ # mount -o rw,remount /system/ /system/
mount -o rw,remount /system/ /system/
[email protected]:/ # cp /sdcard/app/* /system/app/
cp /sdcard/app/* /system/app/
[email protected]:/ # rm /system/app/*.odex
rm /system/app/*.odex
rm failed for /system/app/*.odex, No such file or directory
255|[email protected]:/ # chmod 0644 /system/app/*
chmod 0644 /system/app/*
Unable to chmod /system/app/mcRegistry: Permission denied
10|[email protected]:/ # cp /sdcard/framework/* /system/framework/
cp /sdcard/framework/* /system/framework/
[email protected]:/ # rm /system/framework/*.odex
rm /system/framework/*.odex
rm failed for /system/framework/*.odex, No such file or directory
255|[email protected]:/ # chmod 0644 /system/framework/*
chmod 0644 /system/framework/*
[email protected]:/ # mount -o ro,remount /system/ /system/
mount -o ro,remount /system/ /system/
[email protected]:/ # reboot
reboot
Thanks.
Click to expand...
Click to collapse
did you this for stock rooted odexed rom
because it seems this is not stock odexed firmware
cosmyndemeter said:
na1_deodexed_zipaligned_apps_framework uploaded
Click to expand...
Click to collapse
Thanks for this.
I have posted you a question here because of the errors I am getting.
YOSEFE said:
Thanks for this.
I have posted you a question here because of the errors I am getting.
Click to expand...
Click to collapse
and i asked if you are in stock odexed firmware with root...