yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] kakung:
found it nice Cozzmy13 ! the app lock button in the recent is great. i was confused in the prev build that it wasn't there, then it's here now. but, im feeling weird on its behaviour, idk if it's only on mine or what, but the button (lock and close) will only show after some time (about two seconds), and if i scroll up to see earlier apps i opened it doesnt start the counting of the two seconds (hehe do you know what i mean? ?). it does not showed up immediately after i opened the recent or simply permanent. i wonder why would it be? i just haven't found the reason why. cause i think if it's permanent, then we could do the app locking faster and continue to my next task we wanna do immediately. IMHO tho. hehehe

in some reason i think you haven't read some eralier posts made by [MENTION=5994357]Cozzmy13[/MENTION] . to make sure of it, i wanna ask if you have sure that your phone temperature is low (afaik below 45°C) at the time you see the bug? cause if you see those bug right after you freshly installed the OS and you haven't let you device to take some virtual coca cola drink, then even God himself can't let those big core to move. hihihi peace ?✌️
[Xiaomi Mi 4C] nnexuss:
Thanks 4 your help...

See my temps...

Can you post one screen of CPU-Z of your phone please?

And why 2 X 1.44 ...Shou be 2 X 1.8 ... right?

Thanks.
[Xiaomi Mi 4C] Cozzmy13:
For the one thousand time, they won't turn on if not needed or if temperature is high. Use performance power profile if you want them permanently on and enjoy your **** battery life.
[Xiaomi Mi 4C] PeterMarkoff:
haven't noticed any issues with latest build at all, I don't think my 7 hours SoT can be improved by any modifications with normal usage of phone pretty much on wifi only, so can't really complain or request anything besides that reported issue with Exchange account calendar/contacts permissions
[Xiaomi Mi 4C] kakung:
sorry mate, cant show you screenshot from CPU-Z. if you read my previous post #382 (page 39 on my phone), you will see why i don't use CPUZ MADE BY CPUID. here i show you screenshot (in the attachment) from willi ye's kernel adiutor, including cpu monitor, temperature, and freq-time prove of the online big cores

note that i was using balanced profile.

by the way, you're welcome

chill bro, just focus on the development, alright? let me help you explain them this one. ?View attachment 4185275
[Xiaomi Mi 4C] PeterMarkoff:
any idea why is my phone displaying "Priority only" DND icon during call even when i switched DND off? when i slide down status bar i can turn off DND separately for Phone management app and icon will disappear, but it doesn't remember this setting, when i call next time and again show DND icon in status bar despite DND mode already switched off
[Xiaomi Mi 4C] flow2fly:
When will libra be available in the jira bug tracker?

I wanted to report that the home button settings are grayed out when on-screen navbar is enabled. That makes no sense they are also useful for the on-screen key.
[Xiaomi Mi 4C] Cozzmy13:
It will be added soon.

I think it's intended behavior to not let users override what Google thinks the on screen navbar should do.
[Xiaomi Mi 4C] flow2fly:
I mean just the long press action. Now you have to disable on-screen, change long press action and then enable on-screen again. I like to use long press on home to turn off the screen, that's a great lineage feature.
[Xiaomi Mi 4C] Cozzmy13:
I'm pretty sure that the bug is the fact that changing the action for the hardware buttons also changes the action for the software ones, not the fact that the settings are only shown when hardware buttons are enabled.
[Xiaomi Mi 4C] flow2fly:
Can you explain why should one be able to configure this for hardware keys but not for on-screen? That's totally inconsistent. Also it works without any problems. Should be possible for both or not at all.
[Xiaomi Mi 4C] militantmind:
Are these commits possible for us? https://github.com/XDleader555/HandBag-Kernel-Clark/commit/2bed24362224a75935b77fecb4781a9bf720ccbd https://github.com/XDleader555/HandBag-Kernel-Clark/commit/bbac2b453781c8f1a1527d7dad2cf5b1c65e4c29 https://github.com/XDleader555/HandBag-Kernel-Clark/commit/6da11a90439a70e973b58829553a89d1f1f4ab2a

https://github.com/XDleader555/HandBag-Kernel-Clark/commit/0e85d46ee79bb4057fd632b8ee48e480ed403835

