Help Please! Deodex a rom problems! - Android Q&A, Help & Troubleshooting

I can't seem to deodex the rom I'm trying to get up and working. I keep getting a error
" The program can't start because mgwz.dll is missing from your computer.. "
Although, I understand that, I still have a problem. I can't get the Framework.jar to deodex right.
I'm using a Deodexer program found here:
http://forum.xda-developers.com/showpost.php?p=5775540&postcount=57
And the zip I'm trying to deodex is here:
http://www.mediafire.com/?p6imi5i7hxcswth
Please, and thank you.

Bump!

Do you get any errors in baksmali?

Are you trying to deodex in windows? Linux is much easier- I recommend ubuntu! http://www.ubuntu.com/
I have a homebrewed script that seems to work- and took just over 3 mins to run.
Use at your own risk!! I didn't look at the link to the tool you posted and I don't know a thing about this rom, but I tested my script against your rom anyway. Everything I learned about deodexing is from the internet. For entertainment purposes only. If you brick your device, it's your own fault.
http://www.mediafire.com/download.php?o5na6x5is7db2jk
check to make sure you are using the right version of baksmali/smali, api level is 10, and you have the right boot class path. Bluetooth needs javax.obex.odex in the boot class path.
---------- Post added at 10:48 AM ---------- Previous post was at 10:42 AM ----------
Edit- v2 added framework-res.apk Also note that the zip only contains the files that had odex files. apps or frameworks without an odex files are not included. For example, GexinService.apk or DSPManager.apk seem to be deodexed already.

I'm not very good with this stuff, but ill install Ubuntu on my second hard drive.
I don't under the baskmail(or however spelled) and API level.
I know baskmail is needed, and there are different versions. Do I need to put baskmail in the Windows directory like APKtool/
Sent from my LG-VM670 using Tapatalk 2

there's lots of info here http://code.google.com/p/smali/
I don't know how apktool deodexes- you might want to comb through the bat/shell files to see what it does. Then you can figure out how it calls baksmali/smali.
---------- Post added at 02:28 PM ---------- Previous post was at 02:28 PM ----------
there's lots of info here http://code.google.com/p/smali/
I don't know how apktool deodexes- you might want to comb through the bat/shell files to see what it does. Then you can figure out how it calls baksmali/smali.

Related

i want the stock phone.apk and contact.apk

