[HOWTO] Extract apk files from official md5 rom file. - Galaxy S 4 Q&A, Help & Troubleshooting

I want to have all my official apks from system/app /priv-app /framework so if i screw up sometime i will have everything to restore.
so i was wondering how can i open the md5 file to extract the apks from it.

leboreiro said:
I want to have all my official apks from system/app /priv-app /framework so if i screw up sometime i will have everything to restore.
so i was wondering how can i open the md5 file to extract the apks from it.
Click to expand...
Click to collapse
Check this tutorial

Related

how do i deoxed single apks?

iv been looking but cant figure it out, no one gives instructions on how to use there deodex tools
Download AvaboxV2 Here
Unzip the download somewhere, open up the 'De-odexer' and view the readme.
I think you just put the apk and odex file inside the "de-odexer" folder and double-click the ''deodexall.bat" or "deall.bat", something along those lines.
Can't check right now since I'm on my phone
i down loaded an used but its not creating a Classes.dex
DubsideWICKED said:
i down loaded an used but its not creating a Classes.dex
Click to expand...
Click to collapse
AvaboxV2 won't do that, it will take both the APPNAME.apk & APPNAME.odex files and make it into a single de-odexed APPNAME.apk
If you want the classes.dex file check out smali tools I believe that should do it for you. It may decompile as out.dex, if it does just rename it back to classes.dex
Edit: instructions for it are HERE
I think apk manager will let you deodex files as well.... I think....
theimpaler747 said:
I think apk manager will let you deodex files as well.... I think....
Click to expand...
Click to collapse
if it does i have never seen it
i thought when u de-odexed a file that it created a classes dex. im still having problemswith all methods mentioned
attach the apk and the odex files in a zip so I can download them. when I have time I'll see if I can get the classes.dex file for you and let you know what I did to get it
kyouko said:
attach the apk and the odex files in a zip so I can download them. when I have time I'll see if I can get the classes.dex file for you and let you know what I did to get it
Click to expand...
Click to collapse
i think its the systemUI he is trying to deodex everything i have tried to deodex it errors out.
however i have circumvented it and i am excited
ya im tryin to do what kyle said. i just wanna edit the signal bars. is it possible to make a odex file for a apk.

HELP! cooking flashable zip into rom!!!

I am trying to take a keyboard that somebody made into a flashable .zip file, and implement it into a rom that I am working on. What I did was flash the .zip through cwm, then found the apk, backed it up, and then placed it in the /system/app folder on the new rom. The problem is as soon as the rom boots, I get a force close error. So I took a look at the .zip file, there are two folders meta-inf and system. inside system there is an app folder and lib folder. My question is can I just take the apk and lib file out and place them directly into /system/app and system/lib on the new rom? and if so do i need to do anything with the META-INF folder? any ideas would be GREATLY appreciated!!!
thanks
the META-INF folder may have some script that does some other manipulation of the filesystem or runs helper apps during installation. See what's in META-INF/com/google/android/update-script.

.MD5 file help

hello ,
Am using galaxy ace and i want to change the default app icons [like My files gallery...etc].I downloaded a copy of my firmware and i was able to extract system.rfs from the md5 file which contained the apk for the music player...etc using 7z,i changed the icons to my custom icons...now I am not able to move the system.rfs to the MD5 file using 7z...does any one know anyway of doing this
P.S Does editing the files do harm when flashing...will this be succesfull?
If you edit rfs files on pc then its corrupted
So make changes in the apk and paste it in /system/app
You can make a new rfs fine too but that needs root and and the need to know which partition is mapped to /system
so can i just place the apk directly on phone through root explorer...but i tried that with an system app [you tube] i dont use ,i changed the icon and placed the apk using root explorer...after that it vanished..i tried rebooting and installing the apk....but it wont install...

[Q]When we need copy file/folder from original apk after modified?

Sometime in mod guide.. we need to copy file/folder in original apk after modified... like androidmanifest.xml/classes.dex/etc.. so my question is when we need to copy it?
I only copy meta-inf and androidmanifest to the build folder (you need to compile the folder to get the build folder and then recompile again after placing files there) if im not resigning the apk
marcussmith2626 said:
I only copy meta-inf and androidmanifest to the build folder (you need to compile the folder to get the build folder and then recompile again after placing files there) if im not resigning the apk
Click to expand...
Click to collapse
so you want to say that if copy meta-inf and androidmanifest to modded apk, we dont need sign apk.. that what you mean?
EpullSalvatrucha said:
so you want to say that if copy meta-inf and androidmanifest to modded apk, we dont need sign apk.. that what you mean?
Click to expand...
Click to collapse
you only have to resign an apk if you edit the adroidmanifest
marcussmith2626 said:
you only have to resign an apk if you edit the adroidmanifest
Click to expand...
Click to collapse
But in this guide forum.xda-developers.com/showthread.php?t=2018688 the additional instruction said copy classes.dex from original unmodified apk and paste it in modified apk.. when this step is necessary?
EpullSalvatrucha said:
But in this guide forum.xda-developers.com/showthread.php?t=2018688 the additional instruction said copy classes.dex from original unmodified apk and paste it in modified apk.. when this step is necessary?
Click to expand...
Click to collapse
its not with apktool - iv never touched classes.dex
just resign the apk if it doesnt install

[Guide] Xposed without recovery Locker Bootloaders

