yashsingh1/xdaforums huggingface dataset:
[Mi 3 Original Android Development] linuxxxx:
It has been a while since my last post.

Here u go with some updates to device specific developments:

* Since the beginning of May, cm builds ship with an updated mainstream prima driver, this will bring us more stability and security fixes for the qcom wlan driver. To make sure you don't run into stupid issues, I strongly suggest u to update your modem/radio (your baseband version should be msm-4*) and partition layout to miui mm.

* I may drop support for miui kk layout soon. All new installations are done on a mm layout, and I'll provide an easy way to upgrade without loosing data for users that are still running kk stuffs.

* I've patched a lot of security issues (cve) recently, so make sure you run the latest nightly (or the next snapshots) if you care about security.

* Mi4 users: I've updated audio config back in April/March, according to some people who testes them they're better.

Now I'll answer some posts.

Wow. Much thanks. So placebo. Do u know that ROM is a cm fork that uses my device tree and kernel as they are? There's no reason to say one is " excellent " and the other no.

If u don't want to run cm, don't do it. No one is forcing u.

And yes. I'm a cm developer. I work on this device and app ui/ux.

And I think u're confusing cm with cyngn.

They're 2 totally different things.

Please learn to read better and don't judge for stupid prejudices

Make sure u're running the lastest build (if u're on nightlies channel) ,or turn off live display if u're on snapshot

This is an aosp 6.0 issue, there's no fix for that :(

High temperatures will damage your phone.

I agree on the fact that these device are not really good at dissipating heat... But the thermal solution we're using is the most aggressive one on tmp side.

More answers soon

Inviato dal mio A0001 utilizzando Tapatalk
[Mi 3 Original Android Development] sajed98:
OK. I'm sorry if I offended you. I'll just shut up now.
[Mi 3 Original Android Development] Duron23:
Dear Developer,

Please fix below mentioned issue, plauged from CM 12.1 times

* LiveWallpaperPicker absent

* All sensors not working on first boot.

* Gyroscope do not work at time, between reboots.
[Mi 3 Original Android Development] yabhuva:
I am on latest global miui for mi3... What steps needed to flash cm 13...?
[Mi 3 Original Android Development] diongdyh:
Reboot to TWRP.

Clear data, cache and dalvik cache.

Flash ROM, then Gapps.

Reboot.
[Mi 3 Original Android Development] yabhuva:
How do I flash twrp... I am on miui global ROM 6.4.14. MM

Permissionanager now doesn't have root access option
[Mi 3 Original Android Development] pasan:
Installed two CM13 updates today, the second one bricked phone. The backlight flashes twice every 5 seconds and that is it. Can I recover from this or will I have to wipe the thing completely?
[Mi 3 Original Android Development] oL00No:
Your account says senior member. Must be a lot of spam posts.

Fastboot flash it with adb. Google or search this forum.
[Mi 3 Original Android Development] yabhuva:
You can check out my posts you won't find any... I had done flashing cm in miui kk but after mm update I find things changed ...
[Mi 3 Original Android Development] mig0r:
will test it out and report
[Mi 3 Original Android Development] JBolho:
Sorry for asking this, a friend of mine told me that latest 3.10.* kernels for Snap 800 and 801 bring some GPU improvements along with other changes, is this correct? If so, is there any intention to bring it to Mi3 in future builds? Thing is, everything runs smooth in CM13 and 6.0.1 CM-based roms, except 3D gaming. Games like NFS No Limits, Modern Combat 5, GTA series, they run... but lag. The only "workaround" is using 3rd party methods to lower the resolution on the screen to 1280x800 or 1024x600. All of these games had absolutely no performance issues on CM12.1, and this occurs in amost all 3D intensive games, so i'm guessing it has something to do with MM, either the roms, or the kernel, or drivers...

Any thoughts?
[Mi 3 Original Android Development] ankit7877:
flash cwm r8 with updater app

