Need help to root Redmi note 5 pro on Miui 11 - Xiaomi Redmi Note 5 Pro Questions & Answers

How to root Redmi note 5 pro on Miui 11 ... please help

Rdxinha said:
How to root Redmi note 5 pro on Miui 11 ... please help
Click to expand...
Click to collapse
If you custom recovery then flash magisk file using your custom recovery this will work i guess

mohitmb0211 said:
If you custom recovery then flash magisk file using your custom recovery this will work i guess
Click to expand...
Click to collapse
question. flashing recovery need to wipe data? or i can flash twrp without wiping?

nicoodc said:
question. flashing recovery need to wipe data? or i can flash twrp without wiping?
Click to expand...
Click to collapse
It'll work without wiping data. I have tried it and i faced no problem.

mohitmb0211 said:
It'll work without wiping data. I have tried it and i faced no problem.
Click to expand...
Click to collapse
I hope you can help me, I'm having similar problems too. I boot into TWRP, but the new Android 9 updates, I think, have everything encrypted. So rooting my Redmi Note 5 Pro has been really puzzling me all day. Because of the encryption, I can't access the internal storage where Magisk or SuperSU .img should be, unless I wipe all data, which removes the .imgs. Following the advice of some other threads, I have tried rebooting TWRP from itself and then flashing a TWRP.img to flash but I can't find it anywhere either. I tried adb sideloading and adb pushing but I can't get my computer to detect my phone when its in recovery. Thought I'd ask here before making my own thread

Gdsad0 said:
I hope you can help me, I'm having similar problems too. I boot into TWRP, but the new Android 9 updates, I think, have everything encrypted. So rooting my Redmi Note 5 Pro has been really puzzling me all day. Because of the encryption, I can't access the internal storage where Magisk or SuperSU .img should be, unless I wipe all data, which removes the .imgs. Following the advice of some other threads, I have tried rebooting TWRP from itself and then flashing a TWRP.img to flash but I can't find it anywhere either. I tried adb sideloading and adb pushing but I can't get my computer to detect my phone when its in recovery. Thought I'd ask here before making my own thread
Click to expand...
Click to collapse
Change your recovery to orangefox recovery and encryption doesn't bother much just take your data backup and factory reset your phone.hope so it'll work.

mohitmb0211 said:
Change your recovery to orangefox recovery and encryption doesn't bother much just take your data backup and factory reset your phone.hope so it'll work.
Click to expand...
Click to collapse
Thanks, I ended up just getting an SD card and flashing with that

Gdsad0 said:
Thanks, I ended up just getting an SD card and flashing with that
Click to expand...
Click to collapse
Glad to help you .

Related

Bootloop after flashing TWRP, CM13

I'm (or rather, was) on CM13 nightly, today I downloaded TWRP through Flashify and flashed it, previously I was using Philz Touch, now I have a bootloop. I just had a bootloop a few days ago and had to install everything over again, and I really don't feel like doing it again. What can I do?
Error503 said:
I'm (or rather, was) on CM13 nightly, today I downloaded TWRP through Flashify and flashed it, previously I was using Philz Touch, now I have a bootloop. I just had a bootloop a few days ago and had to install everything over again, and I really don't feel like doing it again. What can I do?
Click to expand...
Click to collapse
Can you enter the recovery mode? And if so I would recommend reflashing everything, that usually helps xD
Summoned Egar said:
Can you enter the recovery mode? And if so I would recommend reflashing everything, that usually helps xD
Click to expand...
Click to collapse
Yes I can, but I reeeeeally don't feel like going back to stock AGAIN, I was thinking maybe flashing CyanogenMod Recovery would help fix the issue since TWRP is apparently not compatible with Marshmallow, the problem is I can't get my PC to recognize my phone in fastboot mode therefore I can't flash the new recovery. Any ideas?
Error503 said:
Yes I can, but I reeeeeally don't feel like going back to stock AGAIN, I was thinking maybe flashing CyanogenMod Recovery would help fix the issue since TWRP is apparently not compatible with Marshmallow, the problem is I can't get my PC to recognize my phone in fastboot mode therefore I can't flash the new recovery. Any ideas?
Click to expand...
Click to collapse
Why didn't you backup your data? Always backup your data! Moreover, put the image to flash on your sd card
Summoned Egar said:
Why didn't you backup your data? Always backup your data! Moreover, put the image to flash on your sd card
Click to expand...
Click to collapse
Alright, I can do that. How do I flash it after it's on my SD?
Error503 said:
Alright, I can do that. How do I flash it after it's on my SD?
Click to expand...
Click to collapse
Wipe as usual, then in TWRP go to mount and choose external_sd, after that navigate up until you find the folder external_sd and load from there
You don't need to go back to stock. If you can enter recovery, you can wipe system (only) and dirty flash your cm13 over it. It usually works and dont lose your personal files nor installed apps. If it don't, do a full wipe and flash your rom again.

