Root Issues - Xiaomi Mi A1 Questions & Answers

Hey guys,
I tried flashing TWRP to recovery partition, but I get: FAILED: remote: partition table doesn't exist. I could only boot to TWRP by flashing it into the boot_a partition, flashing everythong I need and then replacing boot_a from twrp.img back to stock boot.img. I could flash Magisk, but when I rebbot it to system, it just stays on the android one screen and I have to use flash_all script to restore it. My Mi A1 has Android 8 Oreo. please help.

Have you solved? if you've solved how did you do? thank

You need to use the correct twrp boot image and twrp installer zip file. Go to mohancm's twrp thread and download the correct files according to your android version.

cicciobaciccio said:
Have you solved? if you've solved how did you do? thank
Click to expand...
Click to collapse
Most probably by following one of the available guides Mi A1 doesn't have recovery partition for example.

Related

Unable to flash TWRP (remote: dtb not found)

When I try to flash TWRP (via "fastboot flash recovery twrp.img" then "fastboot boot twrp.img") I receive the following error:
Downloading 'boot.img'
OKAY [1.477s]
booting...
FAILED (remote: dtb not found)
finished. total time: 1.534s
I've tried manually booting it into recovery with power button and volume down but it just freezes on the oneplus logo where I have to turn off and on again.
Any help is greatly appreciated!
I found the solution.
For anyone else with this problem
http://forum.xda-developers.com/showpost.php?p=66336492&postcount=3
that link just saved me!
I tried this recovery (I had the same problem as the OP) but although I can boot into twrp, I get stuck on the oneplus logo if I try a normal boot?
Sent from my Nexus 9 using XDA-Developers mobile app
I managed to get it working by flashing CM after flashing the recovery.
Sent from my Nexus 9 using XDA-Developers mobile app
Next time, correct command is the following:
Fastboot flash recovery twrp.img
You tried to flash the recovery image onto the kernel/boot partition, luckily it doesn't allow this, unless it's an actual kernel image fitting that partition. ?
pitrus- said:
Next time, correct command is the following:
Fastboot flash recovery twrp.img
You tried to flash the recovery image onto the kernel/boot partition, luckily it doesn't allow this, unless it's an actual kernel image fitting that partition. ?
Click to expand...
Click to collapse
Actually, fastboot boot twrp.img boots the TWRP image without flashing it.
fastboot flash recovery twrp.img flashes the TWRP image to the recovery partition.
Both are valid commands and have their uses.
fastboot flash boot twrp.img would be the command to try to flash the recovery image to the boot partition and shouldn't be used.
Spannaa said:
fastboot flash boot twrp.img would be the command to try to flash the recovery image to the boot partition and shouldn't be used.
Click to expand...
Click to collapse
That's exactly what I meant to convey.
Similar problem while flashing recovery
hi,
After OOS3.0 installation my OP2`s recovery is not working. i tried installing it again and it shows the error :
FAILED <data Transfer failure <unknown error>>
Please help
bhanuodin said:
hi,
After OOS3.0 installation my OP2`s recovery is not working. i tried installing it again and it shows the error :
FAILED <data Transfer failure <unknown error>>
Please help
Click to expand...
Click to collapse
Are you sure you flashed the correct OOS3 bootloader compatible version of TWRP? Latest official 3.0.0-2 should be compatible.
pitrus- said:
Are you sure you flashed the correct OOS3 bootloader compatible version of TWRP? Latest official 3.0.0-2 should be compatible.
Click to expand...
Click to collapse
how do i flash a bootloader? problem is that i am unable to flash/write on recovery partition. every time it gives the same error mentioned above.
bhanuodin said:
how do i flash a bootloader? problem is that i am unable to flash/write on recovery partition. every time it gives the same error mentioned above.
Click to expand...
Click to collapse
The bootloader (also called fastboot) comes with the original ROM. In your case you're already on the newer bootloader since you flashed OOS3 which means you will have to flash recoverys and ROMs compatible with this newer bootloader.
This TWRP should be compatible
https://dl.twrp.me/oneplus2/twrp-3.0.2-1-oneplus2.img.html
Also you can't run ROMs not compatible with this newer bootloader (which means pretty much any ROM that's not using the official Cyanogenmod source tree for building). That is except for OOS3 or newest HOS of course since these are made for the newer bootloader.
However I would say the error message you get might be caused by bad cable, faulty driver setup, faulty fastboot tool version or in worst case damaged partition layout on phone. The last one can be fixed by the Qualcomm OOS2 factory restore solution.
Hi, i am having the same problem.
some background: I was on Oxygen OS 2.x.x, i wanted to upgrade to Exodus 6. I had the older version of TWRP. So I tryed to install the new twrp image within twrp. When i rebooted i couldnt boot into twrp, receiving the same error message as in OP title, when using fastboot.
Using the tool all in one toolkit I was able to flash stock recovery.
But I still cant flash Twrp.
I can still boot into system though.
Any advice? Thanks.
That explains why you're having problems. You're doing it the wrong way.
First you must upgrade the bootloader by either flashing the convert to Marshmallow zip file which also installs the correct TWRP for the new bootloader (easiest way). Or you could flash the latest official OOS3, then fastboot flash the latest TWRP and from there format system and flash the ROM that's using the newer bootloader.
Does that Link work with oneplus x also? Having same problem as Higgings when trying to install twrp and cyanogenmod.
thnx a lot for sharing
:good:
Higgings said:
I found the solution.
For anyone else with this problem
http://forum.xda-developers.com/showpost.php?p=66336492&postcount=3
Click to expand...
Click to collapse

