Is there a way to root via linux? Im running the dev miui atm and looking to install aosp, is there a way to install twrp via mi recovery?
Sent from my Redmi Note 2 using Tapatalk
Rooting via linux? You can flash an alternative recovery (TWRP) using fastboot (which is available on linux) and from the recovery flash SuperSU which in turn will grant you root access. But since you're already on dev MIUI there's a simple 'Root enable' function built in already (can't remember exactly where it is, I think it's somewhere in the Security app) and there's no real need to flash SuperSU (unless you want more options/granular control). And, the easiest way to install TWRP is indeed by using the Updater app on MIUI (put twrp.zip on root of internal storage -> Updater app and then there should be an option called 'install/update package' or similar).
Cheers.
Unknownkj said:
Is there a way to root via linux? Im running the dev miui atm and looking to install aosp, is there a way to install twrp via mi recovery?
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
Since you was running dev miui, btw, if china dev rom and it was rooted. Used flashify which you can downloaded from playstore to flashed twrp.img. if you erer running global dev rom, you need to root it first. The easier was was used windroid in windows, used it to flash twrp and root your phone. Sorry i don't know the rooting method on linur. backup your data by using miui system backup first, But you can just used the phone by flashing china dev rom and used flashify to flash twrp.img.
Sent from my 2014817 using Tapatalk
you can just like in windows via fastboot. If youre phone is not detected on abd devices (like it happended to me) see this: http://en.miui.com/thread-197576-1-1.html . Dont forget to put the phone in "developer" mode.
You can flash TWRP through Flashify, an Android app.
No need to even touch a PC.
Cheers guys i will take a look at flashify. Almost forgot about this gem
Sent from my Redmi Note 2 using Tapatalk
you can use tutorial http://www.linuxslaves.com/2015/07/install-android-tools-adb-fastboot-on-ubuntu-linux.html for adb and fastboot installation
No need adb, fastboot, if you have a twrp you can found many supersu zip installable via recovery, if you not have the twrp recovery so you need fastboot and twrp version for your phone
Related
Hi
I've ordered the redmi note 2 and would like to install a custom rom on it when I receive it. Can somebody tell me what the easiest method to root the phone and install TWRP is? There seems to be so many different ways and I'm finding it abit confusing. Also do I need to unlock the bootloader before rooting?
Thanks
Search on Youtube for: How to install recovery Xiaomi Redmi Note 2 and How to root Xiaomi Redmi Note 2
arg357 said:
Hi
I've ordered the redmi note 2 and would like to install a custom rom on it when I receive it. Can somebody tell me what the easiest method to root the phone and install TWRP is? There seems to be so many different ways and I'm finding it abit confusing. Also do I need to unlock the bootloader before rooting?
Thanks
Click to expand...
Click to collapse
Flashed a china dev rom was an easier way without using PC. But first to need to wipe your phone. Then installed flashify to flash twrp.img. With twrp, you can flashed any compatible rom you like.
for the redmi note from the wife who only needed root I used Kingroot
And I wanted root and TWRP so I used Windroid toolkit
thanks for the replies. Windroid seems pretty straightforward, I'll give that a go once I get my phone.
You can flash xiaomi.eu latest ROM and you'll get TWRP 3.0. For root you can flash any SuperSU official zip using TWRP
Gyovany96 said:
You can flash xiaomi.eu latest ROM and you'll get TWRP 3.0. For root you can flash any SuperSU official zip using TWRP
Click to expand...
Click to collapse
you mean this one? http://xiaomi.eu/community/threads/6-2-25.30340/
that says TWRP needs to be installed before that rom can be flashed?
arg357 said:
you mean this one? http://xiaomi.eu/community/threads/6-2-25.30340/
that says TWRP needs to be installed before that rom can be flashed?
Click to expand...
Click to collapse
Yes that one..
"Our ROMs now contains TWRP which will install it automatically and overwrite your MiRecovery (If you still use it)"
"Version 6.2.25 still can be installed via MiRecovery but it will overwrite it to TWRP"
I use xiaomi.eu ROM/Based ROM's because it has my language
ah ok, thanks mate
So I tried updating via updateer with the rom from xiaomi.eu but that failed it said something about the file signature. So I tried the windroid method, the computer picked up the device no problem and it was weorking well. I flashed TWRP and Super SU and completely wiped everything on the phone. Now I'm trying to sideload a rom using windroid, but when I go to the ADB sideload option in TWRP it just stays stuck on "starting ADB sideload feture..." Windroid seems to recognise that the device is in sideload mode but I can't flash anything as it just stays stuck.
Any ideas?
Never mind, my PC picked up the phone while it was in recovery and I was able to just copy the rom file over
Hi, I'm having a small problem here and need your help. A friend of mine flashed OOS 3.0.2 from TWRP and after that he forgot to fkash TWRP. Now the recovery is replaced with the stock recovery and he wants to root the phone. I tried flashing TWRP using adb but it does not work. Can anyone help with what is to be done. Thanks in advance.
Sent from my ONE A2003 using XDA-Developers mobile app
1) download the Grarak's TWRP Recovery from https://forums.oneplus.net/threads/mirrors-for-official-oxygen-os-roms-and-ota-updates.387615/.
2) Place it on your phone
3) Download and Install Fashify app from Play store
4) Use Flashify to install your Recovery image. It should recover TWRP.
5) Of course, you need to be rooted.
Enjoy !
Root method same as with previous Version of oos? (lollipop)
yes, you can root with Modified SuperSU v2.74 TWRP flashable zip from the link provided.
nabolito said:
1) download the Grarak's TWRP Recovery from https://forums.oneplus.net/threads/mirrors-for-official-oxygen-os-roms-and-ota-updates.387615/.
2) Place it on your phone
3) Download and Install Fashify app from Play store
4) Use Flashify to install your Recovery image. It should recover TWRP.
5) Of course, you need to be rooted.
Enjoy !
Click to expand...
Click to collapse
He has no root and no recovery to flash Su, so tell me, how should he flash recovery with Flashify?
AFAIK the only way now is to flash recovery with fastboot and then with recovery Su.
OP download the recovery provided here.
Flash it via fastboot
fastboot devices
make sure your device appears
fastboot flash recovery "filename"
Reboot into recovery
flash modified super su
Gesendet von meinem ONE A2003 mit Tapatalk
[email protected] said:
He has no root and no recovery to flash Su, so tell me, how should he flash recovery with Flashify?
AFAIK the only way now is to flash recovery with fastboot and then with recovery Su.
OP download the recovery provided here.
Flash it via fastboot
fastboot devices
make sure your device appears
fastboot flash recovery "filename"
Reboot into recovery
flash modified super su
Gesendet von meinem ONE A2003 mit Tapatalk
Click to expand...
Click to collapse
Hi, thanks for the instructions but i managed to flash the recovery using fastboot and adb. Only the hybrid recovery could be flashed, no other. I flashed the official TWRP but it did not boot, so i flashed hybrid twrp and it worked
Sent from my ONE A2003 using XDA-Developers mobile app
Good to know. The official TWRP can't boot because of the new Bootloader of OOS 3.x.
You need one of this three
hybrid
the modified orange one
or garags
Gesendet von meinem ONE A2003 mit Tapatalk
[email protected] said:
Good to know. The official TWRP can't boot because of the new Bootloader of OOS 3.x.
You need one of this three
hybrid
the modified orange one
or garaks
Gesendet von meinem ONE A2003 mit Tapatalk
Click to expand...
Click to collapse
Get Hybrid Recovery v3.2 (The most beautiful one)
Download
abhijeet715 said:
Hi, thanks for the instructions but i managed to flash the recovery using fastboot and adb. Only the hybrid recovery could be flashed, no other. I flashed the official TWRP but it did not boot, so i flashed hybrid twrp and it worked
Sent from my ONE A2003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Hello can you please help me I need some more info since I am new to this stuff, you opened oneplus 2 in fastboot mode then on cmd (shift+right click in the location of the hybrid twrp) you typed
"fastboot flash recovery <filename>.img" and the filename was the name of the hybrid twrp?
https://forums.oneplus.net/threads/...ts-oos-3-0-oos-2-x-x-h2os-mm-lp-cm-13.443032/ this is where you got it? version 3.2?
Also my android is 6.0.1 with OOS 3.0.2, have unlocked bootloader with this guide-> (http://missingtricks.net/root-oneplus-2-marshmallow-6-0-1/) , sorry about this I bricked my last phone and I dont have the money to fix my oneplus 2 if I brick it aswell, I want to be really carefull about this :/
Michael Ion said:
Hello can you please help me I need some more info since I am new to this stuff, you opened oneplus 2 in fastboot mode then on cmd (shift+right click in the location of the hybrid twrp) you typed
"fastboot flash recovery <filename>.img" and the filename was the name of the hybrid twrp?
https://forums.oneplus.net/threads/...ts-oos-3-0-oos-2-x-x-h2os-mm-lp-cm-13.443032/ this is where you got it? version 3.2?
Also my android is 6.0.1 with OOS 3.0.2, have unlocked bootloader with this guide-> (http://missingtricks.net/root-oneplus-2-marshmallow-6-0-1/) , sorry about this I bricked my last phone and I dont have the money to fix my oneplus 2 if I brick it aswell, I want to be really carefull about this :/
Click to expand...
Click to collapse
Let me make it easier and clear to you.
1. Install the drivers for OP2 (IMPORTANT)
2. You might have already downloaded adb and fastboot drivers. If not, download it here: http://forum.xda-developers.com/showthread.php?t=2317790
3. Unlock your bootloader in OP2, if you have not and enable USB Debugging from Developer Options.
4. Once you have installed Minimal adb and fastboot drivers, place the hybrid TWRP in the folder of Minimal adb and fastboot. Then Shift+Right Click and open the command line, type the commands (hope you know if not google them)
Then from fastboot, directly boot into recovery as at times OOS 3 replaces the custom recovery with stock recovery. From fastboot, press Power+Volume down until the 1+ logo shows up. You will be booted into custom recovery.
Hope this helps. In case of anything else you can PM me
[email protected] said:
He has no root and no recovery to flash Su, so tell me, how should he flash recovery with Flashify?
Click to expand...
Click to collapse
I thought he was at least rooted. Because this is what happened to me, when I flashed the signed flashable zip followed by the root zip, I forgot to update the TWRP.
My phone was working but I couldn't access to TWRP, but I was rooted. So, in this case, my reply with flashify works.
Thank you.
ok guys saw the threads as was also trying to flash TWRP .
The bottom line is with One plus 2 having Oxygen OS 3.0 it is difficult to fastboot TWRP previous versions but with latest version I was was able to install TWRP 3.0.2-2 using fastboot and adb. The link is dl.twrp.me/oneplus2/twrp-3.0.2-2-oneplus2.img (official site of TWRP) Once installed you can install latest SU.zip.
Cheers
So I've read a lot of guides but a few questions still remain unanswered am hoping anyone here can shed some light
-> can I unlock on global stable (Lollipop) miui 7 version 8.0.2.0 (on which am currently on) or do I have to flash global developer rom to be able to unlock ?
-> can I use updater app to switch from stable to developer ? or do I need to use fastboot rom ?
Now on rooting
-> Can I simply install a twrp of my choice and flash super su with it to get root ?
->Do I need to flash universal boot img patcher before or after super su ?
->do I need to flash lazy flasher ?
Some people say simply flash supersu in any twrp to get root others say also flash ubp first! others say also lazy flasher
which is true ?
What's the difference between universal boot image patcher and lazy flasher ?
My aim is to simply root
Sent from my Redmi Note 3 using Tapatalk
dastan4eva said:
So I've read a lot of guides but a few questions still remain unanswered am hoping anyone here can shed some light
-> can I unlock on global stable (Lollipop) miui 7 version 8.0.2.0 (on which am currently on) or do I have to flash global developer rom to be able to unlock ?
-> can I use updater app to switch from stable to developer ? or do I need to use fastboot rom ?
Now on rooting
-> Can I simply install a twrp of my choice and flash super su with it to get root ?
->Do I need to flash universal boot img patcher before or after super su ?
->do I need to flash lazy flasher ?
Some people say simply flash supersu in any twrp to get root others say also flash ubp first! others say also lazy flasher
which is true ?
What's the difference between universal boot image patcher and lazy flasher ?
My aim is to simply root
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
FOR YOUR FIRST QUESTION: YES YOU CAN. I JUST TODAY UNLOCKED IN 8.0.2
2ND:YES YOU CAN SWITCH VIA UPDATER FROM STABLE TO DEVELOPER. BUT NOT SURE WHETHER CAN BE FROM STABLE LOLLIPOP TO DEVELOPER MARSHMALLOW. IT SHOULD WORK THOUGH,
3RD:YES YOU CAN SIMPLY FLASH SUPERSU.ZIP.... BUT UNLOCK BOOTLOADER VIA OFFICIAL WAY.ITS BETTER AND HASSELFREE FOR FUTURE.
4TH AND 5TH:I HAVENT USED UBP TILL NOW. ITS NOT THAT IMPORTANT. U CAN FLASH TWRP RECOVERY WITH LAZY FLASHER. WHEN YOU INSTALL MIUI VIA TWRP SIMPLY FLASH LAZY FLASHER AND SUPER SU AFTERWARDS. AND IT WILL WORK WITHOUT ANY PROBLEMS.
http://en.miui.com/thread-283146-1-1.html for info..
if you unlock bootloader officially then there is twrp cofface. which automatically patches boot.img. So no need of lazy flasher too
Those are my experiences. may not be 100% correct.
Torres.09 said:
FOR YOUR FIRST QUESTION: YES YOU CAN. I JUST TODAY UNLOCKED IN 8.0.2
2ND:YES YOU CAN SWITCH VIA UPDATER FROM STABLE TO DEVELOPER. BUT NOT SURE WHETHER CAN BE FROM STABLE LOLLIPOP TO DEVELOPER MARSHMALLOW. IT SHOULD WORK THOUGH,
3RD:YES YOU CAN SIMPLY FLASH SUPERSU.ZIP.... BUT UNLOCK BOOTLOADER VIA OFFICIAL WAY.ITS BETTER AND HASSELFREE FOR FUTURE.
4TH AND 5TH:I HAVENT USED UBP TILL NOW. ITS NOT THAT IMPORTANT. U CAN FLASH TWRP RECOVERY WITH LAZY FLASHER. WHEN YOU INSTALL MIUI VIA TWRP SIMPLY FLASH LAZY FLASHER AND SUPER SU AFTERWARDS. AND IT WILL WORK WITHOUT ANY PROBLEMS.
http://en.miui.com/thread-283146-1-1.html for info..
if you unlock bootloader officially then there is twrp cofface. which automatically patches boot.img. So no need of lazy flasher too
Those are my experiences. may not be 100% correct.
Click to expand...
Click to collapse
which twrp Best for flashing cm like custom roms ? Do you use alka bro ? Can I flash cm like roms with alka ?
Should I take backup of Lollipop with alka in order to fix no sim/baseband type problems when returning to miui from cm roms or Will it work if I simply edl whatever rom it is that I want from cm13 ?
Sent from my Redmi Note 3 using Tapatalk
dastan4eva said:
which twrp Best for flashing cm like custom roms ? Do you use alka bro ? Can I flash cm like roms with alka ?
Should I take backup of Lollipop with alka in order to fix no sim/baseband type problems when returning to miui from cm roms or Will it work if I simply edl whatever rom it is that I want from cm13 ?
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
You can use any bro for flashing custom roms
but for miui flash modified cofface with lazy flasher (for unofficial unlock) and u can use twrp cofface for official unlock to flash miui
always take backup before doing anything
i have never faced no sim issues bro when returning from cm to miui
so i dont know about that case.
yeah you can edl too but its not needed that often.
Torres.09 said:
You can use any bro for flashing custom roms
but for miui flash modified cofface with lazy flasher (for unofficial unlock) and u can use twrp cofface for official unlock to flash miui
always take backup before doing anything
i have never faced no sim issues bro when returning from cm to miui
so i dont know about that case.
yeah you can edl too but its not needed that often.
Click to expand...
Click to collapse
you ever returned to miui from cm with twrp backup successfully?
Sent from my Redmi Note 3 using Tapatalk
dastan4eva said:
you ever returned to miui from cm with twrp backup successfully?
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
once i tried. phone booted i guess but showed problems. actually i forgot
so to come back to miui i used to flash miui.zip and lazy flaser and then restore just data of miui previously made
Torres.09 said:
once i tried. phone booted i guess but showed problems. actually i forgot
so to come back to miui i used to flash miui.zip and lazy flaser and then restore just data of miui previously made
Click to expand...
Click to collapse
can say where I can download that miui zip from ? if we flash that miui zip do bootloader get locked again?
Sent from my Redmi Note 3 using Tapatalk
dastan4eva said:
can say where I can download that miui zip from ? if we flash that miui zip do bootloader get locked again?
Click to expand...
Click to collapse
U can download from en.miui.com in download section
No it wont get relock
But u shall flash lazy flasher or use twrp cofface (for official)
I am saying these according to my experience
I unlocked unofficially 2 mnths ago
And flashed various custom as well as miui rom
And today i checked bootloader was still unlocked
But i guess there are some very few custom roms which relocks bootloader ( i forgot though)
But after you once flas twrp in ur phone though BL gets locked u still can flash miui zip custom rom, kernel anything via twrp so no issues
Based on my experience lol ????????????????
Official unlock is only successful for lucky ones
A lot of people have reported about the 50% error for which xiaomi's server are responsible
As far as unofficial unlock is concerned I don't know about which ones the safest and easiest method for 8.0.2.0
And is it possible to revert to miui if there is no earlier backup ?
From my experience.
When I got my hand on RN3, I update it to latest update, which is MIUI 8, stable version (Android 5).
Then try to unlock bootloader to flash custom rom. This is where my journey began.
Unlocking bootloader with Official method is not that hard.
- There is step by step guide from MIUI forum, although not everyone succeed with that method.
- My step:-
1. Apply permission from MIUI
2. Everyday login to MiUnlock Tool to see if I got permission already. (about two or three day of waiting)
3. Make sure Mi Account > Personal Info is same as MIUI Forum Account > Personal Info.
4. After that, I flash RN3 Fastboot Developer Rom (Android 6) with EDL, not with Fastboot using XiaomiFlashTool.
5. Once success flashing, setup phone like you going to use it, set MI Account and everything. Then reboot to fastboot.
6. Open MiUnlockTool and connect phone, and begin unlocking bootloader, and I got it success in no time.
My step to go back to MIUI (Stock Rom):-
1. Using RN3 Fastboot Developer Rom (Android 6), this one with bootloader locked.
2. Reboot phone to Fastboot mode, using XiaomiFlashTool to flash Stock Rom.
3. After that, setup as it is. Reboot again to Fastboot mode, and use MiUnlockTool to unlock again.
** Well that's for my experience. With such a hard and long journey.
onekay70 said:
From my experience.
When I got my hand on RN3, I update it to latest update, which is MIUI 8, stable version (Android 5).
Then try to unlock bootloader to flash custom rom. This is where my journey began.
Unlocking bootloader with Official method is not that hard.
- There is step by step guide from MIUI forum, although not everyone succeed with that method.
- My step:-
1. Apply permission from MIUI
2. Everyday login to MiUnlock Tool to see if I got permission already. (about two or three day of waiting)
3. Make sure Mi Account > Personal Info is same as MIUI Forum Account > Personal Info.
4. After that, I flash RN3 Fastboot Developer Rom (Android 6) with EDL, not with Fastboot using XiaomiFlashTool.
5. Once success flashing, setup phone like you going to use it, set MI Account and everything. Then reboot to fastboot.
6. Open MiUnlockTool and connect phone, and begin unlocking bootloader, and I got it success in no time.
My step to go back to MIUI (Stock Rom):-
1. Using RN3 Fastboot Developer Rom (Android 6), this one with bootloader locked.
2. Reboot phone to Fastboot mode, using XiaomiFlashTool to flash Stock Rom.
3. After that, setup as it is. Reboot again to Fastboot mode, and use MiUnlockTool to unlock again.
** Well that's for my experience. With such a hard and long journey.
Click to expand...
Click to collapse
thanks for sharing
Sent from my Redmi Note 3 using Tapatalk
So i was trying to root my Oneplus 6t that was running OXynogen 10.3.4 Android 10 using TWRP & MagicSk.I read a tutorial somewhere explaining how to install TWRP recovery & then flash Magicsk.I successfully installed TWRP recovery on my phone using cmd with the help of fastboot.However, when i tried flashing Magicsk using TWRP,i got an error "KEY VERIFICATION FAILED".Now, i don't plant to proceed with rooting my phone any further.Can someone please tell me how can i undo all of my actions and get my phone back in original condition as it was when i purvhased.Like pure stock android with no TWRP,No unlocked bootloader...Just like a phone's software looks when purchased new.
TWRP can't get uninstalled. You've to flash Stock ROM to get rid off of it.
jwoegerbauer said:
TWRP can't get uninstalled. You've to flash Stock ROM to get rid off of it.
Click to expand...
Click to collapse
How do u suggest i flash the custom ROM? Will i have to do it using TWRP? Oneplus gives a .zip file of stock ROM on its website.Also will doing this lock my bootloader again?
@Illicit_Lokesh
I thought I made it clear.
FYI: Recovery and ROM are two completely independent different things.
No one needs a custom recovery as TWRP to flash Stock ROM: This can be done with Android SDK tools like ADB and Fastboot.
Hello,
I am a newbie into this.
I want to root the Pad to run some apps that require root access. The bootloader is already unlocked via the miflash unlock tool.
Next I tried to install TWRP 3.4.0.0 via using the guide from twrp.me
https://twrp.me/xiaomi/xiaomimipad4.html
I am able to load the image into recovery section and I am also able to boot into recovery straight after that in order to enter TWRP (using Vol up plus power button as the guide mentioned). But once the Android system is booted up the TWRP bootloader in the recovery section is gone/wiped whatever because the Mi boot menu appears again.
What do I miss out?
It is also recommend to perform a backup in TWRP before rooting (magisk) or flashing a custom rom. The backup fails with a couple of red line "unable to mount...".
Any help is appreciated. Thanks.
You are using the stock MIUI right? MIUI will automatically revert recovery back to the stock one. You have to install a custom rom to retain TWRP.
Never_Sm1le said:
You are using the stock MIUI right? MIUI will automatically revert recovery back to the stock one. You have to install a custom rom to retain TWRP.
Click to expand...
Click to collapse
Correct still using stock MIUI. Sadly, that means root and stock MIUI won't work at the same time.
andyyy1 said:
Correct still using stock MIUI. Sadly, that means root and stock MIUI won't work at the same time.
Click to expand...
Click to collapse
Although I never use stock MIUI, I think you can root normally. You don't need TWRP to maintain root.