how to odex files - G1 Android Development

Hi all,
I'm from Israel and the 'Galaxy' Samsung is selling here with hebrew support (well, a better hebrew support).
I have the dump for that phone, but many of the APK that i want to use have the .odex files with them.
well, when the APK has the odex file i can only use him in that same device (/type) that he was created from.
my question is - how can i "unodex" the APK or something else that i can do to get the APK working in other devices (dream / magic / hero ...)
and if there is no why to do that, how can i remove the odex files from the device itself (i could have such a phone to play with)? does WIPE will convert back the odex into the APK? or something else
Thank you all

Huuh, this is complicated to do..
It would be easier to just dump the image (via androidSDK adb pull /system system) and let some more experienced devs do this.
There IS a tool to odex, but it's complicated for.. well.. beginners.

i'm not what you call "beginners"...
any pointers on where to read?
i already had this in mind:
http://code.google.com/p/smali/wiki/DeodexInstructions
but it's not what i needed

dmanbuhnik said:
i'm not what you call "beginners"...
any pointers on where to read?
i already had this in mind:
http://code.google.com/p/smali/wiki/DeodexInstructions
but it's not what i needed
Click to expand...
Click to collapse
I think that this is indeed what you need,
but for it to work you need the device and not a dump.

Start asking your questions in the right sub-forum (Q&A) (Theme) or even in (General), or simply search.......Final result will be a ban for you up too 3 days.
Thanks
Thread Trashed!!
Rule that apply:
1. Search before posting
Use one of our search functions before posting, whether you have a question or something new to share, it's very likely someone already asked that question or shared that news.
Some questions just keep popping up over and over. Please use the 'search function' in the menu above each and every page in the forum.​

Related

Creating a Cab out of an OEM package

Hi,
I used the search functionality, but didn't find anything useful at all. I want to create some cabs out of an oem package. I have found some people saying that I need WinCE Cab Manager, but as far as I see I will have to create the cabs manually, which will be much work in most cases.
Isn't there an automatic solution, because normally all information you need to create a cab is available in the oem package, isn't it?
So I'm asking for any advices.
Best regards
Try searching this forum using the link below. There are lot of different ways to create cab files. Personally unless you buy a commertial software, its takes long time to convert an OEM to cab if it has lot of files in it.
@ai6908
AS Q&A SECTION RULES STATE, PLEASE INCLUDE A DIRECT LINK OR SPECIFY EXACTLY WHAT TO SEARCH FOR (SEARCH TERMS) IF YOU ASK SOMEONE TO "SEARCH" or "READ THE WIKI"
Thanks,
Joel
Q&A SECTION TEAM
@johnpatcher
try winCE cab manager
ai6908 said:
Try searching this forum using the link below. There are lot of different ways to create cab files. Personally unless you buy a commertial software, its takes long time to convert an OEM to cab if it has lot of files in it.
Click to expand...
Click to collapse
What excactly should I search for? The only thread I could find was this one, where they are talking about WinCE Cab Manager.
I have downloaded this application, but I don't see a way to create a cab file automatically. There are some programs, which create a oem package out of an cab file, isn't here something doing it the other way round?
i don't think there is a way to do it automatically.
ATHER90 is on the Q&A Team i'm sure he would be happy to teach you how to do it if you are interested. Just shoot him a pm.
WinCEcabmanager doesn't offer an automatic solution, nor does any other application that i know of. but you CAN import info files to WCCM which makes everything easier.

[Hermes and others] few questions about Manila2D

Hi, i'm new on this forum, and i have few questions about Manila (big thanks for authors ).
1. Where can I find description of files (I mean what file is for what )
2. It's all in XML?
3. How can I get Manila files?
4. How can I edit these files? Can I edit in 'on the fly' files from my PDA (I mean directly in Hermes or copy few files into PC, edit, upload to PDA and SR) or do everything in PC and compile?
5. Finally, software for that
Thanks for answers, regards
Sory for my English, i'm from Poland.
Here is a very detailed explanation of the settings file (HTCHomeSettings.xml):
http://forum.xda-developers.com/showthread.php?t=427531
try to search for the others, there is a lot, especially themes.
hmmm, thanks, but i found this too. But I think about edit tabs or something like that. So I want to know much more than only HTCHomeSettings.xml. But it's better than nothing.
'try to search for the others' - do you mean use search to find descripson for every files one by one? :/ themes? I think about deeper editing
You can only edit resourse files, we don't have the source for the program.... in other words, just about everything you can edit is in the the htchomesettings .xml (and the files it calls)
joel was right,.
until now, we need to edit the HTCHomeSetting.XML,. and the file it calls,.
like modifying clock, etc,.
Thanks, this exactly is that what i want read