/systen/ deleted (formatted to EXT4), Xiaomi Mi A1

Hey everyone,
Hello everyone, i have deleted accidentally my /system/ folder with TWRP over wipe with change file system . Now i am in TWRP and my Question is how can i set an new System up or can i boot into fastboot anyway?
Any Help would be appreciated
Use mi flash tool.Try save user data option.If it doesn't work go for Clean all.Use some proper guide.
flawn said:
Hey everyone,
Hello everyone, i have deleted accidentally my /system/ folder with TWRP over wipe with change file system . Now i am in TWRP and my Question is how can i set an new System up or can i boot into fastboot anyway?
Any Help would be appreciated
Click to expand...
Click to collapse
You can boot into fastboot via twrp itself. Reboot\bootloader...
From fastboot you can flash system.img from latest stock fastboot room file...
But you should know your current slot which twrp will tell you under reboot menu..
So do "fastboot flash system_x system.img" (x is the slot you will flash system = current slot where you have deleted system) . You can also just in case do "fastboot flash boot_x boot.img from the stock room file.
After flash..do fastboot reboot..it should boot into system now..
But easier way is download fastboot rom and flash with miflash tool choose save user data..

partition table doesn't exist while flashing TWRP

when i try to flash twrp img, its showing "partition table doesn't exist"
what to do???
What version of Android are you using?
What boot.img version of TWRP are you using?
Why are you trying to flash TWRP when every guideline, help and snippet of info for TWRP on this phone states specifically to not flash it?
You only boot into TWRP using the fastboot boot *.IMG command as far as I am aware.

Persist partition not flashing...

Hey, I need to flash a persist.img file, because my phon restarts every 2 Minutes and does not find any WiFi, but it gives me out the error: remote:Error : persist partition not allowed download. Is there a way to flash it without twrp, since when I try to flash a custom recovery, it says partition table not found. Is there a way to flash persist.img in Mi Flash Tool?
use the link given below
it will help you
https://forum.xda-developers.com/showpost.php?p=75782887&postcount=2
raaz1431994 said:
use the link given below
it will help you
https://forum.xda-developers.com/showpost.php?p=75782887&postcount=2
Click to expand...
Click to collapse
Don't have Twrp, can't flash custom recovery, it says partition table does not exist
boot to fastboot and
give the command
fastboot boot twrp.img
instead of fastboot flash recovery twrp.img

MI 9T boot into TWRP?

unlocked Mi 9T. Unable to fastboot boot twrp-3.3.1-0-davinci.img (tried 3.4.0 too without avail).
Image got pushed and phone reboot into a blank screen. I recall I didn't have any issue booting into twrp on my poco F1.
I would like to keep the recovery partition intact hence no intention to flash the recovery partition. Just wanted to use twrp to backup my phone. Any help appreciated. Thanks in advance.
luserx8 said:
unlocked Mi 9T. Unable to fastboot boot twrp-3.3.1-0-davinci.img (tried 3.4.0 too without avail).
Image got pushed and phone reboot into a blank screen. I recall I didn't have any issue booting into twrp on my poco F1.
I would like to keep the recovery partition intact hence no intention to flash the recovery partition. Just wanted to use twrp to backup my phone. Any help appreciated. Thanks in advance.
Click to expand...
Click to collapse
If I remember correctly (when I was testing with TWRP and Magisk patched boot img), you can fastboot boot to boot but not to recovery.
Double-check with stock recovery.img instead of twrp.img
You can fastboot flash for both

Categories

Resources