Help with rooting my phone - Android Q&A, Help & Troubleshooting

Hey everyone, I'm new here so i hope i haven't selected the wrong category. Anyways I'm trying to root my Xiaomi Mi a2 lite without twrp since, if i understand correctly, it needs the data partition to be formatted as it cant decrypt it, and I don't really need it anyway. I wanted to use Magisk manager to patch a boot image and flash it to get root, but the app explicitly asks for .img files. I've been looking everywhere and I can only find zip archives or .tgz files of my firmware. I'd appreciate any help, and btw my build number is 11.0.21.0

Hello and welcome to XDA!
You may get a better answer on one of these forums:
Xiaomi Mi A2 Lite Guides, News, & Discussion
Xiaomi Mi A2 Lite Questions & Answers
If you can get to fastboot
fastboot boot twrp.img
Will boot TWRP on your phone temporarily without overwriting your current recovery.
TWRP for Xiaomi Mi A2 Lite
Note: Xiaomi's implementation of the keymaster may prevent decrypt from working using the fastboot boot images. Decrypt should work after installing TWRP.
Click to expand...
Click to collapse

Related

Problem with Xiaomi Mi 9T

Hello, yesterday, I have unlocked my Mi 9T device, but I have problem, I have doing error and I have lost my MIUI installation. I can do fastboot, but how I can flash miui rom (zip format) and magisk apk to manage root ?
Can you help me please, I need to have my phone, and there isn’t TWRP for this model...
It’s not the first time I flash rom, but it’s the first time I need to flash only with fastboot, without TWRP ...

How to encrypt Custom Recovery (TWRP) on Huawei mate 10 pro

