how could extract system.img from stock rom? I've tried simg2img and mount, but both not work.
use file command could only get the file as data.
any clues?
Thanks
fireinice said:
how could extract system.img from stock rom? I've tried simg2img and mount, but both not work.
use file command could only get the file as data.
any clues?
Thanks
Click to expand...
Click to collapse
Read--> http://forum.xda-developers.com/moto-x/general/questions-qa-thread-t2404256
You've already been told where to post why are you creating another [Q] thread in General section?
orky87 said:
Read--> http://forum.xda-developers.com/moto-x/general/questions-qa-thread-t2404256
You've already been told where to post why are you creating another [Q] thread in General section?
Click to expand...
Click to collapse
If you notice the post time, you can find the reason. I can not find how to delete this post. And I do use search for forum and google. tried all clues...
Related
i want the old lockscreen back, so i tested xperialockscreen.apk from .136 firmware ....not my best idea ^^ now systemui fc´s.
so can anyone make flashable zip of .757 firmware (deodexed/or just a zip from /system) ?
or just post the whole /system folder from .757 firmware?
thanks in advance and a big sorry for my bad english
There are several in the development section
But what you want to do is delete that file using adb, saves replacing a whole system for the sake of deleting one file
OR
restore the backup you made before you started messing with system files....
gregbradley said:
There are several in the development section
But what you want to do is delete that file using adb, saves replacing a whole system for the sake of deleting one file
OR
restore the backup you made before you started messing with system files....
Click to expand...
Click to collapse
i made a flashable zip from .757 firmware ^^
and btw i forgot that adb exists 0.o.........
AgroCPU said:
and btw i forgot that adb exists 0.o.........
Click to expand...
Click to collapse
Do not swear again please....
gregbradley said:
Do not swear again please....
Click to expand...
Click to collapse
hehe sry ^^
but now its back to life...^^
Hi,
I want to use stock backup to made my own ROM
But I don't know how to switch with backup to a flashable ROM..
I search "kitchen" but all I find was not compatible with HTC ONE M7..
Thanks a lot for your help
nathan30 said:
Hi,
I want to use stock backup to made my own ROM
But I don't know how to switch with backup to a flashable ROM..
I search "kitchen" but all I find was not compatible with HTC ONE M7..
Thanks a lot for your help
Click to expand...
Click to collapse
you should use Google
http://forum.xda-developers.com/showthread.php?t=2626007
http://androidforums.com/motion-4g-...as-android-kitchen-deodxing-cooking-roms.html
clsA said:
you should use Google
http://forum.xda-developers.com/showthread.php?t=2626007
http://androidforums.com/motion-4g-...as-android-kitchen-deodxing-cooking-roms.html
Click to expand...
Click to collapse
You again
Thanks for your link. For the first, is it compatible with all model of phone ?
nathan30 said:
You again
Thanks for your link. For the first, is it compatible with all model of phone ?
Click to expand...
Click to collapse
Yes building a rom is pretty much the same across all htc devices
getting the updater-script correct is the tricky part
clsA said:
Yes building a rom is pretty much the same across all htc devices
getting the updater-script correct is the tricky part
Click to expand...
Click to collapse
Okay thanks a lot, I had to put "thanks" again
clsA said:
Yes building a rom is pretty much the same across all htc devices
getting the updater-script correct is the tricky part
Click to expand...
Click to collapse
Sorry to come again..
I download Kitchen by Dsixda to try. I download the rooted twrp backup and I put the file in the folder in the kitchen directory.
But kitchen say the files of the backup doesn't match and so it don't see any ROM...
The backup is composed with 3 files :
recovery.log
system.ext4.win000
system.ext4.win001
Thanks a lot..
nathan30 said:
Sorry to come again..
I download Kitchen by Dsixda to try. I download the rooted twrp backup and I put the file in the folder in the kitchen directory.
But kitchen say the files of the backup doesn't match and so it don't see any ROM...
The backup is composed with 3 files :
recovery.log
system.ext4.win000
system.ext4.win001
Thanks a lot..
Click to expand...
Click to collapse
your answer is in the first link
http://forum.xda-developers.com/showthread.php?t=2626007
This link ?
I need to unpack the file ? Because I don"t have a system.img...
nathan30 said:
http://forum.xda-developers.com/showthread.php?t=2626007
This link ?
I need to unpack the file ? Because I don"t have a system.img...
Click to expand...
Click to collapse
Here
--- Go ahead and make a copy of your boot and system backup and paste them in the original_update folder which can be found in the kitchen directory. From a 'TWRP backup' the boot.img will be originally named boot.emmc.win and the system.img will originally be named system.ext4.win. Go ahead and change them respectively to boot.img and system.img (It is that easy).
Click to expand...
Click to collapse
Yes sorry I don't read enough...
the first file (1gb) system.ext4.win000 is system
the other (53mb)system.ext4.win001 is boot.img or no ?
nathan30 said:
Yes sorry I don't read enough...
the first file (1gb) system.ext4.win000 is system
the other (53mb)system.ext4.win001 is boot.img or no ?
Click to expand...
Click to collapse
no their both system.img ..just split
just open them one at a time to the same folder
okay great. Unzip the two files, in one folder system ?
So I don't need boot.img ?
nathan30 said:
okay great. Unzip the two files, in one folder system ?
So I don't need boot.img ?
Click to expand...
Click to collapse
yes you do
the boot.img will be originally named boot.emmc.win
Click to expand...
Click to collapse
I don't have this file in the backup..
nathan30 said:
I don't have this file in the backup..
Click to expand...
Click to collapse
here's a normal backup of mine
boot.emmc.win < boot.img
boot.emmc.win.md5
cache.ext4.win
cache.ext4.win.md5
data.ext4.win < data.img
data.ext4.win.md5
recovery.emmc.win < recovery.img
recovery.emmc.win.md5
recovery.log
system.ext4.win < system.img
system.ext4.win.md5
Click to expand...
Click to collapse
all the files you need were in the orig link i gave you here
6.09.401.5
http://forum.xda-developers.com/showpost.php?p=54894697&postcount=7526
I download the backup on the thread you give me and I just have the two files...
clsA said:
here's a normal backup of mine
all the files you need were in the orig link i gave you here
6.09.401.5
http://forum.xda-developers.com/showpost.php?p=54894697&postcount=7526
Click to expand...
Click to collapse
I see your edit and I download one of this link : https://www.androidfilehost.com/?fid=23622183712462462
But there is not all the file, just the two I said before...
I had to download the ota maybe ? (557mb)
Thanks in advance
nathan30 said:
I see your edit and I download one of this link : https://www.androidfilehost.com/?fid=23622183712462462
But there is not all the file, just the two I said before...
I had to download the ota maybe ? (557mb)
Thanks in advance
Click to expand...
Click to collapse
The kernel is the boot.img
The stock recovery is their also
clsA said:
here's a normal backup of mine
all the files you need were in the orig link i gave you here
6.09.401.5
http://forum.xda-developers.com/showpost.php?p=54894697&postcount=7526
Click to expand...
Click to collapse
clsA said:
The kernel is the boot.img
The stock recovery is their also
Click to expand...
Click to collapse
Oh okayyyy, so I have to download the stock rom rooted (this http://goo.gl/zN5ARs) for the system.img
And the stock kernel (this https://www.androidfilehost.com/?fid=23622183712462443) to rename in boot.img ?
I need to put stock recovery and firmware or it's not necessary ?
nathan30 said:
Oh okayyyy, so I have to download the stock rom rooted (this http://goo.gl/zN5ARs) for the system.img
And the stock kernel (this https://www.androidfilehost.com/?fid=23622183712462443) to rename in boot.img ?
I need to put stock recovery and firmware or it's not necessary ?
Click to expand...
Click to collapse
Not needed for a custom Rom
I've been a member of the Galaxy S3, S4, Galaxy Tab 4 8.0 and now I'm proud member of the Galaxy S6 Gcommunity..
I'm a modder and I have been having a lot of trouble with decompiling and extracting the system.img..
All my old methods will not work like ext4_unpacker...
I've been looking at youtube videos among other things and came up empty..
All I need is a point in the right direction and I can do the rest..
BTW I have the Samsung G920T 128 gig model..
I've tried so many old methods, this is a new device.. I'm likely to be ignored...
But I'd appreciate the help
I dont know much about that stuff but have seen this mentioned before. http://forum.xda-developers.com/galaxy-s5/general/tool-deodex-tool-android-l-t2972025
Really depends on who ya ask for help bro..............
The Sickness said:
Really depends on who ya ask for help bro..............
Click to expand...
Click to collapse
If you don't mind me asking, @thes1ckness what tool do you use to pull a system dump from system.img for s6 firmwares?
As op said I can't seem to find the common method for doing this nowadays.
Alarand said:
If you don't mind me asking, @thes1ckness what tool do you use to pull a system dump from system.img for s6 firmwares?
As op said I can't seem to find the common method for doing this nowadays.
Click to expand...
Click to collapse
The Sickness has said to me in a PM that ImgExtractor_1_3_4 that can be found at http://forum.xda-developers.com/showthread.php?t=2667610 is an excellent simple application to extract the system.img file.. It has worked on all system.img files current and old..
Zaphodspeaks said:
The Sickness has said to me in a PM that ImgExtractor_1_3_4 that can be found at http://forum.xda-developers.com/showthread.php?t=2667610 is an excellent simple application to extract the system.img file.. It has worked on all system.img files current and old..
Click to expand...
Click to collapse
Thanks man.
Alarand said:
Thanks man.
Click to expand...
Click to collapse
I'm just passing it on.. It was @The Sickness that pointed me in the right direction..
alternative solution for img extraction/fix here
How do you compile it? That way its back into a Odin compatible system.IMG?
1619415 said:
How do you compile it? That way its back into a Odin compatible system.IMG?
Click to expand...
Click to collapse
You use Winrar to zip it up with the appropriate file structure and flash in recovery. That's if you extracted files from the image.
For a tar, follow this....
http://forum.xda-developers.com/showthread.php?t=2665283
1619415 said:
How do you compile it? That way its back into a Odin compatible system.IMG?
Click to expand...
Click to collapse
For remaking system.img you do need make_ext4fs:
make_ext4fs -s -S file_contexts -l <system size> -a system system.img /directory/to/system/folder
System size can be found by dh command
File_contexts should be extracted from kernel ramdisk
I'm unable to figure out how to convert the boot.bin file I extracted from the firmware.kdz file. Magic iso won't convert the bin file to img file. So do I just change the extension from .bin to .img? Something tells me it's not that simple.
Btw I'm asking because I'm trying to build a rom. So I'm gonna need this boot.img to be able to boot in my rom. Any help is appreciated.
Or if someone could point me in the right direction for pulling the boot.img from my phone with adb, that would work too. All the guides I found are for different devices with different partition names. And a lot of the commands aren't working for me.
Sent from my LG-H811 using Tapatalk
Mikekelso421 said:
I'm unable to figure out how to convert the boot.bin file I extracted from the firmware.kdz file. Magic iso won't convert the bin file to img file. So do I just change the extension from .bin to .img? Something tells me it's not that simple.
Btw I'm asking because I'm trying to build a rom. So I'm gonna need this boot.img to be able to boot in my rom. Any help is appreciated.
Or if someone could point me in the right direction for pulling the boot.img from my phone with adb, that would work too. All the guides I found are for different devices with different partition names. And a lot of the commands aren't working for me.
Sent from my LG-H811 using Tapatalk
Click to expand...
Click to collapse
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img
Google~Android said:
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img
Click to expand...
Click to collapse
I'll try it and let you know if I have success. Thanks for your response.
Sent from my LG-H811 using Tapatalk
Did it work, or not? I have the same question.
If you have root you can use app 'Partitions Backup & Restore' by Wanam from app store to pull any partition from your phone.
fofopuka said:
Did it work, or not? I have the same question.
Click to expand...
Click to collapse
it work for me i just fix my Tecno WX3P that stuck at boot
Tech_Savvy said:
You answered the question urself... Just change the file extension from bin to img.. Ive done that before and it works... U can do a adb pull dev/block/bootdevice/by-name/boot.img
Click to expand...
Click to collapse
That's what I needed to know !
I've been looking through a couple of xda thread about it, found a few solutions. I managed to unpack from the .tar file, got the img.lz4 file and from that the .img and from .img to .img.ext4, but the .ext4 file is too small compared to the original .img file, so I guess the older SVAImgUnpack doesnt do the job correctly and can't open it with ext2explore. Is there any other software to use for this?
Nevermind, I've found a program for it.
Dummen said:
Nevermind, I've found a program for it.
Click to expand...
Click to collapse
which program you used to extract, kindly share it, i need to extract modem files
hahmad78 said:
which program you used to extract, kindly share it, i need to extract modem files
Click to expand...
Click to collapse
I think it was this, Im not sure.