Hey guys, I'm a bit new to the world of custom ROMs, so apologies if I come across as an idiot.
First of all let me start of with saying that I know a bit about installing custom ROMs because I've been experimenting installing custom ROMs on my old Moto G (2013). So far I've successfully installed RR, LOS and AOSP extended as well has rooting it with SuperSu (just so I could change fonts on LOS), without any problems. So I know the basic 3-steps like, 1. Unlock bootloader, 2. install twrp, 3. backup, wipe(system, data, cache, dalvik ) and finally install. I assumed installing custom ROMs on every device would be the same.
But then, I've been viewing these forums a lot just to get more info and learn more about stuff. I've come across threads like this one (https://forum.xda-developers.com/redmi-note-4/help/unable-to-install-resurrection-remix5-8-t3673989), where people are unable to install roms and are suggested to install the developer rom using MiFlash tool, which I don't know anything about. And this isn't the first time I'm seeing such threads. I've seen t least 2 other threads like this but I can't link them because I can't find them.
So my question is:
Will the method I use to install custom ROMs on my Moto G work the same way on my RN4? or do I really to to follow other steps to install these ROMs?
Yes, that method will work.
Flashing with MiFlash is needed when you mess things up and you want to restore the phone to the original state. MiFlash is basically an automated method to flash via fastboot, a GUI for fastboot.
In some phones, there are some particular partitions that contains "drivers" to make the device works. These "drivers" (it's truly called firmware) needs to be updated to make the phone works with latest Android versions. The latest firmware is found on latest official developer ROMs and unofficial Xiaomi.eu ROMs.
Many custom ROMs like LOS an RR needs the latest firmware installed to work properly, but they don't include it in their .zip files, so that's why I suggest to flash the latest developer ROM before installing a custom ROM. This way all the partitions will be updated before, and the custom ROMs will find the latest firmware and will work fine.
You can also find the firmware as a flashable .zip (to flash before the custom ROMs .zip) in this thread:
https://forum.xda-developers.com/re.../firmware-firmware-update-2017-08-04-t3651537
(you can find the newest version in the last posts of the thread).
Related
So, never had a Sony-Device, the guides and instructions here are a bit unclear to me.
As far as i understood before going custom:
Downgrade to .532 with flashtool -> run BackupTA -> upgrade to latest again (rly neccessary?) -> then unlock Bootloader
Pretty straight forward up until here.
From there on i can use [NUTS]s XZDualRecovery if i want to stay on stock-kernel and flash custom roms frem there without any problem as far as i understood.
Is this correct?
But what if i want to use a custom kernel at some point?
DooMKernel for example is flahsed via Fastboot, but only compatible with Stock-Sony-Roms
PimpedKernel for example on the other hand is CM-based only and only uses a recovery flashable zip
I'm a little bit confused because of that.
Is a Kernel and / or recovery included in every ROM? (Edit: Yep Kernel is..)
Can i just use [NUTS] recovery and then flash any ROM / Kernel trough it? And afterwards a custom Kernel if the one included in ROM (if any?) lacks any features i want?
competent devs who maintain roms for this phone would include a recovery in their package
slimrom does this and i don't have to worry about losing trwp recovery
alia5 said:
So, never had a Sony-Device, the guides and instructions here are a bit unclear to me.
As far as i understood before going custom:
Downgrade to .532 with flashtool -> run BackupTA -> upgrade to latest again (rly neccessary?) -> then unlock Bootloader
Pretty straight forward up until here.
From there on i can use [NUTS]s XZDualRecovery if i want to stay on stock-kernel and flash custom roms frem there without any problem as far as i understood.
Is this correct?
But what if i want to use a custom kernel at some point?
DooMKernel for example is flahsed via Fastboot, but only compatible with Stock-Sony-Roms
PimpedKernel for example on the other hand is CM-based only and only uses a recovery flashable zip
I'm a little bit confused because of that.
Is a Kernel and / or recovery included in every ROM? (Edit: Yep Kernel is..)
Can i just use [NUTS] recovery and then flash any ROM / Kernel trough it? And afterwards a custom Kernel if the one included in ROM (if any?) lacks any features i want?
Click to expand...
Click to collapse
The downgrading is no longer necessary, use the easyroot tool. Or use the dualrecovery installer for locked bootloaders then flash superuser zip from recovery. Once you have it rooted then back up TA and unlock bootloader. You should be able to flash boot.img from flashtool, if you wanted to download a rom and pull it from zip. I mention that because most roms only have one recovery, so if you flash the img from the rom you want to install first with flashtool you could make a backup that could be restored with new recovery. One other thing that I learned the hard way is a backup made before unlocking bootloader will relock it if restored.
No downgrading, just root and back up TA, great
So i need to flash boot.img from the ROM every time i want to install a new ROM? Or just the first time going from stock to custom? Or just if i have twrp n current rom and the rom i wanna flash is only compatible with CWM?
alia5 said:
No downgrading, just root and back up TA, great
So i need to flash boot.img from the ROM every time i want to install a new ROM? Or just the first time going from stock to custom? Or just if i have twrp n current rom and the rom i wanna flash is only compatible with CWM?
Click to expand...
Click to collapse
Here is a brand spanking new guide to check out that is up to date.
http://forum.xda-developers.com/xperia-z-ultra/general/guide-everything-root-4-4-4-t2938098
I will try to put forth an example to try and demonstrate what I trying to convey in regards to flashing boot.img.
Example.... You are on a rom that contains CWM and you are going to flash a rom that contains TWRP and you wish to have a backup of first rom that could be restored you would flash the img. with TWRP then make backup. Another option would be to just go ahead and use CWM to make backup but you would need to flash that img. in order to be able to restore. I think most roms can be flashed from either recovery at the moment, the concern is your backup being compatible with whichever one is in your current rom.
So, in the boot.img is Kernel+Recovery, alright, and i only need to worry about flashing boot.img für backup reasons.
Pretty much answers what i was wondering, thanks guys
Managed to get my hands on a cheap second hand TabZ in good condition. And although Sony's Lollipop firmware looks and feels nice I really want to go the custom Rom road as it allows me to tinker more with it.
Now is when the situation gets complicated as it seems there is a plethora of versions, some more complicated then others, to root the device and install a recovery on it. My questions to you, anybody willing to clear these things out, are:
1. Does the bootloader need to be unlocked in order to obtain root for a tablet already running Lollipop? (I read in one thread that starting with Lollipop this might not be required anymore)
2. What is the best way of getting root?
3. How do you install recovery? I understand the XZDualRecovery to be really popular but some of the instructions can be mind boggling (the use of Kernel Builder to repack the kernel in order to replace the built in recovery with XZDualRecovery). Is this the same as flashing a recovery every time I install a new ROM before rebooting if I want to still have one (basically there is no permanent one, but changes with the rom you are flashing?! )
Any help would be much appreciated as I am stuck as I have never been with rooting and installing recovery on a device. Thanks!
1&2. Bootloader is not directly connected with Root. Unlocked bootloader allows you to install custom ROMs like FXP, cDroid, CyanogenMod and others.
For rooting stock Sony Rom rooting doesn't usually need bootloader unlock.
For example for 4.4.4 and 5.0.2 firmwares KingRoot will help you to root device. For other firmware, other tools exist.
3. For installing Custom Roms like FXP, CyanogenMod and others you need unlocked bootloader.
XZDualRecovery is mainly used for stock Sony Rom and based on stock roms.
For custom roms you can flash TWRP recovery to FOTA partition which will be permanent and will allow you to install any custom rom.
Also before bootloader unlock, get root and Backup TA partition of your device.
I had downloaded latest version of lineage OS from official website and I tried to flash on my REDMI Note 3 Kenzo but I can't here is the screenshot attached of remark.
Pls help
I was just about to post about this. I have the same issue, a work around I found was described in this video: https://www.youtube.com/watch?v=bGVOR0kugZw
However, now that I have it installed, and try to OTA update, I get the same, I have to repeat the steps in the video every time I update, kinda frustrating and unnecessary imho. I had the latest MIUI updated and unlocked with the miui unlocker before the wiping and installing. All I have found its related to the bootloader not supporting android N.
Look at the error and you will see the issue.
Your firmware is too old.
Download one from Lineage thread and flash that before Lineage
update, I installed the firmware from this thread: https://forum.xda-developers.com/redmi-note-3/development/firmware-hmnote3proglobal-t3574361
now update goes thru like its supposed to
every recovery i flash gives me ERROR 7 :/
i have a 'kate' and befor i used to flash roms without issue. kenzo roms and flash kate modem done.
but phone crashed some months ago so i changed but now i want it again. and now im back on did a edl flash miui beta unlocked bootloader flashed twrp (all the twrp possible btw i tried all i could find) they all dont want to flash a custom rom i tried 7 different ZIP of custom roms... i tried to flash 4 diffeeent versions of RR 5.7.4 and 1 RR 5.8.4 all give error 7. flash kate modem. still error, then flashed modem with emmc thing patched nope still wont flash any custom rom
does anybody know how to fix this
You have to erase dalvik cache and DATA it will bring you new setup but still your device would be updated....
I would certainly like to root my Poco F1. However, after reading loads of topics, I'm still not sure of which way to choose, because I have a bit of a problem with the jargon.
I want the face unlock to be working
I want to get rid of MIUI and have clean Android (for example Smart Lock doesn't work with MIUI)
I want to use gestures to navigate through the phone
Hence, I am probably looking for a custom ROM?
If I understand correctly, I need to:
Unlock the bootloader, then flash TWRP, then flash the custom ROM, then flash Magisk... and everything is done (?)
If I want to revert to stock ROM, I will just wipe everything, am I right?
Would these custom ROMs do?
https://forum.xda-developers.com/poco-f1/development/rom-pixel-experience-t3857076
https://forum.xda-developers.com/poco-f1/development/rom-nitrogen-os-beta-t3857557
Thank you all!
You need to flash the appropriate vendor as well. You can find the list of vendor firmwares for download here:
downloads. akhilnarang .me/MIUI/beryllium/
Most custom roms require a specific requirement for vendor. I'd recommend flashing the latest vendor, it shouldn't cause issues.
Magisk flashing isn't a necessary step, unless you prefer root access. Make sure to back up your data because your phone will get encrypted on first boot and all your data will be lost, not to mention the data loss during bootloader unlock. You can use force encryption disabler to disable encryption. But note that you will have to flash the zip every time you flash a new ROM/vendor or else it will get encrypted again.
Also. Pixel experience is a good ROM for stock android experience, but I would recommend lineage OS unofficial over it because of the customisation it provides. I haven't used Nitrogen OS in a long time, so I cannot judge on it.
PS: don't forget gapps. Custom ROMs don't have gapps included.
Let's correct a few things in kishore1998's post. First since the OP needs to unlock his bootloader, when he does that he'll lose all data. OP, if your data is important, backup to an external source before you start. After unlocking you'll need a recovery as stated before. Next is flashing vendor/firmware. After that , flash the rom of your choice. In it's OP it should tell you whether you need gapps or not. PE doesn't require gapps. Reboot, make sure all is fine then go back into recovery and flash Magisk. I'm on vendor/firmware 9.5.6, PE-AOSP-20180507 & Magisk 19.1. NOTE: I don't use DFE nor do I need it. You only need DFE if you want an unencrypted fone. If you do flash DFE, everytime you flash vendor/firmware your _next_ step is to flash DFE. TWRP allows you to stack zips to flash so you'll choose vendor/firmware and DFE, then flash before doing rom and gapps if needed. See this link which has a useful FAQ.
HTH
Matt.Murdock said:
I would certainly like to root my Poco F1. However, after reading loads of topics, I'm still not sure of which way to choose, because I have a bit of a problem with the jargon.
I want the face unlock to be working
I want to get rid of MIUI and have clean Android (for example Smart Lock doesn't work with MIUI)
I want to use gestures to navigate through the phone
Hence, I am probably looking for a custom ROM?
If I understand correctly, I need to:
Unlock the bootloader, then flash TWRP, then flash the custom ROM, then flash Magisk... and everything is done (?)
If I want to revert to stock ROM, I will just wipe everything, am I right?
Would these custom ROMs do?
https://forum.xda-developers.com/poco-f1/development/rom-pixel-experience-t3857076
https://forum.xda-developers.com/poco-f1/development/rom-nitrogen-os-beta-t3857557
Thank you all!
Click to expand...
Click to collapse
hey bro . you should first unlock bootloader with miunlock .you need waiting 66 hours . after that download developer rom (pejmimx) rememeber that most be pejmimx, search in google and download the final version. install twrp with minimal adb if your poco didnt connect to your pc in fastboot mode you need to change your pc (just once time ) . flash data system cache davlik (you should have micro sd or conect flash memory with otg to your phone). install rom dev pejmimx. install your favorite custome rom . install magisk and done .(donot install oxygen os because that is ported from one plus 6t and have much bugs) my suggest is crdroid rom
Matt.Murdock said:
I would certainly like to root my Poco F1. However, after reading loads of topics, I'm still not sure of which way to choose, because I have a bit of a problem with the jargon.
I want the face unlock to be working
I want to get rid of MIUI and have clean Android (for example Smart Lock doesn't work with MIUI)
I want to use gestures to navigate through the phone
Hence, I am probably looking for a custom ROM?
If I understand correctly, I need to:
Unlock the bootloader, then flash TWRP, then flash the custom ROM, then flash Magisk... and everything is done (?)
If I want to revert to stock ROM, I will just wipe everything, am I right?
Would these custom ROMs do?
https://forum.xda-developers.com/poco-f1/development/rom-pixel-experience-t3857076
https://forum.xda-developers.com/poco-f1/development/rom-nitrogen-os-beta-t3857557
Thank you all!
Click to expand...
Click to collapse
There are a lot of guides here that describe the things you want.
Some checkpoints:
-Unlock your bootloader and install twrp (all personal data will be deleted)
-make a backup of your phone (when you backup check all partitions and images). This is your original system in case you want to go back. There's no particular reason to get more.
-install a custom ROM (crdroid that was suggested above is great imho) FOLLOW THE ROM'S INSTALLING INSTRUCTIONS TO THE COMMA.
-install nano-gapps and above if you want face unlock (pico and micro won't have it)
-flash magisk if you want root (don't forget to install magisk apk after flashing it)
-last but not least regardless of what's mentioned anywhere use official twrp and DON'T flash encryption disabler. It's just going to make your life harder without any benefits whatsoever.
Thank you, very helpful and assuring!
One more thing though - I often use dual boot of some apps. This is a Xiaomi-only feature; Does that mean with a different ROM (but for a Xiaomi device) I will lose this possibility?
I mainly just want to get rid of the MIUI ballast that interferes with the clean Android, so if there is a possibility to keep the ROM and delete MIUI, it would be maybe even better (?)
Hey guys, I'm trying to install LineageOS GSI (arm64 A/B) on my Mi A3 and seem to be having some trouble getting the GSI to actually boot successfully.
I have already done my research both on XDA and elsewhere online, yet most threads focused on the device seem to be of little to no use and/or filled with spam replies that only serve to confuse people looking into this.
A quick note regarding the aforementioned threads:
I don't mean to sound disrespectful to the community, but honestly, bashing somebody over why they'd rather install anything but your own fav piece of software is completely ridiculous.
Without further ado, my case goes as follows:
I'm starting fresh with the latest stock firmware, after having unlocked my bootloader ofc (critical too), I've successfully installed TWRP, wiped, installed the system image and yet after rebooting I'm just greeted with good ol' Fastboot, at which point I either directly flash the stock firmware and try again or wipe my data and whatnot (through TWRP, if reinstalled) and still end up with Fastboot.
Therefore, I have to ask you guys:
Has anyone previously successfully installed any GSI rom on the Mi A3?
Did you flash the system img while on stock firmware or a previously flashed custom rom (ie Pixel Experience)?
Is there any need for any special patch similar to the ones used for MIUI based Xiaomi phones?
Did you face any other issues while trying to flash a GSI?
My intention is to eventually install microG using Nanodroid.
Thanks for asking. I was trying to flash Havoc, crDroid and MSM-Xtended Android 10 GSIs but I can't boot the phone.
I have flashed lots of GSIs in the past, but this is really intriguing me, I can't boot on Mi A3. Wiping or formatting data does not solve, neither Permissiver or Disable Dm-verity zips did the job... :crying:
I successfully bootet the LineageOS GSI yesterday. I was not coming from stock though. I think this process should work assuming you already bootet to TWRP:
1. flash the GSI image to system partition using TWRP
2. flash the TWRP installer to keep your recovery
3. (not sure if needed) flash no fde patch
4. optional: flash some other stuff like Magisk and gapps
5. wipe data and dalvik
I think it rebooted to recovery on my first try but worked after flashing everything again. I probably made some mistake on my first attempt but just make sure to try again before giving up.
Also there's this tutorial but it's not at all what I did to get it working:
https://forum.xda-developers.com/mi-a3/how-to/tutorial-flash-custom-rom-mi-a3-t3977169