[Redmi note 4 SD] Guide/Tutorials/ROM's/Reviews/Tweaks (Includes videos) - Xiaomi Redmi Note 4 Guides, News, & Discussion

HI all,
Instead of creating new threads ill be maintaining only one from now in which there will be all types of guides , rom review , tweaks which will include video tutorials so it makes easy for understanding and also will be updating on regular basis , if anyone have any request can pm me or comment below.
Rooting XIAOMI REDMI NOTE 4 SD TWRP/SUPERUSER
***IMPORTANT***
BACKUPDATA
Make sure you have adb installed and you place the twrp file to adb folder & other files to internal memory
Downloads:
1. TWRP- 3.0.3-0
https://www.androidfilehost.com/?fid=457095661767136323
2. phh's SuperSu
https://superuser.phh.me/superuser.zip
3. no-verity-opt-encrypt
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.1.zip
Steps:
1.unlock bootloader
http://en.miui.com/unlock/
or
Google mi unlock
2.download files
3.enable usb debugging
4.boot to fastboot (volume down+power button)
5.connect to pc run cmd in adb folder .
6.use command (fastboot devices) to check fastboot devices
7.use command (fastboot flash recovery {name of recovery}.img)
8.boot device to recovery (Flash Verity file, su ) ***IMPORTANT***
9.wipe caches
10.reboot
HexagonROM V2.3 UNOFFICIAL 7.1.1
How to Flash :-
* Download the Rom
* Boot Into recovery (TWRP recommended)
* Wipe your system, cache,dalvik cache and Data.
* Just flash This Rom & Whichever Gapps you want.
* Reboot into system..!
* Profit.. Enjoy..!
Additional Features:
*Offline Gestures
*Ambient Display with Doze Pulse
Download:
https://www.androidfilehost.com/?w=files&flid=166131
Google apps ARM64 7.1.1
http://opengapps.org/

ashokmor007 said:
HI all,
Instead of creating new threads ill be maintaining only one from now in which there I NOTE 4 SD TWRP/SUPERUSER..
.
.
.
Oops! Snap!
Click to expand...
Click to collapse
This should be in Guides / news & discussions section.

Is this for mtk version also, or is there a different method of fixing it up? I just bought this today, I thought it was the right one to get... Now I am worrying that I made the wrong choice...

Questions
1. What is the purpose of no Verity zip?
2. Can you root and install TWRP, but not install a new ROM. Can you keep Miui stock and get OTA updates like normal?
Thx

Related

Root Stock/Custom ROMs using Magisk

Hey Guys, I have created a Guide on How to Root Mi A2 on Stock ROM or Custom ROM, Just click on
PHP:
Your warranty is now void.
I am not responsible for bricked devices, bootloop... Please
do some research if you have any concerns about mods
included in these GUIDES before using them! YOU are choosing to
make these modifications.
Install Magisk on Stock Roms Oreo & Pie
Needs:
- Unlocked Bootloader
Procedure:
- Download the Respective patched_boot_buildno.img file for your Build Number.
- Rename the patched_boot_buildno.img file to "patched_boot.img" and past it to your adb folder.
- Download and move Magisk Manager apk file to Internal Storage
- Reboot phone to bootloader by pressing Power + Volume Down until phone show the fastboot logo.
- Now open command window in your adb folder and use the following command
PHP:
fastboot boot patched_boot.img
Your phone shoulds boot
- Install Magisk Manager apk
- Open Magisk Manager
- Click Install then choose Direct install. Reboot.
Done, you have Magisk on your device.
To uninstall Magisk just flash stock boot.img using following commands
PHP:
fasboot flash boot_a boot.img
fasboot flash boot_b boot.img
Install Magisk on Custom Roms
Needs:
- Be on a Custom Rom
- Latest Magisk Beta zip check Dowloads Section
- Latest TWRP.img check Dowloads Section
Procedure:
- Download the latest Magisk Beta or Stable zip from Downloads Section
- Download the latest TWRP Recovery image file from Downloads Section
- Reboot phone to bootloader by pressing Power + Volume Down until phone show the fastboot logo.
Phone is now in fastboot.
- Type :
Code:
PHP:
fastboot boot twrpfilename.img
- Phone will boot TWRP Recovery.
- Navigate to Advanced > Adb Sideload
- Swipe to allow
- Open command prompt in ADB Folder on your PC
Code:
PHP:
adb sideload magisk_version.zip
Reboot and done, you have Magisk on your device.
To Uninstall it, Download Magisk uninstalled zip and flash it via twrp or do the same process with
PHP:
adb sideload magisk_uninstaller.zip
Downloads Section:
Boot / Patched Boot images
Magisk Thread for Beta zip / Apk file
Twrp images & zip
:/ okay

[GUIDE] Convert Mi A2 to Mi 6X [MIUI 10 Oreo] [MIUI 10 Pie]

