yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 2] oile:
Clean Flashed, during first wizard wifi didn't turn on, cellular data was saying H+ but once the setup wizard finishes, cellular can't connect, or connect but with a !, so no cell data. Didn't manage to get logs because I didn't imagine to be cut out the net totally.
[Xiaomi Mi 2] linuxxxx:
Thanks, I gave a look at logs and I found out wlan is detected but it fails initializating it, so no internet for u :(, U said u've found a 5.1 ROM using m11kkaa stuffs (as I did), are that ROM sources's available somewhere?
[Xiaomi Mi 2] oile:
The sudamod. It was said to be based on Micha but I've tested it and it is Ivan kernel. I don't think they have done some work on source, it is a nice rom but nothing more than that.

Glad that you are building new roms :)
[Xiaomi Mi 2] brui:
Any ideas how to roll back to previous CM12 mika version without wiping my data? I am always stuck in boot after flashing back to CM12.
[Xiaomi Mi 2] rober788:
Anybody tried the latest build from linuxxx ?

Is usable?
[Xiaomi Mi 2] zipalign:
I can confirm wifi and data cellular signal are not working.
[Xiaomi Mi 2] cogano:
I did the same now on CM11 and it did resolve the problem with the infamous "no audio during calls", however the energy consumption went up (Media Server taking 50 %). For the time being I flashed back the older NON-HLOS.bin and disabled Checkin Service and Receivers again.

I may try later again with a full wipe and even CM12.

PS. Sorry for off topic here, though I assume the trouble with the bug is the same on CM12 and seems to be caused by the vendor blobs (firmware).
[Xiaomi Mi 2] graw2:
Here is the CM12.1 based on Android 5.1.1 for Mi2/S :http://www.miui.com/thread-2559235-1-1.html

Only works with not merged partitions!
[Xiaomi Mi 2] toncekofficial:
And version for merged partitions?
[Xiaomi Mi 2] graw2:
Not yet available.
[Xiaomi Mi 2] rober788:
is working everything?

