Bootlooped after install of Lineage, twice! - OnePlus 6T Questions & Answers

Hey all,
Phone is new to me, t-mo version. Did the international conversion, unlocked the bootloader, installed TWRP 3.3.1.1.img. All with minimal issues. Installed the 20200121 nightly of LOS successfully, but it powered off a few minutes after getting through the setup menu. Bootlooped. I may have gotten it out of the bootloop with the vol up+down trick from the msmdownloadtool trick, or something, cause I got the screen to turn off and left it for the night.
Tonight, the phone was totally dead, but I was able to start over with the (patched) msmtool I used initially. All good. Went through the same steps and got TWRP and LOS installed. This time I used last nights nightly 20200123. All set for a minute, before it bootlooped again.
Here's some details that might be useful:
The phone powered off after unplugging it. This is when the bootloop started, I can't be sure it was after dissconnecting each time, but at least the last time. The battery was >80%. I also managed to get it to boot into LOS after the most recent bootloop, for a few minutes, and it powered off without being connected or disconnected. So probably not related.
I did a system wipe, along with the format, as recommended in the LOS installation steps from them
The system wipe maybe wasn't a good idea??
I tried to sideload LOS.zip, which seemed to work fine according to my terminal, but it warned me that I had no OS installed when I went to reboot. So I adb pushed LOS and installed. I got the same no OS warning, but rebooted anyway this time. LOS started up fine, for a few minutes, before powering off and then looping.
Could I have 2 instances conflicting??
Nothing else installed yet, not root, magisk, or anything yet.
I shut it down this time with a vol up + power, which worked. I'm done for tonight, but I would appreciate any ideas on what may be causing this so I can give it a third go tomorrow.
Thanks!

try this
BeansBeanson said:
Hey all,
Phone is new to me, t-mo version. Did the international conversion, unlocked the bootloader, installed TWRP 3.3.1.1.img. All with minimal issues. Installed the 20200121 nightly of LOS successfully, but it powered off a few minutes after getting through the setup menu. Bootlooped. I may have gotten it out of the bootloop with the vol up+down trick from the msmdownloadtool trick, or something, cause I got the screen to turn off and left it for the night.
Tonight, the phone was totally dead, but I was able to start over with the (patched) msmtool I used initially. All good. Went through the same steps and got TWRP and LOS installed. This time I used last nights nightly 20200123. All set for a minute, before it bootlooped again.
Here's some details that might be useful:
The phone powered off after unplugging it. This is when the bootloop started, I can't be sure it was after dissconnecting each time, but at least the last time. The battery was >80%. I also managed to get it to boot into LOS after the most recent bootloop, for a few minutes, and it powered off without being connected or disconnected. So probably not related.
I did a system wipe, along with the format, as recommended in the LOS installation steps from them
The system wipe maybe wasn't a good idea??
I tried to sideload LOS.zip, which seemed to work fine according to my terminal, but it warned me that I had no OS installed when I went to reboot. So I adb pushed LOS and installed. I got the same no OS warning, but rebooted anyway this time. LOS started up fine, for a few minutes, before powering off and then looping.
Could I have 2 instances conflicting??
Nothing else installed yet, not root, magisk, or anything yet.
I shut it down this time with a vol up + power, which worked. I'm done for tonight, but I would appreciate any ideas on what may be causing this so I can give it a third go tomorrow.
Thanks!
Click to expand...
Click to collapse
(BASE STOCK ROM)
OnePlus6TOxygen_41_OTA_063_all_2001032024_215eea3f e7c64e37.zip (BETA4)
whatever the rom requires(10.3.0) however the Q beta 4 works just fine, havent found any real bugs / newer security patches etc.
(CUSTOM ROM)
Latest rom that will work with BASE and TWRP decryption
(latest TWRP )
twrp 3.3.1-31 zip
(Latest)
Magisk Canary . Zip
(Latest)
open_gapps - Q
(Latest)
custom compatible kernel
(Latest)
NanoDroid - with con/fig read alter installation notes
(&)
India_Fake_Partition_Deleter
------------------- EASY-CLEAN-INSTALL (LONG BUT BULLETPROOF) -------------------
!(BACK UP STORAGE / U WILL LOSE DATA ETC.
ALL FILES ABOVE CAN BE SUBSTITUTED FOR ANY "IDEAL" ROM SETUP
CONFIGURATIONS YOU MAY PREFER., THESE ARE MYNE)!
------------------------------------------------------------------------------------------------
You only need any custom rom with the required BASE STOCK ROM and compatible TWRP version to decrypt storage, and of course, the latest magisk.
------------------------------------------------------------------------------------------------
From dirty or clean system - to - clean flash
in cmd type
fastboot boot twrp.img
Install twrp installer.
Mount all partitions / wipe / advanced / check all boxes & wipe all / format.
- - Reboot twrp - -
Mount all partitions / wipe / advanced / check all boxes & wipe all / format.
Reboot twrp
(DONT BE MOUNTING OR UNMOUNTING ANYTHING MANUALY ANYMORE!)
install OOS(BETA4).zip / TWRP installer
- - reboot recovery - -
install OOS(BETA4).zip / TWRP installer
- - reboot to recovery - -
Copy -
Magisk , TWRP & ROM to internal storage.
Format Data
Flash ROM
Flash TWRP installer
Reboot to recovery
Wipe Dalvik/ART Cache
Wipe Data
Flash Magisk.
Reboot system with your device unplugged to be safe (Device may reboot a couple times)
- - reboot to recovery - -
Copy -
Magisk , TWRP & ROM to internal storage.
Flash ROM
Flash TWRP installer
- - reboot to recovery - -
Flash Magisk
BOOT UP System
- - reboot back to recovery - -
Choose Reboot Option / (CHANGE YOUR SLOT) / Back / Reboot Recovery
Flash Magisk.
Reboot system
SETUP ROM
/////////////////////////////////////\OPTIONAL/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- - REBOOT TO RECOVERY - -
----------------------------------------------------------------------------------------------------
STEP *( .=./ )*
Flash GAPPS
Flash India_Fake_Partition_Deleter
Flash NanoDroid (With prefered pre-configured setup/overlay/apps files placed)
Flash Custom Kernel
Re-Flash Magisk again
Click - WIPE DALVIK & Reboot system right after
------------------------------------------------------------------------------------------------------
- - REBOOT TO RECOVERY - -
Choose Reboot (CHANGE YOUR SLOT TO THE OPPOSITE SLOT)
- - REBOOT BACK TO RECOVERY - -
REPEAT STEP " *( .=./ )* "
-------------------------------------------------------------------------------------------------
GAME OVER
1up
THIS is EXTENSIVE but will work for any particular rom setup for a/b devices based on Q
---------- Post added at 10:50 PM ---------- Previous post was at 10:47 PM ----------
just follow install guide download latest linageos and gapps from open gapps. and latest magisk and after flash gapps if you cannot sign into a google account then you need to factory reset both slot in system settings menu and then just reinstall magisk and kernel settings modules etc
---------- Post added at 10:52 PM ---------- Previous post was at 10:50 PM ----------
just switch slots in cmd or via twrp and reboot system and factory reset wipe all via the settings in the booted system, not twrp

