How to install custom rom? - One (M8) Q&A, Help & Troubleshooting

Good day,
I tried to find this topic in the differents threats but I can not find it. The thing is that I have a htc m8 OP6B160 with original marshmallow version.
The cellphone is not rooted and with not custom recovery. I would like to try new roms with sense 8 but I do not know how to do it. It is possible to obtain a detailed guide in order to install a custom rom?
Thank you in advance for your help and sorry for my English.
Kind regards,
Enviado desde mi HTC One_M8 mediante Tapatalk

Although old, the following guide is mostly still relevant:
http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
But the TWRP link is outdated, and you will want the latest version TWRP 3.0: https://dl.twrp.me/m8/
You only need to do Section 1 of the guide, up to the point where custom recovery TWRP is installed. You don't need to root to install custom ROMs (you will have root by default after the custom ROM is installed, for most ROMs). Once TWRP is installed:
- Put the desired custom ROM on SD card, or download to phone's internal storage.
- Boot into TWRP
- Highly recommended to go to "Backup" section of TWRP, and back up the stock ROM
- Go to "Wipe" in TWRP, and do the default wipe (Dalvik, cache, user data)
- Go to "Install", find the desired ROM, and select it
- Sit back and let the ROM install, reboot and drink beer - You've just installed a custom ROM
Also note, you should backup any personal data you want to keep, before starting any of this.

redpoint73 said:
Although old, the following guide is mostly still relevant:
http://forum.xda-developers.com/htc-...s-off-t2800727
But the TWRP link is outdated, and you will want the latest version TWRP 3.0: https://dl.twrp.me/m8/
You only need to do Section 1 of the guide, up to the point where custom recovery TWRP is installed. You don't need to root to install custom ROMs (you will have root by default after the custom ROM is installed, for most ROMs). Once TWRP is installed:
- Put the desired custom ROM on SD card, or download to phone's internal storage.
- Boot into TWRP
- Highly recommended to go to "Backup" section of TWRP, and back up the stock ROM
- Go to "Wipe" in TWRP, and do the default wipe (Dalvik, cache, user data)
- Go to "Install", find the desired ROM, and select it
- Sit back and let the ROM install, reboot and drink beer - You've just installed a custom ROM
Also note, you should backup any personal data you want to keep, before starting any of this.
Click to expand...
Click to collapse
Thank you so much for the information. Unfortunately the guide is down (page not found). Is there other guide to check?
Kind regards,
Enviado desde mi HTC One_M8 mediante Tapatalk

luiguzman23 said:
Thank you so much for the information. Unfortunately the guide is down (page not found).
Click to expand...
Click to collapse
Sorry, the link got broken when I cut/pasted it.
Here it is (also fixed the link in my previous post): http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727

redpoint73 said:
Sorry, the link got broken when I cut/pasted it.
Here it is (also fixed the link in my previous post): http://forum.xda-developers.com/htc-one-m8/general/vomerguides-m8-bootldr-unlock-s-off-t2800727
Click to expand...
Click to collapse
Thank you for the information! Link works! I will try it today after work!
Just one more thing, can you recommend me a good custom rom? I want to install resurrection remix rom looks a good custom rom.
Enviado desde mi HTC One_M8 mediante Tapatalk

Related

Need Help (Backing up ROM and Wiping Data)