i can`t download, dont understand a thing there.
[Xiaomi Mi 2] spaxon:
Download it from here:

http://xiaomi.eu/community/threads/rom-ivans-aosp-lollipop-5-1.27413/page-22#post-246797
[Xiaomi Mi 2] graw2:
What you have posted is stock AOSP 5.1.1 ROM by Ivan, what I have posted is CyanogenMod 12.1. So It is completely different!

---------- Post added at 11:28 AM ---------- Previous post was at 11:25 AM ----------

Working fine!

Below known CM12.1 issues has been fixed on yesterday:

1) synchronization latest CyanogenMod 12.1 source.

2) modify the source code recompilation hope telecom version of the oil to test telecommunications card can not be used, thank you.

3) repair settings FC.

4) fix the alarm.
[Xiaomi Mi 2] mischler:
USSD-Codes are still only Chinese?
[Xiaomi Mi 2] spaxon:
Please read careful that post (not thread)... [MENTION=3413850]

[MENTION=3413850]mischler[/MENTION][/MENTION] yes unfortunately, ussd codes are again in chinese...
[Xiaomi Mi 2] graw2:
Unfortunately USSD cannot be translated because it is contained in Lollipop database. Same USSD issue with Ivan 5.1.1 ROM, MIUIv6-5.0 and CM12.1 too. It is common Lollipop issue.
[Xiaomi Mi 2] enyx.es:
Ill add this is not others devs roms, this is for m1chas rom. You can post a talk thread for sudamod or other cm roms in general section so we can keep it clean. [emoji5]
[Xiaomi Mi 2] No-New-Phone:
Although I agree with you in general, we haven't seen the cook in his kitchen for a while. And although I agree that it is important to have a private life, the original pizza is getting cold, the last Italian pizza needs to get back into the oven, and the other roms seem to be more McDonald's then fine German Italian Michelin star food we are used to get.

Ivans 12.1 to me seems like Pizza Hut, ketchup included. If I'm getting to hungry, I might taste it. But I would love to see my old cm 11 maintainers getting of their girls (or boys or whatever they long for). And instead of eta, I thought a coffee might help. So I got one for [MENTION=3530648]m11kkaa[/MENTION].

69Y049919U8186118

[MENTION=5451053]linuxxxx[/MENTION], you should add a PayPal account to your xda profile.

And no, I would welcome some sort of status messages to see the cook is back, the oven is hot, and the super bratwurst pizza is on it's way.
[Xiaomi Mi 2] m11kkaa:
[MENTION=3501710]No-New-Phone[/MENTION] thx for the donation :) I'm still actively working on cm12.1. I'm improving Ivan's sources to make them ready for usage in cm12. furthermore I want create generic sources that can be used with any ROM(CM, AOSP, OMNI,...).
[Xiaomi Mi 2] linuxxxx:
Thanks but I dont, want any donation, and just to let u know, I'm always working on cm12.1

but not always on mi2 [emoji14] I have nexus 7 (2012 WiFi + wifi-3g) to maintain and play with cm apps ui. I do this all just for fun cuz ia really cool.

ATM I would suggest u just wait for m11kkaa work on cm with new cool Ivan's stuffs. If I have some time then I'll give a look at wlan on cm12.1 with the old stuffs :)
[Xiaomi Mi 2] oile:
One fact is sure: we love Pizza more than Ninja Turtles used to xD

These are my logs waking up after wifi break during deep sleep. Latest Ivan cm12.1 build, in case anyone needs them :)
[Xiaomi Mi 2] Fortinho:
Thank you, that's music for our ears. I'm so curious to see your work with new sources.

Mi2/S still rocks as hell, gentlemen!
[Xiaomi Mi 2] graw2:
Mokee 5.1.1. by love_dcp version has just been released: http://www.miui.com/thread-2566066-1-1.html

Works on merged partitions, USSD still chinese, alarm doesn't work if the phone switched off or if the phone in airplane mode

Getting more Lollipop based ROM out for Mi2S.... but I am looking forward to the release of CM12.1 by Micha as well ;)
[Xiaomi Mi 2] mikegiord:
I know you're really busy but could you update us on your progresses? I'd follow your project step-by-step because you are simply the best for our Mi2S!
[Xiaomi Mi 2] m11kkaa:
https://docs.google.com/spreadsheets/d/1fKkz63vK0O2XbSKxvhvvJSpZRcK2KKWBExEhBFFXFd4/edit?usp=sharing

you can enable email notifications in Tools->Notification rules...

you can add comments too.
[Xiaomi Mi 2] rober788:
there is a lot of work ...
[Xiaomi Mi 2] gonewild87:
...and summer is coming
[Xiaomi Mi 2] zipalign:
and then, winter will be coming XD
[Xiaomi Mi 2] RadarNyan:
Glad to hear that you're working with Ivan, I hope this will lead to the ultimate rom for aries :D

But there's something I really really need to say:

Just flashed Ivan's AOSP 5.1.1 today, everything feels fine until I installed a rhythm game that I've been playing - the touch feels "delayed". It's not easy to describe this very well, all I can say is it feels "sticky" - and CPU freq settings has nothing to do with this (I tried to lock them to 1.7G and use PERFORMANCE gov, nothing changed)

I have experienced the same thing before

on Ivan's KitKat ROMs, which is the main reason I went for CM11 instead of regular AOSP (I prefer AOSP better since there will be compatible issues with CM and some Xposed modules) and with both your original CM11 kernel and Khaon's kernel, I did not experience this problem.

So the problem is - since now you're working with Ivan's kernel (PS: I have no idea if this issue is caused by the kernel since there was no compatible kernel to flash on Ivan's ROMs), will this "sticky touch" experience present on future CM12.1 release too?
[Xiaomi Mi 2] rober788:
a few more things and we will have CM12.1 :)

Good jobs M1cha!
[Xiaomi Mi 2] Goranius:
You are incredible!

How fantastic work are you doing!

Thank you and waiting for testing
[Xiaomi Mi 2] graw2:
Hi Micha,

Will your CM12.1 build official or unofficial? Thx a lot!
[Xiaomi Mi 2] m11kkaa:
official - as usual :)

I like CM's strict rules and code requirements.
[Xiaomi Mi 2] graw2:
Thx! Nice to hear that! I can't wait to test your build! ;)

>> Sent from my Mi2S [MIUIv6-L] using Tapatalk <<
[Xiaomi Mi 2] spaxon:
[MENTION=3530648]m11kkaa[/MENTION] I have a question about double-tap to wake and sweep to wake the screen.

Do you maybe have a plan to integrate this option in your CM12.1 like on last version of MoKee rom?

http://www.miui.com/thread-2597337-1-1.html

I think it is a very useful feature for me and a lot of people out there.

Thx!
[Xiaomi Mi 2] m11kkaa:
CM is strictly against the software implementation of such features because it causes battery drains.
[Xiaomi Mi 2] acastrocab:
And maybe in another rom based on the official cm12 but with some mods?;)
[Xiaomi Mi 2] m11kkaa:
I'll leave that up to other people because I neither have the time nor the traffic to manually update and maintain another ROM.

There still is the G4A project which I'll have to continue once CM12.1 is stable and official :)
[Xiaomi Mi 2] Goranius:
Great work i dont want to wait more hehehe

Thanks a lot

Enviado desde mi MI 2S mediante Tapatalk
[Xiaomi Mi 2] graw2:
Hi Micha,

would be nice to see the dt2w (anywhere on the screen) and dt2s (on the home button) features in your built. I have just tested the Mokee 5.1.1 20150604 release and I was surprised this features are present and work well in this ROM. This options can be disabled/enabled from menu settings so these are optional for users. Do you have any plan to integrate it in your build?

Thx a lot!
[Xiaomi Mi 2] MSephiroth:
No... at least not in official build
[Xiaomi Mi 2] graw2:
Yeah I agree may it has some negative effect to buttery consumption but if it is optional by the user (enable or disable this feature from menu setting) it would not be any problem. Or at least double tap 2 wake/sleep on the home button also would be useful.
[Xiaomi Mi 2] No-New-Phone:
Yes! I want it buttery! [emoji12]

But sorry that I don't get the point in this request. Nothing personal, but I'm just curious: where is the advantage when you tap on the top of the phone instead on the side of it? Where's the benefit?
[Xiaomi Mi 2] graw2:
Nothing personal, just open your mind and you will get the answer... ;)
[Xiaomi Mi 2] ErnieTSI:
The use e.g. is to relieve the power button, which is extremely used in my case and meanwhile feels like a old chewing gum...

Gesendet von meinem MI 2S mit Tapatalk
[Xiaomi Mi 2] m11kkaa:
soft buttons = touchscreen. it has the same affect on the battery as swipe2wake.

Not saying that I'll never again work on these features but atm it's not that important.
[Xiaomi Mi 2] UserC:
Hey [MENTION=3530648]m11kkaa[/MENTION],

First and foremost, thanks a lot for all the hard work you're putting into this device!

Second, I'm just interested to know if my device won't have any problems with CM12, specifically with the touchscreen. I'm the one with the Synaptics touchscreen if you remember.

Thanks!
[Xiaomi Mi 2] m11kkaa:
hi :)

your touchscreen should be supported by all official and unofficial ROM's by now :)
[Xiaomi Mi 2] m11kkaa:
here's a test build for you guys:

based on Ivan's new sources with ton's of improvements (from our old mako base and new ones)

- selinux permissive!

- legacy audio HAL(maybe we'll stay with it because even CM support is better, and Ivan fixed the GNow bug)

- no hw tunables(navigationbar, color calibration, ...)

- new kernel base: CAF(LA.AF.1.1_rb1.18) + 3.4.107(upstream) + android-3.4(kernel/common)

- support for merged partitions(actually it's vise versa, the old partition layout uses a kernel hack to work properly).

http://d-h.st/users/M1cha/?fld_id=45748#files
[Xiaomi Mi 2] netweaver2009:
Thanks! Is there support for f2fs partitions?
[Xiaomi Mi 2] No-New-Phone:
Great news. [MENTION=3530648]m11kkaa[/MENTION], maybe you can open a new thread for that build. It has new sources and it's a 12.1 build. There are other rom threads with various builds under one topic, and I find it extremely uncomfortable to follow them, as everyone has to tell which version he or she is referring to.
[Xiaomi Mi 2] acastrocab:
whats the difference between the khaon build and m1cha related to the xposed framework??With khaon rom i had xposed (with gel settings only) without any problems...
[Xiaomi Mi 2] linuxxxx:
M1cha's one is smarter

Sent from my A0001
[Xiaomi Mi 2] oile:
New 02 17 build?
[Xiaomi Mi 2] m11kkaa:
In a few hours, yes :)
[Xiaomi Mi 2] acastrocab:
i know it m1cha is smoother with device related improvemennts and enhanced device tree and it has less bugs but the they are based in the same cyanogenmod code but if xposed works in a rom it should work in the others that are based in almost the same code .....

After 4 years playing with android i remain a noob:o
[Xiaomi Mi 2] swatch50985:
The ROM is very good enough for daily use But the battery drain too fast.

I want to ask for a function how to turn on the hardware buttons vibration
[Xiaomi Mi 2] m11kkaa:
I uploaded a new build, see OP for details. The key vibration issue is not fixed yet but will be in the next build.
[Xiaomi Mi 2] Alecsandru90:
how about f2fs support?
[Xiaomi Mi 2] linuxxxx:
Read this http://xdaforums.com/showthread.php?p=58904564 (do not care about the part on different f2fs kernels), convert steps are the same, you just have to do that in sdcard too

Sent from my A0001
[Xiaomi Mi 2] Alecsandru90:
CM12 formats system to ext4 disregarding partition type/kernel support

in cm11 could be fixed ROM-side , in cm12 no ideas because of the new packaging.

/cache & /data are already f2fs , the /system is ext4 , i know it should be slower than ext4 , but our mi2s feels a lot smoother with /system as f2fs (at least on cm11 ).
[Xiaomi Mi 2] m11kkaa:
You can't use f2fs with /system on Lollipop because on each update the whole filesystem is reflashed. There are no file based installs anymore.
[Xiaomi Mi 2] Alecsandru90:
how about detecting partition type and formatting acording?

can that be done?
[Xiaomi Mi 2] Khaon:
Now you flash an image so you end up with this image's file system. Eventually if you want I will build time o time a f2fs system image.

----------------

I opened a bug report no idea if their system is efficient and makes this more noticeable. No one has ever opened a bug report nor I did fill one before :D
[Xiaomi Mi 2] fooby_sjz:
Hello, I flash the 0216and xposed they are very well,but I update to 0217 and then flash xposed.zip ,it cannot boot ...how can I do ?
[Xiaomi Mi 2] rober788:
In the last build there was a problem with mic and headset, but fixed after restart.
[Xiaomi Mi 2] Alecsandru90:
kinda sucks a ROM for each fs , in kit-kat that worked flawless , evolving or not?

btw m1cha's first cm12 used same packaging as cm11(zip one , no image flashing , why new builds can't be packaged in the same way?)
[Xiaomi Mi 2] vivekb:
ISSUE

I am on 17 / 02 build and facing one problem ... while getting some call mobile speaker goes mute and after restart work smoothly ... any solution because restart is not only solution I restarted my mobile 5 - 6 time from morning
[Xiaomi Mi 2] m11kkaa:
It is but it's deprecated - blame Google.
[Xiaomi Mi 2] erlgrey:
Is in-call sound working without having to disable google play services? :)
[Xiaomi Mi 2] m11kkaa:
20140218:

[changed] set SELinux to Enforcing mode

[changed] disable flashing FMRadio FW

[fixed] Haptic Feedback for touch keys

[changed] disable ACDBLoader as an attempt to fix random call bugs

[fixed] attempt to fix Atmel touchscreen driver crash
[Xiaomi Mi 2] m11kkaa:
this thread will just be renamed because it still is the same rom. the old code just doesn't exist anymore.
[Xiaomi Mi 2] m11kkaa:
not yet.
[Xiaomi Mi 2] UserC:
Cool, thanks! :good:
[Xiaomi Mi 2] zipalign:
thread should be renamed to 12.1 and 20150614 (:
[Xiaomi Mi 2] ibaco:
sorry m1ckaa there is no thread of G4A, why not open one thread for this fantastic project ? when you expect the output of G4A?

thank you very much for your work
[Xiaomi Mi 2] zipalign:
stuck on bootloop with latest build.

flashed through TWRP 2.8.5.0 with full wipe [came from Mokee 5.1.1].

anyone else facing this issue?
[Xiaomi Mi 2] spaxon:
I tried to flash cm12.1 on old partitions layout with CWM and TWRP, but it cannot install (there is only cm animation for 10min+ that I tried), will be there a patch for old layout?

Thx

edit: zipalign, I think micha`s cm12.1 is only for new (merged) partition layout, I hope that he will do a patch for us with old partitions...

