yashsingh1/xdaforums huggingface dataset:
[Mi 3 Android Development] diongdyh:
Some battery updates especially for you [MENTION=2536878]sgcko7[/MENTION] :p

This is only the first cycle which is supposedly worse than usual. 0708 AOSP build (0708 CM build is not bootable)

No wakelocks blocked, no kernel settings changed except vibration strength. The reason I'm not posting 100 to 5% is that I don't drain my battery to below 40%. So do the maths and estimate.

Usage patterns:

Location off all the time, except when I'm using Snapchat. Whatsapp, Twitter, Instagram and some YouTube. Around 30 minutes of listening to music on speaker and 1 hour on headphones. I uninstalled the built-in V4A and Dolby Atmos with Titanium Backup since Dolby does nothing but force close and V4A is not my favorite. Brightness close to 0 because I'm always indoors. Battery drain overnight 2%. Data on for around 1 hour. Wi-Fi on for around 8 hours.
[Mi 3 Android Development] sgcko7:
BIG THANKS!

I was looking especially for this answer! Many thanks again :)

maybe one more thing. Everyone is speaking about baseband update mine is: MPSS DI 4.0-24FEAF3 am I ok with that? TY

EDIT: Gapps used by you? Which version of SuperSU? Any other flashable things I should know about?

Have a nice day bro
[Mi 3 Android Development] diongdyh:
Yes your baseband is fine as long as it starts with 4. BaNkS Dynamic Gapps. The ROM includes the latest SuperSU 2.76 which was released only last week, so you only need to flash the ROM itself and Gapps. Official Xposed v86 works also. In case you're wondering, the flashing order should be: DU>Gapps>Xposed. SuperSU 2.76 has fixed some RAM issues so that could be the reason that the battery life has improved so much. In a nutshell, just flash DU and Gapps (preferably BaNkS) and enjoy.
[Mi 3 Android Development] sgcko7:
Good post, will try it out as soon as possible :)

EDIT: Theme name? Maybe link? ;)
[Mi 3 Android Development] diongdyh:
Coalfield. You can search for it on the Play Store.
[Mi 3 Android Development] Shahan_mik3:
I released both after testing both booted as per a tester...will flash and chk
[Mi 3 Android Development] vinaysp:
it has been moved to gestures since last build though its not working

i think the kernel is not 2.4 ZX as it has more than 1 cpu hotplugs
[Mi 3 Android Development] vishal24387:
[MENTION=5162591]Shahan_mik3[/MENTION]

Finally I found a way to fix almost every bug related to slow motion video recording etc. I think its related to libs and drivers. Look for my post here.

http://xdaforums.com/showpost.php?p=67655654&postcount=1402

So I tried to find similar device having same camera with sensor with exact cpu hardware. And guess what its LG G2. And its has hell lot of camera mods :D For eg like this one which will be useful for aosp based roms.

http://xdaforums.com/lg-g2/devs-only/port-lg-framework-lg-g2-aosp-t3358361

We just need to find a way to import drivers and libs and with support of kernel modification we will have superb slow motion vdo recording with some bonus things from lg g2 mod ;)
[Mi 3 Android Development] neodante:
Could you share this libs files fixed to Shahan ( or others devs for him build that on his roms ?
[Mi 3 Android Development] vishal24387:
I have already posted link in my above post. On that thread attachment is provided which have all libs.
[Mi 3 Android Development] cyberbbc:
Thanks!

It is great rom. Used since having htc m7. Can I make a donation? Thanks!
[Mi 3 Android Development] Shahan_mik3:
Lol feel free :D if u get any prob pm :)
[Mi 3 Android Development] Mizta_Rshn:
hai .. im new to Dirty Unicorn.. which one should I download .. the aosp or cm ?? :confused::confused::confused::confused:
[Mi 3 Android Development] diongdyh:
The AOSP version is more stable but the cm has better battery life. To my testing, the latest cm build doesn't boot up, so just use AOSP at the moment and switch later if you prefer.
[Mi 3 Android Development] vinaysp:
facing SOD on latest aosp build
[Mi 3 Android Development] diongdyh:
Haven't faced a SOD on the latest AOSP build. However i faced a weird shut down after i woke up from an 8-hour sleep. Went to sleep at 100% battery, woke up, had to hard reboot and there is only 56% left. This is also present in the previous build.

