Does anyone know if someone has created a deodex .zip file to flash via customer recovery?
For those that don't know, many of the apk files installed by an official rom will have a .odex file associated with them which slows down your phone considerably. These odex files interact with delvik cache and java VM and from what I understand wreak havoc on data access times and are largely uneccessary. Other dev platforms such as the droid x and evo have a .zip file that you can simply flash via recovery that will "deodex" your apps in system\apps folder. Basicially this zip will take your odex file and associated apk file and take the important information out of the odex and input it into the apk making just one streamlined faster file.... with all of your odex files gone, your phone will spend less time executing programs both for end user and core google apps and your phone will be way faster. Any idea if someone has developed this yet for the streak? Thanks
**EDIT**
I know this is a question but I thought it should go into development due to the potential of some of the dev's responding to this and posting useful developement info that we can try out and report back to the dev section. Plus, most of the trollers in Q&A probably don't know what this is or even care. Thanks
I am interested in this as well
Sent from my Dell Streak using Tapatalk
Steve's roms are pre-deodexed, just look under system/app, you can't find see any odex file, or simply perform a search on 'odex' in root explorer and the result should be none.
sharptv said:
Steve's roms are pre-deodexed, just look under system/app, you can't find see any odex file, or simply perform a search on 'odex' in root explorer and the result should be none.
Click to expand...
Click to collapse
good to know.
although if someone makes an app/file to do the job it will be handy in the future
Pleas do not post in Multiple forums about the same Topic
Related
Hey all, Well i know we could not wait for a Honeycomb theme, i know i cannot, but heres my conundrum.
I have made a honeycomb keyboard, but cannot get it to install for the life of me, ive used the testkeys, shared, platform, etc (all using Signapktic from Stericson. Does anyone have any clue as to why it will not install?
A few questions that i know you might ask, answered ...
No, there is no other keyboard, other than swype, and samsung keypad..
I made it off of the GB keyboard...
Yes, I have made many of themes, many of changes to Frameworks, and have had sucess installing, and running my custom roms....
My question basically is this, IF POSSIBLE, CAN ANYONE SIGN THE FILES I HAVE TO MAKE THIS WORK? PM ME AND I SHALL SEND THE FILES. CREDIT WILL BE GIVIN, I AM ON THE OTHER HAND GOING TO NEED SOME SORT OF PROOF YOU KNOW WHAT YOUR DOING, I WORKED REAL HARD ON THIS, SO FOR RIGHT NOW ITS PRIVATE, HENSE THE PM.
THANKS AGAIN IN ADVANCE. REMEMBER .. LETS GET THIS HONEYTCOMB GOING
I know that most of the keyboards dont work simply by installing but rather need to be pushed to the data\app or data\app_s folder depending on which rom you are running. You can accomplish this using adb or using a file explorer like RootExplorer.
Thanks
Thank you man, this helps a whole lot. Now do i need to re-sign each apk inside the rom folder? or can i just re-sign the .zip?
georgegreco86 said:
Thank you man, this helps a whole lot. Now do i need to re-sign each apk inside the rom folder? or can i just re-sign the .zip?
Click to expand...
Click to collapse
I'm not sure what .zip you're refering to other than a CWM recovery flashable .zip for you keyboard. If this is what you mean, then use the same signiture (key) you'd find in any of the flashable .zips on the forums. In other words, just copy over the META-INF folder from some other .zip to yours. Of course, you'll want to make sure the update-script in this folder is pointing at the proper directories for installation.
For your apk, you should only need to sign it if you changed the AndroidManifest.xml. Otherwise, just keep the META-INF folder from them original apk.
Does anyone know if someone has created a deodex .zip file to flash via customer recovery?
For those that don't know, many of the apk files installed by an official rom will have a .odex file associated with them which slows down your phone considerably. These odex files interact with delvik cache and java VM and from what I understand wreak havoc on data access times and are largely uneccessary. Other dev platforms such as the droid x and evo have a .zip file that you can simply flash via recovery that will "deodex" your apps in system\apps folder. Basicially this zip will take your odex file and associated apk file and take the important information out of the odex and input it into the apk making just one streamlined faster file.... with all of your odex files gone, your phone will spend less time executing programs both for end user and core google apps and your phone will be way faster. Any idea if someone has developed this yet for the streak? Thanks
For others who, like me, didn't understand the question - read this.
But what I gathered from that wasn't that de-odexing speeds anything up, more that it makes it easier to make modifications.
Why are you posting this in more than one forum? This is the same as what you posted in the dev forum, right?
Sent from my Dell Streak using XDA App
alperin1 said:
Why are you posting this in more than one forum? This is the same as what you posted in the dev forum, right?
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
wasn't sure if anybody would follow what I am posting in the QA as most noobs are in here. Why do you care? I meant delete this one and go with the developer post anyway.
marvin02 said:
For others who, like me, didn't understand the question - read this.
But what I gathered from that wasn't that de-odexing speeds anything up, more that it makes it easier to make modifications.
Click to expand...
Click to collapse
Marvin my man.... deodexing more than doubles data access speeds for core google apps and makes the phone more snappy. Seen this performed on a droid x and an HTC evo... works wonders.
I just want to know if someone has developed a simple flashable .zip file that will deodex my system/app apk files so I can speed things up and modify my self. I don't care that dj steve's rom already has this done... I don't care for steves latest roms as they are very buggy on 3g, wifi, gps, notification bar hangs, drops data when wifi toggle is enacted, gmail won't sync... I got tired of messing with he streaddroid roms (for now) and went to stock 318 with just smokku's dj steve kernal mod which allows me to OC to 1.19ghz. I get 2000 quad out of that and I am happy, plus I get the added bonus of having a 99.9% stable rom. Can't wait to see what steve comes out with next. i always try his roms out first.
Thanks
You could probably copy you're system/app folder and write a simple batch script to use baksmali to deodex *.odex, use 7-zip command line to put the .dex file in the apk (I assume that is what has to happen), and then push that folder back to your phone with an adb push. I dont really want to try this because I'm on 319 and cant make a nandroid backup but since you can on 318 it never hurts to try.
Okay so I've spent about 2 days tweaking my stock deodexed Rom to my liking and It's super fast and responsive. Faster scrolling and speed hacks. Quadrants in the 2000s. And much more. How do I take this Rom and zip it so other people can flash it if they want?
Sent from my Beastly EVO.. And did I mention it has 3D?
youngpro83 said:
Okay so I've spent about 2 days tweaking my stock deodexed Rom to my liking and It's super fast and responsive. Faster scrolling and speed hacks. Quadrants in the 2000s. And much more. How do I take this Rom and zip it so other people can flash it if they want?
Sent from my Beastly EVO.. And did I mention it has 3D?
Click to expand...
Click to collapse
packaging up a ROM is fairly simple.
for a ROM .zip there are a few main components:
1) *required* /system directory (contains all your ROM files)
2) *required* META-INF/com/google/android/ with two files, updater-script and update-binary. updater-script file instructs the update-binary on how to process/install your ROM. the custom recovery will look for these two files and execute them.
3) *optional* a kernel in the .zip to be flashed
hope that helps! good luck on publishing your ROM!
joeykrim said:
packaging up a ROM is fairly simple.
for a ROM .zip there are a few main components:
1) *required* /system directory (contains all your ROM files)
2) *required* META-INF/com/google/android/ with two files, updater-script and update-binary. updater-script file instructs the update-binary on how to process/install your ROM. the custom recovery will look for these two files and execute them.
3) *optional* a kernel in the .zip to be flashed
hope that helps! good luck on publishing your ROM!
Click to expand...
Click to collapse
So could I just take a ROM and just change certain files and apps? And how do you make the Rom do cool stuff while flashing like spell your Rom name while it flashes? Sorry for all the questions but I appreciate ur help.
Sent from my Beastly EVO.. And did I mention it has 3D?
youngpro83 said:
So could I just take a ROM and just change certain files and apps? And how do you make the Rom do cool stuff while flashing like spell your Rom name while it flashes? Sorry for all the questions but I appreciate ur help.
Sent from my Beastly EVO.. And did I mention it has 3D?
Click to expand...
Click to collapse
Usually, at least from what I know...
The more In depth stuff is done with the ROM Kitchen through a computer!
youngpro83 said:
So could I just take a ROM and just change certain files and apps? And how do you make the Rom do cool stuff while flashing like spell your Rom name while it flashes? Sorry for all the questions but I appreciate ur help.
Sent from my Beastly EVO.. And did I mention it has 3D?
Click to expand...
Click to collapse
yes, you could take a ROM and only replace certain files / apps with the ones you've modified.
the ROM "cool stuff" while it flashes is all done in the updater-script file i mentioned in #2 of the required ROM files in my previous post above.
the ROM I maintan and publish for EVO 3D is 100% stock with root/su binary added, busybox and a bunch of linux arm developer binaries in /system/xbin.
my stock ROM would be a great base for you to start modifying and experimenting with!
1) swap out the apk/files in the .zip with the ones you've modified.
2) modify the updater-script file with your syntax
3) let us know how it goes!
[ROM] joeykrim-original-1.2.0 Odex *Stock Rooted 2.08.651.2* Aug 21st 2011
on windows, 7zip is a great GUI application for swap/editing files inside a .zip without having to extract the whole thing.
on linux, i'd just unzip the whole .zip to a directory and then swap out the files/edit the files in that directory, then zip up. also, i think ubuntu archive manager (default GUI for .zip files) lets you modify/edit files inside the .zip without having to extract the whole thing.
hope that helps!
joeykrim said:
yes, you could take a ROM and only replace certain files / apps with the ones you've modified.
the ROM "cool stuff" while it flashes is all done in the updater-script file i mentioned in #2 of the required ROM files in my previous post above.
the ROM I maintan and publish for EVO 3D is 100% stock with root/su binary added, busybox and a bunch of linux arm developer binaries in /system/xbin.
my stock ROM would be a great base for you to start modifying and experimenting with!
1) swap out the apk/files in the .zip with the ones you've modified.
2) modify the updater-script file with your syntax
3) let us know how it goes!
[ROM] joeykrim-original-1.2.0 Odex *Stock Rooted 2.08.651.2* Aug 21st 2011
on windows, 7zip is a great GUI application for swap/editing files inside a .zip without having to extract the whole thing.
on linux, i'd just unzip the whole .zip to a directory and then swap out the files/edit the files in that directory, then zip up. also, i think ubuntu archive manager (default GUI for .zip files) lets you modify/edit files inside the .zip without having to extract the whole thing.
hope that helps!
Click to expand...
Click to collapse
Thanks a lot. So ill experiment with ur base. What is syntax?
Sent from my Beastly EVO.. And did I mention it has 3D?
youngpro83 said:
Thanks a lot. So ill experiment with ur base. What is syntax?
Sent from my Beastly EVO.. And did I mention it has 3D?
Click to expand...
Click to collapse
fancy word i used in place of code/text. you can open the updater-script inside of the .zip file with a text editor. the updater-script file uses the edify scripting language.
there are a lot of guides on how to use edify and what each phrase means. google the terms, "edify android guide" and there should be a bunch of results. one of the results which looks fairly decent - Edify Script Syntax Explained
hope that helps! good luck!
youngpro83 said:
Okay so I've spent about 2 days tweaking my stock deodexed Rom to my liking and It's super fast and responsive. Faster scrolling and speed hacks. Quadrants in the 2000s. And much more. How do I take this Rom and zip it so other people can flash it if they want?
Sent from my Beastly EVO.. And did I mention it has 3D?
Click to expand...
Click to collapse
Cool man! Good luck! Hope to see ya on the dev page.
Sent from my SPH-P100 using xda premium
Alright so progress is being made and its going very well. Only things Im stuck on now is:
1. How do I add certain apps like astro or ES file explorer WITHOUT putting them into the system/apps folder??
2. How do I change the background at boot so that its not the colorful flares that Sprint has on there.
3. How do I remove the 3D apps game apk?
Once I have those figured out I think my ROM will be ready for the public.
youngpro83 said:
Alright so progress is being made and its going very well. Only things Im stuck on now is:
1. How do I add certain apps like astro or ES file explorer WITHOUT putting them into the system/apps folder??
2. How do I change the background at boot so that its not the colorful flares that Sprint has on there.
3. How do I remove the 3D apps game apk?
Once I have those figured out I think my ROM will be ready for the public.
Click to expand...
Click to collapse
1. android package manager monitors two locations for .apk files and will install them as soon as they appear in these two directories: /system/app and /data/app. if you want your rom to install .apk files to /data/app, you'll need to add the package_extract_dir command to your updater-script for /data and also create a data/app directory in the ROM zip file and put whatever apk files you want added in the data/app dir of the ROM zip file.
2. For Android boot animations the system looks in 3 locations in this order. 1) /data/local/bootanimation.zip, 2) /system/media/bootanimation.zip and 3) framework-res.apk . Since there are no bootanimation.zip files on our device, I'm assuming the sprint boot animation is stored in the framework-res.apk file. No worries, as placing any bootanimation file in either /data/local or /system/media will take priority over the Sprint animation in framework-res.apk.
3. 3D Games apk file is located here: /system/app/PGAWidget_HTCEvo3D_Sprint_v100.apk . Simply remove that apk file from /system/app inside the ROM .zip and it will not be loaded.
Let us know if you have any other questions. Hope that helps and good luck in the publishing!
joeykrim said:
1. android package manager monitors two locations for .apk files and will install them as soon as they appear in these two directories: /system/app and /data/app. if you want your rom to install .apk files to /data/app, you'll need to add the package_extract_dir command to your updater-script for /data and also create a data/app directory in the ROM zip file and put whatever apk files you want added in the data/app dir of the ROM zip file.
2. For Android boot animations the system looks in 3 locations in this order. 1) /data/local/bootanimation.zip, 2) /system/media/bootanimation.zip and 3) framework-res.apk . Since there are no bootanimation.zip files on our device, I'm assuming the sprint boot animation is stored in the framework-res.apk file. No worries, as placing any bootanimation file in either /data/local or /system/media will take priority over the Sprint animation in framework-res.apk.
3. 3D Games apk file is located here: /system/app/PGAWidget_HTCEvo3D_Sprint_v100.apk . Simply remove that apk file from /system/app inside the ROM .zip and it will not be loaded.
Let us know if you have any other questions. Hope that helps and good luck in the publishing!
Click to expand...
Click to collapse
Man you are the BOMB.COM!!!!
And for 2. I wasnt looking to replace the boot animation. I kinda like the Sprint one. I was trying to replace the actual wallpaper that the phone boots into. So at the home screen I can have my own wallpaper that I choose for my ROM.
Also for 1. Do I need to create a unmount script like the one for /system? Or do I just add the script you mentioned and that is it?
Thanks so much for your help man. I dont think I would have gotten this far without you!!
youngpro83 said:
Man you are the BOMB.COM!!!!
And for 2. I wasnt looking to replace the boot animation. I kinda like the Sprint one. I was trying to replace the actual wallpaper that the phone boots into. So at the home screen I can have my own wallpaper that I choose for my ROM.
Also for 1. Do I need to create a unmount script like the one for /system? Or do I just add the script you mentioned and that is it?
Thanks so much for your help man. I dont think I would have gotten this far without you!!
Click to expand...
Click to collapse
Oh, I misunderstood for 2. For the actual wallpaper .. I did a few quick google searches and haven't come up with anything super helpful. Based on this blog post Appears there are two possible locations for the default wallpaper images to be stored, either in the Launcher.apk or in /system/frameworks/framework.jar. Unfortunately, I'm not able to experiment on the device and search more thoroughly. If nobody posts back a better answer I'll look into this tonight.
1. Yea, it would be best practice to mount data, package extract dir /data and then unmount data. You should be able to copy the mount/unmount commands used for system and change the mount points to data and for the mount command change the device point for data .. off the top of my head I think its one number higher, but not positive. cat /proc/partitions to see the exact device mount point.
Hope that helps!
joeykrim said:
Oh, I misunderstood for 2. For the actual wallpaper .. I did a few quick google searches and haven't come up with anything super helpful. Based on this blog post Appears there are two possible locations for the default wallpaper images to be stored, either in the Launcher.apk or in /system/frameworks/framework.jar. Unfortunately, I'm not able to experiment on the device and search more thoroughly. If nobody posts back a better answer I'll look into this tonight.
1. Yea, it would be best practice to mount data, package extract dir /data and then unmount data. You should be able to copy the mount/unmount commands used for system and change the mount points to data and for the mount command change the device point for data .. off the top of my head I think its one number higher, but not positive. cat /proc/partitions to see the exact device mount point.
Hope that helps!
Click to expand...
Click to collapse
Helps a bunch!!! I will have to dig deeper because I tried flashing after creating those scripts and I got error 6 when trying to flash. Ill add the mount/unmount commands and see if that fixes it.
youngpro83 said:
Helps a bunch!!! I will have to dig deeper because I tried flashing after creating those scripts and I got error 6 when trying to flash. Ill add the mount/unmount commands and see if that fixes it.
Click to expand...
Click to collapse
To debug flashing errors while in the recovery, open adb shell and type:
Code:
cat /tmp/recovery.log
The recovery log has more details and usually the exact line of code where it failed. Feel free to paste this into pastebin and link up here, or paste into the thread and we can help troubleshoot.
Another step deeper into troubleshooting and debugging land of ROM development! Hope that helps!
Joeykrim, learned more from this thread then searching chefs central..
life64x said:
Joeykrim, learned more from this thread then searching chefs central..
Click to expand...
Click to collapse
I Agree... This Thread could be on its way to being a little STICKY, Lol!
Nah but Good Thread guys!
I want to use the android kitchen to turn our recently leaked ICS update into a rom. On Dsixda's thread, he states that we need to create a file in the kitchen's /tools/edify_defs folder with the properties of our phone, in the templates file, it is kind of unclear for me how to do this.
Can anyone help me create a file for the HTC Amaze 4G? Thanks
HuskyHamburger said:
I want to use the android kitchen to turn our recently leaked ICS update into a rom. On Dsixda's thread, he states that we need to create a file in the kitchen's /tools/edify_defs folder with the properties of our phone, in the templates file, it is kind of unclear for me how to do this.
Can anyone help me create a file for the HTC Amaze 4G? Thanks
Click to expand...
Click to collapse
Sorry if I am reviving a not quite old thread, but it came up when I was searching for the kitchen to download on my new windows install..
If you want to create a rom you don't really need the kitchen, it can do certain things to a rom- deodex, zipalign, install superuser and busybox, etc.. but within a few days of the leak all of that is available. You can pm a developer as I did and get permission to use their files rather than recreate the wheel.
First, just run the zip file thru the kitchen, don't do anything special with it- we have a superuser zip file you can/should just unpack into the final setup.
Find the updater-script and the binaries(in the same folder), this is what tells it what to install and where, fix permissions, install the files needed for SU(look in the superuser zip files updater script for details) etc..
If you want a deodexed rom you can ask to borrow the system/app directory from a rom that already has deodexed theirs. Literally, this is the best way to do it.
What the kitchen IS better for is pulling apart the kernel, putting it back together, unpacking apks.. it has built in scripts which can be a real time saver than typing in backsmali this, smali that-- simply put a file in a folder, type a number, and magically it all happens for you.. but you won't need ANY of that until you get into the advanced stuff.
I don't know if you were still trying to figure it out or not, but at the very least this may give someone who happened across this thread SOME sort of answer-- I get sick of finding more unanswered posts or posts where people reply with "you should search".. I've searched so much I my fingers should be bleeding.
Hey there, if I'm retarded and don't know how to search properly, flame away, but I found nothing. I really like having the allshare feature to stream to my Samsung TVs and Bluray players, but all the non-original roms have removed the allshare application. Does anyone have some insight for me?
flatlandju said:
Hey there, if I'm retarded and don't know how to search properly, flame away, but I found nothing. I really like having the allshare feature to stream to my Samsung TVs and Bluray players, but all the non-original roms have removed the allshare application. Does anyone have some insight for me?
Click to expand...
Click to collapse
Custom roms remove lots of stuff,no worries because you can always download a rom that you know has what you need and extract stuff.I'm pretty sure you are looking for this Dlna.apk for allshare.I extracted it out of the newest n7000 note stock dodexed-rooted rom.You will have to put it in system/app file and set correct permissions.There is a lot of info on how to do this in the forums if you don't know how.
technut said:
Custom roms remove lots of stuff,no worries because you can always download a rom that you know has what you need and extract stuff.I'm pretty sure you are looking for this Dlna.apk for allshare.I extracted it out of the newest n7000 note stock dodexed-rooted rom.You will have to put it in system/app file and set correct permissions.There is a lot of info on how to do this in the forums if you don't know how.
Click to expand...
Click to collapse
It still doesn't seem to want to let me install it no matter what I do or where I place the APK. I must be missing something.
Are you using tw rom or aosp rom. the stock dlna is for tw only. there are other apps that work like twonky.
flatlandju said:
It still doesn't seem to want to let me install it no matter what I do or where I place the APK. I must be missing something.
Click to expand...
Click to collapse
To install .apk's you need a file manager like esf file explorer and set the permissions in the settings of the app to:root explorer/up to root/mount file system as writable(this is how you are allowed to change permissions of .apk's) then it's a matter of moving the .apk file into the system/app folder and changing the properties of the .apk to rw-r--r--(see attached).That .apk might rely on .lib files or other files to run,I'm not sure,I looked for any lib files that looked like they might of belonged with that .apk but I couldn't find any.Anything really beyond this I am not advanced enough to help out getting it to run on your rom but many here are though.If you are on an ICS rom it will run on it though if you get the correct files and permissions.Good luck.
technut said:
To install .apk's you need a file manager like esf file explorer and set the permissions in the settings of the app to:root explorer/up to root/mount file system as writable(this is how you are allowed to change permissions of .apk's) then it's a matter of moving the .apk file into the system/app folder and changing the properties of the .apk to rw-r--r--(see attached).That .apk might rely on .lib files or other files to run,I'm not sure,I looked for any lib files that looked like they might of belonged with that .apk but I couldn't find any.Anything really beyond this I am not advanced enough to help out getting it to run on your rom but many here are though.If you are on an ICS rom it will run on it though if you get the correct files and permissions.Good luck.
Click to expand...
Click to collapse
Thank you all so much for the replies, I never knew how well one would be treated on here! I still haven't gotten it to work, probably due to being on the new PA cm10 release, but you guys are great regardless