It's my first time on tryiing to root my phone, and I bumped into some terms and procedures which I can't find how to...
Need help on how to
- Back-Up ROM (how to and what do I need)
- Full Data Wipe (what will happen and why do I need to?)
- How to Flash a custom rom?
btw, I am using HTC Desire Z, Android Version 2.2
Thanks in advance
johnrich23 said:
It's my first time on tryiing to root my phone, and I bumped into some terms and procedures which I can't find how to...
Need help on how to
- Back-Up ROM (how to and what do I need)
- Full Data Wipe (what will happen and why do I need to?)
- How to Flash a custom rom?
btw, I am using HTC Desire Z, Android Version 2.2
Thanks in advance
Click to expand...
Click to collapse
Have you already rooted it?
If so, you need to have a custom recovery. I'd recommend that (if your phone is rooted) you download 4Ext recovery updater from the market. With this app you can choose any of these options by following the menus and dialogs and it will reboot into the custom recovery and perform them.
Most importantly, you will need to flash the new recovery from the app. Select "online install" from the top of the list and choose the most logical options.
After you have flashed the recovery, you will be able to access the other functions you are asking about from the Recovery section (third option down). You will find what you need there.
Of course you will need to download a custom rom first before you can install it.
For instant gratification I recommend starting here:
www.virtuousrom.com/p/roms.html
Obviously choose one of the roms located beside the Desire Z/G2.
After you have the custom rom zip on your sd card, the 4ext recovery updater app will do all your needed steps at once like this:
Open app>recovery>install zip from sd card>[choose your downloaded zip]>install now>check "backup current rom..." and "superwipe ext4"
You are off to the races!
If anything confuses you, don't hesitate to ask. If 4Ext looks overwhelming, ROM Manager (also available in the market/play store) is a bit more straightforward, but the same idea. Also, ROM Manager has a bunch of roms available for download within the app.
Whichever app you like, you should buy the paid version from the market. Koush and Madmaxx have both put out some great apps for rooted users.
Heck, buy both. I did. XD
Sent from my HTC Vision using XDA

How to install Custom Roms after S-Off?

