Anyone? how to unpack recovery.img for sharp XX-y 404sh - Sharp Aquos Crystal

I managed to dd the recovery image from partition.
I tried use lot of tools from web mkbootimg, extractor, unpack and etc.
But none of it able to extract it contents. Dont know WTF how it build.
I only managed to use binwalk to extract the ramdisk folder but no kernel file,
so without kernel file I'm no able to pack it back.
recovery.img attached below,
Please help, XDA expert around the world. Thanks
https://drive.google.com/open?id=0B9J7sutBoCFlcHRVWUpCUEFZWm8

It's a .img, use 7zip.
Or just mount it to a virtual disk drive.

can you write in system of sharp 404sh?
Please guide for me...
thankyou very much....
[email protected]

me too

Related

system.img from ROM zip files?

Hi,
I was wondering if there was a way to convert .zip files of ROMs/themes into system.img files so that they can be booted up via the android sdk emulator?
I've seen that it's possible to launch system.img files in the sdk emulator, but after searching for quite some time I wasn't able to pinpoint a method for creating system.img from update-cm-4.2.12.2-signed.zip (for example).
Thanks.
DT
i made a post about those system.img files earlier here: http://forum.xda-developers.com/showthread.php?t=609090
in theory it's possible using the mkfs.yaffs2 tool, but i'm not sure whether the emulator supports danger SPL roms, because the system image file size is limited in the emulator as well...
http://www.dotphone.org/attachment.php?aid=6
it's the mkfs.yaffs2 tool
see usage here:
http://www.dotphone.org/viewthread.php?tid=32
Hi,
Thanks for the link, but I'm quite a newbie in these things, so could someone please walk me through process? I've downloaded the archive in the link.
How many times do I unzip it (I can unzip it up to three times and then I get 5 files numbered 1 through 5)? Where do I paste it? How do I use it? The explanation in the other thread was slightly too complicated for me sorry
Thanks
DT
/push
Anyone willing to help out a newbie?
bump
I am looking to do the same thing
Get someone to Nandroid backup the ROM.
It creates a system.img, recovery.img, data.img, cache.img and boot.img.
Not the easiest method but it works

[HELP] can somebody extract this boot.img please

