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
Related
hi, please i need help about unpack and repack galaxy mini stock roms (.tar.md5) cause i wanna remove bootloader (arm11boot) to avoid physical domage to my mini;
i didn't find the rom what im searching for in this thread: http://forum.xda-developers.com/showthread.php?t=1551586
i need this middle east rom: http://www.hotfile.com/dl/155191960/b13d98c/S5570JPKT2_S5570OJPKT2_EGY.zip.html but without bootloader;
thankx
Send a pm to annson08.. Include the link and he may do it for you..
kitrax59 said:
Send a pm to annson08.. Include the link and he may do it for you..
Click to expand...
Click to collapse
Don’t give me a fish, teach me how to fish.
I would like to help you fishing but I'M NOT RESPOSIBLE IF YOU ENDED BY CACHING A SHARK
I had downloaded a rom with removed bootloader from annson08 thread, by opening the .tar archive i noticed that he did just removed the arm11boot file from the package nothing else.
so maybe removing this file from your ROM and flashing it like usual will do the trick
Do It At Your Own Risk
Unpack rom..search bootanimation.zip.....replace with any other of ur choice
....repack
Sent from my GT-S5570 using xda premium
bilel2301 said:
hi, please i need help about unpack and repack galaxy mini stock roms (.tar.md5) cause i wanna remove bootloader (arm11boot) to avoid physical domage to my mini;
i didn't find the rom what im searching for in this thread: http://forum.xda-developers.com/showthre...?t=1551586
i need this middle east rom: http://www.hotfile.com/dl/155191960/b13d...Y.zip.html but without bootloader;
thankx
Click to expand...
Click to collapse
unpack rom and its contents
open boot.image
in that remove arm11 boot
pack your rom !
flash it via odin
abdovar said:
I would like to help you fishing but I'M NOT RESPOSIBLE IF YOU ENDED BY CACHING A SHARK
I had downloaded a rom with removed bootloader from annson08 thread, by opening the .tar archive i noticed that he did just removed the arm11boot file from the package nothing else.
so maybe removing this file from your ROM and flashing it like usual will do the trick
Do It At Your Own Risk
Click to expand...
Click to collapse
i know that he just removed arm11boot but when i did that with many method i didn't succed to add it to "odin multi downloader" it crashs every time when i add the new file without bootloader i think that is not just unpack,remove and repack there is something special to make odin fish a fish not a shark
bilel2301 said:
i know that he just removed arm11boot but when i did that with many method i didn't succed to add it to "odin multi downloader" it crashs every time when i add the new file without bootloader i think that is not just unpack,remove and repack there is something special to make odin fish a fish not a shark
Click to expand...
Click to collapse
He wrote it in his thread...
I believe the method requires linux (/cygwin)...
Edit: no, I couldn't find it... :sad:
Typed on a small touchscreen
a.cid said:
He wrote it in his thread...
I believe the method requires linux (/cygwin)...
Edit: no, I couldn't find it... :sad:
Typed on a small touchscreen
Click to expand...
Click to collapse
yeah i used cygwin too but i failed to make the output file work on odin!!!
i used this method from yagya:
Code:
cd firmware_directory
// Goes inside firmware directory
tar -cf firmware_name.tar amss mibib oemsbl qcsbl boot.img recovery.img system.rfs csc.rfs
// This will create a tar_file named firmware_name.tar containing all the files mentioned afterwards. You'll need to check if all files except arm11boot are included or not and add (or remove) to or from above list.
md5sum firmware_name.tar >> firmware_name.tar
// Checks md5sum of the tar file.
mv firmware_name.tar >> firmware_name.tar.md5
// Renames the firmware file. The outcome of this is your flashable zip file.
[optional] gzip firmware_name.tar.md5
//zips the firmware_name.tar.md5 file as gz format. It is easier while sharing the file since it reduces the file size by almost 50 %.
you did everything correct but the problem of Odin crashing is its a md5 file then you remove the arm11boot md5 of file changes which makes the Odin crash
steps to correct it:-
1. extract everything from package
2. delete arm11boot
3. then download a software which can create a tar package
4. with that software create an empty tar package
5. put all the files in that tar package
then then you are ready to flash
dhlalit11 said:
you did everything correct but the problem of Odin crashing is its a md5 file then you remove the arm11boot md5 of file changes which makes the Odin crash
steps to correct it:-
1. extract everything from package
2. delete arm11boot
3. then download a software which can create a tar package
4. with that software create an empty tar package
5. put all the files in that tar package
then then you are ready to flash
Click to expand...
Click to collapse
it doesn't work also!!!! i flash it with (.tar) odin freeze in "download amss" and with (.tar.md5) odin crash also like using cygwin!!! i think that i really need help from annson08, i pm him but he didn't answer :/ :/
bilel2301 said:
it doesn't work also!!!! i flash it with (.tar) odin freeze in "download amss" and with (.tar.md5) odin crash also like using cygwin!!! i think that i really need help from annson08, i pm him but he didn't answer :/ :/
Click to expand...
Click to collapse
hey sorry for the late reply, really busy at the moment. I believe yagya made a tutorial about this...wait....hmmmm....ahh here it is,
http://handyinformation.freevar.com/showthread.php?tid=8&pid=12#pid12
that's not how I do things but that link also works.
annson08 said:
hey sorry for the late reply, really busy at the moment. I believe yagya made a tutorial about this...wait....hmmmm....ahh here it is,
http://handyinformation.freevar.com/showthread.php?tid=8&pid=12#pid12
that's not how I do things but that link also works.
Click to expand...
Click to collapse
the link that you send to me is the link of my thread in yagya's forum
i try yagya's method but it doesn't work for me :/ :/
please when you have time pm how to do it thankx
Hello,
After so much time of no one figuring out how the bcm21533 overclocks, and after I examined the kernel sources and found nothing, I started thinking the override that blocks frequencies over 832mhz was outside of the kernel
So if you unzip a firmware, you'll find that BcmCP.img is the only file that is not "vanilla android" for so to say. And "Bcm" really suggests it's part of broadcom
I tried to extract or mount the file but I have no idea what filesystem it is
I think there might be a chance that this file might have an override because if you search 00b20c00 you get 2 matches. But you don't really know what's going on until you figure out how to extract BcmCP.img
So that's why I posted this thread. Maybe someone can figure out how to open this img file :victory:.
If no one does i'll still try to find it myself but I could use some help from people that know more than me about android
stupid question, i know....
but you know you have to use a linux distro?
Yes. I dont know what filesystem is it though
Sent from my GT-S5830i using xda app-developers app
You need this to unpack :
[KITCHEN] Android Kitchen, v0.211 [Linux / Mac / Windows]
unpack it?
Did you manage to find how to unpack it?
I want to do the same thing.
saykou said:
Did you manage to find how to unpack it?
I want to do the same thing.
Click to expand...
Click to collapse
1 and a half years later :thumbup:
Yes, sure, but if you flash a wrong BcmBP.img = phone hard brick !
Galaxy_Ace_Love said:
Yes, sure, but if you flash a wrong BcmBP.img = phone hard brick !
Click to expand...
Click to collapse
No problem , how have you done it?
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
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...
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 !