OPO : flash ROM with empty partition - ONE Q&A, Help & Troubleshooting

Hi, I need your help....
Where can I find ROM with system.img, boot.img, userdata.img etc ?
for some reasons, mainly because i'm a dumb, i erased the entire partition of the OPO64.
Now, the only things I can do is to boot into :
- Fastboot Mode
- TWRP (that I installed just before doing silly things, like wiping everything out...)
I am wondering how to reinstall any OS on my phone, LineageOS or RR or anything else to get this phone working again. As there is no physical SDcard slot, I can't put a ROM on it to flash it from TWRP.
the only ROM I've found is CM13.x found here : https://www.androidsage.com/2016/08...anogen-os-13-1-2-znh2kas3p0-update-cm-13-1-2/
is it possible to get some other ROM with all the .img files ?
adb commands do not work.
The only thing I ca do is using fasboot commands.
As far as I understood, I could use there commands :
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
BUT : when I unzip all the ROMs I've found so far, there is always a boot.img file (and the fastboot flash boot boot.img works), but there is no other IMG file in the ZIP. No system.img, no userdata.img etc
Where can I download a ROM providing these files ?
is it mandatory to flask recovery.img ? I still want to use TWRP
Many many thanks

cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot-76d803f730
cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot-76d803f730 - FLASH it through BRT - Bacon Root Toolkit

flyjodel said:
Hi, I need your help....
Where can I find ROM with system.img, boot.img, userdata.img etc ?
for some reasons, mainly because i'm a dumb, i erased the entire partition of the OPO64.
Now, the only things I can do is to boot into :
- Fastboot Mode
- TWRP (that I installed just before doing silly things, like wiping everything out...)
I am wondering how to reinstall any OS on my phone, LineageOS or RR or anything else to get this phone working again. As there is no physical SDcard slot, I can't put a ROM on it to flash it from TWRP.
the only ROM I've found is CM13.x found here : https://www.androidsage.com/2016/08...anogen-os-13-1-2-znh2kas3p0-update-cm-13-1-2/
is it possible to get some other ROM with all the .img files ?
adb commands do not work.
The only thing I ca do is using fasboot commands.
As far as I understood, I could use there commands :
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
BUT : when I unzip all the ROMs I've found so far, there is always a boot.img file (and the fastboot flash boot boot.img works), but there is no other IMG file in the ZIP. No system.img, no userdata.img etc
Where can I download a ROM providing these files ?
is it mandatory to flask recovery.img ? I still want to use TWRP
Many many thanks
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
It's not mandatory to flash recovery.img.

Mr.Ak said:
https://forum.xda-developers.com/oneplus-one/general/guide-return-opo-to-100-stock-t2826541
It's not mandatory to flash recovery.img.
Click to expand...
Click to collapse
thank you !

flyjodel said:
thank you !
Click to expand...
Click to collapse
Instead hit the "thanks button "... Just sayin'

Related

XNPH25R-bacon-signed-fastboot.zip via recovery?

