After install lineageos, my phone reboot reboot reboot ... - Redmi Note 8 Questions & Answers

I download the official ROM, nightly, 18.1.
After install lineageos, my phone reboot reboot reboot ...
It automatically reboot forever. My phone still can enter fastboot and recovery.
What's the reason? How can I resolve this problem?

Format data ?

Related

[Solved] Am I bricked?

1. I used fastboot and booted from a TWRP img
2. I installed a TWRP zip from this thinking it would put it on the recovery boot.
3. System boots into TWRP that hangs at teamwin logo
4. Oh well Ill just install a new rom.
5. Fastboot into TWRP img
6. Wipe and factory reset.
7. Reboot
8. Now will not fastboot into TWRP. Recovery boot goes to team win logo as does system.
9. How to proceed?
10. Just to clarify I am able to access bootloader it just wont let me boot TWRP
[SOLVED] Used the guide found here: https://forum.xda-developers.com/pixel-xl/how-to/info-how-restored-to-stock-soft-t3494478 and restored factory image.

How can I keep MIUI from overwrite TWRP with stock recovery after a ROM flash?

I'm on fw Global 9.6.6.0.
(Bought the phone 'bogus' unlocked with "fake" 9.6.4.0, bricked it while trying to restore chinese fw and re-lock bootloader using miflash - I'm not doing that again
brought it back to life using the steps from Omer919's thread - thanks Omer919 and Nijel8)
I deleted install-recovery.sh from system/bin using TWRP's file manager before first boot, but it still overwrites MIUI recovery.
It's not a huge deal because I guess I can always fastboot flash twrp before flashing any new ROM, but does anyone have a solution? Much appreciated!
You have to boot to twrp right after flashing.
Go to twrp official site, choose your device and follow exactly instruction to the end.
It wouldnt harm your device if you reboot it to twrp twice.
Thanks, I tried but it reverts to stock recovery. After flashing TWRP in fastboot, I either try Fastboot boot twrp.img or disconnect the cable and hold power and vol+.
Either way, it goes into TWRP, and I make it boot back into TWRP several times with no problem.
But as soon as I boot to System, it reverts to stock.
TWRP site gives me this info (but it didn't work):
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
OMG I found it - Google really is a friend. All I had to do was install Magisk before booting to System.
Below are my exact steps, if that helps someone.
Preliminary:
Download Magisk 17.1 zip, place it on a USB flashdrive.
Install latest magiskmanager apk from Play store (or sideload it if not on the store)
1- In Fastboot:
fastboot flash recovery twrp.img
fastboot boot twrp.img (If all goes well, this boots to TWRP; if prompted for a code, hit cancel)
2- Disconnect the cable.
Reboot to recovery once more (just to make sure, this is probably redundant; hit cancel if prompted for a code)
3- Mount USB-OTG, connect your flashdrive.
Install Magisk.
During the installation, you'll see some red fail lines, but Magisk seems to work around the encryption, just be patient.
4-Reboot System. You're done! Launch MagiskManager. Device is rooted in the process, too. (Verify with a root checker app).
Power Off. Hit Power + volume Up - You should boot to TWRP.
thanks a million McNoob. I was lost, but due to your hints I managed to install Magisk
Hi i cant boot to twrp and it keeps reverting to stock recover..
already tried this "fastboot flash recovery twrp.img
fastboot boot twrp.img (If all goes well, this boots to TWRP; if prompted for a code, hit cancel) "
after sending the last command line the phone reboot but its just black screen.. i try to reboot the phone again and boot it to recovery but still stock recovery is preset.. thanks
Thanks man! It worked for me as well!
Lamantin001 said:
Thanks man! It worked for me as well!
Click to expand...
Click to collapse
How did it work for you
thanks but.... the twrp for nitrogen is corrupted apparently and nothing work

lineage OS successful but after 5 seconds in the OS it reboots during the setup

Hi. so i have been getting trouble on the lineageOS 16 and 15.1 after i install it its boots fine but after 5 seconds in the OS its freezes and reboots. this is what i have done
Wipe --> Data, davilk cache, and system,
no reboot
Advance --> ADB Sideload --> lineageOS 16.0 or 15.1 ARM64
reboot to bootloader
fastboot boot TWRP
Advance --> ADB sideload --> MindtheGapps 9.0 or 8.1 ARM64
reboot
and it boots but its freezes after 5 secs in the OS on setup and reboots
how do i fix it
You need to format data, not just wipe it. You can either boot twrp and go advanced format data, or in bootloader mode hit up the cmd prompt and issue 'fastboot -w' w/o quotes.
41rw4lk said:
You need to format data, not just wipe it. You can either boot twrp and go advanced format data, or in bootloader mode hit up the cmd prompt and issue 'fastboot -w' w/o quotes.
Click to expand...
Click to collapse
i did that and i try out a different rom that i know works still same thing be on the setup and then 5 seconds later freeze and reboots is there a way i can format the whole phone

Does Magisk is gives you bootloops?

For me it is giving bootloops.
1) Flash pbrp or if you have pbrp then it's okay, format data via pbrp, the one where you have to type in "yes"
2) Press power button + vol down, boot into fastboot go to an adb terminal and flash los rec via fastboot. Then press vol up + power button to boot into LOS rec.
3) Whatever ROM you wanted to flash save it in your adb folder as well as magisk(optional) as well as your gapps(optional).
4) When in Los Rec, press on update and press on adb sideload, and then sideload your ROM by adb sideload ROM.zip
5) Reboot to Rec after it's done.
6) Boot to System.
7) Reboot to Rec after a successful boot to system.
8) Again press on Update in Los Rec, and press on update via ADB sideload, then using adb sideload command sideload gapps and magisk and boot into system and it should work fine, if you still can't see magisk manager at that point just install the magisk manager apk and you'll see your device is rooted.
Note: Never in hell use nikgapps or bitsgapps. If you have used nikgapps before and are facing bootloops, then flash a different ROM than the ROM you used during flashing nikgapps so as to wipe/overwrite system to kill nikgapp's script.
Apcoolboy said:
1) Flash pbrp or if you have pbrp then it's okay, format data via pbrp, the one where you have to type in "yes"
2) Press power button + vol down, boot into fastboot go to an adb terminal and flash los rec via fastboot. Then press vol up + power button to boot into LOS rec.
3) Whatever ROM you wanted to flash save it in your adb folder as well as magisk(optional) as well as your gapps(optional).
4) When in Los Rec, press on update and press on adb sideload, and then sideload your ROM by adb sideload ROM.zip
5) Reboot to Rec after it's done.
6) Boot to System.
7) Reboot to Rec after a successful boot to system.
8) Again press on Update in Los Rec, and press on update via ADB sideload, then using adb sideload command sideload gapps and magisk and boot into system and it should work fine, if you still can't see magisk manager at that point just install the magisk manager apk and you'll see your device is rooted.
Note: Never in hell use nikgapps or bitsgapps. If you have used nikgapps before and are facing bootloops, then flash a different ROM than the ROM you used during flashing nikgapps so as to wipe/overwrite system to kill nikgapp's script.
Click to expand...
Click to collapse
thank you. Los rec mean Lineage os recovery? where to get it?
harigavara said:
thank you. Los rec mean Lineage os recovery? where to get it?
Click to expand...
Click to collapse
There is another way to solve bootloop. I just tried and working.
You are on pbrp right? Just dirty flash your rom zip with "dm-verity" unchecked in pbrp. Then boot to os once. Then again just go to pbrp and flash same way magisk (with unchecked dm-verity in pbrp) and reboot to system. It should boot
Apcoolboy said:
There is another way to solve bootloop. I just tried and working.
You are on pbrp right? Just dirty flash your rom zip with "dm-verity" unchecked in pbrp. Then boot to os once. Then again just go to pbrp and flash same way magisk (with unchecked dm-verity in pbrp) and reboot to system. It should boot
Click to expand...
Click to collapse
Thank you. But i came back to stock miui. I feel currently the miui 11 is better than custom roms. All roms are usable as daily driver but most of the builds are not really flashing with the suggested flashing instructions tl itself. Only msm extended rom is booting up as per the given flashing instructions.