then go to cwm and flash twrp recovery

reboot recovery, then u will be on twrp

then flash cm13 and gapps at the same time.

REBOOT.
[Mi 3 Original Android Development] Twigs:
Hey! Thanks for all your effort you put in cm, really appreciate it :)

I do however seem to have WiFi/GPS relates issues.

Could you elaborate how to update to the appropriate baseband version? Or point me to wherever it is explained for somebody who's never done anything like this before.

My current baseband version is something like MPSS DI 4.0-xxxx.
[Mi 3 Original Android Development] TevicTT:
Using 0418 snapshot,the volume is lower compared with ivan's aosp when calling,i'll try latest nightly because the dev say's new audio config for. Mi4.
[Mi 3 Original Android Development] iSaurabh:
Hardreset, then flashed Nightly build (cm-13.0-20160509-NIGHTLY-cancro.zip ) , Everything working fine and smooth except the Status bar drawer. It works only sometimes, rest of the time the status bar doesn't comes down.

Tried restarted, & wiping daliv cache. Please help! #Mi3
[Mi 3 Original Android Development] tripper22:
Can this rom be used as a stable daily driver? Any major bugs? Thanks in advance.
[Mi 3 Original Android Development] iSaurabh:
Updated to latest build, but still notification panel not coming down! Tried quick pull down too!

Only notifications sound is coming can't see which app! Please help! Urgent :(
[Mi 3 Original Android Development] Radrim:
I need help.

USB OTG doesnt seem to work on the latest snapshot build, no notification, nothing on the storage, nothing that indicates that the rom detected a removable storage.

The usb stick itself was working though, lights and everything.

Thanks in advance.
[Mi 3 Original Android Development] wta03dental:
Use otg helper with root explorer .

It is work for me.
[Mi 3 Original Android Development] Radrim:
It says mount directory cannot be created.

I checked support using USB OTG Checker and it works, so what is wrong here?
[Mi 3 Original Android Development] yabhuva:
I have already tried that...

Recovery is for 4.4

I am on marshmallow miui beta global

So how to do ?
[Mi 3 Original Android Development] El-Chupacake:
Can't drag down the notification on May 10 build.
[Mi 3 Original Android Development] SMOKERBUNNY:
Im Happy with this rom, but....

Why i cant get root permissions for mi apps(says i dont have root)after update my phone to first and other updates of cm13¿ Can get help¿ i wait your help....
[Mi 3 Original Android Development] mig0r:
[MENTION=5451053]linuxxxx[/MENTION] True, there is no more compass bug and screen bug. So everything works! Almost. I'm having just one little annoyance and that's a call reply screen delay: when reciving a call I have to wait like 3 seconds for screen to turn on, so that I can answer the call with a swipe...
[Mi 3 Original Android Development] gingerboy92:
i used StickMount and it mounts fine, but can't format it through the settings and all. would love to see OTG fixed properly.
[Mi 3 Original Android Development] bluviper:
can anyone charge while the phone is OFF?
[Mi 3 Original Android Development] gates89:
Yep, what's the problem?

Inviato dal mio D5803 utilizzando Tapatalk
[Mi 3 Original Android Development] Modernoid:
Anyone here facing slow charging when switching battery mode to efficiency?
[Mi 3 Original Android Development] Guiluge:
You have to enable Developer Options, and authorize root for applications : that should do the magic !

---------- Post added at 08:54 AM ---------- Previous post was at 08:51 AM ----------

Just to be sure, you charge using a USB port or on sector ?

It's always slow for me with USB (which is fine), and ok on sector (though noticeably slower than MIUI ROM)
[Mi 3 Original Android Development] bluviper:
my phone doesnt seem to charge while its turned off. no LED light

it just goes to the usual charging off stage when you see the battery icon.

then after the screen turns off, theres no LED indicator. and no response from the phone

