Root without flashed TWRP? - Xiaomi Redmi Note 5 / 5 Plus Questions & Answers

Is it valid to flash su files via not installed twrp recovery? My idea is to start TWRP (not flash) via fastboot boot twrp.img and then just flash root files. Will that work?

Need unlocked bootloader!
I think yes. You can flash.
But, after booting TWRP and flashed root (Su, Magisk) maybe your phone get bootloop.

Yes, my bootloader is unlocked. How to avoid bootloop? What to do after adding su?
Sent from my Redmi 5 Plus using Tapatalk

Maybe "lazyflasher" works...
Maybe not, I do not know, I do not have your phone, I can not try...

Related

[HELP ME PLEASE] I Accidentally flashed fastboot with recovery.img ..??!!

Recently, i was on bootloop ... i tried to flash my original recovery and fastboot. But, i accidentally execute the wrong command... Now there's no way i cant get to bootloader or flash something again, any other ways?
A lot more info needed, what device, what was command, etc
The more info the more accurate the help
Tell us more info about the device.
Can you flash anything through ADB or using fastboot?
Sent from my VF-895N using XDA Free mobile app
Thomas Wolff said:
Tell us more info about the device.
Can you flash anything through ADB or using fastboot?
Sent from my VF-895N using XDA Free mobile app
Click to expand...
Click to collapse
ASUS ZENFONE T00J, LOLIPOP 3.23.40.52 , Yes i can connect via adb from recovery... but i cant fastboot, the bootloader is the only way to use fastboot.
demkantor said:
A lot more info needed, what device, what was command, etc
The more info the more accurate the help
Click to expand...
Click to collapse
i flash, fastboot flash boot recovery.img , it should be flash recovery recovery.img
You changed you kernel to a recovery.IMG, try and find a flashable.zip of your boot.IMG and flash via twrp
Although I'm not familiar with this particular device it should allow you to boot to bootloader regardless of kernel, at least any device I have used does this
Is the recovery a custom recovery? If so does it have an option to reboot to bootloader?
Otherwise try
adb reboot bootloader
demkantor said:
You changed you kernel to a recovery.IMG, try and find a flashable.zip of your boot.IMG and flash via twrp
Although I'm not familiar with this particular device it should allow you to boot to bootloader regardless of kernel, at least any device I have used does this
Is the recovery a custom recovery? If so does it have an option to reboot to bootloader?
Otherwise try
adb reboot bootloader
Click to expand...
Click to collapse
So, i flashed the recovery*TWRP) to bootloader that made the bootloader changed to recovey, i tried to REboot to bootloader but it always came to TWRP, i boot to recovery it came to asus recovery
.
Boot is the kernel, so there is a chance you are still OK
Try flashing original firmware through factory recovery
http://support.asus.com/download.as...ne 5&p=39&s=1&os=32&hashedid=96nqlxHp1VKV4Rdz
I tried to flash the same firmware via ADB sideload, but it said " Only with android 4.4.2 that you can updrage to android 5.0. E:Erron in /sideload/package.zip (Status 7).
It looks like there are downgrade instructions in each firmware download, try this method out

Custom recovery issues

Hello
I recently bought a new device (lollipop version) and I've rooted it successfully so I decided to flash a custom recovery because I want to back up my OS before I start flashing xposed framework.
So I searched the net for a custom recovery for my device (Infinix hot 3 x554) and I found one, then I flashed the custom recovery using mobileuncle root and I reboot into recovery and nothing changed my stock recovery was still there, then after booting my device I flashed the custom recovery again using flashify and I reboot into recovery my phone just booted normally instead if taking me to recovery mode, now my stock recovery isn't there anymore, please I need assistant on how to fix this.
My device: Infinix Hot 3 x554
Version: 5.1
Kernel Version: 3.10.72+
Build Number: x554-W90918-A2-L-20160607
I used kingroot to root the device.
Thank you
It seems your recovery partition restores itself or there are specific scripts in your boot.img which restores stock recovery when detects modified recovery. You must install it via fastboot.
Obtain fastboot and run this command (You can have it with Android SDK or you can find it in Google too.).
Code:
fastboot flash recovery *filename*.img
But you have to be sure you have proper drivers for your device.
Okay, but I did some little research about how to flash recovery and I saw something about unlocking bootloader, so could it be because I haven't unlocked my bootloader that's why it didn't work?
Spadex said:
Okay, but I did some little research about how to flash recovery and I saw something about unlocking bootloader, so could it be because I haven't unlocked my bootloader that's why it didn't work?
Click to expand...
Click to collapse
Yes. You need to unlock bootloader before flashing custom recovery. Locked bootloader prevents modify stock partition.
Ashwinrg said:
Yes. You need to unlock bootloader before flashing custom recovery. Locked bootloader prevents modify stock partition.
Click to expand...
Click to collapse
So after I unlock the bootloader, should I use flashify to flash the custom recovery or I should just use PC to flash it
Spadex said:
So after I unlock the bootloader, should I use flashify to flash the custom recovery or I should just use PC to flash it
Click to expand...
Click to collapse
Use fastboot command to flash recovery.img
sachin n said:
Use fastboot command to flash recovery.img
Click to expand...
Click to collapse
Okay thanks for your time.

