yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] kasskas:
Battery level stuck at 50%

Hi. Thanks for great ROM. During the weekend I switched from MIUI did full wipe and installed latest built 20181026. Everything works fine, but I noticed that the battery level is stuck at 50%. Tried fully depleting the battery and then charging didn't work. Tried deleting baterystatus.bin also no effect. Is there any other possible solution? I can see battery voltage, but I think battery temp is also stuck. Any help is appreciated.
[Xiaomi Mi 4C] prazola:
Is it normal that mi4c can't handle webm 720p@60 playback? MPV, VLC and MX player lags a lot when I try.
[Xiaomi Mi 4C] NatsuEND:
Which ROM is better LOS 14.1 (Nougat) or LOS 15.1 (Oreo)?

Im currently using LOS15.1 and its working perfectly fine. But im wondering about LOS14.1 How was it?
[Xiaomi Mi 4C] wRAR_:
14.1 because the vibration works there.
[Xiaomi Mi 4C] NatsuEND:
Is it Vulcan supported?

Would you mind downloading VULCANCAPSVIEWER on playstore to see if its vulcan supported? tnx
[Xiaomi Mi 4C] wRAR_:
I don't know how to interpret the results but looks like it's supported.
[Xiaomi Mi 4C] NatsuEND:
could you send the screenshot please.. ?
[Xiaomi Mi 4C] wRAR_:
View attachment 4635714
[Xiaomi Mi 4C] NatsuEND:
Is it Vulkan supported? Its under DEVICES

in AIDA64.. Could i have a screenshot as well please.

---------- Post added at 01:27 AM ---------- Previous post was at 01:25 AM ----------

WOW..nice thank you very much.. LOS 15.1 is not vulkan supported.. So im going back LOs 14.1 ...
[Xiaomi Mi 4C] NatsuEND:
I cant access my twrp anymore. after flashing this ROM , I came from MIUI fastboot rom (unlocked bootloader), and whenever i try to flash twrp using fastboot/cmd i always get an error

"dtb not found"

any help?
[Xiaomi Mi 4C] Picard20:
Is there a way to adjust screen touch sensitivity on this ROM ? On MIUI, it's done by entering some numbers into phone app, but here it doesn't work.

I've googled this, but so far the only way to do it universally on most phones (that don't have the built in option), is trough build.prop editor. What I don't know is which value to edit exactly ? Searching for "display" in editor, brings up ro.sys.display.support entry that has "23" value in it. Not sure if this is it so I'm not gonna touch it out of fear of breaking something.

Oh, "Pointer speed" in Languages & input settings, doesn't do anything for me.

Running latest nougat LOS with newest firmware and the only issue I have with this phone is overly sensitive touchscreen, which makes typing a nightmare. Had this problem with MIUI and CM 13.1 also.
[Xiaomi Mi 4C] NatsuEND:
Does anyone have tried any KERNEL on LOS 14.1?

What is the working kernel version on latest build??

---------- Post added at 06:59 AM ---------- Previous post was at 06:58 AM ----------

the nov.9 2018 build
[Xiaomi Mi 4C] NatsuEND:
nope not the los build.,

what is the kernel version that works on los14.1 latest build?
[Xiaomi Mi 4C] prazola:
Last working for me was v1.5, but doesn't improve performance on my device.

The only thing that could help a lot with our phone is a way to manually downvolt the CPU, but I don't know how to do it.
[Xiaomi Mi 4C] rianawirawan:
In my tested,

Install kernel adiutor, and as u can see. Big cluster are offline.

Then "apply on boot" from left side menu, use thermal instead core control, disable LMK and then big cluster goes online.

Feeling smooth than default.
[Xiaomi Mi 4C] igaumlopes_:
Hi guys, I wanna know if there's way to download a LOS build that's not at the official LOS download page. I tried many builds of LOS and the 0923 one was the best for me. I'd like to use it again, but I don't have this build anymore.

Is there a mirror or something to download the older builds? Or maybe is there anyone that has that one (0923) to share with us? ;)

Thank you!
[Xiaomi Mi 4C] RoninPG:
Hi everyone. Here is the latest official build of LineageOS for mi4c (libra):

[OFFICIAL] LineageOS 14.1 - Google Drive

drive.google.com