Question installing custom recovery when device has AOSP recovery

So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Aserar said:
So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Click to expand...
Click to collapse
What is the code name of your device?
NOSS8 said:
What is the code name of your device?
Click to expand...
Click to collapse
Its alioth poco f3
Aserar said:
Its alioth poco f3
Click to expand...
Click to collapse
Seems that in official no TWRP A13
https://androidfilehost.com/?w=files&flid=322193
Here boot version A12(more recent).
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v5.6_A12
https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4272625/
Aserar said:
So I installed a A13 AOSP rom (Evolution x) via orangefox and when I rebooted to recovery orangfox was gone and now I'm on AOSP recovery. I tried to "fastboot boot" TWRP but the phone restarts on black screen for several seconds then restarts again to system. and when I enter fastboot thro AOSP recovery and try to boot TWRP it just fails (says unrecognized command boot). how can I flash custom recovery? i was thinking of trying sideload but with fastboot not working properly, I dont want guessing and rather ask someone with more knowledge with AOSP recovery and what could be causing fastboot not working properly
PS/ AOSP recovery is not detecting otg, and when choosing apply updates from internal storage it says it cant mount /data
Click to expand...
Click to collapse
It is because flashing rom also flash the recovery packed along with the rom, and it will replace your old recovery. To prevent it you need to also tick on the reflash ofox option when you flash a rom, which is too late in your case.
So, if you want to reflash ofox recovery, download and extract the zip file, locate the recovery.img in the extracted folder, reboot to bootloader and issue this command:
Code:
fastboot boot /path/to/recovery.img
then reboot to recovery with the command:
Code:
fastboot reboot recovery
and your device will temporarily boot into ofox recovery
The last step is to flash the recovery to ramdisk to make it permanently, you can find this option in ofox settings.
NOSS8 said:
Seems that in official no TWRP A13
https://androidfilehost.com/?w=files&flid=322193
Here boot version A12(more recent).
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v5.6_A12
https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4272625/
Click to expand...
Click to collapse
This is what I did befor posting but but TWRP wouldnt boot through fastboot. it just gives me blackscreen for a few seconds then it boots to system. but the problem was solved with ofx. thank you for your help
disconmair said:
It is because flashing rom also flash the recovery packed along with the rom, and it will replace your old recovery. To prevent it you need to also tick on the reflash ofox option when you flash a rom, which is too late in your case.
So, if you want to reflash ofox recovery, download and extract the zip file, locate the recovery.img in the extracted folder, reboot to bootloader and issue this command:
Code:
fastboot boot /path/to/recovery.img
then reboot to recovery with the command:
Code:
fastboot reboot recovery
and your device will temporarily boot into ofox recovery
The last step is to flash the recovery to ramdisk to make it permanently, you can find this option in ofox settings.
Click to expand...
Click to collapse
Thank you mf this worked! Booting twrp through fastbood just gave me black screen so I didnt think that booting Ofox would be any different but it actually booted Ofox recovery and I flashed it no problem. If anyone's going to attempt this make sure to backup your data before cause you'll need to format data

Categories

Resources