HELP!!!! Stuck in Fastboot mode?

I just did a restore and then rebooted and it looped my into Fastboot mode???
Am I in trouble?
I am/was rooted on Sprint
islandfever said:
I just did a restore and then rebooted and it looped my into Fastboot mode???
Am I in trouble?
I am/was rooted on Sprint
Click to expand...
Click to collapse
First try to boot into twrp(use adb comands you can find them in the wtf tread)
If you don't have twrp you will need to reinstall it
If you flashed the sprint rom and you didn't flash magisk you will loose root and twrp so you have to reflash twrp
ricohz said:
First try to boot into twrp(use adb comands you can find them in the wtf tread)
If you don't have twrp you will need to reinstall it
If you flashed the sprint rom and you didn't flash magisk you will loose root and twrp so you have to reflash twrp
Click to expand...
Click to collapse
Yes I did the restore and forgot to reflash magisk etc....I redid TWRP but now I am having an issue reflashing magisk afte the restore....it keeps failing because of a partition error or something
ricohz said:
First try to boot into twrp(use adb comands you can find them in the wtf tread)
If you don't have twrp you will need to reinstall it
If you flashed the sprint rom and you didn't flash magisk you will loose root and twrp so you have to reflash twrp
Click to expand...
Click to collapse
I just started all the way from LgUP and fixed up

[Help] Bootloop on Xiaomir Redmi Note 4X

Hello, I'm kind of new at this (this is my first post) so be gentle
So, the last few days I've been trying to install a new rom on my phone (Redmi Note 4X) and the problems started with the model. I only seem to find Redmi Note 4 roms, and as I've come to find, mine is supposed to be the mido one (correct me if I'm wrong though). I have unlocked the bootloader, I have installed and enabled the fastboot on my phone, so the next step was to install the latest TWRP.
There came more problems; I tried doing this through the app and it just wouln't flash it. So I found a guide on how to root my phone and install a new recovery through adb and I followed it. It didn't work. I couldn't find the right twrp version for my phone. When I finally did realise my phone needed mido, I found the latest from the TWRP website. It wouldn't load through adb again. I found a thread about a fixed mido version, which finally worked for me. But my brother who was helping me, and isn't as much of a noob as I am (he has flashed rom and recoveries many times on his Nexus 5X), decided that I necessarily need the latest twrp if I'm going to flash a new rom, so he flashed the new twrp through the old one, and soft bricked my phone (I think). So I'm searching for a guide to unbrick it. (Which I can't seem to find to work at least).
To conclude;
I have unlocked my bootloader
I have access to the fastboot
I tried to flash a recovery
I failed many times, but I managed it
I flashed the latest twrp and bricked my phone
I don't have access to the recovery
My phone is still on a bootloop
I am not sure about which phone model I have
Help!
Thanks in advance.
1. Just check your phone model on its box. If its Snapdragon version (Mido), then just install it via fastboot. (code: fastboot flash recovery twrp-midoxx.img). If you are success, then try to reboot to recovery (fastboot boot twrpmido-xx.img). After booted, then you just manage to rom.zip you want to install. If you don't have it, then download it before from your PC and push it to your phone. Or just enable Mtp checklis from TWRP n copy that file to your internal phone/sdcard. Wipe all/factory reset except internal storage. Then you dan install rom.zip normally. N reboot. (Note: if you are on MIUI and wanted to always stay on it, just flash the file called lazyflasher.zip. n' wipe cache n art cache only then reboot). Flashing custom recovery on stock MIUI Will manage the device Going to bootloop)
2. If you have mediatek version (nikel), searching the fastboot Rom from miui website and flash it normally via fastboot. (SP Flash tool)
Warning: flash the wrong rom file into wrong phone Will make your device brick. So becarefull n knowing what model/code name you have.
Dyt199412syam said:
1. Just check your phone model on its box. If its Snapdragon version (Mido), then just install it via fastboot. (code: fastboot flash recovery twrp-midoxx.img). If you are success, then try to reboot to recovery (fastboot boot twrpmido-xx.img). After booted, then you just manage to rom.zip you want to install. If you don't have it, then download it before from your PC and push it to your phone. Or just enable Mtp checklis from TWRP n copy that file to your internal phone/sdcard. Wipe all/factory reset except internal storage. Then you dan install rom.zip normally. N reboot. (Note: if you are on MIUI and wanted to always stay on it, just flash the file called lazyflasher.zip. n' wipe cache n art cache only then reboot). Flashing custom recovery on stock MIUI Will manage the device Going to bootloop)
2. If you have mediatek version (nikel), searching the fastboot Rom from miui website and flash it normally via fastboot. (SP Flash tool)
Warning: flash the wrong rom file into wrong phone Will make your device brick. So becarefull n knowing what model/code name you have.
Click to expand...
Click to collapse
Hello and thanks for the reply. I have the snapdragon version, but all I'm asking is how am I supposed to flash the lazyflasher without accessing the recovery? Through adb?
fionik said:
Hello and thanks for the reply. I have the snapdragon version, but all I'm asking is how am I supposed to flash the lazyflasher without accessing the recovery? Through adb?
Click to expand...
Click to collapse
Firstly, enter fastboot mode on your device. Connecting to pc and flashing the twrp for mido. "fastboot flash recovery twrp-mido.img". Then boot to it using " fastboot boot twrp-mido.img". Then you will enter the recovery (twrp) in a second. Copy the lazyflasher into your phone (enable mtp first in Mount option in twrp) that you downloaded from pc. Just flash the lazyflasher.zip and reboot.
And why you don't want to flash lazyflasher when it very easy to flash it using recovery twrp? adb? You mean android debugging? Actually, you cant flash a .zip file into your system partition except through fastboot mode. However, fastboot mode (in cmd) only recognize a .img file. I just try to tell you the easier method to make your device boot up.
Dyt199412syam said:
Firstly, enter fastboot mode on your device. Connecting to pc and flashing the twrp for mido. "fastboot flash recovery twrp-mido.img". Then boot to it using " fastboot boot twrp-mido.img". Then you will enter the recovery (twrp) in a second. Copy the lazyflasher into your phone (enable mtp first in Mount option in twrp) that you downloaded from pc. Just flash the lazyflasher.zip and reboot.
And why you don't want to flash lazyflasher when it very easy to flash it using recovery twrp? adb? You mean android debugging? Actually, you cant flash a .zip file into your system partition except through fastboot mode. However, fastboot mode (in cmd) only recognize a .img file. I just try to tell you the easier method to make your device boot up.
Click to expand...
Click to collapse
As I said above, I can only access the fastboot, and I get errors in the adb when I try to flash the twrp image.
fionik said:
As I said above, I can only access the fastboot, and I get errors in the adb when I try to flash the twrp image.
Click to expand...
Click to collapse
Share your error please.
Try fastboot boot twrp.img