I'm a little slow..
I got the phone back to factory with the msmtool, so I'm ready to do this! I get the general idea, but for a few of these, can you ELI5. Thanks so much for taking the time to help me out.
------------------- EASY-CLEAN-INSTALL (LONG BUT BULLETPROOF) -------------------
!(BACK UP STORAGE / U WILL LOSE DATA ETC.
ALL FILES ABOVE CAN BE SUBSTITUTED FOR ANY "IDEAL" ROM SETUP
CONFIGURATIONS YOU MAY PREFER., THESE ARE MYNE)!
------------------------------------------------------------------------------------------------
You only need any custom rom with the required BASE STOCK ROM and compatible TWRP version to decrypt storage, and of course, the latest magisk.
------------------------------------------------------------------------------------------------
From dirty or clean system - to - clean flash
in cmd type
fastboot boot twrp.img
Install twrp installer. Do I just find the zip in the file structure in twrp and install? I'm at this step in twrp and I don't see how to install it. Previously I had `adb push twrp.img /storage/` so that I had a file I could find and install. If it's already there just from `fastboot boot twrp.img`, I can't seem to find it.
--solved this by pushing the twrp-intaller.zip to /storage, and then installing. It did the expected installation to both a/b
Mount all partitions / wipe / advanced / check all boxes & wipe all / format.
- - Reboot twrp - -
I went to `mount` and checked all the boxes. Then went back to `wipe advanced` and checked all those boxes. Now I'm stuck at the fastboot screen and can't boot or start. :crying:
I can't do a `fastboot boot twrp.img either. Any suggestions before I blow it away with the msmtool again??????
Mount all partitions / wipe / advanced / check all boxes & wipe all / format.
Reboot twrp
(DONT BE MOUNTING OR UNMOUNTING ANYTHING MANUALY ANYMORE!) How was I doing it wrong? Or do you mean that these steps just now are the only mounting that should be done?
install OOS(BETA4).zip / TWRP installer What command should I use to move it from my pc to the phone? `adb push .zip storage` ?
- - reboot recovery - -
install OOS(BETA4).zip / TWRP installer Do it twice, exactly the same? Is this so it's on both slots?
- - reboot to recovery - -
Copy -
Magisk , TWRP & ROM to internal storage. What command should I use for copying? Like above `adb push <files> storage`?
Format Data
Flash ROM
Flash TWRP installer
Reboot to recovery
Wipe Dalvik/ART Cache
Wipe Data
Flash Magisk.
Reboot system with your device unplugged to be safe (Device may reboot a couple times)
- - reboot to recovery - -
Copy -
Magisk , TWRP & ROM to internal storage.
Flash ROM
[/COLOR]just follow install guide download latest linageos and gapps from open gapps. and latest magisk and after flash gapps if you cannot sign into a google account then you need to factory reset both slot in system settings menu and then just reinstall magisk and kernel settings modules etc
---------- Post added at 10:52 PM ---------- Previous post was at 10:50 PM ----------
just switch slots in cmd or via twrp and reboot system and factory reset wipe all via the settings in the booted system, not twrp
Not sure what you mean by this part here. I wasn't planning on installing gapps. I'm confused about the reseting both slots. Is the idea that I did the install twice above, so that it's on both a/b slots and I'd have to reset both if there's a problem?
Click to expand...
Click to collapse

Related

[Solved] Unable to boot into custom rom after device crash

