Instructions for flashing ROM? - Xiaomi Mi 5s Questions & Answers

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:

Related

[Q] error installing cyanogenmod

Hi guys. Before you bash me saying I did not search, trust me I did.
Goal:
I am trying to install cyanogenmod 10 M2 following this guide: oh well, I guess I can't post URL's. But the guide is a wiki from cyanogenmod and is called "Galaxy Nexus (GSM): Full Update Guide"
wiki.cyanogenmodDOTCOM/wiki/Galaxy_Nexus_%28GSM%29:_Full_Update_Guide
When I get to the second command which is to enter the CW menu: fastboot boot boot.img
Problem: My phone gets stuck at the Google logo and my PC says that the driver failed to install.
Here's what I have tried doing and what I installed:
Android SDK + Google USB driver are installed
Universal Naked Driver is installed
I tried re downloading all the files and restarting
I tried changing computers
I even tried FORMATTING my computer and installing a fresh copy of Windows 7 64 bit.
My phone is showing bootloader in the device manager like it should. Everything is FINE and working except for that part. All my drivers are correctly installed on my PC. I have been trying to solve this for exactly 5 hours.
So my question is: how do I solve this ?
Thanks in advance
cheers
You don't have to manually flash the boot.img, just flash the ROM through CWM
Redownload the ROM, check md5 hash, flash away.
Restore the nandroid of your previous working state btw.
cyanogenmod's thread, FIRST POST
Instructions:
First time flashing CyanogenMod 10 your device, or coming from another ROM?
Root the device and install ClockworkMod Recovery. Instructions are available here.
Perform a NANDroid backup of your current ROM.
Format the system, data & cache partitions of your device.
Perform a factory reset.
Flash CyanogenMod.
Optional: Install the Google Apps addon package.
Click to expand...
Click to collapse
EddyOS said:
You don't have to manually flash the boot.img, just flash the ROM through CWM
Click to expand...
Click to collapse
OK but I'm trying to get in the CWM menu. That's not working. How do I enter that menu on my phone ?
Also I don't want to root my phone.
Installing CM10 WILL root the phone as it's a custom ROM
Super n00b...
EddyOS said:
Installing CM10 WILL root the phone as it's a custom ROM
Super n00b...
Click to expand...
Click to collapse
lmao
Yep. I am a noob. My first android phone....
So I really need your help guys ..
I just learned that I need to root my phone.
Instructions:
First time flashing CyanogenMod 10 your device, or coming from another ROM?
Root the device and install ClockworkMod Recovery. Instructions are available here.
Perform a NANDroid backup of your current ROM.
Format the system, data & cache partitions of your device.
Perform a factory reset.
Flash CyanogenMod.
Optional: Install the Google Apps addon package.
Click to expand...
Click to collapse
Ok so, I need the "instructions are available here" please Or I guess a guide to root my phone and be able to get in the CWM menu....
Ok. EDIT: I understood how it works. I'm doing it now... I'll let you know if something goes wrong. Thanks guys.
Just Google how to flash a new ROM on the Galaxy Nexus - they are plenty of how to guides and videos
ekoloud said:
Yep. I am a noob. My first android phone....
So I really need your help guys ..
I just learned that I need to root my phone.
Ok so, I need the "instructions are available here" please Or I guess a guide to root my phone and be able to get in the CWM menu....
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1529058
Yeah. Thanks guys. I did it. I guess we all start by being noobs
Np, but you need to refine your search skillz.
Sent from my i9250
Do you lose LTE or other functionality with CM10 on the CDMA GNex?
shizat63 said:
Do you lose LTE or other functionality with CM10 on the CDMA GNex?
Click to expand...
Click to collapse
Dont hijack the thread. It has completed its purpose, and it should be closed.
Sent from my i9250

How to install custom rom?

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

Not able to install any custom ROM in OnePlus 5T

