Until today, I had been running Cyanogenmod for Android 6. I decided to install Lineage OS with Android 7 and downloaded the latest version. I did a dirty flash but a bootloop happened after installation. So I followed this tutorial.
https://forum.xda-developers.com/redmi-note-3/how-to/unlock-bootloader-twrp-root-7-2-3-t3359492
I did everything from the beginning to have a fresh start. After I had TWRP installed, I installed magisk, then Lineage OS, then gapps -> bootloop.
Then everything again. TWRP -> Lineage OS -> gapps ->bootloop
Then everything again TWRP -> Lineage OS-> bootloop
Then I tried latest Nitrogen OS. Everything the same order as above -> bootloop.
Then even with the latest official MIUI -> bootloop
Then I tried the stock rom Miui 7.25 from the tutorial link above. And that one worked. So I cannot install a rom with Android 7.
Any suggestions?
Thanks in advance.
Bootloader must be unlocked officially or flash latest MIUI global beta & unlock unofficially
Bolsse said:
Until today, I had been running Cyanogenmod for Android 6. I decided to install Lineage OS with Android 7 and downloaded the latest version. I did a dirty flash but a bootloop happened after installation. So I followed this tutorial.
https://forum.xda-developers.com/redmi-note-3/how-to/unlock-bootloader-twrp-root-7-2-3-t3359492
I did everything from the beginning to have a fresh start. After I had TWRP installed, I installed magisk, then Lineage OS, then gapps -> bootloop.
Then everything again. TWRP -> Lineage OS -> gapps ->bootloop
Then everything again TWRP -> Lineage OS-> bootloop
Then I tried latest Nitrogen OS. Everything the same order as above -> bootloop.
Then even with the latest official MIUI -> bootloop
Then I tried the stock rom Miui 7.25 from the tutorial link above. And that one worked. So I cannot install a rom with Android 7.
Any suggestions?
Thanks in advance.
Click to expand...
Click to collapse
It all works now for some reason. However, now my phone doesn't recognize the whole internal storage. The problem appeared after I had flashed a fastboot MIUI rom and TWRP again. When I entered recovery mode, TWRP showed that there are only 10gb of storage total, even though there should be 25 gb. It is as if the space is not formatted or something.
Anyone got a clue?
Bolsse said:
It all works now for some reason. However, now my phone doesn't recognize the whole internal storage. The problem appeared after I had flashed a fastboot MIUI rom and TWRP again. When I entered recovery mode, TWRP showed that there are only 10gb of storage total, even though there should be 25 gb. It is as if the space is not formatted or something.
Anyone got a clue?
Click to expand...
Click to collapse
Did you wipe everything in recovery?
A month ago I tried installing Android 9.0 ROM and i got reboot loop after I did the phone setup. I tried different ROMs and everything had the same problem. Even twrp will also stop showing any files in the device and I need to change the file system and revert it back again then mount my phone to desktop and transfer the ROM. I was told that it was because of me not installing MIUI 10 before trying it. So today I installed MIUI 10 and tried installing lineage 16.0 and got the same problem. Phone starts going into reboot And recovery does not show any files!
Please help me from this hell! I'm hating this MIUI.
mynameisvineeth said:
A month ago I tried installing Android 9.0 ROM and i got reboot loop after I did the phone setup. I tried different ROMs and everything had the same problem. Even twrp will also stop showing any files in the device and I need to change the file system and revert it back again then mount my phone to desktop and transfer the ROM. I was told that it was because of me not installing MIUI 10 before trying it. So today I installed MIUI 10 and tried installing lineage 16.0 and got the same problem. Phone starts going into reboot And recovery does not show any files!
Please help me from this hell! I'm hating this MIUI.
Click to expand...
Click to collapse
First of all I have to assume that you are sure that you have Redmi 5 plus (Vince) and not Redmi Note 5 Pro (Whyred), if this is the case let´s go to the next.
Any Miui rom encrypts data by default at least from oreo so no way to avoid this, if you flash a Miui rom then your data wont´be accesible and the next rom to be flashed you have to sideload it via adb (there are other ways).
I think you missed something here, if you flash a mui rom and over it a pie rom then there´s no way that your device reboots to system. You only have to flash firmware 8.1 from miui not the whole rom.
Start this from the scratch; I recommend OrangeFox recovery instead of TWRP so it has more features https://forum.xda-developers.com/re.../official-orangefox-recovery-project-t3807479
- Before to flash nothing In orangeFox recovery enable the options DM-verity and disable force encryption, you will find too options to keep OTA and others, check which you want.
- Flash the firmware miui 8.1 https://androidfilehost.com/?fid=11410963190603850663
- Flash the pie rom for vince (may not apply for a GSI pie)
- Flash the Gapps (if needed)
it´s all.
Just a tip; be careful with changing system of files at any time so if the process is cutted/interrupted for some reason your device could be seriously damaged.
it does. you just need to flash firmware file first.
Hi
As I wrote in the title, my phone is not booting with viper4android but my case is not so straight forward, so let me tell you the story of my phone.
Long, long time ago, in the age of miui 9 I somehow ended up with unofficial lineageos 16 and magisk. Everything was perfect: speed, battery life, functions. Then I came across viper.
I noticed that it was working great, but on bluetooth it did not at all. Driver was loaded, compatibility was ok, but processing always said no.
Fast forward to end of january 2020. I found lineage os 17.1 (unofficial of course). I thought that maybe before I flash it, maybe it's good to update my firmware, so i flashed miui 11 (9.10.10_v11-8.0) from xiaomi.eu and then flashed lineage os 17.1 (I erased phone with twrp, so it was not dirty flash). I installed magisk and then viper4android and my phone didn't boot.
This is how it looked. Normally my phone boots like this.
Mi logo with unlocked at the bottom of the screen -> lineage os boot animation -> system
With viper installed it looked like this:
Mi logo with unlocked at the bottom of the screen (for a long time) -> fastboot screen
I deleted viper's folder (in data/adb/magisk/modules or something like that) and phone booted normally.
Then i tried to flash global miui (V10.2.4.0.OBGMIXM_d3a51ce7d3_8.0) following with lineage, magisk and viper, but it didn't help.
Things I tried and they didn't work:
-Audio modification library
-legacy viper versions
-other roms
Other modules work normally.
(also if it helps, my phone doesn't boot when I flash gapps pico, but does when I flash gapps nano [it's other type of doesn't boot when it's stuck on boot animation and then goes into recovery])
Good evening dear members, I ask for your kind advice, as I have done something wrong to my Oneplus 5t.
I upgraded my Oneplus 5t with "lineage for microG" 19.1 (from lineage 18).
I had installed TWRP 3.5.0_9 (phone encrypted).
It booted fine the first time into system.
The problem arose after I tried to install Magisk 21.4 from TWRP.
Now the phone only boots in recovery, but it doesn't enter TWRP's menu. It stays on the first TWRP screen (where it shows the version number).
The good thing (I hope) is that I can enter fastboot mode.
I tried flashing TWRP again from fastboot to no avail.
I tried flashing boot.img from fastboot (taken from the original firmware), but still no luck.
Is there a way to install the original firmware from fastboot?
I think starting from scratch would be a step into the right direction.
Please give any suggestion which I fill follow to the letter.
Thank you, thank you, thank you!
You have to be decrypted or flash DMverity for A12. I assume You mean Magisk 24.1 the current version is 24.3
Hi. This is what I did:
I downloaded and installed original firmware through fastboot (fastboot was still on).
I also installed original recovery through fastboot.
After that my oneplus 5t was in stock condition, apart from the bootloader, which was unlocked.
After that I managed to install TWRP through fastboot, and then lineage 19.
The thing is that TWRP doesn't support lineage 19, for one reason or another. Or it could be the other way around (lineage 19 doesn't support TWRP). In any case I had a phone which would only go in fastboot mode.
At least I knew what to do, as I did it already: reinstall stock firmware and recovery.
Long story short, I installed LOS recovery and lineage 19, and everything works fine.
Thanks everyone, and especially thaidroid, for the support.
Have a nice day.
miclombardo said:
Good evening dear members, I ask for your kind advice, as I have done something wrong to my Oneplus 5t.
I upgraded my Oneplus 5t with "lineage for microG" 19.1 (from lineage 18).
I had installed TWRP 3.5.0_9 (phone encrypted).
It booted fine the first time into system.
The problem arose after I tried to install Magisk 21.4 from TWRP.
Now the phone only boots in recovery, but it doesn't enter TWRP's menu. It stays on the first TWRP screen (where it shows the version number).
The good thing (I hope) is that I can enter fastboot mode.
I tried flashing TWRP again from fastboot to no avail.
I tried flashing boot.img from fastboot (taken from the original firmware), but still no luck.
Is there a way to install the original firmware from fastboot?
I think starting from scratch would be a step into the right direction.
Please give any suggestion which I fill follow to the letter.
Thank you, thank you, thank you!
Click to expand...
Click to collapse
Its not working cus you need to format data in recovery and then reboot it.
kirknado18 said:
Its not working cus you need to format data in recovery and then reboot it.
Click to expand...
Click to collapse
It wont boot cus your encrypted formatting data will allow op5t to boot.
latest lineage + magisk = stuck on boot logo, I tried an older version of lineage + magisk (known to work), same thing.. what did I do?
paradoxiumwind said:
latest lineage + magisk = stuck on boot logo, I tried an older version of lineage + magisk (known to work), same thing.. what did I do?
Click to expand...
Click to collapse
What recovery are you on? TWRP?
I use the one posted alongside each version: https://download.lineageos.org/dumpling
can you help?
I need to root so I can titanium backup everything. but I can't root. I suspect I might need to fully format and wipe and start again, I tried wiping data and doing a fresh install, but after sideloading magisk it just fails to boot every time now.
Does it boot regularly BEFORE installing magisk? I am trying to define the source of the problem.
I have installed lineage 19 and magisk, and I confirm you that it's possible
Yes. It boots fine if I just install lineage then nevermindthegapps. problem only occurs if I flash magisk. I tried installing the .apk and patching the .boot image manually in it and then fastboot flashing that, but same thing.
oh - one possible thing that it may be - is that I had a couple of modules loaded (I think a gcam fix mod and something similar) in magisk, and I read somewhere about people having them stuck 'installed' despite demoving all traces of magisk app. whether that is the problem I don't know.
This is very strange. That's what I did:
Sideload lineage recovery
Sideload lineage 19
Download magisk apk
Patched boot image from lineage 19.zip
Sideload the patched boot image
And that's it it all worked
May I suggest you to start all over again?
is wiping system data sufficient or do I need to format it? I'd rather not lose my appdata- but I can't rescue it without root / titanium backup :/
Try first without formatting, and see how it goes
I wiped system/cache, installed lineage-19.1-20220719-nightly-dumpling-signed.zip / mindthegapps, phone booted up fine - rebooted fine.
ok, good. Now download latest magisk app and patch the boot img.
do I click patch vbmeta in image?
Yes.
First extract the file called boot.img from lineage.zip you just installed.
Then in magisk select "patch vbmeta in image".
Magisk should produce a file named something like " magisk_pached-24300_f41h3.img".
That patched file should be sideloaded.
Installation is explained really well by topjohnwu
it wouldn't flash without selecting vbmeta, so tried with, flashed it, now i'm sitting looking at the boot logo.
Have unlocked bootloader and installed TWRP 3.7.0_9-0
Have tried to flash Pixel Experience 11, Pixel Experience 12 and Arrow v11
All of them just hang at first boot, with the animated logo. I left each for over half an hour.
Have wiped everything I can think to wipe.
Is there something obvious I'm failing to do ? Lineage 18.1-20210620 was on the device before I started.
Edit: I can re-install Lineage 18.1 but nothing newer. Do I need to do something to enable newer ROM flashes?
HarpingOn said:
Have unlocked bootloader and installed TWRP 3.7.0_9-0
Have tried to flash Pixel Experience 11, Pixel Experience 12 and Arrow v11
All of them just hang at first boot, with the animated logo. I left each for over half an hour.
Have wiped everything I can think to wipe.
Is there something obvious I'm failing to do ? Lineage 18.1-20210620 was on the device before I started.
Edit: I can re-install Lineage 18.1 but nothing newer. Do I need to do something to enable newer ROM flashes?
Click to expand...
Click to collapse
To check:
TWRP/O.F
wipe/format data type yes
reboot Twrp/O.F
Flash latest firmware (if necessary).
Flash the rom as instructed by the OP.
HarpingOn said:
Have unlocked bootloader and installed TWRP 3.7.0_9-0
Have tried to flash Pixel Experience 11, Pixel Experience 12 and Arrow v11
All of them just hang at first boot, with the animated logo. I left each for over half an hour.
Have wiped everything I can think to wipe.
Is there something obvious I'm failing to do ? Lineage 18.1-20210620 was on the device before I started.
Edit: I can re-install Lineage 18.1 but nothing newer. Do I need to do something to enable newer ROM flashes?
Click to expand...
Click to collapse
Use TWRP by REIGNZ based on A12 system_ext. You can find it my POCO F1 Ultimate Collection & Guides along with Guides for clean installation.
P.S: Near the link of twrp by reign you will also find a link for the current bugs/issues and workaround for them.