and i need to turn the phone off for the charging to continue.
[Mi 3 Original Android Development] Modernoid:
I don't know what you mean by sector, but I'm using an original charger and the Ampere app says max input is 220mAH. Strangely this is only happen when I'm using efficiency battery mode.
[Mi 3 Original Android Development] Guiluge:
I meant using a charger, that's right

I'll try at home !
[Mi 3 Original Android Development] SMOKERBUNNY:
obvious i do but dont have root acces in apps, help it plz...
[Mi 3 Original Android Development] Guiluge:
How did you flash the ROM ? Following the official wiki ?

Since root access is a default feature, something may have gone wrong during your install.
[Mi 3 Original Android Development] linuxxxx:
Important update

From the coming days you might not be able to upgrade your cm installation anymore, because

you are running CM on the old KitKat baseband / partition layouts.

I've deprecated support for these old stuffs in order to give better support (because of

better system compatibility with newer baseband) and to be able to

ship features such as Live wallpapers, a working CMFM, Gello (once it'll be avaiable) and other minor things.

If you are still using Kitkat partition layouts / baseband I strongly suggest you to upgrade:

Visit http://bit.ly/cancroCMBaseband to know how to easily

update to mm layout / baseband without wiping your user data (you'll just need to re flash CM zip and gapps because

system partitions will be erased and "merged").

I hope you understand the reasons behind this important change.
[Mi 3 Original Android Development] diongdyh:
Hmmm how about people who used extended 1.2gb partition sizes? The zip that audahadi created to make one partition 1.2gb, the other only around 60mb. Is this method suitable for it? As quite many people are still on it since the early 2015 custom ROM days.
[Mi 3 Original Android Development] Modernoid:
Hi linuxxxx, a little question here!!

When i first install cm13, i was using this tutotial for extend my device partition layout to 1.2gb.

My question is, should i revert back my partition layout to stock miui kk and follow your tutorial, or directly follow your tutorial?

That's all, thanks for your awesome rom :D
[Mi 3 Original Android Development] linuxxxx:
In this post I'll reply to all the answer regarding my previous one.

You need to upgrade anyway. You need the new baseband and it would not fit in the old layout

You can either follow my tutorial or use the xiaomi way to upgrade, both will be fine.

As said above 1.2 extended layout will not work as the 2x 600mb layout

I'm not sure, but it should be fine

Omg, I uploaded the wrong img, thank you for the report. I'll get this fixed asap.

Edit: done

If your baseband version is mpss.di.4.0-?????? it means your baseband has already been updated from that Ivan guide

Inviato dal mio A0001 utilizzando Tapatalk
[Mi 3 Original Android Development] diongdyh:
Sorry for not asking clearly, i meant is your method able to upgrade the 1.2gb partition to MIUI MM size? The post above u asked what i wanted to say. Thanks in advance

Edit: Just refreshed the page and saw ur reply. Damn you're fast!
[Mi 3 Original Android Development] sztofel:
I dont know if its only me, but after partitions update, and rebooting to the recovery i have TWRP in Chineese. Is it possible to change it back to ENG ?
[Mi 3 Original Android Development] sushd99:
Hey [MENTION=5451053]linuxxxx[/MENTION].....I had already merged the partition using Ivans guide.....how do I upgrade baseband?
[Mi 3 Original Android Development] marko94:
Flash latest miui, after that clean flash cm
[Mi 3 Original Android Development] sushd99:
Yes I knew that...I was thinking if something could be done out of linuxxxx's zip without having to flash miui...anyways do you know whether to install global or chinese version?

Yes it is updated.....thanks
[Mi 3 Original Android Development] timtaylorxda:
device encryption

Hi,

first of all I want to thank linuxxxx and all contributors. I just installed this ROM and it is awesome! Unfortunately a very important feature is not working (at least in my case): device encryption. I followed the installation instructions step by step:

1.) I merged the partitions according to the link in the first post,

2.) I did a factory reset,

