TWRP 3.2.3.0 problem with los 15.1 - Xiaomi Redmi Note 4 Questions & Answers

Hello!
On my redmi note 4 (mido) i try to install lineage 15.1 official build when i setup my phone on first bootit is everything ok but when i try to boot into recovery mode my internal storage it is showing as 0 mb... what can i do to solve this problem?

Philip0234 said:
Hello!
On my redmi note 4 (mido) i try to install lineage 15.1 official build when i setup my phone on first bootit is everything ok but when i try to boot into recovery mode my internal storage it is showing as 0 mb... what can i do to solve this problem?
Click to expand...
Click to collapse
Hi there, you need to flash a compatible TWRP build for treble which you can find in the official thread for LOS 15.1 for mido link to thread here. Don't use the ones from TWRP site since those are not compatible with LOS 15.1 for mido. Cheers.

Thanks but when i install magisk v16.0 it reboots continuously on mi logo and it can't boot into lineage

Philip0234 said:
Thanks but when i install magisk v16.0 it reboots continuously on mi logo and it can't boot into lineage
Click to expand...
Click to collapse
Yes, because Magisk v16.0 is not compatible with LOS 15.1, use Magisk v16.7 instead which you can download from Magisk's github here: https://github.com/topjohnwu/Magisk/releases/download/v16.7/Magisk-v16.7.zip

Related

Bootloop with lineage

Dear,
I installed lineage 14.1 on my LeEco X829 but i have a bootloop on lineage logo.
The phone doesn't start.
I try to flash again the ROM with adb sideload but steel the same problem.
It works with lineage 13 and Cuoco ROM so it is a problem with lineage 14 Rom...

Lineage os 14.1 in honor 5x