I am wondering what's next after S Off to install Custom Roms, How do I go about doing that?
I am rooted with beaups s-off method.
thank you
JonrossMaddox said:
I am wondering what's next after S Off to install Custom Roms, How do I go about doing that?
I am rooted with beaups s-off method.
thank you
Click to expand...
Click to collapse
Flash a custom recovery,and then flash the ROM
Sent from my unknown using Tapatalk 4
nexusisneecesary said:
Flash a custom recovery,and then flash the ROM
Sent from my unknown using Tapatalk 4
Click to expand...
Click to collapse
How do I go about flashing a custom recovery?
JonrossMaddox said:
How do I go about flashing a custom recovery?
Click to expand...
Click to collapse
Go into the original android development section find twrp touch recovery and follow those instructions there.
Sent from my unknown using Tapatalk 4
Since you are a new user I will help you with a little more depth, I hate seeing new users mess up their device. Give me a second to get it together and I will edit this post with some helpful info.
(EDIT)
OK so Follow the instructions on this page ( http://forum.xda-developers.com/showthread.php?t=2416431 ) to get a custom recovery. It's TWRP, and I like it a lot. I love that it's touch, because I remember using amon ra on the HTC Evo and you had to use the volume up & down + power button to navigate the menus and it was sometimes very easy to make a mistake. This touch recovery eliminates that.
Next, go to either the original android development OR the android development section of the Verizon HTC One and choose either an AOSP rom or sense based rom. So far I've used the Google Play Edition rom and now I'm on andy's bonestock and have really liked them both. Make sure any rom you ever flash is compatible with your phone, very, very important. if you don't know, just ask. MOST users on here are friendly and will say yes or no and not give you a hard time.
Roms are very easy to install. Just download the .zip, I download it straight from my phone, but you can also download on your computer and then transfer it to your phones storage. (thanks to andybones advice, I have started checking the MD5 of the rom. Devs include it in thread of the info of the rom here on xda, and once you have the .zip on your phone, use a file manager to view the MD5 and compare it to what the dev has put in their thread. If it matches, you're good. Then boot into recovery and DO A BACKUP OF YOUR STOCK AND KEEP IT!! Everything you need to backup is already checked with TWRP so that's helpful. Once you're done with the backup, then do a wipe. I wipe SYSTEM, DATA, CACHE, & DALVIK CACHE. Then, go back to the TWRP main screen and select install. Find the .zip you want to install and flash it. Some roms have aroma installer so it will bring you to a special screen that allows you to select options you want to have in the rom. check the boxes of the apps/options you want in the rom and follow the 'next' prompts until the rom installs. After you're done, reboot, set up your new rom and enjoy it!
If anyone more experienced than me has any info to add to this, feel free.
Okay so I am kind of stuck, I have tried on Ubuntu, Windows, and Mac, but I cannot get my device to show up under fastboot command. Why wont it? I rebooted into fastboot from the bootloader.
EDIT: Nevermind fixed, I didn't realize it couldn't be booted into the OS.
josh995 said:
Since you are a new user I will help you with a little more depth, I hate seeing new users mess up their device. Give me a second to get it together and I will edit this post with some helpful info.
(EDIT)
OK so Follow the instructions on this page ( http://forum.xda-developers.com/showthread.php?t=2416431 ) to get a custom recovery. It's TWRP, and I like it a lot. I love that it's touch, because I remember using amon ra on the HTC Evo and you had to use the volume up & down + power button to navigate the menus and it was sometimes very easy to make a mistake. This touch recovery eliminates that.
Next, go to either the original android development OR the android development section of the Verizon HTC One and choose either an AOSP rom or sense based rom. So far I've used the Google Play Edition rom and now I'm on andy's bonestock and have really liked them both. Make sure any rom you ever flash is compatible with your phone, very, very important. if you don't know, just ask. MOST users on here are friendly and will say yes or no and not give you a hard time.
Roms are very easy to install. Just download the .zip, I download it straight from my phone, but you can also download on your computer and then transfer it to your phones storage. (thanks to andybones advice, I have started checking the MD5 of the rom. Devs include it in thread of the info of the rom here on xda, and once you have the .zip on your phone, use a file manager to view the MD5 and compare it to what the dev has put in their thread. If it matches, you're good. Then boot into recovery and DO A BACKUP OF YOUR STOCK AND KEEP IT!! Everything you need to backup is already checked with TWRP so that's helpful. Once you're done with the backup, then do a wipe. I wipe SYSTEM, DATA, CACHE, & DALVIK CACHE. Then, go back to the TWRP main screen and select install. Find the .zip you want to install and flash it. Some roms have aroma installer so it will bring you to a special screen that allows you to select options you want to have in the rom. check the boxes of the apps/options you want in the rom and follow the 'next' prompts until the rom installs. After you're done, reboot, set up your new rom and enjoy it!
If anyone more experienced than me has any info to add to this, feel free.
Click to expand...
Click to collapse
Just to make sure I have the steps correct:
1) S-Off the phone
2) Unlock bootloader via htcdev or other methods posted on this forum
3) ???
4) Flash a recovery
5) Flash a rom
Are we supposed to do anything between unlocking and flashing a recovery?
WhiteAsIce said:
Just to make sure I have the steps correct:
1) S-Off the phone
2) Unlock bootloader via htcdev or other methods posted on this forum
3) ???
4) Flash a recovery
5) Flash a rom
Are we supposed to do anything between unlocking and flashing a recovery?
Click to expand...
Click to collapse
Before flashing any rom, you should make a backup, so that you can revert to a prior iworking state, in case the rom doesn't run or doesn't please you.
Can Someone Sticky This, or Create a Thread to Stick This? Then people can be pointed to it.
jpradley said:
Before flashing any rom, you should make a backup, so that you can revert to a prior iworking state, in case the rom doesn't run or doesn't please you.
Click to expand...
Click to collapse
just went s-off
I just successfully ran Rumrunner on my HTC One GSM and now I am leery about flashing Roms on my device. I'm currently using Twrp 2.6.3.3, and is wiping SYSTEM, DATA, CACHE, & DALVIK CACHE really safe? Cause before I would do a advance wipe for every new install..
And, is there a way to revert back S-on without locking bootloader? Cause every method I've looked up restores to stock..
Thanks in advance!

Best way to currently install marshmallow after failed attempts

