Xiaomi Redmi 7a strange boot - Redmi 7A Questions & Answers

So i have the redmi 7a and i decided to install a custom rom on it, i installed orange fox recovery and downloaded a lineage-18.1 based rom. I flashed it and it worked very nicely but i wanted to test out a gsi(just for the experience) the first time it started booting but didnt go any further so i tried again and then it fail so i just tried the way to flash it from the aosp site and.... it rebooted to fastboot. At this time i said: ok ill reinstall lineage os and let it as is but then after reflashing orange fox recovery with fastboot it started BOOTING android WITHOUT REBOOT(still tho didnt go any further than the android logo) . I just want to know. 1. Why it started booting withoun reboot? 2. A good guide to install it

Related

One Plus two not Loading Recovery Mode (stuck on Logo)

Hi, I need help in installing Recovery.
I unlocked the bootloader, installed TWRP and then CyanogenMod 13 ROM.
After this, Oxygen Os 3 got released. I downloaded the zip file and flashed through TWRP.
Oxygen OS got installed but after this, I couldn't go back in TWRP recovery.
I tried everything. I use "fastboot flash recovery twrp.img"
everything works
but when I boot in recovery, phone gets stuck on the LOGO and nothing happens.
Is there any way to solve this issue.
Almost the same for me.
When I flash oOS 3.0.2, unable to reboot using Grarak'sTWRP or TWRP-3.0.2-1.
Always stuck on boot logo without animation.
I reverted to old TWRP and oOS 2.2.1
piyushmodi01 said:
Hi, I need help in installing Recovery.
I unlocked the bootloader, installed TWRP and then CyanogenMod 13 ROM.
After this, Oxygen Os 3 got released. I downloaded the zip file and flashed through TWRP.
Oxygen OS got installed but after this, I couldn't go back in TWRP recovery.
I tried everything. I use "fastboot flash recovery twrp.img"
everything works
but when I boot in recovery, phone gets stuck on the LOGO and nothing happens.
Is there any way to solve this issue.
Click to expand...
Click to collapse
Try to install OOS recovery or Hybrid recovery.
Nobody ever learns or reads nowadays....
Read up on bootloader versions on Oneplus 2 and you will find the explanation perfectly understandable.
Thank You So much for your help. Finally it worked but I lost my data! Anyways, no issues.
Can you give us the way you fixed your problem .
Thanks

Stuck in bootloop in all LOS and OOS based roms