Can anyone guide me to install LINEAGE OS 14.1 OFFICIAL in my HONOR 5X? Its on Stock Rom with android 6.0, TWRP recovery image and rooted by SuperSu zip. Tried to install LINEAGE OS 14.1, but after installation it is rebooting and rebooting. Please help anyone.
ronzix said:
Can anyone guide me to install LINEAGE OS 14.1 OFFICIAL in my HONOR 5X? Its on Stock Rom with android 6.0, TWRP recovery image and rooted by SuperSu zip. Tried to install LINEAGE OS 14.1, but after installation it is rebooting and rebooting. Please help anyone.
Click to expand...
Click to collapse
Hi,
I know its easier to post a question directly to know if someone answered, but please you can use Google to find cause.
http://bfy.tw/Ejkq
First result shows xenonhd thread and inside you LL find the cause.
Note that in almost every thread this is mentioned.
You need to be in an B350 stock rom (No VoLTE firmware! (B360, B370, ...) or below. If your stock rom is B360 or above it probably support volte, that's why you have bootloops. So you firstly need to downgrade your stock rom if you want to flash custom roms without issues.
Post from @mauam
1-Go in TWRP
1.5- Clear Cache, System, Dalvik
2-Flash your Lineage OS 14.1
3-Flash this zip file https://mega.nz/#!tK51gDRL!S9oYLBTeFDbN0hOCzt5jQ5DYECObFC08YMr-Kml6scc
4-Flash GAPPS (google apps)
5-Clear Dalvik
6-Reboot
Hope it worked for you!
(note that this is a temporary solution, downgrading to B350 like rodolphe06 said is a permanent solution)
(with this method, you can't update lineage OTA)

Magisk Manager 'error 1' error while flashing on a pre rooted Oreo rom

I am using Xiaomi Redmi Note 4 (Snapdragon). Whenever I flash a pre rooted oreo based custom rom and try to flash magisk on the rom it ends up with getting an error, named error 1. I flashed using Redwolf TWRP. I have faced this issue with all these types of rom, like Resurrection Remix, AOSP extended, Linage OS 15 etc. Please help me out to get out of this issue.
same problem facing currently, please provide some solutions.
Sent from my Redmi Note 4 using Tapatalk
You need to use magisk and twrp for treble
TWRP Treble: https://androidfilehost.com/?fid=890278863836285248
Magisk: https://downloads.akhilnarang.me/LineageOS/mido/Magisk-vcustom.zip
Thank you.

TWRP had a problem with Android 8.1 OREO.

Hello. Some time ago i had a problem with TWRP recovery. I installed LOS 15.1 for my mido, and local storage has showed as 0mb. I have a the newest recovery version. I know there is a special LOS version for mido, but if i install crDroid or ROS, i will have this problem too? (I repaired this, and my phone is Redmi note 4 Snapdragon and Samsung sensor (note 4 without x, ))
korpolefski said:
Hello. Some time ago i had a problem with TWRP recovery. I installed LOS 15.1 for my mido, and local storage has showed as 0mb. I have a the newest recovery version. I know there is a special LOS version for mido, but if i install crDroid or ROS, i will have this problem too? (I repaired this, and my phone is Redmi note 4 Snapdragon and Samsung sensor (note 4 without x, ))
Click to expand...
Click to collapse
use twrp abishek on LOS 16 thread.
or try orangefox recovery

[How-to] Flash GSI ROM for your Redmi K30 5G

Hello friends,
I can now flash GSI on my Redmi K30 5G!
The following is the step to flash GSI on Redmi K30 5G (and also probably other redmi devices that support project treble):
1. boot to bootloader (fastboot mode)
2. choose one of fastboot ROMs of China Stable ROM and download it at the link here.
3. extract recovery.img from the downloaded ROM to your ADB fastboot platform tools folder
4. flash stock recovery.img
fastboot flash recovery recovery.img
5. enter fastbootd mode
fastboot reboot fastboot
6. flash GSI ROM of your choice which its size does not exceed the /system of your phone
fastboot flash system system.img
7. wipe all data by entering the following command
fastboot -w
8. reboot your phone
fastboot reboot
My phone can boot GSI ROM with no problem with this method.
Hope this helps.
Edit: add screenshots from the phone with GSI ROM installed.
siamese007 said:
Hello friends,
I can now flash GSI on my Redmi K30 5G!
The following is the step to flash GSI on Redmi K30 5G (and also probably other redmi devices that support project treble):
1. boot to bootloader (fastboot mode)
2. choose one of fastboot ROMs of China Stable ROM and download it at the link here.
3. extract recovery.img from the downloaded ROM to your ADB fastboot platform tools folder
4. flash stock recovery.img
fastboot flash recovery recovery.img
5. enter fastbootd mode
fastboot reboot fastboot
6. flash GSI ROM of your choice which its size does not exceed the /system of your phone
fastboot flash system system.img
7. wipe all data by entering the following command
fastboot -w
8. reboot your phone
fastboot reboot
My phone can boot GSI ROM with no problem with this method.
Hope this helps.
Edit: add screenshots from the phone with GSI ROM installed.
Click to expand...
Click to collapse
Any OxygenOS 11 based GSI rom? I found one for K20 Pro. Will any GSI rom works in this way or only ROMs from your given list?
abhi281 said:
Any OxygenOS 11 based GSI rom? I found one for K20 Pro. Will any GSI rom works in this way or only ROMs from your given list?
Click to expand...
Click to collapse
GSI ROMs are no specific to any devices. You can flash any Oxygen GSI ROMs that you found on your devices. But not all GSI ROMs will boot successfully for any devices.
I found this Oxygen GSI ROM here.
siamese007 said:
GSI ROMs are no specific to any devices. You can flash any Oxygen GSI ROMs that you found on your devices. But not all GSI ROMs will boot successfully for any devices.
I found this Oxygen GSI ROM here.
Click to expand...
Click to collapse
I tested CherishOS official GSI this morning by following your method. It stuck at logo, not booting... so I just need to follow your method? any other thing to do? Also Do I need to be in China MIUI stock ROM to flash GSI or MIUI EU will work too?
btw which GSI ROM you are using?
abhi281 said:
I tested CherishOS official GSI this morning by following your method. It stuck at logo, not booting... so I just need to follow your method? any other thing to do? Also Do I need to be in China MIUI stock ROM to flash GSI or MIUI EU will work too?
btw which GSI ROM you are using?
Click to expand...
Click to collapse
If you followed my method correctly but get bootloop, it means this GSI ROM is not compatible with the device. You need to look for the others. You can test flashing GSI ROMs by using phhusson's GSI ROMs here. His ROMs are the most success ROMs so far. I always use his ROMs to test flashing GSI ROMs for any devices before looking for other ROMs to suit my needs.
There are a number of GSI ROMs that I tested and could boot up K30 5G. For example, Havoc OS, Lineage OS, Legion OS, Fluid OS, Pixel Android 10, etc. You can try other ROMs that you like and would be appreciated to share the results.
siamese007 said:
There are a number of GSI ROMs that I tested and could boot up K30 5G. For example, Havoc OS, Lineage OS, Legion OS, Fluid OS, Pixel Android 10, etc. You can try other ROMs that you like and would be appreciated to share the results.
Click to expand...
Click to collapse
There are no other ROMs in that link. Only AOSP.
abhi281 said:
There are no other ROMs in that link. Only AOSP.
Click to expand...
Click to collapse
I just posted GSI ROMs of phhusson.
You can search other GSI ROMs on the internet.
siamese007 said:
I just posted GSI ROMs of phhusson.
You can search other GSI ROMs on the internet.
Click to expand...
Click to collapse
OK, Thanks. Another question: if GSI ROM works then how much time it may usually take to boot?
abhi281 said:
OK, Thanks. Another question: if GSI ROM works then how much time it may usually take to boot?
Click to expand...
Click to collapse
It should be less than 5-10 minutes after the GSI logo boot up.
siamese007 said:
It should be less than 5-10 minutes after the GSI logo boot up.
Click to expand...
Click to collapse
Ok, it seems it is my bad luck. Couldn't boot a single GSI ROM in my device.
CherishOS: bootloop (logo)
Corvus 15.0: bootloop (logo)
Pixel S : bootloop (Redmi logo)
OxygenOS : bootloop (Redmi logo)
AOSP (latest) : bootloop (logo)
Don't know what's wrong with my phone
Note: I only tested Android 11 GSIs
abhi281 said:
Ok, it seems it is my bad luck. Couldn't boot a single GSI ROM in my device.
CherishOS: bootloop (logo)
Corvus 15.0: bootloop (logo)
Pixel S : bootloop (Redmi logo)
OxygenOS : bootloop (Redmi logo)
AOSP (latest) : bootloop (logo)
Don't know what's wrong with my phone
Note: I only tested Android 11 GSIs
Click to expand...
Click to collapse
It may be because your firmware is not updated. What is your lastest firmware before flashing GSI?
However there are some of these ROMs of Android 11 that I could not get them boot up. Try them for Android 10. But I could have phhusson's GSI ROMs boot up for sure.
Edit1: Try flashing this firmware before flashing GSI. And there are a number of TWRP for K30 5G. You can use these to flash GSI as well. But best to install TWRP 3.5 or above in order to flash GSI ROM of Android 11.
Edit2: Here is the link to download updated firmware for K30 5G.
siamese007 said:
It may be because your firmware is not updated. What is your lastest firmware before flashing GSI?
However there are some of these ROMs of Android 11 that I could not get them boot up. Try them for Android 10. But I could have phhusson's GSI ROMs boot up for sure.
Edit1: Try flashing this firmware before flashing GSI. And there are a number of TWRP for K30 5G. You can use these to flash GSI as well. But best to install TWRP 3.5 or above in order to flash GSI ROM of Android 11.
Edit2: Here is the link to download updated firmware for K30 5G.
Click to expand...
Click to collapse
My firmware is updated. I am using Weekly firmware of MIUI EU. So I need to flash latest China firmware?
I have OrangeFOX recovery, will that work for flashing GSI ROM?
abhi281 said:
My firmware is updated. I am using Weekly firmware of MIUI EU. So I need to flash latest China firmware?
I have OrangeFOX recovery, will that work for flashing GSI ROM?
Click to expand...
Click to collapse
Try Stable version. MIUI EU ROMs come with updated firmware. But they are weekly verision.
This Recovery should be able to flash Android 11 GSI ROMs here.
So you can flash Vanilla version of GSI and flash GAPPS later.
I am not sure about rooting GSI with Magisk. But you can try with the custom recovery.
By they way, I have never flash GSI ROMs with custom recovery. Since at the time I flashed Android 11 GSI ROMs, there were no custom recovery for Android 11. Follow their instructions for using it carefully.
Edit: Please note that if you could boot up GSI Logos but get bootloop, it's usually because firmware issues. However there are some GSI ROMs that are not compatible with the firmwares of the devices.
Flashing GSI ROMs are pure OS with no firmwares for Android devices which supports Project Treble like installing Windows on PC. Before that the manufacturers have to build Stock ROMs with firmwares. Right now the manufacturers just build firmwares. This is the main concept of Project Treble.
siamese007 said:
Try Stable version. MIUI EU ROMs come with updated firmware. But they are weekly verision.
This Recovery should be able to flash Android 11 GSI ROMs here.
So you can flash Vanilla version of GSI and flash GAPPS later.
I am not sure about rooting GSI with Magisk. But you can try with the custom recovery.
By they way, I have never flash GSI ROMs with custom recovery. Since at the time I flashed Android 11 GSI ROMs, there were no custom recovery for Android 11. Follow their instructions for using it carefully.
Click to expand...
Click to collapse
Ok, I have downloaded TWRP3.5 for this device and will flash latest China stable firmware (12.1.6 for K30 5G). I will try those A11 GSI again and also downloaded A10 based OxygenOS GSI.
Let's see what happen....
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
siamese007 said:
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition
Click to expand...
Click to collapse
Tested A11 ROMs with both TWRP and OrangeFOX, not working. All of them failed with Bootloop (Redmi logo).
So Now I am going to try A10 GSI ROMs in your method (no TWRP or OrangeFox).
Note: I have flash latest stable China firmware before flashing GSI ROMs as you said
siamese007 said:
Another note is if you see GSI ROMs with vndk lite. This means the GSI ROMs come with necessary firmwares. So this type of GSI ROMs will have more possibility to boot. But vndk lite GSI ROMs are bigger file size than usual GSI ROMs.
For Android devices with limited RAM like 4GB or less, there are also limited number of GSI ROMs that can fit into the system partition. In case you try flashing GSI ROMs on other Android devices, the more RAM, the bigger system partition.
Click to expand...
Click to collapse
No A10 OxygenOS is working.
But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)
Descendant XI - https://downloads.descendant.me/Home/Latest
version: Latest (February 2021 patch)
Working: Everything
Issues:
1. some screen flickering for 2-3 seconds after reboot/boot the phone
2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
3. No built-in Camera app
abhi281 said:
No A10 OxygenOS is working.
But finally able to boot one A11 GSI ROM! (following your method and with stable China firmware)
Descendant XI - https://downloads.descendant.me/Home/Latest
version: Latest (February 2021 patch)
Working: Everything
Issues:
1. some screen flickering for 2-3 seconds after reboot/boot the phone
2. Audio don't work out-of-the-box (Need to enable 'alternate audio policy for Qualcomm' from Phh-treble Settings)
3. No built-in Camera app
Click to expand...
Click to collapse
Glad that you could flash some GSI ROMs successfully. Actually other than Descendant XI ROM, I could flash and boot some other ROMs as follow:
1. crDroid A11
2. Fluid OS A11
3. Nusantara OS A11
4. StagOS A11
5. LineageOS A11
6. Havoc OS A11
You can find a big vault of GSI ROMs here. There are tens of GSI ROMs to test as far as their unpacked file sizes do not exceed /system partition of the target devices.
Right now crDroid is my most favorite GSI ROM. You can download and test it here.
The reasons why I like this ROM are from stability and least issues and glitches.
I have tested tens of GSI ROMs and many of them have some issues for playing games which fully utilize hardware resources.
When I tested playing games on some ROMs, the games will crash within 15 minutes. But on crDroid ROM, I could play as long as hours with no problem at all.
There are some other glitches about playing streaming VDOs for some other ROMs as well.
By the way, there are different versions of crDroid from different developers. But I tested crDroid ROMs from the link above.
Edit: I usually download Open Camera app for Camera. This app works well just like the camera app that comes with MIUI.
abhi281 said:
Tested A11 ROMs with both TWRP and OrangeFOX, not working. All of them failed with Bootloop (Redmi logo).
So Now I am going to try A10 GSI ROMs in your method (no TWRP or OrangeFox).
Note: I have flash latest stable China firmware before flashing GSI ROMs as you said
Click to expand...
Click to collapse
Have you tried flashing vanilla versions of GSI ROMs with fastbootd and flashing Open GAPPS with TWRP or Orangefox?
If this is possible, we can flash Vanilla version of GSI ROMs that easily fit into limited space of /system partition and flash GAPPS later with custom recovery.
siamese007 said:
Have you tried flashing vanilla versions of GSI ROMs with fastbootd and flashing Open GAPPS with TWRP or Orangefox?
If this is possible, we can flash Vanilla version of GSI ROMs that easily fit into limited space of /system partition and flash GAPPS later with custom recovery.
Click to expand...
Click to collapse
The ROM I am looking for (OxygenOS) has no vanilla versions, I didn't find any
Note: Custom recovery having issues with GSI, I can't flash Magisk with OrangeFOX. Flashing is ok with no error, but after re-booting the device, no magisk in the system! Because of encryption problem? base firmware is MIUI China stable, custom recovery may be not supporting encryption of China firmware.

Categories

Resources