[Recovery]TWRP 3.1.1-0 LG G5 H840 - LG G5 ROMs, Kernels, Recoveries, & Other Developme

DO NOT FORMAT YOUR MICRO SDCARD INSIDE TWRP RECOWERY
WARNING: If you want tho use /data and internal sdcard first have to format data in stock recovery This will wipe your internal storage, and factory reset your phone!
encryption is not supported yet
To flash this img to your phone use fastboot
Code:
fastboot flash recovery twrp-x.x.x-x-h840.img
+new test build with encryption support
source code https://github.com/synescu/twrp_lg_h840
1.Unlocking the bootloader.
1.1Get the latest drivers: ( http://tool.lime.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425 )
1.2Get ADB fastboot. If you hate installing huge files for just a few commands, you have 3 options:
-MINIMAL ADB and fastboot: (https://forum.xda-developers.com/showthread.php?t=2317790 )
-15 seconds ADB Installer v1.4.3: (https://forum.xda-developers.com/showthread.php?t=2588979 )
-SDK Platform-Tools coming directly from google: (https://developer.android.com/studio/releases/platform-tools.html )
I personally went with the “15 seconds ADB Installer v1.4.3”, because it installs also a Google driver, which might, or might have not helped out in the process to follow.
1.3Follow the instructions at the official LG unlocking page ( https://developer.lge.com/resource/mobile/RetrieveBootloader.dev ), just keep in mind that after step 1.2 you have adb ready to go @ your main drive C:\adb. You go to that folder shift + right click and open a command prompt at that location, the rest is trivial.
2.Updating to the latest official stock android.
2.1Get the latest kdz from: (https://lg-firmwares.com/lg-h840-firmwares/ ). As far as I know you can go for any of those firmwares, but it is advisable to use one from your region (Europe, South America, Middle East). As mentioned above my LG G5 H840 is the newest European model, totally unbranded. So I took the 20c for Spain. This is as high as you can get at present moment.
2.2 Flash with LGUP 1.14 and UPPERCUT 1.0.0, both available at: (http://downloads.codefi.re/autoprime/LG/LG_G5 )
2.3 Reboot and do a quick setup. I recommend to have your sim card, SD card out at this moment, do not connect to wireless networks, all of this you will have plenty of time to do later, besides whatever you set at this point will be lost in the next step.
3.Get TWRP and root
3.1TWRP. As a courtesy of synescu, we have 2 versions: a regular one and such with encryption support. It took me long to realize that only the one with encryption would work on a latest H840 installed with v20c. So I guess if you have an old phone and possibly firmware 10a/b/c/d, than you can try “twrp3.1.1-0-h840.img”, otherwise go straight to “twrp_encryption-h840.img”. If you use the one without encryption support you will find no way to root the phone, because it can not see the SD card, or any USB flash attached and also if you connect the phone to a PC with MTP mode, or any other mode you won’t be able to browse both (internal and external) memories on that phone.
3.1.1Put on a SD card following files: 1) latest stable SuperSU 2.79 2) no-verity-opt-encrypt.zip from here (https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.1.zip ) and just in case although not mandatory “twrp_encryption-h840.img”.
3.1.2Put in the C:\adb folder the “twrp_encryption-h840.img” and the stock recovery from here (https://forum.xda-developers.com/attachment.php?attachmentid=4149809&d=1494791791 ). The stock recovery is necessary in case you make a mistake and have to do a factory reset.
3.1.3Turn off the phone.
3.1.4Boot into stock recovery (holding volume down + power, at LG logo releasing power shortly and than pushing power again).
As a side note here, after I unlocked the bootloader I’ve got that annoying message on start-up that the phone is untrusted. With G4 H815 it was a small message in the upper corner, this time around it is a huge message in the middle of the screen. LG, for the love of god! After all the playing, I have now also a message screen, which I call “Options Menu”, it shows right after the nagging untrusted message. Although esthetically ugly, I have an easy way to go to recovery and fastboot in each and every regular power on, or restart. As said the Options Menu is showing up for 5 sec after the untrusted nagger. If you click the volume up, or down you get to the options (Power off, Restart, Recovery, Fastboot ), otherwise after 5 sec the phone would boot normally. I don’t know if this is the expected behavior of the phone, or did I trigger it somehow, but now I don’t have to use the combo buttons for anything.
Back from the side note. The new stock recovery is a white screen with 2 options for No and Yes. Go for YES and than YES again, after both YES the phone will be factory reset and will reboot. Do not allow it to boot though, because the userdata will be encrypted at this point and you will have to repeat the reset again. Use the combo buttons for recovery, which will bring you to the “Options Menu”, or Volume up and plug in the phone into the PC. Yet again there is hardly any time so maybe plugin in won’t be fast enough, so just keep pressed the combo buttons, also change with volume up and power, or remove the battery and start again. In any event do not let it boot until it brings you to the “Options Menu”
3.1.5In the Options Menu pick fastboot and plug the phone to the PC
3.1.6Open command prompt in adb and flash TWRP ( fastboot flash recovery twrp_encryption-h840.img ) you might be ok also to do factory reset from adb with this command (fastboot –w ), but unfortunately I forgot already if I did it, when it finally worked for me
3.1.7Disconnect from the PC and pull the battery out, or just keep the buttons combo pressed. It is possible that you see the old stock recovery (white screen YES/NO), which might have stayed somehow in memory. Do not perform further resets, just keep pressing the button combo and it will reboot eventually to the Options Menu.
3.1.8There you go 3 times volume down and power to pick recovery. Follows a reboot of the bootloader, nagging screens, but eventually it loads TWRP.
3.2Root.
3.2.1For some reason even after the factory reset, the data partition keeps an encrypted flag. So you can not write to it. Stock recovery should have reset it to non-encrypted, but it does not do it correctly, I guess. Therefore you go to Wipe, pick only the Data check box and go to change format in the bottom. Change the format to FAT and than back to EXT4
3.2.2Go to the SD card and flash no-verity-opt-encrypt.zip and SuperSu. Yes I know, that SuperSu is supposed to install also no-verity, but I like to flash both just in case.
3.2.3Do NOT wipe anything in TWRP at this point. Reboot only!!!!! Once the phone has booted in v20c you can go back to TWRP, Wipe and make all the backups you like
Thanks to @svetloslav for this complex post

Thanks a lot.
Can't wait to flash!!

YESS finally we have root on the SE thank you very much man

Hi all. When I try to flash recovery, fastboot give me that message:
target reported max download size of 536870912 bytes
sending 'recovery' (15089 KB)...
OKAY [ 0.490s]
writing 'recovery'...
FAILED (remote: image is not a boot image)
Any suggestion? Thanks
Solved: I had not extracted the .img from the .tar archive

synescu said:
For now external sd card is mounted as internal. De only way you can flash something for now When I would have more time I will try to fix this and upload the source to github. I rooted the phone and installed the supersu and no verity zip
source code https://github.com/synescu/twrp_lg_h840
Click to expand...
Click to collapse
Thanks a lot!
just a few information...
Is this build on android 6, 7 or 7.1 three?
Is encryption supported?

bob8x said:
Thanks a lot!
just a few information...
Is this build on android 6, 7 or 7.1 three?
Is encryption supported?
Click to expand...
Click to collapse
I'm booting this vith android 7.0
6.0 must boot just fine. didn't tried encryption but I'm pretty sure that doesn't work
Build compiled from Omni 6.0 sources
Sent from my LG-H840 using Tapatalk

Thank you very much for your precious time my friend. Good work

Can't flash magisk through twrp.
Can't mount data through twrp. It is greyed out. Can't select
Have you fix the ptoblem with external sd?

Wire1122 said:
Can't flash magisk through twrp.
Can't mount data through twrp. It is greyed out. Can't select
Have you fix the ptoblem with external sd?
Click to expand...
Click to collapse
Yes internal storage it's properly mounted now
Sent from my LG-H840 using Tapatalk

Anyone can confirm if encryption works?
Sent from my LG-H840 using Tapatalk

synescu said:
Anyone can confirm if encryption works?
Click to expand...
Click to collapse
I have flash it succesffully. But how can I yest if it works?

I can't backup my data partition with twrp. Whats wrong?
Sent from my LG-H840 using XDA Labs

Wire1122 said:
I can't backup my data partition with twrp. Whats wrong?
Sent from my LG-H840 using XDA Labs
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-H840 using Tapatalk

Can't backup data. :crying: unable to mount data ecc
Sent from my LG-H840 using XDA Labs

Wire1122 said:
Can't backup data. :crying: unable to mount data ecc
Sent from my LG-H840 using XDA Labs
Click to expand...
Click to collapse
In Order to use data first you have to factory reset your phone using the stock recovery
Sent from my LG-H840 using Tapatalk

How? Stock recovery? Where is it? I'm noob and rooted with supersu

My log

Wire1122 said:
My log
Click to expand...
Click to collapse
stock h840-recovery.img

I have flashed stock recovery but not have twrp anymore... What must do i do?
Sent from my LG-H840 using XDA Labs

Wire1122 said:
I have flashed stock recovery but not have twrp anymore... What must do i do?
Sent from my LG-H840 using XDA Labs
Click to expand...
Click to collapse
Why would you think that you would keep TWRP after flashing stock recovery? Also, why would you flash stock recovery after flashing TWRP and SuperSU? You either have TWRP or stock recovery, not both. Also, don't ever recommend flashing stock recovery after modifying system in any way unless you reflash whole stock system as stock. Anyways, all you need to do to get TWRP back is use the :
fastboot flash recovery TWRP.img

Related

Urgent Help, time constraint - to Stock for return

I've been at this for like 8 hours going in circles. I have about 12 hours to figure this out. I am scheduled to go back to TMO to return this phone. Please help me.
While trying to revert back to stock, upon boot, at first there is a green icon, then it turns red w/ an exclamation point and just hangs there. It seems to have booted into the recovery because where it hangs, if i touch the "home" button, it disappears and shows me the cwm recovery main menu with a few errors relating to unable to mount SD. Its a very gimpy CWM with more than half of the commands/functions missing. (see pics below)
This is what I am currently getting in order....
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Boots to image 01
- Then to 02, here its trying to load/mount stuff, notice the SD icon and load bar near the bottom
- In 03 it looks like it ran into an error and hangs there
- Not sure why but I realized it boots straight into recovery. From 03, if i touch the home button I get 04. Notice all the stuff missing from cwm options
- 05 is what my HBoot / Bootloader looks like
-------------------------------
I am able to get back into HBoot / bootloader screen and can confirm that while in that mode the PC does recognize the device. But everything I flash does not work. When I run RUUs they seem to begin a process, but once that is done ( which isnt long), I would reboot but see nothing has changed. I tried to undo that stock recovery to access to NAND backups and start the process again but that Recovery doesn't have options for backups (strange?). Anyways, but can not flash another CWM successfully.
This is what I currently see when flashing a CWM now
c:\android-sdk\tools>fastboot flash recovery recovery-clockwork-touch-5.8.3.1-vi
lle.img
sending 'recovery' (6616 KB)...
OKAY [ 0.969s]
writing 'recovery'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.210s
c:\android-sdk\tools>fastboot reboot
rebooting...
I am completely out of options now. I looked at all the stickies around here and other places but can not find anything that will work. I did my best to be as thorough as I can. Please let me know if there are more info that would help. Thanks ahead of time.
This is One S development forum. Questions should be posted in questions.
Simple fix. Boot into bootloader and factory reset. Reboot once again into bootloader and format /erase sd card. Remember all this is being done from bootloader and not recovery. Reboot once again into bootloader and connect usb to phone and use fastboot to push cwm or whatever recovery you want to phone. Your sd card should now be mounted.
Not entirely sure about the return to stock, but being able to mount is a huge step in the right direction. Hope this helped
Sent from my HTC One S using xda premium
Chris Boyer said:
This is One S development forum. Questions should be posted in questions.
Simple fix. Boot into bootloader and factory reset. Reboot once again into bootloader and format /erase sd card. Remember all this is being done from bootloader and not recovery. Reboot once again into bootloader and connect usb to phone and use fastboot to push cwm or whatever recovery you want to phone. Your sd card should now be mounted.
Not entirely sure about the return to stock, but being able to mount is a huge step in the right direction. Hope this helped
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
Sorry if I posted in the wrong place. Usually when I ask a flashing related question there someone tells me it should be asked in Development.
Anyways, I tried that but nothing changed. Sucky thing is that current recovery I am using, I can't even make a backup, restore a backup, or even install a rom from there.
enzyme said:
Sorry if I posted in the wrong place. Usually when I ask a flashing related question there someone tells me it should be asked in Development.
Anyways, I tried that but nothing changed. Sucky thing is that current recovery I am using, I can't even make a backup, restore a backup, or even install a rom from there.
Click to expand...
Click to collapse
First and foremost you need a working recovery with a mounted sd card. Are you able to push anything via fastboot? I found it easiest to use a fastboot script. It dumbs it down to a couple mouse clicks. There is a utility for the one S called all in one. (sorry don't have link) maybe try that to install fresh recovery. One thing for certain, factory reset and then format card has to be done from bootloader mode and then push new recovery.
Sent from my HTC One S using xda premium
These are the steps I took that led me here.....
1. flashed ville_recovery_signed.img via Fastboot from here
2. re-locked the bootloader with in fastboot
3. ran RUU_Ville_U_TMOUS_1.53.531.16_Radio_0.16.31501S.02_10.18.31501S.08L_release_262073_signed from here that was from this thread.
http://forum.xda-developers.com/showthread.php?p=25850720
That should help, iv had that problem before and solved it from the post I just linked
Sent from my HTC One S using XDA Premium HD app
Moved To Q&A​
Do not open question threads in the development section, thats what Q&A is for.​
Chris Boyer said:
First and foremost you need a working recovery with a mounted sd card. Are you able to push anything via fastboot? I found it easiest to use a fastboot script. It dumbs it down to a couple mouse clicks. There is a utility for the one S called all in one. (sorry don't have link) maybe try that to install fresh recovery. One thing for certain, factory reset and then format card has to be done from bootloader mode and then push new recovery.
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
Yeah i have full control of Fastboot, just not always getting the desired final results. Yes I have the AIO pack and have tried to flash those recoveries w/o results. I mean from the log it looks like that did the trick but nothing changes after reboot, I can't get rid of the current Recovery.
stealthnoodle said:
http://forum.xda-developers.com/showthread.php?p=25850720
That should help, iv had that problem before and solved it from the post I just linked
Sent from my HTC One S using XDA Premium HD app
Click to expand...
Click to collapse
Steath! Now we are getting somewhere!
As I was going through the steps, I got the CWM from the AIO. That was before I had a chance to flash the 2nd time (step3), before I could get to the rest of the steps I allowed the phone to boot normal instead of HBoot, then it reverted back to the other recovery. But as of right now I did flash via AIO, cleared storage, factory defaulted, flashed via AIO again and now I am on step 5.
I am still sitting in the AIO CWM right now. The guide says to flash the UTB rom, which I am unfamiliar with and it appears like a custom rom. So what should I flash and what method should I use? Even though CWM is back I have no means to flash a ROM from there b/c my sd is empty. Should I .....
- flash one of the RUUs via fastboot?
-rename the RUU and push it to the SD via ADB and flash via CWM (like in the guide)?
(not sure if that method works with customRom only or RUUs as well.
enzyme said:
Even though CWM is back I have no means to flash a ROM from there b/c my sd is empty.
Click to expand...
Click to collapse
If you can mount your sdcard partition in recovery, you can then adb push a rom to it and flash it.
On your PC:
adb push yournewrom.zip /sdcard/
Then on your phone, in recovery:
Format system, data, cache
Flash zip from sdcard -> choose zip -> /sdcard/yournewrom.zip
Before you boot into the new rom, flash the boot.img (extract it from the zip) in fastboot.
adb reboot-bootloader
fastboot flash boot boot.img
fastboot reboot
Steath's advice led me to the guide and got me on the right track. Even with detailed instructions, I went in circles for awhile, but in the end I got it. I'm so relieved, its been a stressful 12hrs.
So now I just have one last question. Is it safe to extract boot.img & recovery.img and flash it with fastboot? This might even be a common practice who knows, I'm still very new to much of it.
enzyme said:
Is it safe to extract boot.img & recovery.img and flash it with fastboot? This might even be a common practice...
Click to expand...
Click to collapse
It is safe and common practice (and in many cases required to prevent bootloops) to extract the boot image from the rom you flash, and flash this boot image through fastboot.
Custom roms do not come with their own recovery (only their own boot.img). The only reason to extract a recovery from a RUU or OTA and flash it, is when you need to go back complete stock.
Edit: But if you want to switch to a different custom recovery, then yes, flashing it through recovery is safe and the proper way. (You just don't 'extract' it from anything.)

Messed up big time?

Hi,
I am really not into flashing and stuff like this, but some weeks ago I successfully rooted my device and installed a custom bootloader (teamwin). Today I wanted to do a clean wipe to install cm11s on my N5. So I launched into recovery, selected "wipe" and unfortunatly I selected "advanced wipe" also. I checked everything and started the wipe process. Dont ask me why I did this, I wasnt thinking obviously. When I boot my device now, only the white Google font is visible and underneath there is a locker. I can start recovery but since I wiped everything I can not install the stock rom again. Also my PC doesnt recognize the N5 as a "harddrive" so I can not move the stock .zip to the device. The device manager is displaying it as ACER DEVICE, and under portable devices it is displayed as Nexus 5 with a yellow exclamation mark. Any tipps how I can get a rom on this device again?
Simple mate...
Download cm rom zip
Reboot into recovery
Mount ur storage
Put cm rom zip somewhere
Install that rom zip via recovery(twrp is recovery not the boot loader )
Flash gapps (optional if u want google services n apps) (u can do this later also)
Reboot
forstyy said:
Hi,
I am really not into flashing and stuff like this, but some weeks ago I successfully rooted my device and installed a custom bootloader (teamwin). Today I wanted to do a clean wipe to install cm11s on my N5. So I launched into recovery, selected "wipe" and unfortunatly I selected "advanced wipe" also. I checked everything and started the wipe process. Dont ask me why I did this, I wasnt thinking obviously. When I boot my device now, only the white Google font is visible and underneath there is a locker. I can start recovery but since I wiped everything I can not install the stock rom again. Also my PC doesnt recognize the N5 as a "harddrive" so I can not move the stock .zip to the device. The device manager is displaying it as ACER DEVICE, and under portable devices it is displayed as Nexus 5 with a yellow exclamation mark. Any tipps how I can get a rom on this device again?
Click to expand...
Click to collapse
First of app, TWRP is a custom recovery, not a custom bootloader.
Either ADB push a rom zip to your device while it's in recovery and flash it, or flash the factory images while in the bootloader. Links to guides for both of those are available in the first link of my signature.
Lethargy said:
First of app, TWRP is a custom recovery, not a custom bootloader.
Either ADB push a rom zip to your device while it's in recovery and flash it, or flash the factory images while in the bootloader. Links to guides for both of those are available in the first link of my signature.
Click to expand...
Click to collapse
Dont knw exactly but is mount storage an option in adb??? I jst suggested it lol
doctor_droid said:
Dont knw exactly but is mount storage an option in adb??? I jst suggested it lol
Click to expand...
Click to collapse
What do you mean lol?
Lethargy said:
What do you mean lol?
Click to expand...
Click to collapse
Like cwm has an option to mount storage...
Similarly does twrp has same option too?
doctor_droid said:
Like cwm has an option to mount storage...
Similarly does twrp has same option too?
Click to expand...
Click to collapse
As in browse files on a PC or what?
Lethargy said:
First of app, TWRP is a custom recovery, not a custom bootloader.
Either ADB push a rom zip to your device while it's in recovery and flash it, or flash the factory images while in the bootloader. Links to guides for both of those are available in the first link of my signature.
Click to expand...
Click to collapse
Yea sorry, I dont know what I am talking about exactly, just know the terms
So I adb pushed the image-hammerhead-ktu84p.zip to my device to /sdcard. When I want to install it from recovery and select the zip, it just says FAILED
forstyy said:
Yea sorry, I dont know what I am talking about exactly, just know the terms
So I adb pushed the image-hammerhead-ktu84p.zip to my device to /sdcard. When I want to install it from recovery and select the zip, it just says FAILED
Click to expand...
Click to collapse
You don't flash that in recovery lol!
Run this so it flashes and wipes everything:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Lethargy said:
You don't flash that in recovery lol!
Run this so it flashes and wipes everything:
Click to expand...
Click to collapse
huh, ok. this guide: http://forum.xda-developers.com/showthread.php?t=1667929 suggested to install it from there
When these are all done, from Recovery's main screen, select "Install ZIP from SD Card" and then "Choose file from SD Card" and select the ROM.zip file you just pushed from your computer to the SD Card. If you do not see the file, go back to Mounts and Storage and toggle them to say "Mount /sdcard/" and "Mount /system/" and then go back and try to fine the ROM.zip file. If you still do not see it, it was not pushed correctly...go back and ensure you were letter for letter with the name and the file path.
Click to expand...
Click to collapse
forstyy said:
huh, ok. this guide: http://forum.xda-developers.com/showthread.php?t=1667929 suggested to install it from there
Click to expand...
Click to collapse
Just push a cm rom made for ur hammerhead...
forstyy said:
huh, ok. this guide: http://forum.xda-developers.com/showthread.php?t=1667929 suggested to install it from there
Click to expand...
Click to collapse
image-hammerhead-ktu84p.zip isn't a flashable ROM zip, it's just a compressed archive of boot.img, cache.img, recovery.img, system.img and userdata.img
What the flash-all script does is:
1. fastboot flash bootloader bootloader-hammerhead-hhz11k.img
2. reboots bootloader
3. fastboot flash radio radio-hammerhead-m8974a-2.0.50.1.16.img
4. reboots bootloader again
5. fastboot -w update image-hammerhead-ktu84p.zip (-w = wipe, then "update image-hammerhead-ktu84p.zip" just flashes all the .img files in the zip, same as individually flashing each with fastboot)
Lethargy said:
image-hammerhead-ktu84p.zip isn't a flashable ROM zip, it's just a compressed archive of boot.img, cache.img, recovery.img, system.img and userdata.img
What the flash-all script does is:
1. fastboot flash bootloader bootloader-hammerhead-hhz11k.img
2. reboots bootloader
3. fastboot flash radio radio-hammerhead-m8974a-2.0.50.1.16.img
4. reboots bootloader again
5. fastboot -w update image-hammerhead-ktu84p.zip (-w = wipe, then "update image-hammerhead-ktu84p.zip" just flashes all the .img files in the zip, same as individually flashing each with fastboot)
Click to expand...
Click to collapse
Ok, thanks it worked. I am back online on stock again. When I start with fastboot (hope it is the right term ) with volume down+power, it says my phone is unlocked still. When I want to enter recovery mode I only see the android picture with a red triangle (looks like something bad). Does this mean I have to root+install a custom recovery again?
forstyy said:
Ok, thanks it worked. I am back online on stock again. When I start with fastboot (hope it is the right term ) with volume down+power, it says my phone is unlocked still. When I want to enter recovery mode I only see the android picture with a red triangle (looks like something bad). Does this mean I have to root+install a custom recovery again?
Click to expand...
Click to collapse
Its the bootloader fastboot is what's used in the bootloader. And yeah, flash a custom recovery then you're good to go!
forstyy said:
Ok, thanks it worked. I am back online on stock again. When I start with fastboot (hope it is the right term ) with volume down+power, it says my phone is unlocked still. When I want to enter recovery mode I only see the android picture with a red triangle (looks like something bad). Does this mean I have to root+install a custom recovery again?
Click to expand...
Click to collapse
Welcome to flashing world...now since u know how to revive ur phone... U will definately mess up it again...
doctor_droid said:
Like cwm has an option to mount storage...
Similarly does twrp has same option too?
Click to expand...
Click to collapse
Mount storage only works on a non-fuse /sdcard. Meaning either:
- device has removable sdcard
- device is not using fuse for internal storage.
Nexus 5 meets neither.
Sent from my Nexus 5 using Tapatalk
Lethargy said:
First of app, TWRP is a custom recovery, not a custom bootloader.
Either ADB push a rom zip to your device while it's in recovery and flash it, or flash the factory images while in the bootloader. Links to guides for both of those are available in the first link of my signature.
Click to expand...
Click to collapse
My thoughts exactly
sent from my thumbs
Same here I've messed my n5 up about 5 times these Google images come In handy
Thank you guys for your help, all is working again. Was a bit scary since this was the first time I did this.:fingers-crossed:
forstyy said:
Thank you guys for your help, all is working again. Was a bit scary since this was the first time I did this.:fingers-crossed:
Click to expand...
Click to collapse
The N5 is basically the best contemporary phone to soft brick or break. The support and tools available are great.

Stuck in Slot A

Hey! long story short. My phone wont boot slot B (witch is the location my primary Os is installed.) it reboots itself immediately after booting and switches back to slot A where it starts to load H2 OS, but in the end it stucks at loading screen forever.
Full details here:
It started when i decided to update the OS to android 10. So first i wanted to update the TWRP (3.2.3-1 is the older one, and i needed to install: 3.3.1-2).
I downloaded the latest update, backed up the recovery (all of it, just in case).
Then, keep in mind, i by mistake installed the same installer as i already had! I by mistake installed the same 3.2.3-1 version, from an installer i had earlier when i rooted the phone in the past.
In theory, nothing could go wrong. But there you have it, it stuck on TWRP. i just could not boot to system.
so i decided to restore from TWRP backup. Now the problem only worsened!
First, not just that the system doesn't loads (apparently, it is installed in slot B), it is forcing to load to slot A, every time i boot the phone. And it loads H2 OS, well not really loads, because it is loading for 20 minutes now and nothing happens.
Second, slot A is "only for reading" and everything is encrypted, so i can pretty much can't do a thing there, including restoring from backup again.
Third, every time i try to switch to slot B, in the recovery it switches, but as soon as i reboot (doesn't matter if i reboot to recovery, fastboot or system) the phone just restarts immediately after boot, apparently switches back to slot A in background, and tries to load H2 OS again. an i know that because i try to go into recovery after that and i see it is in slot A once again.
Click to expand...
Click to collapse
please help me with it!:crying:
Thanks!
The issue might be that official TWRP does not support Android 10 yet. You probably needed unofficial mauronofrio twrp. However, I am not sure if there is a clean way out of this situation. Maybe if you flash the right twrp it will just boot?
What do you mean "everything is encrypted and I cannot do much there"? Data is encrypted with your password, isn't it?
[email protected] said:
The issue might be that official TWRP does not support Android 10 yet. You probably needed unofficial mauronofrio twrp. However, I am not sure if there is a clean way out of this situation. Maybe if you flash the right twrp it will just boot?
What do you mean "everything is encrypted and I cannot do much there"? Data is encrypted with your password, isn't it?
Click to expand...
Click to collapse
how to properly flash the twrp?
and for your question.
the thing is, it doesn't gives me a password. it automatically gets into here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
fenixsword said:
how to properly flash the twrp?
and for your question.
the thing is, it doesn't gives me a password. it automatically gets into here:
Click to expand...
Click to collapse
If you click "Read Only" doesn't it ask you the password then? I swear I have done this today when recovering from a poor magisk module...
I am actually not sure if you want to keep it read only or not, but I think no matter which option you select it promts you for a password
EDIT: Sorry, got distracted by the picture and missed the question. I looked at some threads and the process of upgrading seems to be potentially complicated if you have Magisk. Read more here. And maybe here.
Maybe if you boot into bootloader, run "fastboot set_active a" and then "fastboot flash boot_a <recovery_filename>.img" and everything will just work. Maybe it won't. Replace "a" with "b" in both commands if you are trying to boot into b.
TWRP 3.3.1-17 Q Unofficial by mauronofrio
[email protected] said:
If you click "Read Only" doesn't it ask you the password then? I swear I have done this today when recovering from a poor magisk module...
I am actually not sure if you want to keep it read only or not, but I think no matter which option you select it promts you for a password
Click to expand...
Click to collapse
and yet again, it doesn't asks for pasword, and wvwry folder i look to restore, looks like this:
meaning it is encrypted.
is there a way to reinstall TWRP from PC using command prompt, using adb or something like that?
fenixsword said:
and yet again, it doesn't asks for pasword, and wvwry folder i look to restore, looks like this:
meaning it is encrypted.
is there a way to reinstall TWRP from PC using command prompt, using adb or something like that?
Click to expand...
Click to collapse
Hm, interesting.
IF YOUR DATA IS ON THE LINE, DO NOT LISTEN TO ME. I do not know how twrp backup/restore works. Maybe wait for someone more knowledgeable to come in if you are worried about the data. But if you are sure that everything is safe on your pc somewhere, feel free.
Yes, please see my edit. You can do it through fastboot. You can use the respective section here for inspiration.
Did you had the password block on phone?
Just answer me, do u know the decrypt data? Its the password which u use to unlock phone
whatsinside said:
Did you had the password block on phone?
Just answer me, do u know the decrypt data? Its the password which u use to unlock phone
Click to expand...
Click to collapse
i'll answer detailed.. At start, while TWRP was working and it could launch slot B (it's where my OS initially was installed), it asked me for the phones password.
After backing up TWRP and trying to update it, it failed to launch OS, so i tried to restore from backup.
After restoring, it just couldn't start slot B at all (OS nor recovery) and it switched to slot A.
in slot A though, it didn't asks me for password, and encrypted data right away.
Now at the moment,after trying to flash TWRP to both slots, slot A don't launch recovery, the phone seems like it's connected to PC and works but screen is black, and the problem with slot B stays the same (switches right away to slot A)
you really can help with that? :silly:
fenixsword said:
i'll answer detailed.. At start, while TWRP was working and it could launch slot B (it's where my OS initially was installed), it asked me for the phones password.
After backing up TWRP and trying to update it, it failed to launch OS, so i tried to restore from backup.
After restoring, it just couldn't start slot B at all (OS nor recovery) and it switched to slot A.
in slot A though, it didn't asks me for password, and encrypted data right away.
Now at the moment,after trying to flash TWRP to both slots, slot A don't launch recovery, the phone seems like it's connected to PC and works but screen is black, and the problem with slot B stays the same (switches right away to slot A)
you really can help with that? :silly:
Click to expand...
Click to collapse
Restore from twrp is broken. Everything on slot b is gone but your data is there. You must install the same oos version you had on slot b to fix slot b. Then you boot into and do first time setup. Reboot to twrp and restore data only.
Try to enter settings and terminal, and type "decrypt [password]" or "twrp decrypt [password]
MrSteelX said:
Restore from twrp is broken. Everything on slot b is gone but your data is there. You must install the same oos version you had on slot b to fix slot b. Then you boot into and do first time setup. Reboot to twrp and restore data only.
Click to expand...
Click to collapse
ok.. i get what i need to do.. is there a guide on how to do so properly, so i wont mess up things even more? lol
The easy way would be if you have otg cable to jump drive with stock oos, twrp, and root. If not, then adb in twrp is your friend.
MrSteelX said:
The easy way would be if you have otg cable to jump drive with stock oos, twrp, and root. If not, then adb in twrp is your friend.
Click to expand...
Click to collapse
so i do have OTG cable. But i need a more vivid explanation on how to install stock os on it. or how to use adb in TWRP, if TWRP doesn't load on any slot.
The pictures look like you still have twrp. From twrp, you install stock rom twrp. Reboot recovery. Root and boot into system. The jump drive is because it will not be encrypted in twrp.
MrSteelX said:
The pictures look like you still have twrp. From twrp, you install stock rom twrp. Reboot recovery. Root and boot into system. The jump drive is because it will not be encrypted in twrp.
Click to expand...
Click to collapse
that's the problem though.. TWRP is gone, that's what i tried to tell you
first i need a way to flash recovery, then to do what you are suggesting.
You put phone in fastboot mode. The fastboot boot twrp.Img
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665 should help
MrSteelX said:
You put phone in fastboot mode. The fastboot boot twrp.Img
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665 should help
Click to expand...
Click to collapse
ok, i'll try it and update with the results, Thanks!
do you think i will be able to recover all the data from the phone?
fenixsword said:
ok, i'll try it and update with the results, Thanks!
do you think i will be able to recover all the data from the phone?
Click to expand...
Click to collapse
maybe?

TWRP wont allow file transfer in USB via pc

NEED HELP
1. I wiped my system .. no system to load into
2. MIFLASH giving antirollback check error for all Fastboot roms
3. TWRP wont allow me to flash roms and there are no roms copied in the phone. getting error while copying files to the phone via TWRP
any solution ..
other than removing antirollback check in the roms .. ?
1. Is your bootlader CURRENTLY unlocked?
2. Which TWRP did you use?
3. Did you format all data using TWRP (enter yes to confirm) AND reboot TWRP before trying to copy rom to phone?
Sent from my Mi 10 Pro using Tapatalk
ted presley said:
1. Is your bootlader CURRENTLY unlocked?
2. Which TWRP did you use?
3. Did you format all data using TWRP (enter yes to confirm) AND reboot TWRP before trying to copy rom to phone?
Sent from my Mi 10 Pro using Tapatalk
Click to expand...
Click to collapse
bootload is unlocked
I figured it out loaded mi recovery wiped data and entered the system ..
I want to go to flash eu rom
do i dirty flash or do i clean flash the rom
stuck up on that part
TED can u help plz ..
I have used twrp-cmi-3.3.1-1
twrp-umi-3.3.1-2
what twrp are u using and i havent installed twrp
i am just booting TWRP
could you please tell me steps to 20.4.27
It seems you still on stock mi flash recovery, if your bootloader currently still unlocked.
You have to:
1. Go to fastboot
2. Flash TWRP again
3. Without restaring the device, reboot TWRP by using button combination: power off the device, press and hold volume down button until you see twrp screen
4. Format all data using twrp (option enter yes to confirm)
5. Reboot recovery using option reboot in TWRP recovery
6. Plug in pc to copy rom and flash.
Sent from my Mi 10 Pro using Tapatalk
ted presley said:
It seems you still on stock mi flash recovery, if your bootloader currently still unlocked.
You have to:
1. Go to fastboot
2. Flash TWRP again
3. Without restaring the device, reboot TWRP by using button combination: power off the device, press and hold volume down button until you see twrp screen
4. Format all data using twrp (option enter yes to confirm)
5. Reboot recovery using option reboot in TWRP recovery
6. Plug in pc to copy rom and flash.
Sent from my Mi 10 Pro using Tapatalk
Click to expand...
Click to collapse
twrp gives error saying
failed to mount /system_root permission denied
failed to mount /vendor permission denied
is it necessary the twrp should be installed
is it possible to just boot twrp while loading zips ..
thanks
sanish4u said:
twrp gives error saying
failed to mount /system_root permission denied
failed to mount /vendor permission denied
is it necessary the twrp should be installed
is it possible to just boot twrp while loading zips ..
thanks
Click to expand...
Click to collapse
problems just increasing now ..
the phone wont boot to twrp it will just go to fastboot
twrp wont load through volume down and power button
Seems like you lost TWRP
Reinstall twrp
Code:
Fastboot flash recovery twrp.img (use your filename)
Fastboot reboot recovery
Then when your in click the top right icon which says wipe. Here click on the right button I forget what it says I think it says wipe data. Next screen will ask you to type out the word "yes" you have to do this. You will lose all your data on the phone.
Now provided you have the drivers correctly installed you should see your phone as accessible from your computer. Paste your rom into the drive from your computer to the phone drive.
Once completed, go back to your phone you should be on the main menu click on top right it should say install. I believe you'll be in root directory you have to navigate to sdcard. Look for sdcard folder.
You should see the Rom you copied over, install it. It should take 5 to 10 minutes. Once complete reboot to system. First but will take some time maybe 5 to 10 minutes let it do it's thing.
Your done. If you want magisk, there are lots of guides here to do that as well
IronSingh said:
Seems like you lost TWRP
Reinstall twrp
Code:
Fastboot flash recovery twrp.img (use your filename)
Fastboot reboot recovery
Then when your in click the top right icon which says wipe. Here click on the right button I forget what it says I think it says wipe data. Next screen will ask you to type out the word "yes" you have to do this. You will lose all your data on the phone.
Now provided you have the drivers correctly installed you should see your phone as accessible from your computer. Paste your rom into the drive from your computer to the phone drive.
Once completed, go back to your phone you should be on the main menu click on top right it should say install. I believe you'll be in root directory you have to navigate to sdcard. Look for sdcard folder.
You should see the Rom you copied over, install it. It should take 5 to 10 minutes. Once complete reboot to system. First but will take some time maybe 5 to 10 minutes let it do it's thing.
Your done. If you want magisk, there are lots of guides here to do that as well
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It just wont let me wipe data says permission denied image attached
and wont let me copy rom as it is connected it MTP mode
sanish4u said:
It just wont let me wipe data says permission denied image attached
and wont let me copy rom as it is connected it MTP mode
Click to expand...
Click to collapse
Mtp is ok no issues. Photo is broken can't see what you posted. Try wipe on the left button. Don't wipe system. Did you have a pin code setup for your phone to get in the phone are you entering this pin code when twrp starts? You should enter this pin/password
IronSingh said:
Mtp is ok no issues. Photo is broken can't see what you posted. Try wipe on the left button. Don't wipe system. Did you have a pin code setup for your phone to get in the phone are you entering this pin code when twrp starts? You should enter this pin/password
Click to expand...
Click to collapse
It wont boot twrp or install twrp ..
twrp wont load whatsoever now ..
my only option is only mflash tool ..
is there any Fastboot rom which wont cause anti rollback error check
If anyone finds any solution will be greatly appreciated ..
Thanks
I'm doubt that you have unlocked Bootloader, that's really a big problem here...
If your bootloader is unlocked, our mentioned steps should work fine.
Did you really unlock bootloader? And didn't locked it again accidentally while using miflash?
Sent from my Mi 10 Pro using Tapatalk
The way you describe your problem it seems you had twrp and you booted into it.
Can you tell me what happens when you run
Fastboot flash recovery twrp.img (use your filename)
IronSingh said:
The way you describe your problem it seems you had twrp and you booted into it.
Can you tell me what happens when you run
Fastboot flash recovery twrp.img (use your filename)
Click to expand...
Click to collapse
1. I have bootloader unlocked via miunlock
2. I had booted into TWRP .. it failed to wipe data many times..
3. I installed TWRP and now it does not allow me to do anything ..
4. Wont go to TWRP wont go to Mi recovery and will just go to fastboot
5. MiFlash wont flash as it has anti rollback check error tried all fastboot roms EU and CN
6. Trying to recover it via MIUI recovery loader but it wont download from servers either ..
<img src="https://i.ibb.co/KNjRdNL/twrp.jpg" alt="twrp" border="0">
https://ibb.co/KNjRdNL this was the error message while wiping data
sanish4u said:
1. I have bootloader unlocked via miunlock
2. I had booted into TWRP .. it failed to wipe data many times..
3. I installed TWRP and now it does not allow me to do anything ..
4. Wont go to TWRP wont go to Mi recovery and will just go to fastboot
5. MiFlash wont flash as it has anti rollback check error tried all fastboot roms EU and CN
6. Trying to recover it via MIUI recovery loader but it wont download from servers either ..
https://ibb.co/KNjRdNL this was the error message while wiping data
Click to expand...
Click to collapse
Try another TWRP
Sent from my Mi 10 Pro using Tapatalk
ted presley said:
Try another TWRP
https://1drv.ms/u/s!Amo9DwwPZk-vg9gNxQ-IcpcHDWTI7A
Sent from my Mi 10 Pro using Tapatalk
Click to expand...
Click to collapse
Thanks ted it did solve the problem
thanks for all the support
ted presley said:
Try another TWRP
Sent from my Mi 10 Pro using Tapatalk
Click to expand...
Click to collapse
I installed miui 12 with the twrp provided. it booted into the system.
I want to install gapps so it try to go back to twrp by using vloume down and power the phone goes to fastboot.
Volume up and power will load xiaomi recovery v3.0
Volume up and down with power will load MIUI rom recovery
What is going wrong why am i not able to load TWRP now ..
sanish4u said:
I installed miui 12 with the twrp provided. it booted into the system.
I want to install gapps so it try to go back to twrp by using vloume down and power the phone goes to fastboot.
Volume up and power will load xiaomi recovery v3.0
Volume up and down with power will load MIUI rom recovery
What is going wrong why am i not able to load TWRP now ..
Click to expand...
Click to collapse
Unless you use custom MIUI rom, stock MIUI always overwrite TWRP.
BTW, if you flash official China Dev rom, no need to flash GAPPs, just install additional play store apk (plus additional latest play service framework if needed) from apkmirror, all other necessary things installed by Xiaomi already.
Sent from my Mi 10 Pro using Tapatalk
ted presley said:
Try another TWRP
Sent from my Mi 10 Pro using Tapatalk
Click to expand...
Click to collapse
thank you brother <3

OnePlus 8t KB2001 stuck in a loop

I shifted from apple to android recently and I decided to root my device OnePlus 8t KB2001 (I believe I have Android 12) as I wanted to install kali on it. Therefore I decided to follow instructions on this website. I did not type the steps because I did not want to lose out on any key details.
I performed all the steps till here:
I did not perform step 6, instead, I performed step 7 as I wanted to install TWRP Recovery on my phone permanently.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
According to the instructions I was supposed to boot my device to TWRP. Since I am currently booted to Fastboot, I used the Volume Keys to bring up the Recovery option and hit the Power key to confirm the decision.
As per the instruction as soon as my OnePlus boots to TWRP, it will ask to decrypt data. I was supposed to simply enter my phone’s password/PIN to proceed ahead but this never happened. Instead, I am stuck in a situation where I am seeing the following screen:
I searched every single option and there's no Online Update (keep data) option. I am stuck in this loop for hours. Even the option of formatting data doesn't remove this RECOVERY.
I don't know if this information would help but I can enter the Fastboot Mode by tapping on "Advanced" and selecting "Reboot to fastboot mode".
It would be really helpful if someone can tell me a fix to this problem as I really don't want to throw this phone away as I just got it today.
You probably flashed a version of TWRP made for Android 11 while having Android 12. You can try flashing a compatible version (unofficial) which you can find here.
I have not had the exact problem you describe but I don't think you'll end up discarding your phone. Just plan to read a lot on the forums, try a lot of things and potentially spend several days working through the problem. Bookmark the useful instructions you find so you can return to re-read and make notes as you go along. Start with booting a different version of TWRP and see what happens. The images you posted are of the stock recovery, not TWRP recovery. Make sure the TWRP.img you are trying to boot resides in the folder that your command prompt is pointing to.
TheNewHEROBRINE said:
You probably flashed a version of TWRP made for Android 11 while having Android 12. You can try flashing a compatible version (unofficial) which you can find here.
Click to expand...
Click to collapse
Thank you for this link. I followed these steps and I am out of the continuous recovery loop. My phone now directly boots to Team Win Recovery Project. Although I have a feeling my phone no longer has any oxygen OS. I tried rebooting into System but I am taken back to the TWRP screen. Any idea what is happening?
FakeGemstone said:
I have not had the exact problem you describe but I don't think you'll end up discarding your phone. Just plan to read a lot on the forums, try a lot of things and potentially spend several days working through the problem. Bookmark the useful instructions you find so you can return to re-read and make notes as you go along. Start with booting a different version of TWRP and see what happens. The images you posted are of the stock recovery, not TWRP recovery. Make sure the TWRP.img you are trying to boot resides in the folder that your command prompt is pointing to.
Click to expand...
Click to collapse
Thank you, this really gives me hope that my money will not go to waste. Now I am just in the process of trying to find a solution where I can my make phone the way it was which is without having any TWRP
kooluser said:
Thank you for this link. I followed these steps and I am out of the continuous recovery loop. My phone now directly boots to Team Win Recovery Project. Although I have a feeling my phone no longer has any oxygen OS. I tried rebooting into System but I am taken back to the TWRP screen. Any idea what is happening?
Click to expand...
Click to collapse
I think I know what happened:
The OnePlus 8T is a device which uses a technology called Virtual A/B. In practice, it has two slots for the operating system called 'a' and 'b' of which only one is active at a time. When you do an OTA upgrade the upgrade gets installed to the inactive slot and then the phone is asked to switch slot on the next boot. If the phone can't boot after this slot switch, it will switch back to the previous slot to prevent bricking itself. So what I think it happened when you flashed the wrong TWRP is that the phone tried to boot into recovery from your current slot but failed because of incompatibility. Then, it switched the active slot to the inactive slot where you probability have another version of OxygenOS that can't boot (probably because it's older than your current one). After some attempts, the phone goes into recovery but this time it loads the stock one because it has switched slot and the recovery is subject to this Virtual A/B mechanism too.
If this is what happened you can do as follows:
- reboot into fastboot
- switch the active slot by doing
Code:
fastboot --set-active=other
- flash the correct TWRP you downloaded before on this slot by doing
Code:
fastboot flash recovery <recovery file name>.img
After doing this you should be able to boot both into the system and into TWRP.
TheNewHEROBRINE said:
I think I know what happened:
The OnePlus 8T is a device which uses a technology called Virtual A/B. In practice, it has two slots for the operating system called 'a' and 'b' of which only one is active at a time. When you do an OTA upgrade the upgrade gets installed to the inactive slot and then the phone is asked to switch slot on the next boot. If the phone can't boot after this slot switch, it will switch back to the previous slot to prevent bricking itself. So what I think it happened when you flashed the wrong TWRP is that the phone tried to boot into recovery from your current slot but failed because of incompatibility. Then, it switched the active slot to the inactive slot where you probability have another version of OxygenOS that can't boot (probably because it's older than your current one). After some attempts, the phone goes into recovery but this time it loads the stock one because it has switched slot and the recovery is subject to this Virtual A/B mechanisms too.
If this is what happened you can do as follows:
- reboot into fastboot
- switch the active slot by doing
Code:
fastboot --set-active=other
- flash the correct TWRP you downloaded before on this slot by doing
Code:
fastboot flash recovery <recovery file name>.img
After doing this you should be able to boot both into the system and into TWRP.
Click to expand...
Click to collapse
THANK YOU SO MUCH!!! THIS SOLUTION SOLVED MY PROBLEM!
I can't express how happy I am right now!! I really thought I lost my phone forever. My phone has now successfully booted up and I can now actually use this device
kooluser said:
THANK YOU SO MUCH!!! THIS SOLUTION SOLVED MY PROBLEM!
I can't express how happy I am right now!! I really thought I lost my phone forever. My phone has now successfully booted up and I can now actually use this device
Click to expand...
Click to collapse
I'm happy for you too
TheNewHEROBRINE said:
I'm happy for you too
Click to expand...
Click to collapse
I just have one more question, so now if I have to boot into TWRP what steps should I follow? As I still have to download Magisk on my phone to properly root it
Did you flash TWRP after switching slot? If so you should be able to boot into it by holding power and volume down while turning the phone on.
Yes I flashed the TWRP as you specified below
Code:
fastboot flash recovery <recovery file name>.img
and once I press the power and the lower volume button I am taken into fastboot option. Once I am there which option should I select? Start, recovery or something else?
kooluser said:
Yes I flashed the TWRP as you specified below
Code:
fastboot flash recovery <recovery file name>.img
and once I press the power and the lower volume button I am taken into fastboot option. Once I am there which option should I select? Start, recovery or something else?
Click to expand...
Click to collapse
To root your phone you can follow this guide: https://forum.xda-developers.com/t/...national-kb2000-kb2001-kb2003-kb2005.4178675/
You actually don't strictly need TWRP to root. I suggest that you always try to follow guides that are on XDA rather than searching for random websites with Google.
TheNewHEROBRINE said:
To root your phone you can follow this guide: https://forum.xda-developers.com/t/...national-kb2000-kb2001-kb2003-kb2005.4178675/
You actually don't strictly need TWRP to root. I suggest that you always try to follow guides that are on XDA rather than searching for random websites with Google.
Click to expand...
Click to collapse
Thank you for the link. To perform this step do I need to do anything special right now? As I believe TWRP is still on my phone
kooluser said:
Thank you for the link. To perform this step do I need to do anything special right now? As I believe TWRP is still on my phone
Click to expand...
Click to collapse
It's not a problem to have TWRP installed.
TheNewHEROBRINE said:
It's not a problem to have TWRP installed.
Click to expand...
Click to collapse
Thank you so much for helping me and solving all my queries
kooluser said:
I just have one more question, so now if I have to boot into TWRP what steps should I follow? As I still have to download Magisk on my phone to properly root it
Click to expand...
Click to collapse
You can install magisk from TWRP recovery.
Changing slots is also possible there.

Categories

Resources