Thx again M1cha
[Xiaomi Mi 2] m11kkaa:
in fact it supports both layouts but I have tested the rom on the old layout only because I did not upgrade yet...
[Xiaomi Mi 2] linuxxxx:
Would u mind check if ur sysselector has problems? To check just boot recovery and look for "E\ can't mount /misc" or sth similar in /tmp/recovery.log (sr has an option to display logs on screen, twrp and cwm can copy the log to the sdcard, otherwise an "adb shell cat /tmp/recovery.log" will do the trick)

Which ROM are u coming from?

Inviato dal mio A0001 utilizzando Tapatalk
[Xiaomi Mi 2] rober788:
any major bugs ... like mic bugs and others?
[Xiaomi Mi 2] infinitely:
I also seem to be stuck in the CM logo bootloop. My recovery.log shows:

E:Cannot load volume /misc!

E:Cannot load volume /misc!

I was using cm-12-20150322-UNOFFICIAL with TWRP 2.8.5.0
[Xiaomi Mi 2] m11kkaa:
this error is normal. you should check your installation log. (/tm/recovery.log) immediately after the installation.
[Xiaomi Mi 2] thienquang07:
does CM rom has problem with USSD code?
[Xiaomi Mi 2] PosolKosh:
Users in russian 4pda.ru forum reports serious bug:

