Question about "Deodexing". - Desire HD Q&A, Help & Troubleshooting

I wanna start modifying my phone and thought I'd start out gentle by simply adding a custom theme to my stock rom. As a random example, I'd like this theme: http://forum.xda-developers.com/showthread.php?t=1057418 - it says I need a Deodexed Rom, and I found this guide on how to deodex: http://www.droidxforums.com/forum/droid-x-themes/4620-how-manually-deodex-your-phone.html
1. - Will it work on a Desire HD, or do I need a different guide?
2. - After deodexing my phone, is the rom still as before? (Meaning I still have all my apps., etc.) - is anything changed?
3. - How am I supposed to understand the difference on Deodexing a phone, and people wanting to simply Deodex a file?
4. - Risks?
Im sorry if all of this has already been up, I've read up on Deodexing but as I've never done any modifying before, I dont get it completely.

Can no one answer this?

Related

[Q] How to I flash a ROM? Yes, I've done a search..

Yes, I noticed my spelling mistake, How DO* I flash a ROM.
UPDATE: I just now learned that you cannot flash a ROM without root. As we all know, root is currently unachievable with the OTA Froyo update, but I did not know you needed root in order to flash a ROM. I flashed the Stock .3 Froyo ROM in recovery mode from the UNrooted stock 2.1 ROM, so I figured it was the same. I hope this helps out others as it has helped me!
How do I flash a custom ROM, and which ROM should I choose?
Yes, I've searched, but I've found no tutorial made after August 3rd, when the OTA Froyo update came about.
I am currently running Stock Froyo (.6), I know I cannot root this (yet), and I'm not sure where to begin...
I have basic knowledge in recovery mode, but dont know if I need to flash a ROM AND a kernel, radios, etc...
I just want root because I am tired of not being able to install multiple apps from the Market without it.
This is what I want in the ROM:
-Root
-Froyo
-Full Camera Support (8MP, 720p Rear, 1.3MP Front)
-4G
-Market
-Full Sense
-Wifi N wouldn't hurt
-No Cap FPS wouldn't hurt
-Full HDMi and HID support wouldn't hurt
-No custom boot animation (I know I can't get too picky here) would be awesome
I pretty much just want a Rooted stock Froyo ROM if you catch my drift.
I've seen Nief's Rom comparison chart (https://spreadsheets.google.com/ccc?key=0Aguc0npJCrWxdEFyU2NRNG1jNnRkY2trdXBsYlJLdWc&hl=en#gid=0)
and EVio 2 Sense v1.1 is looking like my best bet?
As far as how to flash a ROM, I don't need screenshots...I'm very computer literate, I just haven't flashed an android ROM before. Something like this would be more than adequate:
1. Download ROM (zip file)
2. Copy to the root of SD card
3. Hold Key1+Key2 upon boot to boot into recovery mode
4. Select Blah
5. Select Blah
6. Select Blah
7. Wait Blah minutes
8. Blah!
This would be greatly appreciated, and I know others could also use this information.
not trying to beat a dead horse, but if youre running ota .6, you cant root, there is no where to begin.
The more popular roms will have everything you want. Im currently running EViO 1.0.2 (i think) and i have most of what your list requires. Sense + HID dont go together, so thats out. Wifi N sure why not, im not sure if its built into the kernel that im using.
But I digress, you cant root yet, therefore you cant flash roms. When the time comes where you can root, there will be a very indepth tutoral on how.
Oh....
That is terrible! I didn't know you needed root in order to flash a new ROM!
I thought it was similar to how I flashed the early .3 Froyo update from Sprint in recovery mode....
How unfortunate! I know understand why everyone is so upset about OTA updating to .6!
kyelerner said:
How do I flash a custom ROM, and which ROM should I choose?
Yes, I've searched, but I've found no tutorial made after August 3rd, when the OTA Froyo update came about.
I am currently running Stock Froyo (.6), I know I cannot root this (yet), and I'm not sure where to begin...
I have basic knowledge in recovery mode, but dont know if I need to flash a ROM AND a kernel, radios, etc...
I just want root because I am tired of not being able to install multiple apps from the Market without it.
This is what I want in the ROM:
-Root
-Froyo
-Full Camera Support (8MP, 720p Rear, 1.3MP Front)
-4G
-Market
-Full Sense
-Wifi N wouldn't hurt
-No Cap FPS wouldn't hurt
-Full HDMi and HID support wouldn't hurt
-No custom boot animation (I know I can't get too picky here) would be awesome
I pretty much just want a Rooted stock Froyo ROM if you catch my drift.
And yes, I've seen Nief's Rom comparison chart (https://spreadsheets.google.com/ccc?key=0Aguc0npJCrWxdEFyU2NRNG1jNnRkY2trdXBsYlJLdWc&hl=en#gid=0)
But it's too confusing and incomplete for me as far as choosing what ROM I want.
As far as how to flash a ROM, I don't need screenshots...I'm very computer literate, I just haven't flashed an android ROM before. Something like this would be more than adequate:
1. Download ROM (zip file)
2. Copy to the root of SD card
3. Hold Key1+Key2 upon boot to boot into recovery mode
4. Select Blah
5. Select Blah
6. Select Blah
7. Wait Blah minutes
8. Blah!
This would be greatly appreciated, and I know others could also use this information.
P.S. EVio 2 Sense v1.1 is looking like my best bet?
Click to expand...
Click to collapse
Most of the questions are answered in my comparison chart, the parts that are incomplete are just mainly the battery tests. If you are confused on reading the chart, ask. I'm looking for ways to make it better and easier for users to read(besides adding the battery tests. They take a long time and I do work and need my phone, so hard to do).
Oh, and Nenn, thank you very much. You just answered many of my questions.
Oh, and Nenn, thank you very much. You just answered many of my questions..
Sorry for the double post! I'm at work and must click "Continue" every some odd minutes to be in forums, and it refreshes my pages..
Nief, I noticed after I scrolled to the right of the spreadsheet, it was very useful and I will edit my first post. I would recommend putting the battery test results at the very end, and start with the camera column first! I also assume that "Yes" under camera means full 8MP camera support?
Thanks again, guys
not being an ass but if you searched you would have known you couldn't root with .6 ota
Well if you did have full root, a search would have shown you what you want in a ROM is easy..
stock rom (rooted)
http://forum.xda-developers.com/showthread.php?t=743352
stock ROM (rooted deodex)
http://forum.xda-developers.com/showthread.php?t=743781
and the kernels to unlock what you want
http://forum.xda-developers.com/showthread.php?t=719763
another kernel..
http://forum.xda-developers.com/showthread.php?t=754128
--edit--
but like it's been pointed out many times, you can not currently root the 2.2 OTA. You would have had to have it unlocked prior to any OTA updates
Thank you.
Not being an ass, but had you read my second post, you would have noticed that I was not aware that you needed root to flash a ROM.
I am fully aware we cannot yet root OTA Stock Froyo. I told you, I searched. It's absolutely everywhere.
I figured people have wanted root, but have not wanted to flash a ROM onto their phones.
Nothing in my search; however, yielded anything stating you cannot flash a ROM without root. I will edit my initial post to make this clear.
Thanks for all of the replies.
kyelerner said:
Sorry for the double post! I'm at work and must click "Continue" every some odd minutes to be in forums, and it refreshes my pages..
Nief, I noticed after I scrolled to the right of the spreadsheet, it was very useful and I will edit my first post. I would recommend putting the battery test results at the very end, and start with the camera column first! I also assume that "Yes" under camera means full 8MP camera support?
Thanks again, guys
Click to expand...
Click to collapse
The 'Yes' means both camera work as they are intended to, 8mp in back 1.3 in front.

[Ask Your Questions Here] Questions & Answers for Epic 4G Users

CLICK HERE TO GO TO THE WIKI
I have decided to open a Questions and Answers thread on this section of the forum. This is a good way to keep the number of new threads with questions down to a minimum, which will make new threads essentially for people that are contributing to the Samsung Epic 4G. This includes, but is not limited to, people that are providing the following:
- Roms & Kitchens
- Programs & Apps
- Fixes & Tweaks
- Skins & Themes
- Tips & Tricks
I would like to request the help from other members to keep the thread in order and in check. This will have the added side effect of creating an ever self updating knowledge base that will far extend the content of the Wiki. This will in turn save us from having to answer the same question a billion times...
Please refer to the Wiki first before asking any questions though! It can be located here: http://forum.xda-developers.com/wiki/index.php?title=Samsung_Galaxy_S/SPH-D700
CLICK HERE TO GO TO THE WIKI
Any idea when the OTA push for2.2 will start?
jg187211 said:
Any idea when the OTA push for2.2 will start?
Click to expand...
Click to collapse
Unfortunately, we don't have anyone in the community who has inside access to that information. Some of our members are affiliated with Sprint, and so have slightly more reliable rumors, but even their sources have thus far been wrong if they quoted a specific date...
So I hope you understand that I'm not being a jerk when I say, we won't know until it actually happens (and this will probably always be the case)
That being said, this most recent leak (DK28) seems stable so far IMO, so it could potentially become our official update
ok im a total noob to all this stuff. i followed the guide to update my epic to 2.2. the problem is, that the camera, gallery, and a couple other apps dont work. Can someone help me? Should i go back to 2.1, if so, how do i do that?
EDIT: Angry rant removed, thanks to the mods for a quick response (and to the member who's post was removed: no hard feelings, I hope you understand)
Just remember to read before posting, to make sure your post will be relevant and not redundant
jayzn210 said:
ok im a total noob to all this stuff. i followed the guide to update my epic to 2.2. the problem is, that the camera, gallery, and a couple other apps dont work. Can someone help me? Should i go back to 2.1, if so, how do i do that?
Click to expand...
Click to collapse
Whenever flashing a ROM using either recovery, it's always a good idea to wipe the phone (as in factory reset - I'm not referring to wiping the cache or the dalvik cache, although both steps are also usually recommended)
If you used the odin method described in this thread: http://forum.xda-developers.com/showthread.php?t=861213
then you might have flashed the wrong tar - DK05 and DK17 both had the camera problem, make sure you have the DK28 file.
If you have the right tar, then you could have an incomplete download... I doubt that though, when that happened to me, my phone wouldn't boot at all. But you might want to redownload the tar just to be sure (double check the filesize after it finishes and before you flash, if it seems too small then it messed up again)
That's the best general advice I can offer, but if you'd like to provide more details about the method you used (especially a link to the guide you used, if it isn't the one I provided), someone here might be able to identify where you're going wrong
i followed the instructions from http://forum.xda-developers.com/showthread.php?t=861213. i didnt use odin, i just used the .zip method. it took me a lot of tries cause i kept getting errors. the second mirror link worked for me, but like i said, my camera, gps, gallery and some other apps dont work.
oh and everytime i try to flash again, i get the error.
It sounds like you're either starting from the wrong rom or not wiping the phone before flashing the zip. All of the zip updates I have seen require you to start from DI18 stock (root an clockwork seem to be okay in my experience, all other mods must be removed) - if you have installed any custom roms, your best bet is to follow the odin method using the stock DI18 tar - so you may as well just skip the zip methodand odin to the stock DK28 tar
And you absolutely must wipe the phone (again, factory reset - I suspect many people are just wiping the cache and/or the dalvik cache).
Sent from my SPH-D700 using XDA App
Odin flashing
I've got a quick question. I'm looking to move to a build using the DK28 information release and it requires that I update the pit and modem files on my phone using Odin. Do I need to flash a 2.2 rom right away or am I safe to boot into my current rom first?
KaiXXV said:
I've got a quick question. I'm looking to move to a build using the DK28 information release and it requires that I update the pit and modem files on my phone using Odin. Do I need to flash a 2.2 rom right away or am I safe to boot into my current rom first?
Click to expand...
Click to collapse
Are you doing the strictly odin method (full froyo in a tar file)? Or an update.zip?
The odin method *should* include the modem and everything (and you use the updated pit in the same process) - you'll have to read the particular thread that you got the download link from, but I haven't noticed any odin tar files that required the modem separately
For the update.zip method, I don't know if it matters whether you flash the modem before or after applying the zip through recovery - I don't think either one overwrites the other, but that's a part of the process I can only guess about. But regardless of when you odin flash the modem, that's when you'll use the new pit file (the same as the odin-only method above).
As far as I know, the primary difference is that the update.zip doesn't inherently overwrite user data (but you'll probably have broken programs that FC all the time, which means a wipe is necessary, making this somewhat null). I prefer the odin method because it is a fresh flash of the entire system (I usually let it repartition as well - no one else has posted about that feature so I have no idea if it's a fluke that it hasn't given me problems)
Hope that helps
which is the best
so i have updated to dk28 froyo 2.2 i like battery life and performance can anyone offer info on which is the best rom for me or just some insight on which rom is the best overall
How do I stop running applications from starting every time I restart my phone?? I have the start up auditor but for some reason everytime I restart my phone the apps I have disabled keep restarting themselves and I have to go into the running programs and disable them manually. WTH?? Doesnt programs constantly running in the background kill the battery life?? How do I disable apps from starting?
youngpro83 said:
How do I stop running applications from starting every time I restart my phone?? I have the start up auditor but for some reason everytime I restart my phone the apps I have disabled keep restarting themselves and I have to go into the running programs and disable them manually. WTH?? Doesnt programs constantly running in the background kill the battery life?? How do I disable apps from starting?
Click to expand...
Click to collapse
How I understand it, especially with Froyo, you shouldn't have to kill programs in the background, if said 'background' process or service is working normal or efficiently. I still kill the DRM process when I reboot my phone, and not sure if it's still causing drain issues.
Also (someone else confirm this), I believe that constantly 'killing' certain background processes actually uses MORE battery, since it has to constantly restart itself. I've had a much more stable device *not* using auto killers, and just sniping one here and there that I know to cause drain.
Some reading material on GC, tho, in regards to memory management
Ignore me!
devo52 said:
so i have updated to dk28 froyo 2.2 i like battery life and performance can anyone offer info on which is the best rom for me or just some insight on which rom is the best overall
Click to expand...
Click to collapse
A lot of it is personal preference - this early in the game, the primary differences between the roms are going to be mostly cosmetic. So for now, the best advice I can offer is to try each of them and decide which theme you like. Regardless of how you upgraded, you had to use odin, so you have succeeded at the most difficult step of the process - and odin can bring your phone back to life if something goes wrong, so it's an invaluable skill to have.
In the meantime, keep watching the threads (quietly, unless you have a question that hasn't been asked already - we're working on cleaning up the forum to make it easier for everyone to find answers... but I digress...)
It's too early to be sure of any of the fixes out there - we have at least three separate fixes for the GPS issues; some people find success with one, others with another, and a lucky few don't need the fixes at all... so in summary, we can't say which is better or worse just yet, stay tuned and decide whether you want to experiment on the bleeding edge, or wait for these things to be stable and thoroughly tested.
And if you have any doubts, just stick with the stock DK28 for now
tl;dr, questions in BOLD.
Okay, after spending the entire night scouring the internet/this forum and starting from absolutely zero-knowledge about the Android OS, I managed to update my Epic to 2.2, and root the phone. Now, I'm kinda stuck as far as customization goes. I see all these cool skins and battery life mods and stuff, but they don't exactly offer any steps as to how to install them. Since I don't exactly know what file-types do what, I'm kinda shooting blindly at trying to update/install something "custom" onto the phone. So, my question(s) is/are:
What does the ROM do?
What does the ROOT do?
I know the root basically "unlocks" your phone, but that's all I know. The process of customizing the phone still remains a mystery. (that's the problem with following step-by-step instructions, rather than actually knowing what you're doing.)
I also don't understand the purpose of flashing a phone. Flashing, in my experience is to update something, like say a BIOS. But that sets the system back to square 1 as far as all settings go, in this particular example.
If I flash, with say Odin, after having updated to DK28 and "rooting," won't this make all the "customization" that I've done prior basically 'null' because I've just flashed the phone into a blank-state?
Sorry if these are questions easily answered by searching, but I just spent my entire sleep-cycle trying to find the answers to these questions, and managed to only get so far. I look forward to the answers On another note, I am now EXTREEEEMELY pleased with my phone. Before this evening, I was just the regular, old run-of-the-mill enduser. I liked the cool built-in customizations and all the apps and what not, but never dreamed of being able to customize my phone to THIS EXTENT. So, now it's something I'm very interested in doing..it makes my phone truly mine.
zdavidi said:
What does the ROM do?
What does the ROOT do?
Click to expand...
Click to collapse
Did you see the link to the Wiki in the original post of this thread? That's where I started when I first got here, it helped me understand the basics.
zdavidi said:
If I flash, with say Odin, after having updated to DK28 and "rooting," won't this make all the "customization" that I've done prior basically 'null' because I've just flashed the phone into a blank-state?.
Click to expand...
Click to collapse
It depends on what you flashed with Odin. If you only flash a modem file, then your customizations and apps are untouched. If you flash an entire ROM in "tarball" form then not only does it re-write the modem but it also overwrites all user data. Think of the latter as resetting the phone to stock and works even if you cannot boot up.
When can we expect a custom Kernel with netfilters for wifi tethering?
n00b question.
If an SDK version is released (say, like, Gingerbread today), does that mean chefs could take it and cook up a ROM for ANY phone (say, like, the Epic)? Or do they need something else to do that?
Remove Touchwiz Launcher (consequences?)
Hey-- I'm using Quantum 2.0.0 ROM, and I never use the touchwiz launcher. Does anyone know if it's safe to just remove the apk? (TouchWiz30Launcher.apk) or is there other functionality tied to it?
I use LauncherPro, fyi.
Please forgive my ignorance... I've searched the forums, looked at the wiki...
I use titanium backup and am now running the DK27 froyo build by noobnl. My question... How do I restore my e-mail accounts to the phone everytime without having to re-type them in? I've been flashing a rom every other day on average since I got the phone and it's getting REALLY old.

Learning to Theme/Mod

I'm learning to dig around in Android and start customizing things. I've run into a couple questions I thought I'd post and see if the more experienced guys can point me in the right direction. It's worth noting that I'm brand new to the Android platform. I'm not inexperienced with programming at all, and I'm more than willing to do the research and legwork required.
1) I'm looking to edit my services.jar to remove the clock and alarm icon in the status bar (following http://forum.xda-developers.com/showthread.php?t=780614). Since the stock ROM is odexed, I don't have a classes.dex file to mess with. What's the best way to proceed? Should I manually deodex my phone (by following http://forum.xda-developers.com/showthread.php?t=765270 in order to be able to make the changes, or is there another way to do it?
EDIT: I might have found another way to accomplish this here: http://forum.xda-developers.com/showthread.php?p=11460654. **Doesn't work** screen goes blank after boot animation (still accessible via adb though, odd)
2) Going back to the stock kernel from zedomax v3 (to get root on stock) I lost jerdog's boot animation. I also obviously lost CWM. Am I able to rename his mod to update.zip and use the built in recovery? Can you even run custom boot animations on the stock kernel?
Cheers
Another question that popped into my head recently: can you mix and match nandroid backups? For instance, if I want CWM on the rooted stock kernel, could I just slap the recovery.img from a backup of zedomax v3 into the backup of my rooted stock setup?

[Q] Deodexing the Note II?

My question should be rather simple. I want to make some personal mods to my phone and after wondering why I can't seem to find the files I want, I discovered that since I am still running the original stock ROM (rooted), my rom is still odexed and the files to mod aren't in a form I can work with properly.
My question now is, how can I deodex my ROM? I've tried looking around and found things like xUltimate, which seems outdated and doesn't work, but nothing else.
I'm NOT looking to download someone's custom ROM. I want nothing more or less than to be able to keep my phone exactly the way it is, but with deodexed system files.
Titanium backup. Menu, see picture.
You're referring to "Integrate sys Dalvik into ROM..."? That will deodex the entire OS?
Undo will deodex.
Integrate will odex.

How do I restore my Nexus 2013 to stock

Alot of odd tutorials that require the use of adb and various factory "razor" zips but I cant get anything to work, is there anything as simple as put stock zip on device, reboot into recovery, and wipe/install factory zip?
Thanks
rnaodm said:
Alot of odd tutorials that require the use of adb and various factory "razor" zips but I cant get anything to work, is there anything as simple as put stock zip on device, reboot into recovery, and wipe/install factory zip?
Thanks
Click to expand...
Click to collapse
I am assuming that you need the WiFi version and that you want the latest stock so here is the link to a thread for a flashable stock.
http://forum.xda-developers.com/showthread.php?t=2416438
Thanks Ill check it out, I'm looking to return it and both versions (Odexed/Deodexed? First time Ive heard those terms) are rooted.
Still reading through that thread but looks like the first 7 pages are all people telling him his roms dont work.
rnaodm said:
Thanks Ill check it out, I'm looking to return it and both versions (Odexed/Deodexed? First time Ive heard those terms) are rooted.
Still reading through that thread but looks like the first 7 pages are all people telling him his roms dont work.
Click to expand...
Click to collapse
Odexed - In Android file system, applications come in packages with the extension .apk. These application packages, or APKs contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.
DeOdexed - Deodexing is basically repackaging of these APKs in a certain way, such that they are reassembled into classes.dex files. By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
In summary, Deodexed ROMs (or APKs) have all their application packages put back together in one place, allowing for easy modification such as theming. Since no pieces of code are coming from any external location, custom ROMs or APKs are always deodexed to ensure integrity."
That is an excerpt from Rooting Guide for Dummies.
Deodexed ROMs are more customizable. Odexed are smaller but no major theming such as changing your statusbar. My advice: if you want to stay complete stock forever, flash the odexed version.

Categories

Resources