yashsingh1/xdaforums huggingface dataset:
[Mi 3 Original Android Development] Krachenko:
Yeah Via Fastboot rom miui mm then i install twrp after i did all wipes and then i installed miui v8 last nightly. Finallly all wipes again and i have tested with clean installation (all wipes in each change of rom):

Cm13 and mokee (snapshot, nightly and release) not working 3g data.

Aosp dirty unicorns and miui v8 and v7 3g works perfect.

Thanks for you attention.

A greeting.

PS: i have used opengapps pico all the times.

Enviado desde mi MI 4W mediante Tapatalk
[Mi 3 Original Android Development] sourlemon:
currently using nightly 20160614 , quite stable so far , only problem i have is the cracking sound when recording audio , rebooting phone will make the battery % go down drastically ( calibration problem ) . What i do to avoid this is rebooting while plugging in my charger :good:
[Mi 3 Original Android Development] mdfarazb2:
Clean flash the rom at 100% charge.. then you would lose only 1-2% during every reboot.
[Mi 3 Original Android Development] Guiluge:
I know I had to select explicitely my preferred network type in Cellular Networks options : by default, LTE is selected, and I had some issues with it.

Maybe that's the reason....
[Mi 3 Original Android Development] bmharsha:
Thanks a lot CM team for your work and the official support.The Rom is awesome.Its just improving day by day by the updates.
[Mi 3 Original Android Development] TheCarryEnd:
I love this rom. Very smooth and doesn't drain too much battery at standby.
[Mi 3 Original Android Development] xSmart007x:
how's the gps?
[Mi 3 Original Android Development] manoj.red.hat:
awesome [emoji2]
[Mi 3 Original Android Development] Amruth Pillai:
I'm loving the ROM, it works beautifully and the battery life is better than MIUI Global Alpha. The smoothness is comparable to butter, and haven't found any major bugs so far. Will update with any FCs if I find any, along with a Stack Trace.

So, there was this one issue... don't know if I'm the only one facing it. I'm not able to get the accelerometer to work. When apps turn to landscape, I can't shift my phone to portrait again. If I wanted to play a video, it plays portrait... doesn't change to landscape how much ever I shake or turn my phone...

And yes, I've checked the obvious. My auto rotation is on both on the notification drawer and in the settings. Has anyone else encountered this issue?
[Mi 3 Original Android Development] rxl.noir:
From the first time I used this ROM, I never encountered that kind of bug... Maybe it was related to the sensors; have you tried to check the sensors?

If somehow some of your sensors comes out as missing, try fastboot flashing the persist.img to the persist partition ,from the latest , non-Beta Global MM.

Some people fixed their sensors problem this way, but it's not exactly a perfect, ensured cure for it, since it might be related to something else.
[Mi 3 Original Android Development] Amruth Pillai:
This looks like bad news...

How do I fix this? I'll try the persist.img flashing tomorrow... has anyone else faced this?
[Mi 3 Original Android Development] rxl.noir:
Yup, your sensors are missing.

Most people had it when they migrate from another custom ROM to CM13, or go from MIUI KK to CM13, repartitioned to MM layout + baseband, without updating the persist.img.

If somehow the persist.img flashing failed to activate the sensors back, there's a sure method but a roundabout way to do it; fastboot flash the whole MIUI MM first, then fastboot flash TWRP, and finally, CM13.

It might take a while, but it the most sure way to get all the sensors back.
[Mi 3 Original Android Development] mdfarazb2:
Flash xiaomi.eu mm rom first from twrp..then use it for sometime reboot it once....then flash any rom (aosp/cm based) sensors will work again
[Mi 3 Original Android Development] TheAndroidNinja:
Anyone facing problem with switching on cellular deta on 2g? Am facing for a long time.. Please someone reply..
[Mi 3 Original Android Development] Rebelpriest:
Hey Buddy,

Follow http://en.miui.com/thread-227503-1-1.html

Download the Persist.img for your phone, Extract it via 7zip on windows pc & again extract it to get the Img fiile.