During alarm set than trying to change some additional parameter, phone swithed off. Than turn it on again, it comes to lock screen and switched off again, and all the time.

So only hard reset via recovery could helps.
[Xiaomi Mi 2] spaxon:
I am coming from MoKee 4.4.4 last history version with m1cha`s partition resizing.

I will try to flash again today and post log results, but zipalign and infinitely do that above.
[Xiaomi Mi 2] infinitely:
I use the new partition layout, by the way. Sorry, it seems I can't edit my post.
[Xiaomi Mi 2] thienquang07:
I can't install gapps on the CM12.1 rom. I had try pico PA gapps and CM gapps, but failed. Does anyone has this error?

My phone is MI2S with merge partitition.
[Xiaomi Mi 2] infinitely:
Try opengaps: opengapps.github.io/opengapps

Also, what recovery do you use and which ROM did you come from, if I may ask.
[Xiaomi Mi 2] thienquang07:
open gapps is failed too :(

I'm come from AOSP 5.1.1 (v5.5.3) by Ivan with CWM recovery v6.0.5.1 chinese version
[Xiaomi Mi 2] rober788:
bootlooping .. i`ll wait for a new build.
[Xiaomi Mi 2] m11kkaa:
I'll wait for a log :P
[Xiaomi Mi 2] m11kkaa:
can you tell me the exact steps to reproduce this?
[Xiaomi Mi 2] paul89rulez:
devhost fails alot of time when i try to download the package. Maybe is this the cause of bootloops? Any mirrors?
[Xiaomi Mi 2] medlev:
1. Start Alarm clock

