All, I got a cheap LG G5 (H850) recently which was declared bricked by the previous owner. LineageOS and TWRP were previously installed but something seems to have gone wrong during an upgrade. It boots only into the fastboot menu and is not recognized by "adb devices". I can "fastboot flash recovery twrp-3.5.2_9-0-h850.img" just fine (at least, without an error message), but can't seem to get it to boot to TWRP using Volume down - Power (tried many times - the device is known for being a bit picky about the timing).
Any idea what I can do to save the thing from getting scrapped? TIA!
In fastboot, adb commands won't work (hence "fastboot").
Have you tried fastboot boot twrp-3.5.2_9-0-h850.img, to get the device to boot TWRP for you (without installing)?
Didgeridoohan said:
In fastboot, adb commands won't work (hence "fastboot").
Have you tried fastboot boot twrp-3.5.2_9-0-h850.img, to get the device to boot TWRP for you (without installing)?
Click to expand...
Click to collapse
Yes - it says
Code:
downloading 'boot.img'...
OKAY [ 0.598s]
booting...
FAILED (remote: unknown command)
flurryman said:
.... - the device is known for being a bit picky about the timing).....
Click to expand...
Click to collapse
It really is.
Had to flash several times the TWRP before I could access it.
Each time you try but aren't successful the old recovery gets revived and then you need to flash TWRP again.
Keep on trying.
Btw it's easier if you rename the "twrp-3.5.2_9-0-h850.img" to just "recovery.img".
Hm... Maybe that's not possible on your device then (I know nothing about LG, unfortunately).
@flurryman just another hint:
after flashing TWRP I usually just pull the battery to have in my hand when it restarts.
OK I finally managed to reboot into TWRP again, re-flashed LineageOS, OpenGApps and Magisk, and now I get the dreaded TWRP bootloop.
flurryman said:
OK I finally managed to reboot into TWRP again, re-flashed LineageOS, OpenGApps and Magisk, and now I get the dreaded TWRP bootloop.
Click to expand...
Click to collapse
What about if you don't flash Magisk? It's a possible source of error... Start with a clean system, to eliminate as many variables as possible.
flurryman said:
OK I finally managed to reboot into TWRP again, re-flashed LineageOS, OpenGApps and Magisk, and now I get the dreaded TWRP bootloop.
Click to expand...
Click to collapse
You took the 64bit and pico version of OpenGapps?
Problem also if you flashed one at a time with intermediate reboots an testings?
On mine I took NikGapps64 +Magisk but it's on DotOS.
That's 64 bit nano, and I flashed LineageOS and OpenGApps in TWRP first, and then adb sideloaded Magisk without an intermediate reboot. OK I'll clean first one more time.
Oh wow. I explicitly wiped Dalvik, System, Data, Cache, and flashed LineageOS (09-25) and OpenGApps, and the thing booted! Please keep your fingers crossed!
Related
OK, so I was rolling along just fine...
Got Fastboot up and running, got myself an unlocked bootloader, got myself the latest TWRP image, and no matter WHAT I DO, I can not get TWRP to flash to my device, and it is driving me absolutely INSANE. Below is what i am getting from command prompt. Any help is GREATLY appreciated.
Code:
C:\Users\saltam\Downloads\TWRP>fastboot flash recovery recovery.img
sending 'recovery' (13186 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 0.000s
I am pulling what little hair I have out over here, and I am no beginner when it comes to this stuff. Please help if you can.
Only a couple of things I can think, which I'm sure you've already done. Have you re-downloaded the image file and you have renamed it recovery.img?
Edit, is your bootloader unlocked?
Sent from my Nexus 5 using XDA Free mobile app
Boot loader is unlocked, tried everything besides a different computer. Tried different cord, different USB port, everything. It's like once I unlocked the boot loader the tablet stopped communicating with fast boot. Anything I try to do hangs until I hit reboot fast boot then it fails. Irritating the hell out of me...
have you tired using the wugs Nexus root toolkit? http://forum.xda-developers.com/nexus-9/development/toolkit-wugs-nexus-root-toolkit-v1-9-8-t2945451
I was having some trouble TWRP installing as well., and it was able to install TWRP just fine
Close any other running programs, especially Chrome. Then if still not doing it, install CWM Recovery instead, and if you still want TWRP flash it from CWM Recovery.
My N5 won't let me have TWRP, so if you just want the functions of a recovery, try a different one.
blakeslee14 said:
have you tired using the wugs Nexus root toolkit? http://forum.xda-developers.com/nexus-9/development/toolkit-wugs-nexus-root-toolkit-v1-9-8-t2945451
I was having some trouble TWRP installing as well., and it was able to install TWRP just fine
Click to expand...
Click to collapse
Tried Wug's, and got the same result when I got to it sending the fast boot commands. Prompt just hangs until I select reboot fast boot.
craig.buckie said:
Close any other running programs, especially Chrome. Then if still not doing it, install CWM Recovery instead, and if you still want TWRP flash it from CWM Recovery.
My N5 won't let me have TWRP, so if you just want the functions of a recovery, try a different one.
Click to expand...
Click to collapse
I'm at my end right now, because I want to remove all this dumb Google bloatware so badly. Was thinking about trying to flash stock image, or relock and unlock boot loader again to see if that does anything, but I'm very nervous that those options might not work because of the fact that fast boot commands aren't working. Certainly don't want to end up with a $400 paperweight...
SwoRNLeaDejZ said:
Tried Wug's, and got the same result when I got to it sending the fast boot commands. Prompt just hangs until I select reboot fast boot.
I'm at my end right now, because I want to remove all this dumb Google bloatware so badly. Was thinking about trying to flash stock image, or relock and unlock boot loader again to see if that does anything, but I'm very nervous that those options might not work because of the fact that fast boot commands aren't working. Certainly don't want to end up with a $400 paperweight...
Click to expand...
Click to collapse
I assume you're on 5.0.1. Flash the boot or recovery image from the factory image in fastboot. See if that works. That might rule out a fastboot issue. If it flashed it won't do anything negative to your device
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
I assume you're on 5.0.1. Flash the boot or recovery image from the factory image in fastboot. See if that works. That might rule out a fastboot issue. If it flashed it won't do anything negative to your device
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Going to give this a shot now..
Worth mentioning, I ran an OEM Lock command, and successfully relocked the bootloader, so it appears fastboot is at least partially working. Going to attempt to flash the bootloader in the image from Google, because that is all there is. Just bootloader and image, no recovery image. I will post results here. I don't know why fastboot commands are broken after unlocking bootloader, but there is one thing that seems odd to me:
When I run fastboot devices, it returns the following (has been like this from the beginning):
Code:
C:\Users\saltam\Downloads\TWRP>fastboot devices
???????????? fastboot
Thoughts?
Something's not right. Do you have the newest fastboot?
di11igaf said:
Something's not right. Do you have the newest fastboot?
Click to expand...
Click to collapse
Yes, recently updated it via the minimalist fastboot/adb tool. This is REALLY irritating the hell out of me at this point... Been trying to get recovery on this stupid tablet all damn day...
I am starting to think this is a read/write error.. It is getting the error whenever it tries to write to the tablet... (sending boot.img results in the error every time)... Anyone know of fastboot/adb commands to check/fix read and write errors
**EDIT**
So, much to my chagrin, it appears to just be my computer... Tried on a different laptop, and was able to get it rooted.. For some odd reason though, I don't think TWRP is installing correctly ??
I am going to try and boot into recovery, but every time i try to flash it with fastboot flash recovery recovery.img it says it was successful, but a boot into recovery mode comes up as the dreaded NO COMMAND laying down Android icon. Super frustrating..
**EDIT 2**
So after much trying of different methods, I was able to successfully flash TWRP with Flashify. Not sure why I couldn't do it manually through fastboot but I'm good now. Thanks for all the replies and suggestions. This can be marked as closed or solved. Thanks!
SwoRNLeaDejZ said:
I am starting to think this is a read/write error.. It is getting the error whenever it tries to write to the tablet... (sending boot.img results in the error every time)... Anyone know of fastboot/adb commands to check/fix read and write errors
**EDIT**
So, much to my chagrin, it appears to just be my computer... Tried on a different laptop, and was able to get it rooted.. For some odd reason though, I don't think TWRP is installing correctly ??
I am going to try and boot into recovery, but every time i try to flash it with fastboot flash recovery recovery.img it says it was successful, but a boot into recovery mode comes up as the dreaded NO COMMAND laying down Android icon. Super frustrating..
**EDIT 2**
So after much trying of different methods, I was able to successfully flash TWRP with Flashify. Not sure why I couldn't do it manually through fastboot but I'm good now. Thanks for all the replies and suggestions. This can be marked as closed or solved. Thanks!
Click to expand...
Click to collapse
To your first edit, twrp is probably working correctly. Lollipop forces the stock recovery. There are two files, one in /system and one in /system/bin that force the stock recovery upon boot. You can remove those files or first
fastboot boot twrp.img
Then flash supersu in twrp, then
fastboot flash recovery twrp.img
Sent from my Nexus 9 using XDA Free mobile app
Got the right USB driver
Dirty Unicorns /Uber / Beanstalk Yuga adm.
xtcdk said:
Got the right USB driver
Dirty Unicorns /Uber / Beanstalk Yuga adm.
Click to expand...
Click to collapse
Kind of mystified with your response... Had nothing to do with the USB drivers. Found out afterward that the problem was the security that my company had setup on my laptop (was using my company thinkpad). Switching laptops solved the problem.
Hi all,
I have the following problem: My Sony Xperia Z5 compact will not boot into recovery, but instead resumes a normal boot. I have unlocked the bootloader following the official instructions by Sony. The flashing of the recovery also seems to work fine:
Code:
$ sudo fastboot flash recovery ./twrp_recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (19800 KB)...
OKAY [ 0.611s]
writing 'recovery'...
OKAY [ 1.099s]
finished. total time: 1.710s
But both booting with Volume down+Power and with "adb reboot recovery" just boots/reboots into android.
So far I've tried both versions from here (recovery_v3.1.1.img and recovery_suzuran_230218.img), this and the newest from here (recovery_v3.2.1_17.02.2018.img).
I'm already thanking for any help in advance.
Cheers
orthen2112 said:
Hi all,
I have the following problem: My Sony Xperia Z5 compact will not boot into recovery, but instead resumes a normal boot. I have unlocked the bootloader following the official instructions by Sony. The flashing of the recovery also seems to work fine:
Code:
$ sudo fastboot flash recovery ./twrp_recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (19800 KB)...
OKAY [ 0.611s]
writing 'recovery'...
OKAY [ 1.099s]
finished. total time: 1.710s
But both booting with Volume down+Power and with "adb reboot recovery" just boots/reboots into android.
So far I've tried both versions from here (recovery_v3.1.1.img and recovery_suzuran_230218.img), this and the newest from here (recovery_v3.2.1_17.02.2018.img).
I'm already thanking for any help in advance.
Cheers
Click to expand...
Click to collapse
Recovery works fine. Hold Vol Down + Power when phone is completely off until you feel a vibration, then wait. There have been issues in the past where Magisk was keeping the phone from thoroughly turning off - if you have that issue - hold Vol Up + Power to force shutdown, then Vol Down + Power after a bit to boot to recovery.
trax7 said:
Recovery works fine. Hold Vol Down + Power when phone is completely off until you feel a vibration, then wait. There have been issues in the past where Magisk was keeping the phone from thoroughly turning off - if you have that issue - hold Vol Up + Power to force shutdown, then Vol Down + Power after a bit to boot to recovery.
Click to expand...
Click to collapse
I've actually already tried that. The shutdown with [Vol Up + Power] gets confirmed with 3 vibrations. Switching on with [Vol Down + Power] just boots to android again.
Flashing the recovery "on top" of another recovery with "sudo fastboot flash recovery ./twrp_recovery.img" should be no problem, since it replaces the previous recovery. Right?
orthen2112 said:
I've actually already tried that. The shutdown with [Vol Up + Power] gets confirmed with 3 vibrations. Switching on with [Vol Down + Power] just boots to android again.
Flashing the recovery "on top" of another recovery with "sudo fastboot flash recovery ./twrp_recovery.img" should be no problem, since it replaces the previous recovery. Right?
Click to expand...
Click to collapse
Actually it flashes it unto the FOTAKernel partition. Afaicr we needed to hook and chain-load the recovery after kernel launches on the Z5 line.
I flashed mine on Windows with the latest fastboot drivers and just did "fastboot flash recovery twrp.img". Your command looks okay and it passes tho so I dont suppose your mistake is there.
Here's what you can try - fastboot flash boot twrp.img
Flash it to the kernel partition and see what happens - if ur phone boots normally then the flashing never happened even if it says it did... :laugh:
trax7 said:
Actually it flashes it unto the FOTAKernel partition. Afaicr we needed to hook and chain-load the recovery after kernel launches on the Z5 line.
Click to expand...
Click to collapse
I have to admit I didn't understand very much in those to sentences.
trax7 said:
I flashed mine on Windows with the latest fastboot drivers and just did "fastboot flash recovery twrp.img". Your command looks okay and it passes tho so I dont suppose your mistake is there.
Click to expand...
Click to collapse
Any ideas where else I can look
trax7 said:
Here's what you can try - fastboot flash boot twrp.img
Flash it to the kernel partition and see what happens - if ur phone boots normally then the flashing never happened even if it says it did... :laugh:
Click to expand...
Click to collapse
So, that did work. Now the smartphone boots TWRP instead of Android. So this means I just replaced my bootloader, yes? What happens if I flash LineageOS from this TWRP? I believe flashing a ROM only writes to /system, is that right? And how to best replace the bootloader?
Anyhow, thanks
orthen2112 said:
I have to admit I didn't understand very much in those to sentences.
Any ideas where else I can look
So, that did work. Now the smartphone boots TWRP instead of Android. So this means I just replaced my bootloader, yes? What happens if I flash LineageOS from this TWRP? I believe flashing a ROM only writes to /system, is that right? And how to best replace the bootloader?
Anyhow, thanks
Click to expand...
Click to collapse
Okay, now we know flashing occurs. You can do anything u want from that TWRP. You didn't replace your bootloader, you replaced your kernel. We can't touch the bootloaders, they are a completely different story :d
Flashing is mostly done to /system - yes but it's not limited to that. That's just the most useful partition as you can already modify most of the others you would be interested in.
Flashing LineageOS will replace your firmware and your kernel.
trax7 said:
Okay, now we know flashing occurs. You can do anything u want from that TWRP. You didn't replace your bootloader, you replaced your kernel. We can't touch the bootloaders, they are a completely different story :d
Flashing is mostly done to /system - yes but it's not limited to that. That's just the most useful partition as you can already modify most of the others you would be interested in.
Flashing LineageOS will replace your firmware and your kernel.
Click to expand...
Click to collapse
Thank you very much!
I flashed the ROM, using the TWRP on /boot without problems and now I can also boot /recovery!
orthen2112 said:
Thank you very much!
I flashed the ROM, using the TWRP on /boot without problems and now I can also boot /recovery!
Click to expand...
Click to collapse
Glad I helped! The mods can close the thread now, I guess.
Okay, big problem here! Save me please :fingers-crossed:
I had the same problem : flashing twrp to recovery seemed to work but I was unable to boot on recovery while pressing voldown + power or with "adb reboot recovery", the phone would do a normal boot instead.
Seeing how trax7's suggestion solved orthen2112's problem, I tried the same. Bad luck, now I cannot boot AT ALL. The phone vibrates once but the screen remains black, it does not boot on TWRP, nor on regular android. Please tell me it is not bricked...
I can still go into fastboot mode.
EDIT:
When I try to boot directly on an image of TWRP (I tried several versions) using "fastboot boot recovery.img" I get "FAILED (remote: dtb not found)"
fetchaspade said:
Okay, big problem here! Save me please :fingers-crossed:
I had the same problem : flashing twrp to recovery seemed to work but I was unable to boot on recovery while pressing voldown + power or with "adb reboot recovery", the phone would do a normal boot instead.
Seeing how trax7's suggestion solved orthen2112's problem, I tried the same. Bad luck, now I cannot boot AT ALL. The phone vibrates once but the screen remains black, it does not boot on TWRP, nor on regular android. Please tell me it is not bricked...
I can still go into fastboot mode.
EDIT:
When I try to boot directly on an image of TWRP (I tried several versions) using "fastboot boot recovery.img" I get "FAILED (remote: dtb not found)"
Click to expand...
Click to collapse
Is your bootloader unlocked? Do you have the latest drivers + adb/fastboot installed?
trax7 said:
Is your bootloader unlocked? Do you have the latest drivers + adb/fastboot installed?
Click to expand...
Click to collapse
Thank you for your answer, sorry I did not notice.
My bootloader was indeed unlocked and I had adb + fastboot (on a linux distribution, never had to fetch specific drivers). In the end I tried to use flashtool to flash the stock Android L rom I had used for the downgrade (to backup the TA with the DRM keys before unlocking bootloader) which worked (I could not flash only the kernel image on boot). Then I tried again to boot on TWRP directly from fastboot mode without flashing anything: same error. I then downloaded a few recent stock Android N roms from xperifirm which flashtool could not unzip for some reason, then I found an Australian image elsewhere, and this time flashtool would accept it. So, back to Android N, I tried to flash TWRP again and it worked at last. I'm now running on the Lineage14.1+microG rom (so much better than stock roms I still can't believe it).
I guess TWRP, including old versions I tried, would not boot along the stock Android L rom that was currently flashed so I had to upgrade beforehand. I hope this will help people in the future.
Note for others, I thought I had the same problem as OP, but after doing as trax said with fastboot flash boot twrp.img it didnt boot at all(but did give a single vibrate). What worked for me is following Fetchaspade's instructions. For some reason it is not possible to go into recovery mode with lollipop, but having flashed with nougat I can now get into recovery mode with TWRP.
elfae said:
Note for others, I thought I had the same problem as OP, but after doing as trax said with fastboot flash boot twrp.img it didnt boot at all(but did give a single vibrate). What worked for me is following Fetchaspade's instructions. For some reason it is not possible to go into recovery mode with lollipop, but having flashed with nougat I can now get into recovery mode with TWRP.
Click to expand...
Click to collapse
Ofc that the latest recovery wont work for an Android version it wasn't made for (it would probably work on Marshmallow but Lollipop is too old). A different recovery would work there, the old zxz recovery if i remember correctly.
Also you can fastboot boot the recovery image directly.
Thanks for clarifying Trax, I was not aware that the latest version of TWRP was not backwards compatible with earlier android versions. My reason for posting is because I expect there will be more people following the instructions here; https://wiki.lineageos.org/devices/suzuran/install. They will need to downgrade to make a backup of their TA partition, and as I did probably forget to go back to a newer stock version since it is not mentioned in the lineageOS step by step guide.
elfae said:
Thanks for clarifying Trax, I was not aware that the latest version of TWRP was not backwards compatible with earlier android versions. My reason for posting is because I expect there will be more people following the instructions here; https://wiki.lineageos.org/devices/suzuran/install. They will need to downgrade to make a backup of their TA partition, and as I did probably forget to go back to a newer stock version since it is not mentioned in the lineageOS step by step guide.
Click to expand...
Click to collapse
You dont *have to* backup TA... It's only to preserve your original keys if you want. All of the custom kernels here emulate them anyway if you dont have the backup and LOS doesn't benefit from them at all.
So I'm pretty new to the forums, and pretty new to the rooting scene in general, but I'd like to think I have a general idea what I'm doing (barely)
I'm trying to flash LineageOS on to my Pixel, and each time after flashing the ROM, I get stuck in a bootloop and can only access the bootloader, or I can access TWRP if I use "fastboot boot twrp.img"
Here's the tutorial I've followed to get root, I've followed it to a T:
-Flash stock image from google of whatever version you are going to be running (I went with ppr2 sailfish (as i have the pixel 1))
-Fastboot to twrp (I used version 3.2.3-1-sailfish)
-Flash TWRP.zip (NEXT STEPS ARE WHAT MADE THE DIFFERENCE)
-Do not just hit reboot after installing. Press the back button and go to the home screen of twrp again.
-Clcik the reboot there and click "Do Not Install" this is in reference to the TWRP application with which you don't want to install
-Now turn back off your device and go into twrp again
-Flash magisk 16.7 (NEXT STEPS ARE ALSO WHAT MADE THE DIFFERENCE)
-Do not hit reboot right after you intsall it or will be in a boot loop
-Go back to home screen, hit reboot then hit power off
-Wait a few seconds thens turn that ***** on.
Click to expand...
Click to collapse
And I've followed the directions directly from Lineage on how to flash the ROM. I've also tried flashing the verified boot signer afterwards, I've tried installing a different kernel that supposedly disables "dm-verity" (which seems like it might be the issue but I'm not sure)
I've tried changing the boot parameters from 'b' to 'a' with "fastboot set_active a"
I've tried numerous different steps and each time it's the same process. I get stuck in the bootloop with the bootloader, so I flash the stock image, then reinstall TWRP, Reinstall Magisk / Root, then try to install Lineage and get bootloops, rinse and repeat for the last 2 days. I'm completely at a loss. Any advice? It's much appreciated.
dylanfitz32 said:
So I'm pretty new to the forums, and pretty new to the rooting scene in general, but I'd like to think I have a general idea what I'm doing (barely)
I'm trying to flash LineageOS on to my Pixel, and each time after flashing the ROM, I get stuck in a bootloop and can only access the bootloader, or I can access TWRP if I use "fastboot boot twrp.img"
Here's the tutorial I've followed to get root, I've followed it to a T:
And I've followed the directions directly from Lineage on how to flash the ROM. I've also tried flashing the verified boot signer afterwards, I've tried installing a different kernel that supposedly disables "dm-verity" (which seems like it might be the issue but I'm not sure)
I've tried changing the boot parameters from 'b' to 'a' with "fastboot set_active a"
I've tried numerous different steps and each time it's the same process. I get stuck in the bootloop with the bootloader, so I flash the stock image, then reinstall TWRP, Reinstall Magisk / Root, then try to install Lineage and get bootloops, rinse and repeat for the last 2 days. I'm completely at a loss. Any advice? It's much appreciated.
Click to expand...
Click to collapse
i cant seem to flash any stock firmware on mine. keeps mentioning something about user data. i have tired ota and even factory images. did you get yours resolved? thanks
Hi all,
The story is that I had Linage flashed, but it said it was time to update the firmware, so I tried to do that.
I booted in twrp and flashed the most recent firmware. I had plenty of power on the battery. But after it finished it booted into a classic miui interface. From here it only got worse. It asked for my password which I entered several times, but it was incorrect.
What I tried was to clear the storage. But I get the same error when it boots - it boots into miui, then shortly after a google load screen and then it reboots.
I tried downloading the mi flash tool. But when I connect the phone and locate the file, the screen has just one line in the corner saying something like "press any key to reboot".
With the adb command it doesn't seem like there is actually made a connection.
I do not really care which OS you suggest I install, as long as it at least can get it up and running again.
------------------
I just got it into fastboot and it goes fine with fastboot devices where I can see that it is connected, but when I enter fastboot flash recovery twrp.img then the phone reboots with an error code in the cmd window saying:
"FAILED (Write to device failed (Unknown error))
fastboot: error: Command failed"
Any suggestions to what I can do? Can it be the twrp image that is causing the issue?
twrp-3.3.0-0-beryllium.img 30.3mb
kitkat87 said:
Hi all,
The story is that I had Linage flashed, but it said it was time to update the firmware, so I tried to do that.
I booted in twrp and flashed the most recent firmware. I had plenty of power on the battery. But after it finished it booted into a classic miui interface. From here it only got worse. It asked for my password which I entered several times, but it was incorrect.
What I tried was to clear the storage. But I get the same error when it boots - it boots into miui, then shortly after a google load screen and then it reboots.
I tried downloading the mi flash tool. But when I connect the phone and locate the file, the screen has just one line in the corner saying something like "press any key to reboot".
With the adb command it doesn't seem like there is actually made a connection.
Any suggestions to what I can do?
I do not really care wchich OS you suggest I install, as long as it at least can get it up and running again.
Click to expand...
Click to collapse
This will work with any Android 10 custom ROM
If you want to stay unencrypted, you have to use dfe (disable force encryption). I have never used it, but if you want it try to get one without magisk.
1. 11.0.6 is the latest firmware. You can download it from here:https://xiaomifirmwareupdater.com/firmware/beryllium/
2. You have to format your internal storage.
3. Steps: go to recovery (press back when it asks for password)->wipe->format data (it will ask you to type "yes")-> wipe system, data, internal storage,cache, davlik cache
Copy firmware,rom, gapps, dfe into your internal storage, flash firmware (most ROMs include vendor but flash full firmware just to be sure), ROM, gapps, dfe and reboot.
sotosgolf said:
This will work with any Android 10 custom ROM
If you want to stay unencrypted, you have to use dfe (disable force encryption). I have never used it, but if you want it try to get one without magisk.
1. 11.0.6 is the latest firmware. You can download it from here:https://xiaomifirmwareupdater.com/firmware/beryllium/
2. You have to format your internal storage.
3. Steps: go to recovery (press back when it asks for password)->wipe->format data (it will ask you to type "yes")-> wipe system, data, internal storage,cache, davlik cache
Copy firmware,rom, gapps, dfe into your internal storage, flash firmware (most ROMs include vendor but flash full firmware just to be sure), ROM, gapps, dfe and reboot.
Click to expand...
Click to collapse
is it fastboot flash file link which you have provided above?
hondraopranav said:
is it fastboot flash file link which you have provided above?
Click to expand...
Click to collapse
Twrp!
You flash firmware as a normal zip.
I understand that twrp works for you.
If it doesn't, flash twrp through fastboot and then proceed as i mention above
Thanks for your replies.
The problem I have is that fastboot does not really seem to work.
When I try to do a fastboot command I get the error that goes:
"Sending 'recovery' (31068 KB) FAILED (Write todevice failed (Unknown error))
fastboot:error: Command failed"
Also, I just tried the Mi unlock tool and it seems that it cannot create a connection with the usb cable - so could that be the reason that I cannot flash it?
kitkat87 said:
Thanks for your replies.
The problem I have is that fastboot does not really seem to work.
When I try to do a fastboot command I get the error that goes:
"Sending 'recovery' (31068 KB) FAILED (Write todevice failed (Unknown error))
fastboot:error: Command failed"
Also, I just tried the Mi unlock tool and it seems that it cannot create a connection with the usb cable - so could that be the reason that I cannot flash it?
Click to expand...
Click to collapse
Download twrp for poco f1 from the official twrp site.
When everything is ready and you have pressed flash, THEN boot into fastboot and connect the cable
Edit: you also might have relocked your bootloader. If what I mention above doesn't work, unlock your bootloader again with the unlock file Xiaomi originally sent you.
sotosgolf said:
Download twrp for poco f1 from the official twrp site.
When everything is ready and you have pressed flash, THEN boot into fastboot and connect the cable
Edit: you also might have relocked your bootloader. If what I mention above doesn't work, unlock your bootloader again with the unlock file Xiaomi originally sent you.
Click to expand...
Click to collapse
The phone doesn't boot into a system, and currently as I load fastboot whenever the connection to the computer is made it goes to a screen saying 'press any key to turn off'.
I did notice, though, that after I from recovery wipe all data, then in the first boot it encrypts the phone. But it never manages to get the OS up and running.
------
Just downloaded the latest twrp from the official site. And when I tried to flash it I got the same error
"Sending 'recovery' (31068 KB) FAILED (Write todevice failed (Unknown error))
fastboot:error: Command failed"
kitkat87 said:
I did notice, though, that after I from recovery wipe all data, then in the first boot it encrypts the phone. But it never manages to get the OS up and running.
Click to expand...
Click to collapse
Let's get this straight m8,
Can you boot into recovery ("up"+"power")?
Yes or No?
Thanks for your replies.
sotosgolf said:
This will work with any Android 10 custom ROM
If you want to stay unencrypted, you have to use dfe (disable force encryption). I have never used it, but if you want it try to get one without magisk.
1. 11.0.6 is the latest firmware. You can download it from here:
2. You have to format your internal storage.
3. Steps: go to recovery (press back when it asks for password)->wipe->format data (it will ask you to type "yes")-> wipe system, data, internal storage,cache, davlik cache
Copy firmware,rom, gapps, dfe into your internal storage, flash firmware (most ROMs include vendor but flash full firmware just to be sure), ROM, gapps, dfe and reboot.
Click to expand...
Click to collapse
HI mate,
I wanna check how long did it take to install Android 10 on your poco?
Cuz I installed the rom for more than 30 minutes after reboot and it is not over by follow your steps.
Idk what's the problem with my poco.
------------------------------------------------------------
New update:
Finally, I completed flash the rom, and Idk what's the problem, lol
I can boot into both fastboot and recovery. The recovery is Mi-recovery 3.0. Though, in recovery it doesn't seem that I can get any connection with it.
-----------
update
Currently, when I do anything beyond fastboot devices I get the screen reading "press any key to shutdown"
sotosgolf said:
Let's get this straight m8,
Can you boot into recovery ("up"+"power")?
Yes or No?
Click to expand...
Click to collapse
I can boot into mi-recovery 3.0 but no twrp or other custom recovery.
kitkat87 said:
I can boot into mi-recovery 3.0 but no twrp or other custom recovery.
Click to expand...
Click to collapse
You most likely had your bootloader re-locked. You have to unlock it again
sorry for the late reply.
I downloaded MiFlashPro, and apparently I could flash miui 11. So far, so good. But as I tried to flash or even boot into twrp I got the same command as I used to.
Can the issue be because I maybe don't have the latest drivers installed?
kitkat87 said:
I can boot into both fastboot and recovery. The recovery is Mi-recovery 3.0. Though, in recovery it doesn't seem that I can get any connection with it.
-----------
update
Currently, when I do anything beyond fastboot devices I get the screen reading "press any key to shutdown"
Click to expand...
Click to collapse
Do you have all the drivers installed on your pc ?
ADB and Fasboot drivers. And try using usb 2.0 ports. Mi tools have issues with usb 3.0 ports. And You should be on an Intel processor. You can also try twrp 3.3.1 beta by @Reignz.
"FAILED (remote: Unrecognized command boot)" When trying to temporarily boot TWRP
So, I was switching ROMs last night from Havoc OS to Lineage OS and everything went smoothly for the most part except for this. I wanted to install Magisk because there are a couple of privacy things I wanted to do with root, but when running "fastboot boot twrp.img," it spat this back at me on both my Windows laptop and Linux desktop. Since I was able to do everything else I'm fairly certain I've got the drivers, so what's the problem? Thanks.
Maybe
I'm not sure if this will help. I got the same reply when I attempted to boot TWRP when in fastbootd. I had to reboot into regular fastboot in order boot TWRP. Your case may be different but I did it wrong probably 3 times before I realized. Apologies if this is not helpful.
_huck_ said:
So, I was switching ROMs last night from Havoc OS to Lineage OS and everything went smoothly for the most part except for this. I wanted to install Magisk because there are a couple of privacy things I wanted to do with root, but when running "fastboot boot twrp.img," it spat this back at me on both my Windows laptop and Linux desktop. Since I was able to do everything else I'm fairly certain I've got the drivers, so what's the problem? Thanks.
Click to expand...
Click to collapse
To ONLY install a custom ROM, you must be in fastbootd mode (adb reboot fastboot or fastboot reboot fastboot)
To install the Stock ROM and boot TWRP without installing it, you must be in fastboot mode (Vol - + Power or adb reboot bootloader)
Jaxgun said:
I'm not sure if this will help. I got the same reply when I attempted to boot TWRP when in fastbootd. I had to reboot into regular fastboot in order boot TWRP. Your case may be different but I did it wrong probably 3 times before I realized. Apologies if this is not helpful.
Click to expand...
Click to collapse
Yup, this turned out to be the fix! Thanks!