Hello Guys,
I need help regarding the issue that I'm facing. What happens is ROM get installed properly without any error but not boots up. It get stuck at boot animation screen. I tried lots of ROMs including DOT OS, C droid, AICP, TOXYC OS. Facing the same issue to all of the ROMs. I followed the below steps to install.
1. Download the ROM file
2. Download the GApps.
3. Booted into TWRP Recovery Mode.
4. Backup done (optional)
5. Wipe all the 4 partitions except Internal Storage.
6. Then install the ROM file and followed by GApps
7. Installation successful for both ROM & GApps.
8. Reboot.
I tried installing the ROM only but result was same.
I'm currently running on Oxygen OS Open Beta 10.
PLEASE HELP. THANKS IN ADVANCE.
Which TWRP do you use? Personally, I recommend this one by codeworkx: https://sourceforge.net/projects/ch....1-0-20180309-codeworkx-dumpling.img/download
Some roms require you to be decrypted; others don't. Most roms require the latest firmware (5.1.3) to be flashed before the rom, gapps, etc. Read the installation instructions carefully. Use the recommended firmware and gapps package linked to the rom. Before you start flashing roms, you should wipe your phone in fastboot mode: fastboot format userdata. This will wipe your phone clean; all your data will be gone. So, backup all your data to your PC before proceeding. After format, reboot directly to TWRP and move your firmware, rom, gapps, etc. to internal storage; follow the flash order and procedures exactly as outlined for the rom you want to try.
I tried installing latest TWRP (3.2.1-2) for my OnePlus 5T but no luck. Please suggest.
KDPalekar said:
I tried installing latest TWRP (3.2.1-2) for my OnePlus 5T but no luck. Please suggest.
Click to expand...
Click to collapse
The link to a working TWRP is in the post above; it's not the latest or official TWRP, but it works. Also, please read through this thread if you haven't already: https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592.
Did you try to format data (after wiping the partitions) ?
bud7dha said:
The link to a working TWRP is in the post above; it's not the latest or official TWRP, but it works. Also, please read through this thread if you haven't already: https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592.
Click to expand...
Click to collapse
Read the whole instructions and installed it but no luck .
Zark0s said:
Did you try to format data (after wiping the partitions) ?
Click to expand...
Click to collapse
sorry.. i didn't get u.
KDPalekar said:
sorry.. i didn't get u.
Click to expand...
Click to collapse
In twrp, when you go in the wipe tab, there is a "format data" button. It will wipe the data and internal storage partitions and remove encryption. But don't worry, depending of the ROM you flash it will encrypt again.
Zark0s said:
In twrp, when you go in the wipe tab, there is a "format data" button. It will wipe the data partition and remove encryption. But don't worry, depending of the ROM you flash it will encrypt again.
Click to expand...
Click to collapse
so do i need to do that as well?
KDPalekar said:
so do i need to do that as well?
Click to expand...
Click to collapse
I format data everytime I do a clean flash lol, so yeah just give a try and let us know if it works ^^
Hi,
It worked. I format the data and install the clean flash. Thanks a lot. One more thing can u please suggest custom ROM with ANDROID P notification panel.
KDPalekar said:
Hi,
It worked. I format the data and install the clean flash. Thanks a lot. One more thing can u please suggest custom ROM with ANDROID P notification panel.
Click to expand...
Click to collapse
Idk if a custom rom exists with that feature but there is a xposed module which does that and works on any custom rom (aosp 8.1 based at least) : https://forum.xda-developers.com/xposed/modules/xposed-android-p-ify-features-t3764556
Zark0s said:
Idk if a custom rom exists with that feature but there is a xposed module which does that and works on any custom rom (aosp 8.1 based at least) : https://forum.xda-developers.com/xposed/modules/xposed-android-p-ify-features-t3764556
Click to expand...
Click to collapse
I installed the Lineage OS, rooted, installed the xposed module, installed the android P fy module but still I'm not getting the exact look like android p notification panel. Can you suggest me ROM that works fine with Android P-fy module to get the exact Android p notification panel.
Please find the attachment. This is what I'm getting with Lineage OS.
KDPalekar said:
I installed the Lineage OS, rooted, installed the xposed module, installed the android P fy module but still I'm not getting the exact look like android p notification panel. Can you suggest me ROM that works fine with Android P-fy module to get the exact Android p notification panel.
Please find the attachment. This is what I'm getting with Lineage OS.
Click to expand...
Click to collapse
Did you check the module settings ? You can tweak some stuff.
Or maybe it didn't works because of Lineage (but it should, idk why not), but you can try aosp extended, which is closer to aosp.
Zark0s said:
Did you check the module settings ? You can tweak some stuff.
Or maybe it didn't works because of Lineage (but it should, idk why not), but you can try aosp extended, which is closer to aosp.
Click to expand...
Click to collapse
I tried AOSP Extended before a week ago. Everything was working fine except headphone Jack. Sound was not coming in my earphones. Sound from speaker grill was coming, even I tried with connecting to Bluetooth speaker, that's also working fine. The only issue I had with that headphone Jack.
Please suggest if you have any solution for that then I'll surely try it again.
Thanks
Zark0s said:
Did you check the module settings ? You can tweak some stuff.
Or maybe it didn't works because of Lineage (but it should, idk why not), but you can try aosp extended, which is closer to aosp.
Click to expand...
Click to collapse
Oh. How unlucky I'm. I just checked the headphone Jack with this ROM. Here also headphone Jack is not working. This is very unlucky. Do have any solution for this?
KDPalekar said:
Oh. How unlucky I'm. I just checked the headphone Jack with this ROM. Here also headphone Jack is not working. This is very unlucky. Do have any solution for this?
Click to expand...
Click to collapse
I think you didn't flash the latest firmware available (5.1.3), which you can find here :
https://forum.xda-developers.com/showthread.php?t=3728665
Zark0s said:
I think you didn't flash the latest firmware available (5.1.3), which you can find here :
https://forum.xda-developers.com/showthread.php?t=3728665
Click to expand...
Click to collapse
Thanks a lot Buddy. Flashed the latest firmware and now headphone Jack is live more. Thank you do much Buddy.

