yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 2] zipalign:
I can confirm that camera is working on freshly flashed devices.

but after some time, it suddently stops with FC.

I have tried on 2 different devices [one Mi2 and a Mi2s] with merged and unmerged partitions.

oh, and charging led is not working on your build flashed over merged partitions. it does work flawlessly on unmerged ones.

any other experiencing these issues?
[Xiaomi Mi 2] lampacz:
Working, camera ok, wifi ok, bluetooth ok, upgraded from 20150730 no factory reset, only wipe cache & dalvik; device mi2s
[Xiaomi Mi 2] No-New-Phone:
[MENTION=4831414]zipalign[/MENTION] That's quite funny, as I have merged partitions and flashed over 0730 (cache and dalvik cleared, better: cache and art) on mi2s. Charging led is working for me ?

Same with the camera.

Did you make a factory reset? As I didn't.
[Xiaomi Mi 2] zipalign:
I had to fully reset the phone, as I was changing partitions layout from unmerged to merged one.

then I installed m1cha's last build and experienced the issues with camera and led.

so I reverted back to old partition layout [I had to fully reset the phone, as before], and led is now working flawlessly.. but camera is stuck.

please note that I quoted m1cha, in the previous post, as I am using his build, not the roysten one.
[Xiaomi Mi 2] netweaver2009:
Charging led is working fine here... And camera is still / again working after install of xposed today. I'm totally confused now why/if/how long the camera will be working using this last build. Things for now are looking v good on this build, till further notice. Thanks M1cha, Ivan and build compiler(s) for giving this v nice phone a v long life
[Xiaomi Mi 2] rober788:
after first boot camera didn`t work, but after a reboot is working fine.
[Xiaomi Mi 2] No-New-Phone:
I can confirm that camera is working after reboot.
[Xiaomi Mi 2] netweaver2009:
Camera gave up again today on me. Yesterday still fine. More or less same behaviour as with latest M1cha build. 1st working fine, after few days camera can't connect anymore. Funny...
[Xiaomi Mi 2] No-New-Phone:
Using your updated m11kkaa-Rom for some time now, still happy with it. I have installed it coming from m11kkaa's 12.1 0730-Version, and cleared only cache and art/dalvik, but made no factory reset. No xposed.

Yesterday something strange happend. What's the standard wallpaper of this freshly installed ROM? I had the yellow-red-standard-lollipop installed even before on my 4.4 Kitkat-Rom, and I was surprised it still was the same on m11kkaas CM 12.1 even after resizing the system partition (to unified layout), and formatting everything.

Now what happened: unlocking my phone, it showed homescreen with black background for one second and then returned to lockscreen. I had to reboot, after the reboot I had a blue wallpaper, and I cannot even find the old red and yellow one in the selection. So I'm a bit confused. Logcat is attached (boot.txt).

Btw, battery consumption is not perfect. I left phone unattended through the night, and it lost 40% in 8 hours. As with absolutely no usage, this seems a bit to much; main culprits are play services and mobile connection, accounting for half the power (wifi was on, but as the router was offline, it was not connected). I might install betterbatterystats again to get a more detailed look. Maybe I will return to m11kkaa's rom to see if behavior changes. let's see.

Thanks for you getting involved for us! :good:
[Xiaomi Mi 2] acastrocab:
i stopped using this rom because of the battery life..now im with miui after 1 year of using non-miui rom.Now im at university and i need battery life so i'll wait until (probably ivan) release the asop 6.0 based
[Xiaomi Mi 2] _Roysten:
The unexpected wallpaper change is not something I can resolve, that must be a bug in CyanogenMod itself... Battery consumption is indeed quite bad, I can do some experiments to see if it can be improved. I'm not an Android dev by any means though, so don't get your hopes up ;)
[Xiaomi Mi 2] DaRoni:
anyone else have this bug Outgoing calls are shown as made to unknown number ?
[Xiaomi Mi 2] BaoLin:
I compiled a pac-man rom with m1cha's code, if someone would like have a try I'll upload it
[Xiaomi Mi 2] rober788:
i`m using latest mokee ... has a decent battery life, latest cm12.1 had the worstes battery life i ver seen, 2-3% every 10 minutes (for me). M will be released soon, i`m curious how is that :)
[Xiaomi Mi 2] acastrocab:
yep im also waiting for the marchmallow builds...
[Xiaomi Mi 2] Raul^:
BaoLin - I would like to try pac-man rom. I just can't download from baidu.
[Xiaomi Mi 2] BaoLin:
https://mega.nz/#!WQpU2bTJ!HIjp8DkVh2DFUohmVJTqfyvGewVU1JAvkk0R4fkNMb0
[Xiaomi Mi 2] Raul^:
Thank you very much. Installed it and it's working fine.
[Xiaomi Mi 2] Koleykus:
Are you talking about Pacman ROM?

No bugs? How is battery life?
[Xiaomi Mi 2] kh.artur:
Guys, is there anyway how to use SD Card as Internal Storage? I've tried to change the init.qcom.rc like this:

export EXTERNAL_STORAGE /storage/vsdcard
export SECONDARY_STORAGE /storage/emulated/legacy

but after reboot that changes reverts.
[Xiaomi Mi 2] Raul^:
About this Packman Rom - it works but battery life is dissapointing. I have pro elms with Internet connections - it is slow, disconnects a lot. I think I will look for another Rom.
[Xiaomi Mi 2] DaRoni:
It seems we will never wait for a stable CM
[Xiaomi Mi 2] jianggau:
RIP XIAOMI 2. [emoji2]
[Xiaomi Mi 2] infinitely:
I believe m11kkaa is still working on it :P
[Xiaomi Mi 2] gonewild87:
However I'll be always grateful to him for having a 4.4.4 almost flawless on my mi2! :)
[Xiaomi Mi 2] gonzametal:
CM12.1

It seems that the develop of this rom is stopped. It think that the main developer has lost (or broke) his phone and stop working in this ROM.

I was looking for a CM12.1 and found one in miui chinese forum.

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

It is in chinese but using translate you can understand something.

The rom is in english and chinese only.

I am using that project and works good, with some problems in camera.

The rom updates every day with cyanogenmod changes
[Xiaomi Mi 2] _JaSoN_:
so this means we will never get a offical version of any cm version ? to bad :( i think its time to look for a new phone
[Xiaomi Mi 2] paulus123:
Look here http://xiaomi.eu/community/threads/rom-cm12-1-for-aries-by-m1cha.27709/. Someone else (bugers) picked up cm12.1 development.
[Xiaomi Mi 2] No-New-Phone:
Just to let you know:

Since reformatting and reinstalling everything (using 30072015 build from [MENTION=3530648]m11kkaa[/MENTION]) the rom runs smooth and absolutely fantastic. I discovered the open gapps aroma version, with that it's possible not only to install google camera, but remove the build in stock one, with the result that I didn't have a single freeze or reboot in the last week of heavy usage.

Even all my bluetooth devices connect flawlessly (car audio, speaker, and a bt heart rate monitor). As it seems, the biggest problem has not been within the rom, but actually in front of it, namely myself. Or titanium backup.

Everything is smooth and absolutely stunningly stable. With xposed and greenify + intelli3g I get good battery life as well.

Now I'm happy. I will update to [MENTION=733167]royston[/MENTION] build once German locale will be out to get the minor charging led back, I don't miss that in a way that would justify to further change my running system.

Big thanks to the builders!
[Xiaomi Mi 2] gonewild87:
Sure about that? Let's ask [MENTION=3530648]m11kkaa[/MENTION] directly
[Xiaomi Mi 2] m11kkaa:
unfortunately yes.

these replacement screens just break to fast and as u can see from my cm12.1 release cycle I can't really manage to work on two projects anymore.

Good thing is that other devs like bugers are already continuing my work.
[Xiaomi Mi 2] CBpbxEcmecmBeH:
thanks m11kkaa, you're a legend :)
[Xiaomi Mi 2] erlgrey:
did anybody flash bugers cm over m11kkaas latest cm, does this work or again full wipe needed..?
[Xiaomi Mi 2] DaRoni:
wipe cache
[Xiaomi Mi 2] loveyoulovemetn:
Does anyone have account in xiaomi.eu which I can borrow? It doesn't allow signing up new user now..

I have already merged partitions, ran cripts from micha which gives my mi2s 32gb 1GB system partition. I installed blisspop and it says 1GB system

But after installed experimental build from burgers, my /system was shinked to 504mb that I can't install GAPPS now, it's about 50mb free in /system.

I don't have xiaomi.eu account so I can't ask....
[Xiaomi Mi 2] DaRoni:
try this build, its deodexed rom with GAPPS

#10205

https://yadi.sk/d/8cpYUf7bjonE3

I also tried to install GAPPS on his build, failed.
[Xiaomi Mi 2] loveyoulovemetn:
Does that rom stable? Burgers' build was pretty stable but GAPPS cant be installed

It's based on burgers' build? Do I have to run the repartition cript from micha before flashing it?
[Xiaomi Mi 2] loveyoulovemetn:
Please help, I got so many bootloop and system turned off randomly in every roms! Blisspop, aosp eleven, cm12.1 by bugi by micha.... The most stable is Ivan aosp 5.1.1 but I can't flash it via TWRP now! It says can't flash over a newer version! I had 1GB /system!
[Xiaomi Mi 2] SkiFire13:
Wipe data before flash AOSP

Did you recreate all the filesystems? You must do that

~ Xiaomi Redmi Note 2 Prime ~
[Xiaomi Mi 2] loveyoulovemetn:
Anyone trying burgers' build? I don't have xiaomi.eu account, can't ask....
[Xiaomi Mi 2] netweaver2009:
Very quiet on the bugers Rom. I guess we are probably at RC4 by now. Seriously, is there any progress? Did I miss an announcement?
[Xiaomi Mi 2] cogano:
It's called Last Hope for a reason. It would just be a pity, if your phone dies before the last hope gets born ;)
[Xiaomi Mi 2] acastrocab:
No, lastest is RC3.1 and the rom i think it cant be improved more...is perfect (despite the lollipop bugs).He doesnt connect to the forum since the 27/11 so i think he is bussy but probable when he had some time i think he will relase it for public:victory:
[Xiaomi Mi 2] netweaver2009:
Would be v nice. Even a non-100% perfect but upto date CM would be good already.

Let's hope our good old beloved mi2(s) gets a new life again, from [MENTION=6770252]bugers[/MENTION]. He's standing on the shoulders of giants... Thanks to all consecutive Rom maintainers too, all have invested their time to improve and maintain. True spirit of open source.
[Xiaomi Mi 2] _JaSoN_:
[MENTION=3530648]m11kkaa[/MENTION] pls come back i buy u a new screen just to get u back :) not want to buy a new phone lol
[Xiaomi Mi 2] Obscurax:
bugers changelog and rom download:

http://aloneinthespace.cf/s/lasthope-rom.html
[Xiaomi Mi 2] unicoco12345:
I think i miss micha a lot.
[Xiaomi Mi 2] netweaver2009:
Thanks for letting us know there is a new edition. I saw a warning on his page about the partition layout. Does it mean I can't install it on a merged partition scheme?

Is there somewhere a specific announcement thread for his roms?

I'm so spoiled by the merged partition layout, I never want to go back to the old cramped disk space layout.
[Xiaomi Mi 2] DaRoni:
not for merged system partitions. (MIUI >= 5.11.19)
[Xiaomi Mi 2] Obscurax:
You can use merged partitions, but not MIUI's merged partitions layout which is used since MIUI 5.11.19.
[Xiaomi Mi 2] unicoco12345:
Here is the new thread for Buger's ROM

http://xiaomi.eu/community/threads/rom-cm12-1-last-hope-rom-public-rc1-20151213.29188/
[Xiaomi Mi 2] _JaSoN_:
why the hell only English, Polish, Chinese o_O i think i will stay on cm11 and isnt there already cm13 out ? lol why keep working on 12.1 when there is 13 o_O
[Xiaomi Mi 2] T3sla:
How about less bugs?Do you prefer a buggy 13 or a stable 12.1?If everytime ditch the current work of progress for a new version of android will never have a stable rom.
[Xiaomi Mi 2] _JaSoN_:
i want [MENTION=3530648]m11kkaa[/MENTION] back thats all :P
[Xiaomi Mi 2] wimstefan:
Get a grip young man - I'm (and I hope a lot of other users) quite happy that bugers jumped in and helped m11kkaa to build this ROM ...
[Xiaomi Mi 2] seities:
where do you find cm13 for this phone? so there's still some development life left for this phone? Hope the android updates carry on as long as possible since the hardware is still amazingly capable compared to modern flagships.

will also try the last hope rom. i've repartitioned system into one per m1cha's rom's instructions, and it works well. hope the last-hope-rom is compatible with that partition and won't screw things up.

update: just flashed the latest rc3 last-hope-rom by Bugers. They have two versions for both partition schemes on the Mi2, and I just chose the newer partition type and it works fine. Will try for stability though from all accounts it's an improvement from the M1cha rom I've upgraded from. Thanks so much for all the development to extend the usability of this phone, I'm forever grateful.

again, buger's rom's development thread:

http://xiaomi.eu/community/threads/rom-cm12-1-last-hope-rom-public-rc3-20160109.29188/
[Xiaomi Mi 2] gonewild87:
Mokee 5.1.1 is working fine, very stable even if it is unofficial.

Here the link if you wanna give it a try: http://xiaomi.eu/community/index.php?posts/269026
[Xiaomi Mi 2] seities:
Thanks for the tip! As RC5 of Buger's ROM still has some minor issues, I will try that next.

So it seems most development effort for Mi2 has moved to that xiaomi.eu site?

Wondering if there's any CM13 or marshmellow ROMs available?
[Xiaomi Mi 2] dnv_aps:
Thank you very much. You are a genius ;D
[Xiaomi Mi 2] Mokmo31:
I've installed it yesterday and I haven't noticed any problem so far. I think it's a real step forward from MIUI.

Thank you very much!:o
[Xiaomi Mi 2] SANGER_A2:
There is a final release of bugers rom now I've been using for a while and it seems very stable.
[Xiaomi Mi 2] T3sla:
I think it would be wise to write it somewhere, maybe to the installation instructions, with big bold flashing letters under a big red bold "warning" :D It's gonna save the thread from a lot of related troubles.
[Xiaomi Mi 2] quidje:
Resizing as described here (not allowed to link outside XDA yet): xioami.eu \ mi2s-extending-size-of-storage-partition ?

And swap 'storage' space for 'system'? (system2 and system1 merge is a no go right?)

---------- Post added at 03:52 PM ---------- Previous post was at 03:42 PM ----------

The mentioned link is not working (404), however i'm using the earlier mentioned link and will try the pico, thx for this comment! :D

I'll try and install other apps from there. Do i understand correctly that Google apps are installed in system and other apps on another location? Or will CM12 leave so little space for other apps that resizing must be done?

T.i.a. :good:
[Xiaomi Mi 2] T3sla:
You can use this script for resizing.First of all read very well the instructions or you'll end up with a non booting device.You can edit the script so you can give the size you want to the partitions.Edit with notepad ++ or equivalent program not with windows notepad, edit is at lines 83-86.Leave at least 10 mb for system1 and 10 for cache.System must be bigger than ~600 from what Micha said.Between instructions 1 and 2 mount sdcard.Read also the comments of this post.

For gapps use these.
[Xiaomi Mi 2] sempracurtir:
The alarm clock doesn't work with the phone turned off as it did in cm12. Would be a nice thing to add.

And I think that there is no way to turn off key vibration (either tha or I don't know how to do it xD)

Thanks a lot for your work.
[Xiaomi Mi 2] mikegiord:
I noticed that putting the phone in energy saving mode the vibration on softkeys disappears. So there should be a way!
[Xiaomi Mi 2] m11kkaa:
Easy solution for GAPPS problems

this miflash package resizes your system partition without taking space from your data partition by removing the system2 partitions:

http://xdaforums.com/devdb/project/?id=8360#downloads

This means you can easily change ur partition table using miflash and you'll get rid of system2 as a preparation for the upcoming GRUB4Android project the same time.
[Xiaomi Mi 2] wimstefan:
Nice one! How far is it different to the current scripts used to resize the partitions?
[Xiaomi Mi 2] zipalign:
settings > sound and notification > other sounds > vibrate on touch > disable.
[Xiaomi Mi 2] sempracurtir:
Thanks for the help, but I had already done that and the keys still vibrate. Only way is to put the phone in power saving mode...
[Xiaomi Mi 2] m11kkaa:
You can't do that for keys specifically(it's a standard, navigationbar buttons do vibrate too).

But you can globally disable vibration by setting the vibration intensity to 0.
[Xiaomi Mi 2] MyNameIsKappa:
I have a problem with some gapps, for example Google Hangout and Google Maps crash.

Does it happen justo to me or is it a bug?

Someone knows why?

Thanks for help

Edit: Hangout crashes just when I try to call someone or when someone calls me
[Xiaomi Mi 2] m11kkaa:
Read the op. U can't install normal gapps
[Xiaomi Mi 2] MyNameIsKappa:
I read it and I installed the pico pa-gapps. Before it I had installed the mokee gapps for lollipop and they were just 37mb, I thought that was the problem so I flashed everything again but this time I installed the pico pa-gapps and the bug is still there.
[Xiaomi Mi 2] enyx.es:
Hi

Resize your system partition

Enviado desde mi MI 2 mediante Tapatalk
[Xiaomi Mi 2] MyNameIsKappa:
Hi, thanks for the advice.

Anyway I can't really understand how it can be a space problem since the gapps I installed are very very small. Do those apps (maps and hangouts) work for all of you? Can someone please try and let me know?

A strange fact is that those apps aren't installed as system apps but I downloaded them from play store and all the others Google apps I installed with gapps are working, so I don't think it's because of that.

Also I can't understand how to resize the system partition with the new method since the link for download is just for MiFlash for Linux and the files m11kka talks about in the OP aren't in that link. I'd really appreciate if someone could be so nice to actually help me
[Xiaomi Mi 2] laolang_cool:
hi MyNameIsKappa, there is a "Downloads" tab in that link, the files for you are there
[Xiaomi Mi 2] Alecsandru90:
why didn't you make this flashable via recovery?
[Xiaomi Mi 2] m11kkaa:
because it's not easily possible. The bootloader has much code to flash and patch(different mmc sizes!) the partition table.

And MiFLash is Xiaomi's standard way to flash new ROM's. it's very easy :)
[Xiaomi Mi 2] Alecsandru90:
still , you can format and reseize all partitions via recovery , weird
[Xiaomi Mi 2] m11kkaa:
ah u mean the old way via parted.

that's not easily possible because while running a update package the cache partition is in use. And if a partition is in use u can't change the table.

I'll write a PartitionManager app based on Libaroma that can be booted as a boot.img(via fastboot or GRUB) somwhere in the future though.
[Xiaomi Mi 2] Alecsandru90:
how about cm12?

is in the second place in your list of priorities?
[Xiaomi Mi 2] m11kkaa:
it's the first. But with 20kb/s upload u don't want to publish a build everyday ...

And it's not yet ready for official CM
[Xiaomi Mi 2] rober788:
Did you managed to resolve audio bug?
[Xiaomi Mi 2] MSephiroth:
M1cha you are the best. Thank you so much for all your work! :fingers-crossed: :good:
[Xiaomi Mi 2] Khaon:
[MENTION=3530648]m11kkaa[/MENTION] and other users hehe.

Is it me or the sound quality was a bit better in former release such 16-02.

Could anyone compare kk to different version we have been from begging with audio fix? Thx
[Xiaomi Mi 2] linuxxxx:
What do u mean? Audio FX is not DSP, it uses different stuffs and it's not related to any audio bug

Sent from my A0001
[Xiaomi Mi 2] Khaon:
Nah for sometime there were an issue with the mic on the first cm12 builds.

Then some patch fixing audio libs was making the mic working but with an horrible quality compared to what you had on kit Kat

My question was simply as I barely used lollipop and just started.

A brief summary about the enhancement of audio since staging dev started hehe .

I said i had the felling 16 build was better a audio. However didn't take a time with the logs lol.

So to summarize, my question is the noticeable differences between now that Micha started back working with the parched audio lib version!

Nothing to do with audio mods p
[Xiaomi Mi 2] linuxxxx:
The issue is still here. It hasn't been fixed yet, and the "fix" u're talking about was just libs pulled from old cm12 build by m11kkaa. The only workaround is to enable/disable mic when u start an outgoing call from the button from the InCallUI

Sent from my A0001
[Xiaomi Mi 2] rober788:
I had a bug when neither mic and earpice was not working. Must restart.
[Xiaomi Mi 2] mialwe:
First post on XDA for a long time for me - your post just reminded me of the days I tried to upload multi-language repackaged Xiaomi-AOSP zips to dev-host (must have been AOSP 4.x-times) - took ages to complete, often had to try several times...no fun but no other option.

Back to topic (somehow) - just want to say thank you very (VERY) much for working on CM12 - without you I'd definately sell my MI2 32Gb - great hardware but I'm not compatible with MIUI :_)

Your 5/2/18 version is the first CM12 wich works really fine for my purposes (app developement, reading lots of RSS feeds/gplus/reddit,..., not using the phone functionality very much :-/ )

Somehow battery drains a lot faster than with Ivans 4.11.11 which I used before (had connection issues with everything >Ivan 4.11.11) but I have not found the reason yet (battery stats ok), maybe that has nothing to do with CM12. Thank you again m11kkaa. Found your donation mail :)
[Xiaomi Mi 2] rober788:
try google drive
[Xiaomi Mi 2] mehdoux:
Hi

[MENTION=6063013]rober788[/MENTION] : With a slow internet connection, no matter which host site you decide to upload in, it will be slow. Anyway, I prefer less builds with more improvements than more builds without noticeable differences.
[Xiaomi Mi 2] rober788:
I thought dev host had a problem and was slow.

I have very good connection but i dont know how to create builds and upload them.
[Xiaomi Mi 2] Khaon:
Yeah I know but I have a feeling the quality of the audio has increased since this "patch" just wanted the other ppl thinkings.

Also sometimes alsa? audio mic driver crashes when sending recording on the fly - whatsapp /viber- it works again very shortly after tho.
[Xiaomi Mi 2] m11kkaa:
What u talking about? the mic issue has been fixed.
[Xiaomi Mi 2] linuxxxx:
Since I don't use this device as phone anymore, I did not test, and I still see reports about mic:

:P

Sent from my A0001
[Xiaomi Mi 2] m11kkaa:
the next time u face this problem, send me your logs pls. It sounds like RIL dies.
[Xiaomi Mi 2] m11kkaa:
thx man :)

CM12 may have cross device battery drains, yea. Even my MotoE which lasts 1 week with the 4.4 stock rom needs to be charged every day with CM12.
[Xiaomi Mi 2] dejeaneman:
I'm running the 18-02 unofficial build and until now things are going great. Although I encountered two bugs:

- When I reboot the CPU governer is set to ondemand when I selected a different cpu governer even though i toggled the set on boot option.

- In the changelogs was mentioned that the haptic feedback for the touch keys was fixed but the vibrate on touch toggle in the sound settings menu does nothing. The toggle is set to off but the feedback is there. When I turn it on, leave the sound menu and return to it the toggle is off again.
[Xiaomi Mi 2] Tiemen92:
First of all, nice work with the ROM, it's much faster than the old MIUI I was using.

One problem though. When I select a custom mp3 file as ringtone for calls it always plays a default tone when I receive a call.

I've also tried using the m4v and ogg format but nothing works.

Any idea how to fix this?
[Xiaomi Mi 2] Camogyp:
This is can be fixed (maybe in next you build or it is in global google code)? - I really liked the CM12 !

P.S. I also had a battery drain, but I friize some of Google's applications, in fact, it is not comfortable
[Xiaomi Mi 2] enyx.es:
Don't think is kernel related but Google related android 5 is like the ms vista to android