yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4C] PeterMarkoff:
it does with Magisk :)

in recovery or lineage? because pretty sure after doing clean wipe and new install i had it set by default to MTP, although i always set it manually to charge only if it's not already charge only
[Xiaomi Mi 4C] Cozzmy13:
Working on it.

https://review.lineageos.org/#/c/176861/
[Xiaomi Mi 4C] Cozzmy13:
For the next release, I rebased on Michael Bestas' msm8994 kernel which means we now have the latest stable kernel available, 3.10.105 (vs 3.10.84 we used to have).

I also think I fixed the flash getting stuck once and for all.
[Xiaomi Mi 4C] predragiPredrag:
It would be great to fix that flash :) maybe you can also look at camera libs from AICP?

P.S. Thanks for the effort and fixes ;)
[Xiaomi Mi 4C] Cozzmy13:
Carlos tracks what I do for Lineage and adds it to AICP.
[Xiaomi Mi 4C] hrbaby@naver.com:
Help

.................
[Xiaomi Mi 4C] rafbry:
UPDATE

After last update through OTA, my phone (Mi4c) can't load the system. It is rebootiong only to TWRP (3.1.1). Anyone has the same problem? Please help.
[Xiaomi Mi 4C] Hiểu Mi4c:
me too, but i flash via twrp :crying:
[Xiaomi Mi 4C] Cozzmy13:
It's written in the first post under attention, when coming from unofficial to official you need to clean flash.

And I've also said this a lot in the last pages. ;)
[Xiaomi Mi 4C] predragiPredrag:
There is no latest OTA, since only one build came out, and next one will be on Wednesday. So can you elaborate more on what did you flash and did you came from nougat or lollipop bootloader??

Also, if you manually flashed lineage-14.1-20170607 and then used OTA for same build, then lineage has bug in its OTA part of ROM.
[Xiaomi Mi 4C] rafbry:
Yesterday I flashed lineage-14.1-20170607-nightly-libra-signed from cm-13.1 (Team Superluminal). Today morning I received notification about possible update via OTA, so I did it. I'm not sure what bootloader I have.
[Xiaomi Mi 4C] predragiPredrag:
You basically flashed Cozmmy LOS rom, since it is now official and your update app in settings ,that for some reason TS crew left there (since they don't have OTAs), installed different version of LOS rom Cozmmy vs TS.

Clean flash will solve all your problems ;)
[Xiaomi Mi 4C] rafbry:
Thank you but unfortunately did not help. I wiped dalvik, system, data, internal storage and cache. Than I copied ROM and open gapps to /sdcard and flashed. After instalation phone is still rebooting to TWRP. :confused:
[Xiaomi Mi 4C] Cozzmy13:
Then you're doing something wrong :p
[Xiaomi Mi 4C] predragiPredrag:
Try to switch to TWRP 3.0.2, and try again with clearing everything and installing again :)

http://www.teamsuperluminal.org/ts-twrp-2-8-7-2-mi4c/

Also one crucial question, on what MIUI rom were you before you switched to TS LOS?
[Xiaomi Mi 4C] rafbry:
Apparently changing to TWRP 3.0.2 helped, thank you very much :cowboy:

Before TS LOS I had MIUI Poland ROM, don't remember now what was before that...
[Xiaomi Mi 4C] MacGyver17:
Is anyone know how to activate google assistant on the official build ??
[Xiaomi Mi 4C] Chinezu78:
Battery consummation over night, I think is not so good :)

View attachment 4178926

Trimis de pe al meu Mi-4c folosind Tapatalk
[Xiaomi Mi 4C] verntechguy:
Just tried it today and it did pass SafetyNet as long as it's not rooted.
[Xiaomi Mi 4C] Jesus Krist:
Bugs on official ROM - Camera stabilization cause gray lines on the sudé od the screen. Notification SMS answer send the SMS but notification persist in status bar. Gallery is not able to play your recorded videos - FC. And i think, the GPS accuracy and speed of GPS fix just get worse.

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] Cozzmy13:
The middle line is overnight. :)
[Xiaomi Mi 4C] predragiPredrag:
You are using test build with fixed CPU cores? Since I think that battery consumption got worse since the bug with BIG cluster.
[Xiaomi Mi 4C] Cozzmy13:
I don't have any problem with the camera. :)