Lost Root!! Please Help.

Hello.
I was on OxygenOS v3.2.4 before flashing FreedomOS v1.6-CE. I made a clean flash. The device booted up fine although various mods(audio mods,multi-window etc) that i selected in the aroma installer were missing. After booting up,i realised that my root as well as my recovery were missing. Any kind of help will be appreciated. Please look into this matter guys.
Thanks.
Just get into fastboot and flash twrp from there, as you did originally... And freedom is is boring, get yourself slim6 or dirty unicorns
Fastboot TWRP then reboot in TWRP and install Supersu.
Sent from my SM-T810 using XDA-Developers mobile app
Just get into fastboot and flash twrp from there, as you did originally... And freedom is is boring, get yourself slim6 or dirty unicorns
Click to expand...
Click to collapse
thanks for the help. but the problem is as soon as i hit the power menu,my phone automatically reboots also,i used the oneplus 3 toolkit to root and flash recovery on my phone.
Edit:- i somehow managed to get into twrp using the community toolkit but i get unable to mount storage message in twrp. what am i doing wrong??
dudeperfect said:
thanks for the help. but the problem is as soon as i hit the power menu,my phone automatically reboots also,i used the oneplus 3 toolkit to root and flash recovery on my phone.
Edit:- i somehow managed to get into twrp using the community toolkit but i get unable to mount storage message in twrp. what am i doing wrong??
Click to expand...
Click to collapse
unable to mount storage? does it ask for a password? was your device encrypted?
bombaglad said:
unable to mount storage? does it ask for a password? was your device encrypted?
Click to expand...
Click to collapse
Yes,my device was encrypted but it didn't ask for any password. I restored a backup i had but it doesn't allow me to change the encryption in the security settings.
dudeperfect said:
Hello.
I was on OxygenOS v3.2.4 before flashing FreedomOS v1.6-CE. I made a clean flash. The device booted up fine although various mods(audio mods,multi-window etc) that i selected in the aroma installer were missing. After booting up,i realised that my root as well as my recovery were missing. Any kind of help will be appreciated. Please look into this matter guys.
Thanks.
Click to expand...
Click to collapse
Dude flash your recovery again through fastboot then flash SuperSU. Easy as 1,2,3

[TWRP] Unofficial for Xiaomi Mi Note 3

WHAT IS TWRP?
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
How to install:
1. Unzip
2. Install fastboot tools from google's sdk on your PC
3. Enter fastboot mode on device
4. Unlock your bootloader
5. Run "fastboot flash recovery jason_twrp_recovery.img" via command line
6. Reboot
Download:
https://www.androidfilehost.com/?fid=890129502657588556
Device Tree:
https://github.com/travismills82/android_device_xiaomi_jason
ROOT OPTIONS:
SuperSU: https://forum.xda-developers.com/app...v2-05-t2868133
Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Nice one buddy, works with every ROM out there
i tried it out with those ROMs:
Miui CN Dev latest
Miui Stable latest
Miui Global latest
EpicROM
MultiROM
Miui EU ROM Dev/Stable
MiuiPro/Miuisu/Miuigr
FlymeOS
LOS
Mokee latest
is this latest twrp?
Vihru said:
is this latest twrp?
Click to expand...
Click to collapse
Its Twrp 3.2.1.0
Vihru said:
is this latest twrp?
Click to expand...
Click to collapse
Yeah its
thanks, please fix Decrypt Data
not working. after flash, the twrp doesn't show anything (and it doesn't keep settings)
pepote666 said:
thanks, please fix Decrypt Data
Click to expand...
Click to collapse
Wipe then Format Data, is the first thing to do after flashing twrp, make sure to backup first
FenerKR said:
not working. after flash, the twrp doesn't show anything (and it doesn't keep settings)
Click to expand...
Click to collapse
Wipe then Format Data, is the first thing to do after flashing twrp, make sure to backup first
AL_IRAQI said:
Wipe then Format Data, is the first thing to do after flashing twrp, make sure to backup first
Wipe then Format Data, is the first thing to do after flashing twrp, make sure to backup first
Click to expand...
Click to collapse
Why this issue not happen with other twrp? The internal storage show 0 bytes
nowforever said:
Why this issue not happen with other twrp? The internal storage show 0 bytes
Click to expand...
Click to collapse
because you have to wipe your storage first
AL_IRAQI said:
because you have to wipe your storage first
Click to expand...
Click to collapse
So, It's means I will lost all my data on phone? including external storage?
nowforever said:
So, It's means I will lost all my data on phone? including external storage?
Click to expand...
Click to collapse
Hmm, yeah for the first time only, or you could boot up to system and backup everything
Can´t start session. RPC ERROR
Thank you!!!
Molgorth said:
Can´t start session. RPC ERROR
Thank you!!!
Click to expand...
Click to collapse
Im sorry i didnt get you, where did you get that error ?
i already have twrp on my phone, some turkish version with awful orange theme, is there a way for me to flash this one without reseting my system and data?
connta said:
i already have twrp on my phone, some turkish version with awful orange theme, is there a way for me to flash this one without reseting my system and data?
Click to expand...
Click to collapse
Yeah, just flash it over the old one, no need to touch system or data
First time I started twrp they would that I enter a password for data partition.
Which password is there required?
digitaliban said:
First time I started twrp they would that I enter a password for data partition.
Which password is there required?
Click to expand...
Click to collapse
Enter your system password, if it didnt work you have to format, but backup data first
Thanks for this TWRP, work perfect!
I need also to enter password and I don't have encrypted phone. Plus I had already installed twrp installed, so this image has something... not working.