Code:
/*
* Your warranty is... still valid?
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hey guys, Today I am creating a Guide on How to Convert Mi A2 to Mi 6X without triggering ARB.
This guide is based on Guide by @yunusasik(Telegram : @dejavutr ) so All credit goes to Him.
First of All Download the Convert.zip from here
All files needed to be replaced have already been replaced in convert.zip.
Then, Follow the Following Steps to Flash Mi 6X Firmware on your A2
First Make Sure you already unlocked bootloader flashing and flashing critical ("fastboot flashing unlock" and "fastboot flashing unlock_critical")
1) Install Qualcomm Driver (next next next) (Also Windows update can do this trick when you plug )
2) Install QPST (use setup from the QPST Alternative folder. )
(find QFİLL on start menu or qpst installed directory), open QFİLL from start menu or opst installed folder.
3) Select Flat Build Mode
Select Programmer File prog_emmc_firehose_Sdm660_ddr.elf ( already changed no arb risk )
Select XML files rawprogram0 and patch0.xml
4) Put the phone on the edl mode
navigate to ADB Folder and Open tikla.bat, it will open command windows in that directory.
Use "fastboot oem edl" command to Enter "Emergency Download Mode ( EDL )"
Press Download
When install finish. Power up the phone.
MIUI 9 Ready to BOOT (First boot may take time you can hard reset via pressing vol up - down and power together )
5) You dont need to setup miui 9 just go fastboot again (vol down + power ( when phone closed ) )
From this section you can either install MIUI 10 (OREO) or Custom ROM ( Which one you want )
Guide will be Resume about flashing MIUI 10 ( OREO )
Flash TWRP
" fastboot flash recovery twrpwayne.img "
" fastboot boot twrpwayne.img "
If twrp start chinese you can set language on that screen
6) Wipe / Advanced Wipe
7) System + Dalvik + Cache + Data + Internal
8) Flash MIUI 10(no arb).zip via adb sideload (put file into adb folder and use adb sideload MIUI 10 (no arb).zip) or put file on the
storage via mtp, if its works
" No need for gapps "
If you want root Flash Magisk.
Welcome to MIUI 10 without arb
You can use MiFlash Tool 2016 64Bit only this one works good others may stuck sometimes and risky because if you unplug when installing you have to use test point method for saving phone.
You can enable camera2api with "Camera2api enabler" on play store (ONLY MIUI 10 OREO)
If qfill installation somehow corrupt use "QPST Alternative" folder or Miflash from above
You can Download Newer MIUI Releases from here
Just make sure to delete the "firmware-update folder" using winrar etc.
-------
UPDATİNG TO MIUI 10 PIE
Download MIUI 10 PIE from here (if you are in mobile press "try download anyway" )
Open zip file and delete "Firmware Upgrade" folder from the zip (Most İmportant)
Boot into TWRP
Go Wipe / Advanced Wipe
Wipe "System + Dalvik + Cache + Data"
(Make sure you are using ext4 file system on Cache and Data partition)
Flash MIUI 10 Pie zip
Flash Hex Kernel download from here (We need this because we are not using fw update folder for updating kernel etc (because its trigger arb 4))
Flash Magisk if you want root
Reboot to system
Welcome to MIUI 10 Pie
You can check new mıuı eu updates from here.
For enabling camera2api on MIUI 10 Pie you have to edit build prop download this application from play store
Give root permissions
Search for HAL3 then change boot of them 0 to 1
Restart the phone.
For stable gcam use this
------
Converted Mi6X Indian Variant Camera FİX
1. Flash any custom ROM or MIUI 10 ROM firmware-update folder deleted.
2. Flash the zip from here via TWRP.
3. Reboot
------
Convert Back to A2
Download latest a2 stock rom.
Put phone to edl mode again (fastboot oem edl)
Flash stock rom via QFİLL with same method (Select .ddr and xml files from stock rom folder) and power up.
Done.
(If you have wifi camera or splash screen problems. Flash stockrom with miflash on fastboot (vol down + power ) again.)
(Alternative) You can use MiFlash Tool 2016 64Bit to convert back.
Select A2 stock rom folder.
Put phone to edl mode (fastboot oem edl).
Flash Rom when its done, power up the phone to fastboot (vol down + power ) and flash rom again. (for solving any camera wifi etc issue)
FAQ
Is there any alternative to this twrp ?
- Yes you can use alternatives, this one my fav.
Is there any alternative to this kernel ?
- Yes you can use NeonKernel, Reign Kernel or this EAS kernel from @rcstar6696
I got triggered ARB4 can I go back to A2 ? ( Unlocked Bootloader )
- Yes you can convert back to A2 with test point here is the guide for that. Thanks @powar19
If you have any questions feel free to ask.
Credits :-
1) @yunusasik Telegram : @dejavutr
2) @akshayakakat
For Support :-
1) https://t.me/mia26xBr
2) https://t.me/mia2official
3) https://t.me/mia2turkiye
Just converted 2 days ago using this guide. Works like a charm. Thanks
Guide works flawless no one should hesitate to do it.
Used this 2 days ago. Working perfectly without problems.
stuck at adb sideload in twrp,what to do bro?
Why would I want to do that?
Will it fix the A2 bugs?
Can i Install wayne aosp roms after applying this?
Sent from my Xiaomi MI A2 using XDA Labs
lsd95 said:
Why would I want to do that?
Will it fix the A2 bugs?
Click to expand...
Click to collapse
What bugs? For me it did solve an issue from A2, the slow micron storage.
Thanks for this guide!
stridedesu said:
What bugs? For me it did solve an issue from A2, the slow micron storage.
Thanks for this guide!
Click to expand...
Click to collapse
Like the proximity sensor bug, unlocking phone lag, gps with Google accuracy turned on...
dr460nf1r3 said:
Can i Install wayne aosp roms after applying this?
Click to expand...
Click to collapse
akshayakakat said:
You dont need to setup just go fastboot again
From this section u can either install miui 10 or custom rom guide will be resume about flashing miui 10
Click to expand...
Click to collapse
Seems like you can
I'm curious, how long does it take for QFIL to process MIUI9 stuff? I pressed download button and it's stuck or something for like an hour now.
alveola666 said:
Seems like you can
I'm curious, how long does it take for QFIL to process MIUI9 stuff? I pressed download button and it's stuck or something for like an hour now.
Click to expand...
Click to collapse
It does take a long time than Mi Flash. I check from time to time where it stopped and it does move a bit, like a snail's pace kind of slow.
lsd95 said:
Like the proximity sensor bug, unlocking phone lag, gps with Google accuracy turned on...
Click to expand...
Click to collapse
I do not have those bugs before I converted, so I can't help, sorry >_<
akshayakakat said:
Hey guys, Today I am creating a Guide on How to Convert Mi A2 to Mi 6X without triggering ARB.
This guide is based on Guide by @yunusasik so All credit goes to Him.
First of All Download the convert.zip from here
All the files needed to be replaced have already been replaced in convert.zip.
Then, Follow the Following Steps to Flash Mi 6X Firmware on your A2
1) Install Qualcomm Driver (next next next)
2) Install qpst (find qfill on start menu or qpst installsd directory)
3) Select Flat Build Mode
Select Programmer File prog_emmc_firehose_Sdm660_ddr.elf (already changed no arb)
Select XML files rawprogram0 and patch0 xml
4) Put the phone on the edl mode
navigate to ADB Folder and Open tikla.bat, it will open command windows in that directory.
"fastboot oem edl" make sure u have unlocked flashing and critical (check via fastboot oem device-info)
Press download
MIUI 9 Ready
5) You dont need to setup just go fastboot again
From this section u can either install miui 10 or custom rom guide will be resume about flashing miui 10
Flash Twrp
fastboot flash recovery twrpwayne.img
fastboot boot twrpwayne.img
If twrp start chinese you can set language there
6) Wipe / Advanced Wipe
7) System + Dalvik + Cache + Data + Internal
8) Flash MIUI 10(no arb).zip via adb sideload (put file into adb folder and use adb sideload filename.zip) or put file on the
storage via mtp if its works
" No need for gapps "
If you want root Flash Magisk.
Welcome to MIUI 10 without arb
If u wanna come back to Mi A2 just flash latest stock rom via qfill again.
U can use miflash but its stuck sometimes and risky because if u unplug when installing u have to use test point method for saving phone.
U can enable camera2api with "Camera2api enabler" on play store
If QFIL Does not work try QPST Alternative
You can Download Newer MIUI Releases from here
Just make sure to delete the firmware-update using winrar.
Credits :-
1) @yunusasik
2) @akshayakakat
For Support :-
1) https://t.me/mia26xBr
2) https://t.me/mia2official
3) https://t.me/indiamia2
Click to expand...
Click to collapse
stridedesu said:
It does take a long time than Mi Flash. I check from time to time where it stopped and it does move a bit, like a snail's pace kind of slow.
I do not have those bugs before I converted, so I can't help, sorry >_<
Click to expand...
Click to collapse
I remember reading a thread related to sensor issue. There is already a post regarding this sensor issue in this forum. probably u need to re-flash the persist .img from fastboot but dont do it just blindly. rather search the forum and refer to that thread before proceeding.
very goo guide, simple and easy... but i reverted to mi A2 because MIUI did not have some featured i needed and now i have a "problem"... i dont have fastboot image and boot image sometimes is a black screen or the Mu logo and then starts the android one bootanimation, how can i fix that? thx
jesan9 said:
very goo guide, simple and easy... but i reverted to mi A2 because MIUI did not have some featured i needed and now i have a "problem"... i dont have fastboot image and boot image sometimes is a black screen or the Mu logo and then starts the android one bootanimation, how can i fix that? thx
Click to expand...
Click to collapse
Reflash rom with fastboot, not use edl.
Use miflasher or qfil
Enviado desde mi MI 6X mediante Tapatalk
What about the cameras? Do we need to flash the camera fix ?
akshayakakat said:
Hey guys, Today I am creating a Guide on How to Convert Mi A2 to Mi 6X without triggering ARB.
This guide is based on Guide by @yunusasik so All credit goes to Him.
First of All Download the convert.zip from here
All the files needed to be replaced have already been replaced in convert.zip.
Then, Follow the Following Steps to Flash Mi 6X Firmware on your A2
1) Install Qualcomm Driver (next next next)
2) Install qpst (find qfill on start menu or qpst installsd directory)
3) Select Flat Build Mode
Select Programmer File prog_emmc_firehose_Sdm660_ddr.elf (already changed no arb)
Select XML files rawprogram0 and patch0 xml
4) Put the phone on the edl mode
navigate to ADB Folder and Open tikla.bat, it will open command windows in that directory.
"fastboot oem edl" make sure u have unlocked flashing and critical (check via fastboot oem device-info)
Press download
MIUI 9 Ready
5) You dont need to setup just go fastboot again
From this section u can either install miui 10 or custom rom guide will be resume about flashing miui 10
Flash Twrp
fastboot flash recovery twrpwayne.img
fastboot boot twrpwayne.img
If twrp start chinese you can set language there
6) Wipe / Advanced Wipe
7) System + Dalvik + Cache + Data + Internal
8) Flash MIUI 10(no arb).zip via adb sideload (put file into adb folder and use adb sideload filename.zip) or put file on the
storage via mtp if its works
" No need for gapps "
If you want root Flash Magisk.
Welcome to MIUI 10 without arb
If u wanna come back to Mi A2 just flash latest stock rom via qfill again.
U can use miflash but its stuck sometimes and risky because if u unplug when installing u have to use test point method for saving phone.
U can enable camera2api with "Camera2api enabler" on play store
If QFIL Does not work try QPST Alternative
You can Download Newer MIUI Releases from here
Just make sure to delete the firmware-update using winrar.
Credits :-
1) @yunusasik
2) @akshayakakat
For Support :-
1) https://t.me/mia26xBr
2) https://t.me/mia2official
3) https://t.me/indiamia2
Click to expand...
Click to collapse
Does the camera work for indian user???plez reply
megaxp said:
Reflash rom with fastboot, not use edl.
Use miflasher or qfil
Enviado desde mi MI 6X mediante Tapatalk
Click to expand...
Click to collapse
oh ok! well i used qfill, i will try to flash it with fastboot
i'll try it tomorrow.
in advance, if we can enable camera2api we can install gcam without problems, right?
Can this guide be followed on stock pie?
EDIT:
Nevermind, the method works on pie
But I am not able to use camera. Any tips?
EDIT2:
Nvm, I figured it out. Enabled camera2api, and flashed whyred miui camera in magisk.

[RECOVERY][3.3.1-17][laurel_sprout]Unofficial TWRP recovery for Xiaomi Mi A3 (Test)

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 feel.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Features:
- TWRP boots
- TWRP seems has problems with external sdcard and otg
- Magisk Flash works
Install guide :
Remember to use the appropriate .img version
https://forum.xda-developers.com/showpost.php?p=80168528&postcount=16
Other Install guide :
1. Follow this guide to root your device
2. Flash the TWRP installer like a magisk module
3. Flashing the TWRP installer you will lose the root, so you will need to flash magisk again from magisk manager before reboot the device or you can reboot the device and flash magisk in twrp
HOW TO UPDATE a ROM and KEEP TWRP and ROOT:
Before all Disable all magisk modules for boths methods
- Put rom.zip, twrp installer.zip and magisk.zip on your internal storage;
- Flash Rom;
- Flash TWRP Installer;
- Flash magisk;
- Reboot.
If you want you can also update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- Menu/modules/+ button/select the twrp installer.zip and flash it;
- Always in Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
Tips:
If you alread have a twrp flashed you can only flash the new installer zip or the new installation method to update your TWRP (remember to flash again magisk or your system will not boot).
If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".
Download:
TWRP 3.3.1-17 Unofficial by mauronofrio (Guide included in the link)
Source code:
https://github.com/mauronofrio/android_bootable_recovery
https://github.com/mauronofrio/android_device_xiaomi_laurel_sprout
Precompiled Stock Kernel
Donations:
Credits:
Thanks to Jyotiraditya Panda for the help with the tree
Thanks to @mdeejay for the hard testing
Created 2019-08-31
Bug
https://imgur.com/Y83Xhw2installed this TWRP but I'm with this bug, there are a way to fix this?
mauronofrio said:
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 feel.
Features:
- TWRP boots
- TWRP seems has problems with external sdcard and otg
- Magisk Flash works
Install guide :
1. Follow this guide to root your device
2. Flash the TWRP installer like a magisk module
3. Flashing the TWRP installer you will lose the root, so you will need to flash magisk again from magisk manager before reboot the device or you can reboot the device and flash magisk in twrp
HOW TO UPDATE a ROM and KEEP TWRP and ROOT:
Before all Disable all magisk modules for boths methods
- Put rom.zip, twrp installer.zip and magisk.zip on your internal storage;
- Flash Rom;
- Flash TWRP Installer;
- Flash magisk;
- Reboot.
If you want you can also update a stock rom from phone settings with local upgrade:
- Update the Rom WITHOUT REBOOT;
- Open Magisk Manager;
- Menu/modules/+ button/select the twrp installer.zip and flash it;
- Always in Magisk Manager, click on Install/Install/Direct Install;
- Again in Magisk Manager, click on Install/Install/Inactive Slot;
- Reboot.
Tips:
If you alread have a twrp flashed you can only flash the new installer zip or the new installation method to update your TWRP (remember to flash again magisk or your system will not boot).
If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".
Download:
TWRP 3.3.1-15 Unofficial by mauronofrio
TWRP 3.3.1-15 Unofficial Installer by mauronofrio
Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/mauronofrio/android_device_xiaomi_laurel_sprout
Precompiled Stock Kernel
Donations:
Credits:
Created 2019-08-31
Click to expand...
Click to collapse
Screenshots please
Rajendran Rasa said:
Screenshots please
Click to expand...
Click to collapse
For what, have you never seen TWRP?
nelinthon said:
https://imgur.com/Y83Xhw2installed this TWRP but I'm with this bug, there are a way to fix this?
Click to expand...
Click to collapse
The TWRP asked you for pattern or password when it started?
mauronofrio said:
The TWRP asked you for pattern or password when it started?
Click to expand...
Click to collapse
Can I directly flash twrp in fastboot??
fastboot flash recovery twrp.img
Because some mi devices won't boot to system after entering twrp
Thanks for your work! Is a big start for our phone!
Grazie dall'Italia!
mauronofrio said:
The TWRP asked you for pattern or password when it started?
Click to expand...
Click to collapse
yes
Rajendran Rasa said:
Can I directly flash twrp in fastboot??
fastboot flash recovery twrp.img
Because some mi devices won't boot to system after entering twrp
Click to expand...
Click to collapse
Recovery partition doesn't exist, so you can't flash it. The installation guide is explained in the first post
mauronofrio said:
The TWRP asked you for pattern or password when it started?
Click to expand...
Click to collapse
I fix it, just put the device password, so easy hahaha
nelinthon said:
I fix it, just put the device password, so easy hahaha
Click to expand...
Click to collapse
Yes that is for decryption
mauronofrio said:
Recovery partition doesn't exist, so you can't flash it. The installation guide is explained in the first post
Click to expand...
Click to collapse
That's not a guide
Explain with step 1,2,3
I have downloaded both the files given in op
Then how to flash twrp?? In fastboot
after flashing twrp do I need anything to flash for booting stock ROM
---------- Post added at 04:12 PM ---------- Previous post was at 04:07 PM ----------
Give the detailed step-by-step instructions for flashing twrp with usb drivers and adb fastboot files
Another problem
I tried to flash a GSI rom and STOCK rom but appears an error: UPDATER PROCESS ENDED WITH SIGNAL 4
Pls for cc9e also twrp
Install method explained
Hello!
Since the install steps provided on OP maybe confusing I thought on sharing here the steps I've made in order to get TWRP working....let's call it a "noob friendly guide", ok?
Here he we go:
0 - Your bootloader must be unlocked. If it's not, then follow step 1 of the instructions provided HERE.
1 - Download both twrp-3.3.1-15-laurel_sprout-mauronofrio.img and twrp-3.3.1-15-laurel_sprout-mauronofrio-installer.zip files present on OP
2 - Download latest Magisk Installer, Magisk Uninstaller and Magisk Manager from HERE.
3 - Copy all of the above to your phone internal memory (since current TWRP doesn't allow sdcard nor USB OTG yet...)
4 - Connect the phone to your PC
5 - Reboot to bootloader
Code:
adb reboot bootloader
6 - Check your current active slot
Code:
fastboot getvar current-slot
7 - Flash TWRP image into the current inactive slot (we do this just to leave the current active slot with no changes...at least for now)
If your current active is slot b, then run:
Code:
fastboot --set-active=a
Or, if your current active is slot a, then run:
Code:
fastboot --set-active=b
And afterwards, run:
Code:
fastboot flash boot twrp-3.3.1-15-laurel_sprout-mauronofrio.img
(of course that img file must be on the same path where you have adb and fastboot...)​8 - Reboot to TWRP:
Code:
fastboot reboot
NOTE: Long press Vol+ button before hitting "ENTER" and leave it pressed until you see the Android One logo (just to force boot into recovery)​
Just a heads up:
Now we are on TWRP booted on the "previously inactive slot". The "previously active slot" continues unchanged. Nothing "bad" really happened until what we decide to do next. If we want, we can just make a TWRP backup of the current slot and nothing else. Afterwards, we could always reboot to bootloader, change to the "previously active slot" again and boot system. If we do this, we continue without TWRP and root but we would now have a TWRP backup of the system present on the "inactive slot". Anyway let's presume you really want to permanently install TWRP and ROOT your device....so let's continue.
9 - While on TWRP, install twrp-3.3.1-15-laurel_sprout-mauronofrio-installer.zip
Note that, by doing this, TWRP will be permanently installed into both slots. This means that, if someday, you want to revert to stock, you'll need to reflash stock boot.img on, at least, one of your slots.​10 - After installing TWRP zip, go to reboot menu, change to the active slot (the one you had on the beginning of these steps) and reboot to TWRP
11 - After TWRP reboots, install Magisk installer zip
12 - Finally, reboot to system
13 - Enjoy
Thank you @mauronofrio and Jyotiraditya Panda for your work on bringing TWRP to Mi A3 (laurel_sprout).
I just hope you're able to fix USB OTG and SDCard bugs and, of course, make this TWRP official.
Cheers!
rom.zip
where is rom.zip
I wonder if it can work on Mi CC 9e......
Crosstyan said:
I wonder if it can work on Mi CC 9e......
Click to expand...
Click to collapse
This will not work on Mi CC 9e
Uninstall method explained (aka revert to stock)
Get boot.img, system.img and vendor.img from your stock ROM build type (EU or Global) and store them on the same folder you have adb and fastboot
Uninstall all Magisk Modules you have installed (do the same for Substratum themes, if any)
Reboot to TWRP
While on TWRP, Flash Magisk Uninstaller Zip
Reboot to bootloader
Code:
fastboot getvar current-slot
(just to make sure which slot is currently active)
Code:
fastboot flash boot boot.img
(from your stock ROM build type)
Code:
fastboot set_active [B]b[/B]
(or a, if you were on slot b)
Code:
fastboot erase boot
Code:
fastboot erase system
Code:
fastboot erase vendor
Code:
fastboot flash vendor vendor.img
(from your stock ROM build type)
Code:
fastboot flash system system.img
(from your stock ROM build type)
Code:
fastboot flash boot boot.img
(from your stock ROM build type)
Code:
fastboot reboot
By doing this your phone will now boot to the previously inactive slot, where an older system build is installed, with all your userdata preserved.
Now you just have to wait for the OTA to arrive and install it in order to have the latest stock Rom build installed without TWRP and Magisk.
NOTE:
This procedure is also intended for everyone that want to install latest stock OTA without losing userdata. The Magisk OTA Installation Tutorial could fail if you tampered with system or vendor partitions, that's why I've decided to share this procedure
There's a way to relock the bootloader???

[RECOVERY][UNOFFICIAL][melsuhl] TWRP 3.1.1-0 touch recovery for HTC One M8_Eye

Instructions to unlock the bootloader and install TWRP:
1. Install this, fastboot/adb : http://forum.xda-developers.com/show....php?t=2588979
- when install the adb installer, select Y for system-wide and N for drivers
- you can open Command Prompt from any where that you like when it is system-wide.
2. Install HTC USB drivers - http://www.htc.com/us/support/softwa...c-manager.aspx
- it will install the needed drivers.
3. Unlock the bootloader
- follow the instructions given here to unlock the bootloader - https://www.htcdev.com/bootloader/
- Note: you will not find One M8_Eye in the list so select “All Other Supported Models” at the end of the list.
4. Flash the TWRP
- Download TWRP for HTC One M8_Eye form here
- make sure 'USB Debugging' is turned on from 'Developers options' and phone is connected to the pc
- then run,
Code:
adb reboot fastboot
- after rebooting your phone into bootloader...run,
Code:
fastboot flash recovery <location of your recovery.img>
- then run,
Code:
fastboot reboot
- to boot into the recovery run,
Code:
adb reboot recovery
and you have successfully installed TWRP.
Donate:
Liked my work? Give me a beer
Downloads:
Download TWRP 3.1.1-0 for HTC One M8_Eye
tqs bro
which is more stable pixel or lineage
NSH021 said:
which is more stable pixel or lineage
Click to expand...
Click to collapse
Both ROMs are completely stable but my personal favourite is LineageOS.
Ps. You should have asked this question in one of the ROM thread.
Is not working for me, it goes to the stock recovery menu ... I download many times and tried to install in different ways including from the MicroSD and using another TWRP to install this ...

5S/5G Roms and Root Mega thread [Updated November 2022]

Nubia Red Magic 5G and 5S Roms and Root support Thread
Second post for TWRP and Magisk installation. Mirror for all roms and tools at end of post
Latest Official Rom updates
Android 11
US/Asia - V8.70 Nubia Link MD%: will update soon
EU - V7.70 Nubia Link MD5: will update soon
China - V9.50 Nubia Link MD5: 361AC13CA52AB83C239783FBAB088CEA
Android 10
US/Asia - V8.12 Nubia Link MD5: 6e930fc2431b3daeae2d94145926a6c1
EU - V7.15 Nubia Link MD5: bb9e3153716851e87f196ae6b4f44a2e
China - V6.23 Nubia Link MD5: BD447840ACA4D48F9443B94D2EAD890F
Change Log - 8.70 / 7.70 Android 11
- Security Patch October 2022
- Game Space enhancements
- Game space Gyro sensitivity menu
- game space touch sample rate improvement
- Fixed: corner of screen non-touchable in some cases
- Fixed: issue where game would fail to close
- Fixed: location of caller display
-Fixed: screen tearing when using 144hz
-
Bugs -
in Testing
- Always on display notification not showing
- memory leak in nubia launcher (requires forced close often to stop phone from lagging)
- small window mode for telegram and discord have wrong zoom/ aspect levels.
_____________________________________________________________________________________________________________
UNBRICK TOOL for 5S - Courtesy of @johnny886
Use this tool, with directions on the thread to restore your device to USA/Asia 8.07
you can then install TWRP and after flash any region rom after creating a somewhat universal unbrick tool for those in different regions.
Follow directions on the thread. but here is a link to the Thread. A Mirror for the tool is in my Personal Mirror at the bottom of this thread post.
Link to Thread
Confirmed working with 5G devices - but its recommended to update as soon as you unbrick.
_____________________________________________________________________________________________________________
For unlocked bootloader
Fix your fingerprint sensor.
here Link
--------------------------------
Update Instructions.
Note
for Android 11 do not flash through TWRP you will softbrick.
____________________________________________________________________
For Stock devices without root
- disable security. No pin, no face unlock, no finger print, no pattern. remove all security.
-download zip file
-go to system update tap three dots and select local update
-Navigate to update.zip and select.
-your phone will reboot and install new rom
- you phone will reboot once more and you will be greeted with your lock screen
- setup Phone with security options as before flash.
For devices with "LOCKED bootloader" Root / TWRP (not tested on A11)
- take backup of vbmeta and recovery partitions in TWRP
- change the name of both files to vbmeta.img and recovery.img
(VBmeta is often 64kb big and Recovery is often 90+mb big.)
- copy and paste these new img files into the update zip.
- flash through TWRP
- go back to main menu, select advanced, then select option
"disable replace TWRP" to keep TWRP as your recovery.
for devices with "Unlocked bootloader" (not tested on A11)
-make full backup
-download zip
-install zip through TWRP
-reboot
__________________________________________________________________________________
Custom Roms and Kernels
Kernel
Mattofthedead's Redmagic 5S kernel for LOS and Stock roms LINK
Roms
Rom Builder Ra's Custom Roms - Please post any bugs or issues in the related threads.
Pixel Experience Plus
Ressurection Remix
NOTE : to boot any Custom rom on the 5S device. Flash the Rom following the directions. then flash Matts LOS kernel Version 3
__________________________________________________________________________________
------------------------------
Old roms
Android 11
V8.65 Nubia Link MD5: 3d52e18c66366d3d23744184425d3926
V8.64 Nubia Link MD5: a7e61f5e2f7c377a6850cf6ac3a62aa7
V7.65 Nubia Link MD5: 746dad5b6145dfba1108355095a6ad46
V7.64 Nubia Link MD5: 55371ee8e5728aee2bc7df5b3a7d6585
V9.42 Nubia Link MD5: D492B92DD83B366508CDD74DE7D152A3
V9.40 Nubia Link MD5: D28F26289A9B75F771EF4F623F0BB367
V8.57 Nubia Link MD5: 266819d4b09c2c52aadb39e948dc84bc
V8.59 Nubia Link MD5: d7e32b7a3e833adc57fcf734aa47f5a3
V7.57 Nubia Link MD5: 81ee71869f660a28b631d871ffb59524
V7.60 Nubia Link MD5:
V9.26 Nubia Link MD5: 8997375CD97D8F7F261F21121FC8EFAA
Android 10
v6.18 Link MD5: 9AC5EA5F64835C1995E4A81D4973FB71
V6.13 Link MD5: F38ED2D7CB58252D308B29D1D4517DB9
V7.07 Link MD5: ffc3fdaf4afc522aa3a084d9275f2cb6
V7.14 Link MD5: 0f879160fbf8b556de5303207b93d0d1
V8.07 Link MD5: b30dab221be73292c5da7884afc0363f
V8.11 Link MD5: 85d9366a3017112cb68d66041e725ce6
________________________________________________________
Personal Mirror - Located in Eastern Canada
________________________________________________________
TWRP and root guide for 5S and 5G on Android 10 only - (these steps will NOT unlock your bootloader) - these steps use a bypass method to install a recovery without unlocking bootloader. the command below is to allow flashing of partitions. bootloader status is still locked during and after process is complete.
Note. if you already have ADB and fastboot drivers installed, this folder will work as is. if not I put an installer in the folder too to install a mini adb fastboot setup. which needs windows driver signing turned off (windows 8-10) this can be done by going to advanced startup and choosing to boot without driver signing.
1. Download zip file found at the end of this post
2. Extract to root of C: drive
3. open CMD prompt with admin privileges
4. CD to the ADB folder you extracted. (CD = Change Directory)
5. Connect your device in Fastboot mode (power off. hold volume down +Power until it vibrates. then release power but continue to hold volume down)
6. Once in fastboot mode, with cable connected to the computer run these commands
7. fastboot oem nubia_unlock NUBIA_NX659J (this allows you to flash the device partitions)
8. fastboot flash recovery TWRP-xxx.img (xxx being the version number of the TWRP image you choose to install)
9. fastboot flash vbmeta vbmeta_skip.img
10. reboot to recovery (from the fastboot menu) it should load TWRP
11. if TWRP does not ask you to keep recovery from being over written, go to advanced and choose disable replace TWRP. to keep TWRP as your recovery, and stop the system from re writing the stock recovery.
12. Reboot to system for the first time and complete the initial setup. this is to create the user space partitions data/media ( preferably do not make a pin or pattern at this stage)
13. once in the rom, connect to PC and copy over the Magisk zip to the internal memory. then reboot holding Volume up
14. once back into TWRP (if you created a pin during setup TWRP will ask you for your pin to access data) go into install and flash the Magisk.zip you moved in step 13 then reboot. once back into the rom, you will see a Magisk app, tap it and allow to update, the APK will install latest version of the manager.
More NOTES.
this must be done on a clean system. you need to wipe all data partitions to boot to system. re writing VBMETA causes encryption to break. until you reboot. so you lose everything Make a backup of your data partition on to your PC before doing anything.
its also recommended to have an update.zip of your current rom (which you can download from the post above), incase you need to reinstall the rom after flashing the new recovery or VBmeta.
OEM unlocking in the developer options is NOT needed. since you are not unlocking your bootloader. this step can be ignored.
I'll update this tutorial with newer steps if needed.
Thanks to those that created all these great tools.
@wzsx150 - for their version of TWRP
John Wu - for Magisk
@mslezak vbmeta_skip
If i've helped you root your device, please hit thanks.
Link ADBmini - zip updated with Magisk 21.4 zip
MD5 for ADBfastbootmini.zip: 0ad97a9ae1539b26ef78c849b169e807
I'm working on a process that will update to Android 11, through TWRP and root, without losing data. Much like a stock update.
I will update the thread once my tests are complete.
Hello. I can not flash (i cant even copy) the zip via TWRP. I see the storage device on my windows laptop. I have wipe data cache and dalvik, but it does not copy it and i can not restore my device. Help will be appreciated
josehdx said:
Hello. I can not flash (i cant even copy) the zip via TWRP. I see the storage device on my windows laptop. I have wipe data cache and dalvik, but it does not copy it and i can not restore my device. Help will be appreciated
Click to expand...
Click to collapse
Try putting update zip on a USB key and connect via OTG and flash this way. Moving files with TWRP for some reason corrupts or does not complete transfer.
Make sure to factory reset. If you're coming from a used update, backup your data partition and wipe everything. Then check to see if the partition is in fact empty. ( I noticed sometime my data partition did not erase)
Patrick Morgan said:
Try putting update zip on a USB key and connect via OTG and flash this way. Moving files with TWRP for some reason corrupts or does not complete transfer.
Make sure to factory reset. If you're coming from a used update, backup your data partition and wipe everything. Then check to see if the partition is in fact empty. ( I noticed sometime my data partition did not erase)
Click to expand...
Click to collapse
Thanks
Working fine after full data partition wipe.
I have an additioal question regarding further updates, and i would not want to open a new topic. so, after flashing the zip, i "lost" TWRP but i already have root access. I wonder if is possible to flash upcoming updates with the default recovery built in on the phone, if not, i would assume i need to install TWRP again.in any case, will side loading update make any problem with the current system? i hope my question and context is clear
As these are official ROMs, they will replace the recovery and remove root from the phone.
If you do not have root, flashing these zips from the system menu local update should work. But if you have root or TWRP it's better to flash through TWRP.
You could just flash TWRP again after flash, but I personally modify the zip and add the recovery to it to save me going into fastboot after each update.
Is it possible to install the US rom on a device with EU rom?
in the EU version I can't set the frame rate to 144 hz.
Darkvenum79 said:
Is it possible to install the US rom on a device with EU rom?
in the EU version I can't set the frame rate to 144 hz.
Click to expand...
Click to collapse
I've spoken with another EU rom user, that has the same issue before. it seems it was an error in the stock rom.
reinstalling 7.07 from the links above should fix your problem.
both 7.07 (the EU rom) and 8.07 (the US rom) are exactly the same. the only difference is the languages from what I can tell.
I have a silly question. Unfortunately i unlocked bootloader and i lost the fingerprint capability. I have tried many times to do the calibration without success. I wonder if a factory flash (EDM or any nubia tool) can restore the capability and then use this guide to do the rooting? Thanks
josehdx said:
I have a silly question. Unfortunately i unlocked bootloader and i lost the fingerprint capability. I have tried many times to do the calibration without success. I wonder if a factory flash (EDM or any nubia tool) can restore the capability and then use this guide to do the rooting? Thanks
Click to expand...
Click to collapse
No it wont.
There is a specific step by step that is required to get it functioning again. And it only survives until your next full wipe, which i assume you will do more often flashing non official roms.
I can grab the steps and edit this post for you.
Edit -
Prep.
have a black / very dark brown leather. (belt, wallet, etc)
a soft gel plaster / Bandaid
(something skin textured and in a pink / light beige colour) texture and colour are important.
First step is clear data in the infingerprint app in app info and remove permissionfor data memory - (you need to show system apps to find it)
- digit in call phone code:
*#9959#
(android 11 use Activity launcher (playstore) to enter fingerprint menu)
- uncheck performance checkbox , check only calibration checkbox
Steps -
1. Press start then wait.
2.Press next and with plaster / bandaid press on circle
3.Press next and use wallet / belt ( the display becomes black for black calibration)
4.Press next and use gel plaster / bandaid again but pinch it in so only the part with your finger touches the circle.
If you are lucky see success alert in green color
In system app in setting In-Display-Fingerprint allow access to data memory then reboot device.
Enjoy your Finger Print once more!
P.S. = do this procedure in a very dark room to improve the chances of it succeeding.
Thanks to qtr1st (Salem) and mikekrunk (Mike) for the steps and information.
josehdx said:
I have a silly question. Unfortunately i unlocked bootloader and i lost the fingerprint capability. I have tried many times to do the calibration without success. I wonder if a factory flash (EDM or any nubia tool) can restore the capability and then use this guide to do the rooting? Thanks
Click to expand...
Click to collapse
esy re-lock bootloader fingrperint work fine without calibration
---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------
Patrick Morgan said:
TWRP and root guide for 5S - (these steps will NOT unlock your bootloader) - these steps use a bypass method to install a recovery without unlocking bootloader. the command below is to allow flashing of partitions. bootloader status is still locked after process is complete.
Pretty short step by step to get twrp and Magisk if you want, on your phone. (Red Magic 5S)
Note. if you already have ADB and fastboot drivers installed, this folder will work as is. if not I put a installer in the folder too to install a mini adb fastboot setup. which needs windows driver signing turned off (windows 8-10) this can be done by going to advanced startup and choosing to boot without driver signing.
1. Download zip file attached or mirrored
2. Extract to root of C: drive
3. open CMD prompt with admin privileges
4. CD to the ADB folder you extracted.
5. Connect your device in Fastboot mode (power off. hold volume down +Power until it vibrates. then release power but continue to hold volume down)
6. Once in fastboot mode, with cable connected to the computer run these commands
7. fastboot oem nubia_unlock NUBIA_NX659J (this allows you to flash the device partitions)
8. fastboot flash recovery TWRP-xxx.img (xxx being the version number of the TWRP image you choose to install)
9. fastboot flash vbmeta vbmeta_skip.img
10. reboot to recovery (from the fastboot menu) it should load TWRP
11. if TWRP does not ask you to keep recovery from being over written, go to advanced and choose disable overwrite TWRP. to keep TWRP as your recovery, and stop the system from re writing the stock recovery.
12. Magisk zips files are in the folder. copy to device and flash through twrp. and install the apk after boot. done twrp and root.
More NOTES.
this must be done on a clean system. you need to wipe all data partitions to boot to system. re writing VBMETA causes encryption to break. until you reboot. so you lose everything Make a backup of your data partition on to your PC before doing anything.
its also recommended to have a update.zip of your current rom (which you can download from the post above), incase you need to reinstall the rom after flashing the new recovery or VBmeta.
OEM unlocking in the developer options is NOT needed. since you are not unlocking your bootloader. this step can be ignored.
I'll update this tutorial with newer steps if needed.
Thanks to those that created all these great tools.
@wzsx150 - for their version of TWRP
John Wu - for Magisk
@mslezak vbmeta_skip
If i've helped you root your device, please hit thanks.
Link ADBmini
MD5 for ADBfastbootmini.zip: e49f162080c6a2124c243716546ad710
Click to expand...
Click to collapse
where is the link of twrp.img
sansha1211 said:
where is the link of twrp.img
Click to expand...
Click to collapse
Patrick Morgan said:
Link ADBmini
MD5 for ADBfastbootmini.zip: e49f162080c6a2124c243716546ad710
Click to expand...
Click to collapse
that file called Link ADBmini has all you need
Is it ok to flash Eu rom to my NA/asia rom?
After reboot it ask me for verify pin and now I can't load the TWRP.img Partition volume Full error help me please
Rai972 said:
After reboot it ask me for verify pin and now I can't load the TWRP.img Partition volume Full error help me please
Click to expand...
Click to collapse
reboot to bootloader by... power off device -> press and hold volume down and power button until you see the logo -> connect device to your computer then do the steps 7 to 12
also once you are in TWRP make sure you ... this must be done on a clean system. you need to wipe all data partitions to boot to system. re writing VBMETA causes encryption to break. until you reboot. so you lose everything Make a backup of your data partition on to your PC before doing anything.
7. fastboot oem nubia_unlock NUBIA_NX659J (this allows you to flash the device partitions)
8. fastboot flash recovery TWRP-xxx.img (xxx being the version number of the TWRP image you choose to install)
9. fastboot flash vbmeta vbmeta_skip.img
10. reboot to recovery (from the fastboot menu) it should load TWRP
11. if TWRP does not ask you to keep recovery from being over written, go to advanced and choose disable overwrite TWRP. to keep TWRP as your recovery, and stop the system from re writing the stock recovery.
12. Magisk zips files are in the folder. copy to device and flash through twrp. and install the apk after boot. done twrp and root.
Rai972 said:
After reboot it ask me for verify pin and now I can't load the TWRP.img Partition volume Full error help me please
Click to expand...
Click to collapse
if you have not removed your pin before flashing any of the roms. it asks you for YOUR own pin that you made when you setup the phone. so use your own pin.
the process of rooting your device, clears a security partition. (the VBmeta partiton)
this deletes the encryption you had on your phone. so the devices partitions are unaccessable and need to be wiped before you can boot to system.
you need to clear data. all data. then check in TWRP file browser if your data partition is clear. .. if you see folders with random letters its not been formatted correctly.
so, in the wipe menu on TWRP you should go into advanced and change the partition type to ext4 then back to f2fs to clear the partition of data.
once your phone is clear you should be able to wipe cache and davik then reboot to system for it to start like a factory reset.
sansha1211 said:
esy re-lock bootloader fingrperint work fine without calibration
---------- Post added at 12:13 PM ---------- Previous post was at 12:08 PM ----------
where is the link of twrp.img
Click to expand...
Click to collapse
How should i relock the bootloader? Via cmd, command doesn't work. Should i lock also via developer options?
josehdx said:
How should i relock the bootloader? Via cmd, command doesn't work. Should i lock also via developer options?
Click to expand...
Click to collapse
adb devices
adb reboot bootloader
fastboot devices
fastboot flashing lock
josehdx said:
How should i relock the bootloader? Via cmd, command doesn't work. Should i lock also via developer options?
Click to expand...
Click to collapse
via cmd -- fastboot flashing lock
After i reboot in TWRP and disable replace TWRP, i install magisk from a USB otg, and then i wipe all data, then i reboot system but it keeps opening TWRP in every reboot, i had to install Stock Rom to have my phone back but without root, what im doing wrong?? thanks
Edit: now it worked, tried a few times and worked don't know what failed

Categories

Resources