How to deodex Android? - Verizon Droid Charge

How is this done? What do you do to actually deodex the files?
Why I ask is that there are a number of people who are asking on another forum that are running stock but are rooted that want to install themes but they don't have a deodexed ROM, they're running stock as in OTA stock.
I'd like to package up a CWM-installable ZIP file containing all of the deodexed files they need to deodex their ROMs but the only person who had provided these files are Danalo1979 but he hasn't given me permission to use his files as a basis for my ZIP file and I simply refuse to use his files unless I have his permission first.
So... I ask, how is this done?

trparky said:
How is this done? What do you do to actually deodex the files?
Why I ask is that there are a number of people who are asking on another forum that are running stock but are rooted that want to install themes but they don't have a deodexed ROM, they're running stock as in OTA stock.
I'd like to package up a CWM-installable ZIP file containing all of the deodexed files they need to deodex their ROMs but the only person who had provided these files are Danalo1979 but he hasn't given me permission to use his files as a basis for my ZIP file and I simply refuse to use his files unless I have his permission first.
So... I ask, how is this done?
Click to expand...
Click to collapse
Not sure this is the right spot for this, but regardless I think this already does that.

Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A

Related

[ROM] Rooted stock 1.47.651.1

Edit: I was looking for a zipped, rooted version of 1.47.651.1 and didn't find it, so I made one and posted it. Turns out I had just missed caulkin's post, so my post is now pretty pointless. If a mod wants to delete the thread, that is fine. I apologize for clogging things up, I was intending to provide a resource to make things easier for other people.
Here is caulkins: http://forum.xda-developers.com/showthread.php?t=712695
#######################################################
I haven't seen a rooted stock of the latest OTA ROM (1.47.651.1) so I made one. I added superuser, busy box, and left everything else the same. I'll probably add a deodexed version and stripped version soon.
odex-1.47.651.1
I'm pretty new to the Android world, but I think no one had put this up yet because it is pretty easy to do, but a pain to upload. Let me know if there are any issues, but in my testing it has been fine, market works, etc. Also, if this is out there, let me know, or delete the thread, but the only post I saw with this had a dead link.
This is just the images from whitslacks expanded into the more familiar zip package like most of the cooked roms are distributed. If you are running whitslacks this would be no different.
Thanks to:
dsixda for the kitchen
whitslack for the one shot image I pulled this out of
community in general
So u rooted the evo with the update?
Sent from my PC36100 using Tapatalk
laydros said:
I haven't seen a rooted stock of the latest OTA ROM (1.47.651.1) so I made one. I added superuser, busy box, and left everything else the same. I'll probably add a deodexed version and stripped version soon.
odex-1.47.651.1
I'm pretty new to the Android world, but I think no one had put this up yet because it is pretty easy to do, but a pain to upload. Let me know if there are any issues, but in my testing it has been fine, market works, etc. Also, if this is out there, let me know, or delete the thread, but the only post I saw with this had a dead link.
Thanks to:
dsixda for the kitchen
whitslack for the one shot image I pulled this out of
community in general
Click to expand...
Click to collapse
Here is whitslacks rooted 1.47 ROM:
http://forum.xda-developers.com/showthread.php?t=715915
Works perfectly, I haven't had any issues with it and I flashed it about 3-4 days ago.
vballboarder said:
Here is whitslacks rooted 1.47 ROM:
http://forum.xda-developers.com/showthread.php?t=715915
Works perfectly, I haven't had any issues with it and I flashed it about 3-4 days ago.
Click to expand...
Click to collapse
Yes, this is actually based on whitslack's. His work may be more useful, but his is a full package that replaces everything (radio, recovery, etc), and requires another flash to root.
This is just a standard rom that can be installed via clockwork or RA and doesn't change any of the other pieces.
More than anything it may be a building block for other roms, especially once I get a deodexed version up.
Caulkin also has a rooted stock Rom as well odex and deodexed in this forum. He was the first to put it out like the day the ota was released
xxbabiboi228xx said:
Caulkin also has a rooted stock Rom as well odex and deodexed in this forum
Click to expand...
Click to collapse
You are right. I looked quite a bit for this, but it didn't get a lot of posts in the last few days so it hasn't been in the top often.
laydros said:
Yes, this is actually based on whitslack's. His work may be more useful, but his is a full package that replaces everything (radio, recovery, etc), and requires another flash to root.
This is just a standard rom that can be installed via clockwork or RA and doesn't change any of the other pieces.
More than anything it may be a building block for other roms, especially once I get a deodexed version up.
Click to expand...
Click to collapse
Okay, I've spent quite a bit of time trying to figure this whole root thing out and I've got a pretty good handle on rooting and flashing ROM, but can't find what's the deal with odexed versus de-odexed? I imagine there's a different thread with this info and a little off topic from the original intent of this thread. If anyone has a link, I'd appreciate it.
Now that I've already done whitslacks 1.47 rooted rom, I should be fine with that, correct? What you're doing here doesn't necessarily apply if one has already done whitslacks and is happy with it?
Thanks, still learning this stuff.
vballboarder said:
Okay, I've spent quite a bit of time trying to figure this whole root thing out and I've got a pretty good handle on rooting and flashing ROM, but can't find what's the deal with odexed versus de-odexed? I imagine there's a different thread with this info and a little off topic from the original intent of this thread. If anyone has a link, I'd appreciate it.
Now that I've already done whitslacks 1.47 rooted rom, I should be fine with that, correct? What you're doing here doesn't necessarily apply if one has already done whitslacks and is happy with it?
Thanks, still learning this stuff.
Click to expand...
Click to collapse
I'm quite new and may have some of this wrong, but I think I'm close:
When a developer makes an application file, it is an apk. The apk is actually a zip file with information inside on how to install, name of the file, and resources used in the application, like pictures used for buttons. If the file is not odexed, then there is also a .dex file contained which has the actual program code used by the virtual machine. If a file is odexed then there is a separate file with the same name as the apk, but has the extension .odex. This is done by htc to the system files to make things (arguably) a little faster.
Dev's then deodex the files to put the odex file back into the apk as a .dex file, if this is desired. The reason for this is so that they can be changed later to do something like theming.
Yes, this is the same as whitslack's. If you wanted a de-odexed ROM you could now grab the one caulkin posted and flash it.
laydros said:
I'm quite new and may have some of this wrong, but I think I'm close:
When a developer makes an application file, it is an apk. The apk is actually a zip file with information inside on how to install, name of the file, and resources used in the application, like pictures used for buttons. If the file is not odexed, then there is also a .dex file contained which has the actual program code used by the virtual machine. If a file is odexed then there is a separate file with the same name as the apk, but has the extension .odex. This is done by htc to the system files to make things (arguably) a little faster.
Dev's then deodex the files to put the odex file back into the apk as a .dex file, if this is desired. The reason for this is so that they can be changed later to do something like theming.
Yes, this is the same as whitslack's. If you wanted a de-odexed ROM you could now grab the one caulkin posted and flash it.
Click to expand...
Click to collapse
Thanks, been wondering wtf deodex'd, etc meant.
laydros said:
I'm quite new and may have some of this wrong, but I think I'm close:
When a developer makes an application file, it is an apk. The apk is actually a zip file with information inside on how to install, name of the file, and resources used in the application, like pictures used for buttons. If the file is not odexed, then there is also a .dex file contained which has the actual program code used by the virtual machine. If a file is odexed then there is a separate file with the same name as the apk, but has the extension .odex. This is done by htc to the system files to make things (arguably) a little faster.
Dev's then deodex the files to put the odex file back into the apk as a .dex file, if this is desired. The reason for this is so that they can be changed later to do something like theming.
Yes, this is the same as whitslack's. If you wanted a de-odexed ROM you could now grab the one caulkin posted and flash it.
Click to expand...
Click to collapse
So, essentially caulkin's rom is deodexed, whitslacks is not? Which means, whitslacks rom is exactly like a non-rooted 1.47 ota but with root permissions, while caulkins is exactly like whitslacks, but with the ability to change some files around later.
Like I said, I'm still learning, and it appears whitslacks is sufficient for me since I don't even know what files I could manipulate with caulkins (or your) version nor how to do it even if I wanted to.
Thanks again, learning a little more every day. I've spent about 5 full days on this forum. slowly but surely, right?
Pretty cool