CM just posted a cm-11.0-XNPH25R-bacon-signed-fastboot.zip on the OPO homepage.
https://cyngn.com/products/oneplusone/
Can this be flashed via recovery?
donalgodon said:
CM just posted a cm-11.0-XNPH25R-bacon-signed-fastboot.zip on the OPO homepage.
https://cyngn.com/products/oneplusone/
Can this be flashed via recovery?
Click to expand...
Click to collapse
If you want to flash through recovery use the OTA link: http://dist01.slc.cyngn.com/factory/bacon/cm-11.0-XNPH25R-bacon-signed.zip
The link works, its just not published. Enjoy!
ddggttff3 said:
If you want to flash through recovery use the OTA link: http://dist01.slc.cyngn.com/factory/bacon/cm-11.0-XNPH25R-bacon-signed.zip
The link works, its just not published. Enjoy!
Click to expand...
Click to collapse
So, what can I do with the signed_fastboot.zip ?
4cop2c said:
So, what can I do with the signed_fastboot.zip ?
Click to expand...
Click to collapse
"signed_fastboot.zip" for fastboot mode.
i found something in flash-radio.sh (signed_fastboot.zip 's root-dir) ,maybe you're Into It Too.
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
if you had 64g , be careful with userdata.img , try this in "recovery mode" choice "wipe media/data" that doing the same thing gets the almost same results.
kaiwater said:
"signed_fastboot.zip" for fastboot mode.
i found something in flash-radio.sh (signed_fastboot.zip 's root-dir) ,maybe you're Into It Too.
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
if you had 64g , be careful with userdata.img , try this in "recovery mode" choice "wipe media/data" that doing the same thing gets the almost same results.
Click to expand...
Click to collapse
I am doing all this because i un-install busybox and lost root. Try root it again, but no hope.. so I have to reflash the whole things. Anyway, thanks! Following are the steps i do:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
reboot into recovery, wipe data and wipe user data
reboot to normal and following this to root again:
http://forum.xda-developers.com/showthread.php?t=2788632
No I have root again! Thanks!!
kaiwater said:
"signed_fastboot.zip" for fastboot mode.
i found something in flash-radio.sh (signed_fastboot.zip 's root-dir) ,maybe you're Into It Too.
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
if you had 64g , be careful with userdata.img , try this in "recovery mode" choice "wipe media/data" that doing the same thing gets the almost same results.
Click to expand...
Click to collapse
Can you just do a
fastboot update </path/to/your/signed_fastboot.zip>
???
indesisiv said:
Can you just do a
fastboot update </path/to/your/signed_fastboot.zip>
???
Click to expand...
Click to collapse
Yea I was also wondering this? The only thing that is stopping me from trying it is the two different user data files. Does it automatically decide which one it should take?

[Q] How to flash CM12.1 on new bootloader?

I can't seem to get TWRP or Cyanogen Recovery to flash succesfully CM12.1. They refuse to flash ROM zips, but do flash Gapps. I've tried ADB sideload to flash CM12.1, but ADB doesn't find my E3 no matter what I do. I go to recovery, and choose ADB sideload. Then I do adb devices and it just says "List of devices attached", but no devices. I can only use fastboot succesfully, which that made me think that I could decompress the zip and make the boot.img, system.img, and userdata.img out of it to flash through fastboot. I got all the required filesfrom the zip to make userdata.img and system.img (boot.img was already in there). I only have one problem: I haven't found a way to re-pack the files into the correct img format to be able to flash it through fastboot.
So, back to my question:
Has anyone managed to flash the CM12.1 zip successfully? If so, how?
Or, can someone show me how to repack the system files into system.img and the userdata files into userdata.img?

Any way to get out of my problem ?!

Hello ! iam new here and i have a really big problem !​
I Have Huwaei Honor 6 H60-L04 ! i was have liquid smooth 4.4 rom on it and i decided to install stock rom on it !! i flashed stock boot.img and stock recovery.img by rasher and after reboot my phone i got this error ( Attention PLease update system again ) i tried to flash system , boot , cust , recovery by fastboot but i got this error FAILED (remote: Command not allowed) and i tried to flash custom recovery by fastboot but i got same error ! i have unlocked bootloader ! i dont what to do ?
PLease help !!
NOTICE : SORRY FOR MY ENGLISH​
THANKS ALL <3​
Install in this order, using fastboot:
fastboot flash recovery RECOVERY.img
fastboot flash system SYSTEM.img
fastboot flash boot BOOT.img
fastboot flash cache CACHE.img
fastboot flash cust CUST.img
fastboot flash userdata USERDATA.img
fastboot reboot
badmania98 said:
Install in this order, using fastboot:
fastboot flash recovery RECOVERY.img
fastboot flash system SYSTEM.img
fastboot flash boot BOOT.img
fastboot flash cache CACHE.img
fastboot flash cust CUST.img
fastboot flash userdata USERDATA.img
fastboot reboot
Click to expand...
Click to collapse
Failed ( remote : command not allowed )
Use stock files, not custom. Extracted from a stock ROM for L04.
badmania98 said:
Use stock files, not custom. Extracted from a stock ROM for L04.
Click to expand...
Click to collapse
i tried that but same error
Try to use H6 multitool ( http://forum.xda-developers.com/honor-6/general/honor6-multi-tool-t2963060 ) and reinstal stock recovery. You have to start the program using Honor6MultiTool.bat file and folowing the instruction on the screen. The program will get the recovery file from net automaticaly. After that try to write using the steps from 2nd post or use the same H6 multitool with unbrick solution.
badmania98 said:
Try to use H6 multitool ( http://forum.xda-developers.com/honor-6/general/honor6-multi-tool-t2963060 ) and reinstal stock recovery. You have to start the program using Honor6MultiTool.bat file and folowing the instruction on the screen. The program will get the recovery file from net automaticaly. After that try to write using the steps from 2nd post or use the same H6 multitool with unbrick solution.
Click to expand...
Click to collapse
Same error i dont know what to do i tried everything
No ideea left.
Amjadaboudi22 said:
Failed ( remote : command not allowed )
Click to expand...
Click to collapse
try disconnecting the usb data cable after each fastboot command
root needed
Hi there,
seems like you lost root access when you flashed stock hence you keep getting the error try re-rooting your phone and then flash all files mentioned again,maybe that will help best of luck hope this helpsDont forget to thank

Problems getting back to stock from boot loop after trying to root.

First I unlocked the bootloader, and then I tried to use chainfire's root method by flashing the boot-to-root-img through fastboot. The phone will no longer boot to system and I cant seem to get google's factory image to install via fastboot. The flash-all would only flash the bootloader and radio, but would fail after that. I also cannot manually flash the stock system.img file. I get an error that reads " remote: data too large ". Not sure how to get out of this so any help would be GREATLY appreciated.
Did you manually flash the boot and system.img to each slot?
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
Fastboot flash system_a system.img
fastboot flash system_b system_other.img
Use these commands assuming your boot slot is slot_a...if your boot slot is slot_b then use
Fastboot flash system_a system_other.img
fastboot flash system_b system.img
Hope this helps!!!
You need to update your fastboot version....then the system file will flash for you. Only the newest supports large files.
Sent from my Pixel using Tapatalk
maulich said:
You need to update your fastboot version....then the system file will flash for you. Only the newest supports large files.
Click to expand...
Click to collapse
Good call...totally forgot about that man
BakedTator said:
Good call...totally forgot about that man
Click to expand...
Click to collapse
Thanks to both of you! I actually did get my phone to boot up just before you replied by flashing to boot.img to both slots. Just installed TWRP and flashed superSU after that to get root. All is well now!

I want to flash stock rom in fastboot for my Oneplus 7 pro but I don't want to erase

so as the title suggests, my oneplus 7 pro is now stuck at fastboot and my only hope is on the img files from the unpacked payload.bin. but now after I extract it, i heard some of the img files are used to clear the user, data etc, can someone tell me which one is which?
The guide I followed:
https://android.gadgethacks.com/how...actory-images-android-using-fastboot-0175277/
https://forum.xda-developers.com/nokia-7-plus/how-to/guide-how-to-extract-payload-bin-ota-t3830962
https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
the first link seem to be outdated since most of the img files it talked about don't exist but although the third link isn't, it told me how to flash each file, but my problem is that I don't want to lose my data, can someone tell me which img file is used to erase data? thanks a lot
shuaiouke said:
so as the title suggests, my oneplus 7 pro is now stuck at fastboot and my only hope is on the img files from the unpacked payload.bin. but now after I extract it, i heard some of the img files are used to clear the user, data etc, can someone tell me which one is which?
The guide I followed:
https://android.gadgethacks.com/how...actory-images-android-using-fastboot-0175277/
https://forum.xda-developers.com/nokia-7-plus/how-to/guide-how-to-extract-payload-bin-ota-t3830962
https://forum.xda-developers.com/oneplus-7-pro/how-to/rom-stock-fastboot-roms-oneplus-7-pro-t3931424
the first link seem to be outdated since most of the img files it talked about don't exist but although the third link isn't, it told me how to flash each file, but my problem is that I don't want to lose my data, can someone tell me which img file is used to erase data? thanks a lot
Click to expand...
Click to collapse
userdata.img will override your internal storage with zero bytes.
matze19999 said:
userdata.img will override your internal storage with zero bytes.
Click to expand...
Click to collapse
is that the only file? thanks
Edit:There don't seem to be a file called userdata.img it's a ONEPLUS 7 PRO rom
Right click and edit flash all.bat and remove the -w and save then u can run flash all.bat using the fastboot Rom, ur 3rd link
thank you and it lets me get into recovery in a boot loop but recovery only, I can't flash TWRP, what should I do next?
Bradl79 said:
Right click and edit flash all.bat and remove the -w and save then u can run flash all.bat using the fastboot Rom, ur 3rd link
Click to expand...
Click to collapse
thank you and it lets me get into recovery in a boot loop but recovery only, I can't flash TWRP, what should I do next?
shuaiouke said:
thank you and it lets me get into recovery in a boot loop but recovery only, I can't flash TWRP, what should I do next?
Click to expand...
Click to collapse
is your bootloader locked?
shuaiouke said:
thank you and it lets me get into recovery in a boot loop but recovery only, I can't flash TWRP, what should I do next?
Click to expand...
Click to collapse
We're you coming from a custom Rom, or stock. You might have to format data.
Bradl79 said:
is your bootloader locked?
Click to expand...
Click to collapse
it's kinda obvious, flash-all is flashing after all if ur bootloader is locked, how do u flash?
Note: This is for soft bricks only.
soft brick = can access fastboot or recovery
hard brick = no boot, black screen boot. etc.............
I found myself on OB4, tried to sideload another build and got stuck. Tried to boot into TWRP, no bueno, now what? I didn't want to use MSM tools and go though that whole process again. I've saved many of my devices with Linux, by just flashing the img files through fastboot commands. So if your comfortable with the command line this is easier then using the flash tools that relock your bootloader. This also works with Widows, so I remembered the files the fastboot flasher flashed, and just flashed them manually, you just need flash to the correct partition. So, if it's a boot img, then flash boot, and system flash system, and so on. List of files that I flashed.
First you'll need payload dumper, to extract files from payload.bin file inside whatever OTA, you want to flash. It will extract to a folder called payload_output, from there you can click and drag to command line.
https://androidfilehost.com/?fid=818070582850510260
I also provided a copy of my script, you'll need to edit to your files path. And save as .bat, .cab, or .exe...........
Commands I run before flash
fastboot format system
fastboot format userdata
1. boot.img
2. dtbo
3. modem
4. odm
5. qupfw
6. storsec
7. system
8. vbmeta
9. vendor
10. fastboot reboot
If device boots to recovery which should be stock, just wipe everything and you should boot into system without a problem.

Categories

Resources