Method 1:-
Download Custom Recovery for armani in your pc and rename it to recovery.img
and download root zip and paste it in your sdcard
Download 15 seconds adb & fast drivers and follow the instructions....
In pc type the following commands by opening cmd from shift+right click and open command prompt here after connecting the device to pc
Code:
adb devices
after successful install of drivers you will see the device listed in that
Code:
adb reboot bootloader
After rebooting into fastboot mode type the following commands
Code:
fastboot flash recovery recovery.img
after successful flashing of recovery then type this
Code:
fastboot reboot recovery
Flash SuperSU/Koush superuser in your TWRP/CWM/Philz recovery
Method 2:- Download Kingo ROOT and root
Method 3:- Download Kingo ROOT pc version in your pc and load it and connect your device to pc and root....
Method 4:- Download KingRoot and click to root....if it fails in first attempt, try atleast 5 times...
Yes these are indeed the best methods to root this phone.
Also, note that Magisk will not work for the stock MIUI because the phone has Android 4.4 and Magisk probably requires 5.0+. So, Magisk should be used for newer custom ROMs.
HemanthJabalpuri said:
I want to root my MIUI 9 armani in 2018.....
I don't have PC
Click to expand...
Click to collapse
Also, like you had said earlier, if you don't have a PC due to some reason, you can use another phone or tablet for that purpose (to flash the custom recovery). I've read somewhere that most Android devices having 5.0 and below came preloaded with adb fastboot binaries (for newer Android phones, you can easily obtain the binaries online and add them into the /system/bin folder if it is rooted) and hence you can connect your Redmi to this other device using an OTG cable and use the shell (any terminal app) to issue the commands. The only important thing to be considered in this approach is that the other (host) device should have a big enough battery to be able to provide sufficient current to the Redmi phone such that it should not get disconnected during the process.
This method is usually ignored by people, but it really works.
Reserved
Reserved
Code:
$ fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
Cannot issue the last command.
When I flash TWRP and reboot nothing happens. Same Mi Recovery is present.
I am on MIUI 9. Not rooted. I am trying to get a custom recovery but I fail. Please help.
blazzer12 said:
Code:
$ fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
Click to expand...
Click to collapse
Are you sure recovery was flashed properly?
Try this while in fastboot mode :-
Code:
fastboot devices
Make sure that your device is listed properly.
Try this
Code:
fastboot erase recovery
fastboot flash recovery <path to recovery img>
Then reboot using
Code:
fastboot reboot recovery
If still doesn't work out, try to directly boot into recovery image
Code:
fastboot boot <path to recovery img>
If still doesn't work out, then there might be a problem with the fastboot binary on the PC, try to reinstall the latest version of it on the PC and try again.
---------- Post added at 22:03 ---------- Previous post was at 21:55 ----------
blazzer12 said:
When I flash TWRP and reboot nothing happens. Same Mi Recovery is present.
Click to expand...
Click to collapse
If the issue is specific to TWRP Recovery, try to flash other recoveries. For example, older version of TWRP or maybe try Philz Touch recovery as well.
Yes, the fastboot devices is being listed. Still #2 didn't work. But #3 worked perfectly.
So for me flashing recovery didn't work. I had to temporarily boot into the recovery and then again flash the recovery from there.
Thank you for the help. :good:
Now we can root with Magisk too...
https://forum.xda-developers.com/ap...v7-universal-systemless-t3473445/post78829088
Note:- Magisk v22.1 is the last version to support Android 4.4.2
Related
Hello Yu Yureka fans!!!
This for the Yu Yureka fans who want to root the phone but don't want to miss OTA update by flashing custom recovery
In this thread i will tell you how to ROOT your Yu Yureka without flashing custom recovery.
This method will not flash custom recovery over stock recovery, this will just boot the custom recovery once just to flash the superuser.zip. so you will be back to stock recovery after flashing superuser.zip.
So lets get started...
Your Bootloader should be UNLOCKED
Files you need:
1. adb and fastboot drivers
2. A CWM recovery link (don't worry we wont flash it, it is just needed to install superuser.zip)
3. Superuser.zip link (save this in your sd card or internal memory)
Note: Keep recovery.img file in the same folder where adb and Fastboot drivers are placed and always open command window from that folder.
Connect your phone to pc via data cable
Steps:
1. Open command window (cntl+shift+right click)
2. Type
Code:
adb devices
if your device is connected you will get it in connected devices
3. Type
Code:
adb reboot-bootloader
4. Type
Code:
fastboot -i 0x1ebf boot recovery-yu.img
now your device will boot into recovery mode
5. Select install zip from sd and navigate where you have downloaded the superuser.zip and select install.
6. Done!!! Your device is rooted and you are still in stock recovery :good: you wont miss the OTA
To check if you are in stock recovery just reboot into recovery :good:
Hit thanks if this helped :good:
This isn't yours, You copied it from YuPlayGodForums, from DoomLord's post...
N'ayam Amarsh'e said:
This isn't yours, You copied it from YuPlayGodForums, from DoomLord's post...
Click to expand...
Click to collapse
First i am not a user of yuplaygod forums,
Second its not copied
Third you have no right to point at someone without any valid reason
Lastly stop spamming my post (read xda forum rules first you visit it here --> http://forum.xda-developers.com/announcement.php?f=3861)
@aashking
You can't boot the recovery image on locked bootloader; we have covered this fact already.
http://forum.xda-developers.com/showpost.php?p=58628082&postcount=12
Titokhan said:
@aashking
You can't boot the recovery image on locked bootloader; we have covered this fact already.
http://forum.xda-developers.com/showpost.php?p=58628082&postcount=12
Click to expand...
Click to collapse
@Titokhan yeah dude thanks for reminding i will update the OP :good:
Unable to get the 3rd command working. It keeps waiting for the device and the device reboots in normal mode. What am I doing wrong?
jitendragarg said:
Unable to get the 3rd command working. It keeps waiting for the device and the device reboots in normal mode. What am I doing wrong?
Click to expand...
Click to collapse
Reinstall ADB Drivers
adbdriver.com
N'ayam Amarsh'e said:
Reinstall ADB Drivers
adbdriver.com
Click to expand...
Click to collapse
Thanks, will check. Although I downloaded the drivers just today, so not sure, how it is not up to date. Anyway, will check it once I am home in 3 hours.
tried resintalling the drivers. didn't help. command prompt still keeps on waiting for device forever, while phone is in fastboot mode.
Edit:
If I cancel the third command, and check the list again, phone is not listed. Somehow, after rebooting into bootloader, phone stops the adb connection.
i am on twrp recovery can i flash this recovery on that and update the new ota?
please help
Tried fixing my oppo find 7
Did all those Fastboot wipe .
Fastboot flash recovery and flash LOGO and stuffs
but im still stuck on logo ... WHUT
kevzwenhao said:
Tried fixing my oppo find 7
Did all those Fastboot wipe .
Fastboot flash recovery and flash LOGO and stuffs
but im still stuck on logo ... WHUT
Click to expand...
Click to collapse
Did you unlock bootloader?
1. Connect the device to the computer through USB.
2. From a terminal on a computer, type the following to boot the device into fastboot mode (or restart pressing power+vol up):
Code:
adb reboot bootloader
3. Once the device is in fastboot mode, verify your PC sees the device by typing:
Code:
fastboot devices
4. From the same terminal, type the following command to unlock the bootloader:
Code:
fastboot oem unlock
If the device doesn't automatically reboot, reboot it from the menu. It should now be unlocked.
5. Then you can flash the recovery what you want. In fastboot mode, type in terminal:
Code:
fastboot devices
6. And flash the recovery. Type:
Code:
fastboot flash recovery your_recovery_image.img
Good luck
roi_xordo said:
Did you unlock bootloader?
1. Connect the device to the computer through USB.
2. From a terminal on a computer, type the following to boot the device into fastboot mode (or restart pressing power+vol up):
Code:
adb reboot bootloader
3. Once the device is in fastboot mode, verify your PC sees the device by typing:
Code:
fastboot devices
4. From the same terminal, type the following command to unlock the bootloader:
Code:
fastboot oem unlock
If the device doesn't automatically reboot, reboot it from the menu. It should now be unlocked.
5. Then you can flash the recovery what you want. In fastboot mode, type in terminal:
Code:
fastboot devices
6. And flash the recovery. Type:
Code:
fastboot flash recovery your_recovery_image.img
Good luck
Click to expand...
Click to collapse
Hi, is it wrong to wipe the system partition before flashing a custom rom? Coming from stock ColorOS, I've wiped all dalvik cache, cache, system, and data, then flash a custom rom but it ended up getting endless bootanimation unable to boot into the custom rom.
I did unlock the bootloader with the adb code, flashing a temporary recovery was a success but endless bootanimation happened after flashing a custom rom. The custom rom was successfully installed according to TWRP's log.
Pls advice, thanks in advanced
P.s: I was referring to my friend's device X9076
Hi, i tried in the past some roms than not works, phone stuck in boot animation. The roms wich works for me and my x9076 with r63419 are:
Omnirom (6 or 5) THE BEST
Project Spectrum
Cyanogen 13 (modified version for new panel: http://community.oppo.com/en/forum.php?mod=viewthread&tid=44907&extra=)
Miui
If you install CM13, you need to flash unified partition script for CM13 (you can find it in the same post from the forum Oppo Community)
For the other roms i dont need to flash anything else than rom and gapps.
Now i give a chance to CM13, but i think that i will get back to Omni if developers dont fix the mobile radio issue.
Cheers
Can anyone guide me please, 1st time i bought MTK phone Oppo F7, its update automatically but suddenly dead like stuck on logo and restarting again and again, i didnt ever flash MTK phone, neither i have any android tool like MRT dongle or any other flash USB or Box... Kindly guide me step by step how to flash with which tool only USB cable and PC... Thanks in advance
This is a basic guide to flash a rom via recovery in Mi A3 as title says.
Is created to help all those that want but can't.
Please read before act, and if you don't understand....well read again.
Mi A3 is a device with treble support, and while is not difficult to flash a rom,is a little bit tricky process.
So here are the detailed steps to do achieve that.
First things first, you've got to have your bootloader unlocked. Follow below steps to do that:
-Enable developer options by going to settings/about phone and clicking 5 times on build number.
Inside developer options:
-Find and enable OEM unlocking.
-Find and enable USB debugging.
In adb tools type:
-
Code:
adb devices
reboot to bootloader.
-
Code:
adb reboot bootloader
Unlock bootloader(you will lose all your data).
Code:
fastboot flashing unlock
When the device reboot, boot once again in fastboot by powering off then power on while pressing vol down button.
Type command to full unlock bootloader.
Code:
fastboot flashing unlock_critical
Proceed to recovery flash
Notice that you've got to have all files ready, either inside external sd or in your pc. All files are at the end of this thread as links or attachments.
Also i'm suggesting OrangeFox recovery for now because is the most stable.
-First you following the orangefox recovery installation guide:
- Download the OrangeFox zip file from here or the link at the end and copy it to your device (internal or external storage)
- Extract the recovery.img from the zip and store it, on the folder where you have adb and fastboot files, on your PC
- Open a cmd line and execute these commands (being on that folder, of course):
-
Code:
adb devices
(to make sure your device is detected)
-
Code:
adb reboot bootloader
(to reboot into fastboot mode)
-
Code:
fastboot getvar current-slot
(to check what's your current active slot)
-
Code:
fastboot set_active b
(if your active slot was a, if it was b then change it to a)
-
Code:
fastboot erase boot
-
Code:
fastboot flash boot recovery.img [b](OR WHATEVER NAME YOUR RECOVERY HAVE)[/b]
-
Code:
fastboot reboot
(NOTE : Before hitting "Enter", long press Vol + on your device until you see the Android One logo.
-->> By doing this your device will be forced to boot into Recovery and not into System <<--
- Install the OrangeFox zip (always install the latest build available and always keep a copy of recovery zip file in your external sd)
- Change slot to the one that was active on the beginning of these steps and reboot to Recovery (just to make sure that the slot, in fact, was changed)
After orangefox recovery is installed, you are ready to flash your rom.
You can move your rom files inside your external or internal memory(prefer external to avoid deleting them accidentally).
To do that you can either do it before the whole procedure, or after the recovery installation since you have mtp and adb available.
Copy them drag them or push them via adb(i'm not going to extend the adb push command here)
Now the flashing steps:
-Go to partition manager inside orangefox recovery and select data/format data(red button) and press format.Type YES.
-Go back and find the rom file inside your target directory(internal or external).
-Select the rom file and flash it.
-DO NOT REBOOT.
-Go back where you have the orangefox zip file, select it and flash it.
-Leave the device as is because after the installation it will reboot itself to recovery once again.
-Once the recovery starts again go to the target folder that you have the remaining files.
-Flash magiskV20.zip (if you want your device to be rooted).
-Flash Gapps if there are any or skip this step if your ROM provider have them included.
-Flash patchnofde10 zip to avoid data encryption(if you don't do that the rom will NOT boot).
-Reboot to system and enjoy.
All files are available to the links below.
Patchnofde file is attached to this post.
I'm not responsible if you cause a nuclear war or your cat or dog stop talking to you.
Credtits to:
Orangefox recovery team https://orangefox.tech/
Orangefox recovery dev for Mi A3 https://forum.xda-developers.com/mi-a3/development/official-orangefox-recovery-mi-a3-t3986177
Topjohnwu for the Magisk and Magisk manger https://******************/
XDA Forum because they exist
All devs that put some hard work for you to have a custom recovery and a custom rom and all they hear is questions about ho to do things.
Respect them and read before post a questions.
:angel::angel::angel:
Thanks for the detailed guide, always good to have it :good: :good:
my device is encrypted and if I boot a recovery it shows the data encrypted. How to remove encryption ?
drozo8o8 said:
my device is encrypted and if I boot a recovery it shows the data encrypted. How to remove encryption ?
Click to expand...
Click to collapse
Read it first then do it.
Patchnofde is for the encryption.
sotmax said:
Read it first then do it.
Patchnofde is for the encryption.
Click to expand...
Click to collapse
nvm I think I got it
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Is there support for Android backup and restore
Please tell steps for the same also
As it is not working for me
Mobile is Booting to recovery again after restoring backup
ReekyMarko said:
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Click to expand...
Click to collapse
Okay I got it to boot to Havoc OS but my wifi and gsm calls stopped working. Also videos were flashing during playback. I guess I was doing something wrong during the whole flashing process and the device ended up without the correct firmware.
I have reverted back to stock using one of the fastboot ROM flashing scripts and everything is fine, though I would like to go Android 10 without GAPPS if possible.
Thank you very much for the guide. Do you recommend any backup with orange box? If I want to revert to stock rom, do I need to know something?
How could I update the ROM?
darkjm93 said:
Thank you very much for the guide. Do you recommend any backup with orange box? If I want to revert to stock rom, do I need to know something?
Click to expand...
Click to collapse
You can go back to stock by flashing stock image with mi flashtool
ReekyMarko said:
Can anybody please help? I just bought this phone and followed this guide to the letter. The phone just boots back into recovery, whatever ROM I flash.
Click to expand...
Click to collapse
That's because you didn't follow it to the letter.
You have to flash Patchnofde to boot to rom.
vishwadeepmanu said:
Is there support for Android backup and restore
Please tell steps for the same also
As it is not working for me
Mobile is Booting to recovery again after restoring backup
Click to expand...
Click to collapse
Same as above.
If you don't flash patch for the encryption, you ll end up to recovery again. Also I recommend to read carefully the steps with the recovery flashing. You have to be sure that the slot is what it was at the beginning.
A out the Android backup, yes. You can take and restore backups freely.
Hello,
@sotmax
Thank you for your guide.
@ANyOne i have unlocked the bootloader, but after that, when i'm in fastboot mode, i'm not being detected by the adb devices command. Any idea why ?
mkpanic said:
Hello,
@sotmax
Thank you for your guide.
@ANyOne i have unlocked the bootloader, but after that, when i'm in fastboot mode, i'm not being detected by the adb devices command. Any idea why ?
Click to expand...
Click to collapse
Because ADB and fastboot are different modes and using different commands. In fastboot use "fastboot devices".
_mysiak_ said:
Because ADB and fastboot are different modes and using different commands. In fastboot use "fastboot devices".
Click to expand...
Click to collapse
Thank your for the answer.
If I only want to root the stock installing Orange, this guide works?
fastboot set_active command is not working...only fastboot options are displayed..Any solution?
sibikallikkat said:
fastboot set_active command is not working...only fastboot options are displayed..Any solution?
Click to expand...
Click to collapse
fastboot --set-active=a
fastboot --set-active=b
hi, i followed the guide to flash los17 with BiTGApps.
I also flashed the nofde patch. The phones boots normaly but i have no access to internal storage. All the folders have random numbers and letters. Any ideas?
Code:
*** Disclaimer ***
All flashing is done at your own risk!
While nothing from this thread should break your device,
don't come back here blaming anyone if it does!
Introduction
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and
customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to
mash. The GUI is also fully XML driven and completely theme-able. You can change just about
every aspect of the look and
Click to expand...
Click to collapse
Prerequisites:
Code:
. Unlocked Bootloader
Installation instructions:
Recovery Install Method:
Simply download the TWRP-3.7.0_12-0 from twrp website and boot it using fastboot mode, steps are mentioned below
Fastboot Boot Method:
You will need the platform-tools from the Android SDK on your computer. Download only the platform-tools according to your device to get adb and fastboot binaries.
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type
Code:
adb reboot bootloader
You should now be in fastboot mode.
Download the twrp boot image from the link given below, and copy twrp.img file into the same folder as your adb and fastboot binaries and type:
Code:
fastboot boot twrp.img
You will be booted to TWRP, from there go to advanced and then click on "Flash Current TWRP"
REMEMBER: if the device waspreviously rooted, then root has been overwritten, you need to flash the magisk zip again to retain root
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Device Changelog
Version:3.7.0_12-0:
Initial Official Release
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads
Official TWRP Website
My Telegram TWRP Support Group:
https://t.me/pocof4_recoveriesCredits:
- TWRP Team
Sources
TWRP: https://github.com/TeamWin/android_bootable_recovery
Device Tree: https://github.com/TeamWin/android_device_xiaomi_munch
Kernel Tree: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/munch-s-oss
Status: Stable
TWRP: 3.7.0_12
reserved 1
reserved 2
Build will be live on twrp.me soon
Wow nice!
Build is live
Decrypting working? Will working on future Android 13 with decrypting? I know that dev received Android 13 already
Yes decrypting working fine, even on Android 13
When I updated yesterday, I immediately flashed it without losing data. For today's update, why doesn't it turn on, you have to turn on the new data format, is there the same or a solution
Can I just boot it with fastboot and flash Magisk flashable file in order to root the phone?
I have seen videos on youtube showing exactly that, just wanted to make sure it's doable.
Just want to root the phone, do not intend to flash any rom (yet).
dreamdrake said:
Can I just boot it with fastboot and flash Magisk flashable file in order to root the phone?
I have seen videos on youtube showing exactly that, just wanted to make sure it's doable.
Just want to root the phone, do not intend to flash any rom (yet).
Click to expand...
Click to collapse
If you already have your magisk_patched.img, you can choose which method you want:
1. with Fastboot + TWRP (temporary)
fastboot boot [drag and drop recovery.img]
flash your magisk_patched.img in boot partition + check "Flash to both slots"
reboot to system
2. only Fastboot
fastboot flash boot_a [drag and drop magisk_patched.img]
fastboot flash boot_b [drag and drop magisk_patched.img]
fastboot reboot
What if I would "fastboot boot TWRP.img" and then flash Magisk flashable version checking "flash to both slots"?
dreamdrake said:
What if I would "fastboot boot TWRP.img" and then flash Magisk flashable version checking "flash to both slots"?
Click to expand...
Click to collapse
When you check "Flash to both slots" TWRP will flash the makisk_patched.img to boot_a and boot_b.
I'm not sure, but if you don't check the box, TWRP will maybe flash to inactive slot and you are NOT rooted.
Edit: You can check which slot is active with adb shell getprop ro.boot.slot_suffix
Is it possible to make a backup of the installed rom with relative restore using this official twrp? If yes, which files to select
ok... i can't access to internal storage via pc. I formated data (type yes), rebooted to recovery again and my pc sees internal storage but there is no info about size and i can't copy files to it. It shows message something like "this device is disconnected". I tried to reinstall adb drivers, tried to restart my pc and it's not working. I used adb sideload to falsh ROM and after i booted to ROM, rebooted to recovery I can access internal storage via TWRP.
Runs super laggy with kernel compiled with gcc which is very strange and annoying.
Can't access storage with PC... Disabled and enabled MTP multiple times...
I had to flash ROM via OTG...
⚠Warning: This is not official TWRP, use it at your own risk!!!
Data will be erased. Back up if neccessary
This device is kind of weird so to flash twrp you need these things:
1. Prepare materials
Install driver so as to have access to preloader (Just install automatically and no need to do anything in device manager)
This software to access to preloader -> fastboot (fastboot is somehow not available via adb methods) Enter fastboot
This tool for flashing
2. Unlock bootloader (need testpoint, python, git (optional) - you can search on google)
Use this tool - go to this section. Follow guides to unlock bootloader (remember to use testpoint not hardware buttons)
3. Enter fastboot mode
Use latest MTK META Ultility tool
Select Reboot Fastboot Mode in BRom section
Hold volume down button. While holding connect it to your computer
*Now your phone is in fastboot mode4. Flash
Open platform-tools folder in Downloads folder
Shift + Right click then "open command window here"
Input these commands into cmd
fastboot flash boot drag twrp file to cmd
fastboot flash recovery drag twrp file to cmd.
fastboot reboot. Swipe to allow modification in twrp (to make sure that stockboot wont replace twrp). After that reboot to recovery to make it installed on your device permanently.
Now your recovery is ready to flash file you can push stock image file to your root folder using adb command: "adb push. Drag the stock image file. /" (Because Decryption right now doesnt work on my device yet)
Enjoy
*Sounds crazy but it is required to make sure twrp is installed correctly*If successful, when you power on, you will get a red section on top of your device. If you want to recover to stock recovery, flash the recovery.img below.*Also, if you want to make your own twrp, you can try recovery.img below.
Also thanks SebaUbuntu and Mofadal El-Tayeb (مُفَضَّل) for awesome apps
Here is the PBRB version for this device
Hey I'm stuck in the third step.can you please help me?
Sorry for late reply. What problems do you have?
Is this the stock boot image you provided?
SAMIUL ISLAM 0 said:
Is this the stock boot image you provided?
Click to expand...
Click to collapse
Yes it is. I took it from OTA update
Hey friends
I want to upgrade my oppo a 83 fone to a costum rom to upgrade my androide to android 8 or higher
mahmoud2503 said:
Hey friends
I want to upgrade my oppo a 83 fone to a costum rom to upgrade my androide to android 8 or higher
Click to expand...
Click to collapse
Unfortunately, I have no custom roms available for this phone (