[ROM ORIGINAL & ROOTED EDITION] RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1 [UPDATE 12/16]

[ROM ORIGINAL & ROOTED EDITION] RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1 [UPDATE 12/16]
Searching the original RUU ROM?
RUU_Ace_Sense30_S_HTC_WWE_3.12.405.1_Radio_12.65.60.29_26.14.04.28_M_release_225512_signed.exe
Take this & enjoy!
http://www.multiupload.com/74DIWTH88Y
Mirror:
http://www.multiupload.com/FKJ8B7Q0QM
>>>>> UPDATE <<<<<
OK, folks!
For some unknown reasons a lot of users asking for a REAL ORIGINAL ROOTED ROM. This is a PD98IMG.ZIP file which is flashable via the boot loader.
Now I'll present you this ROM at this download:
http://www.multiupload.com/AURLLESU5V
- EVERYTHING is still ORIGINAL
- NOTHING has changed or added or modified at this ROM
- Bussybox is installed
- Toolbox is installed
- Superuser 3.07 is installed
The ONLY exception is the RECOVERY partition. I still like to use the 4ext to do some backups and other things. That's the reason why I keep this partition within the ROM.
Finaly here are common questions and answers about this ROM:
Q: How to update?
A: Just download the PD98IMG.zip and store it on your SDCARD. Unplug the batterie, plug it back and press the VOL-DOWN key for enter the bootloader. That's it.
Q: Does it work on every device?
A: Don't know. But it's working on every device with S-OFF
Q: This ROM is a peace of crap! Why the hell the "lib" folder is not within the "system" partition?
A: This question you should ask HTC. If you need the "lib" folder within the "system" partition please use an other image than this because this is ORIGINAL!
Q: Where I can add some support question about this ROM?
A: Use the trash bin because I will not give any support or add features or anything else to this ROM.
Q: Do you plan to do other things with this ROM?
A: NO!!!!!!!
Q: I love this ROM. But I want to do some changes and release this to the community. Is this O.K.?
A: From my point of view this ROM is Public Domain. Don't ask. Enjoy it and do it!
Regards!
http://forum.xda-developers.com/showthread.php?t=1382235
denied1977 said:
http://forum.xda-developers.com/showthread.php?t=1382235
Click to expand...
Click to collapse
This one is rooted and it's not the EXE
MrT69 said:
This one is rooted and it's not the EXE
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1335027
?
Damn!!!
Sometimes I hate your postings @ Mike1986
Sorry m8 - wasn't aware that this ROM is already available...
MrT69 said:
Damn!!!
Sometimes I hate your postings @ Mike1986
Sorry m8 - wasn't aware that this ROM is already available...
Click to expand...
Click to collapse
multiupload is much better so its a plus =D
how can i root it, i unintentionally install it on my phone and i cant get rid of
U need to install the recovery.img from mike1986 ROM 6.1x
How to do?
Make a PD98IMG.ZIP file which contains the android file and recovery.img
Flash this and then install the superuser 3.07
But fyi - the lib folder is outside the system.img
So if you want to install additional things to this ROM it might be that this will not work.
Sent from my Desire HD using XDA App
is it official htc rom
evanbigfan said:
multiupload is much better so its a plus =D
Click to expand...
Click to collapse
http://driphter.com/index.php?topic=3872.0
better than multiupload
""desire s"" ??
i tried to de-odex this rom with dsixda kitchen but unsuccessful due to 2 files not successfully de-odex in app folders....
anybody got any luck in de-odex the rom?
arzme said:
i tried to de-odex this rom with dsixda kitchen but unsuccessful due to 2 files not successfully de-odex in app folders....
anybody got any luck in de-odex the rom?
Click to expand...
Click to collapse
the two that dont get deodexed is maps and google voice if im not mistaken. just replace them with the apk's from market. This happens for most all htc ruu's.
The important files still get deodexed though, and thats what matters.
JSLEnterprises said:
the two that dont get deodexed is maps and google voice if im not mistaken. just replace them with the apk's from market. This happens for most all htc ruu's.
The important files still get deodexed though, and thats what matters.
Click to expand...
Click to collapse
u are spot on abt the 2 files that fail to de-odex.
need a clarify abt "just replace them with the apk's from market".... u mean, while de-odex, just remove the file and after flashing the rom, then install the 2 files from market...
or i need still to replace the file before zipping them back into roms?
anyway, thanks for sharing the knowledge.
arzme said:
u are spot on abt the 2 files that fail to de-odex.
need a clarify abt "just replace them with the apk's from market".... u mean, while de-odex, just remove the file and after flashing the rom, then install the 2 files from market...
or i need still to replace the file before zipping them back into roms?
anyway, thanks for sharing the knowledge.
Click to expand...
Click to collapse
Use whatever Rom you have on your device now, use a file explorer to get into /data/app and copy the Apk's specific to maps (com.google.maps) and voice (com.google.[somethingorother].voice) and copy em to your sd. Then plug in to pc, choose storage mode, and move em to your pc. Or if you're familiar with adb commands, you can go that route, but you need to know the exact filename of the Apk.
Sent by magic from my fingertips
JSLEnterprises said:
Use whatever Rom you have on your device now, use a file explorer to get into /data/app and copy the Apk's specific to maps (com.google.maps) and voice (com.google.[somethingorother].voice) and copy em to your sd. Then plug in to pc, choose storage mode, and move em to your pc. Or if you're familiar with adb commands, you can go that route, but you need to know the exact filename of the Apk.
Sent by magic from my fingertips
Click to expand...
Click to collapse
okay understood. thanks.
arzme said:
okay understood. thanks.
Click to expand...
Click to collapse
ok, so click thanks.
JSLEnterprises said:
ok, so click thanks.
Click to expand...
Click to collapse
it didn't work....
first method: before odex, i replaced the map.odex - de-odex didn't work
second method: delete both the map.odex & map.apk, then replaced with a map.apk - rom hangs on boot up
third method: delete map.odex & map.apk and continue to cook - rom hangs on boot up
arzme said:
it didn't work....
first method: before odex, i replaced the map.odex - de-odex didn't work
second method: delete both the map.odex & map.apk, then replaced with a map.apk - rom hangs on boot up
third method: delete map.odex & map.apk and continue to cook - rom hangs on boot up
Click to expand...
Click to collapse
Delete the apks that didn't de odex and then create a seprate folder with the data/app option put the 2 you want from market/phone in to that folder should be ok then
sent from my dhd
able to successfully de-odex and cook the rom.... my initial problem when the rom can't boot is due to the rom tht i use to cook... i have to do again, the extraction of the rom from the RUU. maybe my first time, the rom got corrupted.
thanks to all tht one way another, give their helps.

