yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] otonieru:
U can actually get a grasp of wjat happen by reading few pages back, haha

Basically, for every each features n function of the device to work properly on custom rom, we gonna need kernel sources,

Not to mention the prospect of having an extra feature like OC, UC, KCAL control, better I/O, etc,

All will be possible when kernel sources is avail,

Thus everyone was excited whenxiaomi announced the release of the sources,

But, turn out xiaomi decide to release the source of an old code which supposed to used together with older MIUI 7 FW & bootloader,

thus can't boot/used directly or seamlessly on newer firmware of MIUI 8 or Cust ROM (like CM13 here)

This fact is not neccessarily mean that we will never have a cust kernel avail, but mean the development will stall slightly,

But i trust all of devs here, who work hard to make things happen,

So, lets pray, and donate!! =D
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bezerk:
Just a random guy passing by...watching you guys fight over original codes in this post... im owning a Le Eco Le 2 with no source codes and no unofficial cyanogenmod.... :'( ITS SAD
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Kulwinder Singh:
feels for u bro :p
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] baldomo:
You could try and improvise a CM port for that device; it will take some time and effort but it's not very difficult to do. Use the CM porting wiki (https://wiki.cyanogenmod.org/w/Doc:_porting_intro) for reference.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bezerk:
Thanks for the guide sir.. but the problem is i don't have any developer knowledge.. I'm willing to learn so this might be of very much help to me!! :D
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] baldomo:
You're welcome my friend :)

Don't forget to check general Linux guides as well.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andrea210701:
try getting a device tree from a similiar phone and compiling a cm13 using prebuilt kernel,that's what xiaomi redmi note 2 devs have done till now(but prebuilt kernel isn't good to get another android version so a russian dev is building kernel source from scratch,and that's some big work! ;) )
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Guys, could you please stop with off-topic or should I close the thread?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] iXanza:
I've been reporting these posts in hopes a moderator will clean this thread.

Anyways. Is there anything that can be done regarding the low volume of this device? MTK phones can increase the volume through the mtk tweak tool but for this device I'm not able to find a way
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Bezerk:
Apologies

Sorry for off topic posts!! Feel free to delete the posts..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shade.sh:
Weekly build delayed due build server change.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Slagathor:
Is it possible tot get a changelog in English? I do not understand the one in the Gerrit because I am a noob. Maybe somebody other than Shade or Bruno can provide/translate it!?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shade.sh:
Ha? The Changelog is in english... I can't remember that i changed it to Swahili...

Just tap on the new build name in the CMUpdater and a changelog will tell you the path to prosperity :D
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Slagathor:
Ah allright. I was used to reading the technical stuff at the gerrity place. Thanks.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
So, let's call it an early beta. This is for anyone that wants to try out CM with source built kernel, start digging and finding any bugs (just don't report the already known issues noted down on the first post).

I can say that it already contains some goodies that were only possible with the kernel sources, such as full control over LEDs (pulse length and speed and brightness control) and vibration intensity control.

Last but not least... a huge thanks to [MENTION=1701910]deovferreira[/MENTION] for all his help with the kernel bring-up. :highfive:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
[MENTION=455439]bgcngm[/MENTION] although I use the Mi5 Pro I can't use any maximum freqs over 1593 MHz. I can't say whether the limitations exist for GPU and RAM.

Otherwise it's quite stable and everything I tried works perfectly. Thanks! This is worth quite a few beers!

Can you give us the exact sources used for the build? I noticed it was a -dirty build, so I won't find it in any git.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Sir i have a bug on the early beta, headset isnt working also dtw cant too

---------- Post added at 03:20 AM ---------- Previous post was at 03:17 AM ----------

Fingerprint while screen off is great thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kazprotos:
Awesome! Now waiting for capacitive home when ever screen is on
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Parisaurus:
No problems with the installation from the last CM. Headset not working, and notification led goes on and off every second while the phone is charging (never seen, dunno if its a bug or intentional hehe). but atm all the other things work fine.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Igor2142:
Hm, guys, led just light yellow when phone is charging. And I don't have sound and in headphones. I have flashed it with full wipe after the last cm (from 22 September).