Hi guys, been using my rooted but otherwise stock OOS rom with TWRP and Magisk for the past few weeks. Today I decided to take the plunge and try either the Lineage OS or Resurrection Remix roms.
I'm using the latest OFFICIAL TWRP.
So I decrypted following the instructions to flash "no-verity-opt-encrypt-5.1.zip", then format data. All went well, so I then sent over the ROMS I wanted to try out. I started with the official ResurrectionRemix. Bootloop. Then the unofficial LineageOS. Bootloop.
Ok, well I guess I'm not gonna get to use any of the cool new OS's for awhile. I'll install the full stock firmware zip so I can have a working phone again. Bootloop.
Now when I say bootloop, the phone is booting to the BootAnimation and just repeating it. It shows the proper boot animation for whatever zip I have installed (resurrection/LOS/OOS), but it stays on there for up to 20 minutes before I have to hard reboot to the recovery again.
I decided to install the stock recovery trying a few methods. I first tried the ALL-IN-ONE tool. It said it flashed the recovery fine, so I booted to the recovery and after staying on a black screen for too long, the language options came up and I sighed a breath of relief. But before I could select English with the volume buttons, it rebooted by itself. It did this again when I manually entered recovery. So I figured maybe the tool flashed the wrong version, so I googled stock recovery for OnePlus 5, I found a few random links for stock recoveries for the OP5 and flashed them, but they more or less do the same thing or not boot at all.
I've tried changing the filesystem for both Data and System using any combinations of EXT4 and F2FS. Everything results in boot animation bootloops.
I have been flashing Roms since the Samsung Galaxy S3 and every phone since and never had any problems.
Currently when trying to install the stock Full OOS official zip with TWRP, the phone won't even go to the boot animation, it only goes to a black screen with the top LED in a light blue color.
I have also tried every version of TWRP there is for the OnePlus 5. Unofficial, Official, 3.1.1-0 and 3.1.1-1.
So I guess my question is....What filesystem is each partition supposed to be on and for which OS?
Lineage based:
System: ?
Data: ?
OOS Based:
System: ?
Data: ?
And any ideas on getting my phone running again?
And anyone have an official confirmed working version of the stock recovery? The one from ALL-IN-ONE TOOL doesn't work for me. It loads the language selection, then the screen goes black with a light blue LED on the top of the phone.
Actually I'm getting that on some roms instead of the bootanimation, like FreedomOOS. What does it mean when you have a black screen and a white LED?
Man, I really thought I was getting somewhere. If I boot into TWRP, change the Data partition to "F2FS", then flash the stock recovery, the stock recovery will boot, however, when inside the stock recovery and I try to flash the stock zip, it says "Flashing, don't turn off your device" for about 5 seconds and then goes back to the list of roms on the SD card, not having flashed anything at all.
Ok, I have the official stock recovery from the OnePlus site, but still can't use it. Here is was happens depending on how I left it with TWRP:
System: F2FS
DATA: F2FS
- Stock recovery will load after some time, freeze, then the screen goes black with white LED on top.
System: EXT4
DATA: F2FS
- Stock recovery loads fine, I can go through the settings and install from SD card, but when I do it says "Flashing, don't turn off your device" for about 5 seconds and then goes back to the list of roms on the SD card, not having flashed anything at all.
System: EXT4
DATA: F2FS
- If I try to flash stock rom through TWRP, it just boot loops on the animation forever.
I have now also tried flashing the stock boot.img, but no difference.
I have 2 things you can try!
First, replace the bootloader with stock and do a factory reset:
1. flash the stock recovery over
2. then in fastboot mode enter, fastboot oem lock (This forces the phone to wipe cache and data, and also do a complete reset)
Did it work? if yes YAY if not go to Second!
Second if your system.img is ****ed up you have to replace it!
Download the newest version of the stock rom from oneplus link here
Unpack it
research how to use an extractor to convert the system.new.dat to system.img
once thats completed enter fastboot mode and flash the new system.img over with Fastboot flash system system.img
now go into recovery and do a factory reset and wipe cache, and dalvik
Please reply back wether or not this work
"Ihave 2 things you can try! First, replace the bootloader with stock and do a factory reset..."
Is the bootloader simply the boot.img?
After doing the first thing, it simply says that the device is corrupt and will not boot. But it is locked again.
But I will have to unlock it again to do any further flashing.
Hmm, I think I may have gotten it. After unlocking again, flashing the stock recovery and boot.img, then locking again and wiping in the stock recovery, I have finally booted into the stock rom.
I still have no idea what went wrong, and I really want to know, so that in the future I can flash other Roms, like LineageOS.
I mean, I followed the steps exactly.
If it says the device is corrupt it simply means you got something else besides stock rom.
So now unlock it and try the system.img instead
It was because I still had TWRP with the stock rom.
I got it working though, thanks for your help.
Do you have any idea on what might have went wrong when trying to flash the lineageOS based roms and why it got messed up so royally?
Great to hear you fixed it ^_^
Probably some minor bug, if you wanna try installing lineageos again use the 3.1.1 TWRP build that supports backups and do a full backup so you don't have to go thru all this again
---------- Post added at 12:17 AM ---------- Previous post was at 12:13 AM ----------
Not really just try again but remember to use TWRP 3.1.1, as 3.1.0 don't support backup and probably have been part of your problem
If your trying again and gets it successfully installed could you do me a favor and test if Drivedroid works on it? And pm me the result, I'm looking for a rom where Drivedroid will work... Haven't found one so far
You know, I did do a backup with the OFFICIAL TWRP, but it also resulted in a bootloop. I made the backup after decrypting, so I don't know why it bootlopped.
https://forum.xda-developers.com/oneplus-5/development/rom-unified-lineageos-7-1-2-t3635483
Is this the one you tried installing?
I tried like every ROM at one point yesterday, but I think I started with
https://forum.xda-developers.com/oneplus-5/development/rom-resurrection-remix-n-7-1-2-t3636578
Did you remember Gapps?
Also in some cases its better not to root before you have the custom rom running, you usually only need a custom bootloader like TWRP
Yeah, I tried with Gapps, and I never rooted before first trying to boot.
As of yesterday Ressurrection remix, released the first official stable build so try again your should'nt have any problems if you follow the guide 100%
Ever find a solution? I'm stuck here now. Can't get any ROM to boot up, they all get stuck on the boot animation
Bump. I am also stuck in this state

