SYSTEM.IMG - Huawei Mate 20 X Questions & Answers

I need a stock "system.img" file. Any will do at this point. Also, what is the command line with ADB in fastboot? Any help would be appreciated....

Steamer2499 said:
I need a stock "system.img" file. Any will do at this point. Also, what is the command line with ADB in fastboot? Any help would be appreciated....
Click to expand...
Click to collapse
I think on telegram OpenKirin group you can find the files that you need. someone asked yestarday

Here are guides https://openkirin.net/support/ that show you step by step how to download stock firmware, how to extract partition images and how to flash them among other guides.

Related

[Q] How to edit system.img

I downloaded factory image from code.google.com,and I extracted a file who name is system.img,but I don't know how can I unpack it.
I don't know unpack it with what software,Is not always able to unpack the file when I
tried some softwares.(yaffs2img,winimage,winRAR and something else)
what is a right way to extract and edit it?
Thank you!
you don't extract .img files.... you flash the img file through fastboot.
google on how to use fastboot for more details.
You can extract them just fine. I used dsixda's kitchen to extract system.img so that I could pull the gapps.
zephiK said:
you don't extract .img files.... you flash the img file through fastboot.
google on how to use fastboot for more details.
Click to expand...
Click to collapse
I just want make it into zip file and flash it with recovery,facilitate I edit a rom.
zephiK said:
you don't extract .img files.... you flash the img file through fastboot.
google on how to use fastboot for more details.
Click to expand...
Click to collapse
mwalt2 said:
You can extract them just fine. I used dsixda's kitchen to extract system.img so that I could pull the gapps.
Click to expand...
Click to collapse
Dsixda's kitchen? Can it unpack the system.img? Actually,I want delete some gapps and edit this rom.
8723045587230455 said:
Dsixda's kitchen? Can it unpack the system.img? Actually,I want delete some gapps and edit this rom.
Click to expand...
Click to collapse
Yes, it works ok. Just put the system.img in the original update and choose to make a rom from that file. It will guide you through extracting the system.img. You might be able to get it to build the entire rom if you just zip all of the .img's together and choose that for the input file.
Thank you so much and I'll try. ^^
You can use http://forum.xda-developers.com/showpost.php?p=15333542& postcount=135 to convert the image to an .ext4.img and then use http://www.diskinternals.com/linux-reader/ to mount (if you are using Windows).
Sent from my Galaxy Nexus using Tapatalk
efrant said:
You can use http://forum.xda-developers.com/showpost.php?p=15333542& postcount=135 to convert the image to an .ext4.img and then use http://www.diskinternals.com/linux-reader/ to mount (if you are using Windows).
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
I'm glad i found your post on here. Greatly appreciate it! :victory:

{S-OFF}Splash Screen for Verizon HTC One M9