https://github.com/XDleader555/HandBag-Kernel-Clark/commit/a000305201fb9f0d280b9ad945310599545b6967

https://github.com/XDleader555/HandBag-Kernel-Clark/commit/ff561dac9183e17ad37534749e17a41cac4045db
[Xiaomi Mi 4C] Cozzmy13:
Yes, but no.

Not gonna add any of those. ;)

"Speed up console framebuffer imageblit function" affects devices using framebuffer video driver afaik, and we don't.

adrenoidler - I'm not adding that. Our GPU idles just fine.

powersuspend - We don't need that nasty ****. Yank555 removed it from whatever kernels he had because it's buggy.
[Xiaomi Mi 4C] militantmind:
Thanks for the quick reply, looking for more updates. Anyways what could be causing random freezing during playing games?
[Xiaomi Mi 4C] Cozzmy13:
Don't know. I don't play games. One of you better get me some logs if you want me to try fixing it.
[Xiaomi Mi 4C] kickassy:
Great ROM. No complaints. Got a donation link?
[Xiaomi Mi 4C] Cozzmy13:
You can donate to the LineageOS organization, I don't have PayPal. I won't benefit from this but the organization might need it more than I do in order to pay server bills and all the other stuff.

https://www.paypal.me/LineageOS
[Xiaomi Mi 4C] Cozzmy13:
Libra should now be available on the jira bug tracker.

Happy complaining!
[Xiaomi Mi 4C] riyosakura:
which one is better between LOS and Miui ROM in term of camera performance?

i guess it should be the same, since it using the same hardware. But, maybe there is some software processing could make the picture better on MIUI ROM??

btw, why tap edge wont be fixed??

does LOS doesnt support some MIUI feature?

i just bought a new mi4c. and tap is edge not working on my mi4c. what is the problem? im using xiaomi.eu 8.2.1.0 stable ROM version atm. I flashed the ROM right away from my local distributor ROM. Maybe that the reason tap edge is not working??
[Xiaomi Mi 4C] Cozzmy13:
I don't support edge tap because hardware doesn't work well, I told you on Reddit too. Everything else works. :P
[Xiaomi Mi 4C] ViTAMiNCHEG:
Working flawlessly on my Mi 4s.

In case if someone is willing to try this rom and is looking how to update/downgrade bootloader, here are the .zip files flashable in recovery.

NO need to do the long process with MiFlasher and so

1. Flash zip in recovery

2. Flash L or N recovery

3. Wipe data, cache, format system, factory reset

4. Flash LOS14.1

OLD bootloader

https://drive.google.com/file/d/0B-rbtue80qtCZThtMVd6aHdEU1U/view?usp=drivesdk

NEW bootloader

https://drive.google.com/file/d/0B-rbtue80qtCNFFRNjg3cUZUMW8/view?usp=drivesdk
[Xiaomi Mi 4C] riyosakura:
haha. :D

so you are demonsingur @ reddit???

okay then. it settled, i'll just ignore the edge tap feature. :D

btw, for my first question. which one is better in term of camera performance between aosp or miui base rom??

or has anyone review LOS for mi4c?

i've search post regarding camera. only found gray line bug. but no one mentioning about picture quality.
[Xiaomi Mi 4C] Jesus Krist:
Best camera is on cm13 by TS. On nougat i think los have better quality if you turn off denoise (pictures have more details). Gray line is solved at new builds but i think its harder to take a sharp photo here than on miui. I miss instant camera shutter which i cant turn off so photos are taken immediately but they are often blurry. I think turning this ZSV off can solve this problem.

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] legacyofthevoid:
On all the Mi 4C ROMs I've used (TS CM13, Slim6, AICP), it is always Zero Shutter Lag that causes the blurry photos. I have similar blurry photos on Miui too. It's just that there is no option on Miui to turn off Zero Shutter Lag.
[Xiaomi Mi 4C] Jesus Krist:
On TS CM13 you can turn it off

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] patt_co:
I can't do the update. I have the message : error 7

.