[UNOFFICIAL][ROM] crDroid 5.12 for Galaxy Tab E [SM-T560NU][Pie]

I am not responsible for any bricked devices. Install at your own risk!
This is experimental so please post any bugs you find.
SCREENSHOTS
What doesn't work:
I haven't found anything so far that seems to be broken. Doesn't mean it's bug-free though.
How to install:
1. Factory Reset
2. Format Data
3. Flash rom <-- Download
4. Flash GAPPS
5. Flash Magisk [optional]
6. Reboot to system
Enjoy.
I tried to install the ROM to my SM-T560NU, it boots with no issues. It's very laggy to use, so I mess around with crDroid settings and I changed the scrolling cache setting (Settings->crDroid Settings->User Interface->Animations->Scrolling Cache) from Default enable to Default disable, it fixed the laggy issue.
I also tried to flash Vince2678's overclock kernel and it boots with no issues.
This is the Bomb. I have a Tab E TM-560NU. I failed miserably trying to install other roms. But yours went in 1st shot. Nice work!
Question is I'm thinking about putting Magisk, But do I really need it? Is that like SU? Probably a very dumb question.
This rom is for Android 7?
zeovani said:
This rom is for Android 7?
Click to expand...
Click to collapse
>Android Pie
Sorry bud this an android 9 rom lol
edwardnizz said:
This is the Bomb. I have a Tab E TM-560NU. I failed miserably trying to install other roms. But yours went in 1st shot. Nice work!
Click to expand...
Click to collapse
I've experience of flashing my tablet so I can flash my tablet without issues. Since it's too laggy to use, so I switched to LightningFastROM 17.1, for now.
If you had issues of flashing the ROM, I recommend to use this version of TWRP:
https://msm8916.com/?view=downloads&dist_name_short=TWRP&codename=gtelwifiue
edwardnizz said:
Question is I'm thinking about putting Magisk, But do I really need it? Is that like SU? Probably a very dumb question.
Click to expand...
Click to collapse
It's your choice whenever you want to use Magisk or not. If you want Busybox, ViPER4Android FX,etc... or other apps that requires root then you'll need to flash Magisk in order to use it.
Tickbaby said:
I am not responsible for any bricked devices. Install at your own risk!
This is experimental so please post any bugs you find.
SCREENSHOTS
What doesn't work:
I haven't found anything so far that seems to be broken. Doesn't mean it's bug-free though.
How to install:
1. Factory Reset
2. Format Data
3. Flash rom <-- Download
4. Flash GAPPS
5. Flash Magisk [optional]
6. Reboot to system
Enjoy.
Click to expand...
Click to collapse
download link for the rom is broken :/
Fruse said:
I've experience of flashing my tablet so I can flash my tablet without issues. Since it's too laggy to use, so I switched to LightningFastROM 17.1, for now.
If you had issues of flashing the ROM, I recommend to use this version of TWRP:
https://msm8916.com/?view=downloads&dist_name_short=TWRP&codename=gtelwifiue
It's your choice whenever you want to use Magisk or not. If you want Busybox, ViPER4Android FX,etc... or other apps that requires root then you'll need to flash Magisk in order to use it.
Click to expand...
Click to collapse
I just installed liightningfast. It turns out, I forgot to wipe data the first time i tried. Thanks a bunch. Now i have a few choices! Dude your the BOMB!!
One Questions Dev's and Fellow members Can this rom be flashed on SM T561 too ?
running on the sm-t560nu well. no lag issues, doesn't pass safety net though. not that big of deal, was just hoping magisk hide worked. Did you by chance add in the patch (or is this even applicable) found here: https://github.com/kdrag0n/safetynet-fix/tree/master/patches/9/sys
malfuncion said:
running on the sm-t560nu well. no lag issues, doesn't pass safety net though. not that big of deal, was just hoping magisk hide worked. Did you by chance add in the patch (or is this even applicable) found here: https://github.com/kdrag0n/safetynet-fix/tree/master/patches/9/sys
Click to expand...
Click to collapse
i used super su to root
I have found a bug. When using stock screen recorder with puting only record internal audio, if u have headphones connected it freaks out. Plz don't mind the video, I clicked on it for representation of the issue.