Gallery plays videos fine for me.

IDK about GPS, I'm not using it.

The notification bug is an old one, I'll see if we can fix it.
[Xiaomi Mi 4C] Cozzmy13:
I'm not, fixed it but didn't build because I don't really have time.
[Xiaomi Mi 4C] predragiPredrag:
I can confirm bug with camera. When you turn on stabilization in video you get image like this :)
[Xiaomi Mi 4C] trtlja:
It's a old bug. I've seen it on TS 13.1 also on Aicp
[Xiaomi Mi 4C] Cozzmy13:
Well then don't enable stuff. I can't do much about the camera quality/options, talk with Xiaomi :P.
[Xiaomi Mi 4C] predragiPredrag:
I would if I knew Chinese :P joking aside, thanks anyway for the effort :)

p.s. if you can disable that option in SD camera, then you would solve one bug :P :D
[Xiaomi Mi 4C] Cozzmy13:
I'll see what I can do.
[Xiaomi Mi 4C] SOK4:
Dear Cozzmy13, what about MI4S phone?

Is your FW compatible with it? FingerPrint will not work - it's well known problem on all CM/LA firmwares.. What about MicroSD Card? (On RR it works fine, btw)
[Xiaomi Mi 4C] dlaidxx1314:
Hello, rom is very good. But last night there can not wake up the screen situation, and finally I forced to restart the phone. Hope that the next version can be resolved.
[Xiaomi Mi 4C] Cozzmy13:
Sdcard works, I added support for every Mi4s hardware piece besides fingerprint sensor which I can't do without having the phone.
[Xiaomi Mi 4C] Cozzmy13:
I can't magically solve problems I don't encounter.
[Xiaomi Mi 4C] dlaidxx1314:
I need to provide you with any information in order to get your help.;）
[Xiaomi Mi 4C] Cozzmy13:
Just grab a logcat and a dmesg and post it here if it happens again.
[Xiaomi Mi 4C] dlaidxx1314:
I think it's too hard for me. Thank you for your Patiently answered. Thank you.Because it rarely appears, so it doesn't matter:laugh:
[Xiaomi Mi 4C] MacGyver17:
Sounds familiar. I have experience something like that..

It's like sleep of death. But it happen with me in unofficial build. Official build still run well except the big core is always sleep ?
[Xiaomi Mi 4C] predragiPredrag:
One question regarding lineage OS. Are builds automatic, or dev that maintains ROM is responsible for activating build process?
[Xiaomi Mi 4C] Cozzmy13:
That's one of the advantages of official status, you get an automatic build each week. libra builds are scheduled each Wednesday. The other advantage is that your code gets reviewed by a lot of people and you learn a lot from others, so the quality of the ROM increases over time. :D
[Xiaomi Mi 4C] patt_co:
My MIUI ROM is a lollipop . So I think this is a lollipop bootloader.

Envoyé de mon Mi-4c en utilisant Tapatalk
[Xiaomi Mi 4C] Gilcs:
Yes,you have lollipop bootloader.
[Xiaomi Mi 4C] flow2fly:
After almost one day of testing I couldn't find any problems so far. Everything seems to be working. Now let's see how it performs in terms of battery life.
[Xiaomi Mi 4C] PeterMarkoff:
Please keep it on Lollipop bootloader, until there will be unofficial way how to unlock Nougat bootloader. Many people still stay on Lollipop bootloader for this reason, so they don't have to deal with lame official Xiaomi bootloader unlocking.

Thanks a lot for your work. Later will report bugs, when stumble upon some.
[Xiaomi Mi 4C] Grellenort:
I prefer nougat bootloader. I dont want to downgrade everytime when I want to try custom rom and I can see I am not alone with this.
[Xiaomi Mi 4C] Cozzmy13:
I'm working on a flashable zip that converts a lollipop boot partition to a nougat one so everyone can just flash it after flashing any ROM designed for Lollipop bootloader. This would be compatible with any ramdisk modifications like magisk so there's no need to flash it again & stuff like that. Just stay tuned.