3.) I flashed the ROM (snapshot 18-04, but nightly from 14-05 showed the same behaviour),

4.) I flashed GAPPs (arm, nano version)

If I try to encrypt the device (settings->security->encrypt device) I am prompted to enter my PIN. After entering my PIN and confirming the encryption screen flashes up for a second and then the device reboots instantaneously. Of course nothing is encrypted then...

Because device encryption is in my opinion a very important feature, I want to ask, if somebody got it running, or if it's a current bug and probably gets fixed in future builds? (Or at least, if there are plans to fix it?)

Thanks in advance!
[Mi 3 Original Android Development] magatxda:
Did somebody create a bug for this in their jira?
[Mi 3 Original Android Development] Mortihead:
Does video record without software stabilization still in snap camera in latest nightly?
[Mi 3 Original Android Development] coolfire92:
Partitions

[MENTION=5451053]linuxxxx[/MENTION]

I was on the old extended layout(provided by audahadi) and tried running the files you provided.It didn't run so I have manually flashed all the files,then for good measure flashed miui mm via fast boot.I have a system partition of 1.2 GB which is the same as audahadi's layout.:confused:

I am attaching the partition layout output,can you confirm it is the desired one.Also please confirm baseband.
[Mi 3 Original Android Development] TofikLupus:
Your baseband and partition layout is correct. Don't worry, you can update.

MI3W 64GB/Tapatalk
[Mi 3 Original Android Development] rorzer:
Cannot send or receive MMS on 25th build. APN settings are correct, and it worked on cm12.1
[Mi 3 Original Android Development] digiboy1:
Hey.

Yeah that gps bug has still not been solved by linuxxx. However, I tried beanstalk MM rom... Which is based on cm13 only, in that gos lock is fast. Probably because developer of that hasnt used linuxxx's source. You can try tbat for the time being... If you have this problem.

I hope [MENTION=571465]linuxxx[/MENTION] can fix this.
[Mi 3 Original Android Development] krishsns:
I am using CM13.012201525. uptill now what I found.

Pros,

Speed and Fluid.

Deep sleep works great.

Cons,

Charging takes long time to fill the juice.

Call quality very bad.

Camera very slow.
[Mi 3 Original Android Development] blur:
what kind of bug?

gps fix was fast und routing accurate on my Mi3
[Mi 3 Original Android Development] nokiaer:
bug : CDMA no sigal
[Mi 3 Original Android Development] digiboy1:
Yes, For Mi3 gps has been working properly. It is broken for Mi4. Even in CM12.1 it was broken. Fix used to take minutes to hours and you move few steps and the fix breaks again. Terrible gps performance on mi4 in cm12.1 and in this rom too. But, just for Mi4.
[Mi 3 Original Android Development] sushd99:
Doze Settings Editor for mm..... if someone wants to play with doze timeouts

http://xdaforums.com/android/apps-games/root-doze-settings-editor-android-t3235130
[Mi 3 Original Android Development] krishsns:
People here says you can use this ROM for daily driver. But the basic function of the phone is to call it is not yet fixed. Call quality is very poor
[Mi 3 Original Android Development] i snort flour:
Call quality is great here if you can deal with a slower charge for a small amount of time until fixed it is a perfectly usable daily driver. I see you complaining in a lot of rom threads so maybe you didn't follow installation steps properly, repartitioned properly, it's a mi4 lte which is not supported here, your phone is just a lemon or not a genuine xioami phone.
[Mi 3 Original Android Development] patelumangv:
today's changlog.

seems many changes for improvement.

Someone who install please review because I am little busy.

cm-13.0-20151226-NIGHTLY-cancro.zip

cancro: init: set permissions for dynamic FPS (android_device_xiaomi_cancro)

cancro: update wcnss_xiaomi_client (android_device_xiaomi_cancro)

cancro: update otg in fstab (android_device_xiaomi_cancro)

cancro: camera: import from xiaomi (android_device_xiaomi_cancro)