Also, you can download it from Web Archive page:

LineageOS Downloads

web.archive.org
[Xiaomi Mi 4C] AyselEP:
no official release
[Xiaomi Mi 4C] AndyYan:
May I ask what's the deal with Nougat bootloader? I've read a few posts around here and MIUI EN but still quite confused as to what the mess is about. If one already has an account that has been approved to unlock devices, what is there to block unlocking Nougat bootloader using official tools?
[Xiaomi Mi 4C] Cozzmy13:
If you get the permission, sure, you can unlock it. But I don't want to go through the unlocking process since mine came unlocked and I have no intention to use nougat MIUI, and I can just compile the kernel for whatever ROM which is compatible with nougat bootloader only If i want to use it.

Also, I don't want to force users to wait for unlock permission, and if users have nougat bootloaders they can just downgrade in like 2 mins.
[Xiaomi Mi 4C] AndyYan:
That alone is enough to keep me rest assured, although using EDL to downgrade isn't the most graceful way. Thanks for letting me know the reason behind.

What I do wonder is, wouldn't there be updated blobs, etc. that we could potentially take advantage of in Nougat MIUI that we would miss out with Lollipop BL?
[Xiaomi Mi 4C] VictorLapin:
I suppose blobs are maintained by LOS, so you can check their repos
[Xiaomi Mi 4C] Cozzmy13:
There's no benefit in using nougat bootloader. You can even flash the nougat modem(firmware) on lollipop and it will probably work. Blobs have nothing to do with the bootloader. Please take note that blobs aren't the same thing as firmware. Blobs is the name for the proprietary libraries which we take from MIUI ROMs, and they don't talk with the bootloader. The only that the bootloader does is load the kernel, ramdisk and dtb. Lollipop bootloader only accepts boot.imgs with separated dt.img. dt.img contains dtbs which describe the hardware. Nougat bootloader only accepts boot.imgs with the dtb directly appended to the kernel.
[Xiaomi Mi 4C] AndyYan:
Yeah well, guess I was used to my N6P which would also need a matching /vendor and OS pairs. Thanks again for the explanation.
[Xiaomi Mi 4C] PeterMarkoff:
i had official approval from Xiaomi which didn't work, always end up freezing at 50%, it was driving me crazy,i tried everything but nothing worked, so in the end unlocked bootloader unofficially, which is reason why i am not gonna through unlocking mess again especially when there is pretty much zero benefit from it

also can someone provide APK of newest Snapdragon camera from RR, AICP or other LOS? I am using HTC version but viewfinder is not properly cropped with black bars for 4:3 resolution

[MENTION=5994357]Cozzmy13[/MENTION] can you link in your OP official linage su addon? so people would have all links in one place

https://mirrorbits.lineageos.org/su/addonsu-arm64-signed.zip
[Xiaomi Mi 4C] flow2fly:
Anybody else having the problem that the phone regularly wakes up and unlocks itself in the pocket (and then does crazy things because it obviously touches your leg)? Never had that with cm13.1
[Xiaomi Mi 4C] Cozzmy13:
Disable DT2W or enable Prevent accidental wake-up in display settings.
[Xiaomi Mi 4C] flow2fly:
I always have been using DT2W and never had this issue(for about 1 year), that's why I'm asking.

I have the feeling that it must be a different problem. I can imagine DT2W going of inside my pocket accidentally maybe once per month but not once per day, that's really strange...
[Xiaomi Mi 4C] Cozzmy13:
I told you to enable Prevent accidental wake-up in Display settings. It will check if the proximity sensor is covered before opening the screen.
[Xiaomi Mi 4C] flow2fly:
Okay sorry, I was a bit unclear. I did not use that feature before either and had no problems with double tap in cm13.1

I am going to work around the problem but I think something changed. I believe DT2W can work without issues even without the proximity sensor but maybe the sensitivity has been increased or something like that. I also find that DT2W is more responsive then before. I guess it's a trade-off.
[Xiaomi Mi 4C] Cozzmy13:
Well I don't remember how it was on CM13 so idk, but DT2W does exactly that, wake device if screen is pressed 2 times. There's no safe checking involved. And there's nothing changed pretty much as this is handled kernel side, and besides some basic cleaning and marginal improvements the touchscreen driver is the same. The proximity check is the only way the phone can figure out if it's​ inside pocket or not. :P
[Xiaomi Mi 4C] flow2fly:
Maybe the problem was that the option "lift to check phone" in gesture settings was enabled.
[Xiaomi Mi 4C] Cozzmy13:
Almost done .