TWRP recovery loop, what should I do?

Hey all. I got my mi6 recently. and I installed twrp on it, and flashed magisk. I was trying to install atmos in recovery mod, then I remembered that I hadn't already downloaded the file. For some damn reason I decided to wipe my device. however that didn't go well, and now I'm stuck on a twrp load loop.
I've already tried this command unsuccessfully.
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/misc bs=256 count=1 conv=notrunc
Also in desperation, I flashed my phone, rebooted it and etc.
What else can I try?
you can re-flash Twrp in fastboot mode, then boot to twrp, connect to you pc, it will recognize your phone as usb storage.
Down load you rom, copy it to your phone, then install rom by Twrp.
demonntl said:
you can re-flash Twrp in fastboot mode, then boot to twrp, connect to you pc, it will recognize your phone as usb storage.
Down load you rom, copy it to your phone, then install rom by Twrp.
Click to expand...
Click to collapse
I just tried that. Didn't work. Also, nothing changed.
amirography said:
I just tried that. Didn't work. Also, nothing changed.
Click to expand...
Click to collapse
have you tried to flash global rom with Miflash? in bootloader mode?
amirography said:
I just tried that. Didn't work. Also, nothing changed.
Click to expand...
Click to collapse
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.
Xiaomi download site is down
xdauser2018 said:
have you tried to flash global rom with Miflash? in bootloader mode?
Click to expand...
Click to collapse
demonntl said:
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.
Click to expand...
Click to collapse
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?
thewholuver94 said:
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?
Click to expand...
Click to collapse
http://bigota.d.miui.com/V9.5.6.0.O...FA_20180410.0000.00_8.0_global_2a2234e1c5.tgz
xdauser2018 said:
have you tried to flash global rom with Miflash? in bootloader mode?
Click to expand...
Click to collapse
Haven't tried that. But it worth a shot.
demonntl said:
Can you boot to TWPR ?
- Yes: you can connect to PC and copy your rom, then install
- No: flash fastboot rom: download from Xiaomi site, use Miflash to flash in fastboot, then flash TWPR again.
Click to expand...
Click to collapse
didn't use miflash. The simple flashing didn't work however. I also tried reinstalling twrp.
thewholuver94 said:
The Xiaomi download site is down. Does anyone have a copy of the Fastboot ROM by any chance that they can share?
Click to expand...
Click to collapse
you may need to use a mobile browser. But there are mirrors.
I managed to fix the problem, by accident.
I just wiped Dalvik cache and data using the wiping tool in twrp.
after the reboot, TWRP was gone, and a fresh rom was installed with all my data, gone. However, that already has happened. So it wasn't a great loss.
I'm not technical, so I don't really know what made caused the loop, or how another wipe fixed it. So if anyone can explain it better, the floor is yours.
Thanks for the support.
amirography said:
I managed to fix the problem, by accident.
I just wiped Dalvik cache and data using the wiping tool in twrp.
after the reboot, TWRP was gone, and a fresh rom was installed with all my data, gone. However, that already has happened. So it wasn't a great loss.
I'm not technical, so I don't really know what made caused the loop, or how another wipe fixed it. So if anyone can explain it better, the floor is yours.
Thanks for the support.
Click to expand...
Click to collapse
Have you enabled phone encryption before? It could be this.. After manual wipe of data partition you were able to boot again..
xdauser2018 said:
Have you enabled phone encryption before? It could be this.. After manual wipe of data partition you were able to boot again..
Click to expand...
Click to collapse
i have the same problem .... how can i disable encryprion?
rovaris said:
i have the same problem .... how can i disable encryprion?
Click to expand...
Click to collapse
Boot in Twrp, wipe, advanced wipe, format data