Make a NAND backup before flasing via fastboot

Try & report.
[Mi 3 Original Android Development] Amruth Pillai:
Thank you everyone, flashing persist.img from the latest Global Alpha ROM that I had and refreshing the phone made it work perfectly. Maybe this was just a one-time issue.

I truly have never loved any ROM more than this one. With Greenify, I'm getting battery life worth days. Amazing work, OP! Glad to be a part of the CM Family! :)
[Mi 3 Original Android Development] megacar@gmail.com:
hi everyone,

great rom, everything works, but encryption does not :(

i'm using twrp

anyone succeeded or tried it? when you click encrypt phone it just reboots and does nothing.

I followed solutions for other CM13 users, tried disable SELinux, nothing

tried resizing data partition, nothing.

there is a theory twrp creates partition without extra blocks reserved for encryption needs.

resize2fs /dev/block/mmcblk0p25 3322855 (you need to get your mount point of /data, and your block size minus 20 (as it needs 16kb for encryption to work).
[Mi 3 Original Android Development] fredek_lodz:
I try it, look , but not work ;/
[Mi 3 Original Android Development] bobb83:
Cm music fx is not working !!!can anybody confirm this???
[Mi 3 Original Android Development] sajed98:
Hey can anyone help me? I flashed persist.IMG both through fastboot and in phone. Sensors are not back.
[Mi 3 Original Android Development] sajed98:
Please help. Chinese stable persist.img didn't fix it. Any suggestions?
[Mi 3 Original Android Development] hewhomustnotbenamed:
Hi Amruth,

Could you please share the procedure and file that you flashed to get the sensors back?

Also, which all sensors are these. Request you to pls help me with this. I am not so regular on the thread. I am using CM13 on mi3 for about a month.
[Mi 3 Original Android Development] megacar@gmail.com:
encryption

FYI, I tried flashing -ZeurionX- kernel, encryption still not working. so its not a kernel issue, its CM issue.

this is the catlog:

07-05 01:18:39.238 214 219 D Cryptfs : unmounting /data succeeded

07-05 01:18:39.238 214 219 I Cryptfs : keymaster module name is Keymaster QCOM HAL

07-05 01:18:39.238 214 219 I Cryptfs : keymaster version is 3

07-05 01:18:39.238 214 219 I Cryptfs : Found keymaster0 module, using keymaster0 API.

07-05 01:18:39.239 214 219 D QCOMKeyMaster: keymaster app is loaded

07-05 01:18:39.239 214 219 D QCOMKeyMaster: keymaster app got loaded at attempt number 0

07-05 01:18:39.239 214 219 D QSEECOMAPI: : QSEECom_get_handle sb_length = 0x2000

07-05 01:18:39.239 214 219 D QSEECOMAPI: : App is already loaded QSEE and app id = 2

07-05 01:18:39.241 214 219 D QSEECOMAPI: : QSEECom_dealloc_memory

07-05 01:18:39.241 214 219 D QSEECOMAPI: : QSEECom_shutdown_app, app_id = 2

07-05 01:18:39.242 214 219 I Cryptfs : keymaster module name is Keymaster QCOM HAL

07-05 01:18:39.242 214 219 I Cryptfs : keymaster version is 3

07-05 01:18:39.242 214 219 I Cryptfs : Found keymaster0 module, using keymaster0 API.

07-05 01:18:39.242 214 219 D QCOMKeyMaster: keymaster app is loaded

07-05 01:18:39.242 214 219 D QCOMKeyMaster: keymaster app got loaded at attempt number 0

07-05 01:18:39.242 214 219 D QSEECOMAPI: : QSEECom_get_handle sb_length = 0x2000

07-05 01:18:39.242 214 219 D QSEECOMAPI: : App is already loaded QSEE and app id = 2

07-05 01:18:39.244 214 219 E QSEECOMAPI: : Error::send command ioctl failed. ret = -1, errno = 22

07-05 01:18:39.244 214 219 E QCOMKeyMaster: Generate key command failed resp->status = -1 ret =-1

07-05 01:18:39.244 214 219 E Cryptfs : Failed to generate keypair

07-05 01:18:39.244 214 219 D QSEECOMAPI: : QSEECom_dealloc_memory

07-05 01:18:39.244 214 219 D QSEECOMAPI: : QSEECom_shutdown_app, app_id = 2

07-05 01:18:39.245 214 219 E Cryptfs : keymaster_create_key failed

07-05 01:18:39.245 214 219 E Cryptfs : Cannot create encrypted master key

07-05 01:18:39.245 214 219 E Cryptfs : Error enabling encryption after framework is shutdown, no data changed, restarting system
[Mi 3 Original Android Development] pranavv.shriwas@gmail.com:
how do i go back to miui from this rom???
[Mi 3 Original Android Development] rxl.noir:
Fastboot flash the MIUI ROM. Remember to only use the correct fastboot ROM and flash it using MiFlash.

Oh, and it'll wipe all of your data.
[Mi 3 Original Android Development] pranavv.shriwas@gmail.com:
Last time i tried MiFlash...it gave me "partitioned error" and bricked my mi3... i somehow recovered...
[Mi 3 Original Android Development] Sergytto:
Just go to xiaomi.eu and install it from twrp ... simple
[Mi 3 Original Android Development] Modernoid:
Anyone got no signal, baseband unknown, and no sensors work after flashing 20160707?? :(
[Mi 3 Original Android Development] strayhero92:
Same here, 7/7/2016 build does not detect my sim card

I revert back to 6/7
[Mi 3 Original Android Development] Modernoid:
does the 20160707 build broke all of your sensors too?
[Mi 3 Original Android Development] strayhero92:
Well, now that you mention it, I reflash to 7/7 and yeah proximity sensor is not working at all
[Mi 3 Original Android Development] Guiluge:
Thanks guys, I'll wait a bit before upgrading (I'm on 6/7)
[Mi 3 Original Android Development] pranavv.shriwas@gmail.com:
I am sounding a bit skeptical but will it work??..i dont have a spare phone..
[Mi 3 Original Android Development] oL00No:
No one is here to make guarantees. In general, don't mod anything you can't replace tomorrow. Ever.

Good thing this phone is cheap enough that someone with a job could buy one every week.
[Mi 3 Original Android Development] arpitchaudhary52:
I messed up my mixer_paths.xml(\device\etc\mixer_paths.xml) file. My phone is dumb now.

Can someone please share me from a working mi3 running cyanogenmod 13(Preferably running the latest nightly).
[Mi 3 Original Android Development] fredek_lodz:
Yes confirm.

After flashing 20160707 I have no IMEI number but sensors work for me.

I went back to version 6 July 2016 CM nightly -> restore twrp backup.
[Mi 3 Original Android Development] Modernoid:
Today's build fixed no signal and baseband unknown. But all my sensor still not working :(

I've tried to flash persist.img through fastboot, but it won't help. Any idea how to fix it?
[Mi 3 Original Android Development] Modernoid:
here you go
[Mi 3 Original Android Development] sajed98:
No one has a working persist.img file? I have flashed the persist file from the latest MIUI China stable (MM). But it doesn't work. How do you fix the sensors?
[Mi 3 Original Android Development] mdfarazb2:
Man flashing persist.img file don't work everytime...(In my case it never worked). I always get my sensors working by flashing xiaomi.eu 6.5.26 rom...Then opening it using it for sometime.then 1-2 reboots fix the sensors....Hope this helps...Then you can Try other custom roms..
[Mi 3 Original Android Development] sajed98:
Can I flash the xiaomi.eu ROM, use it, then restore the cm ROM from twrp? Or do I have to flash the CM ROM again?
[Mi 3 Original Android Development] strayhero92:
I directly flash the global rom downloaded from miui website, but the dev rom tho, make backup of everything including storage contents, wipe system and cache but I usually wipe all of them except my internal, flash the dev rom. I use twrp to flash it.

Regarding fastboot, I get the same problem if fastboot miui 7, maybe it's because now we have a single instead of dual boot system but fastboot miui 8 works fine for me.

Going back to miui 7 is such a waste of time, the cam and audio is better but the system? It gets heavier and slower day by day but it's my two cents.

Lemme know which method of flashing works for you, till then
[Mi 3 Original Android Development] mdfarazb2:
I've not tried restoring but yes clean flashing the cm will work..but remember to use for sometime and then do one or two reboots(both in xiaomi.eu and CM..) otherwise you may also get non of sensors working in cm too on first boot but in 2nd or 3rd it'll be back!!!
[Mi 3 Original Android Development] sajed98:
Ok.... Can you try restoring once and letting me know? It would be very helpful.
[Mi 3 Original Android Development] Modernoid:
do you clean flash it? i've tried flashing miui 7 mm stable and miui 8 beta through fastboot, but none of them bring back my sensor :(
[Mi 3 Original Android Development] :
c-apps available for CM13

https://cyngn.com/c-apps
[Mi 3 Original Android Development] mdfarazb2:
I've too tried miui mm developer miui 7 global stable etc etc.. none of em worked only xiaomi.eu worked the version I had written above.And yes i clean flashed both xiaomi.eu and custom.

---------- Post added at 07:10 PM ---------- Previous post was at 07:04 PM ----------

Sorry bro you have to check that by yourself coz I'm not sure if anything wents wrong . Everything is working as smooth as butter currently don't want to disturb that pace.~peace~

But yes I'm 90% sure it'll work
[Mi 3 Original Android Development] Modernoid:
okay then i'm gonna try to flash 6.5.26.

but which one should i use?
[Mi 3 Original Android Development] mdfarazb2:
Sorry dude pic is not visible....post again.

---------- Post added at 05:58 AM ---------- Previous post was at 05:54 AM ----------

Btw here's the link which i use...

https://www.androidfilehost.com/?fid=24566454284189991
[Mi 3 Original Android Development] sajed98:
I tried to flash the xiaomi.EU file. It gave error 7 in twrp.
[Mi 3 Original Android Development] mdfarazb2:
Go to mounts and uncheck R/W box and above system option both of them
[Mi 3 Original Android Development] pranavv.shriwas@gmail.com:
Thnx bro..that worked..
[Mi 3 Original Android Development] fallingstone:
Hi, got a big problem with my camera since CM13 is installed. On my Mi4w CM12.1 was running perfectly (December 2015 - June 2016). I Also installed the moto cam in March - worked great.

I patched Nighthly 20160619 (wipe cache + dalvik).

After a few pictures (all normal) the camera shows only pink stripes (and green pixels...).

See the picture attached.

[IMG="Mi4w camera stripes"]https://abload.de/img/screenshot_20160709-1kcz5s.png[/IMG]​

After then the camera only goes black and exits. Also a complete restart will result in a black screen and exits the cam.

Unfortunately this happens only with the back camera. Front camera runs correctly.

Okey then i did a full wipe with latest Snapshot (20160418). Same problems here.

Restoring the backup to the CM12.1 version also now got this camera problem.

Then full wipe + Nightly 20160705... Did a lot of pictures, but at some point the cam is showing these pink stripes again and result in exit...

Tested also some different kernels, but now i'm on stock cm kernel.

It can't be a hardware issue or? I patched only the software.. is this a known bug?

Thanks in advance.
[Mi 3 Original Android Development] ssbnasa:
Hey all,

i was on 5.1.1 and away from xda for a long time.

Now planning to install this latest MM rom.

Can someone explain or point me towards the flashing instructions? since i'm coming from 5.1 to 6.0 so do i need some special flashing etc? like firmware or anything?

thanks
[Mi 3 Original Android Development] sajed98:
All my sensors are working except proximity... Can anyone help me?
[Mi 3 Original Android Development] Radrim:
i've got a new issue after updating baseband and flashing yesterday's nightly.

home button doesnt work, notification bar doesnt go all the way down

i tried using

adb shell am start -n com.google.android.setupwizard/.SetupWizardTestActivity

and factory resetting numerous times, but nothing worked

PLEASE HELP
[Mi 3 Original Android Development] mdfarazb2:
Ummm...maybe you should try clean flashing again both xiaomi.eu and cm rom..
[Mi 3 Original Android Development] sajed98:
I need some help please.

On Mi 3, someone who's using this ROM and their sensors are working, can you please upload your persist partition? You can back it up using this app:

https://play.google.com/store/apps/details?id=ma.wanam.partitions

Please help me. Thank you. :)
[Mi 3 Original Android Development] Modernoid:
please help!! everytime i flash the rom, it's always give me error "no partition named /dev/block/platform/msm_sdcc.1/by-name/userdata".
[Mi 3 Original Android Development] sajed98:
Does it flash completely? Then it's not a problem, I think.
[Mi 3 Original Android Development] hewhomustnotbenamed:
I am using the latest nightly.. Android system has been keeping the system awake for more than 1-2 hours every day... the same has been happening on all nightlies for the pas 10 days.. (I have been noticing for 10 days) [MENTION=5451053]linuxxxx[/MENTION] maybe something to check in Android system

I own a Oneplus one too and using the latest nightly on that too and it is not the case there. so it is specific to this device's build

Let me mention... Full clean wipe each time and no mod whatsoever.
[Mi 3 Original Android Development] mdfarazb2:
Man it's ok it takes time at that point..plz be patient.. it'll take around 5-10min then you can see some more stuffs being flashed...plz be patient!
[Mi 3 Original Android Development] vroyibg:
Sensors not working on latest snashot

Hi, i am on latest snapshot, all my sensors not working. Anybody know how to fix it?
[Mi 3 Original Android Development] Modernoid:
i successfully flashed 6.5.26 but still no sensors is working. i've tried to reflashing again, but still getting the same result. anyidea?
[Mi 3 Original Android Development] vroyibg:
After flash persist.img all my sensors comeback but there is a problem with proximity sensor. It is always near, thus when calling my screen always turn off, i had to input my headphone to end the call. Does anyone face the same?
[Mi 3 Original Android Development] mdfarazb2:
Reboot your phone 1 or 2 times then check again
[Mi 3 Original Android Development] Modernoid:
could you upload your persist.img?

already tried that, still no result.
[Mi 3 Original Android Development] vroyibg:
It's size too big so i can't upload it.

i got it from here : http://xdaforums.com/xiaomi-mi-3/general/guide-fix-sensors-t3257448
[Mi 3 Original Android Development] miss:
address mac bluetooth is false

00:00:00:00:a5:ad

on the phone my wife the same thing happens, then we can not connect to the radio f car, yes I am connected and it connects me and she spits connected, and vice versa. podernos only connect at once, I with cm and she miui
[Mi 3 Original Android Development] sajed98:
Which one? There are many files in this thread.

---------- Post added at 10:36 AM ---------- Previous post was at 10:35 AM ----------

Anyone? Please? You can upload it to Google drive or something........ Please.
[Mi 3 Original Android Development] vroyibg:
Sorry,link to the file :https://mega.nz/#!V0MjkK7B!hGzae491-wRP8nufk01GhD2dw7PDjyqG7tUM2kHc-uY
[Mi 3 Original Android Development] sajed98:
Ok. I'll try it and let you know.
[Mi 3 Original Android Development] vroyibg:
How can i calibrate proximity sensors on cyanogenmod ? I reinstalled MIUI and calibrate proximity sensors using *#*#64663#*#* then the sensor work again but reinstall cyanogenmod it still not work. And the code not working in cyanogenmod too.
[Mi 3 Original Android Development] vroyibg:
Hey guys, i found the solution.

1. Download miflash and latest fastboot rom for mi3/4.

2. Install miflash,extract fastboot rom using 7zip (need to extract two times, the .tar file and the 2gb file with no extension inside it)

3. Get phone into fastboot mode,connect to pc using usb cable.

4. Open miflash, browse to image folder extracted, click refesh and the flash

5. After flash complete, the phone will boot into MIUI , check if all sensors working properly(should work)

6. Download latest twrp for cancro, put phone into fastboot mode again, use adb command to install twrp recovery : fastboot flash recovery twrp-3.0.2-0-cancro.img

7. Go to twrp recovery,wipe davik cache,cache,data,system

8. Flash cyanogenmod ,google apps

9. Boot up setup cyanogendmod , google services..(sensors won't work yet).

10. Reboot and check the all the sensors working.

All sensors include proximity now working perfect for me.
[Mi 3 Original Android Development] tinti93:
Hi linuxxxx! Thank you for your hard work on this awesome rom. Almost everything is working, but the speaker disorts really bad on every sound, especially at max volume. Really annoying. I think its some bad system level eq configuration (too much bass for this little speaker).

In CAF its not disorts, but i like this rom better.

Is there any fix for it?

Thank you for your reply.
[Mi 3 Original Android Development] sajed98:
No one wants to help? No one has a working proximity sensor?
[Mi 3 Original Android Development] vroyibg:
Two posts before yours. Give a try.
[Mi 3 Original Android Development] sajed98:
Yes I have tried. I was asking for a working persist. Img file

---------- Post added at 02:35 AM ---------- Previous post was at 02:34 AM ----------

How do I calibrate sensors in this ROM?
[Mi 3 Original Android Development] vroyibg:
Here is the persist.img in the offical MIUI latest fastboot rom. All sensors working after flash this rom. Try it.
[Mi 3 Original Android Development] sajed98:
Ok. Thanks. I'll try it and let you know. :)
[Mi 3 Original Android Development] Modernoid:
Just go back to miui, caliberate it using *#*#64663#*#* and then flash cm again.
[Mi 3 Original Android Development] TofikLupus:
What's the purpose of calibrating if you later reflash to a different ROM? Just don't do that. The calibration will reset.

MI3W 64GB/Tapatalk
[Mi 3 Original Android Development] vroyibg:
I tried this method, didn't work.
[Mi 3 Original Android Development] KivxD:
Is there anyway to enable the swipe down anywhere on home screen to pull down the status bar like in miui? I just flashed over from miui a few days ago and I didn't think this would bother me as much as it does now.

Is there another way besides GMD and Nova?
[Mi 3 Original Android Development] rxl.noir:
Sorry, but AFAIK your best chance is still the gesture options from Nova Launcher Prime.
[Mi 3 Original Android Development] mdfarazb2:
Nova launcher
[Mi 3 Original Android Development] KivxD:
I haven't had any experience with Nova Launcher; how does it compare to stock CM with Trebuchet?

I'm really loving the speed and buttery smoothness of CM13 right now.
[Mi 3 Original Android Development] sajed98:
Almost all launchers support gestures like this. And they are all pretty smooth and fast. You should try them.

This is a launcher feature. If the stock launcher doesn't support it, then there is no way to do this (AFAIK).
[Mi 3 Original Android Development] rxl.noir:
Two word; fast and smooth. Even with all of its extra features on.

If you like AOSP/Stock/Trebuchet over those launcher with shiny visual features, you will surely comes to love Nova Launcher.
[Mi 3 Original Android Development] mms047:
I am facing a major bug in latest cm builds.. After flashing, no data at all, no upload no download & there is an exclamation mark with the signal icon. I did everything I could. Here is the list:

1.Tried changing apn. Same apn worked with miui and aosp rom even earlier versions of cm.

2.Changed the radio band by dialing *#*#4636#*#*. No luck.

3.Changed sim card, enabled 3g, 2g. Still no luck.

4.Flashed exposed and disable exclamation mark with gravitybox. Exclamation mark disappeared, but still no data passing through.

I tried changing the baseband to miui 7, 8, chinese and global builds. No luck. but wifi works. Data works only in miui and aosp builds. this bug is only for cm and cm based roms. I am from Bangladesh, May be something about radio, but data works in snapshot builds even a month earlier nightly builds.

Plz, take a look if u can [MENTION=5451053]linuxxxx[/MENTION]