https://github.com/Demon000/device_xiaomi_libra/commits/cm-14.1

Just need to add the bias-power-save and bias-performance option, I only added the 3 main ones for now.

Do you guys have any suggestions about what to do with each profile?
[Xiaomi Mi 4C] lslowmotion:
Efficiency: only use LITTLE cores, powersave GPU governor

Balanced: as it is

Quick: moar GPU powaaahhh!! ? Performance GPU governor (?)

Performance: release the kraken! Joking aside, max CPU and GPU clock at all time
[Xiaomi Mi 4C] gcsuri:
Hi Cozzmy13,

I'm using latest version for a while... I have 140 hours uptime and I haven't got freeze or any error. So I would like to thank you for this ROM.

best regards,
[Xiaomi Mi 4C] Cozzmy13:
In the meantime,

https://github.com/LineageOS/android_kernel_xiaomi_msm8992/commits/cm-14.1

https://github.com/LineageOS/android_device_xiaomi_libra/commits/cm-14.1

Repos have been forked, just need to implement the suggestions from lineage team. KCAL and Sound control will have to be removed because they said so.
[Xiaomi Mi 4C] PeterMarkoff:
Great news, thanks for your work.

Btw. does this mean Snap camera is coming back?

https://github.com/LineageOS/androi...mmit/8a23a9be078f7fb4d0671cad8180be06d63d8b1e

It sure would be welcomed compared that bare bone, as for normal photos and video recording I don't experience any issues with Snap flashed from different ROM.

Btw. will it support camera2 api as here?

https://xdaforums.com/mi-4c/help/camera-nougat-camera2-api-images-flipped-t3568993

Btw. Jelly browser is useless as it crashes at very basic operations, not sure if it is ROM related or in general it's so unstable browser, but I guess nobody really care since everyone use something else.
[Xiaomi Mi 4C] Cozzmy13:
Yes, Snap is coming back.

No, I've said this a thousand times, we can't use Camera 2 API because it's unstable.

Jelly is the default lineage browser and I can't do nothing about it.
[Xiaomi Mi 4C] nineteen86:
LiveDisplay not working when set to automatic, it always remains in day mode.
[Xiaomi Mi 4C] MacGyver17:
Hello Dev Cozzmy13.

I would like to thank you to bring Lineage with andorid 7.1.2 based. It was smooth and bugless

But there's one request I want to add to the rom.

Can you add UVC driver to the rom ? Because I need it to connect my UVC 5.8Ghz Video receiver.

Before using this rom, I was using HnT build (20170112) and there's a UVC driver at there..

Maybe you can grab it from there ?

Or there's flashable zip out there to add the UVC driver to my phone ??

Thank you for any responses
[Xiaomi Mi 4C] nineteen86:
What is Sound control? AudioFX?
[Xiaomi Mi 4C] VictorLapin:
Yep
[Xiaomi Mi 4C] Cozzmy13:
No lol.

Install kernel adiutor there's a sound control option that let's you make the sound quite a bit louder. It's going to disappear when we become official.
[Xiaomi Mi 4C] VictorLapin:
Damn, I read the question as "what's the default EQ?" :D sorry
[Xiaomi Mi 4C] flow2fly:
Looks like we are close to official, very cool, thanks a lot :)
[Xiaomi Mi 4C] MacGyver17:
Is there's any news about UVC on the future build ? Or the lineage os it self that remove them ??
[Xiaomi Mi 4C] Cozzmy13:
I think it's a kernel feature, I'll enable it.
[Xiaomi Mi 4C] Cozzmy13:
New release, check first post!

Added a custom PowerHAL, with working performance profiles. You can see what each profile does here.

Tweaked low memory killer values.

Removed kcal and sound control per Lineage team request.
[Xiaomi Mi 4C] lslowmotion:
Gonna give it a try when I arrived home. Thanks!
[Xiaomi Mi 4C] patt_co:
Thanks

Envoyé de mon Mi-4c en utilisant Tapatalk