Device turns off randomly after root

Hi guys, I rooted my redmi note 8 yesterday. Everything went well except two things: on boot the error message said that "there is an internal problem" and the phone reboots/shuts down itself.
Any thoughts?
cicish said:
Hi guys, I rooted my redmi note 8 yesterday. Everything went well except two things: on boot the error message said that "there is an internal problem" and the phone reboots/shuts down itself.
Any thoughts?
Click to expand...
Click to collapse
You should explain the problem obviously if you want a help, if your phone still working you should flash twerp.img to be able to root it and solve any existing problem by flashing new rom
niceman2007 said:
You should explain the problem obviously if you want a help, if your phone still working you should flash twerp.img to be able to root it and solve any existing problem by flashing new rom
Click to expand...
Click to collapse
Hey thanks for answer.
Actually i did everything correctly, flashed latest twrp, tried several roms, oficial, unoficial etc., But still no result. After all these, ive flashed the stock rom which solved the problem but phone is no more rooted. So..
cicish said:
Hey thanks for answer.
Actually i did everything correctly, flashed latest twrp, tried several roms, oficial, unoficial etc., But still no result. After all these, ive flashed the stock rom which solved the problem but phone is no more rooted. So..
Click to expand...
Click to collapse
If you still want to root it again,after flasing new rom go to twero and then go to wipe then format,you should format your phone after rom flashing,try this and inform me
Yes yes! I want to root phone once again. So the steps are these:
1) booting into twrp with adb from pc.
2) from the twrp menu wiping and formating the data
3) instaling new rom
Is this true?
Thanks!
If you want to root you don't have to install another custom rom unless you don't like the stock rom. If you like your current stock rom, then flash twrp in fastboot and download the latest magisk stable zip and also diasble dm-verity zip. Using twrp first flash disable dm-verity zip and then magisk zip, wipe dalvik cache and reboot to system, hopefully you would have root permission.
Leeban Joseph said:
If you want to root you don't have to install another custom rom unless you don't like the stock rom. If you like your current stock rom, then flash twrp in fastboot and download the latest magisk stable zip and also diasble dm-verity zip. Using twrp first flash disable dm-verity zip and then magisk zip, wipe dalvik cache and reboot to system, hopefully you would have root permission.
Click to expand...
Click to collapse
You mean that its possible to have root access on stock rom?
Leeban Joseph said:
If you want to root you don't have to install another custom rom unless you don't like the stock rom. If you like your current stock rom, then flash twrp in fastboot and download the latest magisk stable zip and also diasble dm-verity zip. Using twrp first flash disable dm-verity zip and then magisk zip, wipe dalvik cache and reboot to system, hopefully you would have root permission.
Click to expand...
Click to collapse
Hey, I was able to flash magical using twrp but can't flash dm-verity. It gives me some error 1 with no description. I could flash magisk. What can the problem be? Thanks!
cicish said:
Hey, I was able to flash magical using twrp but can't flash dm-verity. It gives me some error 1 with no description. I could flash magisk. What can the problem be? Thanks!
Click to expand...
Click to collapse
From your stock rom extract the boot.img and place it on your SD card. Flash the boot image using twrp or you can also flash in fastboot, then reboot. Now boot to twrp recovery and flash dm-verity first and then magisk zip. Worked for me I'm having root permission with stock rom.
Leeban Joseph said:
From your stock rom extract the boot.img and place it on your SD card. Flash the boot image using twrp or you can also flash in fastboot, then reboot. Now boot to twrp recovery and flash dm-verity first and then magisk zip. Worked for me I'm having root permission with stock rom.
Click to expand...
Click to collapse
i could grant the root permission on stock rom before you wrote this. thank you very much! but i still have a problem with a custom rom as it randomly turns off or reboots the device. strange
cicish said:
i could grant the root permission on stock rom before you wrote this. thank you very much! but i still have a problem with a custom rom as it randomly turns off or reboots the device. strange
Click to expand...
Click to collapse
UPDATE: after another custom rom install failure, i got back to stock miui 11 with miflash tool. the problem is now that when i unlock the bootloader and try to flash magisk and disable-dm-verity, the system refuses to boot. the redmi note 8 logo is sticked on boot. i dont understand what i am doing incorrectly. if there are any suggestions im ready to try.
cicish said:
UPDATE: after another custom rom install failure, i got back to stock miui 11 with miflash tool. the problem is now that when i unlock the bootloader and try to flash magisk and disable-dm-verity, the system refuses to boot. the redmi note 8 logo is sticked on boot. i dont understand what i am doing incorrectly. if there are any suggestions im ready to try.
Click to expand...
Click to collapse
Is your bootloader unlocked right now or did you lock it while flashing using miflash tool.
Leeban Joseph said:
Is your bootloader unlocked right now or did you lock it while flashing using miflash tool.
Click to expand...
Click to collapse
the bootloader was unlocked. everything went kinda fine, until i flashed youtube vanced from magisk: when i did that, the system was unable to boot. i don't know what's happening. is there anything to do with kernel or something? really interesting what i am doing wrong.
cicish said:
the bootloader was unlocked. everything went kinda fine, until i flashed youtube vanced from magisk: when i did that, the system was unable to boot. i don't know what's happening. is there anything to do with kernel or something? really interesting what i am doing wrong.
Click to expand...
Click to collapse
I think it may be because of YouTube vanced module. If you remove the module you might be able to boot. In twrp in the advanced option select file manager and then select data/adb/magisk/ in that you will find the list of installed modules, select the one which is causing the problem and delete that folder and try to reboot.
Leeban Joseph said:
I think it may be because of YouTube vanced module. If you remove the module you might be able to boot. In twrp in the advanced option select file manager and then select data/adb/magisk/ in that you will find the list of installed modules, select the one which is causing the problem and delete that folder and try to reboot.
Click to expand...
Click to collapse
I've already flashed the stock rom but this will help me next time! Thanks!
I'll stop trying for some days cause I'm really tired with tweaking so thanks and will get back!
cicish said:
i could grant the root permission on stock rom before you wrote this. thank you very much! but i still have a problem with a custom rom as it randomly turns off or reboots the device. strange
Click to expand...
Click to collapse
Your device reboots randomly on custom rom because probably it was made for tianma display and you have hauxing display
the_weird_aquarian said:
Your device reboots randomly on custom rom because probably it was made for tianma display and you have hauxing display
Click to expand...
Click to collapse
Hey, thanks for the answer. i've just googled about it and you are right. checked the TP version and it says that i have huaxing display. in the Lineage OS thread the moderator wrote that the next update will fix that bug. hopefully ill be able to install custom rom. also if you know, are there any custom roms for huaxing display? thank you man!
cicish said:
Hey, thanks for the answer. i've just googled about it and you are right. checked the TP version and it says that i have huaxing display. in the Lineage OS thread the moderator wrote that the next update will fix that bug. hopefully ill be able to install custom rom. also if you know, are there any custom roms for huaxing display? thank you man!
Click to expand...
Click to collapse
currently bootleggers rom,PE official and unofficial and drepfest all have reboot issues in huaxing display. Haven't tried any other rom yet..still on MIUI..waiting to get the issue fixed asap.
the_weird_aquarian said:
currently bootleggers rom,PE official and unofficial and drepfest all have reboot issues in huaxing display. Haven't tried any other rom yet..still on MIUI..waiting to get the issue fixed asap.
Click to expand...
Click to collapse
i've tried Lineage OS too and it also has reboot issue. i've checked a thread here https://forum.xda-developers.com/redmi-note-5-pro/development/derp-kernel-clang-4-4-138-t3804996 that flashing a different kernel when you have flashed a custom rom can fix the problem. idk if its safe to do
cicish said:
i've tried Lineage OS too and it also has reboot issue. i've checked a thread here https://forum.xda-developers.com/redmi-note-5-pro/development/derp-kernel-clang-4-4-138-t3804996 that flashing a different kernel when you have flashed a custom rom can fix the problem. idk if its safe to do
Click to expand...
Click to collapse
that thread is for redmi note 5 pro..and flashing different kernel probably won't solve it because I know few guys flashed genom kernel but still ended up with reboot in huaxing display. Maybe waiting for fix is better.

Categories

Resources