Edit: stock kernel and settings.

Edit 2: all wake controls are off.
[Mi 3 Android Development] neodante:
See the wakelocks
[Mi 3 Android Development] netrox91:
Using this Rom with my Xiaomi MI4. At first everything was working fine but after using it for one day i experienced the issue that my device wakes itself up (in my pocket). So i was wondering how to disable double tab to wake up because i think that's the matter.
[Mi 3 Android Development] vinaysp:
thanks. switched to CM version. will see how it goes. proximity sensor is not working by default so using GB module. which version of miui should i flash to cover that issue.
[Mi 3 Android Development] neodante:
I don't know about how to fix the sensors problems.
[Mi 3 Android Development] diongdyh:
Download Kernel Adiutor from Play Store. Open and grant it root access and go to the Wake Gestures section by swiping right to open the menu. Then disable DT2W.
[Mi 3 Android Development] netrox91:
Thanks! That worked. Such an easy way to fix the problem :good:

The next problem i'm facing:

I can't get a mobile Internet connection. I set it to 3g, changed the APN to web.vodafone.de and picked the right Provider. I set my phone to plane mode and restarted it but nothing helped. I had the same problem when using the CM13 nightly. I'm using the AOSP Version of DU right now.

UPDATE:

Okay. I think i fixed the last issue. I dialed *#*#4636#*#* and set my data connection to "GSM/CDMA auto" and in the three dot menu i selected "Enable data connection". Hope i can help someone facing the same problem
[Mi 3 Android Development] diongdyh:
So i tried to change CPU Governor to conservative and max CPU Frequency to 1.5gHz.

Phone is awake and running at max frequency while i was sleeping. Lots of kernel wakelocks that i haven't seen before with stock settings. Looks like a bad idea :p
[Mi 3 Android Development] vishal24387:
No matter what DU rom (aosp or cm) I use definitely that vdo bug exists. It means something wrong with sources used for building DU rom. Using RR rom. No vdo bug at all.
[Mi 3 Android Development] neodante:
What's vdo ?
[Mi 3 Android Development] Miguelo210:
Video? I think he talk about slowmotion video recording.
[Mi 3 Android Development] vishal24387:
Unable to record at 480 resolution and slow motion motion vdo recording.
[Mi 3 Android Development] Miguelo210:
It Is possible put more volume steps for ear more low in a bluetooth speaker?
[Mi 3 Android Development] Jay sharma:
could someone plz tell weather about phone>status>sim status bug is fixed on either of cm or aosp builds?
[Mi 3 Android Development] vinaysp:
[MENTION=5162591]Shahan_mik3[/MENTION] bro please fix the network issue in next build of CM version. cant use 3g
[Mi 3 Android Development] Shahan_mik3:
Fixed
[Mi 3 Android Development] vinaysp:
great great. will be waiting for ur next build as usaual:):)
[Mi 3 Android Development] vishal24387:
Buddy I need a small info. Is AOSP based rom's MTP driver different than CM based roms's MTP driver?? My pc detect phone in MTP mode when using aosp based rom but when using phone with CM based rom then my pc shows unknown device and not able to install/detect MTP drivers.
[Mi 3 Android Development] Shahan_mik3:
no maybe an issue in ur pc.
[Mi 3 Android Development] Rebelpriest:
Hey install the DU Aosp version

Battery drain in standby was perfect 5-6 hours :3% drop WiFi ON

But I don't know why WI-FI shows ON even I turned it off.wifi location scanning is already off.

Kindly help me out with this.

Battery dropped from 40 to 20% in an instance

Was on CN dev 6.7.28 ,did a factory reset and installed the ROM n gapps
[Mi 3 Android Development] diongdyh:
Happened to me as well. But I don't see much battery drain so I didn't bother.
[Mi 3 Android Development] Rebelpriest:
Looks better now, post mkaing the below changes