How can I revert to factory state in my Leeco Le s3 (x522 US variant)

Hi friends! I really feel frustrated with this phone.
I began by using fastboot to flash TWRP (twrp-3.1.1-1-s2), used it to flash Lineageos 13.0, but IR BLASTER doesn't work, then I flashed 14.1 and IR blaster, Sim detection, flashlight and camera don't work correctly, I tried Resurrection remix and MIUI8 too but I gave up, neither of those Custom Roms works as I wanted them to.
So I went back to EUI and all was well until I wanted to update OTA, it gave me an error every time, tried to do it with update.zip but nothing, using stock recovery and nothing. I used TWRP and wipe everything again, now this thing won't start it just bootloops, I tried everything for two days and every time I use a stock ROM (5.8.020s) it gives me an error, or tells me it can't be read. When I factory reset and format everything it tells me I dont have an OS installed, so I'm completely lost I don't know what else to do and I can't return the phone because I'm overseas right now.
I really need to have it as when I got it the first time because at least it was functional but I just can't get it to work
I could really use some help right now :crying: thanks in advance guys!
Nikodominiko said:
Hi friends! I really feel frustrated with this phone.
I began by using fastboot to flash TWRP (twrp-3.1.1-1-s2), used it to flash Lineageos 13.0, but IR BLASTER doesn't work, then I flashed 14.1 and IR blaster, Sim detection, flashlight and camera don't work correctly, I tried Resurrection remix and MIUI8 too but I gave up, neither of those Custom Roms works as I wanted them to.
So I went back to EUI and all was well until I wanted to update OTA, it gave me an error every time, tried to do it with update.zip but nothing, using stock recovery and nothing. I used TWRP and wipe everything again, now this thing won't start it just bootloops, I tried everything for two days and every time I use a stock ROM (5.8.020s) it gives me an error, or tells me it can't be read. When I factory reset and format everything it tells me I dont have an OS installed, so I'm completely lost I don't know what else to do and I can't return the phone because I'm overseas right now.
I really need to have it as when I got it the first time because at least it was functional but I just can't get it to work
I could really use some help right now :crying: thanks in advance guys!
Click to expand...
Click to collapse
So I managed to fix the problem. When you root this phone or in fact just flash a custom recovery like TWRP, it changes the model of the phone, If you unroot the phone you won't be able to receive OTAs anymore even if you are on stock ROM, you'll always get an error at the end of the update even if you do it manually, if you are dumb like me and didn't make a backup of your stock system, you won't find any help on the internet more than to install a custom ROM and learn to live with the errors and bugs. I did not want that so to be able to get the phone to its factory state, what I did was this:
1. Download: stock recovery image for Le s3 x522 (official, you can find it anywhere), LeEco_X522_5.8.019S_OTA.zip, bootloader-20S-s2.zip, twrp_s3.img (the chinese TWRP recovery) and S2_X522-NA-OP-IFXNAOP5802102141S-5.8.021S.zip
2. Save those zips to the root of the phone, obviously the .img files you are going to flash them through your PC
3. Put the phone in bootloader mode. command: fastboot flash recovery recovery.img (the official recovery)
4. fastboot boot twrp (the chinese one)
5. From this step what I did was pure luck
6. wipe cache and dalvik and install LeEco_X522_5.8.019S_OTA.zip
7. wipe cache and dalvik and install bootloader-20S-s2.zip
8. wipe cache and dalvik and install S2_X522-NA-OP-IFXNAOP5802102141S-5.8.021S.zip
9. Reboot
How and Why did this worked I don't know, I am a noob but please try if you find yourself in the same situation as I was, you don't lose anything with trying, if this doesn't work don't blame me, this worked for my phone.
Greetings friends!
Thanks for putting this guide together, I am in a similar situation in that I reverted to stock everything (1. Installed YDSS chinese twrp, 2. Installed S2_X522-NA-OP-IFXNAOP5802012141S-5.8.020S.zip. This flash was supposed to have installed the stock recovery and overriden the ydss twrp, but didn't, I had to manually flash that after. Everything came back smooth but my updates also failed at recovery.
I am wondering where you got the LeEco_X522_5.8.019S_OTA.zip, bootloader-20S-s2.zip & twrp_s3.img from?
Nice to hear you finally got it to work ! Aren't the X520 and the X522 the same phone ? Why official ROMs are not compatible ?

Please Help! Redmi 4 Prime bricked

Let me explain what happened step by step
My Redmi 4 Prime was in global stable latest miui 10 build
step 1 : I unlocked the boot loader using the official boot loader unlock tool, i even saw that it was unlocked.
Step 1.5 : i had downloaded Cosmic OS from official site and the beta build of MIUI 11 from an unofficial site but i made sure that they are of Redmi 4
step 2 : I installed TWRP 3.1.1 , wiped Dalvik & Cache, Then tried to install Cosmic OS (Yes i'm a fool to not backup before) It showed an error and Failed to install.
Step 3 : The mistake comes here.. Instead of just Factory reset wipe I did Internal Storage Wipe, Which I guess also that my current Rom is gone?
Then, when i boot it, it comes to the MI Unlocked boot screen, I tried rebooting by using the volume buttons to TWRP, After some time it changed back to Fastboot screen no TWRP, So I flashed TWRP again
I understood that I erased OS but then when i tried to install the beta build i downloaded earlier it failed as well. Now i tried to see what was the error and it says the build was for "santoni" and my device for . (the dot), It said my device just a dot. Then installing of Cosmic began and it said it was for Mido.
and now i am stuck here with that MI unlocked logo screen
Can anyone please help me what to do about this?
Update: My phone is ok now
I just booted into fastboot mode, downloaded mi flash tool, it showed an error of drivers not installed, I created a "log" folder in the place where the tool was there and installed the drivers and then downloaded miui 10 stock ROM of redmi 4 prime, which didn't work, so I tried putting redmi 4x ROM and it worked out without a problem. And later it booted normally
LogaN Kat said:
so I tried putting redmi 4x ROM and it worked out without a problem. And later it booted normally
Click to expand...
Click to collapse
So, apparently, your's is not a markw
Same happens with my redmi 4
Same Happens with me when i was also tried to install ROM. This happened because you didn't flash it with lazy flasher after flashing twrp.

Please help me with this bootloop problem

hi guys. i have been using evolution x rom for past 1.5 years. since the launch of miui 12, i was excited to try it out. so i flashed miui12 gsi port 20.5.28 (european rom) in my tissot. this is where the problem begun. although the rom worked fine with some bugs, im satisfied with my use for 2 weeks and now i've to come back to evolution x.
BUT I CAN'T. the problem is when i wiped everything except internal storage and flashed the latest evolution x rom and reboot, the device stuck in a bootloop. i tried again and the result is same. so i flashed the miui 12 port again and it worked fine. then i come to know only miui is working. so i flashed stockrom via fastboot method and it worked. i get relieved and i again unlocked boot loader by " fastboot oem unlock " and flashed the evolution x rom again. i also tried pixel experience and the result is same
THE DEVICE STUCK IN THE BOOTLOOP AGAIN. i waited for 10 mins but the result is same. now i returned to miui 12 port.
SO THE SUMMARY OF MY PROBLEM IS THAT, I CAN ONLY USE STOCK AND MIUI 12 GSI PORT. IF I TRY TO FLASH CUSTOM ROM THE DEVICE STUCKS IN BOOTLOOP.
You tried twrp mount to system and problem solve go-to recovery twrp and mount system and flash ROM and flash twrp installer and Mount to system again
Barathwaj said:
hi guys. i have been using evolution x rom for past 1.5 years. since the launch of miui 12, i was excited to try it out. so i flashed miui12 gsi port 20.5.28 (european rom) in my tissot. this is where the problem begun. although the rom worked fine with some bugs, im satisfied with my use for 2 weeks and now i've to come back to evolution x.
BUT I CAN'T. the problem is when i wiped everything except internal storage and flashed the latest evolution x rom and reboot, the device stuck in a bootloop. i tried again and the result is same. so i flashed the miui 12 port again and it worked fine. then i come to know only miui is working. so i flashed stockrom via fastboot method and it worked. i get relieved and i again unlocked boot loader by " fastboot oem unlock " and flashed the evolution x rom again. i also tried pixel experience and the result is same
THE DEVICE STUCK IN THE BOOTLOOP AGAIN. i waited for 10 mins but the result is same. now i returned to miui 12 port.
SO THE SUMMARY OF MY PROBLEM IS THAT, I CAN ONLY USE STOCK AND MIUI 12 GSI PORT. IF I TRY TO FLASH CUSTOM ROM THE DEVICE STUCKS IN BOOTLOOP.
Click to expand...
Click to collapse
U trebelised ur device?
Harvey_Spectar said:
U trebelised ur device?
Click to expand...
Click to collapse
yes. still bootloop
Harvey_Spectar said:
U trebelised ur device?
Click to expand...
Click to collapse
i have trebelised and flashed the evo x rom. still the result is same. i formatted data, trebelised and have done everything i could do. i have waited 6 mins in bootloop and the loop continues. but the stock rom (fastboot flash) and miui 12 port works fine.
Barathwaj said:
i have trebelised and flashed the evo x rom. still the result is same. i formatted data, trebelised and have done everything i could do. i have waited 6 mins in bootloop and the loop continues. but the stock rom (fastboot flash) and miui 12 port works fine.
Click to expand...
Click to collapse
Untrebelise ur phone and then flash custom rom
this is the problem with miui gsi it happens to me some days ago i treble my phone and flashed the miui 12 gsi and i didn't like the rom so i decided to get back to PixelExperience Rom but when i flashed the rom and try to reboot from twrp it shows no os installed i reboot the phone and it stucks on splash screen then i tried some other roms but same problem then i flashed stock firmware and my phone boot after that i flash twrp and custom rom and everything works good.
i think its some kind of problem with gsi everytime u flash this gsi u have to flash stock firmware to get working custom rom
ranjodhricky said:
this is the problem with miui gsi it happens to me some days ago i treble my phone and flashed the miui 12 gsi and i didn't like the rom so i decided to get back to PixelExperience Rom but when i flashed the rom and try to reboot from twrp it shows no os installed i reboot the phone and it stucks on splash screen then i tried some other roms but same problem then i flashed stock firmware and my phone boot after that i flash twrp and custom rom and everything works good.
i think its some kind of problem with gsi everytime u flash this gsi u have to flash stock firmware to get working custom rom
Click to expand...
Click to collapse
Can u get back to custom??? Even now i can't. So I'm using stock now
Harvey_Spectar said:
Untrebelise ur phone and then flash custom rom
Click to expand...
Click to collapse
Barathwaj said:
Can u get back to custom??? Even now i can't. So I'm using stock now
Click to expand...
Click to collapse
I've untrebelised and can go to custom now. I thought it's a success. But nothing can access storage. Even camera app asks for sd card. Chrome stops working after sometime. Microsoft edge is not opening at all. So i went back to stock
Barathwaj said:
hi guys. i have been using evolution x rom for past 1.5 years. since the launch of miui 12, i was excited to try it out. so i flashed miui12 gsi port 20.5.28 (european rom) in my tissot. this is where the problem begun. although the rom worked fine with some bugs, im satisfied with my use for 2 weeks and now i've to come back to evolution x.
BUT I CAN'T. the problem is when i wiped everything except internal storage and flashed the latest evolution x rom and reboot, the device stuck in a bootloop. i tried again and the result is same. so i flashed the miui 12 port again and it worked fine. then i come to know only miui is working. so i flashed stockrom via fastboot method and it worked. i get relieved and i again unlocked boot loader by " fastboot oem unlock " and flashed the evolution x rom again. i also tried pixel experience and the result is same
THE DEVICE STUCK IN THE BOOTLOOP AGAIN. i waited for 10 mins but the result is same. now i returned to miui 12 port.
SO THE SUMMARY OF MY PROBLEM IS THAT, I CAN ONLY USE STOCK AND MIUI 12 GSI PORT. IF I TRY TO FLASH CUSTOM ROM THE DEVICE STUCKS IN BOOTLOOP.
Click to expand...
Click to collapse
is android verified boot enabled (avb) ?

Categories

Resources