Also, I've submitted the application to Lineage team and I'm waiting for a response.
[Xiaomi Mi 4C] patt_co:
Thank you.

Which languages in this ROM ? French?

Where can I find the good gApps ?

Envoyé de mon Mi-4c en utilisant Tapatalk
[Xiaomi Mi 4C] Cozzmy13:
Yes, it has French.

I suggest nano or pico open gapps. 7.1.x, ARM64.
[Xiaomi Mi 4C] PeterMarkoff:
so just dirty flashed over older build made by HnT in January, things which could be improved (haven't discovered any bug yet :))

1. no root by default, only for ADB, not for apps (need to flash superuser ARM64 addon through TWRP)

2. green switches in settings instead of blue

3. use com.android.camera2 instead of Snap camera from CM/LOS (no resolution between 13MP and 5MP)

4. new Wifi region code option in wifi settings

5. new Enhanced 4G LTE Mode in SIM settings

6. battery text inside icon still doesn't work

7. superuser/hash sign always displayed in status bar if you keep running app with root, no other way to hide

8. no shutter sounds switch under Sounds, you need to delete shutter sound in syste/media/audio/ui after each update or switch phone to DND before taking photo

would it be possible to change switches to blue for consistency with Google settings? would it be possible to add 8MP 4:3 resolution to camera? would it be possible to hide superuser sign from status bar by option? would it be possible to add Shutter sound option to Sounds? old build I was using had all of these
[Xiaomi Mi 4C] flow2fly:
I think we can not ask for changes to lineage itself in here because the idea is to create an official version.

I found a device related bug:

Quickcharge is not working.
[Xiaomi Mi 4C] schmartens:
Great experience so far, very smooth :). Installed open_gapps-arm64-7.1-stock-20170507 and TWRP-3.1.0-2-libra-L.

Bugs that I encountered (probably not rom related):

- google camera crashes after updated from play store

- i can't verify my number for whatsapp with this rom

EDIT: ok, forget that with whatsapp ... i changed my number recently and typed in my old number :P
[Xiaomi Mi 4C] Cozzmy13:
Latest working Google Camera is version 3.2. Any newer ones are not supported by the camera libraries we have.

I logged into WhatsApp without any problem.
[Xiaomi Mi 4C] Cozzmy13:
Quickcharge works fine for me. :/
[Xiaomi Mi 4C] irfanhutomo:
still waiting for nougat bootloader );
[Xiaomi Mi 4C] flow2fly:
I have no problems with WhatsApp.

What did you do to get quick charge working? For me it doesn't mention that it is quick charging (schnelles Laden in German) on the lock screen. Will try again tonight.
[Xiaomi Mi 4C] Cozzmy13:
It doesn't say so but it does quick charge. I think we need an overlay config to show that on the lockscreen. I'll investigate.
[Xiaomi Mi 4C] bartleby_06:
Perfect ROM. Whatsapp working fine for me, and everything else too. All whipes less Internal Storage.

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] Cozzmy13:
Glad you like it.
[Xiaomi Mi 4C] bartleby_06:
I Miss some extra config like date and network traffic on status bar but not important. [emoji12]

Enviado desde mi Mi-4c mediante Tapatalk
[Xiaomi Mi 4C] :
hello, I have a nougat bootloader, how can I downgrade to lollipop?
[Xiaomi Mi 4C] predragiPredrag:
Great :) less job for you! I was wondering what day in the week is build day, I thought it is Wednesday but I was in doubt since there were no new builds few hours ago.

Now I see that everything is building and we will have new build latter in the day :)

https://www.lineageoslog.com/build
[Xiaomi Mi 4C] kakung:
i want to report about the big cores bug (some of) you guys mentioned before. First, what did you use to monitor that phenomena? cause i cant confirm that the bug is there (007 june build). im using willi ye's kernel adiutor, and the cores seem working just fine, big and LITTLE is working. the big cores switching online-offline themself dinamically, either using any settings (LOS default or profiles i made). but i can make an exception on this behaviour, everytime the device heats up (i haven't been sure about the exact temperature values, >45°C IINM) the big cores permanently killed until the temperature goes down. in the past when im using MIUI, this thermal control is so agressive as the phone heats up faster than this build of LOS. even though the phone is still heats up (but not that much) in heavy use however. so, thats in my humble opinion is (maybe) the cause of the bug.