P.s. network is much better.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Is it enough to do a wipe dalvik/caché for installing this beta? Or should I wipe everything that is in the first post? Thank you!

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Flashlight seem not working too

EDITED : flashlight working normal idk why before
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
I can confirm the headset thing.

Edit: clean install.

[MENTION=455439]bgcngm[/MENTION] I don't know if it is useful, but here's the logcat while playing music with headset plugged in.

pastebin.com/6AARLLja
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kmzway000:
Its nice to see you keep supporting CM for Mi5 . Thanks [MENTION=455439]bgcngm[/MENTION] .
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] saibz:
Cool update! Thank you for continued support.

Just a question, will there still be a "usebuild" build that lets us use apps that don't normally work with CM?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] SavageDamage:
Xiaomi has released the Kernel sources for Mi5, which means better ROMs with less broken things and maybe even Official CM support as far as I understand.

[MENTION=455439]bgcngm[/MENTION] I know you said "Everything other than the broken stuff is working" but does everything include Encryption? And is this a "user" build without root?

Thanks for your work.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] cris7i:
~ignore this~
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] shade.sh:
Yes. I'll definitely maintain the userbuild until official CM is released, because i also use it for known reasons.

The OTA (For both) will also continue until CM get's official and maybe furthermore, if nobody creates userbuilds.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] saibz:
That's good to know, thanks again!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
7EY76170YP021564Y. That's a beginning. And that's a real way to say thank you. [MENTION=455439]bgcngm[/MENTION]
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] xpdev:
????????

Inviato dal mio MI 5 utilizzando Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Donation.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] alimmm78:
[ROM][UNOFFICIAL] CyanogenMod 13.0 for the Xiaomi Mi 5

Thank you

Does soft touch on capacitive key ? I read didnt work on older cm13.

Is it solved with releasing kernel source?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] sydeu:
It doesn't work yet but eventually it will in the future.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] gxg:
Guys.. sources are online for 24-40h now... it's premature to ask questions if THAT OR OTHER ...THAT was solved. Give Devs time to implement the new things, and don't stop breathing wile you wait. :)

Kudos to all who made things posible!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Kulwinder Singh:
sorry for dumb question but is this rom built from yesterday's source released by Xiaomi or based on prebuilt kernel.and thank you [MENTION=455439]bgcngm[/MENTION] and mi5devs team for supporting our device :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Yes, that's a dumb question. The dev has a life outside here, he will tell us when he well work with kernel source. Until then, it's just annoying to keep making these questions.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Kulwinder Singh:
so great words by you...ahmmm.but you still didn't answer my question

p.s:-i was not asking for any ETA
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
I answered. If the dev didn't tell us he is working on kernel sources, there is nothing new. And by the way, the last build is from two days ago, how can it be based on kernel sources..

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Kulwinder Singh:
THANK YOU.i was just confused because the developer has linked the kernel source as xiaomi's official one in the OP.will be waiting for the future builds :o
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
I have already clarified why the link to the kernel source is published in this thread: to follow GPL compliance, per XDA rules. So far, builds are still shipping with prebuilt kernel. You'll all know once there are news.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] brambizimski:
Is there a reason why the "Weekly builds" is linking to a closed thread ?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Weren't you following CM development for Mi 5? The download link redirects to [MENTION=7476656]shade.sh[/MENTION]'s thread. You can get the build from his server.

From first post:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] jonatutu:
i suggest clean install. Unable to go into deep sleep when i first try dirty flash with dalvik/cache wipe twice at least for me there.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Ok nice! Thank you. But I think I will wait a bit because of that headphone bug. Let's see if it's solved just with a simple reboot or something like that.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
It is okay to disable 1 or 2 core?? Does it make change on the battery life?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
Do you want your phone to be a double core? xd

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
After I rebooted my mi5, signal is gone. APN settings too. I can't add them either. IMEI is ok. I already tried wiping dalvik+cache, toggling airplane mode, rebooting..

I'll try to dirty flash again the ROM, hope it will fix this.

EDIT: it fixed it, indeed. APNs are here again.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] razibrizal:
Yeah if it safe to disable 1 or 2 core and make any change on battery life i'll try it
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Had a sudden reboot while browsing Privacy Guard settings.

Here's last_kmsg.