---------- Post added at 10:14 AM ---------- Previous post was at 10:07 AM ----------

Can i just make a wipe cache ? It is only for the update

Envoyé de mon Mi-4c en utilisant Tapatalk
[Xiaomi Mi 4C] Cozzmy13:
Yup, you can.
[Xiaomi Mi 4C] Cozzmy13:
Btw, forgot to say that I added Snap Camera back.
[Xiaomi Mi 4C] Cozzmy13:
New build is up, check first post!

Higher speaker volume.

Performance profiles now change GPU governor.

Power save profile sets CPU to powersave governor (keeps it at lowest frequency).

Enabled UVC, [MENTION=5892965]MacGyver17[/MENTION] .
[Xiaomi Mi 4C] blagru:
Hi, any chance of a nougat bootloader version kernel for this rom, like you did for AICP? Thanks for your work!
[Xiaomi Mi 4C] AlexX333BY:
Will 8.1.2.0 firmware, provided in the OP, lock my bootloader like official firmwares do? I hope no, but need to make sure of that.
[Xiaomi Mi 4C] AndyYan:
[MENTION=5994357]Cozzmy13[/MENTION] Can I by any chance know how you made this buildable? I have the habit of building LOS for my own devices on my own PC (check my signature), and I used the regular way of building as I always did (adding repo to local manifest, sync, build), using the device and kernel repos you posted on the 1st page, but building will stop early claiming that there's no rule to make some files, or the build is using a prebuilt kernel, etc. Anything I'm missing?

Sent from Google Nexus 6P @ LineageOS 14.1
[Xiaomi Mi 4C] Cozzmy13:
Well, if you show me exactly what's the error I can help you.

The device trees should be compilable without any problems.

Dont forget to add TheMuppets/proprietary_vendor_xiaomi to your local manifest or extract the proprietary files from an 8.2.3.0 system image using the ./extract_files.sh script in the device tree.
[Xiaomi Mi 4C] MacGyver17:
Ah thank you. Gonna update ASAP and try the UVC ?
[Xiaomi Mi 4C] solis_f:
[MENTION=5994357]Cozzmy13[/MENTION]

I just downgraded my bootloader to try your rom mate. First thing I noticed, the higher speaker volume, it's actually a little too higher. At maximum volume, the speaker sounds distorted and cracky. Imho always! Good work and good luck on getting official !!
[Xiaomi Mi 4C] lslowmotion:
Anynone here has any problem installing Magisk with the last build?

Mine won't boot with Magisk 12. :(

EDITED: It was a problem with Andropax' recovery. I went with TS' one and it resolved. Gonna test the ROM! Thanks [MENTION=5994357]Cozzmy13[/MENTION]!
[Xiaomi Mi 4C] Maicka:
Hello !

This rom is stable for everyday use ?

Correct battery life ?

Sorry for my bad english.

Thx.
[Xiaomi Mi 4C] gcsuri:
This is the best ROM for this device. Rock stable, has very good battery life.

As I remember my previous rom (was RR 5.8.2) had better battery eating at night. I went to bed at 85% and woke up 84%. I will test the latest build soon.

regards,
[Xiaomi Mi 4C] Maicka:
Thanks for your reponse :)
[Xiaomi Mi 4C] patt_co:
Very good battery life and no bug for me. Exception for the gps which is not so fast than before to fix

Envoyé de mon Mi-4c en utilisant Tapatalk
[Xiaomi Mi 4C] Maicka:
Double tap to wake not work for me :(

an idea ?

edit : now it's ok after one reboot ^^
[Xiaomi Mi 4C] j49:
Hi there,

I have read every single message in this thread and I guess I got the hang of it. Nevertheless, I'm asking just to make sure I'm doing it the right way :)

I'm currently on cm-13.1-20161231-TS-libra and TS' TWRP 3.0.2-0 recovery.

I don't have to flash latest lollipop firmware, do I ?

(Step 0 in the first post)

1. Reboot to TWRP.
2. Wipe cache, dalvik cache, data and system.
3. Install ROM.
4. Install addonsu-arm64-signed.zip
6. Reboot.

I don't need Gapps.
[Xiaomi Mi 4C] PeterMarkoff:
you can even try just dirty flash ROM, but to be on safe side it would be better to wipe it, but no need to flash anything besides ROM and Su addon, you will be fine with old TWRP