Had to do lot of reading

Changed the WIFI settings > advanced settings > freq > 2.4 GHz

Location > WIFI scanning disabled

FC Clock app

Reset Network settings from Backup & reset , So currently its a happy state.

Just want to know [MENTION=5162591]Shahan_mik3[/MENTION], is quick unlock removed or not added to code ?

I was able to use it on RR Rom MM on Mi3 & i9100
[Mi 3 Android Development] sajed98:
Hey, um, looking to flash this ROM, looks awesome, but can anyone tell me what it means by OTA in the title? Thanks.
[Mi 3 Android Development] Rebelpriest:
OTA - Over The Air

That means when ever the Dev will create an update & push it via update servers.

If your phone has working internet, it will check for the update & will download the latest build created.

That means you will have this feature which is used by brands like samsung,apple etc

You will not have to check for update by visiting the thread to know the whether new buiild is created for users or not.

I hope that explains
[Mi 3 Android Development] sajed98:
Ok... But will it be Delta updates? Like does the updater downloads the whole ROM, or just the changes?
[Mi 3 Android Development] Rebelpriest:
Deltas not the whole rom
[Mi 3 Android Development] vinaysp:
When is the next build releasing. I know we should not ask for ETA but curious
[Mi 3 Android Development] vishal1404:
And still you are doing it .... Wow
[Mi 3 Android Development] vinaysp:
1 build of 31 july shared in a TG group https://telegram.me/cancroroms so wanted to know
[Mi 3 Android Development] sajed98:
What are the differences between CM and AOSP builds? Please explain.
[Mi 3 Android Development] coolfire92:
See here
[Mi 3 Android Development] sajed98:
Dude. I know what it means. I'm asking what it means in this particular ROM. Like is there any performance differences, bugs etc.
[Mi 3 Android Development] diongdyh:
CM version: Uses CM kernel, great battery life & has awesome Bluetooth audio bug.

AOSP: Uses Zx kernel, below average battery life, some random reboots once in a while, no Bluetooth audio bug.
[Mi 3 Android Development] sajed98:
Ok. Thanks. This is what I was looking for. Thanks a lot!
[Mi 3 Android Development] diongdyh:
Will there be an update soon? Planning to switch back from ZephyrOS. *breaking XDA rules*
[Mi 3 Android Development] miss:
this latest version of ROM, gives Mac bug: CM 00.00.00.a5.ad bluetooth

the previous version of this rom does not have this bug
[Mi 3 Android Development] neodante:
It's depends of the kernel.
[Mi 3 Android Development] Rebelpriest:
Has any1 faced this issue ?

Whenever i put my phone in pocket & take it out (No buttons touched) screen gets awake.

I havent changed any settings , On stock.

Is there any settings i can try changing to see if that might work.

TIA
[Mi 3 Android Development] diongdyh:
I assume you're on the AOSP build.

Download Kernel Adiutor from the Play Store, open the app, swipe to the right to open a menu, go to Wake Gestures and disable Double Tap to Wake. It is enabled by default so you'll have to disable it manually. Remember to tick Apply On Boot to get the settings set even after rebooting.
[Mi 3 Android Development] Rebelpriest:
Thanks that was my guess too.

As i cudnt find any setting anywhere.

post installation i was planning to install Kernel Adiutor but skipped it.

Will do it as i am on AOSP build
[Mi 3 Android Development] vinaysp:
I think it's proximity sensor issue. Try to unlock phone with sensor closed n see. I have the same issue.
[Mi 3 Android Development] diongdyh:
You can install Xposed on any ROM. Make sure you download the correct version.
[Mi 3 Android Development] marko94:
Awesome rom, just perfect.. No bugs ,only one in OP.. But I know that dev will fix that soon :)

here are some ss from that beauty :D