it appears you can use splashes from the M7 and M8 just take splash.565 or splash1.img and rename to splash1.nb0 and place in empty zip
Big thanks to @iElvis for the VZW android-info.txt and zip
to make your own splash use
[APP] Splash Image Converter And Flasher 2.0
http://forum.xda-developers.com/showthread.php?t=2316060
You must have adb installed.
put splash zip in your platform-tools folder
adb reboot bootloader
fastboot oem rebootRUU
fastboot flash zip ZIP FILE NAME.zip
fastboot reboot
NOT RESPONSIBLE FOR EPIC FAILS
Here is a couple i kanged
awesome job many thanks!
just a FYI the android-info.txt says 1.32.401.15, while the one for VZW is 1.33.605.15.
can prolly just edit it to say the correct number, but not 100%
Looks nice. I need that black one. Thanks for finding this out..
i changed the version in the info and fast flashed it worked but since it doesn't really effect anything and becuz im fat and lazy gonna leave it :silly:
Any chance of more detailed instructions for those of us not familiar with those tools? I would really like to try to make my own.
xgerryx said:
Any chance of more detailed instructions for those of us not familiar with those tools? I would really like to try to make my own.
Click to expand...
Click to collapse
what you need help with
Karl said:
what you need help with
Click to expand...
Click to collapse
Just like, more dumbed down instructions. What is the platform-tools folder, where do those commands get entered specifically. I tried them in ADB shell and nothing was working. The .bat program was giving me an error about the adb program not being installed. So I guess like a more detailed list maybe?
xgerryx said:
Just like, more dumbed down instructions. What is the platform-tools folder, where do those commands get entered specifically. I tried them in ADB shell and nothing was working. The .bat program was giving me an error about the adb program not being installed. So I guess like a more detailed list maybe?
Click to expand...
Click to collapse
hmm i see... platform-tools folder is a folder inside android sdk program folder.. those commands are entered in command prompt ...in adb shell
the big thing is you need to learn how to use adb and install adb give these a look over
http://forum.xda-developers.com/showthread.php?t=2317790
http://forum.xda-developers.com/showthread.php?t=2141817
http://forum.xda-developers.com/showthread.php?t=517874
http://forum.xda-developers.com/showthread.php?t=2266638
http://forum.xda-developers.com/showthread.php?t=1474956
https://developer.android.com/tools/help/adb.html
Karl said:
hmm i see... platform-tools folder is a folder inside android sdk program folder.. those commands are entered in command prompt ...in adb shell
the big thing is you need to learn how to use adb and install adb give these a look over
http://forum.xda-developers.com/showthread.php?t=2317790
http://forum.xda-developers.com/showthread.php?t=2141817
http://forum.xda-developers.com/showthread.php?t=517874
http://forum.xda-developers.com/showthread.php?t=2266638
http://forum.xda-developers.com/showthread.php?t=1474956
https://developer.android.com/tools/help/adb.html
Click to expand...
Click to collapse
Thank you so much! That explains why I couldn't find the fastboot part of it too. I'll do my homework and figure it all out
Karl said:
i changed the version in the info and fast flashed it worked but since it doesn't really effect anything and becuz im fat and lazy gonna leave it :silly:
Click to expand...
Click to collapse
nice thanks for testing. I'm OCD and I like the OS to say the correct one in download mode, makes no different though.
I haven't seen this anywhere yet but does anyone know the name (IE: 0P6BIMG.zip) to flash in bootloader like before? is this still an option? I noticed bootloader doesn't look for zips anymore.
Evocm7 said:
I haven't seen this anywhere yet but does anyone know the name (IE: 0P6BIMG.zip) to flash in bootloader like before? is this still an option? I noticed bootloader doesn't look for zips anymore.
Click to expand...
Click to collapse
ive seen this
Karl said:
ive seen this
Click to expand...
Click to collapse
That's download mode (there is no fastboot usb on the M9).
The file name is 0PJAIMG.ZIP.
That's zero p j a i m g.zip
You need to have the right android-info.txt in the file.
hgoldner said:
That's download mode (there is no fastboot usb on the M9).
The file name is 0PJAIMG.ZIP.
That's zero p j a i m g.zip
You need to have the right android-info.txt in the file.
Click to expand...
Click to collapse
:good:thats the only thing ive seen calling for a zip in reference to his question but it was in download not in boot , wasnt sure of its name or if it was still using them
Didn't think of that. Thanks guys
made the black version splash for updated firmware 2.6.605.10
md5: 9f1ffddf81eafd8115360151e10ce3ea
enjoy
good
has anyone been able to go back to stock splash screen after flashing a splash screen? re flashed firmware, reflashed stock aboot (in android development thread), reflashed no red text aboot (in android development thread), and still see first installed black splash screen. can anyone help? just want to go back to completely stock no custom splash screen.
nice didn't know you could do that
magesticschu said:
has anyone been able to go back to stock splash screen after flashing a splash screen? re flashed firmware, reflashed stock aboot (in android development thread), reflashed no red text aboot (in android development thread), and still see first installed black splash screen. can anyone help? just want to go back to completely stock no custom splash screen.
Click to expand...
Click to collapse
If the stock splash isn't in either of the firmware.zips, RUU may be only way. Unless the M8 one works.

