Now the system only boots to recovery (TWRP 3.4), but no ROMs - Realme XT Questions & Answers

Hello
I was at RUI C07 stock firmware.
I've managed to unlock the bootloader and to install TWRP 3.4.0. Then I've tried to flash derpfest (android 10), LineageOS and RevengeOS.
All of them seems to have flashed successfully, but TWRP always warns that there is no OS installed when I try to reboot. When I do reboot, it tries to load something, fails and goes back to TWRP.
What is the problem? Should I try to flash vbmeta? Where can I find it? I'm completely lost.
Thanks in advance

I've just followed the "unbrick guide" and there was little developement...Now the phone boots to fastboot/bootloader by default. I can boot to recovery if I request it. But if I just turn on the system or if I request system, it stops at the bootloader.

What a roller coaster ride!
What seems to have worked for me was to flash yet another ROM (crDroid). But this time I made sure that I've formatted DATA, and then I've wiped vendor, system, caches, internal disk.
I may have forgotten to format the data partition before, which might have been the cause for so much trouble.
If you are reading this, don't forget to format the data partition before flashing a custom ROM, at east when coming from the stock rom.

Related

Issues with encryption on a custom ROM

Hello, I unlocked my bootloader today. Immediately after flashing the official TWRP, I booted into it through ADB, and flashed DFE. After rebooting, I went back to TWRP, wiped data, cache, dalvik, system and flashed the latest vendor with pixel experience. ROM booted just fine, but after rebooting to TWRP again, it was asking me for password. I can get into TWRP by entering my device pin, and I can get back into the ROM, but during boot it always asks me for my pin. What should I do to fix this? Should I flash DFE with the ROM?
try "Format Data"
Your Data is already Encrypted. You need to Format your data/internal storage. Make sure to backup your data first before doing that.

Bricked the phone by wiping every partition in TWRP

My Redmi 5 plus won't boot as I messed up everything while trying to flash a couple of ROMs. At first the two ROMs that I flashed were working well. But after some time, whatever ROM I flashed, the phone started to restart while setting up the first boot (choosing language, region, etc.) and no further. So I tried wiping every partition there is under the TWRP wipe section (cache, system, vendor, data, internal storage, and so forth). Then flashed a custom ROM again with and without GApps but no success. I noticed that the phone even started to restart before the first boot finished. Also, after flashing stock ROM, TWRP said no OS installed. I even tried flashing stock MIUI ROM in fastboot mode. Although it went well, still bootloop and the device keeps restarting. However, before all of these problems, I did take a backup of every partition, leaving nothing behind, so I restored everything but again the "No OS installed, are you sure to boot?" message. Now I'm freaking out, not knowing what to do. I read somewhere that flashing via QPST tool may help but I'm having problems with installing it.
If I manage to make my phone work again, I will not flash any other ROM, ever.
Try installing new firmware with recovery, if that doesnt help you can try flashing with EDL mode.
Just open your phone and bridge these points ( on photo ) and connect phone to PC.
It should appear in XiaoMiFlash as COM[number].
Good luck!
steve_i7 said:
My Redmi 5 plus won't boot as I messed up everything while trying to flash a couple of ROMs. At first the two ROMs that I flashed were working well. But after some time, whatever ROM I flashed, the phone started to restart while setting up the first boot (choosing language, region, etc.) and no further. So I tried wiping every partition there is under the TWRP wipe section (cache, system, vendor, data, internal storage, and so forth). Then flashed a custom ROM again with and without GApps but no success. I noticed that the phone even started to restart before the first boot finished. Also, after flashing stock ROM, TWRP said no OS installed. I even tried flashing stock MIUI ROM in fastboot mode. Although it went well, still bootloop and the device keeps restarting. However, before all of these problems, I did take a backup of every partition, leaving nothing behind, so I restored everything but again the "No OS installed, are you sure to boot?" message. Now I'm freaking out, not knowing what to do. I read somewhere that flashing via QPST tool may help but I'm having problems with installing it.
If I manage to make my phone work again, I will not flash any other ROM, ever.
Click to expand...
Click to collapse
Did u have the global or Chinese rom installed?
And which twrp version do u have?

problem with encryption

hi today i unlock my poco, and try to flash recovery and mi globe, i flash the orange fox 9.0, and flash the rom, the problem its when i boot to system, a message of my phone was encrypted and i need to perform a wipe data, i try wiping data, and wipe sd, and nothing change, also i flash again and flash then the disableencryptiontreble 17.3, and the same things happen, some solution??
have you tried to format data? not just wipe data
chanta96 said:
hi today i unlock my poco, and try to flash recovery and mi globe, i flash the orange fox 9.0, and flash the rom, the problem its when i boot to system, a message of my phone was encrypted and i need to perform a wipe data, i try wiping data, and wipe sd, and nothing change, also i flash again and flash then the disableencryptiontreble 17.3, and the same things happen, some solution??
Click to expand...
Click to collapse
i have the same issue, tried different recovery projects, OFRP and TWRP. both seem to have the same issue, with the message "encryption unsuccessful" and if i tried to press the "RESET DEVICE" button i get stuck in a boot loop.
i also factory reset my device, formatted everything via the recovery project menu then booted into recovery and installed the CUSTOM ROMS.
tried also to DFE but nothing seem to change even with encryption disabled.
but i scarcely manged to bypass this issue by; after wiping everything boot into recovery and install whatever rom you want and install gapps after it, better still install firmware vendor if the rom of your choice doesnt include them.
never mind, i fixed it.
in my case i was trying to flash LineageMicroG 16 on my Device and i kept getting that error and i did the following to fix it;
wiped everything and wrote "yes" to format the date and swiped for a factory reset through recovery wipe option then i booted into recovery and flashed LineagemicroG 16 after that i flashed optimus drunk kernel and booted into system and everything seemed to work fine, the kernel is what fixed the problem.