hi,
i have a big problem.
i have extracted with perl script the boot.img from updata.app
this works fine... but when i want to extract the boot.img, then i have many errors and the .gz files are not readable.
i have tried it under windows and ubuntu, but still the same :-(
can somebody extract the file ?
here is the .img file
http://www.megaupload.com/?d=XX69Z7BM
many thanks
That img file is corrupt, or does not have a ramdisk image within it (only a kernel). Or it is using some non-standard means to store the ramdisk.
What is it from and how did you extract it?
thanks for your replay
the file is from a v845 (huawei 8120).
Firmware: V845 V100R001MYSC02B 236(Malaysia)
from here: huawei
i used the script split_updata.pl, split_bootimg.pl and unyaffs.exe
the boot.img doesn't use yaffs2, it is a raw kernel image combined with a cpio archive of the ramdisk image (and a short header to tell where the files are delimited). Your file has a corrupt header. I was able to extract it for you. Do you want me to attach it for you? I assume you extracted the kernel OK (it worked for me).
Gene Poole said:
the boot.img doesn't use yaffs2, it is a raw kernel image combined with a cpio archive of the ramdisk image (and a short header to tell where the files are delimited). Your file has a corrupt header. I was able to extract it for you. Do you want me to attach it for you? I assume you extracted the kernel OK (it worked for me).
Click to expand...
Click to collapse
yes, please attach it
can you tell me, with which tools you managed to extract the kernel ?
thanks
wildgunman said:
yes, please attach it
can you tell me, with which tools you managed to extract the kernel ?
thanks
Click to expand...
Click to collapse
I normally use the tools found in this thread:
http://forum.xda-developers.com/showthread.php?t=551711
but like I said, your image was corrupt or something. I just hex grepped it for a gzip signature indicating the start of the gzipped cpio ramdisk portion.

Help !!! Problem with mkfs.yaffs2 and large image size?

I have a problem when make img file.
unyaffs img file create all folder and files from system.img. This stuff work without any issue.
Size of this folders and files is 317.4 MB.
When start to create new img file with mkfs.yaffs2, size of new img file is 2GB.
How to resolve this problem and create image file with properly filesize?
FileFixer said:
I have a problem when make img file.
unyaffs img file create all folder and files from system.img. This stuff work without any issue.
Size of this folders and files is 317.4 MB.
When start to create new img file with mkfs.yaffs2, size of new img file is 2GB.
How to resolve this problem and create image file with properly filesize?
Click to expand...
Click to collapse
You're doing something wrong. Make sure the image you are trying to unyaffs is in its own empty folder. After unyaffs remove the .img from that folder. Then create new image file by running the mkfs.yaffs2 as follows: mkfs.yaffs2 /home/killahurtz/Desktop/location of extracted system.img/ system.img
~/Desktop/newrom$ mkfs.yaffs2 /home/filefixer/Desktop/newrom/ system.img
mkfs.yaffs2: Android YAFFS2 Tool,Build by PowerGUI
at http://www.openhandsetalliance.org.cn
Building...
Build Ok.
Into newrom folder no system.img file when go to create image. Just unpacked files and folders without system.img.
After that, system.img is corectly created but have 2GB.
FileFixer said:
~/Desktop/newrom$ mkfs.yaffs2 /home/filefixer/Desktop/newrom/ system.img
mkfs.yaffs2: Android YAFFS2 Tool,Build by PowerGUI
at http://www.openhandsetalliance.org.cn
Building...
Build Ok.
Into newrom folder no system.img file when go to create image. Just unpacked files and folders without system.img.
After that, system.img is corectly created but have 2GB.
Click to expand...
Click to collapse
Please attatch a screencap before and after you run the mkfs.yaffs2 command. Please be sure that the target directy is clearly visible.
There is the problem...
First picture is when unyaffs and second is when create image file after mkfs.yaffs2.
FileFixer said:
There is the problem...
First picture is when unyaffs and second is when create image file after mkfs.yaffs2.
Click to expand...
Click to collapse
I don't think your output path should be in the same folder you're trying to make an image from. That's the problem
Fix that and i'm positive it will work. Hope that helps.
I tried this method and system.img is created in new folder but this sistem.img no contains folders and files from /newrom folder. It contain a files from my Ubuntu system folder?!
I am confused...
ok have system.img in newrom folder in Desktop.
1.open terminal
2.cd Desktop/newrom
3.unyaffs system.img
4.now go remove the system.img file from your newrom directory
5.if you didn't close terminal type "cd.." to change path back to Desktop
6.mkfsyaffs newrom/ system.img
Sent from my HTC HD2 using XDA App
Thanks... Now it works perfect.
Now i go to write Begginerr guide for yaffs and unyaffs. It is very simple...
Best regards.
FileFixer

[q] extract a rom

Hello
can any one tell me how i can extract a rom so i can gate some apk that my original rom use to have.
thank you
unzip with winrar
system>app> apk files here
Questions to general section please. Written in forum rules.
Sent from my u8800 using XDA App
Thank you oguzhan mobile
How to extract the update.app (stock rom file)?
andreasha said:
How to extract the update.app (stock rom file)?
Click to expand...
Click to collapse
The attached should be all you need. split_updata.pl will extract the system image which you can then mount directly. splitfile.c will extract the mbn files and boot.img. Use abootimg to extract the kernel and initrd and then cpio to get the root fs from the initrd. Obviously you will want to use a linux box for this.
dzo said:
The attached should be all you need. split_updata.pl will extract the system image which you can then mount directly. splitfile.c will extract the mbn files and boot.img. Use abootimg to extract the kernel and initrd and then cpio to get the root fs from the initrd. Obviously you will want to use a linux box for this.
Click to expand...
Click to collapse
Thanks mate, really nice instructions!

[Q] Needed secsettings.apk and secsettings.odex for NH1, quickly!

Hey guys!
So I was just installing S5 Settings from balliboxer
and now I am an idiot to backup the secsettings apk and odex.
After I installed it, it gone FC.
Please somebody have an stock 4.4.2 SecSettings.apk and odex file please?
I'm running on 4.4.2 G7102 NH1.
sorry i don't have nh1 so i can't help you but what about four threads for the same thing , it's not realy serious man if you need help just post one time
if you have a pc :
domload your rom from Sam
http://www.sammobile.com/firmwares/download/36186/G7102XWUBNI2_G7102OLBBNI2_XSE.zip/
--extract it yoy will have G7102XWUBNI2_G7102OLBBNI2_XSE.tar.md5 use 7zip and extract it
--When you have completed extracting all of them, you'll find many files including many .img files. For Apps you need to extract system.img. Unlike normal nandroid backup's system.img file which in yaffs, this stock one in different. So, unyaffs tool can't unpack the system.img
--To extract the system.img, download this tool: sgs2toext4 (created by drphrozen). On extracting it you'll have sgs2toext4.jar file.
--Open a command window and set the directory where you have .jar file.
--Now type sgs2toext4.jar and press enter.
--The .jar will run in a new window & will ask you to drag & drop the system.img file there. Do the same and wait till the process completes.
--When the process completes, you'll find a file named system.ext4.img in the same folder where you had the system.img file.
--Now download ext2reader and install it. Then open the program open your system.img.ext4
--Now navigate in to find the apk you need and extract it copy to your phone
maxx35000 said:
sorry i don't have nh1 so i can't help you but what about four threads for the same thing , it's not realy serious man if you need help just post one time
if you have a pc :
domload your rom from Sam
http://www.sammobile.com/firmwares/download/36186/G7102XWUBNI2_G7102OLBBNI2_XSE.zip/
--extract it yoy will have G7102XWUBNI2_G7102OLBBNI2_XSE.tar.md5 use 7zip and extract it
--When you have completed extracting all of them, you'll find many files including many .img files. For Apps you need to extract system.img. Unlike normal nandroid backup's system.img file which in yaffs, this stock one in different. So, unyaffs tool can't unpack the system.img
--To extract the system.img, download this tool: sgs2toext4 (created by drphrozen). On extracting it you'll have sgs2toext4.jar file.
--Open a command window and set the directory where you have .jar file.
--Now type sgs2toext4.jar and press enter.
--The .jar will run in a new window & will ask you to drag & drop the system.img file there. Do the same and wait till the process completes.
--When the process completes, you'll find a file named system.ext4.img in the same folder where you had the system.img file.
--Now download ext2reader and install it. Then open the program open your system.img.ext4
--Now navigate in to find the apk you need and extract it copy to your phone
Click to expand...
Click to collapse
Thanks dude! And sorry for those 4 threads. Gonna download it!
This will take soooooo long! My Internet connection is slow and can complete in 9-10 hours!
Just be patient and people will see your thread and help you! But making FOUR posts...?
maxx35000 said:
sorry i don't have nh1 so i can't help you but what about four threads for the same thing , it's not realy serious man if you need help just post one time
if you have a pc :
domload your rom from Sam
http://www.sammobile.com/firmwares/download/36186/G7102XWUBNI2_G7102OLBBNI2_XSE.zip/
--extract it yoy will have G7102XWUBNI2_G7102OLBBNI2_XSE.tar.md5 use 7zip and extract it
--When you have completed extracting all of them, you'll find many files including many .img files. For Apps you need to extract system.img. Unlike normal nandroid backup's system.img file which in yaffs, this stock one in different. So, unyaffs tool can't unpack the system.img
--To extract the system.img, download this tool: sgs2toext4 (created by drphrozen). On extracting it you'll have sgs2toext4.jar file.
--Open a command window and set the directory where you have .jar file.
--Now type sgs2toext4.jar and press enter.
--The .jar will run in a new window & will ask you to drag & drop the system.img file there. Do the same and wait till the process completes.
--When the process completes, you'll find a file named system.ext4.img in the same folder where you had the system.img file.
--Now download ext2reader and install it. Then open the program open your system.img.ext4
--Now navigate in to find the apk you need and extract it copy to your phone
Click to expand...
Click to collapse
Unfortunately this doesn't work. When you drop the system.img.ext4 file onto the sgs2ext4 tool, no file is produced. The tool just keeps endlessly repeating:
"system.img.ext4 32 B 0 B/s"
I think that tool is too old (2.5 years old) and doesn't support the newest Samsung firmwares.
siraltus said:
Unfortunately this doesn't work. When you drop the system.img.ext4 file onto the sgs2ext4 tool, no file is produced. The tool just keeps endlessly repeating:
"system.img.ext4 32 B 0 B/s"
I think that tool is too old (2.5 years old) and doesn't support the newest Samsung firmwares.
Click to expand...
Click to collapse
witch firmware do you want to extract ?and whitch file you want ?
i 've extract my latest firmware 09/2014 so it work fine for me
maxx35000 said:
witch firmware do you want to extract ?and whitch file you want ?
i 've extract my latest firmware 09/2014 so it work fine for me
Click to expand...
Click to collapse
The T-Mobile Galaxy Note 4 (SM-N910T) NK4 firmware. I can't find any instructions online on extracting Samsung firmwares other than these, which were originally written up by rwilco12 a long time ago and reposted endlessly.
siraltus said:
The T-Mobile Galaxy Note 4 (SM-N910T) NK4 firmware. I can't find any instructions online on extracting Samsung firmwares other than these, which were originally written up by rwilco12 a long time ago and reposted endlessly.
Click to expand...
Click to collapse
you have one solution try to extract md5 file
and direct mount system.img in ubunt it work for me then copy the file you want
maxx35000 said:
you have one solution try to extract md5 file
and direct mount system.img in ubunt it work for me then copy the file you want
Click to expand...
Click to collapse
I'll try doing that in a Linux VM. I'm on Windows and the Diskinternals Linux Reader keeps saying the filesystem is invalid.
siraltus said:
I'll try doing that in a Linux VM. I'm on Windows and the Diskinternals Linux Reader keeps saying the filesystem is invalid.
Click to expand...
Click to collapse
give me a link to download the system.img i try to extract it
maxx35000 said:
give me a link to download the system.img i try to extract it
Click to expand...
Click to collapse
Thank you for your help. It's this firmware: http://www.sammobile.com/firmwares/download/39224/N910TUVU1ANK4_N910TTMB1ANK4_TMB.zip/
Anything? Is this a no-go?
siraltus said:
Thank you for your help. It's this firmware: http://www.sammobile.com/firmwares/download/39224/N910TUVU1ANK4_N910TTMB1ANK4_TMB.zip/
Click to expand...
Click to collapse
sorry i have forget to do it i download the file now
but what the files needed in ?
maxx35000 said:
sorry i have forget to do it i download the file now
but what the files needed in ?
Click to expand...
Click to collapse
I just want to find a method that works for extracting the Note 4 firmware because none I found online work.
siraltus said:
I just want to find a method that works for extracting the Note 4 firmware because none I found online work.
Click to expand...
Click to collapse
I found that the Linux method works on my Mac. Took a ton of tinkering and restarting the emulator on my machine.
sgs2ext4.jar did not work for me in Windows. It just hangs.
sbrownla said:
I found that the Linux method works on my Mac. Took a ton of tinkering and restarting the emulator on my machine.
sgs2ext4.jar did not work for me in Windows. It just hangs.
Click to expand...
Click to collapse
yes sgs2ext4.jar work with some of system.img but not all but you can mount in linux i have extracted note 4 img :good:
maxx35000 said:
give me a link to download the system.img i try to extract it
Click to expand...
Click to collapse
The SAMMOBILE firmware or the system.img? I'm not yet downloading it. Let's see if I can resume the download.

Categories

Resources