Hello,
I just received my OP6 and I followed the guide on XDA to unlock, modify the recovery in TWRP, root and install a custom ROM. On my old tel, I used to do it but then I had to do a wrong manipulation.
Tutorial I followed: https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-unlock-bootloader-flash-twrp-t3792643
What I have done :
1- Unlock via adb.exe
2- flash twrp-3.2.3-0-enchilada.img from adb.exe
3- Flash twrp-3.2.3-0-enchilada.ZIP
4- Flash Magisk-v17.2.zip
The phone was booting well and still on Oxygen OS
So I rebooted in TWRP to flash the ROM HAVOC custom (https://forum.xda-developers.com/oneplus-6/development/rom-havoc-os-t3817805)
1- Wipe DATA, Davik, system
2- Flash the ROM.ZIP
3- reboot in TWRP
4- Flash Gapps => Error 20 with Gapps ARM64 and error 70 with Gapps ARM
5- Reboot system => Message : No OS Installed! Are you sure you wish to reboot ?
And when I reboot system, it comes back on the icon TWRP! Impossible to start on the ROM, it brings me back to the icon of recovery! I do not have enough on the menu. To have access again to the TWRP menu, I have to reflash twrp-3.2.3-0-enchilada.img ....
Do you have an idea to get back to normal where to install TWRP + Custom ROM?
Thank you.
PS: sorry i used google traduction.
I Solved my problem. I returned to stock but i always can't flash custom ROM. I blocked to TWRP icon after reboot.
vidéo : https://www.youtube.com/watch?v=jtc7EhNsfPA
Tools : https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
Related
Hello guys,
I'm having trouble trying to install a Custom ROM (Tresk Mod, but I get it with others too)
So basically some days ago my whole Internal Storage got encrypted so I had to a full wipe.
From there I decided to use Msmtools just in case, so I got back to OOS 5.1.5 from there I updated to OOS 9.0.5 via OTA and unlock the bootloader and install TWRP everything works fine.
But when I tried to install any custom ROM I either cannot boot and just boots to Bootloader (Not even the recovery works) and I get "Failed to load/authenticate boot image: Load Error" which I can fix fastboot flashing all the partitions...
Or I straight get a black screen with the White Notifications LED whenever I try to boot either to system or recovery and from there I can only recover using Msmtools...
So I'm now asking, what are the steps for flashing Custom ROMs now?? Because seems like I'm doing something wrong since I'm ending having a Bricked device...
try to flash rom with bluespark recovery
Nothing changed that I'm aware of, but I found that I'll have the same experience if I try to root before booting the system at least once rootless first. Also, I have issues like that whenever I keep TWRP (even Blu Spark) installed. Now I only use it via sideload every time. I never have issues anymore.
Mdknight said:
Nothing changed that I'm aware of, but I found that I'll have the same experience if I try to root before booting the system at least once rootless first. Also, I have issues like that whenever I keep TWRP (even Blu Spark) installed. Now I only use it via sideload every time. I never have issues anymore.
Click to expand...
Click to collapse
I did the following:
1. Upgraded from 5.1.5 to 9.0.5 (Since I was coming from Msmtools fix)
2. Unlock bootloader
3. Reboot to system and then boot again to bootloader for doing (fastboot boot TWRP.xxx.img)
4. Once in the recovery flash recovery and Magisk (just because) and back to system (where everything was working perfectly)
5. Rebooted to recovery and did the following:
Factory Reset (The one that you slide which should wipe Cache, Dalvik and Data)
Flashed the ROM (HavocOS 2.5) and right after that TWRP
And at this point I tried to reboot back to recovery but black screen and cannot boot to recovery nor system not even via fastboot
Is your order different? Am I missing something?
Asiier said:
I did the following:
1. Upgraded from 5.1.5 to 9.0.5 (Since I was coming from Msmtools fix)
2. Unlock bootloader
3. Reboot to system and then boot again to bootloader for doing (fastboot boot TWRP.xxx.img)
4. Once in the recovery flash recovery and Magisk (just because) and back to system (where everything was working perfectly)
5. Rebooted to recovery and did the following:
Factory Reset (The one that you slide which should wipe Cache, Dalvik and Data)
Flashed the ROM (HavocOS 2.5) and right after that TWRP
And at this point I tried to reboot back to recovery but black screen and cannot boot to recovery nor system not even via fastboot
Is your order different? Am I missing something?
Click to expand...
Click to collapse
You have to install twrp.zip again after havoc, boot Back Into Recovery and then gapps and magisk
Asiier said:
I did the following:
1. Upgraded from 5.1.5 to 9.0.5 (Since I was coming from Msmtools fix)
2. Unlock bootloader
3. Reboot to system and then boot again to bootloader for doing (fastboot boot TWRP.xxx.img)
4. Once in the recovery flash recovery and Magisk (just because) and back to system (where everything was working perfectly)
5. Rebooted to recovery and did the following:
Factory Reset (The one that you slide which should wipe Cache, Dalvik and Data)
Flashed the ROM (HavocOS 2.5) and right after that TWRP
And at this point I tried to reboot back to recovery but black screen and cannot boot to recovery nor system not even via fastboot
Is your order different? Am I missing something?
Click to expand...
Click to collapse
Sconny said:
You have to install twrp.zip again after havoc, boot Back Into Recovery and then gapps and magisk
Click to expand...
Click to collapse
Agreed. Always reboot from recovery to recovery after flashing a new one (TWRP). THEN, go ahead and flash gapps and magisk.
Sconny said:
You have to install twrp.zip again after havoc, boot Back Into Recovery and then gapps and magisk
Click to expand...
Click to collapse
Mdknight said:
Agreed. Always reboot from recovery to recovery after flashing a new one (TWRP). THEN, go ahead and flash gapps and magisk.
Click to expand...
Click to collapse
I finally figured it out
The problem was that as I was updating via OTA OOS 9.0.5 was only installed in one Slot so I need to install it in the other as well.
Did the following process:
1. Boot to Bootloader and do "fastboot boot TWRP.img"
2. From there flash TWRP.zip and Reboot back to it (Recovery)
3. Flash OOS Latest (9.0.5)
4. Flash TWRP
5. Reboot to TWRP
6. Flash OOS Latest (9.0.5)
7. Flash TWRP
8. Reboot to TWRP
9. Wipe data, dalvik cache
10. Flash ROM
11. Flash TWRP
12. Reboot to TWRP
13. Flash gapps + Misc (Magisk, etc)
14. Boot system
Technically just one 1 installation should do as the other slot was already populated but the twice just to be safe.
I am creating this post to help p2 community who is stuck on blue led after magisk update on custom rom
I have encountered this issue twice on my phone after a magisk update.
This happens when you patch the update directly from magisk manager.
The first time I was stuck with this issue on custom pie rom, I searched on other threads and got to know that device needs to reset to stock rom by flashing fast boot stock files on download mode, just search it, you will get link with details
However, this was a very complex task , also I lost my data in the process after flashing the data partition. From there , I went on to flash custom rom ,then installed apps , the process took the whole day
The second time when I again stuck with blue led , I was on another pie rom, This time I recovered my device without having to go over flashing all things again.
Please find the detailed step below , as I think it may help someone in such critical issues
1) Go to download mode, flash treble supported twrp for treble supported pie roms, by using command - fastboot flash recovery name.img
2) Temporary boot into same twrp , command is -
fastboot boot name.img
3) Once in twrp, go to reboot, reboot to recovery
4) Once in recovery , copy following files into internal storage - magisk.zip, magiskunistaller.zip, twrprecovery.img ( one used in step 1 ), boot.img ( extract it from existing rom package.zip)
5) Flash magisk uninstaller first
6) Go to install, install image
flash boot.img by selecting boot partition
if it get stuck , again go in twrp using step 3 and try again, it will work
flash twrprecovery.img by selecting recovery partition
7) Flash magisk zip now
8) If all goes well , you phone will boot into existing rom
Please like the post if you had same issue and are able to recover it from mentioned steps
I got into this trouble too, when direct installing magisk from v19.2 to v19.3. The magisk manager shows that it's finished installing v19.3 and reboot. Then the phone shows the white Lenovo screen, then turns dark, and vibrate for a few seconds with blue led lighting up, and finally just freeze. No bootloop, just a dark screen with blue notification led.
What I did was going to twrp (the one recommended in LOS 16.0 thread) by pressing vol up + down + power button until the white Lenovo screen come up, then release. I just reflash my current ROM (RR-P-v7.0.2-20190604-kuntao-Official.zip) using adb sideload. It finished flashing, click reboot, and finally managed to boot into system. No data loss, magisk v19.3 worked, and no magisk uninstaller required.
During the flashing process, I noticed that Magisk v19.3 was being auto flashed, so the magisk manager direct install probably somehow mess up with the boot.img after installing v19.3.
I was not able to go in twrp by any means , so I mentioned steps via download mode
Regarding your way to sideload and dirty flash whole rom , it didnt worked with me previously, so I cannot say about that, it was going back to blue led after reflashing
Regarding magisk installing and removing steps, anyone can ignore this steps and try if it works for them.
Just uninstall the magisk and reinstall it.
I have also faced same error previously and reinstalled magisk and it worked.
Someone please make a video of this and post it here
Rakxx said:
1) Go to download mode, flash treble supported twrp for treble supported pie roms, by using command - fastboot flash recovery name.img
2) Temporary boot into same twrp , command is -
fastboot boot name.img
3) Once in twrp, go to reboot, reboot to recovery
4) Once in recovery , copy following files into internal storage - magisk.zip, magiskunistaller.zip, twrprecovery.img ( one used in step 1 ), boot.img ( extract it from existing rom package.zip)
5) Flash magisk uninstaller first
6) Go to install, install image
flash boot.img by selecting boot partition
if it get stuck , again go in twrp using step 3 and try again, it will work
flash twrprecovery.img by selecting recovery partition
7) Flash magisk zip now
8) If all goes well , you phone will boot into existing rom
I have this issue but I don't know how to do these steps please make a YouTube video and post a link here (I'm new to this)
Click to expand...
Click to collapse
Hi
I have problems to install LineageOS on my new OnePlus6. I tried to install LineageOS with the guide on https://wiki.lineageos.org/devices/enchilada/install. If I follow the guide exactly step by step no OS is starting and I can't boot into recovery because (I think) twrp isn't installed (just black screen with blue led). But also if I first boot twrp with fastboot boot 'twrp.img' and after install the twrp.zip, no OS is starting after sideload or flash the 'lineageos.zip'. I think, the install doesn't finish correct. In the terminal on my debian I can see, that the installprocess ends at 47%. But I'm not really shure if this is the problem and if it is, how I can solve it. Probably in this thread the same problem is described: https://forum.xda-developers.com/oneplus-6/help/lineage-doesnt-boot-black-screen-light-t3958351 Unfortunately no solution is available in the thread.
Now I flashed the stockrom (https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665) and have done all updates but don't know how I can install twrp and after LineageOS. I hope somebody can help me. Thanks
Do you have the latest ADB version? Instead of sideloading you can try just transferring the zip files (with e.g. "adb push lineageos.zip /sdcard/") and then installing directly from TWRP.
Make sure you do all the wipes / formats mentioned in the guide. Transfer and flash the lineageos.zip. Then directly after you should flash the twrp.zip Then reboot back into recovery and flash Magisk / Gapps etc if needed. Then finally reboot to system.
Also read this guide if you haven't already as it explains a lot about how flashing ROMs on OnePlus 6 is different to many other older phones.
Hi and thank you makeyourself
I tried the following steps:
1. starting fastboot
2. fastboot boot twrp-3.3.1-2-enchilada.img -> twrp starting up
3. adb push twrp-installer-3.3.1-2-enchilada.zip /sdcard/ -> transfer ok
4. adb push lineage-16.0-20190922-nightly-enchilada-signed.zip /sdcard/ -> transfer ok
5. in twrp Wipe -> Format Data
6. in twrp Advanced Wipe -> System
7. in twrp install lineage-16.0-20190922-nightly-enchilada-signed.zip
8. in twrp install twrp-installer-3.3.1-2-enchilada.zip
9. reboot to recovery
After this steps I got the same problem as before. Before the reboot to recovery, twrp showed the message "no OS installed". So I think, the zip weren't installed correctly. Now, I have the black screen with the blue led. Can you find out what I did wrong?
Edit: Now, I can't also boot twrp. Also if I do a fastboot boot twrp-3.3.1-2-enchilada.img nothing happens.
Fastboot to twrp (newest blu spark should be fine, or black twrp)
Flash twrp zip
Reboot to twrp
Wipe data, cache.
Flash recommended oos
Flash twrp
Reboot to twrp
Flash recommended twrp (yes...... Again)
Flash twrp (yes... Again, recovery is lost after rom Flash ALWAYS)
Reboot to twrp
Flash LOS or any other custom rom
Flash twrp (rom Flash, so twrp is lost like I said)
Reboot to twrp
Flash magisk (IF ypu want magisk)
Flash gapps (IF ypu want gapps)
Flash kernel (IF I like to run another custom kernel)
Boot
Enjoy
Thank you whizeguy, I'll try this. But just one question about "Flash recommended oos". Which OxygenOS can I flash (this full OTA? https://www.xda-developers.com/oneplus-6-oneplus-6t-oxygenos-9014-906/) and why I have to do this? Sorry if it is a bad question.
You Flash The oxygen OS version that is recommended in Los thread, simple as that.
You have an a/b device, vendor partition (could be other files needed aswell, not 100 % sure) is needed to Flash custom, IF you did Amy research you'd finns some good info. Also for faster answers in The future: post your issue in the thread for LOS, that way you would get help from People Who uses it, knows The exact version you should use and what not
Hey whizeguy, thank you very much. Everything works perfect now. But why for heaven's sake do I have to flash oos and why the guide on the LineageOS site don't tell me this way?
Wow idk what happened here. Mistakenly replied to this thread. Apologies.
tl;dr
TWRP doesn't encrypt/mount storage,
Magisk kills WiFi.
Before I bricked the phone with a Magisk module, everything was working.
Had to revive my phone with MSM, stuck in qualcomm crashdump.
Now stock firmware is working, but I cannot get phone rooted with working WiFi / working TWRP.
==================================================
This is how I did it before (clean install, unlocked OEM)
1. boot into fastboot/bootloader
2. fastboot > fastboot flash boot twrp-3.3.1-70-guacamole-unified-Q-mauronofrio.img
3. boot into recovery mode
4. install OnePlus7ProOxygen_21.E.21_OTA_021_all_1910071445_89e89c225a754eb6.zip
5. install twrp-installer-3.3.1-4-guacamole.zip
6. reboot into recovery
7. Install Magisk-v20.0.zip
8. reboot system
DONE and it worked.
NOW:
1-6 stay the same.
But when I get back into recovery, TWRP doesn't read/mount the storage.
adb push magisk to sdcard/ and try to install leads to following:
Updating partition details...
...done
Unable to mount storage
Failed to mount "/data" (Invalid argument)
Full SELinux is present.
Unable to mount /data/media/TWRP/.twrps
MTP Enabled
- blablabla
- installing
- Done
Updating partition details...
...done
Unable to mount storage
Click to expand...
Click to collapse
...guess what, Magisk is not installed/working
- Repair/change file system doesn't work.
(phone will boot into system instead of recovery, back to recovery still Internal Storage at 0 MB)
- formatting data + Wiping Dalvic / ART Cache, System, Cache doesn't work
(will all lead to stuck in Fastboot -> recovery due to fastboot image)
(installing boot.img (on A & B) and TWRP.zip doesn't help)
- install OOS and then just flash TWRP without flashing stock firmware doesn't change
Alternative
1-6 stay the same.
7. boot into fastboot
8. boot TWRP *-70 again
9. encrypting now works, mounted
10. isntall MAGISK (20.0 or 20.1)
11. reboot system
At this point it seems like everything is working, but with MAGISK now installed, WIFI won't work. Can't activate WiFi it at all.
So, i have no idea what I changed.
Rooting worked before the brick. Now it stopped working.
My friend has that problem after rooting his phone with magisk..
Just flaah the rom and wifi will be back..
HOW TO FLASH
This version is only for not branded devices
Download the zip;
Unpack the zip in a folder;
Reboot the OnePlus 7 Pro in fastboot mode (Power and volume + and volume-);
Connect the OnePlus 7 Pro to PC;
Run flash-all.bat flasher you need;
Wait until the process end;
The phone will automatically reboot.
https://forum.xda-developers.com/on...ock-fastboot-roms-oneplus-7-pro-t3931424/amp/
Click to expand...
Click to collapse
Thank you, Sir
I should have mentioned that I already flashed a dozen times to stock firmware. Used the package from your link as well when I was stuck in fastboot.
My mistake, I should have been more accurate with my problem.
Getting it back to stock firmware isn't the problem.
Getting it back as a rooted device with working WiFi and working TWRP is the problem.
Stock OOS - without TWRP, without Magisk » ROM working
Stock OOS + TWRP (3.3.1-4) » TWRP not working; ROM working (but this combo worked before)
Stocks OOS + TWRP (3.3.1-70) » TWRP working, ROM working[/b] (but TWRP *-70 should be replaced by *-4 afaik[/U]; correct me if I am wrong)
Stock OOS + Magisk + TWRP *-70/TWRP*-4 » Magisk working, ROM no WiFi. (fixable through reflashing stock firmware and deleting everything)
So maybe any ideas why Magisk/TWRP stopped working now? And how I can get my OP7P rooted and the stable TWRP working?
Solved
Reinstalling boot.img + TWRP 3.3.1-70 installer.zip + Magisk v20.1.zip did it this time
saexcore said:
Solved
Reinstalling boot.img + TWRP 3.3.1-70 installer.zip + Magisk v20.1.zip did it this time
Click to expand...
Click to collapse
Hey, can you go into more details? I'm having the same trouble of not being able to install magisk (stock rom with twrp installed).
Where can I get this boot.img? And what's the exact process to installing it? Thanks.
For me, I never booted into bootloader. I ran fastboot boot /path/to/TWRP.img, while still booted up and that took me to recovery and I used TWRP installer and flashed magisk from there.
I tried almost all the other methods, and kept soft bricking. I didn't patch anything, booting from fastboot soft bricked me.
I just started experiencing connection issues after installing a Magisk modules, but I read a custom kernel solves that.
meleeb4kr said:
Hey, can you go into more details? I'm having the same trouble of not being able to install magisk (stock rom with twrp installed).
Where can I get this boot.img? And what's the exact process to installing it? Thanks.
Click to expand...
Click to collapse
Sure.
The boot image I got from:
https://androidfilehost.com/?w=files&flid=294300
(download the fastboot firmware for your device, for me it was "10.0.1-GM21BA".
open the archive, open the next folder, extract the "boot.img" file to your PC)
Magisk I got from:
https://github.com/topjohnwu/Magisk/releases
(I used 20.1, 19.4/20.0 seems to work more stable for more people)
TWRP I got from:
https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3931322
(Download image for Q and twrp-installer.zip)
===================================
1. Boot into fastboot
(developer options > advanced restart > restart bootloader or power device off > HOLD volume down and press power till in fastboot)
2. In fastboot: "fastboot boot twrp70.img"
(#protip: drag & drop file into CMD)
2.1. wait till phone encrypted everything and TWRP started
3. Copy twrp70.zip, boot.img & Magisk-v20.1.zip to your phone
(I put it in the TWRP folder)
no reboots in-between!
3. In twrp homescreen: install > install image > boot.img > choose "boot" > install
4. In twrp homescreen: install > install zip > twrp70.zip > install
4.1 wipe dalvik
5. In twrp homescreen: install > install zip > magisk-v20.1.zip > install
5.1 wipe dalvik
6. In twrp homescreen: reboot > system
Done.
Hope it works for you too.
Hello friends,
Current setup:
Device: OP6
ROM: Stock OOS 9.0.9 stable
Kernel: ElementalX-OP6-3.19
Root status: Rooted with Magisk 23.0
TWRP 3.4.0 | blu_spark v9.115 - Current active slot: A
I wish to wipe the device and clean flash OOS 11 stable then install the latest TWRP, EX Kernel, and root using the latest Magisk. Please help me with the process so that I don't brick the device inadvertently.
The-Droidster said:
Hello friends,
Current setup:
Device: OP6
ROM: Stock OOS 9.0.9 stable
Kernel: ElementalX-OP6-3.19
Root status: Rooted with Magisk 23.0
TWRP 3.4.0 | blu_spark v9.115 - Current active slot: A
I wish to wipe the device and clean flash OOS 11 stable then install the latest TWRP, EX Kernel, and root using the latest Magisk. Please help me with the process so that I don't brick the device inadvertently.
Click to expand...
Click to collapse
Please make sure to take a back up of EVERYTHING ( be it any preferred method you use) . Once you have a backup of your complete phone please proceed to the next step by download the latest OOS 11 Full version( Not the OTA update).
Try updating your phone through Settings -> System Update.
Once the update is complete , Please make sure to reboot your phone to recovery mode once. Which should now be installed with Stock Recovery.
In some cases the stock recovery wipes everything on your phone and reboots.
If not you can wipe using the option Erase Everything including photos in memory.
Once the phone reboots and setup is complete. Reboot your phone once or twice.
The above step may sound weird but it helps you to identify any issue before next step.
MAKE SURE TO FOLLOW THE STEPS AS I HAVE STATED ELSE YOUR PHONE WILL END UP WITH CRASH DUMP MODE.
1.Make sure you have necessary ADB drivers installed on your PC.
2.Reboot your phone to Bootloader mode either by using command prompt or by pressing Volume + and Power key. (CMD : adb reboot bootloader )
3.Use Fastboot command to install the attached recovery file. Please do not use other TWRP files. ( CMD : Fastboot boot boot.img) ( boot.img is the file name attached).
4. The phone should reboot to TWRP recovery mode.
5. Under TWRP menu Navigate to Advanced -> Select Install Current TWRP.
6. The step should install your phone with TWRP on both slots.
7. Once install reboot your phone and check if OOS11 is still intact.
8. To verify if TWRP is installed as your recovery . Reboot your phone to recovery mode.
9. Once in recovery mode you can install the attached Magisk V23 apk using menu Install -> choose Magisk apk.
10. Reboot your phone and install Magisk using the same APK.
Viola you are all good to go if you have installed everything as mentioned.
Hope it helps now.
mm_rajesh said:
Please make sure to take a back up of EVERYTHING ( be it any preferred method you use) . Once you have a backup of your complete phone please proceed to the next step by download the latest OOS 11 Full version( Not the OTA update).
Try updating your phone through Settings -> System Update.
Once the update is complete , Please make sure to reboot your phone to recovery mode once. Which should now be installed with Stock Recovery.
In some cases the stock recovery wipes everything on your phone and reboots.
If not you can wipe using the option Erase Everything including photos in memory.
Once the phone reboots and setup is complete. Reboot your phone once or twice.
The above step may sound weird but it helps you to identify any issue before next step.
MAKE SURE TO FOLLOW THE STEPS AS I HAVE STATED ELSE YOUR PHONE WILL END UP WITH CRASH DUMP MODE.
1.Make sure you have necessary ADB drivers installed on your PC.
2.Reboot your phone to Bootloader mode either by using command prompt or by pressing Volume + and Power key. (CMD : adb reboot bootloader )
3.Use Fastboot command to install the attached recovery file. Please do not use other TWRP files. ( CMD : Fastboot boot boot.img) ( boot.img is the file name attached).
4. The phone should reboot to TWRP recovery mode.
5. Under TWRP menu Navigate to Advanced -> Select Install Current TWRP.
6. The step should install your phone with TWRP on both slots.
7. Once install reboot your phone and check if OOS11 is still intact.
8. To verify if TWRP is installed as your recovery . Reboot your phone to recovery mode.
9. Once in recovery mode you can install the attached Magisk V23 apk using menu Install -> choose Magisk apk.
10. Reboot your phone and install Magisk using the same APK.
Viola you are all good to go if you have installed everything as mentioned.
Hope it helps now.
Click to expand...
Click to collapse
Wow, you've explained it in such great detail. Thank you, I'll try this approach and let you know how it goes.