ipv6: addrconf: validate new MTU before applying it (android_kernel_xiaomi_cancro)

mm: reorder can_do_mlock to fix audit denial (android_kernel_xiaomi_cancro)

__ptrace_may_access() should not deny sub-threads (android_kernel_xiaomi_cancro)

pagemap: do not leak physical addresses to non-privileged userspace (android_kernel_xiaomi_cancro)

net: fix iterating over hashtable in tcp_nuke_addr() (android_kernel_xiaomi_cancro)

KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring (android_kernel_xiaomi_cancro)

net: add validation for the socket syscall protocol argument (android_kernel_xiaomi_cancro)

bluetooth: Validate socket address length in sco_sock_bind(). (android_kernel_xiaomi_cancro)

arm/dts: Enable bam_dmux fast shutdown (android_kernel_xiaomi_cancro)

ARM: dts: Dynamic fps configuration changes (android_kernel_xiaomi_cancro)

Settings: Fix the failing strings (android_packages_apps_Settings)

audiopolicy: Handle startOutput on output command thread (android_frameworks_av)

AudioTrack: Set DIRECT track flag for direct pcm output (android_frameworks_av)

NuPlayer: Avoid one more assertion (android_frameworks_av)

libmedia: Preserve futex return status in client obtainBuffer (android_frameworks_av)
[Mi 3 Original Android Development] chandu4money:
Does any one know how to Reduce Space Between icons in home screen? Huge space wastage between icons in Android 6.
[Mi 3 Original Android Development] teddymild:
Do you mean repartition is required to flash this rom?
[Mi 3 Original Android Development] SenseiK:
That's a different story...

Extended partition is recommended

As gapps would require lot of space.

Anyways , I find the dual boot system

Useless.
[Mi 3 Original Android Development] blur:
build 12.26:

First I found: HDR fotos are working with the highest resolution.
[Mi 3 Original Android Development] hermansyah19:
great...

will try
[Mi 3 Original Android Development] sushd99:
Can you give me the links and source to extended partition and stock partition scripts. There are many scripts with different sources online, but people complain some problems after re-partition and unable to go back to stock partitions. So can you give me some working scripts.

Also can I install via fastboot on extended partition?
[Mi 3 Original Android Development] SenseiK:
There's a thread started by me in cancro General section about returning to complete stock with links in comments..might help?
[Mi 3 Original Android Development] cippa lippa:
Ueiii cm 13 official!!

Great!! Is it ok or too immature yet?

Répartition I have two zip I took from en. Miui one for 1.2 one for répartition I didn't use it yet hope they're good
[Mi 3 Original Android Development] shadab007g:
A simple advise

If you can live for few more weeks with this stock partition then wait as Xiaomi gonna merge the two partitions with MIUI MM update.

Now about cm13, you can use this official cm13 with stock partition, Thanks to [MENTION=5451053]linuxxxx[/MENTION]
[Mi 3 Original Android Development] amarjot25:
Google now on tap is not working in my mi3 but no one has mentioned it, so i guess it is working in ur phns. Any suggestions??
[Mi 3 Original Android Development] Modernoid:
Can you tell me how to manually flash all the files? Because I'm using old extended layout too, and I'm afraid i can't run the flash_all script as well.
[Mi 3 Original Android Development] coolfire92:
Flash them from fastboot mode(power + volume down).You need to open a command prompt from the "images" folder in cancro_merge_partition provided by linuxxxx.Then use these commands to flash them one at a time.

fastboot flash partition gpt_both0.bin
fastboot flash tz tz.mbn
fastboot flash dbi sdi.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot erase DDR
fastboot flash misc misc.img
fastboot flash modem NON-HLOS.bin
fastboot flash recovery recovery.img
fastboot boot recovery.img