Question Poco f3 flash

Hi i want to flash my poco f3 do i need usb dongle so i can use sdcard to be safe?
And do i need to flash global miui before flash custom rom?
usb dongle ??
No need... just backup you data first
Yup.. better flash Official latest miui rom...continue with twrp.... and flash custom rom.
but you need unlocked bootloader for custom rom
Vuska said:
usb dongle ??
No need... just backup you data first
Yup.. better flash Official latest miui rom...continue with twrp.... and flash custom rom.
but you need unlocked bootloader for custom rom
Click to expand...
Click to collapse
So i flash miui global in twrp before flash custom rom? Where can i find miui global?
__halvar__ said:
So i flash miui global in twrp before flash custom rom? Where can i find miui global?
Click to expand...
Click to collapse
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
fastboot if using mi flash.
but... its very important to understand using mi flash and what to tick and what dont.
but if you already using latest official stable release and already unlocked bootloader... then you may continue with twrp..
there is thread about how to flash twrp and flash custom rom... you have to read that first
How to flash ROM and TWRP on POCO F3 / k40 / mi11x. And an explanation. A very important guide
Mandatory instructions for beginners (and not only beginners) to install ROM and other on poco f3 Prerequisite, unlocking the bootloader For questions, if something is not clear, please write to "Conversations", I will try to correct it in a post...
forum.xda-developers.com
Thanks yes its global miui so i can unlock bootloader flash twrp and then custom rom ?
__halvar__ said:
Hi i want to flash my poco f3 do i need usb dongle so i can use sdcard to be safe?
And do i need to flash global miui before flash custom rom?
Click to expand...
Click to collapse
Let me tell you that twrp otg backups don't work at all. I have 2 USB c hard drives and twrp can't make a backup with them. I don't know why but it can't. I'm really unsure of this phone because there's really nothing you can do to backup anything. You flash a new rom and you have to format everything and start all over again. No music no apps no nothing. I don't even understand what fun that is? Every rom seems to have different instructions and it's a mess.
Techguy777 said:
But do a backup and then transfer it to pc ? And then to the phone ?
Click to expand...
Click to collapse
I don't know if that will work I'm telling you don't get your hopes up because this phone is like an alien phone.
Techguy777 said:
I don't know if that will work I'm telling you don't get your hopes up because this phone is like an alien phone.
Click to expand...
Click to collapse
how do you mean?
__halvar__ said:
how do you mean?
Click to expand...
Click to collapse
Ive been doing the custom roms thing for about 4 or 5 years. It's always unlock bootloader, flash twrp, make twrp backup of data, system and boot. Flash magisk or custom rom.
Well now it's different there's no way to back it up. If I make a twrp backup to the internal storage and try to copy and paste it to my USB c ssd it fails it won't allow it. I don't understand if you try to make the backup in twrp it'll say backup failed. I have no idea why I can't make a backup that means I would have to flash stock to fix a bootloop lol it's ruining the twrp experience
There are so many guides on the internet. We don't need to repeat this. Use YouTube and Google.
Search "Poco F3 Flash Custom ROM" and "Poco F3 unlock bootloader"
@dreamytom Just reading a few threads here on xda would be enough to find almost all the answers you need ...
Techguy777 said:
Ive been doing the custom roms thing for about 4 or 5 years. It's always unlock bootloader, flash twrp, make twrp backup of data, system and boot. Flash magisk or custom rom.
Well now it's different there's no way to back it up. If I make a twrp backup to the internal storage and try to copy and paste it to my USB c ssd it fails it won't allow it. I don't understand if you try to make the backup in twrp it'll say backup failed. I have no idea why I can't make a backup that means I would have to flash stock to fix a bootloop lol it's ruining the twrp experience
Click to expand...
Click to collapse
From a certain point of view you are right, but we should also give the developers some time to fix things.It is true, with previous versions of android it was easier to flash and without having to set everything up again, however, it is a phone with a more complicated system therefore the developments of the twrp are more complicated. Without forgetting that the entire development is supported only by donations and the rest is completely free ...
There are some tools too...if you are using same base os... you can use tool to backup and restore.
1. Migrate
backup you app (with data)
restore from twrp
(search it from xda)
2. Swift Backup.
3. Miui has backup and restore too.
but for your data (photos, videos etc) manually backup to your pc.
that's all..
yes, backup restore from twrp not work yet.
Vuska said:
There are some tools too...if you are using same base os... you can use tool to backup and restore.
1. Migrate
backup you app (with data)
restore from twrp
(search it from xda)
2. Swift Backup.
3. Miui has backup and restore too.
but for your data (photos, videos etc) manually backup to your pc.
that's all..
yes, backup restore from twrp not work yet.
Click to expand...
Click to collapse
I already know about those app backups and it's really not the problem. You need to than make sure you have them stored on a USB C drive because if you format data than bye bye to those apps. Twrp we're the best and I didn't like the idea of no micro SD card but I figured oh well USB C drive will work.
With every android verison update we lose a little bit of root. It's not like when actually change anything to the system it will bootloop. We can't make system backups and now magisk hide is removed that one I don't care I never used it. There's a point when having root doesn't matter really and we're almost there. Coding is getting so complicated that after OEM updates stop I wouldn't be surprised if people can't build updated Android roms

Categories

Resources