additional info: HWMonitor Pro by CPUID also show the big cores offline all the time, so there is also a chance that the monitoring app a little bit "incompatible" or something. CMIIW

anyway, thanks [MENTION=5994357]Cozzmy13[/MENTION] for the build, this is freshly great for an ex-MIUI user. thumbsup
[Xiaomi Mi 4C] nnexuss:
My booloader is lock... but i install this version without any problem...

It´s normal?

@ - print attached

# EDIT 1

Bug?

Only 4 cores at 1.440?

The right shoul 4 X 1.440 and 2 X 1.800
[Xiaomi Mi 4C] kickthefreak:
updating, thank you.
[Xiaomi Mi 4C] Linhxury:
I updated to the newest build but my phone kept rebooting to recovery, please help...
[Xiaomi Mi 4C] nnexuss:
SUGGESTIONS

1. If you get stuck in a bootloop try flashing the latest lollipop firmware.

on firts post
[Xiaomi Mi 4C] PeterMarkoff:
same here, amazing update, first time experiencing this
[Xiaomi Mi 4C] fabcdefz:
Dirty flash, booted successfuly, did you wipe dalvik & cache before reboot?
[Xiaomi Mi 4C] PeterMarkoff:
I used Updater app to download update package, then it restarted by itself into TWRP, nothing happened there, was unable to find the update package, so tried to restart but it keep returning back to TWRP no matter what I do. Of course I have newest firmware from first post and also TWRP 3.1.0.2 from AndropaX. No such issues until now.

EDIT 1: Here is solution which you just need to modify for Mi4c:

https://www.reddit.com/r/LineageOS/comments/5riech/how_fix_twrp_recovery_boot_loop_after_lineageos/

For anyone who haven't updated yet, DO NOT USE updater app.

EDIT 2: solution which worked for my Mi4c, go to Terminal in TWRP and type and confirm this and reboot:

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

Just make sure your misc file is in same path, check it through built in file manager in TWRP.
[Xiaomi Mi 4C] slayer 666:
I can report that I had no problems updating via built in updater.
[Xiaomi Mi 4C] Chinezu78:
i make the update without updater app, without any wipe and everything is ok. I use twrp 3.0.2 from TS. I hope the battery life will be better for my phone after this update :)
[Xiaomi Mi 4C] slayer 666:
I use same version TWRP, perhaps it matters here.
[Xiaomi Mi 4C] PeterMarkoff:
then it comes down to TWRP, I am using 3.1.0.2-L from AndropaX here:

https://xdaforums.com/mi-4c/development/libra-twrp-3-0-t3315059

probably will downgrade to 3.0.2 TS, but anyway next time flashing manually
[Xiaomi Mi 4C] MacGyver17:
So, just dirty flash is more secure ?
[Xiaomi Mi 4C] kickthefreak:
Use TWRP 3.0.2.0 and it will progress updating

---------- Post added at 01:23 AM ---------- Previous post was at 01:22 AM ----------

Yes, me too, downgrading twrp, when reboot to twrp it will progress updating automatically.
[Xiaomi Mi 4C] flow2fly:
This is not fully correct.

The working command is:

adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/misc count=1 bs=32
[Xiaomi Mi 4C] verntechguy:
I can't seem to finish the download via updater so downloaded it manually on my pc and dirty flash and everything works fine.
[Xiaomi Mi 4C] Cozzmy13:
The issue is that AndropaX didn't add the misc partition to the fstab. I told him the fix and he'll probably fix it. Wait for his next release!
[Xiaomi Mi 4C] PeterMarkoff:
it's correct, i provided steps for Terminal in TWRP as i clearly posted, not terminal on PC which require additional command
[Xiaomi Mi 4C] wRAR_:
No, there is a difference between "if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/misc" and "if=/dev/block/platform/soc.0/f9824900.sdhci/by-name/misc"
[Xiaomi Mi 4C] VictorLapin:
If you're looking at it right after the flash, it's normal. Wait until the device is cooled down, big cluster should go online
[Xiaomi Mi 4C] wRAR_:
I've tried several TWRP versions including TS and AndropaX and neither flashed the update initiated by the updater, they just boot into the initial TWRP menu screen.
[Xiaomi Mi 4C] rusalibaba:
Hi Cozzmy13, and thanks for the great ROM! Just wondering if you could take a look at JustArchi's optimizations ? It would be great if someone will adopt these optimizations for our device.
[Xiaomi Mi 4C] PeterMarkoff:
you are right, sorry, i copypasted and modified it different than i did actually on my phone
[Xiaomi Mi 4C] josepmaria:
I downgrade to Team Superluminal twrp. The only twrp that has clean flashed the last lineageos. All the others didn't flashed anything.

:)))))))
[Xiaomi Mi 4C] predragiPredrag:
For some reason, BIG cluster is still offline in new release, even after clean install.
[Xiaomi Mi 4C] Cozzmy13:
Is it that hard to understand that big cluster online means ****ty battery life?

Use performance profile and big cores will be always online as long as your cpu is under a certain temperature.
[Xiaomi Mi 4C] new_melody:
Hi, all!

Mi4c 2/16

OTA doesn't work and I'm trying to flash 06/14 build via TWRP (3.0.2.0 by TS) but... got an error - "updater process error 7". Flashing is possible only after factory reset (very inconvenient).

That's is strange because I'm already make clear installation of previous build.

Is it necessary to make factory reset every update or I'm doing something wrong?

Thanx in advance.
[Xiaomi Mi 4C] predragiPredrag:
It is not hard to understand, I thought that in balanced mode BIG cluster is in hutplug state. Because in earlier versions of LOS rom I could se in CPUZ when BIG cluster would go online for short period of time to offload SMALL cluster.

I will say this, that it will be practical to put on first page, small note about BIG SMALL cluster in battery profiles and ignore future messages about CPUs or battery life ;)
[Xiaomi Mi 4C] Cozzmy13:
It will hotplug in balanced as long as phone is cool.
[Xiaomi Mi 4C] Sephriot:
Any chance to N firmware? I dont want downgrade bootloader every time when i change rom from los to miui/rr.
[Xiaomi Mi 4C] muff99:
Very weird issue:

I am coming from an unofficial cm13, so I performed a facory reset.

After flashing 0614, I am always stuck at MI boot screen.

Ok, so I thought its a bootloader issue somehow ... Just to be safe I performed the "bootloader downgrade" procedure, Miui 6.1.7 loads up fine.

Checked with MiUnlock tool, all systems go, my device was and is still unlocked, device-info displays:

...

(bootloader) Device tampered: true

(bootloader) Device unlocked: true

(bootloader) Device critical unlocked: true

(bootloader) Charger screen enabled: true

(bootloader) Display panel:

OKAY [ 0.062s]

finished. total time: 0.062s

Went to intall TWRP (tried different versions, ended up with 3.1.1-1 after testing 3.0.3-1), after that wiped everything like described in first post.

Installation of 0614 (tried 0607 as well) went through, gapps 64bit as well.

But after rebooting, I am always stuck at MI Logo, "fastboot devices" sees my device. I waited more than 15 minutes (and deleted bootanimation from /system/media ..)

After trying that procedure several times (MiFlash 6.1.7, also tried 7.6.8), it seems it stops working after I flash TWRP: After flashing twrp, even 6.1.7 won't boot any more.

Also tested libra_miui_v8120_fw_patch.zip, but I am not even bootlooping ... I am stuck before.

Also testes twrp 3.0.2 from team superluminal (libra_ts_twrp_3_0_2_0.img) and from andropax (TWRP-3.1.0-2-libra-L.img), but those wont even let me enter recovery ... with the official ones like 3.1.1-1 I can enter recovery, but after flashing those, I cannot boot to 6.1.7 any more.