Theme name : LONE ELITE by Federico Porcu
[Mi 3 Android Development] fluster84:
Hi, can i flash this directly on new miui mm partition?
[Mi 3 Android Development] marko94:
Yes u can :) I am on it, no problems.. But make clean flash
[Mi 3 Android Development] DutchMan_1990:
There is another BUG with snap camera, image orientation has busted.
[Mi 3 Android Development] saxmydix:
theme manager force closed after applied theme, anyone having the same bug?
[Mi 3 Android Development] marko94:
Same for me after first clean flash.. After that I again clean flashed ,and all works fine..after boot if you go to settings and it is blank don't touch anything and wait for the FC... Then SuperSU will ask to grant access to settings :)
[Mi 3 Android Development] fluster84:
Cannot connect to my pc (Windows 8.1) in MTP mode. It keeps connecting and disconnecting rapidly. I tried connecting with different usb cables and different usb ports but didn't help. Anyone had this problem? Any fix for this?
[Mi 3 Android Development] DutchMan_1990:
I have checked with couple of themes like exo UI, liv and pitch black, but didn't find any FC.
[Mi 3 Android Development] Nigam666:
Had posted this on the Broken ROM thread a couple of days ago. Hope it works for you.
[Mi 3 Android Development] fluster84:
It worked!! Thanks a lot dude :)
[Mi 3 Android Development] neodante:
for this reason had to uninstall the previous build,,,, I thought that on the new build will be fix it. [emoji17]
[Mi 3 Android Development] sgcko7:
How can I disable search bars in homescreen, drawer. And Im unable to set custom sound for the alarm...
[Mi 3 Android Development] fluster84:
I set custom sounds (mp3 files) for the alarm this way -

After setting the time, tap on the sound name (Oxygen is default) and then a new window pops-up.

In here select the Source as "Music File", and then tap the sound name

choose "Documents" when the bottom pops-up asking to Select audio

Tap the button with the three horizontal bars on the top-left and Open From "Internal Storage"

Browse to where your file is and you are done.

Btw, I would also like to know if there is way to disable the search bars in homescreen etc.? I never use it, and its just taking up valuable screen space.
[Mi 3 Android Development] a.broken.star:
FM Radio app force close.. Any fix ?

Also, torch quick tile does not appear in quick settings.
[Mi 3 Android Development] marko94:
u mean this ? :P
[Mi 3 Android Development] Shahan_mik3:
FM yeah will fix later
[Mi 3 Android Development] saxmydix:
Weird, because its happen to me even changed to system theme, will try to get log when i get home. Thanks for your good work so far. :good:
[Mi 3 Android Development] Fikshun:
disable or uninstall Google app
[Mi 3 Android Development] diongdyh:
DU 10.5 is out! Hoping it to come to cancro as well. :D
[Mi 3 Android Development] neodante:
Ummm ? I am not sure that, Shahan seems to are busy cause we are waiting a new Darkobas build from days.

Edit : fresh update just now ?
[Mi 3 Android Development] Shahan_mik3:
New CM based build up:

* fixed network switch

* upstream changes and aosp r62 tag

for more http://gerrit.dirtyunicorns.com/#/q/status:merged
[Mi 3 Android Development] diongdyh:
I can't find it in your AFH profile. Can you check for me?
[Mi 3 Android Development] Shahan_mik3:
https://www.androidfilehost.com/?fid=24591000424952037
[Mi 3 Android Development] MikhaG:
thx U still update this rom Mr. Shahan
[Mi 3 Android Development] vishal24387:
My suspect is old drivers in windows xp os in my old pc. I can't upgrade it to win 7 due to non-compatibility of hardware. AOSP rom's drivers support it xp but not CM based rom's drivers.
[Mi 3 Android Development] teodos:
I was so long on AOKP and I loved it but in one of the updates I kept on getting some problems. Automatic rotation won't work now when someone calls me the phone screen won't turn on. So I decided to give a try with dirty unicorn I did a clean install now the rotation is working but the phone bug is present here as well. When someone calls me the phone screen won't turn on. Please help me......
[Mi 3 Android Development] dheztafaq:
Try this method, its work for me in aokp rom

