Problem with battery - stuck at 50% - Xiaomi Mi 4C

Hi,
I'm having trouble with my battery indicator, i will explain what i did step by step before getting this problem.
I installed Multiboot patch in PixelExperience (Pie - Kenga version)
After update the ramdisk, my rom didn't boot
Using twrp, i installed a new rom, (LOS 14.1 which i had in internal memory)
My phone booted again but the battery indicator is always at 50% (even in twrp)
The strange part, when i install some custom kernel (watermelon for example) my battery indicator comes back to normal (only in rom)...
Any suggestion?
Thanks in advance
Edit: It seems Pie roms works fine, if I install a older rom appears. But if i install a Pie kernel in a older rom the problem is solved

Howto
Hello,
With LineageOs 15.1 I was very happy. Suddenly, after about 2 years of use, I have the same problem. With factory reset it is not solved, wiping all partitions, copying the same ROM again and install, the problem continues.
I tested LineageOS 16, but it works slow and I have several problems with permissions (Apps does not ask for them and I have to assign them manually). With LineageOS 17, a lot of problems for install gapps.
I was thinking about testing LineageOS 14.1.
With "But if i install a Pie kernel in a older rom the problem is solved", I guess you are talking about install Pie kernel in LineageOS 15.1 for example, right? If yes, is it difficult? could you provide me the steps for it? Did you have any additional problem after this? Maybe the only solution for me if with LineageOS 14.1 the problem continues.
Thanks.

Related

OnePlus One Bootloop with CM14 based ROMs

