Please Help - General Questions and Answers

Hello Guys
I was on a custom Android 12 rom. For some odd reason, my phone rebooted. Now i cant get into TWRP Recovery.
I can fastboot, but TWRP is for Android 11, and my Rom is Android 12.
What can i do to either flash stock Rom via CMD, or what can i do to get into TWRP?

Note i cant boot into my rom either

is there any way i can get into TWRP with an Android 12 Custom Rom?

TWRP is a GUI based recovery, a menu presented to you once you boot device into recovery mode, where you can select some actions from, it isn't part of Android OS itself, it doesn't depend on Android OS's version, AFAIK.

Sounds to me like you need to flash back to stock rom then use the xiaomi flash tool to set everything back to stock and restart the root process.
At this point I would advise against rooting android 12 as it is brand new and the root process is very unstable. Therefore I recommend only stock until twrp and magisk catch up.

shivadow said:
Sounds to me like you need to flash back to stock rom then use the xiaomi flash tool to set everything back to stock and restart the root process.
At this point I would advise against rooting android 12 as it is brand new and the root process is very unstable. Therefore I recommend only stock until twrp and magisk catch up.
Click to expand...
Click to collapse
okay so i managed to get into TWRP via fastboot. I have the stock OOS 11..
please tell me if i have the process right
Boot into TWRP
swipe to factory reset
wipe data/cache/davlik
Hit install and flash Stock OOS11
Flash latest TWRP
if that is correct cool
But after flashing latest Twrp, i cant boot back into twrp recovery. I again have to boot via fastboot.
I have flashed the TWRP boot image, but still nothing

Related

Can't Access TWRP Recovery

Hi guys, I flashed the latest factory image, then flashed the latest TWRP but can access it 1 out of 10 tries.. What am I doing wrong? Is it a faulty replacement phone? Never had this issue with my other nexus 5 (same recovery file but lollipop and not marshmallow) and now I have this problem.. Tried to riflashato the factory image 5 times, boot to recovery without installing but nothing changed.. Thanks in advance!
If you just just flashed TWRP, then booted into Android, then reboot into recovery.. Android will overwrite TWRP with the stock recovery.
a hammerhead wrote this.
beekay201 said:
If you just just flashed TWRP, then booted into Android, then reboot into recovery.. Android will overwrite TWRP with the stock recovery.
a hammerhead wrote this.
Click to expand...
Click to collapse
Never happened before.. How can I prevent this? Sometimes I can't even boot to twrp after flashing and not rebooting to android..
carlese said:
Never happened before.. How can I prevent this? Sometimes I can't even boot to twrp after flashing and not rebooting to android..
Click to expand...
Click to collapse
do you finde fix
slavisa037 said:
do you finde fix
Click to expand...
Click to collapse
Downloaded twrp again and used flashify..
carlese said:
Downloaded twrp again and used flashify..
Click to expand...
Click to collapse
This is not really a fix, since to use Flashify one needs to be rooted already.
What I did to work around this was reflash LMY48M. After reflashing that, fastboot correctly boots/flashes twrp.
I've read that the issue arises when trying to boot and/or flash twrp with MRA56K installed, AND the device is connected to USB.
Ok, i got some of problems here, i tryied to root my Nexus 5 with other Android 6 version, it was the first one launched after development version. Now i have MRA58K version.
Problem 1 : I have no stock recovery, i first rooted original version of Marshmallow with CWM and i soft bricked, so no backup, no factory images. Installed MRA58K and there is no stock recovery, thanks god i can use bootloader. I can install TWRP, but i want to install the old recovery, Tell me how to do it.
Problem 2: Actual version of Marshmallow ask me to install a patch, but when installing i got stuck in TWRP, it cant install it (yes, android was rooted, but i installed twrp before root, and the update were before it.)
Thanks.
You can flash a stock ROM using the flash-all file in a command prompt. This will install stock ROM with stock recovery. Make sure the phone has an unlocked bootloader and you should be fine.
Official OTA updates cannot be installed with a custom recovery.
I tryied 3 times to install OS with flash-all. All the problems start after i installed CWM and try to root the phone, but after that, i used a stock rom image that was different build than actually one.
I`m not sure yet who`s fault is.
Any ideas?
I don't recommend using CWM, only TWRP.
After you flash TWRP always boot into it, and since you're flashing a custom recovery I'm going to assume you don't care about OTA's, swipe to allow system to be mounted. TWRP will automatically patch the system to survive android trying to overwrite it. Reboot into TWRP a second time to be safe. TWRP should stick from now on until you flash over it or restore stock system partition.
Yes, now i have TWRP as recovery, but i want to replace it with stock recovery.
Problem is, when i upload stock recovery and try to boot in recovery mode, i got the green dead android with red triangle.
But after TWRP uploading and booting in recovery mode, TWRP is there..
I really don`t know what`s wrong.
Flash stock recovery, select recovery from the fastboot menu, hold the power button and press volume up button.