helloo all ,
can anyone attach me the phone.apk and contact.apk and the gallery of the stock Android ICS 4.0.3
can't you do it yourself? you know the names of the files right? why did you started a new thread?
Oddly enough I've had the same question -- some hints on where to loop, keywords to search would be helpful.
I see a lot of roms here with a variety of tweaks be it battery mods (which I've found the thread for), theming & the addition of the ICS base apps.
I'd quite like to know what I'm changing from the stock ROM -- and in fact keep both old and new (subject to space) -- so was planning to also install the contacts app...
---------- Post added at 11:06 AM ---------- Previous post was at 11:00 AM ----------
Seems like one option is to download a rom which includes it, and then extract
here's a thread where someone has posted phone & contacts:
http://forum.xda-developers.com/showthread.php?p=22355649&highlight=contacts+apk#post22355649
So are they modified in any way from what one would find on the Nexus S -- just thinking my son has one rnuning 4.0.3 so I could grab any apks from his device potentially
---------- Post added at 11:07 AM ---------- Previous post was at 11:06 AM ----------
The actual download there was to http://www.4shared.com/rar/IdsXca6V/app.html
---------- Post added at 11:10 AM ---------- Previous post was at 11:07 AM ----------
Looking on my SGS2 I already have Contacts.apk and ContactsProvider.apk (as well as the compiled odex files).
I wonder if it's safe to rename the ICS ones? Is the provider the same maybe? What is the best way of being able to run both contacts concurrently?
If you are unable to source these two apks then I suggest you have a lot more reading to do before posting in the development section.
This is not a place for questions.

[Q] Creating a stock-based rom!

Hey guys!
How do I create a stock-based rom? The only thing I found was this: http://forum.xda-developers.com/showthread.php?t=1533740 But I don't know if it applies to Ace too.
Someone can confirm if this works? Also, If I just take a install-script from another ROM it will work? Or I'll need to write my own?
And, last but not least, for themeing, what files I need to change? Framework or tw-framework?
Okay that most things in that tut works some things are not 4 tha ace
scripts u can just add other scripts from roms no need 2 write own (ask permisions ofcorce)
Theme edit systemui.apk in system/app
edit framework-res.apk system/framework
edit twlauncher.apk system/app
and u can edit tw-framework if u wanna (not much 2 theme there)
HOPE I HELPED!!!
GOOD LUCK
Search before posting please...Theres a guide written by me for ace..
---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------
If you need any help,PM me and i will help
Prawesome said:
Search before posting please...Theres a guide written by me for ace..
---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------
If you need any help,PM me and i will help
Click to expand...
Click to collapse
I've made my first ROM using your tutorial as basis I need to know if there is something much different between building a CM7 rom and a stock ROM. Since stock roms always came with those other files (modem, phone, csc...), I need to know if I can just extract the system.rfs file, edit what I wand or what I need and made a flashable zip.
A bit off-topic question: where are the resources used on the lockscreen? framework-res.apk?
Quick Question: if I pick the apps that I have installed libs and put them on /system/lib, they will work?
For the lockscreen and other graphic (theme) edits check this tut, gives you a feel of where to screw with the framework-res.apk
http://forum.xda-developers.com/showthread.php?t=1543059
The easiest thing to do is to replace .9.png files with those of other ROMS to personalize it. Editing the xml files takes some trial and error, but its easier than it seems.
Thank you! One more thing: The power menu, it is hard-coded or I can add options to it via xml editing?
Renan Lazarotto said:
Thank you! One more thing: The power menu, it is hard-coded or I can add options to it via xml editing?
Click to expand...
Click to collapse
If you want to add options to power menu,you need to edit android.policy.jar,framework.jar and framework-res.apk.Here is a guide on that. http://forum.xda-developers.com/showthread.php?t=811532 You might need to make a few changes to make it adapt,like change the string ids,and its GlobalActions$3 you should copy for ace,its GlobalActions$4.smali.
---------- Post added at 09:19 AM ---------- Previous post was at 09:16 AM ----------
Renan Lazarotto said:
I've made my first ROM using your tutorial as basis I need to know if there is something much different between building a CM7 rom and a stock ROM. Since stock roms always came with those other files (modem, phone, csc...), I need to know if I can just extract the system.rfs file, edit what I wand or what I need and made a flashable zip.
A bit off-topic question: where are the resources used on the lockscreen? framework-res.apk?
Click to expand...
Click to collapse
Just download a package from Odin.You will get a .tar.md5 file which you wont be able to extract,so rename the file to .tar Now,you will be extract it,after extraction,you will get many .img files like system.img,boot.img. Extract system.img,replace stock boot.img with Cf-root and thats about it.You could take the updater script from BlackHawk as it does the job most of the times.
Prawesome said:
Just download a package from Odin.You will get a .tar.md5 file which you wont be able to extract,so rename the file to .tar Now,you will be extract it,after extraction,you will get many .img files like system.img,boot.img. Extract system.img,replace stock boot.img with Cf-root and thats about it.You could take the updater script from BlackHawk as it does the job most of the times.
Click to expand...
Click to collapse
I extracted the stock rom (system.rfs within the system files) and used the cf-root boot.img but my rom didn't start after flashing. I only saw the samsung galaxy ace logo and a blue triangle on the upper left corner of screen.
From the stocklite rom I used the updater-script. Maybe there is the fault?
Here the rom: Link
Please help me
Best regards
Marcus
freibergisch said:
I extracted the stock rom (system.rfs within the system files) and used the cf-root boot.img but my rom didn't start after flashing. I only saw the samsung galaxy ace logo and a blue triangle on the upper left corner of screen.
From the stocklite rom I used the updater-script. Maybe there is the fault?
Here the rom: Link
Please help me
Best regards
Marcus
Click to expand...
Click to collapse
Hmm...thats weird..Try taking the updater script and binary from blackhawk and try.If it still doesnt work,then try and take a logcat,it might help.
---------- Post added at 02:15 PM ---------- Previous post was at 02:10 PM ----------
Let me just download it and check the rom.
Hi,
Thank you for testing it.
I didn't copy the csc files into the system directory.
But i tried it with csc but without any success..
Please have a look over my rom..
Im very confused
PS: took the updater script from blackhawk and one other. Both are the same.
Marcus
Gesendet von meinem HTC Desire
Prawesome said:
If you want to add options to power menu,you need to edit android.policy.jar,framework.jar and framework-res.apk.Here is a guide on that. http://forum.xda-developers.com/showthread.php?t=811532 You might need to make a few changes to make it adapt,like change the string ids,and its GlobalActions$3 you should copy for ace,its GlobalActions$4.smali.
---------- Post added at 09:19 AM ---------- Previous post was at 09:16 AM ----------
Just download a package from Odin.You will get a .tar.md5 file which you wont be able to extract,so rename the file to .tar Now,you will be extract it,after extraction,you will get many .img files like system.img,boot.img. Extract system.img,replace stock boot.img with Cf-root and thats about it.You could take the updater script from BlackHawk as it does the job most of the times.
Click to expand...
Click to collapse
Thanks for the tip on the menu and all. Now I'll start to work on the ROM, but I'll still wait for the confirmation if the update script works!
freibergisch said:
Hi,
Thank you for testing it.
I didn't copy the csc files into the system directory.
But i tried it with csc but without any success..
Please have a look over my rom..
Im very confused
PS: took the updater script from blackhawk and one other. Both are the same.
Marcus
Gesendet von meinem HTC Desire
Click to expand...
Click to collapse
Hm...If you could,could you upload the rom to some other site like MediaFire? I cant seem to download the file properly from the link you gave.
---------- Post added at 06:20 PM ---------- Previous post was at 06:16 PM ----------
Renan Lazarotto said:
Thanks for the tip on the menu and all. Now I'll start to work on the ROM, but I'll still wait for the confirmation if the update script works!
Click to expand...
Click to collapse
Lol,updater script will work.Where do you think everyone takes updater scripts from? Its too big/dangerous to write up on your own,so what do you do,you take an existing one and modify it to work with your rom.Oh,and give credits to the original dev who wrote the updater script.
Hi,
I'm uploading the rom to mediafire now.
I give you the link when the rom is up in few minutes.
Thank you
---------- Post added at 06:09 PM ---------- Previous post was at 05:49 PM ----------
http://www.mediafire.com/?1bc8xt7q9sp8vzw
Edit: This is with CSC directories from the odin flash files.
Prawesome said:
Search before posting please...Theres a guide written by me for ace..
---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------
If you need any help,PM me and i will help
Click to expand...
Click to collapse
where i can find the post?
tonyboy3 said:
where i can find the post?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1465477

[Q] java (jar) to apk

How make playable Dchoc Cafe Sudoku (java) on android. How to convert this jar to apk game?
I try netmite getapk but after uploading files server, they send file to me with speed 10 bytes/s is crazy slow.
Can somone help? Convert for me?
you can't ...apk just doesn't use jar (Java) its combination of xml manifest and Java it works as activities and I doubt we can convert it.. there are already 700,000 apps on gplay im sure you can find a soduku app
---------- Post added at 07:18 PM ---------- Previous post was at 07:16 PM ----------
btw you can use java emulator to emulate Java files
speed_bot said:
you can't ...apk just doesn't use jar (Java) its combination of xml manifest and Java it works as activities and I doubt we can convert it.. there are already 700,000 apps on gplay im sure you can find a soduku app
---------- Post added at 07:18 PM ---------- Previous post was at 07:16 PM ----------
btw you can use java emulator to emulate Java files
Click to expand...
Click to collapse
can u convert any app jar to apk ??
Porting.
Sadly, there isn't a magical button that converta a java .jar file into an Android application. However, .jar files can easily be ported over to Android because Android uses Java. Maybe you can contact the developer and request a port. I doubt he/she would respond. Simply put, no.
not as easy....
unless you can try your luck and give porting a go yourself, it won't be possible.........
If you're on gingerbread and rooted, jbed is the emulator app here on xda for jar to apk playing... however if you don't have hard keys.. your choice is either game keyboard or any free arrow keyboard..
cm9 htc a310e

Cannot get Google Contacts working

Hi, I have struggled for several hours now and really could use some help please.
I have a Viewpad 10e which is not an officially supported device with Google. I have installed the only custom rom out there from Sidenk - http://forum.xda-developers.com/showthread.php?t=1320592&page=41
There is no contact/people icon on there. I used to have this working with the market apk on the stock ICS rom last year but due to a recent upgrade from Viewsonic that stuffed my system so I had to reinstall. I cannot for the life of me think how I did it but I've downloaded loads of different packages relating to googlecontactssyncadapter.apk, contacts.apk and contactsprovider.apk. Some of them install but do nothing, some of them say the package cannot be parsed, some say there's a conflicting signature.
At this stage I have no idea what to do, I've downloaded loads of files, spent hours searching on google, read lots of different forums too. This device is not well supported and I have no idea where I'm going wrong so any help is very much appreciated.
I take it by no replies I've asked an awkward question
Can anyone point me in the right direction of where I should be looking if people cannot help here please?
No takers at all?
probably no oone knows the answer because the device isnt officially supported
---------- Post added at 01:18 PM ---------- Previous post was at 01:15 PM ----------
first of all tell me the device model because due to all the extra text around it i cant tell what it is and ill try to find the stock rom for you to flash
---------- Post added at 01:26 PM ---------- Previous post was at 01:18 PM ----------
laptopu said:
Hi, I have struggled for several hours now and really could use some help please.
I have a Viewpad 10e which is not an officially supported device with Google. I have installed the only custom rom out there from Sidenk - http://forum.xda-developers.com/showthread.php?t=1320592&page=41
There is no contact/people icon on there. I used to have this working with the market apk on the stock ICS rom last year but due to a recent upgrade from Viewsonic that stuffed my system so I had to reinstall. I cannot for the life of me think how I did it but I've downloaded loads of different packages relating to googlecontactssyncadapter.apk, contacts.apk and contactsprovider.apk. Some of them install but do nothing, some of them say the package cannot be parsed, some say there's a conflicting signature.
At this stage I have no idea what to do, I've downloaded loads of files, spent hours searching on google, read lots of different forums too. This device is not well supported and I have no idea where I'm going wrong so any help is very much appreciated.
Click to expand...
Click to collapse
heres the ics rom from the manufacturer's website
mikeyb1216 said:
probably no oone knows the answer because the device isnt officially supported
---------- Post added at 01:18 PM ---------- Previous post was at 01:15 PM ----------
first of all tell me the device model because due to all the extra text around it i cant tell what it is and ill try to find the stock rom for you to flash
---------- Post added at 01:26 PM ---------- Previous post was at 01:18 PM ----------
heres the ics rom from the manufacturer's website
Click to expand...
Click to collapse
Thanks but that's not the issue I'm having. The stock rom doesn't have Google contacts/people on it and never has. The custom rom never has. When I had the original gingerbread rom I managed to put on Google marketplace and contacts app on it. Later when ICS came out I managed to do it again.
Viewpad then released an auto update that kept nagging until I hit install. Then that wouldn't let me root so I went back to the custom rom Sidenk developed (he states set device as Asus Eeepad in his post to get more compatible apps on play). I thought all I had to do was update this with contacts.apk and googlecontactssyncadapter.apk but every version I have tried to install has come up 'application not installed' or unable to parse.
I know this device is capable of having contacts as I've done it before but I'm blown if I know how to now?
This has been driving my noodle potty for days now and I'd love some advice on what's likely to be going wrong :laugh:
Well I'm stumped. Been reading up on this area for days now and cannot get anywhere. Can no-one help at all?

[Q] [CM12] How do I extract the apk files from CM12.zip?

Hi
In cm11 zip file (i.e. the installation file .zip eg:cm-11-20150107-NIGHTLY-falcon.zip), you can find the apk files from the zip in system/app folder or system/priv-app folder
But in cm12.zip, I can't find the app or priv-app folder in system/
I can only find build.prop file
Can you people help me to find the folder where all the installation apks are kept?
Regards
Yash
no one knows?
No one knows?
No one on XDA knows?
[email protected] said:
No one knows?
No one on XDA knows?
Click to expand...
Click to collapse
Part of the answer is I can see the system as large dat files in the root of the zip package. What I followed this link for was because I was hoping to find the answer, too. I'm going to try extracting the dat file(s), changing file extension to zip or some other common archive type and seeing if some common Android archive extracting apps will be able to open it. I'll report back if I have luck.
---------- Post added at 04:15 AM ---------- Previous post was at 04:07 AM ----------
http://forum.xda-developers.com/and.../how-to-conver-lollipop-dat-files-to-t2978952
Job done! Thanks!
roirraW "edor" ehT said:
Part of the answer is I can see the system as large dat files in the root of the zip package. What I followed this link for was because I was hoping to find the answer, too. I'm going to try extracting the dat file(s), changing file extension to zip or some other common archive type and seeing if some common Android archive extracting apps will be able to open it. I'll report back if I have luck.
---------- Post added at 04:15 AM ---------- Previous post was at 04:07 AM ----------
http://forum.xda-developers.com/and.../how-to-conver-lollipop-dat-files-to-t2978952
Click to expand...
Click to collapse
I am happy for a positive reply. Thanks.:good::highfive:

Categories

Resources