http://xdaforums.com/xiaomi-mi-3/general/guide-fix-sensors-t3257448
[Mi 3 Android Development] teodos:
Thank you very much! It did fix the problem!
[Mi 3 Android Development] Rebelpriest:
Bro, upgrade your Windows, you are majorly missing all the compatible drivers.
[Mi 3 Android Development] vinaysp:
hello bro. R u using mi3 or mi4. can u pls share the persistnew.img here the link is not opening on my laptop
[Mi 3 Android Development] vishal24387:
Ya...I know that. But I tried it. Due to non-compatibility of hardware win 7 can't be installed on my pc :(
[Mi 3 Android Development] Rebelpriest:
Time to upgrade to the System hardware.

Even Microsoft has stopped supporting MS XP.

God knows how you surviving with it in current state.
[Mi 3 Android Development] teodos:
I am using mi4 I downloaded with my phone. You just have to have. I can't share it because the file is 16 my but the max that can be uploaded is 8 mb. Try with your phone it will work 100% you will have to download mega space application in order to downloaded it that is all.
[Mi 3 Android Development] Shahan_mik3:
Or add it to Dropbox or drive and link.
[Mi 3 Android Development] vinaysp:
Prevent accidental wake up setting is missing. I don't know if it existed earlier or not.

But is seen in settings search

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

Okk thank u. I got it downloaded from the miui forum.
[Mi 3 Android Development] teodos:
Well unfortunately the bug persistent. It worked for some time now rotation is still not working properly it worked for a couple of hours so keep in mind this is not a permanent solution. This bug is so ooooo annoying. I try to make a fresh install and anything I could think about nothing has worked I even flashed diffferent roms still the same.
[Mi 3 Android Development] Shahan_mik3:
Removed
[Mi 3 Android Development] naruse99:
im using latest version DU

but no sound notification from LINE messenger, whats wrong?
[Mi 3 Android Development] Rawwr:
is it me or anyone facing stutter in animations on DU cm build ?
[Mi 3 Android Development] Rebelpriest:
Hey [MENTION=5162591]Shahan_mik3[/MENTION],

I know you must be busy with builds but any idea when the DU AOSP build users will be happy ?

*going against XDA rules
[Mi 3 Android Development] Shahan_mik3:
Actually yes I was busy and had to fix this network switch bug in cm build....will do it this week most probably 10.5.
[Mi 3 Android Development] Rebelpriest:
Thanks For the reply.

I'm sure your post will help the impatient AOSP build users :D :good:
[Mi 3 Android Development] teodos:
did someone find a fix for sensor problem? I tried the method provided some post back but no success. At first it seems to work and then when phone go to sleep and i use it after that the sensors are not working. Even worse the phone keeps on rebooting by itself. I did try to make a clean flash but the problem is still here. Can some suggest any possible solution? The phone kind of gets unusable also the battery life is super bad as well. Someone ?
[Mi 3 Android Development] vinaysp:
Take du backup via twrp in a otg pen drive. Wipe all flash latest fastboot ROM then flash twrp again n restore the earlier backup.

It worked for me.

---------- Post added at 05:59 AM ---------- Previous post was at 05:57 AM ----------

Realised that the problem was not with sensor but missing this option.
[Mi 3 Android Development] detro690:
how to revert from aokp 6.0.1 to miui 8

how to revert from aokp 6.0.1 to miui 8. Ty
[Mi 3 Android Development] askor:
It's too difficult man. You have to download miui 8 and flash it via TWRP (with doing wipe dalvik/cache/system and date before flash). Better stay on AOKP if you don't study IT for minimum 4 years.
[Mi 3 Android Development] Shahan_mik3:
New builds will be up soon:

Changelog:

*Hw keys disabler added

*fix CVE-2016-5340

[B]Version 10.5[/B]