OnePlus one does not go into recovery after updating it

Hello everyone, I'll tell you what happened
First I was in CM13.1, then I flashed to oxygen OS 3.1.4 custom
(When I flash the ROM, without warning me the recovery was updated to the version TWRP 3.0.3-2TugaPower, previously being in a version inferior to 2.8)
After logging in to the new recovery, I noticed that the recovery version was not on the TWRP page, so I decided to flash the most recent version of TWRP (twrp-3.1.1-0-bacon.img), flashe it through Android sdk (Fastboot), everything went well the pc recognized me the OPO in fastboot Mode and flashe the recovery without problems, the problem came when I try to enter the new recovery the OPO does not enter the recovery stays in the OnePlus Logo.
(Before updating the recovery I tried to restate the backup of my previous rom CM13.1 but when I was going to restart it it stays in the OnePlus logo, and when I go to recovery I fixed that in the section of "Mount" system is not checked , Active but still the same, and when I return to recovery is removed.)
I ask you if you can give me ideas to be able to have recovery again and revive my OPO plz.
Molex69 said:
Hello everyone, I'll tell you what happened
First I was in CM13.1, then I flashed to oxygen OS 3.1.4 custom
(When I flash the ROM, without warning me the recovery was updated to the version TWRP 3.0.3-2TugaPower, previously being in a version inferior to 2.8)
After logging in to the new recovery, I noticed that the recovery version was not on the TWRP page, so I decided to flash the most recent version of TWRP (twrp-3.1.1-0-bacon.img), flashe it through Android sdk (Fastboot), everything went well the pc recognized me the OPO in fastboot Mode and flashe the recovery without problems, the problem came when I try to enter the new recovery the OPO does not enter the recovery stays in the OnePlus Logo.
(Before updating the recovery I tried to restate the backup of my previous rom CM13.1 but when I was going to restart it it stays in the OnePlus logo, and when I go to recovery I fixed that in the section of "Mount" system is not checked , Active but still the same, and when I return to recovery is removed.)
I ask you if you can give me ideas to be able to have recovery again and revive my OPO plz.
Click to expand...
Click to collapse
I guess you didn't read the OP of Oxygen Os correctly,he clearly mentioned that this 'Tuga Power Recovery' is patched to work with Oxygen Os's firmware and one should not flash any other recovery.Now,what you can do is this,
https://drive.google.com/file/d/0B-ikULjZZlloNHpOdVBrTzQxZzQ/view?usp=drive_web
> Download This file, install it somewhere and run Revert-2-CM.exe. Make sure you have fastboot drivers installed or it wont work.Avoid using any Antivirus program while doing this as they might give false alarms.After this you'll be restored to TWRP then you can flash any rom you want.The reason due to which you weren't able to find 'TugaPower Recovery' on TWRP page is because this is an Unofficial Recovery.
Question
What does the program do with the OPO?
If you are familiar with fastboot commands, this method should work. Had my OnePlus in the same situation last night messing around with Efidroid. Phone was bootlooping. Efidroid boot menu as well as recovery mode were both inaccessible. I had tried several other things but none worked for me. *CAUTION: this method did ERASE my userdata.* I downloaded a fastboot-able stock full firmware zip, then manually reflashed device. My beloved OnePlus is no longer my daily driver but still my fave device to experiment with so I just used COS 13.1 file. After full reboot, I downloaded and flashed official TWRP. Device is fully functional again, but without OOS installed.
Molex69 said:
What does the program do with the OPO?
Click to expand...
Click to collapse
It'll change your firmware and alter your recovery to a functional TWRP.You'll lose Oxygen Os after doing this.Though you can use this anytime when not being able to flash TWRP.
What should i do
Thanks a lot thanks to the method you told me my OPO has recovery again really thanks, but I have a question, I still in the TugaPower recovery, should I flash the stock recovery or the newest version of TWRP?
Because I do not know if flashing again the TWRP will happen the same