[APP][CWM Flashable] Touchwiz Program Monitor Widget (deodexed)

I have created a flashable zip to install the Touchwiz Program Monitor Widget into any deodexed SGS2 Skyrocket ROMS (running Touchwiz) which are missing it such as boneSTOCKeteer.
Make sure you have /system/app/JobManager.apk installed, and are running Touchwiz prior to flashing the zip file.
This is my first go at deodexing and creating a CWM flashable zip, you can always extract the zip and push the .apk into /system/app via Root Explorer if you are nervous.
Hope you enjoy.
promiseofcake
i'm pretty sure that this widget can only be used on the twlauncher. is there another widget that is similar?
jnicks510 said:
i'm pretty sure that this widget can only be used on the twlauncher. is there another widget that is similar?
Click to expand...
Click to collapse
You are correct, this is for people who are running touchwiz but do not have the widget as per it missing from boneSTOCKeteer.
Thanks for making this!
I'm new to all this. I found that I couldn't install the apk just by opening it, but the zip installs via clockwork mod. I don't really know why but has something to do with deodexing, right? Is there a tutorial for learning about deodexing and creating flashable zips?
purgatoroid said:
Thanks for making this!
I'm new to all this. I found that I couldn't install the apk just by opening it, but the zip installs via clockwork mod. I don't really know why but has something to do with deodexing, right? Is there a tutorial for learning about deodexing and creating flashable zips?
Click to expand...
Click to collapse
System apps are not installed, they just need to be placed in /system/app with the correct permissions (644). You can use something like Root Explorer and you wouldn't have to flash. An odexed rom just means that for each APK there is a corresponding .odex file so: Phone.apk and Phone.odex for example. I think it would also work if I made a flash with ____.apk,_____.odex but well deodex is the trend for portability. A deodexed APK just has the .odex file basically placed inside of it.
I would start with ADB first and then once you are familiar with everything you can move on to flashing. Flashing is really only good if you want to share your changes, it's much easier to just push the file via ADB.
http://www.madteam.co/forum/tutorials/how-to-deodex-an-odex-file/