you are on Lollipop bootloader with same firmware so no need to care about that
[Xiaomi Mi 4C] flow2fly:
I still have camera issues. Sometimes the LED stays on forever.
[Xiaomi Mi 4C] hrkfdn:
Can confirm that the speaker volume is too high in the latest build, resulting in distortion, otherwise it's pretty solid so far :)
[Xiaomi Mi 4C] wRAR_:
I've flashed this, correctly and with all required wipes I think, and it reboots by itself some time after booting and showing the initial LineageOS welcome dialog, each time after a random time.
[Xiaomi Mi 4C] PeterMarkoff:
are you using newest ARM64 7.1 Pico Gapps from OpenGapps?
[Xiaomi Mi 4C] wRAR_:
I'm using newest ARM64 7.1 Mini Gapps from OpenGapps.

On the other hand, I've just reflashed back the TS 6.0 with newest 6.0 opengapps and it rebooted on the welcome screen too. So it may be caused by the new TWRP or maybe by the new gapps.

UPD: I've reflashed the older TWRP and even the boot backup and it still reboots, now even in the recovery after the logo.
[Xiaomi Mi 4C] Cozzmy13:
Well it's clearly a problem with your device. Open a new thread for it.
[Xiaomi Mi 4C] wRAR_:
Yeah.

Seems fixed after switching /data from f2fs to ext4, no idea what happened here.
[Xiaomi Mi 4C] Cozzmy13:
https://github.com/Demon000/kernel_xiaomi_libra/commits/cm-14.1

I've worked on fixing it today, will finish when I have time, I have a lot of exams to take.
[Xiaomi Mi 4C] Cozzmy13:
Well I'm not gonna bother with f2fs. It doesn't yield any significant improvement.
[Xiaomi Mi 4C] MacGyver17:
Have the same problem, but I try to wipe again and just install the lineage OS then try to boot.

Running the wizard and back to recovery, then flash the Mini OpenGApps ARM64 7.1 then Works just fine..

Maybe there's problem on the wizard with GApps installed ??
[Xiaomi Mi 4C] Maicka:
Just one bug/reboot i just activate wifi and the phone reboot.

just once.
[Xiaomi Mi 4C] Cozzmy13:
Complain to Xiaomi, we use their binaries.
[Xiaomi Mi 4C] lslowmotion:
Efficiency governor works great. 4h30m on WiFi and still 15% battery left. Haven't experienced any bug yet. Works flawlessly.

I wonder why ok Google hotword still won't work. Gonna try to find out first...
[Xiaomi Mi 4C] firepol:
Hi, quick question, to flash the latest lollipop bootloader, do I just do it via TWRP?

Or should I use some commands via command line? Like fastboot flash [please-specify]

Thanks, looking forward to try this rom!
[Xiaomi Mi 4C] Cozzmy13:
That zip only contains firmware, no bootloader. You can flash it from TWRP.
[Xiaomi Mi 4C] clubs' motion:
Troubles with bluetooth headset

Hello Cozzmy13

When I receive a call on bluetooth headset, call stucks. I can answer via bluetooth headset, but can't abort the call after I talk. I need to restart my phone after this. Also if I turn off bluetooth when somebody calling me (but before I answered), this call also stucks and I need a reboot. The biggest problem is that because of reboot during call, this call is not saved to call history and if this number is unkown I can't call it back. I can't use my bluetooth headset at all because of this bug... Please fix it if you can...

How to reproduce:

First variant:

1. Bluetooth headset is connected. Call is received, but not answered yet.

2. Call answered. One minute of talk passed.

3. Push end call button. Caller stucks.

4. Need to reboot because can't end call (but this call is ended as I think)

Second variant:

1. Bluetooth headset is connected. Call is received, but not answered yet.

2. Disable bluetooth (because of first situation I need to reboot the phone, maybe if i tutn bluetooth off everything will be ok)

3. Call stucks and I can't answer it.

4. Need to reboot because can't do anything with stucked call.
[Xiaomi Mi 4C] dlaidxx1314:
Do you need to convert to f2fs? Ota incremental package where to download? I'm sorry for my English.
[Xiaomi Mi 4C] Maicka:
Hello.

This rom is compatible quick charge ?