Envoyé de mon Mi-4c en utilisant Tapatalk
[Xiaomi Mi 4C] waingro808:
Performance and picture quality are two different things. MIUI is best for picture quality due to optimization. Software post-processing is very important. LG G6 has the same camera hardware, but takes way better pictures.
[Xiaomi Mi 4C] h4waii:
Issue with WiFi not turning on, all LOS builds (official and unofficial) so far. I have a complete logcat, however the most relevant line you'd be interested in is:

xiaomi_readmac: qmi_nv_read_wlan_mac error

Did something change in the way the MAC is pulled from NVRAM? I actually get this error on most non-MIUI ROMs except for your AOSP build., which works completely fine. Any obvious differences that can be easily merged over to LOS?
[Xiaomi Mi 4C] Cozzmy13:
It's the other way around. We added compatibility with devices with reversed MAC in the NVRAM after I did my AOSP builds.

https://github.com/Demon000/device_xiaomi_libra/blob/cm-14.1/modules/readmac/xiaomi_readmac.c#L127

This is the line it is failing on. I'll see how I can fix it without reverting the reversed MAC compatibility.
[Xiaomi Mi 4C] h4waii:
Ah, okay. Well, I can test if needed, this isn't my daily device. Thanks for looking in to it.
[Xiaomi Mi 4C] caocaolatre199x:
Does memory card support? thanks :)
[Xiaomi Mi 4C] Sephriot:
[MENTION=5994357]Cozzmy13[/MENTION] can you give me link to download correct twrp. I cant find twrp with working lineage ota. Any chance to new bootloader? I`m actually on RR 8.5.3 and prefer dont do downgrade. If you have plan to change it i will wait.
[Xiaomi Mi 4C] ViTAMiNCHEG:
Yes, I have no problems with my 64Gb Samsung Evo micro sd. Fully working and have access to all my files
[Xiaomi Mi 4C] PeterMarkoff:
3.0.2 from TS should work according reports of other people, you can download it here after registration, if you don't want register I can make mirror

http://www.teamsuperluminal.org/ts-twrp-2-8-7-2-mi4c/
[Xiaomi Mi 4C] kickthefreak:
After downloading update and rebooting to 3.0.2 twrp ts ,

Nothing happen with update process, can anyone tell me why the process cannot automatically continued?

Doing terminal command but still cannot update

adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/misc count=1 bs=32

:crying:
[Xiaomi Mi 4C] trtlja:
:(same here....
[Xiaomi Mi 4C] Chinezu78:
Works fine for me update via updater application. The only problem is that battery consuming to much over nigh..

View attachment 4189826
[Xiaomi Mi 4C] Cozzmy13:
Doesn't happen for me. Check your apps.
[Xiaomi Mi 4C] Cozzmy13:
Honestly, I don't have how to test this because, as a maintainer, I need to stay on my unofficial builds in order to be able to test new stuff before releasing.

Anyway, I'm sure it's the fault of the recovery, if it doesn't mount config partition then it doesn't know it needs to update anything.

Find the directory it downloads to and flash it manually.

It should be somewhere in /data/data/org.lineageos.updater/.
[Xiaomi Mi 4C] kickthefreak:
Its OK, i already flash it manually,

Thanks
[Xiaomi Mi 4C] Sephriot:
What version of TWRP do you have?
[Xiaomi Mi 4C] trtlja:
You're right. I've to reflash recovery .

Why TWRP can even cause battery drain??
[Xiaomi Mi 4C] Sephriot:
I ask about TWRP because i want to know on what version work ota correct.
[Xiaomi Mi 4C] Chinezu78:
3.0.2 twrp ts

---------- Post added at 08:14 PM ---------- Previous post was at 08:10 PM ----------

i'll switch to TS CM 14.1 tonight , to see how is the battery consum.

i come back with comparation after the weekend
[Xiaomi Mi 4C] frewun:
Manual Flush...?

Hey everybody!!

I'm currently using v "14.1-20170520-UNOFFICIAL-libra", I want update to "lineage-14.1-20170621-nightly-libra-signed".

Can I flush it manually with TWRP (3.1.0) without loosing my apps, settings, GAPS, etc., or should I consider something?

Thx for helping the newby here!!
[Xiaomi Mi 4C] Chinezu78:
LOS 14 from TS
[Xiaomi Mi 4C] waingro808:
OP recommended doing clean flash when going from unofficial to official.
[Xiaomi Mi 4C] Sephriot:
http://www.teamsuperluminal.org/download/ts_libra_miui_v8230_fw_patch-zip/

This firmware from miui V8.2.3.0 will be work too?
[Xiaomi Mi 4C] kickthefreak:
Really? 3.0.2 twrp doesnt work for me,

Need to test again next week build.
[Xiaomi Mi 4C] waingro808:
---------- Post added at 08:27 PM ---------- Previous post was at 08:25 PM ----------

[/COLOR]

This doesn't seem to work because there is no 'icon_blacklist' even after toggling in status bar settings. Anyway, looks like official build doesn't show the icon.
[Xiaomi Mi 4C] trtlja:
SuperSU-v2.82-201705271822.zip

Works as flashed from twrp
[Xiaomi Mi 4C] waingro808:
Thanks :good:
[Xiaomi Mi 4C] wRAR_:
I don't have any problems with root, I haven't wiped system or reflashed addonsu.
[Xiaomi Mi 4C] Jesus Krist:
Battery consumption over night is really good. Zero or one percent drop on balanced mode :)

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] bnesic:
Balanced with automatic optimization or pure balanced mode?
[Xiaomi Mi 4C] dancingsoda:
bootloop into twrp

hi, so i updated via OTA and suddenly i always boot into recovery. doing a quick search i've tested some terminal command such as dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc count=1 bs=32

and

dd if=/dev/zero of=/dev/block/platform/f9824900.sdhci/misc count=1 bs=32

(as i dont see by name folder in the block folder, seems the system load something but i still cant get into the android system / always go to twrp on boot)

but it doesnt work.

does anyone know the right command to break the loop for MI4c Libra devices? or any other help will be greatly appreciated. thanks
[Xiaomi Mi 4C] trtlja:
Reflash TWRP
[Xiaomi Mi 4C] Sephriot:
Which pref network are you have in menu (*#*#4636#*#*). I changed pref network and didnt remember what was as default.
[Xiaomi Mi 4C] bnesic:
WCDMA
[Xiaomi Mi 4C] dancingsoda:
yo thanks for replying.

the thing is the phone is dead so i cant download twrp via playstore. also i think the adb is disabled in setting. so when i tried to sideload via platform tool the cmd cant detect my phone . (the phone shows fastboot screen for a couple of mins and then go to twrp)

any further suggestion?
[Xiaomi Mi 4C] waingro808:
Agree about GPS problem. After two minutes can only see two satellites when testing outdoors. Much worse than before. This is on 0621 nightly.
[Xiaomi Mi 4C] hrbaby@naver.com:
delete
[Xiaomi Mi 4C] n3onis:
I tried to flash this multiple times, but when I boot, the phone is stuck on the Mi logo..

I did try flashing the Nougat bootloader, latest TWRP, wiped everything...

My last ROM, Resurrection Remix, works fine. I don't see the problem with Lineage.

I tried it like 5 times now with no success.

Works with Superluminal.
[Xiaomi Mi 4C] BlackXhorneT:
It's because you're on the most bootloader. You need to downgrade to lollipop for this
[Xiaomi Mi 4C] n3onis:
Yeah, I did flash [MENTION=5868201]AndropaX[/MENTION] Nougat bootloader, but it didn't seem to help.

Installing some other bootloader with TS TWRP worked, though.
[Xiaomi Mi 4C] BlackXhorneT:
Yes you flashed the nougat bootloader, as I said, you need lollipop...
[Xiaomi Mi 4C] n3onis:
Sorry, I meant Lollipop.

I flashed this, but it didn't work.
[Xiaomi Mi 4C] Sephriot:
This file doesn't have lollipop bootloader. It is only firmware. You must downgrade your bootloader by miflash to miui 6.1.7.
[Xiaomi Mi 4C] flow2fly:
Go back in this thread and you should find the commands, there has been a discussion about this

Here for your convenience:

adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/misc count=1 bs=32

For me it worked this way with adb.
[Xiaomi Mi 4C] igaumlopes_:
I'm on AICP 12.1. The process to downgrade to Lollipop bootloader is the same as is said at the first post? Or is it just for MIUI?
[Xiaomi Mi 4C] gcsuri:
Hi Cozzmy13,

what line I need to write to fstab?

best regards, gcsuri
[Xiaomi Mi 4C] Cozzmy13:
You are already on Lollipop bootloader..
[Xiaomi Mi 4C] Jesus Krist:
Anyone here with download speed issue while display is off

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] samsonov_cerzh:
Dear cozzmy.

Is there a fix for google camera version 4.3? It would be great if you would make a fix for the full performance of the google camera, for example on the assembly los14 ts, this fix exists. Could you help me if there is a manual method to make this camera work properly?
[Xiaomi Mi 4C] igaumlopes_:
Really? Wow i didn't know! So.. AICP always use Lollipop bootloader? Even if I was on a Nougat bootloader (RR 5.8.3) before installing it?
[Xiaomi Mi 4C] Cozzmy13:
IDK then. Instructions for downgrading are in first post.
[Xiaomi Mi 4C] Cozzmy13:
Don't know what TS did and don't really have time for it, I'm busy with lineage stuffs and learning some stuff for myself.
[Xiaomi Mi 4C] waingro808:
Google Phone is not working properly in latest build. During call, proximity sensor is not working and there is no way to end the call. Also, screen doesn't turn on when receiving a call. Had to go back to stock dialer.
[Xiaomi Mi 4C] Cozzmy13:
Do we ship Google Dialer with Lineage? ;)

And you didn't give me logs or anything. Do you expect me to see the problem through my magic globe?
[Xiaomi Mi 4C] bartwas78:
Hello, i had the same problem. Managed to fix it last night. It is the dust coming trough speaker grill. You will probably have some dust visible behind front camera glass. Solution is, open phone, remove speaker and camera assembly and blow the dust away. Mine wasnt working as well, now everything is perfect.
[Xiaomi Mi 4C] waingro808:
Thanks, will play with. but stock dialer works no prob?

---------- Post added at 07:38 PM ---------- Previous post was at 07:37 PM ----------

Sorry for no log. Will work on that.

UPDATE: Well that's weird, it seems to be working fine now. I had stock dialer disabled when I had problems. Who knows, maybe that messed things up.
[Xiaomi Mi 4C] Cozzmy13:
I just tested and the screen turns off like it should.
[Xiaomi Mi 4C] hrkfdn:
Had a similar problem, the phone would ring but the app wouldn't show its overlay. Same when placing a call. Had to set the Google Dialer as the default phone app as there was none set at all.
[Xiaomi Mi 4C] ViTAMiNCHEG:
Today for the first time I wanted to use my headphones with this rom. But..I can say, I got a headphones bug. With headphones plugged in, the music is playing via phone speaker.

Mi 4s, LOS 14.1 20170614, ARISE+Magnum+Opus+20170524, PowerAmp
[Xiaomi Mi 4C] Cozzmy13:
No idea why it doesn't work.
[Xiaomi Mi 4C] waingro808:
Okay, thanks. Sounds like the same problem. But I swore I set it as the default...
[Xiaomi Mi 4C] hrkfdn:
I installed Google Dialer via Google Apps, which removed the LOS dialer resulting in no Dialer app set as default. When installing the stock package one needs to be a little careful. Same with the Google Camera app, which will replace the Snapdragon camera. Once the Play Store updates Google Camera to the latest version, the Camera does not work anymore at all. Maybe Cozzmy13 can edit the first post to add a note regarding this.

I have worked around this by adding a config file to "/sdcard/Open-GApps/gapps-config.txt" before flashing the Open-Gapps Stock package, containing the following (see also: options)

CameraGoogle
+CameraStock

This will keep the Snapdragon camera and not install the Google camera. The Google dialer still had to be set as default manually. This also gives you the Pixel launcher and all the other goodies, resulting in a near Nexus/Pixel experience.
[Xiaomi Mi 4C] waingro808:
Turns out GLONASS and Beidou were intentionally disabled in LOS, which helps explain why GPS is so bad. Translation: no Russia or China satellites!

https://jira.lineageos.org/browse/BUGBASH-383
[Xiaomi Mi 4C] Cozzmy13:
That's only valid for klte, libra shouldn't have this problem.

Today's build should contain some gps improvements submitted by AndropaX.
[Xiaomi Mi 4C] waingro808:
There are bug reports with the same response for other devices too. And in my experience, it's the same for libra. I don't see any Russia or China satellites, when I used to before.

Anyway, thanks for your hard work on this awesome ROM! Will try the new update! :good:

UPDATE: can confirm GPS lock is faster in 0628 nightly, and I can see Russia satellites!
[Xiaomi Mi 4C] flow2fly:
Maybe there was a problem with AGPS that has been solved?

If the GPS doesn't get the assist information from the phone and has to download all data through the GPS signal istself it can take quite a while. Downloading a complete full data set takes around 15 minutes because the data rate of the GPS signal is very low.
[Xiaomi Mi 4C] indrasatrya:
can anybody help me? when someone call me or I make a call. display turn off and can't turn on again. i downloaded google dialer but i ca't set default.
[Xiaomi Mi 4C] waingro808:
Thanks, I cleared AGPS and left androiTS running for 20 minutes. Now I can see Russia satellites! GPS is all good now!
[Xiaomi Mi 4C] ViTAMiNCHEG:
Gps working fine on the latest nightly
[Xiaomi Mi 4C] Cozzmy13:
Of course you can. You just need to search for it Apps -> Settings -> Phone app
[Xiaomi Mi 4C] bnesic:
Which is that app for checking GPS? Thx.
[Xiaomi Mi 4C] flow2fly:
I still have the feeling that the sensitivity was higher in Android 6/CM13.1 I used to be able to receive a weak signal from several satellites indoor, now it seems to be almost impossible in the same room.

Fix was also very quick back then when traveling abroad with no data connection and resorting back to GPS only localization in Google maps. Feels a bit slower now. Just a feeling, no waterproof measurements available...

The problem also is that it is really hard to check if the AGPS data has truly arrived at the GPS flash memory or not. Communication is probably through some kind of serial interface. Does anybody know if mi4c uses a dedicated GPS module or if it's part of the SOC?
[Xiaomi Mi 4C] Cozzmy13:
It is.
[Xiaomi Mi 4C] ViTAMiNCHEG:
AndroiTS GPS Test
[Xiaomi Mi 4C] ViTAMiNCHEG:
Was taken right now indoors. I have newer experienced any gps problems with this rom
[Xiaomi Mi 4C] flow2fly:
I read in another thread that it is important which ntp server is configured in /system/etc/gps.conf

I think ntp is used to initially set the time in the gps receiver and that has to be super accurate. As you know, 1ns of error translates to 30cm. So if there is a bad network link to the ntp server that results for example in 100ms time error that is already quite inacurate for the GPS initialisation.

Here the ntp server is time.izatcloud.net which seems to not work well here in europe. I can not even ping it. Maybe it would be better to put something there that works globally.
[Xiaomi Mi 4C] flow2fly:
I have set

NTP_SERVER=de.pool.ntp.org

and it helps ☺️

I suggest setting a few servers from ntp.org around the globe as the default.

asia.pool.ntp.org

europe.pool.ntp.org

north-america.pool.ntp.org

For example. I don't know if it then automatically chooses the best one or the first one available. But anything is better than a server that's not reachable.
[Xiaomi Mi 4C] waingro808:
Performance is really smooth in 'Balanced' mode in 0628 build. Nice job OP.

One small suggestion: put handset volume at 88 in mixer_paths; same as speaker. 84 is too low in my opinion.
[Xiaomi Mi 4C] Cozzmy13:
https://github.com/LineageOS/android_device_xiaomi_libra/commits/cm-14.1/audio

It's already 88.
[Xiaomi Mi 4C] Loather:
Hi, thanks for your hard work:good:

Find little issue here, vibration when answer is not working,

I find a solution on TS forums(can't insert outside link),

but change the phone app notification settings to override do not disturb was no longer work on 0628 release, it works on 0621 release.
[Xiaomi Mi 4C] waingro808:
I'm talking about <path name="handset"> which controls earpiece volume for calls. It is set at "84". I changed it myself to "88" and it is much better.