[q] please please please help me

Hi all, I'm still on viper 2.5.0, Could someone PLEASE PLEASE PLEASE Give me a comprehensive instruction on how to upgrade to the latest viper and what specific files i need and how to get from 4.4.3 to the latest firmware and how to do it. PLEASE PLEASE PLEASE. Sorry in advance for the noob question :crying::crying::crying:
Please please please give us the output of adb getvar all (delete IMEI and serial number before posting) for us to help you.
ok will do now cheers
soz to be a pain but how do you do that again ??? soz
madant2011 said:
soz to be a pain but how do you do that again ??? soz
Click to expand...
Click to collapse
Literally, just the command: adb getvar all
If you need more guidance than that, just use the XDA search function with the term "easy adb" and you will get links for some good simple adb installers and beginner guides.
hear you go
The following thread describes how to flash firmware. You want the 4.16.401.10 firmware from the link on this thread.
http://forum.xda-developers.com/showthread.php?t=2696282
After that, you can unlock the bootloader again, install custom recovery, and flash the current version Viper.
thank you so much but which spesific 1 as there are different ones eg radios ????
madant2011 said:
thank you so much but which spesific 1 as there are different ones eg radios ????
Click to expand...
Click to collapse
If you clicked on the thread I linked in my last post, then go to "Downloads", then click "Firmware collection", go to "HTC_One_M8", than select the "401" folder, there is just one download for 4.16.401.10.
Here's the direct link: https://www.androidfilehost.com/?w=files&flid=32781
---------- Post added at 01:52 PM ---------- Previous post was at 01:51 PM ----------
madant2011 said:
thank you so much
Click to expand...
Click to collapse
There's a button for that.
got it and downloading now, do i have to rename the file and then flash via the oem reboot ruu ???
do i have to rename the file and then flash via the oem reboot ruu ???
madant2011 said:
do i have to rename the file and then flash via the oem reboot ruu ???
Click to expand...
Click to collapse
The instruction in the thread (linked in Post #7 above) describe in detail how to flash the firmware.
You don't need to rename the file, as long as you type the exact file name when you issue the command: fastboot flash zip firmware.zip
(where "firmware.zip" is the actual file name). Example in this case would be: fastboot flash zip 4.16.401.10.zip
Some folks like to change the filename to actually be "firmware.zip" (no quotes) so that the command is easier to type.
But be aware if you do this on PC, be careful that you don't have the Windows option enabled to hide file extensions; which is normally enabled by default. You may rename the file "firmware.zip.zip" and not know it, as the screen will display "firmware.zip". This will result in errors, since the computer will try to flash a file name that is not really there.
redpoint73 you are a god, Thank you so much, i done it and all i need to do now is get 1 of the latest rom on here now thank you so so much

Rooting LG H735 G4 Beat

hi, tried to search everywhere but to no avail soo far.. does anyone knows if there is an existing root guide for LG G4 Beat? its sort of a diff model but there's no sub for it so i guess ill put it at here since its still under G4 family.. :/
Do you have Android 5.0 or 5.1 installed?
First of all. Before you start to try root, download the kdz file for your phone.
The kdz is needed if something went wrong (e.g. phone not booting).
You can use the LG Flash Tool to flash the kdz to a bricked phone.
Use this link with your IMEI:
Code:
http://csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=IMEI
If it works, please post the download link for the "kdz".
Or better post the output too, but delete your IMEI!
Your link will only work if you type:
csmgdl.lgmobile.com/dn/downloader.dev?fileKey=
and then add the rest of your url instead of the given link.
It's worth trying. You need to get a partition layout. Then @autoprime will give a full command to run in DL mode for dumping the system image, and flashing it once it's been injected with root. I can inject it for you once you have the system.img dump.
I wrote an guide how you can extract the GPT and calculate the dd parameters:
[How to] Determine dd Parameters For All LG G4 Models
http://forum.xda-developers.com/g4/h...lg-g4-t3184867
Do you know how to work with linux?
Please post the outputs of gdisk into a HIDE and CODE tag. Thank you.
Maybe you are a advanced user and can Inject root yourself with the autoroot.sh method (Inject_Root_G4.zip)?
Or do you need help?
I think you have Android 5.1.1 installed, so it is not possible to use Kingroot to root your device. Is that right?
dominik-p said:
I wrote an guide how you can extract the GPT and calculate the dd parameters:
[How to] Determine dd Parameters For All LG G4 Models
http://forum.xda-developers.com/g4/h...lg-g4-t3184867
Do you know how to work with linux?
Click to expand...
Click to collapse
Wow, thanks for that guide! I've been trying to figure out how to find the right dd params forever.
tabp0le said:
Wow, thanks for that guide! I've been trying to figure out how to find the right dd params forever.
Click to expand...
Click to collapse
Pleasure.
I think some people also knew how to do it, but no one wanted to write a guide.
AND ALWAYS CONSIDER:
You can brick your phone if you don't know what you are doing.
Backup your files before you change anything.
i think i got the link for the KDZ.. but when i
dominik-p said:
Do you have Android 5.0 or 5.1 installed?
First of all. Before you start to try root, download the kdz file for your phone.
The kdz is needed if something went wrong (e.g. phone not booting).
You can use the LG Flash Tool to flash the kdz to a bricked phone.
Use this link with your IMEI:
[CODEcsmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=IMEI[/CODE]
If it works, please post the download link for the "kdz".
Or better post the output too, but delete your IMEI!
Your link will only work if you type:
csmgdl.lgmobile.com/dn/downloader.dev?fileKey=
and then add the rest of your url instead of the given link.
Click to expand...
Click to collapse
ok i think i did it correctly.. heres the link
downloader.dev?fileKey=FWDEYI0132FMAUI263CCLO1/H73510b_00.kdz (had to cut it short cuz forum would not let me post new link :/ csmgdl.lgmobile.com/dn/ was before 'downloader')
heres the output file..
<response req_cmd="auth_model_check" status="OK">
<auth_model_check><result>OK</result>
<esn>-----MYIMEI----</esn>
<model>LGH735</model><suffix>ASEATS</suffix><msn>508KPUU032390</msn><esn_date/>
<sw_version>H73510B_00</sw_version>
<sw_url>fileKey=FWDEYI0132FMAUI263CCLO1/H73510b_00.kdz</sw_url> pkg03.lime.gdms.lge.com/dn/downloader.dev?
<sw_locale_url/><sw_recommand_uri/><app_version/><app_url/>
<cs_em_flag>N</cs_em_flag>
<cs_em_uri>N</cs_em_uri>
<chip_type>EG</chip_type>
<prod_type>2</prod_type>
<buyer>SEA</buyer>
<file_name>H73510b_00.kdz</file_name>
</auth_model_check></response>
and yes its 5.1..
would be nice if theres a step by step guide cuz last phone i tired rooting was prolly galaxy tab and it was wayy easier :/
Ok, well done. Is 10b the same version as currently installed on your device?
Some other details would be interesting:
Do you have an unbranded device?
Where did you buy it / where do you live? (country)
Are you an advanced user? Do you know how to work with linux?
The next steps will be:
Calculate your dd parameters and backup your system partition into a img file. Read my guide:
[How to] Determine dd Parameters For All LG G4 Models
http://forum.xda-developers.com/g4/h...lg-g4-t3184867
Please post the outputs of gdisk into a HIDE and CODE tag.
Post your calculated dd parameters, so that we can verify it.
IMPORTANT: Keep the original (unchanged) system.img on your computer (zip it).
Then:
Copy the img file to a linux system and mount it. Create a testfile (test.txt) on the mounted system partition.
Copy the img file back to your phone and try to "dd" it back over your system partition.
Check if you see the testfile on your system partition.
If that worked you have successfully overwritten your system partition.
Then:
Try to inject root with the Inject_Root_G4.zip on your linux system.
Copy the new img file to your phone and "dd" it over your system partition.
Please ask if you are not 100% sure what to do.
You are responsible for what you are doing with your device.
Backup all your data (photos, videos, messages...) before going one step further.
dominik-p said:
Ok, well done. Is 10b the same version as currently installed on your device?
Some other details would be interesting:
Do you have an unbranded device?
Where did you buy it / where do you live? (country)
Are you an advanced user? Do you know how to work with linux?
The next steps will be:
Calculate your dd parameters and backup your system partition into a img file. Read my guide:
[How to] Determine dd Parameters For All LG G4 Models
http://forum.xda-developers.com/g4/h...lg-g4-t3184867
Please post the outputs of gdisk into a HIDE and CODE tag.
Post your calculated dd parameters, so that we can verify it.
IMPORTANT: Keep the original (unchanged) system.img on your computer (zip it).
Then:
Copy the img file to a linux system and mount it. Create a testfile (test.txt) on the mounted system partition.
Copy the img file back to your phone and try to "dd" it back over your system partition.
Check if you see the testfile on your system partition.
If that worked you have successfully overwritten your system partition.
Then:
Try to inject root with the Inject_Root_G4.zip on your linux system.
Copy the new img file to your phone and "dd" it over your system partition.
Please ask if you are not 100% sure what to do.
You are responsible for what you are doing with your device.
Backup all your data (photos, videos, messages...) before going one step further.
Click to expand...
Click to collapse
what do u mean 10b?
not really unbranded i guess? its a mid-tier version of the LG G4.. this is the phone.. http://www.lg.com/sg/mobile-phones/lg-G4-Beat
dont think its out at the US yet
bought it at Singapore as i recontacted my phone
nope i dont know how to use linux and im %100 not sure what to do :crying:
Ok so you are not a advanced user?
10b is the version of the kdz file. Goto Settings->Phone info->software version on your phone and post your software version.
First of all: It is not possible to root your phone without linux!
You don't have to install a linux on your computer (physically) but at least in an virtual environment (virtualbox, vmware player) or as a live distribution.
What you can do without linux is try to extract the GPT.
Which OS is installed on your computer (Win 7, 8, 10)?
Download the LG_Root.zip from
http://forum.xda-developers.com/android/development/guide-root-method-lg-devices-t3049772
It contains the Send_Command.exe
You need this tool to open a special console when your phone is in download mode.
Do you know this tool and how to enter the download mode?
dominik-p said:
Ok so you are not a advanced user?
10b is the version of the kdz file. Goto Settings->Phone info->software version on your phone and post your software version.
First of all: It is not possible to root your phone without linux!
You don't have to install a linux on your computer (physically) but at least in an virtual environment or as a live distribution.
What you can do without linux is try to extract the GPT.
Which OS is installed on your computer (Win 7, 8, 10)?
Download the LG_Root.zip from
http://forum.xda-developers.com/android/development/guide-root-method-lg-devices-t3049772
It contains the Send_Command.exe
You need this tool to open a special console when your phone is in download mode.
Do you know this tool and how to enter the download mode?
Click to expand...
Click to collapse
no im not an advanced user..
its software version is : V10b-SEA-XX
so i guess its a 10b?
im using windows 7 right now
Yes you have 10b installed now.
The XX means that it is unbranded.
SEA means southeast asia.
Win 7 is fine. Send_Command will work.
Download the zip from the above-mentioned thread.
Then:
Power off your device
When the device is powered off, hold volume up and insert a USB cable connected to the PC
Wait for the drivers to install
Click to expand...
Click to collapse
and follow the steps 7-9.
dominik-p said:
Yes you have 10b installed now.
The XX means that it is unbranded.
SEA means southeast asia.
Win 7 is fine. Send_Command will work.
Download the zip from the above-mentioned thread.
Then:
and follow the steps 7-9.
Click to expand...
Click to collapse
so i just download it, put it at desktop and skip all the methods till 6-9? do i have to enable developer mode before doing it?
No you don't need developer mode.
But it is no problem if you enabled it.
Are you able to open the console with Send_Command.exe?
dominik-p said:
No you don't need developer mode.
But it is no problem if you enabled it.
Are you able to open the console with Send_Command.exe?
Click to expand...
Click to collapse
i opened send_command.exe but it just closes back.. mine is at COM1 but idk how to change it
Update: it says NOTE: Do not attempt this on devices with 5.1.1 , at the time this method was posted it worked on many firmware 5.0.2 should i still go for it? im using 5.1.1
We won't follow the guide. We will do it like here:
http://forum.xda-developers.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765
(You will also find the thread is linked there.)
The thread is just a good help for the Send_Command tool.
You don't have to change the COM port.
Are you in download mode? Do you see the "Firmware Update" screen?
Use the ports.bat and note the "netdiag" COM port.
Inside of LG_Root folder hold shift and right click a blank space you should see "Open command window here"
Click to expand...
Click to collapse
Then enter:
Code:
Send_Command.exe \\.\COM#
Replace # with your number.
dominik-p said:
We won't follow the guide. We will do it like here:
http://forum.xda-developers.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765
(You will also find the thread is linked there.)
The thread is just a good help for the Send_Command tool.
You don't have to change the COM port.
Are you in download mode? Do you see the "Firmware Update" screen?
User ports.bat and note the "netdiag" COM port.
Then enter:
Code:
Send_Command.exe \\.\COM#
Replace # with your number.
Click to expand...
Click to collapse
Yup its in download mode i have the firmware update on my screen.. still to no avail i also installed LG driver and restarted.. opened send_command.exe it just closes back
or do i just enter the script after the # after special command? at because im now at this part http://i.imgur.com/fre9Z9l.png just that when i double-click send command it just closes back
dreamnoob said:
Yup its in download mode i have the firmware update on my screen.. still to no avail i also installed LG driver and restarted.. opened send_command.exe it just closes back
or do i just enter the script after the # after special command? at because im now at this part http://i.imgur.com/fre9Z9l.png just that when i double-click send command it just closes back
Click to expand...
Click to collapse
are you opening send command from the command prompt?
Do NOT double click on the Send_Command.exe
READ again:
Inside of LG_Root folder hold shift and right click a blank space you should see "Open command window here"
Click to expand...
Click to collapse
Then enter "Send_Command.exe \\.\COM#"
dominik-p said:
Do NOT double click on the Send_Command.exe
READ again:
Then enter "Send_Command.exe \\.\COM#"
Click to expand...
Click to collapse
oh okay means im on the right path..
so now i just do this as follows?
Type "id" and press enter (no quotes).
You should get back some text starting with "uid=(0)root gid=(0)root". If not, press CTRL-C, and do step 9 again (the application sometimes doesn't respond on the first command).
Run the command specified in the section below titled 'Commands to Run' to flash the rooted system image.
After a few minutes of sitting, you should get back a "#" prompt. This indicates the process has finished.
Type "LEAVE" (no quotes) and press enter. Your phone should reboot, and your phone will be rooted.

Request for all fastboot commands needed to flash Anfroid P manually.

When trying to run flash-all bat file, am getting error regarding some missing sig files which are already there. Could anyone help with all the fastboot commands needed to flash all img files individually?
Just look in the bat file?
Sent from my Pixel XL using Tapatalk
The bat file only has the command to flash the whole zip file. I was looking for the one that does individual files in that one manually.
harihacker said:
When trying to run flash-all bat file, am getting error regarding some missing sig files which are already there. Could anyone help with all the fastboot commands needed to flash all img files individually?
Click to expand...
Click to collapse
Are you getting errors or file not present?
You can flash them with separate commands like fastboot flash system system.img, etc. Just make sure to flash everything correctly with correct commands. The flash all is just to make it easier on you and save time. Here's a link to a helpful site.
https://android.gadgethacks.com/how...actory-images-android-using-fastboot-0175277/

Categories

Resources