Android 10 & Custom ROM & Slot A + B

Hello Android developers and enthusiasts,
I've been installing ROM since 2011 so I would not call myself a n00b however I seemingly cannot install an Android 10 ROM without issues. So this is a plea for help and advice!
I know you need to have OOS installed before you install a custom ROM so I use Auto Flash ROM to install OOS with Android 9 via System Update. I then boot and set up phone, install update, reboot and then install the OOS android 10 via the System Update. I then have a OOS installed with Android 10.
Why would I use such an elaborate method you may ask? Well, I tried to download latest OOS from OnePlus site and wipe phone and then install OOS but that fails (didn't record the error I'm afraid).
I then download all the ROM + dependencies on an USB stick and use fastboot to flash Mauronofrio TWRP. I then follow the steps in the ROM instructions. For EvolutionX these were:
First Time Install / Clean Flash
- Have OOS 10.3 flashed to both slots!!
- Boot to recovery
- Flash BUILD.zip (TWRP built-in)
- Wipe Cache
- Format data
- Reboot to recovery (optional)
- Flash Magisk.zip (optional)
- Reboot to system & #KeepEvolving
Click to expand...
Click to collapse
I followed these to the letter but when i rebooted system I got a snapdragon error and it wouldn't even boot into TWRP until I used fastboot to flash boot into TWRP. I also tried HavocROM and same happened.
I did manage to install Syberia using above method but I didn't like the ROM that much unfortunately.
Finally, I've also read up a lot on Slot A and B but it still is not very clear to me. I think I understand it but what happens does not confirm my theories
I therefore have some questions:
- Should I be able to wipe my phone and install OOS on a wiped phone and then install a custom ROM?
- When I install ROM and it says "Reboot Recovery" and then install ROM again. But if I check what slot is being used the reboot doesn't seem to change the slot. My assumption was that booting recovery was to install ROM in the other slot. Is that correct?
Any other tips you can give me?
Again, I like to stress I am not new to installing custom ROMs so I am a bit disappointed that this is causing me such grief.
Following some answers I will retry tomorrow so I can give some more details if needed. For now, appreciate any help.
roel1976 said:
Hello Android developers and enthusiasts,
I've been installing ROM since 2011 so I would not call myself a n00b however I seemingly cannot install an Android 10 ROM without issues. So this is a plea for help and advice!
I know you need to have OOS installed before you install a custom ROM so I use Auto Flash ROM to install OOS with Android 9 via System Update. I then boot and set up phone, install update, reboot and then install the OOS android 10 via the System Update. I then have a OOS installed with Android 10.
Why would I use such an elaborate method you may ask? Well, I tried to download latest OOS from OnePlus site and wipe phone and then install OOS but that fails (didn't record the error I'm afraid).
I then download all the ROM + dependencies on an USB stick and use fastboot to flash Mauronofrio TWRP. I then follow the steps in the ROM instructions. For EvolutionX these were:
I followed these to the letter but when i rebooted system I got a snapdragon error and it wouldn't even boot into TWRP until I used fastboot to flash boot into TWRP. I also tried HavocROM and same happened.
I did manage to install Syberia using above method but I didn't like the ROM that much unfortunately.
Finally, I've also read up a lot on Slot A and B but it still is not very clear to me. I think I understand it but what happens does not confirm my theories
I therefore have some questions:
- Should I be able to wipe my phone and install OOS on a wiped phone and then install a custom ROM?
- When I install ROM and it says "Reboot Recovery" and then install ROM again. But if I check what slot is being used the reboot doesn't seem to change the slot. My assumption was that booting recovery was to install ROM in the other slot. Is that correct?
Any other tips you can give me?
Again, I like to stress I am not new to installing custom ROMs so I am a bit disappointed that this is causing me such grief.
Following some answers I will retry tomorrow so I can give some more details if needed. For now, appreciate any help.
Click to expand...
Click to collapse
Hi!
I had this exact same problem a couple months ago. Rebooting to recovery used to change slots for me, but then it stopped.
What you can do is change active slot manually on Reboot section. By doing this, you don't even have to reboot to recovery in other to flash the other slot (altough I do it just to be safe).
And remember: the rom is flashed on the inactive slot, so after the final flash you gotta change slots one more time.
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Thanks for the info, it really helps.
One question: in your experience can you wipe your phone and then installl OOS on the wiped phone?
So I just booted into TWRP, did standard wipe action: Data, Cache, and Dalvik. I then try to flash the latest OOS zip and I then get this error:
Error applying update: 7 (ErrorCode::kInstallDeviceOpenError)
Updater process ended withL ERROR: 1.
Error installing zip file: '/usbstorage/00, INSTALL/OnePlus6Oxygen_22_OTA_044_all_2002220042_a46425f1bfe43d2.zip
FIXED: I was using TWRP 3.3.1.11 and I then found out there was a newer version: 3.3.1.18 which you can get here: https://sourceforge.net/projects/mauronofrio-twrp/files/Enchilada/
I am now able to install OOS from scratch (ie wiped phone).
remewer said:
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Click to expand...
Click to collapse
I tried this method and everytime I can't seem to flash oos onto the other slot because when it reboots to recovery the folder is encrypted so I can't see which file is the zip. How do I flash the seccond OOS if it shows up encrypted in TWRP.
I have a OnePLus 6 with the latest OOS now because I got into boot loop and i used a flash-all.bat to get back to stock. I also use maronofrio's twrp because that works.
harshybar said:
I tried this method and everytime I can't seem to flash oos onto the other slot because when it reboots to recovery the folder is encrypted so I can't see which file is the zip. How do I flash the seccond OOS if it shows up encrypted in TWRP.
I have a OnePLus 6 with the latest OOS now because I got into boot loop and i used a flash-all.bat to get back to stock. I also use maronofrio's twrp because that works.
Click to expand...
Click to collapse
If you can boot OOS fine, try to do a local update so that both slots have OOS. Then try to flash a custom ROM again using the method I've mentioned.
remewer said:
If you can boot OOS fine, try to do a local update so that both slots have OOS. Then try to flash a custom ROM again using the method I've mentioned.
Click to expand...
Click to collapse
When you say local update you mean while I am running the rom, go to settings then do update from local source?
harshybar said:
When you say local update you mean while I am running the rom, go to settings then do update from local source?
Click to expand...
Click to collapse
Exactly
GuestD2559 said:
When you flash one ROM on top of another different ROM, particularly OOS to custom, always wipe data and not format data, because some custom ROMs do not support being unencrypted in the first time and then encrypt on the first boot. So do it like this:
Flash OOS
Flash TWRP
Reboot recovery
Flash OOS
Flash TWRP
Reboot system
Complete initial setup
Reboot to recovery
Wipe (not format) data
Flash custom ROM (start here for dirty flashing ROM update)
Flash TWRP
Reboot recovery
Flash custom ROM
Flash TWRP
Reboot recovery
Flash Magisk
Reboot system
I don't like built-in TWRP in custom ROMs. I always use @mauronofrio's TWRP. So regardless if the custom ROM I'm using has TWRP built-in or not, I always use the method above. I didn't have a problem with installing ROMs using his TWRP. Slots always switch when flashing ROM.
Click to expand...
Click to collapse
@Cypher_01, Try this guide. This worked for me. I did not reinstall Nikgapps. Maybe that's where the problem lies? Don't forget to change the update slot at the end before you restart.​

