Related
After failing some 1-click rooting methods, for the first time I tried to do it the hard way.
That turned out to be a pretty easy way thanks to some handy links to drivers and other files I found.
Infinity thanks to the thread I found platform-tools from and the website called "getdroidtips" for the Custom TWRP for the HS2.
NOTE: THIS GUIDE WILL WIPE YOUR DEVICE SO BE PREPARED
Standard warning: FOLLOW THIS GUIDE AT YOUR OWN RISK. REMEMBER, AS PER MY NAME I AM A TOTAL NUB. I DO NOT TAKE RESPONSIBILITY FOR YOUR PHONE MALFUNCTIONING, BRICKING, BLOWING UP OR DROWNING IN COOKING OIL (rip my Elephone S7)
Pastebin code for missing links: F2RGqM1A
1) Preparation
Download the latest Flashable.Zip from [ ]
Place SuperSu.zip in your sd card or internal storage
Enable Developer Options by going to Settings -> "About Phone" -> Click "Software Version" 7-8 times
Go to developer Options in Settings
Enable OEM Unlocking
Enable USB Debugging
Shutdown your phone by holding the power button
Boot into fastboot by holding the Volume Up key + Power Button
Press Volume Down key to get into fastboot
2) On your Windows PC:
Download the file from [ ] and extract the platform-tools folder (I extract to "D:\Downloads" in this example)
Download the Custom TWRP from [ ] and place it inside the platform-tools folder
Connect your device to your computer
press Win+R, type cmd and press enter
2.1) (not always needed)
If your device won't connect or the steps below don't work, try updating drivers:
Connect your phone while it's in fastboot
open start menu, search and open Device Manager
check inside Portable Devices or Android Devices for your phone's name
or look for Android Bootloader Interface
if it's not there, it might be named something else, with an icon that has a yellow triangle inside it.
Right click it, Update Driver
> Browse my computer for driver software
> Let me pick from a list of available drivers on my computer
> select Android Bootloader Interface
to check if you are connected, type "fastboot devices" in cmd and you'll see a device code
3) Unlocking Bootloader
In cmd, enter the following commands:
Code:
D:
cd D:\Downloads\platform-tools
fastboot oem unlock-go
THIS STEP WILL WIPE YOUR DEVICE DATA
wait for restart
4) Booting into TWRP
Go to device Settings again and ensure OEM Unlocking and USB Debugging are still Enabled. Reboot into fastboot.
In cmd:
Code:
fastboot boot twrp-3.1.1-0-20171128-UNOFFICIAL-HS2.img
(In case above cmd line doesn't work, type "fastboot boot twrp" and press Tab)
5) Backing up your rom and data (Optional but recommended)
Inside TWRP, Click Backup, tick everything, select desired directory and swipe to backup.
Reboot and follow step 5 again if needed
6) Installing SuperSU with root privileges
Inside TWRP, Click Install and select SuperSU.zip
Swipe to install and reboot
Enjoy
Please port miui 9 or lineage os 15 for micromax canvas infinity hs2
NubbyMcNubNub said:
After failing some 1-click rooting methods, for the first time I tried to do it the hard way.
That turned out to be a pretty easy way thanks to some handy links to drivers and other files I found.
Infinity thanks to the thread I found platform-tools from and the website called "getdroidtips" for the Custom TWRP for the HS2.
NOTE: THIS GUIDE WILL WIPE YOUR DEVICE SO BE PREPARED
Standard warning: FOLLOW THIS GUIDE AT YOUR OWN RISK. REMEMBER, AS PER MY NAME I AM A TOTAL NUB. I DO NOT TAKE RESPONSIBILITY FOR YOUR PHONE MALFUNCTIONING, BRICKING, BLOWING UP OR DROWNING IN COOKING OIL (rip my Elephone S7)
Pastebin code for missing links: F2RGqM1A
1) Preparation
Download the latest Flashable.Zip from [ ]
Place SuperSu.zip in your sd card or internal storage
Enable Developer Options by going to Settings -> "About Phone" -> Click "Software Version" 7-8 times
Go to developer Options in Settings
Enable OEM Unlocking
Enable USB Debugging
Shutdown your phone by holding the power button
Boot into fastboot by holding the Volume Up key + Power Button
Press Volume Down key to get into fastboot
2) On your Windows PC:
Download the file from [ ] and extract the platform-tools folder (I extract to "D:\Downloads" in this example)
Download the Custom TWRP from [ ] and place it inside the platform-tools folder
Connect your device to your computer
press Win+R, type cmd and press enter
2.1) (not always needed)
If your device won't connect or the steps below don't work, try updating drivers:
Connect your phone while it's in fastboot
open start menu, search and open Device Manager
check inside Portable Devices or Android Devices for your phone's name
or look for Android Bootloader Interface
if it's not there, it might be named something else, with an icon that has a yellow triangle inside it.
Right click it, Update Driver
> Browse my computer for driver software
> Let me pick from a list of available drivers on my computer
> select Android Bootloader Interface
to check if you are connected, type "fastboot devices" in cmd and you'll see a device code
3) Unlocking Bootloader
In cmd, enter the following commands:
THIS STEP WILL WIPE YOUR DEVICE DATA
wait for restart
4) Booting into TWRP
Go to device Settings again and ensure OEM Unlocking and USB Debugging are still Enabled. Reboot into fastboot.
In cmd:
(In case above cmd line doesn't work, type "fastboot boot twrp" and press Tab)
5) Backing up your rom and data (Optional but recommended)
Inside TWRP, Click Backup, tick everything, select desired directory and swipe to backup.
Reboot and follow step 5 again if needed
6) Installing SuperSU with root privileges
Inside TWRP, Click Install and select SuperSU.zip
Swipe to install and reboot
Enjoy
Click to expand...
Click to collapse
Hi please help me, after flashing recovery my phone is on bootloop now, what do i do
Hem97 said:
Please port miui 9 or lineage os 15 for micromax canvas infinity hs2
Click to expand...
Click to collapse
I wish I could.
Sudhangshu said:
Hi please help me, after flashing recovery my phone is on bootloop now, what do i do
Click to expand...
Click to collapse
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
NubbyMcNubNub said:
I wish I could.
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
Click to expand...
Click to collapse
Hi, "flashboot boot twrp" wasnt working at all, so i tried "flashboot flash twrp" and all i have is a bootloop. So after flashing recoveru i booted my phone to fastboot and run the command, " flashboot boot recovery recovery.img" where recovery is the custom recovery image and it booted into recovery. Then there is one more step to do that allowed me to finally boot into my os. Its working fine and i still have twrp installed on my phone
---------- Post added at 06:53 PM ---------- Previous post was at 06:49 PM ----------
NubbyMcNubNub said:
I wish I could.
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
Click to expand...
Click to collapse
Btw i dont find any pastebin links, im sorry im just a noob too..... Lol
Want custom rom for Qmobile Qinfinity
I want a custom rom for Qmobile Qinfinity.
Because its own rom lags and does not have full features. Please give the rom like lineage os,RR,Or Stock
Please Help?:good:
hi bro,recently i just buy a new phone which is micromax canvas infinity.i have rooted my phone successfully,but there are no custom roms available for this phone.can you develop any custom rom for this phone?that will be very helpful...
BASIC FLASHING GUIDE BY BHAGYESH RANE.
UNLOCKING PROCEDURE:
Unlock bootloader required. To do so, Go to Settings, About Phone, and tap of Build Number 7 times.
After that go back and go to Settings, System, Developer Options, and enable Oem Unlocking.
After that, Long press vol- and power to enter fastboot mode.
Enter these two commands for unlocking (read NOTE):
- fastboot flashing unlock
- fastboot flashing unlock_critical
NOTE: All your data will be lost, so keep your backup somewhere other than your Mi A3.
FLASHING PIXEL EXPERIENCE:
After you have unlocked the bootloader, download the Pixel.7z file and extract it in a folder.
After that, enter fastboot again by long pressing volume down + power.
Open Cmd-here file and enter these commands one by one. Wait for each command to execute successfully.
fastboot set_active a
fastboot erase boot
fastboot erase system
fastboot flash dtbo dtbo.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot recovery.img.img
fastboot reboot -> After you enter this command, press volume up + button to boot into TWRP recovery.
After you enter TWRP Recovery,
- Go to Wipe, select Format Data and Type yes to format.
- Go back and go to Reboot, Select Recovery, select do not install.
- keep your phone connected during this, Again in the same Command Prompt, Type following commands:
1. adb push boot.img /sdcard
2. adb push recovery.zip /sdcard
3. adb push patch_no_fde10.zip /sdcard
- Now, go to install, select image, select boot.img, select boot and swipe to flash.
- then again go to install, select recovery.zip and swipe to flash
- then again go to install, select patch_no_fde10.zip, swipe to flash
- then Go to Wipe, select Format Data and Type yes to format.
- Go back and go to Reboot, Select system, select do not install.
now hopefully you will boot to the AMAZING PIXEL EXPERIENCE ROM.
link for files - https://mega.nz/#!V2QHwK6A!Wol5iP3zwPhVhrQ_7kkHk-3Htb3CkzV49TBFc0VO0F0
I'm stuck since I can't upload any files because adb doesn't detect any devices while on TWRP. I've disabled and re-enabled MTP and mounted every partition but still no luck. It's a brand new MI A3: I just switched on, unlocked bootloader and tried to install PE.
EDIT: I solved the problem. If someone has the same problem these are the steps I followed:
- disconnect the usb cable while on TWRP
- on TWRP go to Mount
- tap on Disable MTP
- go back to Reboot
- Reboot to Recovery
- Re-enable MTP and connect the usb cable
yossarian82it said:
I'm stuck since I can't upload any files because adb doesn't detect any devices while on TWRP. I've disabled and re-enabled MTP and mounted every partition but still no luck. It's a brand new MI A3: I just switched on, unlocked bootloader and tried to install PE.
EDIT: I solved the problem. If someone has the same problem these are the steps I followed:
- disconnect the usb cable while on TWRP
- on TWRP go to Mount
- tap on Disable MTP
- go back to Reboot
- Reboot to Recovery
- Re-enable MTP and connect the usb cable
Click to expand...
Click to collapse
Try to install from platform tools, not from minimal adb. Download Platform tools for windows and try again.
any others mirros???
Booted to pe rom but nothing seems to work. Everytime i try to click inside settings phone get stucks. And hangs and then reboot itself
Why do i need twrp if I'm gonna flash from flshboot
Arkapravoarka said:
Why do i need twrp if I'm gonna flash from flshboot
Click to expand...
Click to collapse
If you want to root. To flash magisk
Can flashing be done through fastboot mode only??
Becoz im facing issue like signal 4 error in twrp while flashing rom. So, can i flash pixel experince via fastboot mode?
BhagyeshGamer said:
BASIC FLASHING GUIDE BY BHAGYESH RANE.
UNLOCKING PROCEDURE:
Unlock bootloader required. To do so, Go to Settings, About Phone, and tap of Build Number 7 times.
After that go back and go to Settings, System, Developer Options, and enable Oem Unlocking.
After that, Long press vol- and power to enter fastboot mode.
Enter these two commands for unlocking (read NOTE):
- fastboot flashing unlock
- fastboot flashing unlock_critical
NOTE: All your data will be lost, so keep your backup somewhere other than your Mi A3.
FLASHING PIXEL EXPERIENCE:
After you have unlocked the bootloader, download the Pixel.7z file and extract it in a folder.
After that, enter fastboot again by long pressing volume down + power.
Open Cmd-here file and enter these commands one by one. Wait for each command to execute successfully.
fastboot set_active a
fastboot erase boot
fastboot erase system
fastboot flash dtbo dtbo.img
fastboot flash system system.img
fastboot flash vbmeta vbmeta.img
fastboot flash boot recovery.img.img
fastboot reboot -> After you enter this command, press volume up + button to boot into TWRP recovery.
After you enter TWRP Recovery,
- Go to Wipe, select Format Data and Type yes to format.
- Go back and go to Reboot, Select Recovery, select do not install.
- keep your phone connected during this, Again in the same Command Prompt, Type following commands:
1. adb push boot.img /sdcard
2. adb push recovery.zip /sdcard
3. adb push patch_no_fde10.zip /sdcard
- Now, go to install, select image, select boot.img, select boot and swipe to flash.
- then again go to install, select recovery.zip and swipe to flash
- then again go to install, select patch_no_fde10.zip, swipe to flash
- then Go to Wipe, select Format Data and Type yes to format.
- Go back and go to Reboot, Select system, select do not install.
now hopefully you will boot to the AMAZING PIXEL EXPERIENCE ROM.
link for files - https://mega.nz/#!V2QHwK6A!Wol5iP3zwPhVhrQ_7kkHk-3Htb3CkzV49TBFc0VO0F0
Click to expand...
Click to collapse
i want to flash another custom kernel but after flashing pixel experience 4 custom rom my device is not rooted . and i m unable to fastboot the device . it shows qualcom flashdump mode. please help!!!
[Guide] Root Pixel 4a (5G) with Magisk + Unlock Bootloader + Pass SafetyNet + More
Android Security Bulletin—June 2023
Pixel Update Bulletin—June 2023
Introduction
This Guide is for Pixel 4a 5(G) owners that want to Root their phone, and enjoy the benefits of rooting it. The Guide is divided into three parts: Information, Instructions, and Other.
~ ~ ~ Part I - INFORMATION ~ ~ ~
Disclaimer
I assume no responsibility for the malfunctioning/bricking of your phone.
If you choose to use a Custom Kernels, Custom ROM, etc. You should read the Installation Instructions in their thread before using this guide or attempting to install them. Additionally, the order of listed items i.e., Custom Kernels, Custom ROMS, etc. Does not indicate my preference for them. It is your responsibility to do the research before selecting them.
Prerequisites
A Pixel 4a 5(G) phone with an unlocked bootloader.
The latest Android Factory or OTA Image: "bramble" for Pixel 4a 5(G)
Factory Image
13.0.0 (TQ3A.230605.011, Jun 2023)
Which one should I use?
OTA Image
13.0.0 (TQ3A.230605.011, Jun 2023)
Which one should I use?
A Computer with the latest working SDK Platform-tools 33.0.3 installed.
Important Notes:
a. Before installing SDK Platform-tools, check for older versions of fastboot on your computer: Open a Command prompt and type fastboot --version at the prompt. If a adb/fastboot is found delete the folder containing them. Also, check the path environment for paths to them and remove it.
b. Update Platform Tools, regularly, for optimal performance.
c. Need Google's USB Drivers for your Pixel Phone?
NEW
Both Slots Bootable
@badabing2003 has found a way to Have both slots bootable.
He has automated the procedure and added it to PixelFlasher.
@Lughnasadh tested the Both Slots Bootable procedure on his Google Pixel 7 Pro and Google Pixel 6 Pro phones: It works!
Android 14 Beta are up.
Builds are only available for the following Pixel devices:
Google Pixel 4a5(G)
Google Pixel 5 and 5a
Google Pixel 6 and 6 Pro
Google Pixel 6a
Google Pixel 7 and 7 Pro
* * * 64-bit-only system images * * *
Google Pixel 4a (5G)
Google Pixel 5
Google Pixel 6
Google Pixel 6 Pro
Android 14 GSI binaries and release
Pixel 4a5(G)
Pixel 5 and 5a
Pixel 6 and 6 Pro
Pixel 6a Pro
Pixel 7 and 7 Pro
Update(s)
Factory/OTA Images - 13 June
Android 14 DP
Factory images and OTA images
Android 14 GSI binaries and release
Magisk Alpha - app-release_709f25f6-26101.apk 12 Apr
Magisk Beta - Magisk v26.1.apk 11 Apr
Magisk Canary - app-release_a8c4a33e-26103.apk 23 Jun
Magisk Cygisk - Click Pages 5 for installation Instructions.
Magisk Delta -
app-release
Magisk Stable - Magisk v26.1.apk 11 Apr
SafetyNet - Displax's SafetyNet Fix, v2.4.0-MOD_1.3 17Jun
SDK Platform-tools 33.0.3 Aug 2022
Custom Kernels
a. Google Pixel 4a5(G) ROMs, Kernels, Recoveries, & Otherb. ElementalX Kernel Manager
My Other Guides
Pixel 7 Pro
Pixel 6
Pixel 5
Pixel 4 XL
Pixel 3 XL
Pixel 1 XL
Credits/Thanks/Recognitions
@creezalird- Flash Android 12 factory image.
Those I may have, inadvertently, forgotten.
~ ~ ~ Part II - INSTRUCTIONS ~ ~ ~
(The Instructions listed below are not steps, they are individual sets of instructions.)
Unlock Bootloader/Return Phone to Stock/Lock Bootloader
Unlock Bootloader
Notes:
This will erase all user data from the device!
Backup your data
Activate Developer Options: Tap Settings > About Phone > Tap Build Number 7 times or until you see you are a Developer. Tap back > System > Advanced > Developer Options. Enable OEM Unlock and, USB Debugging.
Boot fastboot mode
Connect the phone to the Computer with USB cord.
Open a Command Prompt on your computer and type fastboot flashing unlock and press enter.
You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
Allow the process to complete and then type fastboot reboot at the Command Prompt and press enter.
When your phone reboots disconnect your usb cable.
Notes:
After unlocking your bootloader, you'll see a warning: The bootloader is unlocked and... You will see this warning until, you relock the bootloader.
Do not relock your bootloader until you have returned the device to Stock.
Return Phone to Stock
Backup your data/Internal storage
Use the Android flash tool:
select Wipe => Force Flash Partitions => Lock Bootloader.
Lock Bootloader
If your phone is not 100 percent stock do Return Phone to Stock. If you don't you may brick your phone.
This will erase all user data from the device!
Boot fastboot mode
Open a Command Prompt in the SDK Platform- tools folder, and type this at the Prompt: fastboot flashing lock
You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
Allow the process to complete, then type this at the Command Prompt: fastboot reboot
Enable Developer Options: Settings > About phone > Tap Build number 7 times or until you see 'you are a developer'.
Tap Back > Developer options and toggle OEM Unlock off.
Manually Install/Update Factory Image keep data or wipe data
Important Note(s):
If you haven't updated your phones Factory image in awhile. It is not necessary to flash all the missed images in succession. Flash the latest Factory image.
If you are uncomfortable manually flashing the factory image. Try PixelFlasher by badabing2003.
If your phone was previously rooted, open Magisk manager and disable all Magisk modules. If you hid the Magisk manager app the default name for the hidden Magisk app is settings.
If you want to Upgrade to Android 13 or update the Factory Image without wiping your phone: Do Flash the Factory Image Keep Data (below).
Always verify you have the latest working version of SDK Platform-Tools installed on your computer before installing the Factory Image: Pixel 4a 5(G) - bramble.
If you get an error: while flashing, try one of these options:
Change the USB port to a non charging USB port.
Change the USB cord.
Change Computers.
If you phone bootloops
Press the Power button until the phone turns off.
Press the Power and Volume Down to boot the bootloader.
Open a Command Prompt in the SDK-Platform-tools folder or the folder that has adb.exe in it, and type adb wait-for-device shell magisk --remove-modules
Then type: fastboot Reboot
Backup your data
Download the latest Factory Image: Pixel 4a 5(G) - bramble to your Computer.
Go to Part II - INSTRUCTIONS => 4. Extract Files from the FactoryImage/Flash boot.img and extract the flash-all.bat file.
Flash Factory Image Keep Data
Upgrading Android 13
* E D I T - flash-all.bat file *
Flash to current/Active Slot.
@Echo off
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot flash bootloader bootloader-bramble-a9-9.9-9999999.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-bramble-a9999a-999999-999999-a-9999999.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot update image-bramble-tp1a.999999.999.zip
Note:The -w is removed to Keep Data.
echo Press any key to exit...
pause >nul
exit
Note: It is a good idea to flash the Google factory image to both slots (A & B) when Upgrading to a new Android Version.
See Flash Other Slot bat file... below, to flash to the other/inactive slot.
* * * * E N D - Edit * * * *
Updating Android 13
Flash to Other/Inactive Slot.
Note: See Flash Other Slot bat file... below.
* * * * * E N D * * * * *
Flash Other Slot bat file - Save as flash-other.bat
Note: To run this file type flash-other at the Command Prompt.
ECHO OFF
PATH=%PATH%;"%SYSTEMROOT%\System32"
echo This is the slot you are currently on.
fastboot getvar current-slot
echo Press any key to continue...
pause >nul
fastboot --set-active=other
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
echo This is the slot you switched to.
fastboot getvar current-slot
echo Press any key to continue...
pause >nul
flash-all
exit
* * E N D - Creating File * *
After, you have edited the flash-all.bat file. Copy/Move these files to the [U[Platform-tools[/U] folder:
bootloader-bramble-....img
flash-all.bat
image-bramble-....zip
radio-bramble-....img
On your phone: Boot the bootloader (Power off the phone => Press the Power and Down buttons until you see Start)
Connect your phone to the computer.
Open a Command Prompt on your computer in the Platform-tools folder and type: flash-all at the Command Prompt and press enter.
The phone will reboot when flashing is complete.
Go-to Part II - INSTRUCTIONS => 5. Root/Reroot with Magisk and Pass SafetyNet, • Patching the boot.img - to root/reroot.
Flash Factory Image Wipe Data
This will wipe your phone's Data/Internal Storage.
Do not edit the flash-all.bat file.
If you need to disable Verity and Verification: See Disabling Verity and Verification below.
Disabling Verity and Verification
* E D I T - flash-all.bat file *
@Echo off
PATH=%PATH%;"%SYSTEMROOT%\System32"
fastboot --set-active=other
fastboot reboot-bootloader
fastboot flash bootloader bootloader-bramble-aaaaaa-9.9-9999999.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash radio radio-bramble-a99999-999999-999999-a-9999999.img
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot - w update --disable-verity --disable-verification image-bramble-AA1A.999999.999.A9.zip
echo Press any key to exit...
pause >nul
exit
Notes:
The first time you Disable Verity and Verification it will wipe your Data/Internal Storage.
When doing Subsequent updates and disabling Verity and Verification, the -w flag can be removed to Keep Data.
Once you start Disabling Verity and Verification you should continue doing it. If you skip disabling one time. The next time you Disable Verity and Verification it will wipe your phone.
Some kernels require Disabling verity and verification
To flash both slots (A & B partitions) see Flash Other Slot bat file... above.
* * * * E N D - Edit * * * *
Open the folder you extracted the Factory Image to and Copy/Move these files to the Platform-tools folder:
bootloader-bramble-....img
flash-all.bat
image-bramble-....zip
radio-bramble-....img
On your phone: Boot the bootloader (Power off the phone => Press the Power and Down buttons until you see Start)
Connect your phone to the computer.
Open a Command Prompt on your computer in the Platform-tools folder and type: flash-all at the Command Prompt and press enter.
The phone will reboot when flashing is complete.
Setup phone
Enable Developer Mode and USB Debugging
Setup => About phone => Tap Build number 7 times or untill you see you are a 'Developer'.
Setup => System => Developer options => Enable Developer options => enable USB Debugging
Go-to Part II - INSTRUCTIONS => 5. Root/Reroot with Magisk and Pass SafetyNet, • Patching the boot.img - to root/reroot.
(NEW) Make Both Slots Bootable: Manually, Flash the OTA Image to Both Slots - One bootable and rooted, the other slot bootable without root.
Before you start
Backup your data
Make sure that there is no pending OTA update, by going to Settings > About phone > System updates, which should say Your system is up to date.
Download the latest Factory and OTA image for your device.
Verify the checksum of the Factory and OTA image. The last portion of the filename is the first 8 digits of its SHA-256 checksum; the full SHA-256 checksum is shown next to the download link.
Extract the boot.image from the Factory image:
Extract the Factory Image file that you downloaded (bramble-a9a9a.999999.999-factory-99a9a99a.zip) into a folder.
Open the folder you extracted the Factory image to and extract the Image file (image-bramble-aa9a.999999.999.zip) into a folder. The stock boot.img file should be in this folder.
Patch the boot.img:
Open the Magisk (Alpha/Beta/Canary/Delta/Stable) App
The Update Channel should be set to Alpha/Beta/Canary/Delta/Stable, depending on the version you installed.
Tap Install (next to Magisk)
Tap, Select and Patch a File
Select the boot.img file you extracted from the factory image.
Tap the ✓ (Check Mark)
Tap Let's Go
When you see done, the boot.img has been patched (magisk_patched_xxxxxx.img), and is stored in the download folder.
Reboot
Copy/Move the magisk_patched....img file to your computer's Platform-tools folder or the folder that has fastboot.exe in it:
Sideload the OTA zip file
Boot Recovery mode
With the device powered on and USB debugging enabled, type: adb reboot recovery
If you're unable to use adb to reboot into recovery, you can use the key combination for your device: Press and hold Volume Down button, then press and hold Power button then use the Volume Down/Up button to select the Recovery option from the menu.
The device is now in recovery mode an Android logo with red exclamation mark should be on the screen.
Access the recovery menu:
Hold the Power button and press Volume up button up once. The recovery text menu will appear.
Connect the phone to the PC via USB cable
Enter sideload mode:
Select the Apply update from ADB option from the recovery text menu
(Optional) Verify Computer sees your device:
Type: adb devices and press return.
Your device number should shows up with "sideload" next to it.
Sideload the OTA zip file
Select the Apply update from ADB option from the recovery text menu
Type:
adb sideload bramble-ota-aa9a.999999.999-a99999aa.zip and press enter.
Once sideloading finishes, reboot the phone by choosing Reboot system now option on the The recovery text menu.
Note: This slot is bootable and NOT ROOTED
Sideload the OTA zip file to the other slot and Root it.
Boot Recovery mode
With the device powered on and USB debugging enabled, type: adb reboot recovery
If you're unable to use adb to reboot into recovery, you can use the key combination for your device: Press and hold Volume Down button, then press and hold Power button then use the Volume Down/Up button to select the Recovery option from the menu.
The device is now in recovery mode an Android logo with red exclamation mark should be on the screen.
Access the recovery menu:
Hold the Power button and press Volume up button up once. The recovery text menu will appear.
Connect the phone to the PC via USB cable
Enter sideload mode:
Select the Apply update from ADB option from the recovery text menu
Sideload the OTA zip file
Type: adb sideload bramble-ota-aa9a.999999.999-a99999aa.zip at the prompt and press enter.
Once sideloading finishes, choose Reboot system now option on the The recovery text menu.
Flash Magisk_patched....img to root
On the phone: Boot bootloader/fastboot mode
On the PC:
Open a Command Prompt in the SDK Platform-tools folder.
Type: fastboot flash boot magic_patched....img at the Prompt and press enter.
Type: fastboot reboot at the Prompt and press enter.
Disconnect the phone from the PC.
Note: This slot is bootable and ROOTED.
Done!
Extract Files from Factory Image: flash-all.bat boot/init_boot.img/Flash boot/init_boot.img
Extract Files from Factory Image
Extract flash-all.bat and boot.img file
Download the latest Factory image to your phone.
Extract the Factory Image file (bramble-r2d1a.999999.999-factory-99a9a99a.zip) to a folder. The, stock, flash-all.bat file should be in this folder.
Open the folder you extracted the Factory image to and, extract the Image file (image-bramble-aa9a.999999.999.zip) into the folder. The, stock, boot.img file should be in this folder.
Flash boot/init_boot.img
Flashing the boot/init_boot.img removes root.
Open the folder you extracted the 'image...zip' file to and copy the boot.img file to your computer's platform-tools folder or to the folder that has fastboot.exe in it.
Boot fastboot mode
Connect the phone to the Computer
Open a Command Prompt and type the following command at the prompt:
fastboot flash boot --slot all boot.img
Reboot
Root/Reroot with Magisk and Pass SafetyNet.
Android 13
Upgrade to Android 13: OP, Part II - INSTRUCTIONS, 2. Install/Update Factory Image keep data or wipe data, Keep data
Patching the boot.img - to root/reroot.
If your phone was previously rooted, DO NOT repeat DO NOT install another Magisk Manager app. Do this before you patch the boot/init_boot image:
Open the Magisk Manager app and disable all Magisk modules. If you hid the Magisk manager app the default name for the hidden Magisk app is settings.
If you gave it a different name and you've forgotten the name. Use TB checker to find the name of the hidden Magisk Manager. You can also use TB Checker to check if you have more than one Magisk Manager app installed.
Extract the boot/init_boot.img file from the Factory Image.
Download the latest Factory image to your phone.
Extract the Factory Image file (branble-a9a9a.999999.999-factory-99a9a99a.zip) to a folder.
Open the folder you extracted the Factory image to and extract the Image file (image-bramble-aa9a.999999.999.zip) into the folder. The, stock, boot/init_boot.img file should be in this folder.
Install Magisk Canary - Download app-release.apk
or
Magisk Beta 25.0/Stable 24.3 App
Open Magisk Beta/Canary/Stable App
The Update Channel should be set to Beta/Canary/Stable, depending on the version you Installed.
Tap Install (next to Magisk)
Tap, Select and Patch a File
Select the boot.img file you extracted from the latest factory image.
Tap the ✓ (Check Mark)
Tap Let's Go
When you see done, the boot.img has been patched (magisk_patched_xxxxxx.img), and stored in the download folder.
Reboot
Copy/Move the patched boot.img file to your computer's Platform-tools folder or the folder that has fastboot.exe in it:
Copy it to a USB drive and transfer it to your computer.
Move it to your computer using adb push
Boot fastboot mode
Connect the phone to the Computer with USB cord.
Open a Command Prompt in the folder you copied the patched boot.img to.
Type fastboot flash boot "name of patched boot".img without the quote marks at the Prompt and press enter.
Type fastboot reboot at the Prompt and press enter.
Important, if your phone boot loops try one of the following options:
Flash the 'stock' boot.img to both slots: fastboot flash boot boot.img --slot all
Remove Modules
Press the Power button until the phone turns off.
Press the Power and Volume Down to boot the bootloader.
Open a Command Prompt in the SDK-Platform-tools folder or the folder that has adb.exe in it, and type adb wait-for-device shell magisk --remove-modules
fastboot Reboot.
Important, if the Magisk Manager app has the Superuser and Module buttons greyed out:
Read @badabing2003 post
Pass Safety Net with SafetyNet Fix
Download File(s)
Displax's latest SafetyNet Fix, a "fork" of kdrag0n safetynet-fix.
These are the NEW Magisk Module repositories:
Androidacy Module Manager
Androidacy Module Manager - Releases
Androidacy Download Center
This is the old Magisk Module repository:
https://github.com/Fox2Code/Fox Magisk Module Manager
Install Displax's safetyNet Fix
Open Magisk
Tap Modules icon
Tap Install from storage
Navigate to the Displax's SafetyNet Fix file you downloaded.
Tap the Displax's SafetyNet Fix file.
Tap the check mark (✓ at the bottom) to start the installation.
After it installs tap the Save icon to save the log
Tap Reboot.
Settings for Magisk Canary
Open Magisk App
Tap the Setup icon.
Scroll down to App and set the Update Channel to Canary.
Scroll down to Check Updates and enable it.
Scroll down to Magisk and enable Zygisk.
Enable Denylist
Tap Configure DenyList => Tap 3 Dot Menu => Check ✓ Show system apps => Check ✓ Google Play Store, Google Pay, Google Wallet etc.
(Optional) Scroll down to Superuser and enable Enable Biometric Authentication.
Get Device Certified
Turn Airplane mode on
Open Settings
Tap Apps & notifications
Tap see all...
Tap three dot menu
Tap Show system
Scroll to Google Play Store
Tap Storage and Cache
Tap Clear storage
Note: Repeat the 3 steps above for any app that needs Device Certification i.e., Google Play Services, Google Pay, Google Wallet, etc.
reboot
Turn Airplane mode off
Check Device Certification
Open Google Play Store app
Tap Menu - Circle top right
Tap Settings
Tap About
Check Play protect certification
It may take 24 hours for Device Certification to be updated.
Note: If after completeting Get Device Certified and Check Device Certification you've waited 24 hours your Device is not Certifed or your Device is Certified and certain Google Store apps (Google Pay, NetFliks, etc.) are not working. Use the Play Integrity API Checker app or the TB Checker - Safetynet and Root app to verify you are passing Play Integrity.
Set Magisk App Update Channel/Update Magisk
Set Magisk App Update Channel
Open Magisk App > Tap Settings icon > Update Channel > Select Stable, Beta, Canary or Custom.
Update Magisk
When Magisk App notifies you of an update:
Tap install.
Select, Direct Install (Recommended)
When it finishes installing
Tap, Save Log
Log location: /storage/emulated/0/Download
Tap, Reboot
Done!
Install/Update Magisk Modules
Download File(s)
Displax's latest SafetyNet Fix, a "fork" of kdrag0n safetynet-fix.
These are the NEW Magisk Module repositories:
Androidacy Module Manager
Androidacy Module Manager - Releases
Androidacy Download Center
This is the old Magisk Module repository:
https://github.com/Fox2Code/Fox Magisk Module Manager
LSposed Releases
Shamiko Releases
Install Modules from Storage
Open Magisk
Tap the Modules icon
Tap Install from storage
Navigate to the folder with the Module you want to install.
Tap the Module to highlite it and tap Select.
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
Install Modules from Androidacy Module Manager
Open Androidacy Module Manager
Tap the Modules icon
Locate the Module you want to install
Tap Install
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
Update Modules
Open Androidacy Module Manager
You, will see the Modules that have Updates.
Tap the Module you want to update.
Tap install.
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
Open a Command Prompt/Boot Fastboot Mode/Boot Recovery
Open a Command Prompt on Computer
Open File Explorer, click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type cmd and press enter.
Open a Powershell Command Prompt on Computer: Open File Explorer, click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type powershell and press enter.
Notes:
Enable USB Debugging, on your phone: Settings ==> System ==> Advanced ==> Developer options ==> Scroll down to USB debugging and enable it.
When using the Powershell Command Prompt Commands must be preceeded with ./: i.e, ./fastboot devices
If you do not want to open a Command Prompt every time you want to use the fastboot command, add the path to the Platform-tools folder to Windows environment variables.
Boot fastboot mode (bootloader):
Power off phone, press and hold the power and volume down buttons until you see Start.
Boot Recovery
Power off phone, press and hold the power and volume down buttons until you see Start. Use volume up/down button until you see Recovery mode. Press power button.
Test fastboot
Enable Developer Options - Tap Settings > About phone > Build number 7 times or until you should see 'you are a Developer'.
Enable USB Debugging - Tap Settings > System > Advanced > Developer options >
Enable USB Debugging.
Open a Command Prompt on your computer in the Platform-tools folder.
Boot fastboot mode on your phone
Connect the phone to the Computer.
At the prompt type: fastboot devices to verify communication with phone. It should return your phone's serial number.
ADB Sideload
Stock Recovery
Full OTA Images for Nexus and Pixel Devices - Updating instructions
Custom Recovery TWRP
Waiting for Android 11 (R) T.W.R.P
~ ~ ~ Part III - Other ~ ~ ~
Custom ROMs
Need help with a Custom ROM?
If you are you are trying to install or have installed a Custom ROM, read and follow the Installation Instructions in the OP of the Custom ROM thread.
Search the thread of the Custom ROM you are trying to install or have installed for answer(s)/solution(s) to your question(s)/problem(s): If you don't find a answer(s)/solution(s) to your question(s)/problem(s). Post your question(s)/request(s) for help in the Custom ROM thread you are trying to install or have installed.
If you are trying to install a Addon(s) {Custom Kernel, Magisk, etc.} to the Custom ROM you installed: Search the thread of the Custom ROM you installed or the thread of the Addon you want to add to your Custom ROMfor answer(s)/solution(s) to your question(s)/problem(s). If you don't find an answer(s)/solution(s) to your question(s)/problem(s). Post your question(s)/request(s) for help in the Custom ROM or Addon (Custom Kernel, Magisk, etc.) thread.
ROMs
Google Pixel 4a5(G) ROMs, Kernels, Recoveries, & Other
Other Custom ROMs
lineageOS 20.0 for the Google Pixel 4a5(G) (bramble) Nightly
[ROM] [UNOFFICIAL] LineageOS 19.0 - microG Edition By: dic1911
Themes, Apps, and Mods
Google Pixel 4a5(G) Themes, Apps, and Mods
T.W.R.P. Backup/Restore
Waiting for Android 13 T.W.R.P.
As this is my first device that supports unlocking the bootloader, before I proceed with root, I want to make sure I can return to stock with a locked bootloader if desired. Based on my understanding of the directions, 1) wipe phone 2) flash stock image 3) relock bootloader will safely return the phone to its original state after rooting and/or installing a custom rom. Am I understanding correctly? Thanx.
rmckay1763 said:
As this is my first device that supports unlocking the bootloader, before I proceed with root, I want to make sure I can return to stock with a locked bootloader if desired. Based on my understanding of the directions, 1) wipe phone 2) flash stock image 3) relock bootloader will safely return the phone to its original state after rooting and/or installing a custom rom. Am I understanding correctly? Thanx.
Click to expand...
Click to collapse
Do #3 Return to stock
Just unlocked the bootloader on my 4a 5G and I'd like to ADB Push all sdcard files from my old phone to the 4a 5G before I do the initial setup. Is this possible?
Command Prompt tells me adb is unauthorized (was authorized until I unlocked the bootloader).
Homeboy76 said:
Do #3 Return to stock
Click to expand...
Click to collapse
okay, I just wanted to make sure I did not do anything irrevocable. thanks for putting together a comprehensive guide.
kha1rul said:
Just unlocked the bootloader on my 4a 5G and I'd like to ADB Push all sdcard files from my old phone to the 4a 5G before I do the initial setup. Is this possible?
Command Prompt tells me adb is unauthorized (was authorized until I unlocked the bootloader).
Click to expand...
Click to collapse
Do you have the latest SDK Platform-tools?
There is a link in the OP - Prerequisites , if you need to update it.
@LastQuestion
If your phone had root and you did #4 'Keep data' to install the latest factory image. Your bootloop is probably caused by a rouge Magisk module.
That is why I, always, recommend uninstalling Magisk before installing/updating the factory image.
Do you have the latest SDK Platform-tools r 30.0.3? If not, there is s link in the OP - Prerequisites to get the latest SDK Platform-tools.
Have you tried flashing the stock boot.img to both slots to stop the bootloop?
fastboot flash boot --slot all boot.img
If flashing the stock boot.img stops the bootloop and your phone boots.
- boot Safe Mode
- Reboot - To remove all residual files, Magisk modules, etc.
- If your phone has the latest factory image do #7 to root/reroot. Otherwise, Do #4 'keep data', then do #7 to root/reroot.
Homeboy76 said:
Do you have the latest SDK Platform-tools?
There is a link in the OP - Prerequisites , if you need to update it.
Click to expand...
Click to collapse
I do have the latest.
kha1rul said:
I do have the latest.
Click to expand...
Click to collapse
@kha1rul
Ok!
I never used adb push files from and old device to a new device.
What is your old device?
Maybe one of these links will help:
- ADB Android Device Unauthorized
- ADB Android Device Unauthorized
Or
You could copy the files from your old device to your computer. Then copy them from your computer to your Pixel 4a (5)
I shouldn't matter how you transfer the files as long as you get the files transfered.
Homeboy76 said:
@kha1rul
Ok!
I never used adb push files from and old device to a new device.
What is your old device?
Maybe one of these links will help:
- ADB Android Device Unauthorized
- ADB Android Device Unauthorized
Or
You could copy the files from your old device to your computer. Then copy them from your computer to your Pixel 4a (5)
I shouldn't matter how you transfer the files as long as you get the files transfered.
Click to expand...
Click to collapse
I wanted to push because it's much more reliable and faster than MTP.
Regarding my previous dilemma, I made a noob mistake, didn't press power+UP to get into recovery!
Even so, problem is it seems that stock recovery only allows sideload, not push, if I'm not mistaken?
So I decided to set up the device and install the apps, and THEN do adb push.
The problem I have now is that there are certain files which can't be pushed for permission reasons, and the whole operation then stops. Is there a way to get adb to simply skip those files and only do the ones it can?
kha1rul said:
I wanted to push because it's much more reliable and faster than MTP.
Regarding my previous dilemma, I made a noob mistake, didn't press power+UP to get into recovery!
Even so, problem is it seems that stock recovery only allows sideload, not push, if I'm not mistaken?
So I decided to set up the device and install the apps, and THEN do adb push.
The problem I have now is that there are certain files which can't be pushed for permission reasons, and the whole operation then stops. Is there a way to get adb to simply skip those files and only do the ones it can?
Click to expand...
Click to collapse
¯\_(ツ)_/¯
Great work, AGAIN!!
Thanks for the write-up. Just got one of these as I dropped my old phone, and I was due anyways. So question regarding Safetynet. I went ahead and went with the latest Feb factory image, patched the boot and rooted with Magisk, then tried the safety net and attestation fails. Anybody have the feb patch and passing safetynet? if so what was the sequence you used? thanks
lu270bro said:
Thanks for the write-up. Just got one of these as I dropped my old phone, and I was due anyways. So question regarding Safetynet. I went ahead and went with the latest Feb factory image, patched the boot and rooted with Magisk, then tried the safety net and attestation fails. Anybody have the feb patch and passing safetynet? if so what was the sequence you used? thanks
Click to expand...
Click to collapse
You need Universal Safetynet fix v 1.1.1 Magisk module.
lu270bro said:
Thanks for the write-up. Just got one of these as I dropped my old phone, and I was due anyways. So question regarding Safetynet. I went ahead and went with the latest Feb factory image, patched the boot and rooted with Magisk, then tried the safety net and attestation fails. Anybody have the feb patch and passing safetynet? if so what was the sequence you used? thanks
Click to expand...
Click to collapse
- Root with Magisk patched img
- Open Magisk Manager install SafetyNet module
- Reboot
- Open Magisk Manager Enable Magisk hide
- Hide Google Play store, Google pay, etc
- Clear cache and storage for the above apps
- Reboot
Homeboy76 said:
- Root with Magisk patched img
- Open Magisk Manager install SafetyNet module
- Reboot
- Open Magisk Manager Enable Magisk hide
- Hide Google Play store, Google pay, etc
- Clear cache and storage for the above apps
- Reboot
Click to expand...
Click to collapse
yeah, im an idiot, got it sorted before i seen your post but thank you tho. stupid freakin basic crap.......i never did magisk hide and have it repackaged. I did have to use the universal zip, but once i did all that, worked perfect. but again, thank you very much
kha1rul said:
Just unlocked the bootloader on my 4a 5G and I'd like to ADB Push all sdcard files from my old phone to the 4a 5G before I do the initial setup. Is this possible?
Command Prompt tells me adb is unauthorized (was authorized until I unlocked the bootloader).
Click to expand...
Click to collapse
Not sure if you still need it, but might be usefule for others.
Unlocking bootloader wipes everything including ADB prompt for your computer. You need to boot system, open developer options , enable ADB debugging and grant access to your computer again when the little popup window appears.
Hi ! Please help me my Pixel 4a 5g unlock bootloader Root Magisk and I have update of MAgisk I make it but bootloop !? And my usb debogging not check... And Test to flash-all but permission denied ?
I don't know how do to restart it ? Please
I'm looking to buy one of these (used) and was wondering if the G025E variant is able to be bootloader unlocked or not?
fremont85 said:
I'm looking to buy one of these (used) and was wondering if the G025E variant is able to be bootloader unlocked or not?
Click to expand...
Click to collapse
In case anyone else is curious... Yes, the G025E variant is able to be bootloader unlocked.
Basically I have rooted my old Redmi Note 4 but that was past guarantee so I did not care that much.
My current RN 8 Pro is still 1 year in guarantee so I literally do not have the balls to do it on my own.
Is there any good soul who would help me out with rooting it, pretty please? Thanks very much in advance
btw. I do know stuff about Unlocking Boot Loader, installing TWRP trough Command Window and Flashing Magisk...that should be potentially enough but as I said above no balls and do not want to F things up and brick it.
Redmi Note 8 Pro Guide [Firmwares | ROOT CN/GLOBAL | TWRP Recovery]
Redmi Note 8 Pro [Begonia] [Global Version Only] WARNING: Before attempting to root your device, do note that by unlocking your bootloader and modifying your device with root, ROMs, etc... you are risking voiding your warranty! I am NOT...
forum.xda-developers.com
A great guide is here :3
Not sure you need my help for that but yeah if ya run into any problems, ill be here to help ya
Ty for responding. I read that but Im still not sure about what TWRP use on my phone (im not sure if i have to use special one or just latest version) and because I want to only root my phone Im also not sure, if I need to get a different ROM or I can do that on this STOCK ONE I have.
I bought my RN 8 Pro in EU. Im gonna try to give you more information about my phone, if you would be able to link me TWRP what I need and other files to root it...that would be awesome (its not like i cant read or im lazy f**k, its more like i dont want to F things up).
Version of MIUI: MIUI Global 12.0.5; Stable 12.05.0(QGGEUXM)
Version of Android: 10 QP1A. 190711.020
Android Level of Security: 2021-04-01
Thank you very much
1. UNLOCKING BOOTLOADER :
- Download the Mi Unlock app to PC, and sign in with your Mi Account;
- Enable Developer Option in your phone by tapping the "Build Number" 7 times
- Go to Developer Options "Settings > Additional Settings > Developer Options
- Enable USB Debugging and OEM Unlocking
- Aslo add account in Mi Unlock Status (Can be found in Developer Options
- Install all the required drivers (adb drivers, vcom drivers etc.) In your PC [I'll link these below]
- Shut down your phone manually, and hold Volume down key and Power button to enter Fastboot mode
- Connect your phone to PC using USB cable and click "Unlock". In Mi Unlock Tool
- You will be given a specific time (168 hours mostly)
- Wait until that and redo Unlock process
- Your device’s bootloader is unlocked
2. FLASHING TWRP :
- Install Minimal ADB and fastboot on your PC [Link will be provided below]
- Download LR Team TWRP [This work for now, I'll provide link below and will update it after we have another proper TWRP]
- Put that TWRP in the file location of ADB and Fastboot (Right click on Minimal ADB and Fastboot icon on desktop and click on Open file location)
- rename that recovery to "twrp" for convenience (optional)
- Now Connect your phone to PC With USB Debugging on (keep phone on).
- Type
Code:
adb devices
and accept the pop up on phone's screen.
- Now reboot your phone to Fastboot mode
- Type
Code:
fastboot devices
- Your device ID will be visible on Screen.
- Then type
Code:
fastboot flash recovery twrp.img
- When it's done, Remove cable and Hold Power + Vol. Up when phone starts turning on leave the power button but keep pressing Vol. UP until TWRP splash Screen shows up.
- Done
3. ROOTING :
- In TWRP mount System
- Go to Advanced > file manager
- then go to system_root > system and delete "recovery-from-boot.p"
- Go home and again go to advanced and Select "Close AVB2.0" swipe to confirm.
- Go back and select "Install Root"
- Here you go magisk 19.4 will be installed (U can chose any other versions afterwards.)
- Reboot the device to system.
- Done!
LINKS
1. Mi Unlock tool
2. Minimal ADB and Fastboot
3. ADB Drivers for MTK
4. MTK USB Drivers
5. LR Team TWRP
Hello once again...I might need some help
I was following these steps but after flashing this TWRP I cant enter into the TWRP...so far Ive tried holding power button then pressing Volume +; holding power button and then holding Volume+; even holding them both but still without any result...any chance you might help me here, please?
*EDIT: Im flashing stock ROM
Go to the system then do
adb reboot recovery
I flashed TWRP recovery once again, then I went for "adb reboot recovery". This is what happened after I used "adb reboot recovery" (attached picture). There is no sign about TWRP. What am I doing wrong? I literally followed the guide the flash of the recovery TWRP is successful. Is there any chance that Im flashing wrong TWRP recovery? Or that Im doing it on stock ROM? Usually its problem between chair and keyboard but I dont know :-/.
So Ive tried to boot TWRP through after flashing it with "fastboot boot twrp.img". It went through but it booted like normal so I ended up in system like when you turn on your phone normally.
Anybody, anything please?
N00B92 said:
Anybody, anything please?
Click to expand...
Click to collapse
First: what version of miui?
If you're on miui 12.5 this method will cause reboot.
If your phone is < 12.0.X its okay.
It looks like flashing recovery worked.
Instead of trying to adb reboot recovery after flashing recovery try this:
- When it's done, Remove cable and Hold Power + Vol. Up when phone starts turning on leave the power button but keep pressing Vol. UP until TWRP splash Screen shows up.
Version of MIUI: MIUI Global 12.0.5; Stable 12.05.0(QGGEUXM)
Version of Android: 10 QP1A. 190711.020
Android Level of Security: 2021-04-01
I was already trying that, if I do it how you typed the screen is gonna keep blinking with MIUI logo.
I was looking for the answers and I found smth about "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" to disable android verified boot, but dunno if its my case on stock ROM or not.
N00B92 said:
I was looking for the answers and I found smth about "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img" to disable android verified boot, but dunno if its my case on stock ROM or not.
Click to expand...
Click to collapse
First you need to enter recovery, i think you didn't flash boot.
Follow the method below exactly.
Original post and files can be found here.
If error occurs..
1. Go to Minimal ADB and Fastboot in C: of your PC. Open Fastboot folder and Press Shift+Right Click and Select Open Command Window Here at the CMD type fastboot devices and enter (check if it's recognized the device).
2. Enter the following commands: fastboot flash boot boot.img and Enter then fastboot flash recovery recovery.img and Enter. We have flashed clean boot and TWRP.
3. Disconnect the phone from the PC, hold the Power button as the screen goes blank immediately hold Volume + the TWRP splash screen will appear and disappear still hold the button when the TWRP splash screen appears a second time release Volume +. The recovery_fromboot.p file is already deleted earlier.
5. Go to Mount in TWRP check data, system, vendor, nvdata and now you can decrypt DATA by formatting in TWRP Wipe-Fotmat Data, write yes and swipe.
6. Disconnect the phone from the PC, hold the Power button as the screen goes blank immediately hold Volume + the TWRP splash screen will appear and disappear still hold the button when the TWRP splash screen appears a second time release Volume +. If Chinese language change to English. If TWRP will ask you the password (this means that there is DATA encryption)click on CANCEL and get to the main screen.
We go to the mount, put check on data, system, vendor, nvdata and MicroSD card (if the phone has a memory card).
Press home to return to the main screen Choose Advanced-File Manager item >system_root / system / folder at the bottom there is a recovery_fromboot.p file delete it.
Go back to Advanced and select Close AVB2.0 and flash the archive with a swipe to the right.
Again, we go along the Advanced-File Manager path in the root, look for the supersu folder in it, select the SuperSu_installer.zip fileand flash it with a swipe to the right. This is an archive from Magisk_19.4 it will patch boot. The firmware of this archive should go WITHOUT a single error, all lines should be white and at the end of DONE. If everything was done without errors in the TWRP select the Reboot-System. The first boot will be a little long and Don't Panic when boot up check the Magisk Manager>Settings>Update Settings>Stable Channel.
I dont have any boot.img in my folder so I cant flash the boot.img. Having stock ROM and I have no clue where to get it.
My current ROM is MIUI Global 12.0.5; Stable 12.05.0 (QGGEUXM) and I think I just found it here on this link:
https://xiaomifirmwareupdater.com/miui/begonia/stable/V12.0.5.0.QGGEUXM/
Can anybody experience confirm that Im suppose to copy out the boot.img out of it and then copy&paste it into Minimal ADB and Fastboot in C: of my PC and then going for the "fastboot flash boot boot.img" as the last msg from Donkyshot says?
Tyvm
Id appreciate any help
Everything I did try is above.
N00B92 said:
My current ROM is MIUI Global 12.0.5; Stable 12.05.0 (QGGEUXM) and I think I just found it here on this link:
https://xiaomifirmwareupdater.com/miui/begonia/stable/V12.0.5.0.QGGEUXM/
Can anybody experience confirm that Im suppose to copy out the boot.img out of it and then copy&paste it into Minimal ADB and Fastboot in C: of my PC and then going for the "fastboot flash boot boot.img" as the last msg from Donkyshot says?
Tyvm
Click to expand...
Click to collapse
madsponge26 said:
Redmi Note 8 Pro
[Begonia]
[Global Version Only]
WARNING: Before attempting to root your device, do note that by unlocking your bootloader and modifying your device with root, ROMs, etc... you are risking voiding your warranty! I am NOT responsible for what you do to your device either, so follow these instructions at your own risk. Make sure you know what you're doing, it's best to understand the process rather than just copy and paste commands and such.
Firmwares
Global Stable
V10.4.1.0.PGGMIXM
V10.4.2.0 to V11.0.10
V11.0.1.0 PGGMIXM
V11.0.3.0 PGGMIXM
V11.0.4.0 PGGMIXM
V11.0.6.0
China Stable
V10.4.4.0.PGGCNXM
V10.4.6.0.PGGCNXM
V10.4.8.0.PGGCNXM
V10.4.9.0.PGGCNXM
V10.4.10.0.PGGCNXM
V10.4.11.0.PGGCNXM
V11.0.1.0QGGCNXM
China Beta
V9.9.25
V9.10.17
India Stable
V10.4.3.0.PGGINXM
V11.0.1.0 PGGINXM
Europe (EEA)
V10.4.5.0.PGGEUXM
Indonesia
V10.4.2.0.PGGIDXM
V11.0.1.0PGGIDXM
Russia
V10.4.2.0.PGGRUXM
USB Drivers
Download
Unlock Bootloader
Enable OEM Unlocking
Unlock Here
Installing TWRP Recovery and ROOT
Enable USB Debugging - Goto Settings / Additional settings / Developer options / USB Debugging & USB debugging (Security settings) - Enable (If you have not activated Developer options, then Goto Settings / About phone / tap MIUI version 7 times - now developer options enabled.
Global Version
GLOBAL firmware V10.4.5.0.PGGEUXM only
Drivers installed properly
Enabled USB Debugging (enabled developers menu)
1. Turn Off
2. Go to Fastboot mode (Volume - + Power)
3. Connect to the PC
4. Download and extract in C drive, "Run as administrator" and execute "ifelixit+FLASHER+TOOLKIT+Begonia.bat".
5. Choose 1 (TWRP recovery) and enter or Choose 2 (Root Only)
Immediately disconnect the phone from the PC, otherwise it will go to reboot on command and the stock recovery will be restored.
6. Put the Minimal ADB and Fastboot in C: of your PC.
Transfer the Recovery.img in Fastboot folder
Open Fastboot folder and Press Shift+Right Click and Select Open Command Window Here at the CMD type fastboot devices and enter (check if it's recognized the device).
7. Type fastboot flash recovery recovery.img and enter (TWRP will be installed)
8. Disconnect the phone from the PC, hold the Power button as the screen goes blank immediately hold Volume + the TWRP splash screen will appear and disappear still hold the button when the TWRP splash screen appears a second time release Volume +. If Chinese language change to English. If TWRP will ask you the password (this means that there is DATA encryption)click on CANCEL and get to the main screen.
We go to the mount, put check on data, system, vendor, nvdata and MicroSD card (if the phone has a memory card).
Press home to return to the main screen Choose Advanced-File Manager item >system_root / system / folder at the bottom there is a recovery_fromboot.p file delete it.
Go back to Advanced and select Close AVB2.0 and flash the archive with a swipe to the right.
Again, we go along the Advanced-File Manager path in the root, look for the supersu folder in it, select the SuperSu_installer.zip fileand flash it with a swipe to the right. This is an archive from Magisk_19.4 it will patch boot. The firmware of this archive should go WITHOUT a single error, all lines should be white and at the end of DONE. If everything was done without errors in the TWRP select the Reboot-System. The first boot will be a little long and Don't Panic when boot up check the Magisk Manager>Settings>Update Settings>Stable Channel.
Stock boot IMG for V10.4.5.0.PGGEUXM just in case bootloop
TWRP for Begonia
If error occurs..
1. Go to Minimal ADB and Fastboot in C: of your PC. Open Fastboot folder and Press Shift+Right Click and Select Open Command Window Here at the CMD type fastboot devices and enter (check if it's recognized the device).
2. Enter the following commands: fastboot flash boot boot.img and Enter then fastboot flash recovery recovery.img and Enter. We have flashed clean boot and TWRP.
3. Disconnect the phone from the PC, hold the Power button as the screen goes blank immediately hold Volume + the TWRP splash screen will appear and disappear still hold the button when the TWRP splash screen appears a second time release Volume +. The recovery_fromboot.p file is already deleted earlier.
5. Go to Mount in TWRP check data, system, vendor, nvdata and now you can decrypt DATA by formatting in TWRP Wipe-Fotmat Data, write yes and swipe.
6. Disconnect the phone from the PC, hold the Power button as the screen goes blank immediately hold Volume + the TWRP splash screen will appear and disappear still hold the button when the TWRP splash screen appears a second time release Volume +. If Chinese language change to English. If TWRP will ask you the password (this means that there is DATA encryption)click on CANCEL and get to the main screen.
We go to the mount, put check on data, system, vendor, nvdata and MicroSD card (if the phone has a memory card).
Press home to return to the main screen Choose Advanced-File Manager item >system_root / system / folder at the bottom there is a recovery_fromboot.p file delete it.
Go back to Advanced and select Close AVB2.0 and flash the archive with a swipe to the right.
Again, we go along the Advanced-File Manager path in the root, look for the supersu folder in it, select the SuperSu_installer.zip fileand flash it with a swipe to the right. This is an archive from Magisk_19.4 it will patch boot. The firmware of this archive should go WITHOUT a single error, all lines should be white and at the end of DONE. If everything was done without errors in the TWRP select the Reboot-System. The first boot will be a little long and Don't Panic when boot up check the Magisk Manager>Settings>Update Settings>Stable Channel.
Proof of Video that Redmi Note 8 Pro Rooted
Contributors
Nikas
esleer
Xakep1993
SPIRITic
m3lbrunton
Lyelik74
@topjohnwu
TWRP Community
XDA Community
Xiaomi Community
Click to expand...
Click to collapse
Well look here.
This is the original post the person above put soooo
Yeah the boot.img is in there.
Kenora_I said:
Well look here.
This is the original post the person above put soooo
Yeah the boot.img is in there.
Click to expand...
Click to collapse
Thanks. I used the boot.img and I was following the guide which "donkyshot" sent. But I got stucked right after I did those commands in command Window. I disconnected the phone went for the power button hold and then when it was blank I stopped holding power button and I started holding the Volume+ button. The phone was bootlooped on Xiaomi logo...I was waiting several times but nothing. At the end I had to flash the phone with stock ROM I downloaded through MiFlash...I really dont know what I was doing wrong.
Ended up with one of these in my tech shop some how, figured I'd try it and was successful at unlocking the bootloader!
Needed Files
- Odin Patched 3.14.1
- SM-N976N KOO Firmwarre
- 7Zip
- vbmeta-disabler: https://forum.xda-developers.com/at...371913/?hash=4ffe83be111a345e3fb35895ba1a5995
- LZ4: https://github.com/lz4/lz4/releases
- ADB/Fastboot (makes things easier)
- Magisk Manager
Instructions
-- bootloader unlock
1.) Use ODIN to flash the KOO Firmware you download
2.) DO NOT connect to wifi during Setup, go through without connecting
3.) Open Settings, enable Developer Options and disable Auto Updates
4.) Connect to Wifi, and wait for "Preparing setup" Notification to start. IMMEDIATELY disconnect from Wifi (this is what worked for me)
5.) Go to Time and Date settings, manually set the date 11 days previous to current date ... for example, April 29th, set it to April 18th
6.) Go to developer options and OEM Unlock should suddenly be there!
7.) Power off device completely, plug into a charger, and hold Vol Up+Vol Down+Power until the blue download mode screen comes up
8.) Hold Vol Up until it asks if you want to unlock bootloader
9.) Factory reset will occur, but its unlocked! Congrats!
TWRP Rooting (if on Android 11, DO NOT do this method with 12)
1.) Rename Magisk.apk to magisk.zip
2.) Reboot to Download, flash VBMeta_disabler
3.) Reboot again to download, flash twrp as AP
4.) Immediately boot to it upon reset via holding Vol Up as it restarts
5.) Go to ADB Sideload under Advanced
6.) using CMD,
Code:
adb sideload magisk.zip
7.) do a factory reset
Congrats! Rooted!
Non-TWRP Method (recommended)
1.) Open the AP file in 7zip
2.) Extract boot.img.lz4
3.) use lz4 to extract the boot.img
Code:
lz4 <path to lz4> boot.img
4.) install magisk manager on device
5.) Patch boot.img
6.) Pull the patched boot.img off phone storage
7.) Name it boot.img, use 7zip to create boot.tar
8.) Flash it as AP with Odin Patched
Rooted!
IF DEVICE DOESN'T BOOT, DO A FACTORY RESET. It needs to just reformat the data partitoins and such. Worked for me perfectly
Also might get a force close upon first boot of TADownloader... just close it and ignore it!