- Lots of translations
- Update to Android 6.0.1_r62
- New DU logo for QS navbar/fling tile and keyboard
- Added revert recents in OmniSwitch
- Bring back basic group support
- Enable support for groups in External contacts accounts
- Sync citylist handling with upstream in DeskClock
- Fix crash when no storages are available
- Fix concurrent access to mStorages
- Disable all ListView and GridView selectors in OmniSwitch
- New DU logo everywhere
- Added ability to change location sensors mode in quick settings
- Added Solid bar sanity levels and Lavalamp anim speed
- Fix lock insanity with ActivityManager
- Fix and remember state with OmniSwitch's launcher mode
- Allow immersive options for Slim Recents
- Move LockClock up per request
- Fix notification panel can't hide in statusbar
- Enable camera hal v3 interface
- Disable cellular networks settings menu if airplane mode is enabled
- Set upper limit of 40 FPS on Pulse's renderer drawing
- Added Proximity wake on selected devices
- Fixed NPE in Messaging app
- Add tabs transitions effects in DirtyTweaks
- Add a blank footer to System app remover
- Add ability hide/show app launcher icon for OmniSwitch
- Make sure screenshot Qs and power menu icons match
- Fix volume timeout derp
- Get rid of ugly dialog in radio info
- Adjust padding between battery icon and text
- Add CPU info overlay
- Add backup services to the whitelist after the android-6.0.1_r54 merge
- Remove navigation bar option in Extended desktop settings conditionally
- Pulse 2.0 Advanced Audio/Visual Rendering
- Fix SmartBar alpha when pulse enabled and music paused from lockscreen
- Update DU Certified to v2.3

For a more detailed change log, check http://gerrit.dirtyunicorns.com/#/q/status:merged,n,z
[Mi 3 Android Development] detro690:
I am not able to flash miui8 on top of aokp [MENTION=2119832]shahan[/MENTION]s build. Flashing through twrp
[Mi 3 Android Development] askor:
Uncheck system in mount section maybe

Wysłane z mojego MI 4LTE przy użyciu Tapatalka
[Mi 3 Android Development] vinaysp:
Flash via fastboot. You can't flash miui via recovery of partition values are changed
[Mi 3 Android Development] mdfarazb2:
+1
[Mi 3 Android Development] Shahan_mik3:
*all Critical Quadrooter Vulnerabilities should be fixed in todays build
[Mi 3 Android Development] biepurity:
worthed to wait :)
[Mi 3 Android Development] neodante:
What is quadrooter ?
[Mi 3 Android Development] vishal24387:
http://m.gadgets.ndtv.com/mobiles/n...itical-quadrooter-vulnerability-report-870444
[Mi 3 Android Development] Shahan_mik3:
Both the builds are up
[Mi 3 Android Development] neodante:
Amm ? ****! Hope that fixed it on all smartphones soon.
[Mi 3 Android Development] mdfarazb2:
In almost every roms I'm facing random shutdowns and then bootloop...Power button becomes extremely sensitive which causes to open Power button boot menu options even on a slight touch..After this ph shutdowns and bootloops..but after that it won't happen but after sometime(2 - 3 times in a day) it again Repeats it...any one facing same issue? Should I flash some custom kernel or what? Btw Currently using Hexagon-Stock kernel...TIA..!!!!
[Mi 3 Android Development] Shahan_mik3:
Get ur power key fixed
[Mi 3 Android Development] mdfarazb2:
Oops!! Hardware issue??

---------- Post added at 04:59 AM ---------- Previous post was at 04:52 AM ----------

Ok one more question , (off topic) If I want to get miui 8 global stable build (probably later this august) VIA OTA(updater) then which rom should I've to be on- MIUI8 Global Beta or MIUI 7.5(Which ia currently global stable..v7.5.1.0)? TIA!!!
[Mi 3 Android Development] detro690:
Links for 10.5 ?
[Mi 3 Android Development] MikhaG:
https://www.androidfilehost.com/?fid=24671318762848572

https://www.androidfilehost.com/?fid=24671318762848570
[Mi 3 Android Development] detro690:
Hey. Which one is better. Cn or aosp?
[Mi 3 Android Development] neodante:
For me aosp
[Mi 3 Android Development] detro690:
Any suggested gapps package for cm rom