Nandroid restore after failed (accidental) encryption from dirty flash.

Hi all,
So I was happily running the 20190722 PE (Pixel Experience) on beryllium-V10.3.6.0.PEJMIXM-9.0-vendor-firmware with DFE and Magisk 19.3 flashed from TWRP 3.3.0. All files from official sources including the Official Telegram.
I come to discover I am 2 updates behind on PE so I created a NANDROID backup of the boot, system, and restore. I then cleared the dav and cache per usual and dirty flashed the ROM.
I then proceed to reboot the phone and it begins to encrypt itself. Given that I am a brilliant engineer, I proceed to interrupt it and restart the phone into TWRP. It loads and prompts a password. I have forgotten to DFE.
At this point I know that I have completely screwed up so, following the ongoing consensus on these forums, I format in TWRP, rebooting and clearing as instructed. I then go to restore the NANDROID. No go, boot loop.
After reading more, conclude that I need to flash the vendor FW and use it to reset/clear the phone and reinstall TWRP via FASTBOOT then flash the NANDROID. Nope, boot loop.
Going farther I discover that I need to flash the NAN on top of it’s working ROM/FW.
I go and flash the previously working ROM AND FW with dfe. To I double check I boot that and it boots properly to Android Setup.
Great! I use TWRP to flash the NANDROID. It boots to a lighted black screen. Pushing power I can get it to come up with a power/reboot/lock down menu that moves around the screen. This will actually restart or turn it off (didn’t touch the last).
I have tried this in various combinations with both my new NAN as well as a known working one.
Any ideas/thoughts/insults/ (I can take it)?
Try flashing 10.3.7.0 and then PE and immediately after DFE. However, I'm not sure it you won't lose everything. When doing your backup from TWRP, choose everything except System & Vendor. These 2 will be covered by System Image & Vendor Image.
HTH

locked myself out of my own device

Disregard unless you want to laugh at me~
Right well i thought it was a good idea to flash ANXcamera through Magisk on the PE+ rom.
After downloading and installing the zip through magisk, i restarted my device and it go stuck in a bootloop. So i went into TWRP and installed uninmod which failed to mount magisk.img. I didnt have a lot of stuff on my phone, so i thought id just reflash the rom again. instead of PE+ which was not stable for my use, i decided to go with the EvolutionX rom. So i put EvoX rom and DFE on an external micro sd card and threw that in the phone. Following the instructions they have on their post, I managed to clear data/cache/system and internal storage (because there was something on there causing it not to boot (most likely ANX)). Flashed EvoX rom and DFE. Restarted the device to the system and managed to forget the Vendor firmware (after i scrolled down to the first comment on the EvoX post that says the flash it). I thought it was a great idea to restart the phone halfway through its first initial boot to go back to TWRP to flash the vendor firmware. But now TWRP is asking for a password. i have tried default_password and still nothing. Didn't think EvoX would boot without the vendor firmware.
Do i have any options from now? Love to hear any suggestions.
Cheers
EDIT: Should've pressed READ ONLY on TWRP. rookie maneuver, completely forgot. ended up flashing a different rom and worked fine.
Simply reflash TWRP via ADB
Heaclan said:
Disregard unless you want to laugh at me~
Right well i thought it was a good idea to flash ANXcamera through Magisk on the PE+ rom.
After downloading and installing the zip through magisk, i restarted my device and it go stuck in a bootloop. So i went into TWRP and installed uninmod which failed to mount magisk.img. I didnt have a lot of stuff on my phone, so i thought id just reflash the rom again. instead of PE+ which was not stable for my use, i decided to go with the EvolutionX rom. So i put EvoX rom and DFE on an external micro sd card and threw that in the phone. Following the instructions they have on their post, I managed to clear data/cache/system and internal storage (because there was something on there causing it not to boot (most likely ANX)). Flashed EvoX rom and DFE. Restarted the device to the system and managed to forget the Vendor firmware (after i scrolled down to the first comment on the EvoX post that says the flash it). I thought it was a great idea to restart the phone halfway through its first initial boot to go back to TWRP to flash the vendor firmware. But now TWRP is asking for a password. i have tried default_password and still nothing. Didn't think EvoX would boot without the vendor firmware.
Do i have any options from now? Love to hear any suggestions.
Cheers
EDIT: Should've pressed READ ONLY on TWRP. rookie maneuver, completely forgot. ended up flashing a different rom and worked fine.
Click to expand...
Click to collapse
1. evolution x has its own vendor so you didnt have to flash any! even if you forgot it was fine!
2. seems like initially before flashing that modded cam via magisk, that rom was flashed without DFE (treble) (global) .
3. hence when you booted, the encryption stepped in.
however now
the only thing you can do is to reflash everything AFTER "FORMATING DATA"
1. use twrp from https://forum.xda-developers.com/showpost.php?p=80122987&postcount=305
2. format data , change data partition's file system to xFAT and then back to ext4. (if necessary)
3. flash firmware 9.6.27-9.0 ( is popular)
4. don't flash pe, flash some other Custom rom, I would say Bootleggers
5. flash DFE Treble
6. flash Magisk20
reboot
got her working. cheers boys

Categories

Resources