http://pastebin.com/TcM9LUBu

After that, no signal again.

EDIT: I rebooted again, signal is back.

EDIT2: [MENTION=455439]bgcngm[/MENTION] I think that there's a problem with Privacy Guard. I had a crash while trying to open Privacy setting for an app (log: http://pastebin.com/p0mesDPK), and another sudden reboot just like before while trying to open Privacy setting for another app.

EDIT3: they already mentioned it, dt2w is not working.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
New fresh build uploaded. DT2W working and no issue with Privacy Guard settings (it was probably a generic CM issue).
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tiflao:
Wow , thanks

Clean update is necessary?

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
just system cache and dalvik should be enough i suppose
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
It shouldn't be.

sent from my Mi5

---------- Post added at 07:08 PM ---------- Previous post was at 06:47 PM ----------

Yes, those things seems fixed. News about the headphones issue?

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Jogor:
I tried the first rom, feels stable, but I got really low score in Antutu (95k instead of 125k).

Can anyone else try and see if they also get lower?

Still awsome work, I will flash it again then headset is confirmed working.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Antutu scores it's not a problem.

Is your phone slower than before? Does it stutter? Can you use the same apps as before (I'm talking about performances)?

If something like this happens OK, there might be a problem, but if it doesn't, then don't worry about a number.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Jogor:
Im not worried about the number, but still worth mentioning.

It was the headset issue that made me go back to old CM.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
Again I was unsuccessful with finding the commit of the kernel source of this build, although this time it's probably everything in gerrit one or the other way. Still I would prefer a tar or something with the very commit used.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Working on it.

Well said! :good: If I ever got worried about a stupid benchmark, I would stop development right away.

But guess what, I just got 130k score in AnTuTu. Does that really matter? :eek:

Everything will be on CM gerrit from now on. Sorry, but I can't afford spending time with those minor things.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
dear OP, sorry for asking, but everyone here (and me also :p ) is willing for capacitive home button. not asking any eta of course, but can you just tell us maybe if with the sources you think you guys can really get it to work on cm sooner or later? or maybe you noticed already it won't work?

other thing, you said to boot new kernel old fw/bl were needed. but i see your latest beta build can be flashed without downgrading miui fw first.. so was it a old info and now new kernel can boot also with latest miui fw, or maybe the needed parts from old fw are included in the builds?

very last thing, i know you work for cm, but do you know if a pure aosp rom can be done? by you or others... or it would be maybe too complicated/too much extra work needed?

thanks a lot in advance and in any case as always, we really appreciate your work :good:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] schjor:
When talking with someone over speaker the other side mostly hear themselves (big echo is present)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
[MENTION=455439]bgcngm[/MENTION] did you notice strange Wi-Fi behaviour while the phone is asleep? Every time I unlock it, I notice it lost WiFi connection and it reconnects a few seconds after being unlocked. (WiFi setting is obviously on "always active")

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
I understand the problem. Sorry for insisting on such "minor things", but this is a GPL violation (read further) and I could not simply accept it. As long what you say ("Everything will be on CM gerrit from now on") is true I'm willing to ignore those "minor thigns". It's just that these are my rights the GPL gives me as a user and I like to claim my rights.

*Anyways, thanks for the work, I will continue to tinker on the device tree (probably without success...) to get AOSP ROMs (mainly Omni) running. You will probably see a donation by me.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Imho he has a lot of work to do now (for FREE), and he has to focus on what's more important.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
So it's OK that Xiaomi did not release up-to-date kernel sources, because *they have to focus on what's more important*? It's not that much extra work to maintain a fork of the kernel repo with the changes he does.

Don't get me wrong. I'm very thankful and ready to donate money to him for the work he does.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
You can't compare Xiaomi and [MENTION=455439]bgcngm[/MENTION].

I was using CM before the new beta and it was wonderful, switched back to PAC-ROM but I will go for CM after all the fixes!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Harrynowl:
I think by minor things he meant your request for tars of the commit. Not keeping the source up to date and published in the commit.

Let's try and keep it on-topic :)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
I don't think this is off-topic, as it deals with the released zips by the OP in this thread.