Okay so I just tried to install xposed on my Xperia Z and it was a success. All you need to do is be rooted. For that, go to this thread, http://forum.xda-developers.com/xperia-z/development/super-su-xperia-device-lollipop-easy-t3119006. The procedure mentioned here worked like a charm for me.
Once you are rooted, go to this thread: http://forum.xda-developers.com/showthread.php?t=3034811. Download the .zip file and the .apk file. Install the .apk file like any other normal .apk file. Unzip the .zip file using any file explorer (I used root explorer). After you've unzipped the files, all you have to do is move and replace them in the system folders and assign correct permissions.
It's not working for me, the installer keeps saying Xposed isn't currently active
I got boot looped with this solution...bummer!
ahsan530 said:
Okay so I just tried to install xposed on my Xperia Z and it was a success. All you need to do is be rooted. For that, go to this thread, http://forum.xda-developers.com/xperia-z/development/super-su-xperia-device-lollipop-easy-t3119006. The procedure mentioned here worked like a charm for me.
Once you are rooted, go to this thread: http://forum.xda-developers.com/showthread.php?t=3034811. Download the .zip file and the .apk file. Install the .apk file like any other normal .apk file. Unzip the .zip file using any file explorer (I used root explorer). After you've unzipped the files, all you have to do is move and replace them in the system folders and assign correct permissions.
Click to expand...
Click to collapse
Would it be possible to explain the file copying process in more detail. My Xperia Z crashed whilst copying and overwriting the files into the LIB and now is in a boot loop. Copying the appropriate files to BIN and FRAMEWORK worked fine.
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Done! Its working great! In order to work need to set the correct permissions in relevant files.
Sent from my C6603 using XDA Free mobile app
alexfra said:
Done! Its working great! In order to work need to set the correct permissions in relevant files.
Sent from my C6603 using XDA Free mobile app
Click to expand...
Click to collapse
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
I have installed the files separately (one by one) in the relevant system's paths
Sent from my C6603 using XDA Free mobile app
alexfra said:
I have installed the files separately (one by one) in the relevant system's paths
Sent from my C6603 using XDA Free mobile app
Click to expand...
Click to collapse
I reinstalled the 5.0.2 firmware. Then did the KingRoot and replaced with SuperSU. The I tried to install Xposed followin the above steps and copied file by file like you did, and if I copy the 3rd file in LIB over, the phone reboots and goes into bootloop.
adrianh_za said:
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
Click to expand...
Click to collapse
Same, although it rebooted just fine. I then copied the files again, no reboot but also no Xposed.
adrianh_za said:
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
Click to expand...
Click to collapse
Whizzoo said:
Same, although it rebooted just fine. I then copied the files again, no reboot but also no Xposed.
Click to expand...
Click to collapse
I'm in a bootloop again, so off to re-install lollipop...again. Becoming quite a pro at installing and rooting it now This time around, I had a clean install of 5.0.2 without any updates from Play Store. Also did a KingRoot and the replaced it with Super SU before trying to install Xposed. Not sure how @alexfra got it installed...lucky bum!
Okay do the following, copy the LIB files in the root of the system folder and assign the correct permissions. After you've done that, cut and paste the LIB files in to the LIB folder. That will work for sure. Check images for further assistance. Also check image of Gravity Box attached. Everything running great. Hope it works for you too.
ahsan530 said:
Okay do the following, copy the LIB files in the root of the system folder and assign the correct permissions. After you've done that, cut and paste the LIB files in to the LIB folder. That will work for sure. Check images for further assistance. Also check image of Gravity Box attached. Everything running great. Hope it works for you too.
Click to expand...
Click to collapse
Same problem. As soon as I overwrite libart.so, phone reboots and goes into bootloop.
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Howell said:
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Click to expand...
Click to collapse
done exatly that m8...and it caused a bootloop ...flashing lollipop again now.
Howell said:
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Click to expand...
Click to collapse
I did this on my third try over the weekend. Copied the LIB files into system, changed the permissions and the moved the files one by one. Reboot and bootloop occured when moving libart.so.
1) What file manager did you use? I used ES File in root explorer mode.
2) Did you move file by file, or move the files all at once or per folder?
3) Do you remember any specific order when moving the files? I just went alphabetically through the folders.
4) Must the .props file also be copied that is in the zip?
5) Did you do a clean install to Lollipop, or was it an upgrade from KK?
Any help would be appreciated
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Thanks for your help guys! I figured out what the problem was for me. There were some Xposed files in my lib folder already, I assume from my installation on KitKat (I did not do a clean upgrade). So I removed those, rebooted and presto! Good to have Xposed again
Whizzoo said:
Thanks for your help guys! I figured out what the problem was for me. There were some Xposed files in my lib folder already, I assume from my installation on KitKat (I did not do a clean upgrade). So I removed those, rebooted and presto! Good to have Xposed again
Click to expand...
Click to collapse
Do you know what the files were so I can check?
Should I not install the Xposed installer APK until I have copied the zipped files in?
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
adrianh_za said:
Do you know what the files were so I can check?
Should I not install the Xposed installer APK until I have copied the zipped files in?
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Click to expand...
Click to collapse
Go to /system/lib and search for all the files that are also in the lib folder in the zip and remove them. I already had the Xposed installer installed when I did it, in fact I used it to reboot the system.
I have done,,thanks for guide sir,,
Sent from my C5502 using XDA Free mobile app
Can anybody comment on which file manager they used to do the copying and setting of permissions and successfully install Xposed? I see the OP used Root Explorer. I personally use ES File Explorer with root mode enabled, but I am thinking that maybe the issue I keep having when copying the files is due to ES File Explorer and maybe I should try Root Explorer.
adrianh_za said:
Can anybody comment on which file manager they used to do the copying and setting of permissions and successfully install Xposed? I see the OP used Root Explorer. I personally use ES File Explorer with root mode enabled, but I am thinking that maybe the issue I keep having when copying the files is due to ES File Explorer and maybe I should try Root Explorer.
Click to expand...
Click to collapse
I used root explorer. Yeah, use root explorer. Root explorer le best.

Categories

Resources