Hi, after trying to use philz recovery to flash a ROM on to my device I got what I think was called a soft brick where I had to download and flash the stock ROM.
My device (GT-N7100) is now not rooted again and back to square one. Any problems I come across occur from using old tutorials with dead links so if someone could recommend a tutorial to install a custom rom like 5.1 I would be very grateful. Thanks
EDIT. I found this guide on youtube http://mytechtube.in/samsung-galaxy-note2-rooting.html + http://mytechtube.in/samsung-galaxy-note2-6-0-1.html . Does it look like it will work?
Flash twrp using Odin, then flash a custom rom via twrp.
Root your phone first. Flash recovery like twrp and install custom rom like Resurrection remix the ROM is stable most of the things works and good as daily driver.
Sent from my GT-N7100 using Tapatalk
Root is not required to flash TWRP. TWRP can be flashed directly to the phone using Odin.
1life2love4 said:
Root your phone first. Flash recovery like twrp and install custom rom like Resurrection remix the ROM is stable most of the things works and good as daily driver.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
audit13 said:
Flash twrp using Odin, then flash a custom rom via twrp.
Click to expand...
Click to collapse
Should I just use the latest version of TWRP direct from their website https://twrp.me/devices/samsunggalaxynote2n7100.html ?
I think my phone code name is t03g how can i confirm?
Thanks
EDIT. Just installed TWRP :good: now on to picking a good ROM. will have a look at the ressurection one too.
To install apps that require root should O root it now or do some ROMS root it for me?
Sorry for the amount of questions
The easiest way to install twrp would be to flash the tar version using Odin.
audit13 said:
The easiest way to install twrp would be to flash the tar version using Odin.
Click to expand...
Click to collapse
Just did as you suggested thanks. To install apps that require root should I root it now or do some ROMS root it for me?
Most custom Roms come prerooted. If the rom is not rooted, you can flash supersu.zip from recovery.
Root can be enabled on cm13 under developer options in settings.
audit13 said:
Most custom Roms come prerooted. If the rom is not rooted, you can flash supersu.zip from recovery.
Root can be enabled on cm13 under developer options in settings.
Click to expand...
Click to collapse
Thanks for the info. I've watched some videos of cm13 and I so far thats what im going with. Will look for a youtube video to help with installing it.
To install, download cm13 to an sad card, wipe cache, wipe system, wipe data, install cm13 zip from ad card, reboot.
Cm13 does not come with Google apps (gapps) so you'll have to decide which version you want.
audit13 said:
To install, download cm13 to an sad card, wipe cache, wipe system, wipe data, install cm13 zip from ad card, reboot.
Cm13 does not come with Google apps (gapps) so you'll have to decide which version you want.
Click to expand...
Click to collapse
I didnt realise that before. Could I for example install any of the GAPPS from this link https://devs-lab.com/android-gapps-download.html " full google apps" or pico google apps ?
From whatI gather GAPPS are installed straight after rom install before root though is this the same in cm13?
Flash CM13, flash Gapps, reboot.
I like open gapps frome here: http://opengapps.org/
audit13 said:
Flash CM13, flash Gapps, reboot.
I like open gapps frome here: http://opengapps.org/
Click to expand...
Click to collapse
Perfect Im going to try that in the next hour. I like the look of aroma. For platform would I select ARM and android 6.0?
EDIT. Found the answer it was ARM.
Arm as I believe your phone has a Qualcomm processor.
audit13 said:
Arm as I believe your phone has a Qualcomm processor.
Click to expand...
Click to collapse
Yeah was ARM as I just installed CM13. Thank you seriously headig your way.
Hopefully, everything works.
Now that you have twrp on your phone, you can use it to create a backup of everything in your phone, including time efs folder. Save the efs folder in a safe place in case you need to restore it to the phone at a later date.
After making a backup, you can flash other Roms and you can return to cm13 by restoring your backup.
Just getting familiar with it. Thanks for the help.
Do you know if there's settings to turn screen on during during calls because it works with the front sensor and that sensor is broke on my phone?
Sent from my GT-N7100 using Tapatalk
You could try disabling the proximity sensor in the phone so the phone screen doesn't blank out during a call.
Got it sorted using an app from the play store.
Sent from my GT-N7100 using Tapatalk
audit13 said:
You could try disabling the proximity sensor in the phone so the phone screen doesn't blank out during a call.
Click to expand...
Click to collapse
Hi, phones been running great until yesterday when it started telling me the disk space was nearly full(via es filee xplorer). It then turned off a few times and i turned it on again. The phone would shut off if I tried to do anything like launch the camera app. It now bootloops when i try to turn it on.
I have tried wiping dalvic cache, factory reset, recover from a recovery point i made when i installed the rom and reinstalling the custom rom like I did the first time.
The phone did once go into a boot animation of the old boot screen(02 animation), another time it started the miui boot logo but went back to the normal samsung galaxy note 2 boot loop.
Any suggestions on how i could get it running again? Thanks!

Trouble Flashing Custom ROM