Quote from http://www.xda-developers.com/xda-developers-and-the-gpl/ :
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
Then fix the kernel yourself, if you don't want to wait. Maybe he has more important things to do? I just can't understand your point. Ok, it's GPL etc, but he didn't say he won't release source.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Do you want to go forward with this? If so, report my thread to a XDA admin. I know I am compliant with GPL because the source is all in CM repos and gerrit. Just don't forget to report the rest of the threads here in this subforum, because those are the ones you should be chasing.

You are just being picky and showing no respect for the work I have done so far, for free.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] xpdev:
[MENTION=455439]bgcngm[/MENTION]

Don't care about them.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
I can't leave this one uncommented. I have great respect of the work you have done, but for GPL-compliance it does not matter if you do it for free or how much respect I show.

I just know that the CyanogenMod repos including what you and other people have put on gerrit don't provide enough source to get a working build. I know that because I tried it.

---------- Post added at 01:16 PM ---------- Previous post was at 12:55 PM ----------

I managed to get a boot.img out of the released sources. I'm sorry for the false allegations.

The link I searched for (the kernel tree used for the latest build): https://github.com/CyanogenMod/andr...tree/42a3ad8881ad149a649989b666e143b342a33b1f

Still the full build fails (not because of my setup, it worked for the Mi5Devs device tree!).

I know the other threads are violating the GPL, but they don't have the source code they would have to release, so I can't reach anything positive there.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Lets end this now please. You are either with me or against me. It makes no sense what you are doing here. The source code is public, is buildable, so there is no GPL infraction here.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
forget those and keep going! i surely will donate you aftet i get my mi5 and CM13 installed.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Slagathor:
This ends now. [MENTION=6135816]PetaByteBoy[/MENTION], it is clear you want to address the dev personally so use PM. You are showing no signs of great respect (or are you using PM for that?) and you are using the forum wrong. Look up those conditions while you are at it looking for GPL quotes. You have a point but again, use PM first. THAT is showing respect instead of cluttering the forum.

Dev is right, you are being picky and acting in self interest only. That is not what XDA is about.

Admin, please clean this thread.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nikoum:
@ Slagathor

i fully agree with your comments, this kind of behavior is extremely unusual in xda forum and it is very clear that the guy is getting personal and acting in self interest only. I second your request for admin to clear this thread from such insults.

[MENTION=6135816]PetaByteBoy[/MENTION]

I do not know what ate your reasons for attacking and provoking the DEV in such an insulting manner when all he is trying to do is

give to all of us

a final product

for free

. I am just thinking that maybe you do not want this project to finalize, for your own reasons. If you had complaints from the dev you should have addressed him personally and not publicly, for just a small delay, which i personally (but i believe most of the followers of this thread) consider "super minor thing" We all, in this thread, wait for the good work of the dev and all of a sudden you come along and mesh things up, with your meaningful accusations and more important you put a burden on the dev, who is not obliged to provide us all his good work and assistance to all of us.

So i would really appreciate your apologies to the dev and if you want to comment in this thread please do it in a constructive way.

@ all members followers of this thread

Please express your selves in support of the dev and do not let this go by
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Well, now let's end this here. There's no need of other posts about this thing.

And there's no need to encourage hate or such, everyone can make mistakes.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] PetaByteBoy:
I can only repeat. I'm sorry for the false allegations. I'm on the side of [MENTION=455439]bgcngm[/MENTION] now. I do not see where I was "attacking and provoking the DEV in such an insulting manner", but if I did, I say sorry again.

If this was a GPL violation, my behaivour would have been right, but it isn't, so it was a mistake and I get it. Also, I should've contacted the developer via PN first.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nikoum:
when charging the phone the yellow led light keeps on blinking constantly. Is this normal and if yes, is there any way to disable the blinking
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
I disabled the led charging. I don't think you could make it static.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nikoum:
You mean you disabled the battery light? But this way you do not see the full charge and low battery led as well when screen is off, am i correct ?

Anyway it is not really important
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] contradriver:
That's right. But I prefer it like that because everytime I see that yellow light blink I think it's a notification.

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] tiflao:
Yes , because your phone is charging by quick charge

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] nikoum:
Ok thanks, but can it be turned to static?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
I suppose you can't do that with phone settings itself, but maybe try external apps?