Creating a ROM Image for ATnT Tilt

I have been working on a project to insert debug messages in low level dlls [like coredll, ws2.dll] and so on. The testing so far was done on device emulators and the .nb0 image seems to be pretty stable on it now.
Where I need help from xda community is how to take the next step - how to generate a ROM image for my kaiser. Specifically what all build options should be specified to my platform builder to get the right image for my device.
I tried to search previous postings for help but could not find one - may be I did not search thoroughly. My apologies if I did not search thoroughly - if it has been discussed in the past - would be great if someone could point me a link to it.
Thnx
TPC and myself has kitchens available for download. Pick one and replace your files, and build ROM.
To be precise - download a kitchen from here?
http://m-s-j.net/tpckitchen/kitchens/
poifgh said:
To be precise - download a kitchen from here?
http://m-s-j.net/tpckitchen/kitchens/
Click to expand...
Click to collapse
yes any one will work
Thnx for helping .. have a few hickups setting the ROM up.
1. Downloaded http://m-s-j.net/tpckitchen/kitchens/TPC_KITCHEN_6.120146.7z
2. Doing a build_rom.bat results in the following errors
Failed to set data for 'htcrt_backup'
"There is no device found to meet your project configuration. Try to update your devices file with new one."
"Access Violation - read at 000000"
Do I need to setup some config file somewhere - do we have a README for the process?
3. I dont quite understand the point "replace your files, and build ROM."
I have changes done to coredll and ws2.dll which were compiled using the 'emulator' flag in platform builder
a. What compile flags should the I use before I copy/paste my dlls into the kitchen
b. In the current kitchen - coredll is a directory containing 5 files S00 to S04 and also contains imageinfo files. Do I put in my coredll.dll file? or is there a step in between?
As you could see from my questions, I am complete newbee in building ROMs for phones - would appreciate any help from the community
thnx
I guess you're using Vista, right? It did me too. There are two (three?) solutions:
1. Disable UAC
2. Ignore it and via htc rom tool build .nbh by yourself (click right -> run as administrator on TOOLS\htcrt.exe) - OS.nb is in TMP directory
3. (not confirmed) Run the build script via cmdline manually, AFAIK TPC has got it written somewhere there.
poifgh said:
Thnx for helping .. have a few hickups setting the ROM up.
1. Downloaded http://m-s-j.net/tpckitchen/kitchens/TPC_KITCHEN_6.120146.7z
2. Doing a build_rom.bat results in the following errors
Failed to set data for 'htcrt_backup'
"There is no device found to meet your project configuration. Try to update your devices file with new one."
"Access Violation - read at 000000"
Do I need to setup some config file somewhere - do we have a README for the process?
3. I dont quite understand the point "replace your files, and build ROM."
I have changes done to coredll and ws2.dll which were compiled using the 'emulator' flag in platform builder
a. What compile flags should the I use before I copy/paste my dlls into the kitchen
b. In the current kitchen - coredll is a directory containing 5 files S00 to S04 and also contains imageinfo files. Do I put in my coredll.dll file? or is there a step in between?
As you could see from my questions, I am complete newbee in building ROMs for phones - would appreciate any help from the community
thnx
Click to expand...
Click to collapse
this is not the right place to be asking this, if you have questions about my kitchen you need to look in my kitchen thread. you will find the answers to your questions have already been posted there and if you need more help ask there and we will help you.
twopumpchump said:
this is not the right place to be asking this, if you have questions about my kitchen you need to look in my kitchen thread. you will find the answers to your questions have already been posted there and if you need more help ask there and we will help you.
Click to expand...
Click to collapse
you know how it is anymore, Have a question = START A NEW THREAD.
msd24200 said:
you know how it is anymore, Have a question = START A NEW THREAD.
Click to expand...
Click to collapse
= Flying Fishheads lol