This is not labeled '' fast charging in short '' just 'battery charged''

Thx for your reponse.
[Xiaomi Mi 4C] AndyYan:
I verified with a voltage meter that it charges in 9V, aka QC2.0.

Sent from Google Nexus 6P @ LineageOS 14.1
[Xiaomi Mi 4C] Cozzmy13:
I don't suggest using f2fs.

There are no incremental updates and will never be.
[Xiaomi Mi 4C] Maicka:
Thank you Indeed it loads quickly.
[Xiaomi Mi 4C] Jesus Krist:
Why on nougat roms Is GPS accuracy only max to 5m and on mm TS Cm13 Is accuracy Up to 3m. Next good feature of TS Rom is one diode flashlight. If only one diode is on, the white one, the light is imho brighter than orange light when are both on. Maybe better battery consumption too? I must thank you [MENTION=5994357]Cozzmy13[/MENTION] for great rom and keeping it up to date with new security patches. And one more question, do you see worse camera quality on these nougat roms as I see? I think the best quality was on ts rom with snap camera and denoise off ☺️

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] predragiPredrag:
F2FS is not supported so you don't have to convert to F2FS. And OTA will be available when ROM becomes official (Cozmmy is waiting for Lineage team to approve ROM for MI4C).

So you will have to download latest version from google drive link on first page ;)
[Xiaomi Mi 4C] solis_f:
[MENTION=5994357]Cozzmy13[/MENTION]

Would newer firmware from miui beta roms create any kind of implications on this rom? Since they are for nougat roms and not for lollipop?
[Xiaomi Mi 4C] MacGyver17:
Anyone got problem with the clock app ?

On me it's crashing when I try to open it
[Xiaomi Mi 4C] Cozzmy13:
I said like 10000 times that NO, it doesn't bring any improvements.
[Xiaomi Mi 4C] Cozzmy13:
Search the AICP thread.
[Xiaomi Mi 4C] waingro808:
Thanks OP! I switched from TS CM13 to this yesterday. It's weird that the notification light is disabled by default. Also, default text size is noticeably smaller, and changing text size to large makes it too big. Besides that, it's all good. This looks like it will become the best ROM for Mi4C! Good luck on going official!

EDIT: changing Display Size to 'large' and leaving Font Size at 'default' makes it the same as TS CM13.

---------- Post added at 05:10 PM ---------- Previous post was at 05:10 PM ----------

Download Google Clock from play store.
[Xiaomi Mi 4C] MacGyver17:
I don't have any download button on the playstore ?

Am I need to download the apk and install directly ??
[Galaxy S6 Edge Q&A, Help & Troubleshooting] zizou84zizou84:
Hello,

My EFS folder corrupted (no IMEI code).

I have do a backup but I'm unable to install it.

I'm no longer able to connect my phone to my PC using usb.It is only charging, so I'm unable to use ODIN.

I was able to connect (drivers already installed)

Any idea please what to do,
[Galaxy S6 Edge Q&A, Help & Troubleshooting] maakosan:
Following this thread cuz I got the same problem.

Tried Samsung USB, Kies and Smart Switch. On three different computers, doesn't even show up..
[Galaxy S6 Edge Q&A, Help & Troubleshooting] T D0G:
I have the same problem I tried everything so if u find a way plz let me no plz thanks
[OnePlus 3T Questions & Answers] tantu1976:
yardım edebilecek birisi varmı
[Sony Xperia M5] altmash mirza:
Currently i am on marshamallow 6.0 30.2.B.1.21

I read many threads on xda that talking about downgrading lots of people bricked there phones

many of them telling flash tool did not asked for fsc script when they try to flash thats sound horrible to me

1. I have an ftf of lollipop 30.0.B.1.33 without any FSC SCRIPT inside the ftf

2. Flash tool 0.9.23.2 and it has fsc script as 30.0.XX.fsc

My questions are

1. WILL it be ask for fsc script or not.

2. If anyone who has try to downgrade was successful

3. Should i go for it

4. Is it safe to flash

I have no warranty and not want a brick

So help me with your answers

Thnks for all who read and reply.:angel:
[Sony Xperia M5] ih8redsn0w:
I've already explained this to you. And if you have done enough research there is an E5663 lollipop firmware already on this forum. Research before posting