FORUMS

OnePlus Addresses Reservation List Cheating

Jake Cooper figured out how to bump his place up on OnePlus’ reservation list and … more

OnePlus 2 Benchmark Scores Show Its Muscle

This video by FoneArena contains all the popular benchmarks being tested on the OnePlus 2, … more

Sony’s Emergence in The Middle: Is The Price Right?

Sony’s Electronics Division is not in its best days, and its smartphone … more

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

[Q] How do I pull files from the stock ROM?

42 posts
Thanks Meter: 5
 
By Hizpanick, Member on 20th April 2012, 07:18 PM
Post Reply Subscribe to Thread Email Thread
I rooted my phone and installed a mod for the e-mail application. I made sure to make a copy of the original email.apk in case I wanted to go back. Well, I didn't realize the mod had a deodexed apk of the e-mail app so I forgot to make a backup of the odex file and the mod deleted the original odex file. I downloaded the stock ROM from here:

http://forum.xda-developers.com/show....php?t=1391174

Is there anyway I can pull the e-mail.apk and e-mail.odex from this ROM so I can push it back to my phone?
 
 
20th April 2012, 07:22 PM |#2  
Senior Member
Thanks Meter: 220
 
More
Quote:
Originally Posted by Hizpanick

I rooted my phone and installed a mod for the e-mail application. I made sure to make a copy of the original email.apk in case I wanted to go back. Well, I didn't realize the mod had a deodexed apk of the e-mail app so I forgot to make a backup of the odex file and the mod deleted the original odex file. I downloaded the stock ROM from here:

http://forum.xda-developers.com/show....php?t=1391174

Is there anyway I can pull the e-mail.apk and e-mail.odex from this ROM so I can push it back to my phone?

If you look through that stock rom, the email.apk and it's corresponding odex is in /system/app
20th April 2012, 07:34 PM |#3  
OP Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by yoft1

If you look through that stock rom, the email.apk and it's corresponding odex is in /system/app

Thanks! How do I look through the stock rom? I've tried using ext2explore, but I am not able to access the files in the rom.
21st April 2012, 01:01 AM |#4  
Senior Member
Flag College Station
Thanks Meter: 170
 
Donate to Me
More
Quote:
Originally Posted by Hizpanick

Thanks! How do I look through the stock rom? I've tried using ext2explore, but I am not able to access the files in the rom.

Aevyou trying to view the rom files you downloaded through your phone? If so you can't you have to do that on a pc. If you're trying to view system files then root explorer will do fine
21st April 2012, 01:09 AM |#5  
OP Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by iLeopard

Aevyou trying to view the rom files you downloaded through your phone? If so you can't you have to do that on a pc. If you're trying to view system files then root explorer will do fine

I downloaded SGH-T989_TMB_1_T989UVKL1_CL799405_REV00.rar, which contained system.img (508MB) and T989UVKL1_HOME_SGH-T989user_CL799405_REV00.tar.md5 (574MB). Can I open these files with my PC and extract e-mail.apk and e-mail.odex? If so, what program do I use? If not, how can i retrieve the files I want from them?
21st April 2012, 01:35 AM |#6  
Senior Member
Thanks Meter: 220
 
More
Quote:
Originally Posted by Hizpanick

I downloaded SGH-T989_TMB_1_T989UVKL1_CL799405_REV00.rar, which contained system.img (508MB) and T989UVKL1_HOME_SGH-T989user_CL799405_REV00.tar.md5 (574MB). Can I open these files with my PC and extract e-mail.apk and e-mail.odex? If so, what program do I use? If not, how can i retrieve the files I want from them?

Okay since it's a tar file its a bit more complicated. DO you have a nandroid of your rom before you replaced the email app? If so, backup your current rom, restore to your old backup, go to /system/app and copy the odex file to your sd card. Then restore to your new backup and put the odex file back in /system/app.
21st April 2012, 01:59 AM |#7  
Senior Member
Flag College Station
Thanks Meter: 170
 
Donate to Me
More
Quote:
Originally Posted by Hizpanick

I downloaded SGH-T989_TMB_1_T989UVKL1_CL799405_REV00.rar, which contained system.img (508MB) and T989UVKL1_HOME_SGH-T989user_CL799405_REV00.tar.md5 (574MB). Can I open these files with my PC and extract e-mail.apk and e-mail.odex? If so, what program do I use? If not, how can i retrieve the files I want from them?

If its an .img you should be able to mount it. Are you if using linux or Mac you should be able to mount without any additional software but if using windows you will have to extract or fund software that will mount drive images on the pc
22nd April 2012, 08:02 PM |#8  
OP Member
Thanks Meter: 5
 
More
OK, so I figured out how to do this.

First, I went to this thread:
http://forum.xda-developers.com/show...6&postcount=41
I downloaded the Convert_sgs2img.exe util file and pointed it to system.img. I then was able to open the converted img file using Linux Reader http://www.diskinternals.com/linux-reader/ by mounting it within the program. I was then able to get any file I wanted!
23rd April 2012, 03:23 AM |#9  
charlieb620's Avatar
Senior Member
Flag Philadelphia, PA
Thanks Meter: 2,034
 
More
When I want certain apks I go through root explorer and just copy/paste. Seems to be the easiest way. You can do that or adb pull.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes