.img ROM!!! How can I flash it?? - Moto G5S Plus Questions & Answers

I downloaded a ROM with the file extension .7z, and when I extracted the file, I got a .img file (That it is actually the ROM I need to flash...
So, how can I flash it??
I believe it's flashing the .img (Selecting the "system" option when asked in TWRP.
The options are: (The ones I remember)
. System
. Boot
. Recovery
. (And more!!)
Do someone knew how to exactly do this?? (I want to be sure)
Thanks

There is a button when you press on install: select image. Maybe that helps... I won't lie you: I have never ever used that button. But seems the right one here.

Related

Cannot unzip the ROM image

Hello,
I would like to follow the procedure for customizing the splash screen as described here
http://wiki.xda-developers.com/index.php?pagename=Trinity_SplashScreen
At first, I didn't know where to get the program ROMUpgradeUt.exe, then I found (quite difficultly - sometimes the obvious for one is so obfuscated for the other one) that is contained in any ROM image. And that any ROM image is an archive. Well, I downloaded 2 Dopod ROM images, renamed them from .exe into .zip (and .rar) , but neither WinZIP, nor WinRAR is able to open the archive.
I remember doing it, could you please help with this issue ?
If you have any other advice on how to customize the splash screen(s), I would be very grateful.
Thank you all.
Please, could somebody help me with this ?
It is not clear what you want!
You should not be renaming any .exe files to .zip or .rar.
Try right clicking on the .exe file (dopod rom downloaded) and if you have winzip installed you will have a winzip menu in the context sensitive menu. - Choose Extract to - and extract the contents of the .exe to a folder.
You also will have extract to as an option on your right click menu if you have 7-zip (free) installed.
Once you extract the ROM you will have all the ROM and upgrade files. You can Now delete the .nbh file (the ROM) and replace it with the splash ROM .nbh file that you created using the instructions that you are following. (Use the same file name to be sure).
Now use the RUUtility.exe to flash your splash
Hi, thanks for the reply. I remember that last time I did the same operation I had to rename the file. I might be wrong. Anyhow, I'll try to do as you said.
Thanks again.

[Q] help flashing rom captivate

im trying to flash paragon rc5. i follow the instructions, but when i go to choose sd card... and click on paragon.zip as file to use in clockwordmod recovery manager, it loads okay, then says replacing recovery manager and reboots. what did i do wrong?
To flash rom you should boot into recovery, select ingersoll zip from sd, choose zip, select parogon, confirm, done
Well when i do, it acts like its going to install, but then says "replacing recovery manager with clockwork..." then exits and reboots into the normal recovery screen.
Each time i get into recovery it is the normal one. I have to go to reinstall packages to get to the clockworkmod one. Something tells me thats not right.
Could this have happened because i installed rom manager and it didnt say i needed it?
Sounds like you are flashing an update.zip to get clock work recovery. i think you need to confirm you downloaded the correct file
What happened was i installed rom manager, got recovery manager through it, then downloaded paragon and its update.zip file. So am i basically flashing the recovery manager right now?
Sounds like it, are you on stock?
Paragon rom zip should be like 170mb in size
Rooted, but otherwise stock. Have already wiped all my data on it in preparation.
What im trying to do is this- have update.zip and paragon.zip in main internal sd folder. Go into recovery---reinstall---then it loads clockwork, then go to from sd---choose--- and if i pick paragon.zip it still does it.
let me clarify this, basically you do not need rom manager here.
1. download the update.zip and put it in your sdcard root folder;
2. download the rom file (170mb one) and put it in your sdcard; not necessary to be the root folder;
3. suppose you are on the stock rom; shut down your phone and use key combo to get into recovery mode;
4. apply the changes (i remember it is the second option), you may need to do it twice. you should now be in the cwm;
5. use the menu in the cwm to browse and install the rom file
6. reboot your phone. done.
Boot phone up normally. Delete paragon file you have. Redownload. Like I said the file should be like 170mb.
Update.zip goes in the root folder? Where is that? I couldnt find it anywhere....
The file is about 170mb. I know thats correct, im thinking since i had already installed cwm i moght have screwed up.
when you select reinstall packages you should go into green recovery/clockwork recovery.
If that works boot phone, open rom manager, select install rom from sd, select paragon
check the attached file.
Thats the update.zip i have. Now where do i put the damn thing?
Your internal sd card. Dl to phone, go to my files app, open dl folder find file select copy, click paste. Should now be where you need it
mm01 said:
Thats the update.zip i have. Now where do i put the damn thing?
Click to expand...
Click to collapse
copy to your sdcard root directory.
mm01 said:
Thats the update.zip i have. Now where do i put the damn thing?
Click to expand...
Click to collapse
/sdcard
10char
wonner said:
/sdcard
10char
Click to expand...
Click to collapse
ok, ok, i will let you guys help him ... lol
I feel.....stupid. Like, asking if a mac gets bluescreens stupid. I renamed the files on my pc alot, and upon closer inspection, discovered... *Ahem* xp had decided to rename the cwm fole the same as the rom file (yeah, lets go with that...). So i was flashing cwm.
Im going to let my battery charge and then try it. Will post results tomorrow morning. Thanks for all the help guys!
mengbo said:
ok, ok, i will let you guys help him ... lol
Click to expand...
Click to collapse
Sorry, I didn't mean to step on your toes. We all posted at the same time.
Got it all up and running. Works infinitely many times better than it did stock. Got a gps lock in about 5 seconds. Im loving this phone again.

How to RUU another official rom without touching AlphaRevX's S-off

Sry for my poor English. This is for ppl who flash RUU-AU-OPTUS rom mainly to get S-OFF, then wanna flash back the rom they were using before they patching the AlphaRevX.
Here are the simple steps:
1, get the rom.zip from another RUU*.exe, i mean the one you want.
2, unzip the rom.zip into many img files
3, delete the hbootXXXX file. and if you want keep clockworkmod, delete recovery file as well.
4, use 7-zip to add all those files into a new .zip file (no winrar, 7-zip only)
5, rename the new .zip into the PG32IMG.zip , copy into sdcard, reboot into hboot and flash.
6, remember do a factory reset, cuz the AU_OPTUS rom will leave some funny area settings and data in the phone.
edit: sry i missed, goldcard is a must!!! make your sdcard a gold card b4 doing all these. thx 007!
Hi, tried this method just now but nothing happened.
Tried flashing it like you described as PG32IMG.zip it looks like it is running the flash but no change after reboot.
Tried also with recovery (install from zip) but unfortunately doesn't work also.
Am i forgetting something in the process?
Your missing goldcard...
This is also explained in the downgrade guide in this forum
Always something missing . Thanks.
didnt you just forgot to make changes to some specific text file as well?
like erhm, removing last line of it?
like erhm...
hbootpreupdate o.0?
just a wild guess

[Root] on V20B_CIS&V20O_DEU

V20B (CIS)
V20O (DEU)
Root on V20B
information deleted
I used google translator and that's the result of the post above:
All items are strictly in the order do not jump over them and keep the sequence!
Spoiler (+ / -) (I advise you to read before flashing)
to the root of drive C:
Two. Download Attachment SmartFlashTool_External.rar (1.18 MB) Number of downloads: 37
and extract the root of drive C:
3. Download Attachment Superuser.zip (611.2 KB) Number of downloads: 51
and put ( no need to unpack ) File on the SD-card phone
4. Turn off the phone.
Five. We hold the Volume Up (+) and insert the USB cable one end into the computer, the other into the phone
6. We will have the text of S / W Upgrade Please wait while upgrading ...
Spoiler (+ / -)
7. Run the file B_SmartFlashTool_Extern.exe
Eight. Go to the tab ROM copy D / L
9. Select the two files that you extracted from the archive [PATCHED] BIN_LGP970AT-00-V20a-CIS-XXX-JAN-06-2012 +0.7 z
10. Check:
Spoiler (+ / -)
11. Click the Start button
12. Go to the process of the firmware, go to drink coffee \ tea shorter depart away from your computer to your phone
13. When you sign Download Comlete! Go to the phone
Spoiler (+ / -)
14. On the phone, we see the regime Recovery (touch it, the management of a finger)
15. Select install zip from sdcard
16. Then choose zip from sdcard
17. Prolistyvayem and choose Superuser.zip
18. Prolistyvayem and select Yes - Install SuperUser.zip
19. Select + + + + Go back + + + +
20. Choose wipe data / factory reset
21. Prolistyvayem and select Yes - delete all user data
22. Then reboot system now
That's it! Phone is loaded, if you do it right!
As a result, we have a firmware with the Root-V20A human touch and Recovery! Thank you all and good luck to you in the firmware!
Click to expand...
Click to collapse
Dont exactly know, what it does, but as far as I get it, it roots the device and installs CWM touch.
Credits go to poster, if it is successful.
Hey, thanks for posting here. Here is v20b : http://www.lgmobiles.com/gsm/download/P970 V20B(Gingerbread Version).rar
We don't have it for N version. I saw the russian forum and wanted to ask you about howvyou managed to root v20a before this method.
Sent from my LG-P970 using XDA App
this method is working just v20a(attachment patched bin file) right?
Where how I convert .kdz to .bin file?
I know russian very well.So i shortly translate all procedure done here.
They patched original 20A bin file , changing system recovery.img with clocworkmod recovery.img touch version.
Download 20A.bin extract it,and put somewhere in your computer.
and below there is a CWM flashable superuser.zip.
Download it and put to your Sd kart.Do not extract.
Then simply flash that patched 20A bin file with smart flash procedure posted here from radkor
http://forum.xda-developers.com/showthread.php?t=1448803
After finished flashing with smartflash tool go to cwm recovery and install superuser.zip
and you get rooted original 20A ginger.
Nice option for flashing and rooting
but we do not have 20N bin file yet.
we have only indian version 20B bin file, redpik posted it above
Thread moved
Unless it's a ROM or kernel you've created yourself, this doesn't belong in Development.
Doesn't SmartFlash auto erases all user data (factory reset at first boot)?
Okey... Maybe, tomorrow I will be a version (.bin) V20N
Sorry for my English
Kraaz said:
I know russian very well.So i shortly translate all procedure done here.
They patched original 20A bin file , changing system recovery.img with clocworkmod recovery.img touch version.
Download 20A.bin extract it,and put somewhere in your computer.
and below there is a CWM flashable superuser.zip.
Download it and put to your Sd kart.Do not extract.
Then simply flash that patched 20A bin file with smart flash procedure posted here from radkor
http://forum.xda-developers.com/showthread.php?t=1448803
After finished flashing with smartflash tool go to cwm recovery and install superuser.zip
and you get rooted original 20A ginger.
Nice option for flashing and rooting
but we do not have 20N bin file yet.
we have only indian version 20B bin file, redpik posted it above
Click to expand...
Click to collapse
Ok. Let me try to understand this. They replace "system recovery.img" which is reside in the original rom bin file with "cwm recovery.img" (where to get this file?) and then flash it using smartflash tool. So after reset by smartflah, cwm is already in the phone installed. Then all is easy, proceed to install superuser.zip, etc..etc.zip.
How is it possible to obtain root by inserting cwm in the rom while cwm itself require root to run? Also, what's the "system recovery.img" that got replaced. Is it important?
Please investigate more. Need more info on how "patching" is done too. I don't understand russian.
Sent from my LG-P970 using XDA App
SnegovikRZN said:
Okey... Maybe, tomorrow I will be a version (.bin) V20N
Sorry for my English
Click to expand...
Click to collapse
Can you help to make one for v20b? The link post above by redpik contain bin file for v20b. If succeed, we're going to have the 1st v20b rooted. Hell yeah!
Sent from my LG-P970 using XDA App
adxgrave said:
Ok. Let me try to understand this. They replace "system recovery.img" which is reside in the original rom bin file with "cwm recovery.img" (where to get this file?) and then flash it using smartflash tool. So after reset by smartflah, cwm is already in the phone installed. Then all is easy, proceed to install superuser.zip, etc..etc.zip.
How is it possible to obtain root by inserting cwm in the rom while cwm itself require root to run? Also, what's the "system recovery.img" that got replaced. Is it important?
Please investigate more. Need more info on how "patching" is done too. I don't understand russian.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
I guess you need to investigate more how android works. Flashing recovery image with the whole system in a bin file makes cmw part of the "original" firmware so,like recovery that only can erase all this one can read/write in the system files. Sounds normal. I read on Samsung forums that they get root for latest versions by flashing a patched odin file and then a su zip. I will try it
Sent from my LG-P970 using XDA App
adxgrave said:
Can you help to make one for v20b? The link post above by redpik contain bin file for v20b. If succeed, we're going to have the 1st v20b rooted. Hell yeah!
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
Since Telcel's v20a is is just out, its going to be pretty good news if it works.
mihaiolimpiu said:
Doesn't SmartFlash auto erases all user data (factory reset at first boot)?
Click to expand...
Click to collapse
Yes it does.
Redpik said:
I guess you need to investigate more how android works. Flashing recovery image with the whole system in a bin file makes cmw part of the "original" firmware so,like recovery that only can erase all this one can read/write in the system files. Sounds normal. I read on Samsung forums that they get root for latest versions by flashing a patched odin file and then a su zip. I will try it
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
Then we can say that this is universal method as long as cwm can be patch into the rom. Finding exploit is not necessary anymore. So, what's the function of the file replaced in the rom. Is it the original lg recovery method which is not available anymore if this we use this method?
Thanks for the explanation, I wonder why it hasn't be use before, maybe because lack of rom file in bin format?
Edit: downloading rom in your link, pls post how to proceed if you get hold of it.
Sent from my LG-P970 using XDA App
adxgrave said:
Then we can say that this is universal method as long as cwm can be patch into the rom. Finding exploit is not necessary anymore. So, what's the function of the file replaced in the rom. Is it the original lg recovery method which is not available anymore if this we use this method?
Thanks for the explanation, I wonder why it hasn't be use before, maybe because lack of rom file in bin format?
Edit: downloading rom in your link, pls post how to proceed if you get hold of it.
Sent from my LG-P970 using XDA App
Click to expand...
Click to collapse
The problem is that we don;t know how to extract .bin files and modify the content. Just the first post has the good link I posted the stock v20B so he would patch it
Redpik said:
The problem is that we don;t know how to extract .bin files and modify the content. Just the first post has the good link I posted the stock v20B so he would patch it
Click to expand...
Click to collapse
to get the files out of a kdz: grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files. So either you update for real (in which case you have the time to grab the files) or you create a symbolic link between the C:\ProgramData\LGMOBILEAX\Phone folder and another folder you create say name it C:\test. What happens is that files get extracted and then \phone folder deleted when no phone is detected but the files remain on the \test folder. So you get your files which are a "model.dll" file (in p970 case i guess something like lgp970.dll) and a .wdb file which is the firmware. How to proceed though to tinker further with the .wdb file so as to get bin file and baseband still elludes me
I bet our rom cooker knew how to unpack and repack. So, anyone?
Sent from my LG-P970 using XDA App
jimakos29 said:
to get the files out of a kdz: grab them while someone is using the KDZ program to update their phone. The files are extracted and put into "C:\ProgramData\LGMOBILEAX\Phone" but as soon as the program detects no phone the entire directory is blown away. Too fast to grab the files. So either you update for real (in which case you have the time to grab the files) or you create a symbolic link between the C:\ProgramData\LGMOBILEAX\Phone folder and another folder you create say name it C:\test. What happens is that files get extracted and then \phone folder deleted when no phone is detected but the files remain on the \test folder. So you get your files which are a "model.dll" file (in p970 case i guess something like lgp970.dll) and a .wdb file which is the firmware. How to proceed though to tinker further with the .wdb file so as to get bin file and baseband still elludes me
Click to expand...
Click to collapse
update: doing some research and it seems to extract the bin files you need lgutils and the .dll file you get from the kdz extraction but I am not at home to look into it any further.
Stable ROOT METHOD found!
You don't need this, disabling LG MODEM DEVICE under modems makes UNLOCKROOT work on every firmware! TESTED on 20N german version!
Disabling LG MODEM DEVICE under modems makes UNLOCKROOT work on every firmware! TESTED on 20N german version!
Here is the proof
http://forum.xda-developers.com/showpost.php?p=22195743&postcount=417
Here are the drivers I used:
http://forum.xda-developers.com/showpost.php?p=22196019&postcount=21
I used Windows 7 32 bit, the original poster used Win7 64 bit...

[Q] how to create cm7.2 odin flash fw

hi guys i am running cm7.2 nightly on my captivate and i want to create an odin flashable firmware of cm7.2 rom on windows xp for backup purpose please give me a full tutorial on doing this
I believe it isn't possible. I was asking around for ICS and from what i gathered it isn't.
Two things you could do.
1.download the newest nightly that you want to base it on.
2. Use Root Explorer and EXTRACT ALL.
3. Then go to the extracted folder for the nightly, and delete out the SYSTEM folder.
4.Now MAKE SURE you have your phone set up EXACTLY how you want it to look like. Reboot the phone once that is done.
5. Now with root explorer navigate to /system and long press on the system folder. Choose COPY
6. Navigate to the extracted folder (which should be like sdcard/speedsoftware/extracted OR something like that) and go into the folder where you deleted out SYSTEM folder earlier. Now long press and choose PASTE.
7. Back out until your back at the extracted folder name, long press on it and choose RENAME. Pick the name you want it to be. (I usually use something like: CM7.2RockRattRedRemixThemed02-10-2012).
8.Long press on the name again and choose ZIP THIS FOLDER.
9. GO TO ZIPPED FOLDER.
10. Move the zipped folder to your sdcard, reboot to recovery and flash it to make sure it works.
11. If it worked just copy or or move that .zip file to your computer for backup.
Or I can upload the one I have created so you can see it and test it out. I have made some other changes so it is partially already themed, has the theme chooser. apk File I use instead of the stock theme chooser .apks that come with the original cm7. I use zip themer to set up certain things so they are automatically themed when just flashing the build i created. Hope this helps you get an idea of a pretty bazsic way of making your own cwm flashable cm7 rom already personalized. Oh I also delete of some of the apps that come in cm7 and just put my own personal apps into the system folder so I already have them built in.
Sent From My KickAss ATT SGS2 SPORTING CM7
RockRatt said:
Two things you could do.
1.download the newest nightly that you want to base it on.
2. Use Root Explorer and EXTRACT ALL.
3. Then go to the extracted folder for the nightly, and delete out the SYSTEM folder.
4.Now MAKE SURE you have your phone set up EXACTLY how you want it to look like. Reboot the phone once that is done.
5. Now with root explorer navigate to /system and long press on the system folder. Choose COPY
6. Navigate to the extracted folder (which should be like sdcard/speedsoftware/extracted OR something like that) and go into the folder where you deleted out SYSTEM folder earlier. Now long press and choose PASTE.
7. Back out until your back at the extracted folder name, long press on it and choose RENAME. Pick the name you want it to be. (I usually use something like: CM7.2RockRattRedRemixThemed02-10-2012).
8.Long press on the name again and choose ZIP THIS FOLDER.
9. GO TO ZIPPED FOLDER.
10. Move the zipped folder to your sdcard, reboot to recovery and flash it to make sure it works.
11. If it worked just copy or or move that .zip file to your computer for backup
Click to expand...
Click to collapse
thanks for your effort and reply but i want to create odin flashable fw not cwm, i know how to create cwm flashable rom, but anyway thanks for your reply
You could DD'ing a back up of all partitions and then tar'ing it, then flashing it in ODIN
Aren't the partition blocks different on AOSP?
Yess, but you can look them up then dd them, and DL the pit with heimdall, and create an ODIN FW flasher
Boot.img vs zImage. Way around?
decompile the boot.img and grab the zImage from the decompiled boot.img
b-eock said:
You could DD'ing a back up of all partitions and then tar'ing it, then flashing it in ODIN
Click to expand...
Click to collapse
can you please tell me step by step tutorial, i also dont know about dd'ing and do not use heimdal so cannot create pit file

Categories

Resources