This worked for me but please proceed with caution.
[Mi 3 Original Android Development] diongdyh:
What size is your System on Titanium Backup? The MIUI MM partition is 1.28gb right? Just wanna confirm if I've succeeded or not.
[Mi 3 Original Android Development] Guiluge:
In Titanium Backup, my MM partition is 1.32 GB (with 546 MB of free space) : I guess it's fine for you then
[Mi 3 Original Android Development] coolfire92:
Yes it is 1.28 GB.
[Mi 3 Original Android Development] pbr1111:
The build4 jenkins server runs out of space... Run Ccleaner! :)
[Mi 3 Original Android Development] Modernoid:
My laptop doesn't recognize my device in fastboot mode, it keeps saying "waiting for device".

I've already tried reinstalling my adb driver, but still get the same result :(

what do i do now? pls help
[Mi 3 Original Android Development] coolfire92:
Check if device is recognized in Device Manager, if not update device drivers. Try on another PC.
[Mi 3 Original Android Development] g_pu:
Baseband Update

I already have merged the partitions some time ago using a provided script. However, i am not

sure if this script did everything needed to use CM13. Nightliy from today (2016-05-16) does not install

due to an "unsupported baseband".

I am still on baseband MPSS.DI.3.0-. . . (MPSS.DI.4.xxx is needed)

Partition layout according to TWRP is: Boot=16MB, Cache=6MB, Data=2690MB, System=622MB

I do not want to wipe / install the MI3 from scratch .

Is it possible to ONLY update / flash the baseband ? - how ? or

can I run / flash the mentioned ZIP file with already merged partitions but keep current system (flashing Gapps again will be fine)?

Edit:

I wondered about the 622 MB TWRP showed for System . . . Therefore I did run a df -h in terminal.

Filesystem Size Used Avail Use% Mounted on
tmpfs 921M 92K 920M 1% /dev
none 921M 12K 921M 1% /sys/fs/cgroup
tmpfs 921M 0 921M 0% /mnt
/dev/block/mmcblk0p25 1.2G 624M 631M 50% /system
/dev/block/mmcblk0p27 378M 6.2M 372M 2% /cache
/dev/block/mmcblk0p28 55G 25G 30G 46% /data
/dev/block/mmcblk0p22 16M 4.1M 12M 27% /persist
/dev/block/mmcblk0p23 64M 52M 12M 82% /firmware
tmpfs 921M 0 921M 0% /storage
/dev/fuse 55G 25G 30G 46% /storage/emulated

Looks like System partition is 1.2 GB, which is what I would have expected.

So Seems that only a baseband update is needed.
[Mi 3 Original Android Development] coolfire92:
'fastboot flash modem NON-HLOS.bin' should update the baseband. Download it from the zip linuxxxx has provided.
[Mi 3 Original Android Development] wta03dental:
Can I still restore MIUI7 kitkat from Nandroid backup after updating baseband. Please answer me. Thanks.
[Mi 3 Original Android Development] Guiluge:
I guess it *might* work, but without any guarantee.
[Mi 3 Original Android Development] 3cHeLoN:
Reset when called

In the nightly of May 15, my phone reboots itself when I receive a call. I tested this by calling myself from a landline phone.

I think this is an old bug and might have something to do with the baseband. I installed CM from MIUI Global 6.4.14 (beta) that uses baseband: MPSS.DI.4.0-63d722f.

This bug does not exist on MIUI.
[Mi 3 Original Android Development] Guiluge:
My baseband is exactly the same as yours, but I can't reproduce your issue : I just called myself using a wired phone too -> no reboot at all.

I'm using native settings (balanced), native kernel, no tweaks or Xposed installed.

Did you install CM following the official wiki ? Maybe you forgot to clean some of your partitions.

Any custom kernel too ?

And, finally, does it occur everytime, or randomly ?

---------- Post added at 01:53 PM ---------- Previous post was at 01:51 PM ----------

By the way, I'm using yesterday's nightly (May 16) : there was no nightly released on May 15, I guess you're using 14 (or 16).