Is it possible to remove stock apps from odexed stock firmware on PC before flashing?

Is it possible to remove stock apps from odexed stock firmware on PC before flashing it to the phone?
I did it on Wildfire for ziped custom firmwares.
Do i understand correctly that odexed = tar-archive
deodexed = zip-archive
Or these things are not connected?
Can i remove stock applications from tar-archive on PC before flashing it?
not really connected I flashed deodexed rom via odin last sunday.
You mean that you flashed deodexed ROM which was a tar archive via Odin.
But my question is not really about this.
I wonder if i can remove applications from odexed roms in the same way i did it with deodexed zip roms: open it on pc with Total Commander for example go to system/apps and just remove unwanted applications.
fatum2002 said:
Do i understand correctly that odexed = tar-archive
deodexed = zip-archive
Or these things are not connected?
Click to expand...
Click to collapse
I just referred to that. Type of compression has nothing to do with that. I guess you remove those apps, if you can extract, edit and re-compress .img files.
m.kochan if its possible for you could you make a guide on using Total Commander & Kitchen(I can't remember its full/correct name) for modifying the ROMs?
What other things can we do using Total commander & the other software?
'cooleagle' said:
m.kochan if its possible for you could you make a guide on using Total Commander & Kitchen(I can't remember its full/correct name) for modifying the ROMs?
What other things can we do using Total commander & the other software?
Click to expand...
Click to collapse
Man, this thread is not about Kitchen! Create a separet thread for Kitchen if you can't find information you need.
I wanna know from which roms i can remove apps and not how to use kitchen.
'cooleagle' said:
m.kochan if its possible for you could you make a guide on using Total Commander & Kitchen(I can't remember its full/correct name) for modifying the ROMs?
What other things can we do using Total commander & the other software?
Click to expand...
Click to collapse
Sorry but I have never managed to extract and modify .img
Sent from my GT-I9103 using xda premium
fatum2002 said:
Man, this thread is not about Kitchen! Create a separet thread for Kitchen if you can't find information you need.
I wanna know from which roms i can remove apps and not how to use kitchen.
Click to expand...
Click to collapse
Dude do you read what you wrote? You can remove apps from every room you want. Question is how? Take zip, and tar package and look inside. In case of zip you can just use tc and remove whatever you need. Odin packages are constituted by .bin, .img files, which has to be modified. There's no way to do it in tc, you need something more sophisticated...for example android kitchen (please somebody correct me if I am wrong). Cooleagle was right.
Sent from my GT-I9103 using xda premium
I thought he was refereing to the kitchen which builds different mods basing on the rom files.
So i can remove apps on PC from any roms (both odexed and deodexed) providing that i have a tool to extract and re-pack them.
'cooleagle' said:
m.kochan if its possible for you could you make a guide on using Total Commander & Kitchen(I can't remember its full/correct name) for modifying the ROMs?
What other things can we do using Total commander & the other software?
Click to expand...
Click to collapse
yes you can. you can also use ADB to to inside your rom n delete the stuff u don want....but i would say u need to back up ur system 1st
m.kochan10 is right about having to use andriod kitchen for img files u need to extract samsung roms. if u need i can make 1 for u n u can install it. just let me know what u don want in the ROM.

Need Help with update-script

hi all i've been trying to deodex my stock 28 rom i have deodexed system/app & system/framework but i cant use adb to push them into my rom so i tried to make a flashable zip to flash them in cwm. but ive never made one before i have the file structure right i think but cant get the update-script right could some one please tell me where ive gone wrong or write it for me. if it gets done then it will also be an easy way for other users to deodex aswell. heres my atempt: https://dl.dropbox.com/u/90938124/deodex_xj-signed.zip
Edit: i tried to learn from here: http://forum.xda-developers.com/showthread.php?t=732957

Categories

Resources