Any hints what I am doing wrong are greatly appreciated.
[Xiaomi Mi 4C] josepmaria:
If you have flashed 7.6.8 you are in nougat bootloader. I recommend you begin all process:

- Unlock device again.

- Flash TS twrp 3.0.2

- Flash lineageos.

Good luck.
[Xiaomi Mi 4C] Cozzmy13:
Any impressions of the new build?
[Xiaomi Mi 4C] nnexuss:
Here with the same problema...

The phone is fresh and the big cluster still stopped
[Xiaomi Mi 4C] Jesus Krist:
Every any download download speed is normal, bit when is screen off, speed is decreased many times. When i turn it in again, speed is faster. Maybe it's only my feeling

Odesláno z mého Mi-4c pomocí Tapatalk
[Xiaomi Mi 4C] muff99:
Hey,

Thanks for the feedback, I still flashed 6.1.7 afterwards using MiFlash(must have been like 5 times ...), following the first post exactly. Perhaps flashing 6.1.7 after 7.6.8 is not a valid downgrade path any more? I checked with fastboot device-info my bootloader status multiple times.

I spend almost the entire last night trying to figure this out, in the end I just flashed the nougat firmware zip from andropax, unlocked the bootloader again using the miunlock tool, and installed RR from twrp 3.1.1-1. Not too happy with RR, there is too much stuff in there and comes with e.g. magisk, but I am just happy that its working again and I got the june security patches.

Anyway, my case seems to be a strange one since all of you got it working, me and my device must have met some unlucky combination of bootloader, twrp and stupidity on my side :) I will try again in the future.

Thnx
[Xiaomi Mi 4C] lslowmotion:
It's all okay. No problem whatsoever.

I can't understand those who said something about big cluster problem. It's just a monitoring software problem which can't quite good at detecting the big cluster's hotplug. It works as intended afaik. Just test it using benchmarking software (e.g. HWBOT prime) and all the power profiles do the job perfectly on the big cluster behavior.

For the GPU, is it possible or even feasible to add Vulkan support?
[Xiaomi Mi 4C] josepmaria:
I know it's not relevant but i get 65000 in antutu from 78000, but it's working good.
[Xiaomi Mi 4C] bnesic:
Maybe the last build of OFF LOS is the best non MIUI rom that works outstanding. I keep all animation to 0.5, and everything works smooth and fast. There is no problems at all. This build is a keeper for me. Just one thing, minor stuff.. I think that TS LOS have a little better sound thru speaker. Just that. The actual build is so clean. Keep up the fantastic job cozzmy!
[Xiaomi Mi 4C] Cozzmy13:
It's already there.
[Xiaomi Mi 4C] nnexuss:
Here....
[Xiaomi Mi 4C] Chinezu78:
i confirm that, the same here

---------- Post added at 02:58 PM ---------- Previous post was at 02:53 PM ----------

Everything ok, with last build.

For me the battery life something like 2.30h sot and 1.30h of gsm talking in 24 h. I don't not if is good, i have greenify too.
[Xiaomi Mi 4C] militantmind:
Random freezing when playing games
[Xiaomi Mi 4C] nunogilberto:
it works flawlessly... and i think the battery life is much better than the first official build...
[Xiaomi Mi 4C] IcyGlacial:
any chance to get maple i/o scheduler ?
[Xiaomi Mi 4C] Cozzmy13:
0% chance.
[Xiaomi Mi 4C] BlackXhorneT:
Small bug report for Aqua,

On LOS update you get stuck in a TWRP loop, any way to kick it out? I'm about to try manually editing the assert and manually updating. In case that doesn't work any feedback would be appreciated :).

Thanks
[Xiaomi Mi 4C] Cozzmy13:
Check the past pages, you need to wipe the misc partition.
[Xiaomi Mi 4C] BlackXhorneT:
I tried wiping them all (except external SD) with no luck at all. Had to reflash from stock :(
[Xiaomi Mi 4C] Cozzmy13:
By wipe I mean you need to do a dd command in the recovery's terminal. The command was posted a few pages ago. And the issue is recovery-related, not ROM.