Extract Build Number and baseband From Rom Flie with a script - Android General

Hi Forum Members,
How can i extract build number and baseband from a rom file , i've zip file extracted with those files inside :
AP_G930FXXU1DQBQ_CL10273029_QB12503844_REV00_user_low_ship_meta.tar.md5
BL_G930FXXU1DQBQ_CL10273029_QB12503844_REV00_user_low_ship.tar.md5
CP_G930FXXU1DPLT_CL10273029_QB12087645_REV00_user_low_ship.tar.md5
CSC_DPX_G930FDPX1DQB5_CL10456414_QB12558228_REV00_user_low_ship.tar.md5
HOME_CSC_DPX_G930FDPX1DQB5_CL10456414_QB12558228_REV00_user_low_ship.tar.md5
i try to check with those tool without luck ext4_unpacker and ext2explore.
Any recommendation to do it via scripts ?
Thanks!

Related

[Q] How to make a rom from kernel.tar.gz file

Man I was trying to make a rom from source and I came across my kernel.tar.gz and ics.tar.gz file for my tc 88xx cpu
so how can I use those files to make a rom
Please help me man thanks in advance
karan1038 said:
Man I was trying to make a rom from source and I came across my kernel.tar.gz and ics.tar.gz file for my tc 88xx cpu
so how can I use those files to make a rom
Please help me man thanks in advance
Click to expand...
Click to collapse
To build a custom ROM extract the source code from the ics.tar.gz file (I would recommend using a program like 7-Zip). Once you have done that take the System folder that should be in the source code you extracted, create a new folder called MyROM, and put the source code for the System folder in the MyROM folder. Next extract the boot.img file for your ROM by extracting the boot partition of your stock ROM, and place it in the MyROM folder. Third, take a working META-INF folder that contains the standard Android update-binary, and a working updater script for your device, and place the META-INF folder in the MyROM folder. Once you have the System folder, Boot.img file, and META-INF folder in the MyROM folder, use 7-Zip to create a zip file containing the MyROM folder. After this flash the .zip file you created in recovery and you should have a custom. First off, for building a custom kernel if you extract the kernel source from the kernel.tar.gz file using 7-Zip, there should be a read-me or other type of documentation describing how to compile the kernel source code you downloaded. If there isn't any documentation I recommend taking a look at this guide on building your first kernel. While these are just a general outline of what you have to do, if you have any questions feel free to ask .
Re: [SOLVED] How to make a rom from kernel.tar.gz file
Shimp208
Man i can upload ics.tar.gz and kernel.tar.gz can you please help me to make an android rom
karan1038 said:
Shimp208
Man i can upload ics.tar.gz and kernel.tar.gz can you please help me to make an android rom
Click to expand...
Click to collapse
If you send me the links I will be happy to help you out and I'll try my best to assist you as best I can.
shimp208 said:
To build a custom ROM extract the source code from the ics.tar.gz file (I would recommend using a program like 7-Zip). Once you have done that take the System folder that should be in the source code you extracted, create a new folder called MyROM, and put the source code for the System folder in the MyROM folder. Next extract the boot.img file for your ROM by extracting the boot partition of your stock ROM, and place it in the MyROM folder. Third, take a working META-INF folder that contains the standard Android update-binary, and a working updater script for your device, and place the META-INF folder in the MyROM folder. Once you have the System folder, Boot.img file, and META-INF folder in the MyROM folder, use 7-Zip to create a zip file containing the MyROM folder. After this flash the .zip file you created in recovery and you should have a custom. First off, for building a custom kernel if you extract the kernel source from the kernel.tar.gz file using 7-Zip, there should be a read-me or other type of documentation describing how to compile the kernel source code you downloaded. If there isn't any documentation I recommend taking a look at this guide on building your first kernel. While these are just a general outline of what you have to do, if you have any questions feel free to ask .
Click to expand...
Click to collapse
Amazing!!!!
camy rock said:
Amazing!!!!
Click to expand...
Click to collapse
I should clarify that the source does not always include the /system folder sometimes companies will provide this and other times they won't. The other way to get the /system folder is to use adb and pull the system folder with a command similar to:
Code:
adb pull /system
Also this is just one example of a procedure that could be used to build a custom ROM from the stock ROM that originally ships with the phone. The procedure for building Cyanogenmod for example or another AOSP based ROM would be very different.
shimp208 said:
To build a custom ROM extract the source code from the ics.tar.gz file (I would recommend using a program like 7-Zip). Once you have done that take the System folder that should be in the source code you extracted, create a new folder called MyROM, and put the source code for the System folder in the MyROM folder. Next extract the boot.img file for your ROM by extracting the boot partition of your stock ROM, and place it in the MyROM folder. Third, take a working META-INF folder that contains the standard Android update-binary, and a working updater script for your device, and place the META-INF folder in the MyROM folder. Once you have the System folder, Boot.img file, and META-INF folder in the MyROM folder, use 7-Zip to create a zip file containing the MyROM folder. After this flash the .zip file you created in recovery and you should have a custom. First off, for building a custom kernel if you extract the kernel source from the kernel.tar.gz file using 7-Zip, there should be a read-me or other type of documentation describing how to compile the kernel source code you downloaded. If there isn't any documentation I recommend taking a look at this guide on building your first kernel. While these are just a general outline of what you have to do, if you have any questions feel free to ask .
Click to expand...
Click to collapse
what if the kernel source code doesnt have a system folder?
Got the same issue with alcatel pop 4 5051d
shimp208 said:
To build a custom ROM extract the source code from the ics.tar.gz file (I would recommend using a program like 7-Zip). Once you have done that take the System folder that should be in the source code you extracted, create a new folder called MyROM, and put the source code for the System folder in the MyROM folder. Next extract the boot.img file for your ROM by extracting the boot partition of your stock ROM, and place it in the MyROM folder. Third, take a working META-INF folder that contains the standard Android update-binary, and a working updater script for your device, and place the META-INF folder in the MyROM folder. Once you have the System folder, Boot.img file, and META-INF folder in the MyROM folder, use 7-Zip to create a zip file containing the MyROM folder. After this flash the .zip file you created in recovery and you should have a custom. First off, for building a custom kernel if you extract the kernel source from the kernel.tar.gz file using 7-Zip, there should be a read-me or other type of documentation describing how to compile the kernel source code you downloaded. If there isn't any documentation I recommend taking a look at this guide on building your first kernel. While these are just a general outline of what you have to do, if you have any questions feel free to ask .
Click to expand...
Click to collapse
So glad to see this thread. Mine is an alcatel pop 4 5051d. After extracting, i saw a .com file of about 650mb in size. Please, what do i do from here? d file: https://drive.google.com/uc?export=download&confirm=zM0d&id=0Byi69Jpw2ZDtcTFBX0FzMXBkajg