I have wiped the data, cache, dalvik cache and system partition and format them to ext4 (recovery TWRP 3.0.3-2 by TugaPower). After that I have flashed the ROMS and the mini GApps. Then when I tries to boot, and it takes more then 20 minutes to boot (and the OS still doesn't booted).
I tried the unofficial LineageOS, RR 5.8, AICP but I stuck in bootloop in every Nougat ROM. The Marshmallow version of each is working, just the Nougat have bootloop issues.
Only the AOSP Nougat for OnePlus One succeeded to boot...
How can I solve this? Why all the CM14 based ROMs are not booting in my phone?
I'm having the exact same issue. Tried Lineage and Tugapower. Had to revert back to Sultan's CM13.
I tried with nano gapps for cm14.1 & pico gapps for tuga 13.1 works fine.
ppp99 said:
I have wiped the data, cache, dalvik cache and system partition and format them to ext4 (recovery TWRP 3.0.3-2 by TugaPower). After that I have flashed the ROMS and the mini GApps. Then when I tries to boot, and it takes more then 20 minutes to boot (and the OS still doesn't booted).
I tried the unofficial LineageOS, RR 5.8, AICP but I stuck in bootloop in every Nougat ROM. The Marshmallow version of each is working, just the Nougat have bootloop issues.
Only the AOSP Nougat for OnePlus One succeeded to boot...
How can I solve this? Why all the CM14 based ROMs are not booting in my phone?
Click to expand...
Click to collapse
nuuro said:
I'm having the exact same issue. Tried Lineage and Tugapower. Had to revert back to Sultan's CM13.
Click to expand...
Click to collapse
I had a similar problem with all the ROMs you mentioned failing to boot too when coming from CM13. What worked for me was to first flash a nightly from this thread.
http://forum.xda-developers.com/oneplus-one/development/lineageos-unofficial-nightly-t3528587
Afterwards I was able to flash and boot into AICP and TugaPower. Don't know if it will work for you guys, but give it a try.

[SOLVED] Bootloop when trying to downgrade from Android 8.1 (LineageOS 15.1) to 7.1.

I have the following installed:
[url]https://forum.xda-developers.com/oneplus-one/development/8-0-0r3-lineageos-15-0-t3670670[/URL]
Android: LineageOS 15.1 (8.1.0_r4) with latest magisk installed (15.3) with unofficial opengapps 8.1 mini package
When I try to downgrade to either Lineage 14.1 official or carbonrom 5.1 I am getting a boot loop at the oneplus logo. Restoring from backup to 8.1 resolves the issue.
1. factory reset
2. wipe system
3. Install Lineage 14.1 or carbonrom 5.1
4. Install recent opengapps mini package for 7.1.2
4. Reboot
The phone boot loops at the oneplus logo and I end up restoring from backup.
I have looked online and was struggling to find anything relevant. Some people report a new battery solved the issue but since It works when I restore from the backup It doesn't seem to be that. I do have a new battery on hand that I am eventually going to install though so I can do that.
Apologies if I am missing something obvious.
-Snowrider- said:
I have the following installed:
https://forum.xda-developers.com/oneplus-one/development/8-0-0r3-lineageos-15-0-t3670670
Android: LineageOS 15.1 (8.1.0_r4) with latest magisk installed (15.3) with unofficial opengapps 8.1 mini package
When I try to downgrade to either Lineage 14.1 official or carbonrom 5.1 I am getting a boot loop at the oneplus logo. Restoring from backup to 8.1 resolves the issue.
1. factory reset
2. wipe system
3. Install Lineage 14.1 or carbonrom 5.1
4. Install recent opengapps mini package for 7.1.2
4. Reboot
The phone boot loops at the oneplus logo and I end up restoring from backup.
I have looked online and was struggling to find anything relevant. Some people report a new battery solved the issue but since It works when I restore from the backup It doesn't seem to be that. I do have a new battery on hand that I am eventually going to install though so I can do that.
Apologies if I am missing something obvious.
Click to expand...
Click to collapse
Try the following :
-uninstall magisk using uninstaller(available in magisk forum)
-clear system,data,cache,dalvik
-install only the rom with out gapps
if it boots properly then you can install the gapps later or else if u find flashing gapps is causing the bootloop then use an older version and double check the compatibility.
if still not just try out another nougat rom
Thanks for the suggestion.
I tried your steps with the latest stable slimrom 7.1.2, lineage 14.1 and carbonrom 5.1 and I am still seeing the same issue. I was able to clean install the lineage 15.1 beta I linked to though in addition to restoring my backup as I have done before. I might try to clean install a different 8.1 (AOSP for example) and see if that one works. This will help narrow down if the issue is caused by 8.1 in general or specifically something that the lineage 15.1 beta has done.
I had a similar problem when I flashed Sultan's LOS14.1. I fixed it by flashing down to stock using wugfresh's bacon root toolkit. Keep in mind though that this will wipe EVERYTHING on your phone. Hope it doesn't come to that. Best of luck!
CedArctic said:
I had a similar problem when I flashed Sultan's LOS14.1. I fixed it by flashing down to stock using wugfresh's bacon root toolkit. Keep in mind though that this will wipe EVERYTHING on your phone. Hope it doesn't come to that. Best of luck!
Click to expand...
Click to collapse
This is what I ended up doing and it did the trick. Thank you for the suggestion.

Bootloops when clean flashing a ROM, only certain ROMs work

I'm on the official build of LOS 14.1. I've tried flashing other ROMs on Nougat but i bootloop on every single one. I clean flash too. I make sure to wipe everything besides internal storage. I had an older version of TWRP . it was like version 2.8 or something but i just updated it to 3.2.1.0 and it still doesnt let me flash ROMs. I tried flashing Oreo based ROMs and it does the same thing. I've only been able to successfully run the official LOS 14.1, and CM 13.1 (havent tried 14.1). I've tried different variants of LOS on 14.1 and 15.1. Is there something that i'm missing? if it helps i found my old OPO and havent used it since january 2016. I decided to try out new ROMs but they're not booting. Any help? Thanks.

Constant Reboot

I had the official Lineage 15.1 installed with gapps pico, it was upgraded from 14.1 lineage with gapps pico + magisk 16 . Today I wanted to downgrade back to 14.1 so I flashed the latest 14.1 lineage with gapps 7.1
After booting it shows com.android.phone has stopped working and it restarts again to show the same thing.
I am able to get into TWRP recovery , can anyone please suggest me what should I do?
I dont have previous backup
Mmodi said:
I had the official Lineage 15.1 installed with gapps pico, it was upgraded from 14.1 lineage with gapps pico + magisk 16 . Today I wanted to downgrade back to 14.1 so I flashed the latest 14.1 lineage with gapps 7.1
After booting it shows com.android.phone has stopped working and it restarts again to show the same thing.
I am able to get into TWRP recovery , can anyone please suggest me what should I do?
I dont have previous backup
Click to expand...
Click to collapse
I did a factory reset using TWRP . Lost all the data but the phone started, able to use it now
Mmodi said:
I did a factory reset using TWRP . Lost all the data but the phone started, able to use it now
Click to expand...
Click to collapse
Always do a clean wipe (wipe everything except internal/external storage). Always back up your previous system just in case. Sometimes it is better to flash Gapps right after flashing the ROM, sometimes it's better to flash the ROM, boot and then flash the Gapps.

[solved] Reboot to twrp when installing latest lineage16

Hello
Strange think for me, maybe not for you
I switch from carbon 8 and came back to lineage 16.
I'm not able to achieved installation with latest lineage 16, lineage microG or lineage17. Flashing the new rom works well, but after lineage home screen, the phone reboot to recovery.
With an lineage16 old version from 03/2019,install is ok and phone boot well.
I've suspected an old twrp version, but I'm on 3.3.1.0.
Any idea ?
thank you
it's the same with an old twrp version 3.2.
Ok, solved. You shouldn't install twrp as an app before rebooting to new os version.

Categories

Resources