Trouble with firmware

Im new to all this, i followed a lot of tutorials to get to the recovery mode properly, i unlocked my device, installed twrp but when i tried to install any custom rom it said that it needed a android 10 firmware, so i searched for that and i got one, i used adb sideload to flash it and it said i needed to reboot my device, i did it but now i can't get to recovery mode, my device is still unlocked but i don't know what to do, can someone help me to get back to stock miui?
my device is a Xiaomi Mi 9 Lite
before unlocking i was in miui 12.5.1 based on Android 11
Unlocking a device's bootloader doesn't affect Android OS itself, but a Factory Reset silently is applied in background.
TWRP removes the Stock Recovery, bootloader gets instructed to run TWRP Recovery instead of Stock Recovery when booting into recovery mode.
My recommendation: Re-flash phone's Stock ROM to get rid off of all modifications you applied so far. Because phone is based on a Qualcomm chipset you may use QPST Flash Tool to do so.

Question Flash TWRP and custom rom

today the 168 waiting time has expired and I was finally able to unlock the bootloader. Now I'm trying to install TWRP to be able to install ArrowOS, I do everything I have to do via fastboot, I put "fastboot flash....." etc and all good, when booting, it boots in TWRP, but when I reboot to the system and enter the recovery again I get back the MIUI recovery, something I'm doing wrong? I have tried installing the .img directly from the twrp recovery in the first boot using "fastboot reboot" after flashing and nothing. Should I install the custom rom on the first boot from recovery?
I had the same behavior on reboot into stock firmware when I installed Lineage Recovery. My guess would be that the stock firmware is actually rewriting recovery if it detects that it's not original but I haven't really investigated it.
MIUI recovery didn't come back after I flashed the system image of a custom rom.
T.Anri said:
I had the same behavior on reboot into stock firmware when I installed Lineage Recovery. My guess would be that the stock firmware is actually rewriting recovery if it detects that it's not original but I haven't really investigated it.
MIUI recovery didn't come back after I flashed the system image of a custom rom.
Click to expand...
Click to collapse
Do you install the rom directly after flash the lineage recovery and booting on it? without rebooting or something
chavaa said:
Do you install the rom directly after flash the lineage recovery and booting on it? without rebooting or something
Click to expand...
Click to collapse
Read here if you have issues with flashing custom ROMs.
https://forum.xda-developers.com/t/4288121/post-85137963
If your OS is Official MIUI, the recovery will always be replaced with MIUI recovery on every boot.
Try Orange Fox as recovery, it has an option to prevent recovery from being overwritten by stock recovery, but i dont know wether orange fox works with lineage os. I run it with AICP and it runs like a charm..
I haved the same problem when I haved a whyred (redmi note 5 pro), the solution is very easy, when you have the blue screen of the CMD (now powershell), you need to put "fastboot devices", then put "fastboot boot <twrpfilename>.img, this action will do the device restart in TWRP, then you need to copy and paste the twrp.img in a folder of the device, any folder, it doesn't matter. Then go to install, choose the option "Install image", and go to the folder where you copy the file twrp.img, pick it and choose the option "recovery", then install.
That should be works.
Sorry for my english, I'm trying to learn.

Categories

Resources