So I rooted my 5X with the help of the Nexus root toolkit. I have successfully flashed Elementalx kernel through TWRP and have tried flashing the ROM and GApps through the toolkit and through TWP but always end up in a bootloop at the Google screen. What am I doing wrong?
I'm just looking to load a Custom ROM to possibly squeeze some extra battery life out of my 5X.
Bootloop
Hi mate,
Did you try and clear cache & dalvic after installing the rom through TWRP.
Also did you install the kernel after the rom & gapps, also try another kernel maybe, or use the stock one with the rom ( if possble ).
or grab the factory image and go back to stock & lock the bootloader.
Also, I did read if you do not use the SDK toolkit from Google ( contains Fastboot and ADB ) , you can have issues like this.
http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930
I will do some reading and see what else I find.
Later
Which ROM are you flashing? Most have a decent installation instruction you should follow precisely.
Basic steps in correct order:
Download ROM and Gapps.
Clear data and caches (always clean install a new ROM).
Flash ROM
Flash Gapps
Flash custom kernel
Root.
Boot (on pre 7.0 first boot may take 10+ minutes)
slysurfer said:
Hi mate,
Did you try and clear cache & dalvic after installing the rom through TWRP.
Also did you install the kernel after the rom & gapps, also try another kernel maybe, or use the stock one with the rom ( if possble ).
or grab the factory image and go back to stock & lock the bootloader.
Also, I did read if you do not use the SDK toolkit from Google ( contains Fastboot and ADB ) , you can have issues like this.
http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930
I will do some reading and see what else I find.
Later
Click to expand...
Click to collapse
I chose options to clear cache and dalvik when using the Nexus root toolkit and then again manually when I tried to flash through TWRP. I don't quite remember which order I tried to install the kernel. I'm assuming from your question the kernel always always has to be flashed after flashing a ROM? (Even if the kernel was previously flashed?)
I'l look into doing it the 'old fashioned' way as it seems it should iron out any issues. Thanks for the help and please reply if you have a chance!
peltus said:
Which ROM are you flashing? Most have a decent installation instruction you should follow precisely.
Basic steps in correct order:
Download ROM and Gapps.
Clear data and caches (always clean install a new ROM).
Flash ROM
Flash Gapps
Flash custom kernel
Root.
Boot (on pre 7.0 first boot may take 10+ minutes)
Click to expand...
Click to collapse
I'm attempting to flash the latest version of Pure Nexus, Gapps, and Elementalx. From what little research I've done it seems like people are able to run this ROM and kernel combination without issues.
I followed these steps to a T and cleared cache/dalvik after every flash. I am on Nougat right now and the phone would get as far as the Google bot logo. The longest I waited was probably 10-15 minutes. Could it possibly take longer on Nougat? Does that have anything to do with encryption?
Thanks all!
Andrew
Angdvl089 said:
I chose options to clear cache and dalvik when using the Nexus root toolkit and then again manually when I tried to flash through TWRP. I don't quite remember which order I tried to install the kernel. I'm assuming from your question the kernel always always has to be flashed after flashing a ROM? (Even if the kernel was previously flashed?)
I'l look into doing it the 'old fashioned' way as it seems it should iron out any issues. Thanks for the help and please reply if you have a chance!
I'm attempting to flash the latest version of Pure Nexus, Gapps, and Elementalx. From what little research I've done it seems like people are able to run this ROM and kernel combination without issues.
I followed these steps to a T and cleared cache/dalvik after every flash. I am on Nougat right now and the phone would get as far as the Google bot logo. The longest I waited was probably 10-15 minutes. Could it possibly take longer on Nougat? Does that have anything to do with encryption?
Thanks all!
Andrew
Click to expand...
Click to collapse
It's unclear to me if you did a clean flash or not.
Check out post #2 in the pure Nexus thread for detailed installation instructions. Follow them to the letter and you should be fine.
I've been running pure Nexus with elementalX for some time now and never had any problems. Are you sure you aren't using the nougat version of elementalX? 3.05 is NOT the correct version for running pure Nexus at this moment as the ROM is still based on 6.01.
peltus said:
It's unclear to me if you did a clean flash or not.
Check out post #2 in the pure Nexus thread for detailed installation instructions. Follow them to the letter and you should be fine.
I've been running pure Nexus with elementalX for some time now and never had any problems. Are you sure you aren't using the nougat version of elementalX? 3.05 is NOT the correct version for running pure Nexus at this moment as the ROM is still based on 6.01.
Click to expand...
Click to collapse
THAT must be the problem! I didn't know it was running on Marshmallow. I'll give that a try now. Thanks for the obvious answer!
Andrew
Angdvl089 said:
THAT must be the problem! I didn't know it was running on Marshmallow. I'll give that a try now. Thanks for the obvious answer!
Andrew
Click to expand...
Click to collapse
So not only did I need the Marshmallow version of ElementalX but I also needed to update my vendor image for the PN ROM. Thanks for the help! All set from here on out.
Andrew
Angdvl089 said:
So not only did I need the Marshmallow version of ElementalX but I also needed to update my vendor image for the PN ROM. Thanks for the help! All set from here on out.
Andrew
Click to expand...
Click to collapse
Glad to be of help. Have fun with your phone!
First of all make sure you're on the correct firmware for whatever rom and kernel your wanting to use or it will not boot. It will bootloop if on say a Marshmallow build amd your trying to install a Nougat rom.. Now if all matches you can proceed.. This is how I've installed roms for 5-6 years: in twrp wipe: data, system, cache, delvik cache, flash rom, flash gapps (open gapps mini is what I use) flash either SuperSu zip or PHH superuser, next reboot. Some roms (example: DU and AICP) come with SU already inside so no need to flash it.. You can tell because in twrp during flash process you'll see SU being installed If rom comes with it. If you choose to use PHH Superuser you'll need his app from Google play store. Just grab it (search PHH Superuser) and open it and you should be good to go. I use SuperSU as I've had issues using other SU with ARISE sound which is also something i use. Hope that's not confusing. Hmu on hangouts if you need help and I'll help when I'm available: [email protected]
Sent from my LG Nexus 5X using XDA Labs
Need any help
Hi mate, i have now unlocked bootloader, installed twrp and installed pure nexus rom. Did not use the toolkit, i used adb and fastboot using commands... It was easy. If you need a hand with anything give us a yell . [quoter=Angdvl089;68875927]So I rooted my 5X with the help of the Nexus root toolkit. I have successfully flashed Elementalx kernel through TWRP and have tried flashing the ROM and GApps through the toolkit and through TWP but always end up in a bootloop at the Google screen. What am I doing wrong?
I'm just looking to load a Custom ROM to possibly squeeze some extra battery life out of my 5X.[/QUOTE]

