GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
UPDATE : THIS DOES WORK ON KITKAT 4.4
Reservered
Sent from my LG-D959 using Tapatalk
works
It works with 4.4
Thanks dude
mattwheat said:
GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
Click to expand...
Click to collapse
Dang dude I just posted this and you've already done it. Wow maybe you should have written this thread. Lmao. It took me several hours to figure out my adb being older version was why it wasn't working.
Sent from my LG-D959 using Tapatalk
mattwheat said:
GUIDE ON HOW TO "DEODEX"
YOUR STOCK ROM ON PC
THIS IS FOR LG G FLEX ON JELLY BEAN 4.2.2
HAS NOT BEEN TESTED ON KITKAT 4.4
THIS IS NOT FOR ANYONE WHO IS NOT
COMFORTABLE WITH "ADB" AND ITS COMMANDS!!!
IM NOT RESPONSIBLE FOR YOUR CHOICE TO FOLLOW THIS GUIDE OR IF YOU STRAY FROM THE GUIDE AND SCREW UP YOUR DEVICE BY JAMMING FORKS IN THE USB PORT OR USING IT AS A FLOATATION DEVICE (doesnt work, i tried, sinks right to the bottom)
So with that said lets begin.
There are a few things youll need to do to get set up if you havent already implemented these. Things youll need : adb set up, android sdk, xUltimate v2.4.2, fresh stock phone (backed up), fairly descent understanding of adb and its commands, and one toothpick.
1.Download android-sdk & extract it. http://developer.android.com/sdk/index.html
2. Download xUltimate v2.4.2 & extract it. http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip
3.Copy the extracted android-sdk contents to a new folder youre going to create in C:/Program Files/Android
4.Change name in this folder there is a folder named SDK change it to Android.sdk.
So that you end up with a folder inside C:/Program Files/Android named "Android.sdk" C:/Program Files/Android/Android.sdk
In that folder you should have :
build-tools
extras
platform-tools
system-images
tools
FOR THOSE OF YOU, IF YOURE LIKE ME AND HAVE HAD SDK/ADB INSTALLED FOR A WHILE ON YOUR PC YOU MAY NEED TO UPDATE TO VERSION 1.0.31 OR NEWER. I HAD TO AND THAT MADE ALL THE DIFFERENCE. JUST PULL THESE FILES OUT OF THE NEW VERSION AND PASTE WHERE YOU HAVE YOUR SDK/ADB SET UP
FILES TO COPY AND PASTE
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
THAT SHOULD HAVE YOU UP TO DATE
5. You need to flash back to stock and reroot. For this you can follow this thread to do so :
http://forum.xda-developers.com/showthread.php?t=2644083
6. I hope it goes with out saying, MAKE A BACKUP AND SAVE IT SOMEWHERE BESIDES YOU PHONE AS WELL AS ON YOUR PHONE !!!!!
7. Make sure usb debugging in enabled. If you dont no how to do this then you shouldnt be doing this and you best bet would be to go to the PLAY STORE and download GO LAUNCHER and some GO themes to make your phone "prettier" This is for themers out there to be able to have a deodexed rom (system/app folder & system/framework folder) to be able to theme and mod.
8. Connect your phone to your computer.
9. Launch Main.exe In the xultimate folder. (run as administrator)
10. Select option 1 (pull /system/app) wait till its done it will take 20+ mins
11. Select option 2 (pull /system/framework) wait till its done it will take about half as long
12. Select option 3 (Deodex /system/app) wait till its done
[If encounter any error. Find out which .odex file it is . Then remove .odex file from the origi_app in xUltimate folder]
13. Select option 4 (Deodex /system/framework) wait till its done
14. Now select EXIT.
15. Rename the folder "done_app" to "app" and the "done_frame" to "framework"
16. Copy the 2 files you just renamed to the root of your sdcard on you your LG G Flex.
17. Now youre done with the hard part and the time consuming part.
TIME TO GET THOSE FRESHLY DEODEXED FILES
PUT BACK WHERE THE BELONG
THIS IS WHERE YOULL NEED TO USE adb.
1. Again make sure you have usb debugging eneabled, connect your phone to PC and make sure its in "MTP" mode.
2. Navigate to where you put your sdk files you extracted earlier.
C:/Program Files/Android/Android.sdk
3. Now in the Android.sdk folder hold "shift" and right click inside folder then select from the drop down menu "open command prompt here"
If this is the first time youve used adb on this phone then make sure you get the supersu prompt asking for permission to use adb from this PC.
4. Enter these commands one line at a time and hit enter after each line. Some lines may take several minutes to do their thing but be patient it will give you another cursor and cmd prmt line to type on. (VERY IMPORTANT TO DO THIS EXACTLY PER INSTRUCTIONS !!!!!) !!!!!! DONT ENTER ANYTHING IN RED ITS JUST EXPLANATION !!!
adb devices should see your device
adb shell
su
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
NOW IF EVERYTHING WENT WELL YOU REBOOTED AND HAVE A DEODEXED ROM!!
6. Congradulations you have now deodexed your LG G Flex stock rom and can now begin theming. I suggest before you do anything else you reboot into recovery and make a back up so if anything gets fubared you dont have to restore to an odex rom and go thru this again.
Click to expand...
Click to collapse
UPDATE : THIS DOES WORK ON KITKAT 4.4
Sent from my LG-D959 using Tapatalk
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
mattwheat said:
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
Is true guy, in my 6 years of xda is the device more boring i had, anybody react to our treads, neither with a simple thanks, i will try, or worked well, thanks
At least dont have people saying, how i open cmd?this will explode my device? Hehe
Enviado de meu LG-D958 usando Tapatalk
Maikeu Locatelli said:
Is true guy, in my 6 years of xda is the device more boring i had, anybody react to our treads, neither with a simple thanks, i will try, or worked well, thanks
At least dont have people saying, how i open cmd?this will explode my device? Hehe
Enviado de meu LG-D958 usando Tapatalk
Click to expand...
Click to collapse
right right I guess it could be bad and be getting bombarded with how to and dumb questions. I figured more people would want to have a deodexed ROM so that xtheme beta5 and hkthemer themed more of their system.
Sent from my LG-D959 using Tapatalk
removed odex
Ok, get ready for it here comes the dumb nOOb question: When i remove odex file in orig_app and rerun xultimate, app associated with odex is no longer in done app folder, is that how it goes down or should i be doing something differently when i run into errors?, thank you
Yes when you remove odex in orig folder then rerun some apps not necessary to have and any apps that error out that are you will have to Google them and find the deodex version. But if you used the lgflash back to stock then rerooted you shouldn't get any errors on any necessary apps. I didn't. There where 3 maybe five that I got errors on but they weren't necessary to have so I deleted them.
Sent from my LG-D959 using Tapatalk
mattwheat said:
Yes when you remove odex in orig folder then rerun some apps not necessary to have and any apps that error out that are you will have to Google them and find the deodex version. But if you used the lgflash back to stock then rerooted you shouldn't get any errors on any necessary apps. I didn't. There where 3 maybe five that I got errors on but they weren't necessary to have so I deleted them.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
I'm not trying to hijack your thread but if anybody is interested I found another similar method specifically for KK. I have used it and it works perfectly. The only apk that it wouldn't deodex was the stock LG keyboard. If anybody would like a link I could share. It does not work real well with 4.2 so this one here is the best option for 4.2.
No problem. If there's an easier method by all means. I didn't even know when I wrote this one if it worked on kk or not. I'm still on 4.2.2 for the recovery.
http://forum.xda-developers.com/showthread.php?t=2725930
I used this as instructed and it takes a while but worked perfectly. I will save you some time and tell you to remove lg stock keyboard. Tool does deodex but for some reason will not work. Just adb push using same method as stated in op except you will have to add a step for the priv app. I take no credit or responsibility but I've used it myself and it does work.
Sent from my LG-D950 using XDA Premium 4 mobile app
Matt check your pm plz
mattwheat said:
Wow that must be a good sign of a well explained tutorial when 80+ people read it and no questions or issues.
Sent from my LG-D959 using Tapatalk
Click to expand...
Click to collapse
This is the best explained way to deodex a ROM I've ever seen. Definitely going to try. Will be the first time I've read a how to on deodexing and feel confident enough to try it myself instead of installing someone elses deodexed ROM. But I may revisit with a question lol
Related
I made a little file where u can drag'n'drop files u want to install on ur phone.
No need of any settings.
When your phone is allready "adb ready" you dont need to have anything running.
Just take the apk File and drag on the exe and it will install. thats all.
perhaps i'll add more features soon. i made it for myself, to install the apk's faster after a full-wipe i made.
In Windows7 and Vista, it needs Admin rights (so it asks when starting) and AFTER its done, it gives an error. But it works how it should!
so don't worry
PS: Doubleclicking it won't do anything! Its Drag'n'Drop only!!
Another one by me
copy and paste the following into a file and save it on your desktop as install.bat (or whatever you fancy)
@echo off
adb install %1
pause
Then drag and drop files onto it, or associate apk files with install.bat and double click an apk file and will install to your phone.
htcmagic said:
copy and paste the following into a file and save it on your desktop as install.bat (or whatever you fancy)
@echo off
adb install %1
pause
Then drag and drop files onto it, or associate apk files with install.bat and double click an apk file and will install to your phone.
Click to expand...
Click to collapse
What do u want to say with ur post?
Did i made any question? i think not, so what r u explaining and for WHO??
It's just what i made in my "tool".
Made little bigger better Tool with 5 Options now
if anyone wants it, its at the bottom.
Now u can install apks, uninstall non-stock apks, push and pull files to & from /system/app/ and reboot ur phone.
ahhh, and not it wont make any errors or need for "admin rights" when starting the tool.
Works like a charm and now it has an Sketched android in it ! Yeehaaa
your program (the install part) doesnt really work. it doesnt install. i found that making the batch file was better.
hmm ok, thats weird. for me the new tool works perfekt.
And it IS a batchfile, i just merged the needed files from adb and the .bat file to one exe file. thats all.
do u get any error when trying to install ?
You do drag and drop the file to the exe and choose install apk, right?
Geeze, are people these days so lazy that they can't move their hand off the mouse? Just type the command!!!! Its easy... "adb install {file.apk}".
You know, back in the dark ages of not very long ago, NOBODY had a mouse. Or drag and drop. EVERYTHING was on the keyboard and involved typing commands.
If you guys want and you are running Windows, check out our app. www.androidmanager.net ... we added feature for installing apk-s by double-clicking few days ago
Ok i managed to get the stock lockscreen if you all want to use it.
There is a possibility that the file i signed has a different signature, but i dont think it will.
Remember make a backup! always.
If your phone gets messed up it is not my fault.
I have warned you, so here you are. EDIT: Unzip the file then push the one inside of the zip.
put the file i uploaded in /system/framework ............. let me know what you think!
Thank to : Ateisti for giving the info on how to modify it.
If you want to go back to your old lockscreen download the enable_glass_lock.zip, unzip it, and push the enable_glass_lock to /data/local
If your signature is different it will get stuck on the samsung, you can then restore your backup.
and if you want it then run these instructions:
You need to use adb not rootexplorer
DO this while in cwm recovery
1. Rename the file you downloaded to patched.odex
2. adb push it to your /system/framework
3. adb shell then cd into /system/framework
4. run this
dd if=android.policy.odex of=patched.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
5. exit shell
6. adb pull the android.policy.odex for backup
7. adb shell cd /system/framework
8. rm android.policy.odex
9. mv patched.odex android.policy.odex
reboot and you should have stock lockscreen.
You are the ****ing man!
How well does this work with the alarm silencing and incoming calls? Thanks!!!
EDIT: Never mind...testing it out.
wasupwithuman said:
Ok i managed to get the stock lockscreen if you all want to use it.
There is a possibility that the file i signed has a different signature, but i dont think it will.
Remember make a backup! always.
If your phone gets messed up it is not my fault.
I have warned you, so here you are.
put the file i uploaded in /system/framework ............. let me know what you think!
Thank to : Ateisti for giving the info on how to modify it.
Click to expand...
Click to collapse
I'm a little confused... do we need to just change the file to android.policy.jar or leave it the name that it is and just move it to /system/framework
thanks!
taypotts said:
I'm a little confused... do we need to just change the file to android.policy.jar or leave it the name that it is and just move it to /system/framework
thanks!
Click to expand...
Click to collapse
Keep the name and adb push it to /system/framework (you might want to backup your old one) you can backup by "adb pull /system/framework/android.policy.jar"
You can also install it using root explorer if you want.
wasupwithuman said:
Keep the name and adb push it to /system/framework (you might want to backup your old one) you can backup by "adb pull /system/framework/android.policy.jar"
You can also install it using root explorer if you want.
Click to expand...
Click to collapse
See I'm still confused, cause there is no file named android.policy (samsung fascinate) in the folder "framework" but there is android.policy.jar
Should I unzip the downloaded file then push that?
taypotts said:
See I'm still confused, cause there is no file named android.policy (samsung fascinate) in the folder "framework" but there is android.policy.jar
Should I unzip the downloaded file then push that?
Click to expand...
Click to collapse
yep, unzip first...
Quick question, does this take away the option for the other two lockscreens, ie glass and puzzle? If not I can throw this in my theme port (with your permission of course) and also theme this lockscreen as well.
frostman89 said:
Quick question, does this take away the option for the other two lockscreens, ie glass and puzzle? If not I can throw this in my theme port (with your permission of course) and also theme this lockscreen as well.
Click to expand...
Click to collapse
Your more then welcome to use it, but It does not give an option. So you would have to create a seperate theme for people who would just want the stock lockscreen.
I've tried installing this twice with root explorer, and both times my phone gets stuck on the Samsung logo when I reboot.
To install the file, I unzip the download and then place the .odex file in /system/framework. Any ideas on what I'm doing wrong?
Sent from my Fascinate using XDA App
tiger4life said:
I've tried installing this twice with root explorer, and both times my phone gets stuck on the Samsung logo when I reboot.
To install the file, I unzip the download and then place the .odex file in /system/framework. Any ideas on what I'm doing wrong?
Sent from my Fascinate using XDA App
Click to expand...
Click to collapse
your signature isnt the same as my file. you can try to do this but you need to use adb not rootexplorer
DO this while in cwm recovery
1. Rename the file you downloaded to patched.odex
2. adb push it to your /system/framework
3. adb shell then cd into /system/framework
4. run this
dd if=android.policy.odex of=patched.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
5. exit shell
6. adb pull the android.policy.odex for backup
7. adb shell cd /system/framework
8. rm android.policy.odex
9. mv patched.odex android.policy.odex
reboot and you should have stock lockscreen.
hey man, i'm new to all this i've done all that u said, but what is the command to pull the android.policy.odex from the phone? I think i'm putting the wrong directory in the command because I keep getting "remote object '......android.policy.odex' does not exist" thanks for this, btw i really dislike that puzzle piece unlock bs.
nevermind, I wasn't in cwm when doing it the first time. Thanks again.
I like this, can't wait to try it.
wasupwithuman said:
your signature isnt the same as my file. you can try to do this but you need to use adb not rootexplorer
DO this while in cwm recovery
1. Rename the file you downloaded to patched.odex
2. adb push it to your /system/framework
3. adb shell then cd into /system/framework
4. run this
dd if=android.policy.odex of=patched.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
5. exit shell
6. adb pull the android.policy.odex for backup
7. adb shell cd /system/framework
8. rm android.policy.odex
9. mv patched.odex android.policy.odex
reboot and you should have stock lockscreen.
Click to expand...
Click to collapse
That did the trick. Thanks for the help!
Sweet, put that file in the xultimate and deodex'ed and got it working.. Thanks
Followed step by step from adb, and got stuck with the Samsung screen.
DUNC4N said:
Followed step by step from adb, and got stuck with the Samsung screen.
Click to expand...
Click to collapse
hmm... you used the file i attached and did eveything in adb? try again, i'd like to help more, but if you did everything step by idk...
You did it in cwm recovery right?
Thanks for the reply.
Yes I did it in clockwork recovery. I may of had some confusion on the second to last step. I'll try again when I get home.
Two questions: Is the silent slide functional, and are the last two steps verbatim.
Thanks again.
Sent from my SCH-I500 using XDA App
DUNC4N said:
Thanks for the reply.
Yes I did it in clockwork recovery. I may of had some confusion on the second to last step. I'll try again when I get home.
Two questions: Is the silent slide functional, and are the last two steps verbatim.
Thanks again.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
not sure about the silent slide....i don't use this lockscreen. i just made it for you guys... and yes follow the last two steps exactly how i have them.
Silent mode is functional.
OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Demented71 said:
OK, I know how to use ADB to reboot and get into download mode on my phone, but I have a kind of emergency. I was attempting to replace a framework-res.apk file on my phone to change the battery icon, and now I am stuck FCing all over the place. So much that I can't put my backed up framework-res.apk file back in /system/framework via Root Explorer like I normally do.
I am connected to my phone, can list directories, but cannot seem to push the framework-res.apk file.
Can someone give me a step by step on how to do this and soon please...
Click to expand...
Click to collapse
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
bobbylx said:
Is your backed up framework on your sdcard? You could try adb shell.
from pc,
adb shell
su
cp XXXX/framework-res.apk system/framework <<<may need to use busybox cp
exit
exit
adb reboot
Click to expand...
Click to collapse
My backed up framework file was on my PC. The first one I was trying to get to was on my phone, in a folder called Battery Mod, which I could not get into because ADB kept saying wrong substitution or something?
Either way, I was able to get it done, so I learned something new again.
EDIT: I think I got it. I needed to be in Recovery Mode, and then it seemed to copy fine.
While I do have someone's attention (hopefully), how do you change directories if the directory you want to change to is two names, IE 'Battery Mod'?
Click to expand...
Click to collapse
That makes sense, it may not let you Push to the file system while it's in use.
As for 2 names, do you mean from a windows command box or in the android command line. Windows you just type it as is. Linux is a little more picky, I usually try to remove spaces from directory names so I don't run into any problems with that. In linux a backslash works, ie, cd /sdcard/Battery\ Mod
Not sure if it will work on our phones.
Ok, I must have posted this question somewhere but I would like to know the answer cause no one has answered it. "how do I get the stock phone app to modify?. How would I get it and put it back into my phone? please I would like to know.
38 views and no response?
the .png files for the phone are actually in the contacts.apk.
Are you asking how to modify the apk, or just specifically where are the phone images?
To copy the app from your phone just do: adb pull /system/app/Phone.apk
That will put a copy of the file in your "tools" directory in the android sdk folder
Then when you want to put it back on you should be able to overwrite it with: adb push /system/app/Phone.apk
What exactly are you planning on doing with this file?
Thank you. I want to create my own images to make it look different then the stock colors.
There are 2 apks that contain dialers, one is the Contacts.apk as stated bfore that brings up the phone when the phone icon is pressed the second is in the Phone.apk appears once a call is placed, and the persons picture appears of the person you are calling.
I don't know how to do a adb pull. can you explain?
johnny quest said:
I don't know how to do a adb pull. can you explain?
Click to expand...
Click to collapse
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
synesthete said:
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
Click to expand...
Click to collapse
This is confusing. I didn't think it would be so hard. I do UI's for iphone and ipod touch and this is way different. There are so many different things. Its discouraging in some ways. Sorry. I would love to create an app but of course its different. So, I stick to creating themes.
I would love to take a ROM and mod it myself or even modifying Launcher pro but it has that 9.pngs which makes it hard.
Ok, I have the Eris 2.1 rooted with Tenzo Rcmix2.0 installed. I have the SDK installed but don't know what to do with it. I appreciate you taking the time to help me out. I really want to create and mod lots of apps.
this is what I've done to a phone app I downloaded from the market:
-I created my images through Photoshop and saved them to a folder with its correct name used.
-I opened draw9patch and saved the images with the correct name again to a folder.
-I named the folder drawable-hdpi that belongs in the Res folder
-took the files and folder and created a zip out of it.
-opened the AvaboxV2 and signed it.
-loaded to my phone and changed the name to the correct name and installed it
but it keeps saying application not install, I just don't get it. What step did I messed up on?
Anybody? anybody?...............................
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
icbeer said:
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
Click to expand...
Click to collapse
thank you but I'm trying to understand what you mean by push ADB. is that the one in the sdk folder? if so, I open it and it just flashes for a few seconds then closes.
ADB is a command line program that allows you to debug and move/edit files on your phone. You need to run those commands from a command prompt (should be a link in the Accessories folder on the Start menu if you can't right-click on the sdk folder and open one). Navigate to the tools folder, then run the remount and push commands like icbeer said to get your modified .apk on your phone:
Code:
C:\users\brtnbrdr> cd c:\android-sdk-windows\tools
C:\android-sdk-windows\tools> adb remount
C:\android-sdk-windows\tools> adb push Contacts.apk /system/app
Is anyone out there that has another set of emoticons for the Ace 2 and an easy way to get it into our Ace 2?
I would much appreciate it. The Android-Smileys are getting worse with each version of Android ...
wrong section bro ask mod to move it
Why? It's a kind of development, because it's not just copy and paste.
Der-Knuffi said:
Why? It's a kind of development, because it's not just copy and paste.
Click to expand...
Click to collapse
Actually. it IS its just a bunch of PNGs to change, its not that hard. Even a five-year old can do it.
Ok, than tell me how to do it on Ace 2. I searched XDA and found different solutions for different phones.
I have a blue set of emoticons...
1 - Download/create an emoticon pack
2 - Get 7-zip or WinRAR or whatever on your PC
3 - Open up YOUR framework-res.apk with 7-zip
(If you don't know what that is, make sure your phone is rooted and follow 2nd set of instructions)
4 - Inside framework-res.apk, go to /res/drawable-hdpi/
5 - Copy/Drag the emoticons from wherever folder you put them and drop them inside framework-res.apk (7-zip)
Taking framework-res.apk:
1 - Go to Settings > Applications > Development > USB Debugging (make sure its checked)
2 - Run ADB and pull framework-res.apk
Code:
adb pull /system/framework/framework-res.apk \[I]where\you\want\you\place\it[/I]
(If you still don't know what I'm talking about then I will no longer help you.)
Ok,I get it, but I have some last questions:
1. I think at the end I should put the new framwork-res.apk back to where it came from, right? Which command do I have to use? Is it "adb push"?
2. I have to download the SDK for using adb, correct?
3. Is it possible to use ES File Explorer with root access instead of push and pull?
Der-Knuffi said:
Ok,I get it, but I have some last questions:
1. I think at the end I should put the new framwork-res.apk back to where it came from, right? Which command do I have to use? Is it "adb push"?
2. I have to download the SDK for using adb, correct?
3. Is it possible to use ES File Explorer with root access instead of push and pull?
Click to expand...
Click to collapse
1.Yes, Yes "adb push"
2. No, you can download 3 files only (adb.exe & adbwinapi.dll & adbwinusbapi.dll) not all SDK
3. Yes you can