Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: Is this thread useful and want it to be sticky?
Yes. Its very useful. Want it to be sticky thread. 279 95.88%
No. Its not useful and no need to be sticky. 12 4.12%
Voters: 291. You may not vote on this poll

 
Post Reply+
Tip us?
 
superatmos
Old
#71  
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1170
Posts: 493
Join Date: Mar 2011
Location: Bangalore
Arrow Making custom ROM section updated

Hi all,

Please find updated custom rom section HERE.

Feedback and suggestions welcome.
My ROM: SuperROM for GT-I9100G , SuperROM for GSM Galaxy Nexus
My Kernels for Samsung Galaxy S II GT-I9100G: Gingerbread, ICS
Tutorial for Deodexing, Building Kernel and Making Custom ROM for Galaxy S2 GT-I9100G, Galaxy S2 GT-I9100 and Galaxy Note GT-N7000
My tutorial published in XDA News Portal
The Following User Says Thank You to superatmos For This Useful Post: [ Click to Expand ]
 
brightivan
Old
#72  
brightivan's Avatar
Member
Thanks Meter 14
Posts: 71
Join Date: Dec 2011
Location: Somewhere on earth

 
DONATE TO ME
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)

 
ad_ek
Old
#73  
ad_ek's Avatar
Senior Member
Thanks Meter 32
Posts: 219
Join Date: Feb 2012
Location: Johor
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
 
superatmos
Old
#74  
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1170
Posts: 493
Join Date: Mar 2011
Location: Bangalore
Quote:
Originally Posted by ad_ek View Post
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.....

Read the instructions properly ....
My ROM: SuperROM for GT-I9100G , SuperROM for GSM Galaxy Nexus
My Kernels for Samsung Galaxy S II GT-I9100G: Gingerbread, ICS
Tutorial for Deodexing, Building Kernel and Making Custom ROM for Galaxy S2 GT-I9100G, Galaxy S2 GT-I9100 and Galaxy Note GT-N7000
My tutorial published in XDA News Portal
 
ad_ek
Old
#75  
ad_ek's Avatar
Senior Member
Thanks Meter 32
Posts: 219
Join Date: Feb 2012
Location: Johor
Quote:
Originally Posted by superatmos View Post
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?

thanks again superatmos.
 
superatmos
Old
#76  
Recognized Contributor / Recognized Developer - OP
Thanks Meter 1170
Posts: 493
Join Date: Mar 2011
Location: Bangalore
Quote:
Originally Posted by ad_ek View Post
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?

thanks again superatmos.
Use the below command :

Code:
adb pull /system system/
My ROM: SuperROM for GT-I9100G , SuperROM for GSM Galaxy Nexus
My Kernels for Samsung Galaxy S II GT-I9100G: Gingerbread, ICS
Tutorial for Deodexing, Building Kernel and Making Custom ROM for Galaxy S2 GT-I9100G, Galaxy S2 GT-I9100 and Galaxy Note GT-N7000
My tutorial published in XDA News Portal
 
Kingspp
Old
#77  
Kingspp's Avatar
Senior Member
Thanks Meter 113
Posts: 535
Join Date: Apr 2012
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..."

can ny 1 provide a solution??
 
Kingspp
Old
#78  
Kingspp's Avatar
Senior Member
Thanks Meter 113
Posts: 535
Join Date: Apr 2012
Cnt use v6 supercharger for odex roms..plz help me ou..

Sent from my GT-I9100G using xda premium
Mobile:
Samsung Galaxy S2 GT I9100G

Android Version:
4.1.2 [STOCK]

ROM:
XXLSR by samsung

Kernel:
Stock Kernel, Rooted, Flashable

My threads:

1.[Guide] How to install V6 Supercharger and many other scripts to Samsung Galaxy S2 GT I9100G.
2.[Q&A] CM9 Questions and Answers.
 
sakindia123
Old
#79  
sakindia123's Avatar
Recognized Developer
Thanks Meter 7129
Posts: 3,797
Join Date: May 2011
Location: Noida
Quote:
Originally Posted by superatmos View Post
.....
  • 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

Samsung Galaxy S2 i9100 : Yippikayeh
HTC Explorer A310e : CyanogenMod10.1,Linux 3.0
 
neutronz
Old
#80  
neutronz's Avatar
Senior Member
Thanks Meter 9
Posts: 144
Join Date: Jul 2011
Location: /system/
there is any flashable deodex app and framework that i can flash thru CWM? or maybe someone can make it.. it would be great

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...