Hi guys, I wanted to unlock my bootloader (BLA09) to flash a custom recovery but I read that the recovery will be encrypted... I am searching for a solution here and I found that thread, it just shows how to modify the boot.img to remove encryption. Anyone has other idea on how to decrypt twrp? Or at least can confirm that this thread works?
[Guide] How to get rid of force encryption/dm-verity on Huawei MediaPad T3 10 (AGS-W0
I was frustrated by the huawei encryption and decided to get rid of it once and for all. At first I faced many bootloops but i finally figured out what was going on. Formatting user data through TWRP is not enough because after booting the...
forum.xda-developers.com

Help me i bricked my phone

my redmi note 4 mido is bricked and i don't know how, i left my phone for a month because i travelled away and when i came back the phone was stuck on mi logo i tried to fix it by this methods but nothing worked:
-i tried to flash stock firmware via mi flash tool and it failed so many times (i used an old version which stated that the installation succeed but the phone was still stuck in bootloop)
- i tried edl version and it didn't work
- i tried to install via adb and it didn't work also
- i tried to open recovery (volume + and power) it got me to twrp 3.2.3.0 but it's alway stuck on twrp logo and nothing happens
it only happened 2 times when twrp worked and asked me for decryption password, i wrote my phone pin but said wrong password (tried also password and default_password) then i bypassed the password section and got into twrp but i couldn't mount or format storage (it appears that internal storage and sd card is 0 gb) i tried to format it fails,
tried also to change storage to ext2 it got stuck and i couldn't open the twrp again.
any stock firmware flashed on my mido doesn't work and it still stuck on mi logo ( no android loading logo), and it still has twrp
(i tried to flash another twrp or orangefox it just doesn't flash even if it's successful flash on adb)
i tried also to boot the recovery image it also get stuck on the logo and doesn't open the recovery
please help me to know what the hell is wrong with this phone and how i can fix it
help pleassseeeeeeee
Install magisk if you are stuck in boot loop it fixes the problem otherwise download a recovery rom and change your twrp version to 3.1.0.0 because the decryption password in the new versions of twrp doesn't seem to work on rn4. Now wipe system,vendor,data. import recovery rom from your computer and install it. It will install the rom then flash Magisk otherwise your phone will be stuck in bootloop. Wait for a while and bam your system is back!
i can't install anything or even boot into twrp 3.1.0.0 even if i tried
Can you boot into fastboot atleast? If yes then type fastboot reboot recovery and as you said you have twrp installed then it surely means that your bootloader is unlocked. Do you know the name of your custom rom or are you using stock rom? If yes whichever rom you are using just download the recovery rom of that and extract the boot.img in your adb and fastboot folder and flash it via fastboot by typing fastboot flash boot boot.img . And also when booting in twrp which buttons are you using? This happened to me when I myself bricked my device. I thought I can't boot in twrp but the point was I was using volume up+ power but the actual key to boot to twrp is volume up+volume down+power key
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
pandmc said:
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
Click to expand...
Click to collapse
I think flashing the stock rom should be the last step before which everything possible should be tried
JustExperimentingRedmi said:
I think flashing the stock rom should be the last step before which everything possible should be tried
Click to expand...
Click to collapse
Yes, Flashing Stock ROM should be the last step before he tries to fix. But mostly if the smartphone is bootlooped or bricked there is no other step besides Erase All Data / Format Data or Flashing Stock ROM.
pandmc said:
Yes, Flashing Stock ROM should be the last step before he tries to fix. But mostly if the smartphone is bootlooped or bricked there is no other step besides Erase All Data / Format Data or Flashing Stock ROM.
Click to expand...
Click to collapse
You can flash orignal boot.img which most times fixes the problem and if it didnt work flash system.img it almost always works and the last option is flashing magisk. Then only i will recommend to flash stock rom.
JustExperimentingRedmi said:
Can you boot into fastboot atleast? If yes then type fastboot reboot recovery and as you said you have twrp installed then it surely means that your bootloader is unlocked. Do you know the name of your custom rom or are you using stock rom? If yes whichever rom you are using just download the recovery rom of that and extract the boot.img in your adb and fastboot folder and flash it via fastboot by typing fastboot flash boot boot.img . And also when booting in twrp which buttons are you using? This happened to me when I myself bricked my device. I thought I can't boot in twrp but the point was I was using volume up+ power but the actual key to boot to twrp is volume up+volume down+power key
Click to expand...
Click to collapse
the rom i was using before the phone got bricked is crdroid 10, i downloaded it again as you said and tried to flash boot img then i rebooted into recovery but i got stuck at twrp logo as usual and even if twrp worked it will as for a password i tried all pins i have used on my phone and tried default_password didn't work either, i can't even mount data or storage or anything and it shows everything with 0mb storage (external or internal storage).
i can't even format data to remove encryption it just freezes whenever i do that
pandmc said:
You can flash your Xiaomi Redmi Note 4 [MIDO] using Mi Flash. I have an article that discusses how to flash Xiaomi Redmi Note 4 [MIDO / Snapdragon] that might help you: How to Flash Redmi Note 4 / 4x Snapdragon [Mido] with MiFlash
NOTE: Few problematic tool links in this article. Please search on Google | This website was translated using Google Translate [Indonesian -> English]
Click to expand...
Click to collapse
i tried that before it's always shows me ( mi flash tool could not find a part of the path) error, there's a one time i tried an older version of mi flash tool and the flash succeeded but when phone rebooted it stayed at the bootloop
i checked the recovery and sadly it was still the same twrp recovery
i don't really know if my phone can be fixed or this an emmc problem
So it means you have your stock rom right? Extract boot.img and flash it with
fastboot flash boot boot.img
make sure to put it in adb folder
You can find boot.img in images folder
If it does not work get the system.img and flash it with
fastboot flash system system.img
i flash the whole stock rom via fastboot (adb) and it also didn't work.
sorry if this seems disappointing
Try orangefox recovery then, not sure why is this happening to you
If still not working type
fastboot oem edl
Then flash via mi flash it should work as far as I know. If not then go to mi service centre it's the last thing you can do

Question Redmi Note 10 stuck at fastboot

I accidently sent some zip file instead of img file using adb flash boot command, now my phone is stuck at fastboot, doesn't reboot to normal, always reboots to fastboot, I have flashed twrp recovery and wiped all data, still doesn't work, what shall i do?
hi, You can try this tool,
XiaoMiTool V2 - Modding of Xiaomi devices made easy for everyone
XiaoMiTool V2 is a easy to use tool to install rom on your Xiaomi device. Modding made easy for everyone! Download it for free now!
www.xiaomitool.com
Did you then fastboot install the stock boot.img?
hmm. i remember flasing the wrong stuff but I don't know if it was this phone. flash stock from using miflashtool
Hi @niyaalo welcome to the forum! That's a nice device you've got.
Just run the flash_all_except_storage.sh (or .bat if you're on windows)
from official stock Xiaomi MIUI fastboot firmware folder. You can download it from official Xiaomi website.
Preferably it should be the same firmware version that is currently installed on your device.
This should restore your firmware without affecting your user data.
Good luck!

Question Unlock Bootloader and root on Poco F4 GT

Hello,
Now I'm going to retire my old F1 and the F4 GT will replace it. The last time I unlock the Bootloader was with my F1 about 4 years ago.
This why I have a few questions:
Is it still possible to receive OTA Updates when the Bootloader is unlocked? I will just use twrp temporarily. In the past it was possible to boot into twrp from the Fastboot with a PC, is this still working? I'll just install magisk with twrp.
Maybe someone can help me, and sorry I didn't find a section for the POCO F4 GT
i think you can flash fastboot rom
Mhhh... But I don't need a rom or a custom ROM.... Just unlocking the bootloader und root...
The question was if I still receive OTA updates when it's unlocked without flashing TWRP...
I think OTA updates are disabled while bootloader is unlocked in official MIUI ROM
You can use the command fastboot boot pathToRecovery.img to boot twrp from fastboot mode
Do you think, or do you know...
Luftikus said:
Do you think, or do you know...
Click to expand...
Click to collapse
I haven't checked myself, I usually don't use stock ROM anymore after unlocking my bootloader
Luftikus said:
Hello,
Now I'm going to retire my old F1 and the F4 GT will replace it. The last time I unlock the Bootloader was with my F1 about 4 years ago.
This why I have a few questions:
Is it still possible to receive OTA Updates when the Bootloader is unlocked? I will just use twrp temporarily. In the past it was possible to boot into twrp from the Fastboot with a PC, is this still working? I'll just install magisk with twrp.
Maybe someone can help me, and sorry I didn't find a section for the POCO F4 GT
Click to expand...
Click to collapse
Yes, it's still possible to receive OTA and apply it officially using built-in miui updater app.
Poco F4 GT should already use A/B + dynamics, careful NOT to flash twrp (when it's available). Boot twrp and choose flash current twrp from inside twrp.
You can still flash magisk without twrp (via fastboot), but again as it should be an a/b device, you must extract payload.bin in order to get the boot.img file. Flash vbmeta disable verity first, patch the boot.img with magisk app, then flash the patched boot.img, and you should be rooted. Of course, unlock the bootloader first.
Hey thanks for your detailed explanation!
One short question, what do you mean with A/B + dynamics?

Categories

Resources