2. The default is 2 clock (time will not say exactly, but if I'm not mistaken 8.00 on weekdays, weekends 9). Both active.

3. Turn off the alarm clock.

4. Turn on the alarm clock.

5. The phone has ceased to respond to any action. The screen works, shows the menu alarm. Touch, the power button and volume control are not working.

6. Take out the battery for 30 seconds and plug back.

7. The firmware is loaded and comes to entering a PIN code.

8. The phone does not respond to any action. The screen works, shows a request to enter the PIN code. Touch, the power button and volume control are not working.
[Xiaomi Mi 2] hunanflyer:
DPI of appettings doesnot work

The xposed modal appsettings cannot change the DPI of any app,is it a bug?ivan's aosp does work well with appsettings.Can you repare this bug? Waiting for your good news!
[Xiaomi Mi 2] m11kkaa:
thx, I got the bug at step 1 already :P
[Xiaomi Mi 2] m11kkaa:
Xposed is in Alpha state. This is nothing a ROM could/should fix. It probably conflicts with the global DPI settings from CM.
[Xiaomi Mi 2] m11kkaa:
fixed. here's a new boot image as a quick fix(fastboot flash boot(1) boot.img):

http://d-h.st/kpqS
[Xiaomi Mi 2] paul89rulez:
i have bootloop too.. flashed with lastest twrp 2.8, and last kernel.
[Xiaomi Mi 2] hunanflyer:
Breathing light doesnot work

another bug i think is the Breathing light，which wouldnot breathing when charging.It cannot be setted in settings as well. I also tryed the GRAVITY BOX,not working too.
[Xiaomi Mi 2] zipalign:
it's not a bug.

ALL cyanogenmod ROMS have this behavior, and I find it very useful. I'll explain why:

- phone charging with battery <90% = yellow light [static]

- phone charging with battery >90% = green light [static]

- when phone is in charge and you have a static notification light you may receive a notification [SMS, whatsapp, email, etc.]. immediately your notification light starts to blink and you know you have a notification.

with MIUI ROMs your notification light blinks all the time the phone is in charge, so you may miss some notification.
[Xiaomi Mi 2] bugers:
That I think is fine and even better than in MIUI but It doesn't work for me. When battery is charging I don't see any notification light at any percentage.

Did you experience that? I have checked option to show battery light in settings: Settings -> Display and lights -> Battery light but still nothing.
[Xiaomi Mi 2] paul89rulez:
still in bootloop.. i flashed m1cha bootloader, but bootloop is still present.. my last_kmsg.log is blank, as logcat. Any help? [MENTION=3530648]m11kkaa[/MENTION]

ps: in the middle of bootloop mtp is enabled.
[Xiaomi Mi 2] infinitely:
I'm pretty sure m11kkaa is working on it, seeing that me and another user already provided the recovery.log
[Xiaomi Mi 2] m11kkaa:
this updated boot.img fixes the bootloop:

https://transfer.sh/ZIPZu/boot.img

It was a problem with the old partition layout.

The kernel uses a hack to mount the storage partition to /data/media whenever /data gets mounted and on a fresh install Android tries to upgrade to multiuser layouts by moving /data/media which is not possible when it's a mount ;)
[Xiaomi Mi 2] zipalign:
I can confirm that flashing the new boot.img fixes the bootloop.

here it is the steps I followed:

- copy to phone the main .zip file of the CM12.1 rom

- reboot to recovery [TWRP 2.8.5.0 in my case]

- flash ROM .zip

- reboot to bootloader

- connect the phone to PC

- start CMD from your adb/fastboot .exe directory

- move the new boot.img file provided by m1cha to that directory

- type this: fastboot flash boot boot.img

- make sure command responses were successful

- type this in CMD: fastboot reboot

- enjoy

---------- Post added at 04:10 AM ---------- Previous post was at 04:04 AM ----------

I can confirm that this CM12.1 build has a bug with battery indication lights.

even when they are enabled, notification lights remains shutted down.
[Xiaomi Mi 2] PosolKosh:
Confirmed. Notification lights doesn't work during charging. But it works than getting notification from applications.

Also:

1. My phone doesn't go into deep sleep at all, it always active. (I have pico GAPPS installed).

2. I've tested on both old and new parition layouts, it works fine without problem.

3. In new parition, System is only 509 mb (as in original one from XIaomi). Does M1cha's script to resize parition by downgrading system2 and get all space to system1 works with new parition? Cuz I've no space left it that parition after pico GAPPS, either GAPPS cannot upgrade itself.

4. Than setting battery mode to power save, phone becomes very slow, i cannot work with it. In last CM12 it wasn't so slow and I've always used power save to increase battery work.

5. Than changing DPI setting in OPtions - Screen, it reloads interface but nothing changed - DPI still the same (320).

6. I've tried to fastboot alarm fix bug - it says "remote partition table doesn't exist". From ADB fastboot or miflash - the same. SO I didnt install it.
[Xiaomi Mi 2] infinitely:
How is this possible? I was using your fastboot script from a while ago which installed the new partition layout (and also changed my recovery and bootloader) but installing your latest build nevertheless gave me a bootloop...
[Xiaomi Mi 2] acastrocab:
...

---------- Post added at 08:49 AM ---------- Previous post was at 08:41 AM ----------

Instead of using power save mode why you dont decrease the clock speed to 918 or something like that?you will hace better battery life and you wont hace almost lags

I had the deepsleep problem in all non-asop ROM but after a few reboots and a few days of usage it works correctly