[Help] My phone is stuck in a boot loop

it just keeps rebooting sometimes normal reboot others recovery reboot!
I tried to wipe the data but it rebooted in the middle of the wiping.
sometimes it opens and says an error occurred in the encryption process and I have to wipe the data when I try to wipe it. it reboots again in the middle of the process.
tried to install a new rom using Mi Flash but it reboots in the process.
is there any solution?
WHAT vendor version you are using
try 9.6.27-9.0 https://mirror.akhilnarang.me/MIUI/beryllium/
then flash rom and Gapps/ and DFE https://drive.google.com/file/d/1As6z5v7NEIfOk67jXHBX34cbnFZdEjy9/view
flash magisk 19.4
YasuHamed said:
WHAT vendor version you are using
try 9.6.27-9.0 https://mirror.akhilnarang.me/MIUI/beryllium/
then flash rom and Gapps/ and DFE https://drive.google.com/file/d/1As6z5v7NEIfOk67jXHBX34cbnFZdEjy9/view
flash magisk 19.4
Click to expand...
Click to collapse
Didn't get what's in the first link tried searching online for guides of it but ended up getting results for a chemistry element.
I can't flash any rom as I said whenever I try to open fastboot and try installing a new rom it reboots in the process..
PocoPhoner said:
Didn't get what's in the first link tried searching online for guides of it but ended up getting results for a chemistry element.
I can't flash any rom as I said whenever I try to open fastboot and try installing a new rom it reboots in the process..
Click to expand...
Click to collapse
Did you ever unlock the bootloader ?
You can't flash ROMs with fastboot
The bootloader has to be unlocked to flash TWRP.
You use fastboot to boot or flash TWRP
From TWRP you flash vendor, Rom and Magisk
Sent from my ONEPLUS A6010 using Tapatalk
clsA said:
Did you ever unlock the bootloader ?
You can't flash ROMs with fastboot
The bootloader has to be unlocked to flash TWRP.
You use fastboot to boot or flash TWRP
From TWRP you flash vendor, Rom and Magisk
Sent from my ONEPLUS A6010 using Tapatalk
Click to expand...
Click to collapse
No I didn't unlock the boot loader and I didn't flash TWRP.
if the boot loader is locked then I can't install TWRP therefore no Magisk or other roms which means no solution ?
PocoPhoner said:
No I didn't unlock the boot loader and I didn't flash TWRP.
if the boot loader is locked then I can't install TWRP therefore no Magisk or other roms which means no solution ?
Click to expand...
Click to collapse
maybe this will help >
https://www.youtube.com/watch?v=-vS_Zh9B8TE

Categories

Resources