So I my A2017G had RR-20170314 with TWRP 3.1.0-0 and AX7 R6 installed. Everything was working fine until today my phone rebooted while it was in my pocket. I didn't change anything before and haven't used it for some time and only noticed this through 2 short vibrations. Since then the phone refused to boot into system, TWRP was still accessible though. Three short blinks by the led directly after the bootloader screen and then the phone shut itself down.
Back in recovery I made a full backup and tried booting with deleting cache etc and installing the latest RR. Nothing worked.
When I went back to stock I was finally able to boot. Flashed TWRP 3.1.0-0 through axon7tool and installed RR again. And again only those 3 led blinks
Used "disemmcwp" to make sure write protection is disabled and noticed that when I rebootet the recovery got replaced by the stock one. Only if I enable write protection through "emmcwpenab" the recovery isn't replaced
Just checked the status of the bootloader and it still says unlocked.
I found two threads with a similiar issue but unfortunately nothing helped:
https://forum.xda-developers.com/axon-7/help/boot-recovery-boot-t3569364
https://forum.xda-developers.com/axon-7/help/3-flashes-reboot-phone-shuts-off-t3574324
Never experienced such a thing before. Any help is really appreciated ?
I'm really out of ideas what to do. And stock isn't really a permament solution
Are you using latest G bootstack? Is the device in dfu, or edl mode (check device manager on pc)?
Be very careful with that G version.
Yes since I was on RR before. Using the stock bootstack nor the one provided in the Los thread makes a difference.
Fortunately I'm not stuck in DFU mode. Booting to stock works, so does edl and twrp. But twrp only without using disemmcwp
I would try using older twrp. I've encountered this before but usually a reboot fixes it. I have not gone to twrp 3.1 yet, i think 3.0.4 was the one before.
lafester said:
I would try using older twrp. I've encountered this before but usually a reboot fixes it. I have not gone to twrp 3.1 yet, i think 3.0.4 was the one before.
Click to expand...
Click to collapse
Tried it with TWRP 3.04-1 and it's the same result.
Reboot diseemcwp -> recovery gets replaced by stock recovery after reboot
Reboot emmcwpenab -> recovery gets not replaced
In both cases I am unable to boot with a modified system or kernel.
Seems like the write protection is screwed up
Cyb3rzombi3 said:
Tried it with TWRP 3.04-1 and it's the same result.
Reboot diseemcwp -> recovery gets replaced by stock recovery after reboot
Reboot emmcwpenab -> recovery gets not replaced
In both cases I am unable to boot with a modified system or kernel.
Seems like the write protection is screwed up
Click to expand...
Click to collapse
If you disable write protection you inadvertently end up tripping dm-verity, which causes the device not to boot (security feature).
The reason you feel that disabling system write protection through TWRP causes TWRP to get overwritten by the stock recovery, could be because of the reboot rather than anything else.
I.e. When you install the stock system and reboot, the system overwrites the recovery partition, installing the stock recovery.
My suggestion:
- Make a backup.
- Wipe dalvik cache, cache, system, and data through recovery (under Wipe-> Advanced Wipe).
- Check that the filesystem of the partitions are ext4 (through the "file system" button under Wipe->Advanced Wipe menu), and change them if necessary.
- Reboot recovery.
- Don't swipe to allow system modifications.
- Install the stock bootstack, stock system (I'm assuming that you are using DrakenFX's image zips), and reboot.
- If it fails to install, just reboot recovery, and try to install once again.
Let me know if this works for you.
Erahgon said:
If you disable write protection you inadvertently end up tripping dm-verity, which causes the device not to boot (security feature).
The reason you feel that disabling system write protection through TWRP causes TWRP to get overwritten by the stock recovery, could be because of the reboot rather than anything else.
I.e. When you install the stock system and reboot, the system overwrites the recovery partition, installing the stock recovery.
My suggestion:
- Make a backup.
- Wipe dalvik cache, cache, system, and data through recovery (under Wipe-> Advanced Wipe).
- Check that the filesystem of the partitions are ext4 (through the "file system" button under Wipe->Advanced Wipe menu), and change them if necessary.
- Reboot recovery.
- Don't swipe to allow system modifications.
- Install the stock bootstack, stock system (I'm assuming that you are using DrakenFX's image zips), and reboot.
- If it fails to install, just reboot recovery, and try to install once again.
Let me know if this works for you.
Click to expand...
Click to collapse
Already did those steps but instead of using DrakenFX's files I used the official stock zip.
Shouldn't make a difference right?
Gonna try it once more...
Edit:
I'm stock now, TWRP installed without allowing system modifications.
Edit2:
Just rebootet and the recovery is gone again. This happened after I dlashed the recovery again after reverting to stock.
Edit3:
So what I tried so far after reverting to stock after each fail:
- flash SuperSU 2.65 -> unable to boot
- flash SuperSU 2.97 -> unable to boot
- flash Magisk 11.6 -> boot successful, Magiks installed and showing root but unable to request root permissions
- flash latest Los -> unable to boot
- flash latest RR -> unable to boot
- flash latest tool to disable dm-verity (from TWRP thread: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/) -> unable to boot
- flash AX7 R1 -> unable to reboot
Did the above steps with allowing system modifications and without.
Same for rebooting with disemmcwp and reformatiing partitions.
Tried using the universal bootloader from Los thread and still wasn't able to boot except using the stock rom.
I'm really out of ideads what I could try next.
Recovery seems to stick for now.
Could it be that the problem is not dm-verity but something else?
When I rooted the device I encountered no problem with that security mechanism. Custom roms and kernels worked as well without ever having to worry abou that.
Finally managed to boot into RR!
Here is what I did:
1. Went back to B10
2. Relocked bootloader
3. Booted into system -> developer settings -> Oem Unlock
4. Unlocked bootloader
5. Flashed recovery through fastboot
6. Booted directly into TWRP (when I did a restart it was overwritten immediately that's why I booted directly into it one the second try)
7. Allowed system modifications inside TWRP and flashed SuperSU 2.65
8. Successfully booted into system and had root
9. Flashed Universal Bootloader and Modem from Los thread
10. Flashed RR + Gapps
I really don't know which step the crucial one was but I hope if someone else manages to get into the same situation as I did those steps will help.
Thank you guys for helping me out

Did Factory Reset in Custom Rom now i have a TWRP Bootloop. (Mediatek)

Hello Guys it´s me again. (i know im annoying )
Well, i did a Factory Reset in dotOS and it Rebooted into TWRP.
However, Normally a Phone would then Perform the Action in the Recovery but in this Case it did not do it. So i Reflashed the Rom.
After that it Rebooted into TWRP again. I Tried to Access the Bootloader with Vol Down + Power. That also Booted into TWRP. After that i Selected Bootloader in the TWRP Reboot Options. That Booted the Phone into the Mode where i Flashed the Recovery but it did not Give me the Options like META MODE, FACTORY MODE etc, when i tapped the Volume Buttons. Only a Black Background with White text Saying :
> FASTBOOT mode...
> device unlocked
I Tried to Restore my Stock TWRP Backup but that did not Solve the Issue. I also tried to Reflash dotOS but same issue.
What else Can i do to get this fixed ? I never had a Problem Like this on any Sony or Samsung Device i tinkered with. Thats why im asking that much.
@Marc_Xperia Do not forget to install no-verity-opt-encrypt zip file or simple disable *system verifier* in kernel ramdisk.
TheHitMan said:
@Marc_Xperia Do not forget to install no-verity-opt-encrypt zip file or simple disable *system verifier* in kernel ramdisk.
Click to expand...
Click to collapse
I Tried that but still no luck. Might Revert to stock and try it that why. If i can find the VCOM Driver...
Marc_Xperia said:
Hello Guys it´s me again. (i know im annoying )
Well, i did a Factory Reset in dotOS and it Rebooted into TWRP.
However, Normally a Phone would then Perform the Action in the Recovery but in this Case it did not do it. So i Reflashed the Rom.
After that it Rebooted into TWRP again. I Tried to Access the Bootloader with Vol Down + Power. That also Booted into TWRP. After that i Selected Bootloader in the TWRP Reboot Options. That Booted the Phone into the Mode where i Flashed the Recovery but it did not Give me the Options like META MODE, FACTORY MODE etc, when i tapped the Volume Buttons. Only a Black Background with White text Saying :
> FASTBOOT mode...
> device unlocked
I Tried to Restore my Stock TWRP Backup but that did not Solve the Issue. I also tried to Reflash dotOS but same issue.
What else Can i do to get this fixed ? I never had a Problem Like this on any Sony or Samsung Device i tinkered with. Thats why im asking that much.
Click to expand...
Click to collapse
It's very simple
-boot into recovery
-wipe
-advanced wipe
-clear / format cache & dalvik
-reboot _choose reboot recovery
-select mtp file transfer mode in twrp
-push LATEST* magisk zip
-push clean copy of dotOs
-then do FULL WIPE (all) but not your sd or internal sd/data
-install first dotOs zip
-install magisk zip
-wipe cache
-reboot
* If you fail check what is selected under the mount section & report back
If problem persists flash an older version of recovery using SPflashtools and then older version of dotOs with magisk
_do full wipe first
#some new recoveries had errors so make sure you are running ABSOLUTE latest or OLDEST version of twrp
# I haven't tried the last or latest version of dotOs yes ( older versions worked 100%)
KevMetal said:
It's very simple
-boot into recovery
-wipe
-advanced wipe
-clear / format cache & dalvik
-reboot _choose reboot recovery
-select mtp file transfer mode in twrp
-push LATEST* magisk zip
-push clean copy of dotOs
-then do FULL WIPE (all) but not your sd or internal sd/data
-install first dotOs zip
-install magisk zip
-wipe cache
-reboot
* If you fail check what is selected under the mount section & report back
If problem persists flash an older version of recovery using SPflashtools and then older version of dotOs with magisk
_do full wipe first
#some new recoveries had errors so make sure you are running ABSOLUTE latest or OLDEST version of twrp
# I haven't tried the last or latest version of dotOs yes ( older versions worked 100%)
Click to expand...
Click to collapse
Do you have Some Links on the ABSOULTE latest or OLDEST Version of TWRP ? I dont trust the one i Have anymore.
I Used this one : https://androidfilehost.com/?fid=890129502657592740
Marc_Xperia said:
Do you have Some Links on the ABSOULTE latest or OLDEST Version of TWRP ? I dont trust the one i Have anymore.
I Used this one : https://androidfilehost.com/?fid=890129502657592740
Click to expand...
Click to collapse
Download this tool .
https://www.androidfilehost.com/?fid=817550096634801704
Extract the .rar
Inside the folder there is recovery by XNlogos with zero errors
This tool can also inject recovery using fastboot or unlock bootloader in automated manner & flash custom boot( with verity encrypt DISABLED)

No signal after flashing rom

Hey guys,
I recently flashed Omnirom and after doing so, noticed I had no signal. After flash, reboot, or resetting Network/Data settings, I'll have data for about 20-30 seconds. I can browse the web, but I can't send or receive calls or messages. Then it goes away completely. It sporadically returns, but drops again quickly.
Carrier is Verizon. My Sim card is still being read so the issue doesn't seem to be there. I've put it back in my Pixel 2 and it's working fine.
At a high level, this is what I've done over the past 12 hours:
1. My bootloader is unlocked. I flashed a new ROM and then it wouldn't boot.
2. I did a Factory reset through Recovery and then it booted into the ROM, where I noticed I had no signal
--Possibly an issue here? This factory reset wasn't done thru TWRP, but the stock(?) recovery. I noticed that after doing this, it wiped everything on my phone, including my Nandroid backups
3. I did another factory reset, still no service
4. I moved sim card from Sim Slot 2 to Sim slot 1, temporarily restored service. Then dropped.
5. I flashed OOS 9.0.12 back, service came back temporarily, then dropped
6. I did a network reset, restored service temporarily, then dropped
7. I reflashed modem, system, and vendor images
Anyone have any thoughts or suggestions? Otherwise, I'm probably going to send my phone back to OnePlus for repair.
Try restoring through the msm tool.
TheRemyx said:
Hey guys,
I recently flashed Omnirom and after doing so, noticed I had no signal. After flash, reboot, or resetting Network/Data settings, I'll have data for about 20-30 seconds. I can browse the web, but I can't send or receive calls or messages. Then it goes away completely. It sporadically returns, but drops again quickly.
Carrier is Verizon. My Sim card is still being read so the issue doesn't seem to be there. I've put it back in my Pixel 2 and it's working fine.
At a high level, this is what I've done over the past 12 hours:
1. My bootloader is unlocked. I flashed a new ROM and then it wouldn't boot.
2. I did a Factory reset through Recovery and then it booted into the ROM, where I noticed I had no signal
--Possibly an issue here? This factory reset wasn't done thru TWRP, but the stock(?) recovery. I noticed that after doing this, it wiped everything on my phone, including my Nandroid backups
3. I did another factory reset, still no service
4. I moved sim card from Sim Slot 2 to Sim slot 1, temporarily restored service. Then dropped.
5. I flashed OOS 9.0.12 back, service came back temporarily, then dropped
6. I did a network reset, restored service temporarily, then dropped
7. I reflashed modem, system, and vendor images
Anyone have any thoughts or suggestions? Otherwise, I'm probably going to send my phone back to OnePlus for repair.
Click to expand...
Click to collapse
Have you wiped the cache?
It's not a hardware issue.
rickysidhu_ said:
Try restoring through the msm tool.
Click to expand...
Click to collapse
I would also try the MSM tool to restore back to stock. Then reflash what you want for a ROM.
rickysidhu_ said:
Try restoring through the msm tool.
Click to expand...
Click to collapse
Scott said:
I would also try the MSM tool to restore back to stock. Then reflash what you want for a ROM.
Click to expand...
Click to collapse
Thanks guys. Using MSM worked.
For those who may have the same issue, I used MSM to go back to 9.0.11 since a few people said they had issues with 9.0.12 such as not being able to unlock it. I restored 9.0.11, unlocked my device, then flashed the 9.0.12 OTA. Issue stayed resolved.
I did try to flash Omnirom again and the issue came back, so I'm curious as to what's happening. I'm going to try another Rom.
Just an update, this seems to happen with any rom I flash now. I tried Omnirom, Pixel Experience, and Syberia OS. They boot up but with no 4g connection. When I use MSM to go back to 9.0.11 or 9.0.12 everything works properly. Not sure what I may be missing?
Out of curiosity, how are you installing your custom ROMs. I have installed quite a few custom ROMs in the last week or so and have not encountered any issues. I use a USB pendrive with an OTG adapter to install my stuff as the phone normally ends up in an encrypted state so the internal storage will not be accessible when booting into TWRP. Here are the steps I use when installing a custom ROM:
01. Boot into TWRP
02. Wipe, then swipe. You can choose to Format Data if you want, but this will erase your internal storage so you will lose your recent pictures and other media.
03. Install full OOS 9.0.11/9.0.12 depending on which version is required for the custom ROM and install TWRP also.
04. Reboot recovery.
05. Install full OOS 9.0.11/9.0.12 and TWRP again to ensure both slots have OOS install on it. Use the same version you installed in step 3.
06. Reboot recovery.
07. Install your custom ROM and TWRP.
08. Reboot recovery.
09. Wipe, then swipe (Do not format; unsure if this makes a difference).
10. Install GApps if needed (ROM dependent) and optionally install Magisk and a custom kernel.
11. Reboot system and then wait to setup the phone.
As stated, this has worked flawlessly for me and I have not run into any issues. Admittedly, I have not tried Omnirom directly, but I have tried Omnirom Treskmod (not available on XDA) and SkyDragon which are both based on Omnirom and did not have issues with either. I have tried maybe 10 different custom ROMs in the last week on so and have not had any problems. Still trying to find the best ROM for me. You could say that I'm a flashaholic.
I hope this helps.
Ooms
dj_ooms said:
Out of curiosity, how are you installing your custom ROMs. I have installed quite a few custom ROMs in the last week or so and have not encountered any issues. I use a USB pendrive with an OTG adapter to install my stuff as the phone normally ends up in an encrypted state so the internal storage will not be accessible when booting into TWRP. Here are the steps I use when installing a custom ROM:
01. Boot into TWRP
02. Wipe, then swipe. You can choose to Format Data if you want, but this will erase your internal storage so you will lose your recent pictures and other media.
03. Install full OOS 9.0.11/9.0.12 depending on which version is required for the custom ROM and install TWRP also.
04. Reboot recovery.
05. Install full OOS 9.0.11/9.0.12 and TWRP again to ensure both slots have OOS install on it. Use the same version you installed in step 3.
06. Reboot recovery.
07. Install your custom ROM and TWRP.
08. Reboot recovery.
09. Wipe, then swipe (Do not format; unsure if this makes a difference).
10. Install GApps if needed (ROM dependent) and optionally install Magisk and a custom kernel.
11. Reboot system and then wait to setup the phone.
As stated, this has worked flawlessly for me and I have not run into any issues. Admittedly, I have not tried Omnirom directly, but I have tried Omnirom Treskmod (not available on XDA) and SkyDragon which are both based on Omnirom and did not have issues with either. I have tried maybe 10 different custom ROMs in the last week on so and have not had any problems. Still trying to find the best ROM for me. You could say that I'm a flashaholic.
I hope this helps.
Ooms
Click to expand...
Click to collapse
Because I had erased all data on my phone, I was doing mostly everything from Fastboot or ADB Sideload in TWRP. So my previous steps were something like this:
1. Use MSM to restore OOS 9.0.11
2. Unlock Bootloader
3. Fastboot to TWRP 3.3.0.2
4. Install TWRP on both slots (ADB Sideload)
5. Reboot Recovery
6. Install 9.0.12 on both slots (ADB Sideload)
7. Install TWRP (ADB Sideload)
8. Reboot System to verify I have signal
9. Reboot Recovery
10. Install custom ROM and TWRP (ADB Sideload)
11. Format Data through TWRP
12. Reboot System (No signal)
I had also noticed that there was some system app or process that was repeatedly crashing, but I couldn't tell what it was because the popup notification would disappear so quickly.
TheRemyx said:
Because I had erased all data on my phone, I was doing mostly everything from Fastboot or ADB Sideload in TWRP. So my previous steps were something like this:
1. Use MSM to restore OOS 9.0.11
2. Unlock Bootloader
3. Fastboot to TWRP 3.3.0.2
4. Install TWRP on both slots (ADB Sideload)
5. Reboot Recovery
6. Install 9.0.12 on both slots (ADB Sideload)
7. Install TWRP (ADB Sideload)
8. Reboot System to verify I have signal
9. Reboot Recovery
10. Install custom ROM and TWRP (ADB Sideload)
11. Format Data through TWRP
12. Reboot System (No signal)
I had also noticed that there was some system app or process that was repeatedly crashing, but I couldn't tell what it was because the popup notification would disappear so quickly.
Click to expand...
Click to collapse
I didn't notice any popups when setting up my device. The only thing I can say is that VoLTE never used to work properly for me on OOS. I had to edit a setting in serial mode to get VoLTE working on my network in the UK. Not sure if it is related at all. I highly doubt it. I noticed in your steps, you have not flashed GApps. I believe most custom ROMs don't contain GApps, only a select few. Is there a reason you are not flashing GApps? I know there are individuals who want to stay away from Google and use Micro-G as an alternative. I believe the minimum is to flash Pico or Nano GApps. I am not sure if there is possibly something in GApps that is related to data and telephony. The notification popup you are getting may also be related to not having GApps. I install the Nano GApps so I can get face unlock working. Maybe try that and then try installing Magisk after if you still have the same issues. You are rebooting the system in your Step 12. Maybe try and reboot recovery first, then reboot system to keep TWRP intact. You could try the steps that I posted. I use a USB pendrive but if you Format Data to clear your internal storage, it should not be encrypted after unless you reboot into OOS beforehand. You should be able to push files directly to internal storage through ADB in TWRP or you can maybe mount the phone on the computer and copy the files across. These are only suggestions. I haven't had the issues you are having but the steps I listed seem to have worked consistently for my. As a note, I have never had to use the MSMTool to get my phone back up and running again. I have used fastboot mode before though.
I hope this helps.
Ooms
TheRemyx said:
Because I had erased all data on my phone, I was doing mostly everything from Fastboot or ADB Sideload in TWRP. So my previous steps were something like this:
1. Use MSM to restore OOS 9.0.11
2. Unlock Bootloader
3. Fastboot to TWRP 3.3.0.2
4. Install TWRP on both slots (ADB Sideload)
5. Reboot Recovery
6. Install 9.0.12 on both slots (ADB Sideload)
7. Install TWRP (ADB Sideload)
8. Reboot System to verify I have signal
9. Reboot Recovery
10. Install custom ROM and TWRP (ADB Sideload)
11. Format Data through TWRP
12. Reboot System (No signal)
I had also noticed that there was some system app or process that was repeatedly crashing, but I couldn't tell what it was because the popup notification would disappear so quickly.
Click to expand...
Click to collapse
Not sure if it helps, but you are doing too many repeated steps. Skip 4 & 5, Format Data before installing 9.0.12. Skip 11. Why are you installing TWRP so many times?
dj_ooms said:
I didn't notice any popups when setting up my device. The only thing I can say is that VoLTE never used to work properly for me on OOS. I had to edit a setting in serial mode to get VoLTE working on my network in the UK. Not sure if it is related at all. I highly doubt it. I noticed in your steps, you have not flashed GApps. I believe most custom ROMs don't contain GApps, only a select few. Is there a reason you are not flashing GApps? I know there are individuals who want to stay away from Google and use Micro-G as an alternative. I believe the minimum is to flash Pico or Nano GApps. I am not sure if there is possibly something in GApps that is related to data and telephony. The notification popup you are getting may also be related to not having GApps. I install the Nano GApps so I can get face unlock working. Maybe try that and then try installing Magisk after if you still have the same issues. You are rebooting the system in your Step 12. Maybe try and reboot recovery first, then reboot system to keep TWRP intact. You could try the steps that I posted. I use a USB pendrive but if you Format Data to clear your internal storage, it should not be encrypted after unless you reboot into OOS beforehand. You should be able to push files directly to internal storage through ADB in TWRP or you can maybe mount the phone on the computer and copy the files across. These are only suggestions. I haven't had the issues you are having but the steps I listed seem to have worked consistently for my. As a note, I have never had to use the MSMTool to get my phone back up and running again. I have used fastboot mode before though.
I hope this helps.
Ooms
Click to expand...
Click to collapse
I had tried flashing GAPPs (ARM64-Nano) and it didn't seem to make a difference. I was skipping that and flashing Magisk just to confirm if I had service first. But would service/signal be dependent on something in GAPPs? I may try your way. I hadn't run into any issues with encrypted storage lately. The last few times I was able to get around it by booting to system first, then rebooting back to recovery.
schmeggy929 said:
Not sure if it helps, but you are doing too many repeated steps. Skip 4 & 5, Format Data before installing 9.0.12. Skip 11. Why are you installing TWRP so many times?
Click to expand...
Click to collapse
I was installing TWRP because every time I restored or flashed, I was losing my custom recovery.

Flash custom ROM

From 6T (purchased from oneplus.com), any time I follow the instructions for how to flash one of the custom ROMs, I get stuck at the bootloader with no working rom.
I was able to use the MSMTool to restore to 9.0.13. I upgraded a few times flashing OnePlus6TOxygen_34_OTA_024_all_1909112343_9fd6e0057b8747dc, which works, but when I try to flash a custom ROM, I cannot get past the bootloader. I say a few times because I've tried this for a few days now with no success.
Most recently, I used the Flash-all.bat inside 10.3.0-OnePlus6TOxygen_34_OTA_042_all_1912142031_d9ef3-FASTBOOT
I am currently on 10.3.0, with twrp-3.3.1-31-fajita-Q-mauronofrio installed using the fastboot flash boot_a twrp-3.3.1-31-fajita-Q-mauronofrio.img then fastboot boottwrp-3.3.1-31-fajita-Q-mauronofrio.img commands from fastboot.
I can then install Magisk 19.4 or 20.3, however again when I try to flash a custom ROM, I cannot get past the bootloader.
What am I doing wrong?
When you 'fastboot boot' twrp, you can't flash twrp as .img file after that..... (There is no recovery partition on our phone, only a boot one)
If you flash a twrp img it will overwrite boot partition with only twrp and no kernel... Basic knowledge. Once temporarily booted in twrp by 'fastboot boot' command you must flash the installer, meaning the .zip file.
Then reboot your phone in twrp and flash whatever you want
Always latest versions of Magisk, why flashing a deprecated 19.4?
Striatum_bdr said:
When you 'fastboot boot' twrp, you can't flash twrp as .img file after that..... (There is no recovery partition on our phone, only a boot one)
If you flash a twrp img it will overwrite boot partition with only twrp and no kernel... Basic knowledge. Once temporarily booted in twrp by 'fastboot boot' command you must flash the installer, meaning the .zip file.
Then reboot your phone in twrp and flash whatever you want
Always latest versions of Magisk, why flashing a deprecated 19.4?
Click to expand...
Click to collapse
I was having an issue with the boot command in 10.3.0, which is how I found the flash command, and using both of those seemed to work (at least get me into twrp).
Now I am able to just run fastboot boot twrp-3.3.1-31-fajita-Q-mauronofrio.img and it works.
I was using 19.4 because somewhere in here someone mention twrp not working with magisk 20.3.
I've had no issues with 20.3 and twrp, so I will continue to use 20.3
The steps I use to flash a custom ROM (after twrp is installed)
1. remove the lock screen security from the existing ROM
2. boot straight into recovery from the existing ROM
3. wipe Data, Cache, and Dalvik by swiping right to factory reset from the wipe menu
4. flash the ROM from internal storage using the Install button
at this point I've tried a couple of approaches including a reboot here to see if the ROM flashed, and also installing twrp right after flashing ROM so that I will have a working twrp install.
Either way, I can never get past the bootloader.
Am I performing these steps correctly?
s7itch3s said:
I was having an issue with the boot command in 10.3.0, which is how I found the flash command, and using both of those seemed to work (at least get me into twrp).
Now I am able to just run fastboot boot twrp-3.3.1-31-fajita-Q-mauronofrio.img and it works.
I was using 19.4 because somewhere in here someone mention twrp not working with magisk 20.3.
I've had no issues with 20.3 and twrp, so I will continue to use 20.3
The steps I use to flash a custom ROM (after twrp is installed)
1. remove the lock screen security from the existing ROM
2. boot straight into recovery from the existing ROM
3. wipe Data, Cache, and Dalvik by swiping right to factory reset from the wipe menu
4. flash the ROM from internal storage using the Install button
at this point I've tried a couple of approaches including a reboot here to see if the ROM flashed, and also installing twrp right after flashing ROM so that I will have a working twrp install.
Either way, I can never get past the bootloader.
Am I performing these steps correctly?
Click to expand...
Click to collapse
I don't know I don't flash custom ROMs anymore, too old for that stuff and need my time for me.
There are specific instructions for each custom ROM it's better to ask in dedicated threads, some of them need to have OOS in both slots before, some of them need to be fleshed in both slots. Normally you eventually wipe things, flash the ROM and twrp to keep it, then reboot to twrp (necessary to boot on the slot where the ROM is actually fleshed, which is always the non active slot, which become the new active slot) and flash Gapps and Magisk ( because Gapps and Magisk can be flashed only in active slot) then reboot system
s7itch3s said:
Am I performing these steps correctly?
Click to expand...
Click to collapse
I've updated these instructions here, they are the same, just added to them really.
This is how I install Lineage 17. (If you are doing 16, replace 10.3.0 with 9.0.17, and the Q image of TWRP with the Pie image)
- Install 10.3.0 fastboot ROM again to start over, boot it once. Just to make sure everything is good.
- Reboot to fastboot.
- Boot the Q image of TWRP.
- Run the TWRP installer, reboot to recovery
- You backed everything up right?
- Factory reset (This is the slider at the bottom in the wipe menu).
- Format data. (This is the button that says Format data in the wipe menu)
- Do NOT wipe cache, do not Wipe system, do NOT Wipe Dalvik / ART, do not add anything else, Just Factory Reset and Format Data. After doing those two Reboot to Recovery one more time. You must do this after formatting data.
- Now transfer Lineage and TWRP to your phone, Windows / Linux should see TWRP fine as a media device when plugged in.
- Install Lineage
- Run the TWRP Installer.
- Reboot to Recovery.
- Install Lineage (You need Lineage on both slots, so yes run it again)
- Run the TWRP Installer (yes again).
- Reboot to Recovery.
- Install Gapps if you want them.
- Install Magisk 20.3 if you use Magisk. I used 20.3 it works fine. (20.4 also fine) Do not install modules or other add ons at this point. Boot once and go through the setup and everything, then install your add-ons.
- Be aware the phone will restart once, then Lineage will start up and all will be good.
From that point on updating should just be like normal :
- Reboot to recovery
- Flash Lineage.
- Flash TWRP Installer
- Reboot to Recovery
- Flash Gapps. (Assuming you use them, if you installed them once you must continue to install them or do a clean install)
- Flash Magisk. (If you use it)
- Reboot to system.
- No loss of data, or anything.
- No need to flash anything twice etc.
I've posted similar instructions here. It was just for LOS 16, same thing essentially though.
OhioYJ said:
I've updated these instructions here, they are the same, just added to them really.
This is how I install Lineage 17. (If you are doing 16, replace 10.3.0 with 9.0.17, and the Q image of TWRP with the Pie image)
- Install 10.3.0 fastboot ROM again to start over, boot it once. Just to make sure everything is good.
- Reboot to fastboot.
- Boot the Q image of TWRP.
- Run the TWRP installer, reboot to recovery
- You backed everything up right?
- Factory reset (This is the slider at the bottom in the wipe menu).
- Format data. (This is the button that says Format data in the wipe menu)
- Do NOT wipe cache, do not Wipe system, do NOT Wipe Dalvik / ART, do not add anything else, Just Factory Reset and Format Data. After doing those two Reboot to Recovery one more time. You must do this after formatting data.
- Now transfer Lineage and TWRP to your phone, Windows / Linux should see TWRP fine as a media device when plugged in.
- Install Lineage
- Run the TWRP Installer.
- Reboot to Recovery.
- Install Lineage (You need Lineage on both slots, so yes run it again)
- Run the TWRP Installer (yes again).
- Reboot to Recovery.
- Install Gapps if you want them.
- Install Magisk 20.3 if you use Magisk. I used 20.3 it works fine. (20.4 also fine) Do not install modules or other add ons at this point. Boot once and go through the setup and everything, then install your add-ons.
- Be aware the phone will restart once, then Lineage will start up and all will be good.
From that point on updating should just be like normal :
- Reboot to recovery
- Flash Lineage.
- Flash TWRP Installer
- Reboot to Recovery
- Flash Gapps. (Assuming you use them, if you installed them once you must continue to install them or do a clean install)
- Flash Magisk. (If you use it)
- Reboot to system.
- No loss of data, or anything.
- No need to flash anything twice etc.
I've posted similar instructions here. It was just for LOS 16, same thing essentially though.
Click to expand...
Click to collapse
Sir, apology for being an old noob, I am on OOS 10.3.2 TWRP 3.3.1-32 can I follow the above guide? If Yes,
Why aren't we using the "Lineage Recovery" provided in "Lineage OS Downloads" page?? If we use it, will the above instructions change ? What are the cons of using it?
Sorry again for asking!! Can you please share me the Link to Open Gapps which Will be suitable in my scenario ?
Advised Sloth said:
Sir, apology for being an old noob, I am on OOS 10.3.2 TWRP 3.3.1-32 can I follow the above guide? If Yes,
Why aren't we using the "Lineage Recovery" provided in "Lineage OS Downloads" page?? If we use it, will the above instructions change ? What are the cons of using it?
Sorry again for asking!! Can you please share me the Link to Open Gapps which Will be suitable in my scenario ?
Click to expand...
Click to collapse
Historically Lineage / CM recovery was hit or miss, or TWRP or other recoverys worked better. To be fair I haven't even tried the Lineage recovery. So maybe that is no longer true? Right now, I know TWRP works. The updated instructions link up there has links in it, FYI, link OpenGapps. OpenGapps can be found here. You will be using Arm64, Android 10 obviously.
Since you are already on 10.3.2 (I assume you were on 10.3.1 before) you should be good to skip the step about fastboot ROM or install OOS, and you already have TWRP., so you should be able to go right on to backing everything up, wiping everything, and installing Lineage. (So you can skip the first few steps)
Anymore questions feel free to ask.
OhioYJ said:
Historically Lineage / CM recovery was hit or miss, or TWRP or other recoverys worked better. To be fair I haven't even tried the Lineage recovery. So maybe that is no longer true? Right now, I know TWRP works. The updated instructions link up there has links in it, FYI, link OpenGapps. OpenGapps can be found here. You will be using Arm64, Android 10 obviously.
Since you are already on 10.3.2 (I assume you were on 10.3.1 before) you should be good to skip the step about fastboot ROM or install OOS, and you already have TWRP., so you should be able to go right on to backing everything up, wiping everything, and installing Lineage. (So you can skip the first few steps)
Anymore questions feel free to ask.
Click to expand...
Click to collapse
First of all, thank you very much for your time and explanation.
Sir, so i will proceed as follows:
* Boot into TWRP Recovery
* Perform "swipe to factory reset" & "swipe to wipe data"
* Reboot to TWRP recovery again
* Flash LOS 17.1 on slot A
* Reboot to TWRP recovery again
* Flash LOS 17.1 on slot B
* Reboot to system
Sir, please check are my steps correct? If not,
From which step( steps mentioned in your guide) should i start?
Last query is, which GApps zip will be best for me, micro/nano/pico/tv stock, If i want max coverage of google?
Very sorry for knocking you repeatedly!!!
Advised Sloth said:
First of all, thank you very much for your time and explanation.
Last query is, which GApps zip will be best for me, micro/nano/pico/tv stock, If i want max coverage of google?
Click to expand...
Click to collapse
Your starting point is correct. However make sure you don't miss the re-install TWRP after flashing Lineage each time, and the second time you need to flash Gapps before you reboot to system.
Personally I always do Nano. Anything else you need (that would be included in Micro) can be installed from the Play store. Nano at least includes all the things that can't be installed from the play store.
Pico has the least in it. TV is for TV devices. On OpenGapps there is a box next to each package you can click and it will tell you exactly what is in each package.
OhioYJ said:
I've updated these instructions here, they are the same, just added to them really.
This is how I install Lineage 17. (If you are doing 16, replace 10.3.0 with 9.0.17, and the Q image of TWRP with the Pie image)
- Install 10.3.0 fastboot ROM again to start over, boot it once. Just to make sure everything is good.
- Reboot to fastboot.
- Boot the Q image of TWRP.
- Run the TWRP installer, reboot to recovery
- You backed everything up right?
- Factory reset (This is the slider at the bottom in the wipe menu).
- Format data. (This is the button that says Format data in the wipe menu)
- Do NOT wipe cache, do not Wipe system, do NOT Wipe Dalvik / ART, do not add anything else, Just Factory Reset and Format Data. After doing those two Reboot to Recovery one more time. You must do this after formatting data.
- Now transfer Lineage and TWRP to your phone, Windows / Linux should see TWRP fine as a media device when plugged in.
- Install Lineage
- Run the TWRP Installer.
- Reboot to Recovery.
- Install Lineage (You need Lineage on both slots, so yes run it again)
- Run the TWRP Installer (yes again).
- Reboot to Recovery.
- Install Gapps if you want them.
- Install Magisk 20.3 if you use Magisk. I used 20.3 it works fine. (20.4 also fine) Do not install modules or other add ons at this point. Boot once and go through the setup and everything, then install your add-ons.
- Be aware the phone will restart once, then Lineage will start up and all will be good.
From that point on updating should just be like normal :
- Reboot to recovery
- Flash Lineage.
- Flash TWRP Installer
- Reboot to Recovery
- Flash Gapps. (Assuming you use them, if you installed them once you must continue to install them or do a clean install)
- Flash Magisk. (If you use it)
- Reboot to system.
- No loss of data, or anything.
- No need to flash anything twice etc.
I've posted similar instructions here. It was just for LOS 16, same thing essentially though.
Click to expand...
Click to collapse
Sorry for the necropost, but this also works for TWRP 3.6 and Lineage 18.1. I initially had a problem with the default TWRP for my 6t. During the initial TWRP fastboot the version on their site caused a firmware error which I could just barely get out of, but it screwed up the system boot process in some subtle way that even the fixed version of TWRP (found on this site) couldn't solve.
After trying your instructions above, it didn't work the first time because of the screwed up system boot. It just kept trying to boot to recovery. I suspected a firmware error and was almost going to do an mcmdownload soft-brick rescue. I tried one last thing, using the TWRP on the system to sideload the stock ROM. That worked and patched up the system boot process. Once I booted and ran through some basic initialization to make sure developer options were properly set I followed the above instructions and it worked nearly flawlessly.
One strange thing. After I installed Lineage 18.1 and TWRP to both partitions (as well as Gapps / magisk), it rebooted to system and almost booted without incident -- except a large circular logo popped up that said 100% and stopped. I figured that that meant someting completed properly, so I powered off, waited 10 seconds, powered on and then the Lineage green system initialization spinner came up for a few minutes and it went through the user initialization sequence.
Thanks. I almost gave up and bought a new phone.
OhioYJ said:
I've updated these instructions here, they are the same, just added to them really.
This is how I install Lineage 17. (If you are doing 16, replace 10.3.0 with 9.0.17, and the Q image of TWRP with the Pie image)
- Install 10.3.0 fastboot ROM again to start over, boot it once. Just to make sure everything is good.
- Reboot to fastboot.
- Boot the Q image of TWRP.
- Run the TWRP installer, reboot to recovery
- You backed everything up right?
- Factory reset (This is the slider at the bottom in the wipe menu).
- Format data. (This is the button that says Format data in the wipe menu)
- Do NOT wipe cache, do not Wipe system, do NOT Wipe Dalvik / ART, do not add anything else, Just Factory Reset and Format Data. After doing those two Reboot to Recovery one more time. You must do this after formatting data.
- Now transfer Lineage and TWRP to your phone, Windows / Linux should see TWRP fine as a media device when plugged in.
- Install Lineage
- Run the TWRP Installer.
- Reboot to Recovery.
- Install Lineage (You need Lineage on both slots, so yes run it again)
- Run the TWRP Installer (yes again).
- Reboot to Recovery.
- Install Gapps if you want them.
- Install Magisk 20.3 if you use Magisk. I used 20.3 it works fine. (20.4 also fine) Do not install modules or other add ons at this point. Boot once and go through the setup and everything, then install your add-ons.
- Be aware the phone will restart once, then Lineage will start up and all will be good.
From that point on updating should just be like normal :
- Reboot to recovery
- Flash Lineage.
- Flash TWRP Installer
- Reboot to Recovery
- Flash Gapps. (Assuming you use them, if you installed them once you must continue to install them or do a clean install)
- Flash Magisk. (If you use it)
- Reboot to system.
- No loss of data, or anything.
- No need to flash anything twice etc.
I've posted similar instructions here. It was just for LOS 16, same thing essentially though.
Click to expand...
Click to collapse
OhioYJ, these are great instructions but it initially left me with questions about how that procedures would create duplicate installs on slot A and B. The answer is of course that the Lineage installer for the 6t knows about the dual slot setup and always writes to the inactive slot. Booting into recovery activates the inactive slot so that installing again after that installs to the other slot and now you have Lineage on both slots. The installer for TWRP always installs to both slots and is needed because Lineage always installs its recovery handler and you don't want that so you overwrite.
PS: TWRP has an option for installing itself after installing the requested package. Would that be just as good as installing the TWRP zip?
PPS: I had to do an 'adb push' of the Lineage and TWRP zips to sdcard for the installs. Unfortunately installing and slot switching makes the sdcard unavailable so you have to push the zips again. Is there somewhere I can write them to that I don't lose access to after a boot to recovery?

Questions about upgrading Lineage OS 16 to 17

Hello,
I do have some questions about upgrading LOS from 16 to 17, maybe someone can help me bringing a little light into this upgrading process.
- Is the sideload way the correct way to do this? ( https:// wiki.lineageos.org /devices /fajita /upgrade)
- What´s about the play services, I dont have any installed ( ..."If you did not have Google Apps installed, you must wipe the Data partition (or perform a factory reset) to install them"...) So if later on I want to install e.g. opengapps I have to wipe all my data after upgrading to 17??? (How? TWRP - wipe -advanced wipe - data and cache ???)
and what´s with all may data? I have titanium backup pro (no SD card), so I backup may phone, put it to my PC, upgrade to 17, wipe all data, put the backup back to phone and reboot?
Or do I have to install Magisk.zip and titanium.zip from within TWRP again first
- What do I do if the sideload fails?
- Can I do the upgrad process with TWRP too? (copying and installing from within TWRP?)
- And what about with the A/B slots, no installing twice on both slots?
As you see, I am unsure on how to do things right and I only did this once before as I installed Lineage OS.
(This would be the way I would do this:
- backup all data to PC
- Boot into TWRP
- copy LOS17.zip. Magisk.zip and Titaniumbackup-pro.zip into internal storage
- install LOS17 and boot into TWRP
- wipe data and cache
- install magisk and TB
- copy all data back and restore? (only user data or the system data too??))
Maybe someone can help me with this. Thanks!
My guide for installing Lineage maybe helpful: Guide Installing Lineage
I would recommend a clean install. Most that have tried to follow that wiki have had issues (if you look in the LOS thread). I haven't used. TB zip, but I did use my TB data from the app without issues. If you dont use Gapps, just dont install them. Skip that step. You still have to reboot to recovery to install Magisk though. I dont think I would try a TB zip until after the first boot.
Installing twice is for the intial install to get the same thing on both slots. You dont want Android 9 on one slot and Android 10 on another, or LOS 17 on one and OOS on another. Once you have LOS 17 on both slots and go to update you will just flash once. See my guide about doing an update.
Thank you for your reply,
so if I got your answer right, I should install the LOS17 like the LOS16 before, as a clean,fresh install.
Seems reasonable to me
I will do the same steps as you gave me before https://forum.xda-developers.com/oneplus-6t/help/instructions-installing-lineage-t3949628
- Backup everything to the PC, so you will need to copy all your data over.
- Sync all your accounts, etc.
- In TWRP format data. Reboot recovery
- Factory Reset.
- Flash Lineage
- Flash TWRP Installer
- Reboot to Recovery
- Flash Lineage (This is only the first time, to get the *** rom on both slots, only do this for the first install)
- Flash TWRP Installer (This is only the first time, to get the *** rom on both slots, only do this for the first install)
- Reboot to Recovery (This is only the first time, to get the *** rom on both slots, only do this for the first install)
- Flash Gapps
- Flash Magisk
- Reboot to System.
- Then you should be able to setup the device, copy everything back over. Restore your data.
Will do the flash on weekend, then I will let you know....
Thanks.
KKF32 said:
Thank you for your reply,
so if I got your answer right, I should install the LOS17 like the LOS16 before, as a clean,fresh install.
Seems reasonable to me
I will do the same steps as you gave me before https://forum.xda-developers.com/oneplus-6t/help/instructions-installing-lineage-t3949628
- Backup everything to the PC, so you will need to copy all your data over.
- Sync all your accounts, etc.
- In TWRP format data. Reboot recovery
- Factory Reset.
- Flash Lineage
- Flash TWRP Installer
- Reboot to Recovery
- Flash Lineage (This is only the first time, to get the *** rom on both slots, only do this for the first install)
- Flash TWRP Installer (This is only the first time, to get the *** rom on both slots, only do this for the first install)
- Reboot to Recovery (This is only the first time, to get the *** rom on both slots, only do this for the first install)
- Flash Gapps
- Flash Magisk
- Reboot to System.
- Then you should be able to setup the device, copy everything back over. Restore your data.
Will do the flash on weekend, then I will let you know....
Thanks.
Click to expand...
Click to collapse
How did it go?
badpanda said:
How did it go?
Click to expand...
Click to collapse
To put it short: a disaster
What I did:
- Flash Lineage
- Flash TWRP Installer
- Reboot to Recovery
- Flash Lineage
- Flash TWRP Installer
- Reboot to Recovery
- Flash Magisk
- Flash TB
- Reboot to System.
What I got was a "Qualcom Crashdump Mode" kind of report
What I used: lineage-17.1-20200418-nightly-fajita-signed / twrp-installer-3.3.1-1-fajita / Magisk-v20.4
So I thought maybe the "no factory reset" at the beginning may caused this problem, so I started the whole flashing again.
Long story short: Being distracted I once forgt to flash TWRP after the LOS and now I am stuck in fastboot.
Cant get anymore into TWRP, "fastboot boot TWRP.img" always throws me into fastboot forever wait
Tried to flash TWRP direct from fastboot "fastboot flash recovery twrp.img", always get a write error.
So, at the moment all I can get in is the bootloader, and I have no clou how to get TWRP up and running again.
Edit: Managed to get into TWRP again, but this double flash + Magisk always gives me this "Qualcomm Crashdump Mode"
Help would very much appreciated!
KKF32 said:
To put it short: a disaster
What I did:
- Flash Lineage
- Flash TWRP Installer
- Reboot to Recovery
- Flash Lineage
- Flash TWRP Installer
- Reboot to Recovery
- Flash Magisk
- Flash TB
- Reboot to System.
What I got was a "Qualcom Crashdump Mode" kind of report
What I used: lineage-17.1-20200418-nightly-fajita-signed / twrp-installer-3.3.1-1-fajita / Magisk-v20.4
Click to expand...
Click to collapse
So you tried to go straight to LOS 17, used an old version of TWRP, and never wiped data while going between Android 9 and 10? None of that will work. I think didn't make it clear, you need you need to be on the OOS 10 firmware first. Flash OOS 10 to both slots, at this point using the fastboot ROM would be my suggestion, like my [Guide]Installing Lineage.
Once you have Android 10 in place one both slots, then start your OS 17 install. Note there is a cliff notes version of that guide in the second post, if you don't want all the "wordy" details.
Oh my, I really didn´t understood the step with "get OOS10 on both slots first"
I am often a little sloppy with details, bad habit, will take some time tomorrow and do the reading and the flashing then.
Thanks again.
KKF32 said:
Oh my, I really didn´t understood the step with "get OOS10 on both slots first"
I am often a little sloppy with details, bad habit, will take some time tomorrow and do the reading and the flashing then.
Thanks again.
Click to expand...
Click to collapse
Make sure you use the"unofficial" version of TWRP, linked to in that guide, rather than the outdated official one you used before as well.
OhioYJ said:
Make sure you use the"unofficial" version of TWRP, linked to in that guide, rather than the outdated official one you used before as well.
Click to expand...
Click to collapse
So, LOS17 is up and running, I did it the long way but good to know the fastboot Rom method now. I confess some part of this thread would not have been necessary if had read your installations instruction carefully....
So let me thank you for patience und help, "Reading broadens the mind", I often tell others, will remind myself nexttime

Categories

Resources