Hey, thanks for the tutorial! But i've got a few questions:
1) First of all, after I've deodex my phone (fyi I'm running options 1-4 manually, then I exit), I'm not sure whether it's fully deodexed or not because in /system/app there are still files with .odex. And I've wiped cache but not wipe data coz i don't want to lose my files.
2) adb is not a recognized command. How to fix this?
3) If i don't want to build my own kernel and want to based on other kernels, what should i do?
Thanks in advance!
Phone > Samsung Galaxy S II i9100G [EFFF YOU SAMSUNG FOR PUTTING A "G" BEHIND] (The Codebox ROM | Android 4.1.2 | Horsepower 3.1.2 Kernel)
Other devices >
Apple iPod Touch 4G (iOS 6.0.1, non-jailbroken)
Apple New iPad (iOS 6.0.1, non-jailbroken)
same problem here. i cant seem to deodex my jplc1.
it keeps giving me the same error.
when i use the command rm /system/app/*.odex
it will say. cant remove filesaccountandsettings.odex : read only file system...
when type this command : busybox cp /sdcard/done_app/* /system/app/
cant create file xxx , : file already exist.
---------- Post added at 11:08 PM ---------- Previous post was at 10:42 PM ----------
the deodex guide is not really well written, and its not newbie friendly bro
Did you read the deodex section properly? Did you read "What you need to have" under "deodexing" section?? You need to have a rooted kernel first..
secondly, after having rooted kernel, you need to follow the "code" (steps mentioned) under "deodexing" section exactly.. /system is remounted as "rw" before you even delete or copy /system/app.....
Did you read the deodex section properly? Did you read "What you need to have" under "deodexing" section?? You need to have a rooted kernel first..
secondly, after having rooted kernel, you need to follow the "code" (steps mentioned) under "deodexing" section exactly.. /system is remounted as "rw" before you even delete or copy /system/app.....
Read the instructions properly ....
bro, yes i read it 100x over and over again. and yes i had everything ready before starting.i was rooted,jdk installed,xultimate etc all done well. im not saying this in a rude manner. i just wanted to let you know froma newbie point of view, the command prompt instruction hopefully can be elaborated further.
anyway the cause of my problems were that the done_app and done_framwork had to be mounted using root explorer and had to change the commands without /sdcard and it worked perfectly.
another thing is, after all is done, go into the system app and framework folder to double confirm if all odex files is deleted. just to ensure its deodexed properly.
and to download vending.apk, copy file directly into system/app to have market again.
thats all bro...im grateful for your guide. and manage to deodex my rom by my self thanks to you.
one last question,how do i pull and save this deodex rom? so that next time i can just flash it, instead of deodex again?
bro, yes i read it 100x over and over again. and yes i had everything ready before starting.i was rooted,jdk installed,xultimate etc all done well. im not saying this in a rude manner. i just wanted to let you know froma newbie point of view, the command prompt instruction hopefully can be elaborated further.
anyway the cause of my problems were that the done_app and done_framwork had to be mounted using root explorer and had to change the commands without /sdcard and it worked perfectly.
another thing is, after all is done, go into the system app and framework folder to double confirm if all odex files is deleted. just to ensure its deodexed properly.
and to download vending.apk, copy file directly into system/app to have market again.
thats all bro...im grateful for your guide. and manage to deodex my rom by my self thanks to you.
one last question,how do i pull and save this deodex rom? so that next time i can just flash it, instead of deodex again?
Trying to deodex GT I9100g...
M on stock ics 4.0.3 with a rooted lp7 kernel+ busybox.....
Did the first two steps correctly..
Couldn find maps.apk and maps.odex.!!
Found only phonesky.apk and voicesearch.apk...deleted it!!.
Then when i try to do option 3...n enter i.e deodex system/app
it gives:
"Error! Something happened?? FIX IT!!
press any key to continue..."
Make sure USB debugging is ON and connect your device to the PC.
Open command prompt on your windows PC and go to CustomROM folder path.
Type adb devices. You should be able to see the device detected. (If not check environmental variables whether adb is in system path or not. If not present, add the adb path.)
Type the below command to get the dump of system folder.
Code:
adb pull /system system/
.....[/SIZE][/B]
1) u should do "make t1_defconfig" instead of copying and renaming as .config,the compiler fixes mistakes directly and u have sort of a backup
2)if u use adb to pull /system,u will end up with a lot of un-necessary binaries.
Better way it to download the firmware to your computer,mount system.img and extract the files u need
Haters gonna hate Software is like sex: it's better when it's free : Linus Torvalds
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?