[Completed] Question: Is there a way to install a .APK manually?

Hi,
My question is simple: In linux we can extract a .DEB file and manually put each of its contents in its relative system directory, then it works just fine after a reboot (or logout-login process). Is there a way to do the same for the .APK files?
Thanks in advance,
Multimann2
multimann2 said:
Hi,
My question is simple: In linux we can extract a .DEB file and manually put each of its contents in its relative system directory, then it works just fine after a reboot (or logout-login process). Is there a way to do the same for the .APK files?
Thanks in advance,
Multimann2
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
While an *.apk file is effectively a ZIP archive, each one will have its own set of components that need to be installed in any number of possible application-specific locations (within /system, /data, storage, etc.). The installer takes care of that and there is no realistic way to emulate the process "manually". If you need to discuss the matter further, I suggest you post your question in the friendly general Android Q&A, Help & Troubleshooting forum at http://forum.xda-developers.com/android/help where other members will be able to respond.
Good Luck!
Thanks Mike B.
I will post it there right now. But based on your information, we should be able to "read" where the app is supposed to be installed in the system.
multimann2 said:
Thanks Mike B.
I will post it there right now. But based on your information, we should be able to "read" where the app is supposed to be installed in the system.
Click to expand...
Click to collapse
It might not be as straightforward as you might think, but thanks for posting "over there" where you're likely to get various opinions.
Thread closed.

[Completed] How to "push" files from a zip-ped app

Hi I have a China tablet that has no apparent "recovery" and I'm afraid of flashing a recovery and risk bricking it.
I want to try to install a zipped app. (Maxx Audio) the file structure is
- Meta-INF
- System
somewhere in the "system" there is an apk file
I presume I "install" that apk file, then copy all the files under "system" into the "system" folder of my tablet?
Where do i put "meta-INF" files?
Thank you very much. Apologies for sounding dumb. I have googled for a few days and found no answer so I thought I'd ask at XDA.
Any help is appreciated.
joker97 said:
Hi I have a China tablet that has no apparent "recovery" and I'm afraid of flashing a recovery and risk bricking it.
I want to try to install a zipped app. (Maxx Audio) the file structure is
- Meta-INF
- System
somewhere in the "system" there is an apk file
I presume I "install" that apk file, then copy all the files under "system" into the "system" folder of my tablet?
Where do i put "meta-INF" files?
Thank you very much. Apologies for sounding dumb. I have googled for a few days and found no answer so I thought I'd ask at XDA.
Any help is appreciated.
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
We cannot provide technical support nor can other members reply to your posts here on XDA Assist and it's difficult to point you towards a specific forum since you didn't provide any information about which device/ROM/file you have in mind. The file you describe seems to be a common "flashable ZIP" designed to be loaded by a custom recovery such as TWRP. Without such a recovery, you would need to study the steps included in whatever scripts are in the "meta-INF" directory and duplicate them manually from a terminal emulator prompt or maybe from an ADB link to a desktop or laptop, an eminently dangerous endeavor NOT recommended unless you're positive you know what you're doing. If you need more information, try asking with all relevant details in the friendly general Android Q&A, Help & Troubleshooting forum at http://forum.xda-developers.com/android/help. That's a good place to start where members familiar with your device might be able to advise you. You could also ask wherever you found the file you're attempting to install.
Good luck!
Thank you. In the zip thread someone said just to install the apk and then push the files and it worked for him.
http://forum.xda-developers.com/oneplus-one/themes-apps/app-05q-maxxaudio-lib-t3026967
joker97 said:
Thank you. In the zip thread someone said just to install the apk and then push the files and it worked for him.
http://forum.xda-developers.com/oneplus-one/themes-apps/app-05q-maxxaudio-lib-t3026967
Click to expand...
Click to collapse
It all depends on what command(s) the script in the ZIP file contains but I'm sure whoever uploaded the file can help you. As mentioned earlier, we cannot provide technical support here, sorry.
This thread is closed.

Categories

Resources