Related
Things are changing with the advent of project treble and seamless updates. OnePlus will no longer release ROMs flashable via recovery (either stock) because is no more needed. The updates will be done on the slot not used for example if you are using slot a the update will be installed on slot b and the slot b will be set as default. If you brick and you are in bootloop how you can restore the rom? You can't with Stock ROM you have, because the zip can be only installed via Update Engine, so what can you do? Flash a stock rom via fastboot. I have extracted all images from the stock zip and i have made a new zip with the Fastboot ROM with a flash-all.bat included. This will work only if your bootloader is unlocked. This will erase all your data and will wipe your internal storage.
HOW TO FLASH
This version is only for not branded devices
Download the zip;
Unpack the zip in a folder;
Reboot the OnePlus 7T in fastboot-bootloader mode (Power and volume + and volume-);
Connect the OnePlus 7T to PC;
Run flash-all.bat flasher you need;
Wait until the process end;
The phone will automatically reboot.
DOWNLOAD
All roms on AFH: https://www.androidfilehost.com/?w=files&flid=301115
All roms on Sourceforge: https://sourceforge.net/projects/fastbootroms/files/OnePlus 7T Pro
BRANDED PHONE
For now branded device are not supported
MANUAL FLASH: Windows - OSX - Linux
If you want to manual flash these roms these are the commands (You need the latest sdk platform tools, you can find it here
Is reccomended to format data or the rom cannot boot:
Code:
fastboot -w
Others Commands to flash a fastboot rom
Code:
fastboot flash aop aop.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash boot boot.img
fastboot flash dsp dsp.img
fastboot flash dtbo dtbo.img
fastboot flash LOGO LOGO.img
fastboot flash modem modem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash qupfw qupfw.img
fastboot flash storsec storsec.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash recovery recovery.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot flash opproduct opproduct.img
fastboot reboot fastboot
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot reboot
REMEMBER
"Invalid sparce file format at header magic" is not an error, you need to wait a bit when you see that string, just wait.
If the device automatically reboot in Stock Recovery mode don't reboot it and wait the flash end.
These ROMs can't be used to update or downgrade your phone but just to restore your phone.
If the rom seems doesn't start go in recovery stock and follow this guideline: English -> Wipe data and cache -> Erase everything.
If you want to rebrand your phone from HydrogenOS to OxygenOS you can follow this guide: Rebrand Guide
If you want you can use also my tool to flash Factory Images, unlock bootloader, flash twrp or to understand if the device is recognized: https://toolaio.tk/
If you got some problems like write error or no partition, check this: https://forum.xda-developers.com/showpost.php?p=76658555&postcount=34
DONATE LINK
If you want to support this and others my projects please consider making a donation, thanks.
sorry im new to oneplus , i buy op7t pro come in 2 day , what the mean branded and non branded ?
sorry sir , not clear about Branded phones
China version have flash this rom ?
akino553 said:
sorry im new to oneplus , i buy op7t pro come in 2 day , what the mean branded and non branded ?
Click to expand...
Click to collapse
If you buy it from like Verizon or T-Mobile.
nyzoli72 said:
If you buy it from like Verizon or T-Mobile.
Click to expand...
Click to collapse
mmmm ok thank you but I bought it from China so I don't know about that
Things sure really changing with Android, everything seems more complicated last time I rooted an OnePlus phone. So I appreciate this effort by you.
Sent from my OnePlus7TPro using XDA Labs
Lossyx said:
Things sure really changing with Android, everything seems more complicated last time I rooted an OnePlus phone. So I appreciate this effort by you.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
The script will ask if you want to format data or not
Is twrp available for oneplus 7t pro?
adamo86 said:
Is twrp available for oneplus 7t pro?
Click to expand...
Click to collapse
https://forum.xda-developers.com/7t-pro/development/recovery-unofficial-twrp-recovery-t3989333
mauronofrio said:
The script will ask if you want to format data or not
Click to expand...
Click to collapse
Hello! Can I flash this ROM to change from Hydrogen OS to Oxygen OS as per instruction "Rebrand guide"? Because on official website Oxygen OS ROM is not available for 7T Pro!
Can you (or anyone) post the oxygenOS build zip which I can flash via updater?
Right now I'm on hydrogen OS and want to move to OxygenOS by official means.
One+Nexus said:
Hello! Can I flash this ROM to change from Hydrogen OS to Oxygen OS as per instruction "Rebrand guide"? Because on official website Oxygen OS ROM is not available for 7T Pro!
Click to expand...
Click to collapse
You can try
mauronofrio said:
You can try
Click to expand...
Click to collapse
I don't know what to do.. already 1 week on hand with Hydrogen OS... What can I expect bad if I try?
How do you go back to stock rom if there are no stock rom available for 7t pro
One+Nexus said:
Hello! Can I flash this ROM to change from Hydrogen OS to Oxygen OS as per instruction "Rebrand guide"? Because on official website Oxygen OS ROM is not available for 7T Pro!
Click to expand...
Click to collapse
Cannot. I have tried and got fastboot bootloop.
Writing 'system' FAILED (remote: 'Partition not found')
mhammadleo said:
Writing 'system' FAILED (remote: 'Partition not found')
Click to expand...
Click to collapse
When the device reboots in recovery doesn't touch it
Silly question after returning to stock, I've tried to relock the bootloader and get a device corrupt won't boot message and the phone then turns off. How do I relock without this happening.
Wooot. Ok guys, i came from 5T and Root,TRWP and flash stock ROM was easy. Where do i have to begin, anyone can give me structured process of ROOT,TWRP?or FASTBOOT and ROM?
I had an issue earlier and begged support for the stock firmware, they sent me https://drive.google.com/open?id=171cVS9ku7rHF74Gyl1VGP3jQXAFwWDpl
Hi everyone,
I've unlocked my mi 9t pro (8gb version) today (purchased from Hong Kong sent to Melbourne/Australia) and tried to flash TWRP. When I finally got into TWRP I deleted everything through advanced wipe (this is probably where I stuffed up). I rebooted and now I'm forever stuck in the fastboot screen.
I can use the cmd fastboot to re-load the twrp.img successfully. If I do that, I hold UP+PWR and it just returns me to fastboot screen. However, when I try to use 'fastboot boot twrp.img' I get the following error;
Code:
downloading 'boot.img'...
OKAY [ 1.398s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.408s
I can't go anywhere from here. I've attempted to use the miflash tool, but it's just throwing errors at me.
Any help here would be great.
If you have any questions, please don't hesitate to ask.
Thanks,
Raddest
raddest said:
Hi everyone,
I've unlocked my mi 9t pro (8gb version) today (purchased from Hong Kong sent to Melbourne/Australia) and tried to flash TWRP. When I finally got into TWRP I deleted everything through advanced wipe (this is probably where I stuffed up). I rebooted and now I'm forever stuck in the fastboot screen.
I can use the cmd fastboot to re-load the twrp.img successfully. If I do that, I hold UP+PWR and it just returns me to fastboot screen. However, when I try to use 'fastboot boot twrp.img' I get the following error;
I can't go anywhere from here. I've attempted to use the miflash tool, but it's just throwing errors at me.
Any help here would be great.
If you have any questions, please don't hesitate to ask.
Thanks,
Raddest
Click to expand...
Click to collapse
Needs flashing images manually from adb
EpickBroVlad said:
Needs flashing images manually from adb
Click to expand...
Click to collapse
I've flashed boot.img logo.img dtbo.img vbmeta.img through fastboot. Haven't done anything through ADB though. Can you give more details please?
edit: I've just tried adb reboot tw.img (tw being the TWRP) and I got this;
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot tw.img
adb server version (32) doesn't match this client (36); killing...
* daemon started successfully *
error: no devices/emulators found
edit 2: Also worth noting, I'm pretty sure I never enabled USB debugging before all of this...
raddest said:
I've flashed boot.img logo.img dtbo.img vbmeta.img through fastboot. Haven't done anything through ADB though. Can you give more details please?
edit: I've just tried adb reboot tw.img (tw being the TWRP) and I got this;
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot tw.img
adb server version (32) doesn't match this client (36); killing...
* daemon started successfully *
error: no devices/emulators found
Click to expand...
Click to collapse
I've messed my Mi9t by wiping presist and system partitions and as a cherry on top I've flashed stable of xiaomi.eu miui 11 based on android 10 on beta xiaomi.eu miui 10 based on android 9. Partition table was messed and phone was done... Even miflash didn't helped.
raddest said:
Hi everyone,
I've unlocked my mi 9t pro (8gb version) today (purchased from Hong Kong sent to Melbourne/Australia) and tried to flash TWRP. When I finally got into TWRP I deleted everything through advanced wipe (this is probably where I stuffed up). I rebooted and now I'm forever stuck in the fastboot screen.
I can use the cmd fastboot to re-load the twrp.img successfully. If I do that, I hold UP+PWR and it just returns me to fastboot screen. However, when I try to use 'fastboot boot twrp.img' I get the following error;
Code:
downloading 'boot.img'...
OKAY [ 1.398s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.408s
I can't go anywhere from here. I've attempted to use the miflash tool, but it's just throwing errors at me.
Any help here would be great.
If you have any questions, please don't hesitate to ask.
Thanks,
Raddest
Click to expand...
Click to collapse
If you have access to fastboot then you haven't killed it. You need to use MiFlash and try different official fastboot ROMS until you get the same as it came with (same rom not neccessarily same version number). Make sure you flash using "clean all and flash" and DON'T select lock.
Eventuallly one will work, you may have to try diffent versions of MiFlash and different ROMS but stick with it.
Also put the IMIE from the box it came in, into the Xiaomi authenticator site and if it's in Chinese, stick to chinese roms.
Your phone's only bricked if you can't access fastboot... something I once did to a Mi8 Pro.
reboot on fastboot
download first FASTBOOT ROM for your china version (Miui 10)
download miflash
install this rom throough miflash
regards
pjcarrmole said:
If you have access to fastboot then you haven't killed it. You need to use MiFlash and try different official fastboot ROMS until you get the same as it came with (same rom not neccessarily same version number). Make sure you flash using "clean all and flash" and DON'T select lock.
Eventuallly one will work, you may have to try diffent versions of MiFlash and different ROMS but stick with it.
Also put the IMIE from the box it came in, into the Xiaomi authenticator site and if it's in Chinese, stick to chinese roms.
Your phone's only bricked if you can't access fastboot... something I once did to a Mi8 Pro.
Click to expand...
Click to collapse
Is there any particular version of miflash that will work? When I try to run the latest (MiFlash20181115) I get the messages to 'Please install driver'. I click install, and it gives me errors. I'll attach what I'm seeing. I'll try different versions of miflash.
edit: Ok I've tried a different version of Miflash which doesn't throw driver errors at me when I install it. It can detect my phone in fastboot mode. I guess I need a list of mi 9t pro global fastboot roms. I'm looking for that. I've downloaded miui_RAPHAELGlobal_V10.3.3.0.PFKMIXM_67fb825970_9.0.zip but I'm pretty sure that's a regular ROM. I'm going to google 'mi 9t pro global fastboot rom' and see what I can find. Thanks!
Hopefully this works. Will it re-lock my bootloader if I select 'clean all' only?
raddest said:
Is there any particular version of miflash that will work? When I try to run the latest (MiFlash20181115) I get the messages to 'Please install driver'. I click install, and it gives me errors. I'll attach what I'm seeing. I'll try different versions of miflash.
edit: Ok I've tried a different version of Miflash which doesn't throw driver errors at me when I install it. It can detect my phone in fastboot mode. I guess I need a list of mi 9t pro global fastboot roms. I'm looking for that. I've downloaded miui_RAPHAELGlobal_V10.3.3.0.PFKMIXM_67fb825970_9.0.zip but I'm pretty sure that's a regular ROM. I'm going to google 'mi 9t pro global fastboot rom' and see what I can find. Thanks!
Hopefully this works. Will it re-lock my bootloader if I select 'clean all' only?
Click to expand...
Click to collapse
I'm guessing you may have a China rom if it's an 8gb version and definitely if it's 8gb/256gb. Latest fastboot roms can be found here:
https://xiaomifirmwareupdater.com/miui/raphael/
I'd try the latest of any rom with clean all. DO NOT SELECT CLEAN ALL AND LOCK unless you're sure its' the original rom variant that came with the phone.
PS I have the China rom, debloated and with all google goodness and it's easy to do, if you ever wanted to relock the bootloader in the future for google play.
Probably disable driver signature in Windows or an older version of me flash ( can't recall what i have since my laptop is semi dead ) , and make sure you actually install those drivers ( about 5 of them ) .
SOLVED
Ok, here's the fix that worked for me.
The latest Miflash didn't work, it's the portable version (I think) so it didn't come with the drivers and didn't run. I downloaded the next miflash which was MiFlashSetup_eng.msi. I can't find the download link at the moment, but it was an install package not the .zip with the contents.
Next, I found the global fastboot rom, which was called raphael_eea_global_images_V10.3.1.0.PFKEUXM_20190723.0000.00_9.0_eea_f70f6415ea.tgz (3.2gb).
From fastboot I ran the XiaoMiFlash.exe. I moved the fastboot rom to the same root folder of the flash program. Pointed it to the folder the fastboot rom was in, and clicked flash. Don't forget to select 'clean all' not 'clean all and lock' from the app.
That was it, and it worked. After it flashed everything (took a bit of time) I unlocked my phone again using mi unlock app. Installed TWRP, and DID NOT do advance flash, just left it on the default stuff. Did that, and am now using pixelexperience 9.0.
Again, thanks to everyone for replying, I'll be clicking thanks. I hope this helps anyone else in the same situation as I was. If you need any more information, please don't hesitate to post here.
Thanks,
Raddest
Hoping I could get some help for this old phone. I've spent over 5 hours trying to get twrp installed and having no success in what should be one of the quickest steps in the whole rooting/flashing game. Reaching out for help before I lose my mind...
I've tried 2 different builds of oreo and 2 different builds of pie (all stock) and for each build I flashed different twrp versions from this link https://androidfilehost.com/?w=files&flid=232371. I even tried the android 9/10 versions on the android 8 builds. No errors in fastboot. If I try using power plus either of the volume keys it just boots right to android. If I try using the fastboot command (fastboot boot recovery.img) it freezes at the Sony logo. Doesn't seem to be an issue with twrp because I couldn't find a single mention of anyone else having this issue in any of the threads I've read while trying to troubleshoot. Any suggestions?
Is your bootloader locked?
betacrypt said:
Is your bootloader locked?
Click to expand...
Click to collapse
Oh, right, I should have mentioned that it's definitely unlocked. I checked in the service menu and I get the warning at startup.
Hmm what android version are you running currently, latest stock pie? It's possible your recovery partition is corrupt somehow.
Open up a terminal for fastboot and try running:
fastboot format recovery
or
fastboot erase recovery
then
fastboot flash recovery twrp-3.3.1-0-lilac-pie-5.img
I used twrp-3.3.1-0-lilac-pie-5.img on my device so I can confirm that one is definitely working.
betacrypt said:
Hmm what android version are you running currently, latest stock pie? It's possible your recovery partition is corrupt somehow.
Open up a terminal for fastboot and try running:
fastboot format recovery
or
fastboot erase recovery
then
fastboot flash recovery twrp-3.3.1-0-lilac-pie-5.img
I used twrp-3.3.1-0-lilac-pie-5.img on my device so I can confirm that one is definitely working.
Click to expand...
Click to collapse
So I managed to get this working. I tried the fastboot erase command but still had no success. Googled "fastboot erase twrp" or something like that and found a thread discussing how twrp was suspected of corrupting someone's data partition and running a "fastboot erase userdata" command to reformat the partition. I didn't think this would help my situation but figured I had nothing to lose at this point. Ran the "erase userdata" command, set up the phone again, but had no success at first.
I re-ran the "erase recovery" command and had no success with twrp 3.3.1. Then I tried 3.2.1 and initially had no success with hardware buttons or the "boot recovery" command. What I did this final time though, which I don't think I did on my previous attempts, was that instead of going back immediately and trying to re-flash twrp after the frozen sony screen, I gave up this time. BUT....I also said "f* it...let me try booting into recovery with the hardware buttons one last time." Lo and behold, I finally got into twrp!
I don't know if running the "erase recovery" command is what was needed, or it was just some quirky glitch where I needed the phone to freeze. Nevertheless, many thanks for responding and prompting me to make the last few attempts. Flashed magisk with no issue afterwards.
Hello. When I decided I wanted to revert to the stock MIUI rom, I used the miflash tool to try and flash the fastboot rom for my device (K20 pro Chinsese variant). However, I'm facing a problem where miflash seemingly does nothing, and is stuck on this message:
$for /F tokens = 2 =: "%i in (fastboot -s b2cf370 getvar anti 2 > $1 | findstr/r/c: "anti" do (set...
Any help would be appreciated
Mmm, Miflash is really finicky, everything has to be perfect for it to flash fastboot roms. Just to clarify, have you got the latest drivers updated? Device in fastboot mode? Tried different usb ports and cable? What version Miflash? Fastboot and Miflash files in C: drive?
If all that fails then you could try going into the fastboot rom itself and their should be a option 'flash all' and it'll flash the rom in command instead. Not recommended but usually works for me.
untitledprotocol said:
Hello. When I decided I wanted to revert to the stock MIUI rom, I used the miflash tool to try and flash the fastboot rom for my device (K20 pro Chinsese variant). However, I'm facing a problem where miflash seemingly does nothing, and is stuck on this message:
$for /F tokens = 2 =: "%i in (fastboot -s b2cf370 getvar anti 2 > $1 | findstr/r/c: "anti" do (set...
Any help would be appreciated
Click to expand...
Click to collapse
Here's the fastboot flashing guide from the official Mi forums
https://c.mi.com/oc/miuidownload/detail?guide=2
On a mobile browser you will need to view it in desktop mode.
There is a link to the latest Mi Flash Tool. If you didn't get your copy from here, then download it and try that.
With the phone connected and in fastboot mode, try the 'fastboot devices' command before flashing, and make sure you get a valid response.
For my new Redmi 9T (EEA ROM, 2010j19sy) i wanted to install an unofficially twrp recovery but i was not able to boot any non-stock recovery out on the web. I also found that other people in this forum have the same problem.
The unlock and everything else worked without problems.
This qoute from GrandTouqe describes my problem exactly:
Rename the file change nothing to me.
As information, when I try in try
Bash:
fastboot boot recovery.img
i get :
Code:
Bash:
FAILED (remote: unknown command)
in fastboot
and
Bash:
FAILED (remote: Unrecognized command boot)
in fastbootd
I've test lineage recovery and that's the same : impossible to boot on other recovery except the stock MI-Recovery 3.0 .
Click to expand...
Click to collapse
My OS is Windows 10 on an x64 intel CPU.
The ADB Fastboot binaries are like 3 weeks old, may they cause this strange behavior?
I figured out that my product is not lime, its lemon now. Can anybody tell me what to do?
Hey !
I've found this one who works in this topic.
But after, I can't install the unofficial ROM that I find here.