Instructions for flashing ROM?

Hi everyone. I'm obviously a bit of a noob and am very keen on flashing the Lineage OS once it has been finalised. Does anything have instructions on how to flash a new ROM including any safety precautions that need to be taken?
Thanks.
Frizzel said:
Hi everyone. I'm obviously a bit of a noob and am very keen on flashing the Lineage OS once it has been finalised. Does anything have instructions on how to flash a new ROM including any safety precautions that need to be taken?
Thanks.
Click to expand...
Click to collapse
1) apply for unlock permission
2)unlock
3)fastboot install twrp
4)wipe everything except internal storage
5)install rom
6)install gapps
7)enjoy
atakanadil said:
1) apply for unlock permission
2)unlock
3)fastboot install twrp
4)wipe everything except internal storage
5)install rom
6)install gapps
7)enjoy
Click to expand...
Click to collapse
Thanks that's useful, but I was hoping for something a bit more detailed (with screenshots).
I'm assuming we need to make a backup if there is going to be a full wipe?
Frizzel said:
Thanks that's useful, but I was hoping for something a bit more detailed (with screenshots).
I'm assuming we need to make a backup if there is going to be a full wipe?
Click to expand...
Click to collapse
This would be a good place to start:
https://xiaomi.eu/community/threads...w-to-flash-xiaomi-eu-roms-on-your-mi5s.36132/
I have produced a similar more detailed All-In-One (see link below) but for Redmi 4 Prime (markw) and not for Mi5s (capricorn). You can use some general points in the procedure but you cannot use the links for twrp, roms etc. as they are for Redmi 4 Prime (markw)! So you have to use the proper links for twrp, roms etc. for Mi5s (capricorn)!
https://forum.xda-developers.com/redmi-4-prime/how-to/guide-one-unlocking-bootloader-twrp-t3587493
Happy flashing and enjoy your Mi5s! :fingers-crossed:

Categories

Resources