[Q] Extract .IMG file

Can someone who is running Linux OS help me extract .IMG files in this .RAR file so I can flash it via .CWM and delete apps I don't need before flash,
http://www.minix.com.hk/Support/14030616541054.html

[Q] How can i flash a phone with .bin file ?

Hi, i've downloaded a ROM for my phone and it doesn't has the scatter file and img files, just a .bin file, how can i flash my phone with this file ?

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT [No Cygwin] [No Linux]
***(Marshmallow Supported)***
Develop by MTK THAI ROM MODDER (Thiland) Group
Create Tool by: Kritsada Chaitan
SS:
Youtube : https://www.youtube.com/watch?v=nKYozWOETIU
-NOTE 1.-
***First Install Needed For Use This Tool.***
1. Java SDK
2. Python v3.xx
-NOTE 2.-
***First Copy system.new.dat , system.transfer.list To "Paste-DAT-Here" Folder.***
Download:
MEGA
Thank you Original Thread by: "xpirt" https://forum.xda-developers.com/member.php?u=5132229
Thanks for the tool
Bebooo43 said:
Thanks for the tool
Click to expand...
Click to collapse
Good.... ^^
It is a wonderful tool, brother.
is this tool works fine?
Getting error about incompatible operating system when recompressing dat so I tried on windows and got the same do I have to install the java or the phyton to a certain directory or the auto tool to a certain directory it extracted fine thanks in advance for the feedback
Can someone lend a hand.... Program works great. After removing a couple apps, one from 'app' another from 'priv-app', I made a zip file with 7zip and tried flashing but it fails. Is 7zip okay to make a zip file? was I not supposed to remove a 'priv-app' ? I can't find any solid guides on editing a MM rom. thanks in advance.
i succesfully unpack .dat files and repack .dat files (without edit anything) using this tool .
then i replace the repack .dat file to the rom and zip it and flash it .
but the problem is, when i flash i get error 7 system partition has unexpected contents after ota update . any solution ?
can't unpack system.new.dat cm14 (7.1)
Thank you very much, really useful
update - https://forum.xda-developers.com/an...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Is it work for N based ROMs
tooolll
worked for me also...
t.y.
please update it to new version waiting for it.

[Tool] unpack Repack nb0 Rom

***********************Unpack Repack nb0 Rom******************
Here Is a nb0 tool that unpacks and packs SUT nb0 factory images Used By Some manufactures like Infocus,
Requirements-
Window pc with java Installed
How to unpack
1. Paste your stock Rom File, something.nb0 in Tools Folder
2. Rename it to firmware.nb0
3. Run unpack.exe file hit enter , Done, check unpack Folder Your extracted Rom IS Present,
How To Repack-
1. cut whole Rom From unpack folder and paste in Repack Folder[ you can edit your images],
Like System app etc, don't change name]
2. Run Pack.exe hit enter Done,
3. Your New Rom Is readdy with the name System.nb0 in tools folder
Downloads-
MOD Edit :- Links Removed
bro after i unpack firmware.nb0 file theres no file that related to system.img.???
Incomplete unpacking
Sir please help to completely unpack nb0 file as sut is not working nor my phone's flashier with scatter file is available online. My phone is Infocus m330 with mediatek mt6592 chipset. It's bootloader locked with hard brick that not showing any sign of active other than when connected to pc can be flashed with v com drivers
Please help
Going to test it now ?
Thank you mate
link is dead
Thread Closed.
Thanks
SacredDeviL666.

Categories

Resources