yashsingh1/xdaforums huggingface dataset:
[Mi 3 Android Development] Shahan_mik3:
1. Audio FX will be/has to be disabled in rr and caf due to Dirac

2. Don't generalize rom. Our roms are nowhere same as all other cancro roms. Which are same based on official cm

3. We r using miui's Dirac audio (no other mi device custom roms have it) and this is the best we can do.
[Mi 3 Android Development] Prashanth Meesara::
I didn't knew about Dirac thing. And i am not generalizing this ROM with other roms. RR and DU are my first preferred roms for cancro. And device does not heat up which is big thumbs up.
[Mi 3 Android Development] Shiroyasha21:
Speaker volume too low for call and music, can increase it?
[Mi 3 Android Development] shabeebpv:
Enable dirac from sound settings.. Disable audio fx..(touch the green slider in audio fx)
[Mi 3 Android Development] Shiroyasha21:
I think dirac only work on headset not for speaker
[Mi 3 Android Development] shabeebpv:
No..disabling the green thingy increases speaker volume too..(in my cancro)
[Mi 3 Android Development] vasishath:
Xiaomi has artifically increased speaker sound using dirac.. So for speaker, it increases output and for headphones it adds headset effects.

Otherwise the original speaker audio is very poor in mi3 and 4
[Mi 3 Android Development] :
Does that mean that I can have only one (AudioFX or Dirac) active at any point of time? Using AudioFX equalizer automatically disables Dirac sound effects by default even if Dirac is on?
[Mi 3 Android Development] vasishath:
Yes.. Dirac uses global audio session while audiofx uses per app audio session.. Both can't go together
[Mi 3 Android Development] ukicar:
Ok guys, I use 31.08.2017 build and I get the message from fm radio .. "its temporary available". Simply does not work is there a solution? .. It's the same with experimental build. Mi4 LTE
[Mi 3 Android Development] lazye53:
There is too much kernel wakeup and the battery life is very poor. So I will stay away from this for a long time.
[Mi 3 Android Development] rohitdave:
Try Bacon camera,

Dont set shutter speed below 1.5 seconds as the app crashes at 2 seconds shutter speed.

Like Freedcam you have RAW processing, unfortunately Freedcam still does not work on Nougat.
[Mi 3 Android Development] lokesh.acm:
Hi. Got it working on 7.1 Nitrogen-OS-cancro-20161204

Everything except the manual White Balance works. Not working on new builds. I've hit up the dev of Freedcam too.
[Mi 3 Android Development] Shahan_mik3:
Dude what r u telling..chk whats is draining it's not kernel

Last I charged was 3 days back
[Mi 3 Android Development] oL00No:
Impressive statement, seeing as I have 108 apps installed, always have all services on, and the phone sleeps like a baby. You have a problem, and it's not the work of shahan.
[Mi 3 Android Development] Pallmalli:
Your should have a rogue app. Check my screenshots. All is normal.
[Mi 3 Android Development] giobooo:
Guys what would you suggest to decrease generated heat? Should I change the governor to conservative or something like that? Would it make a difference? These days are particularly hot and sometimes it's unbearable to even touch the phone. I'm using the latest experimental which by the way is way cooler than the previous release version.

Inviato dal mio MI 4LTE utilizzando Tapatalk
[Mi 3 Android Development] :
Honestly speaking - you can't do anything about it. It's how things work in nature. Every phone produces heat when performing an intense task such gaming/continuous typing/multitab browsing. This occurs with OnePlus, Samsung, Xiaomi and even iPhones. Your ambient room temperature is also an important factor influencing your phone heat.

Things you can do to reduce heat - switch off mobile data (use WiFi), switch off location services, use lite versions of heavy apps whenever available.
[Mi 3 Android Development] lokesh.acm:
Need help. Media files not showing up on phone gallery or music app but i can access them via file explorer. I connect it to comp i can't see them but drivers are proper and the comp shows mi3w and i can see internal storage is there with amount of storage used displayed.But if i go into that, nothing shows. White screen. I boot into twrp and here i can see all the files. Checked to see if any .nomedia files were present and i also cleared data for media storage and disabled and rebooted and re-enabled and rebooted again. Could not solve prob. So i wiped EVERYTHING and copied all my files back when phone was in twrp itself. After flashing i the same prob persists. Any idea? I will wipe everything and this time copy files after i boot into OS instead of transferring everything when in twrp only. Any other suggestions?

EDIT: Did a clean flash and copied stuff after booting into OS. All is wel again.
[Mi 3 Android Development] sugnuf:
BT problem

Hi,

looks like I got same problem, can't turn on BT in options. Device Mi4W, dmesg in attachm.

This lines are suspicious:

[ 301.758924] init: Starting service 'hciattach'...
[ 304.919415] init: Service 'hciattach' (pid 9060) exited with status 1
[ 310.318576] init: Service hciattach does not have a SELinux domain defined.

There are few more denies in log....

Rolling back (vid dirty flash) to version from 25-07 solves problem. Version from 31-07 got the same problem.
[Mi 3 Android Development] Shahan_mik3:
What happens if u try to turn it on multiple times?

Anyways thnx will be fixed in next build hopefully but m not facing it though it's working fine on my mi4
[Mi 3 Android Development] lazye53:
I have a lag on my device and can not you see that 268 MHz frequency is never used.

I have no other problems for now. ( build 02.08)

Edit: 268 mhz frequency working.
[Mi 3 Android Development] sugnuf:
Switching multiple times didn't help - well maybe i did try not enough times ( 5 or 6 max).

These messages appeared after i tried to turn on BT:

[ 284.512944] type=1400 audit(1502122567.116:611): avc: denied { read write } for pid=8891 comm="hci_thread" name="smd3" dev="tmpfs" ino=7351 scontext=u:r:bluetooth:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[ 284.513515] type=1400 audit(1502122567.116:612): avc: denied { open } for pid=8891 comm="hci_thread" name="smd3" dev="tmpfs" ino=7351 scontext=u:r:bluetooth:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[ 284.517095] type=1400 audit(1502122567.120:613): avc: denied { ioctl } for pid=8891 comm="hci_thread" path="/dev/smd3" dev="tmpfs" ino=7351 ioctlcmd=540b scontext=u:r:bluetooth:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1

Anyway thx for future work !
[Mi 3 Android Development] xdarkstar:
Lowest is 300 in 31/7 build :confused:
[Mi 3 Android Development] Shahan_mik3:
Uploading build in sometime chk in that and lemme know if it is fixed coz I can't check in mine as it's working fine.

Turn on bt and wait for mins to confirm
[Mi 3 Android Development] Prashanth Meesara::
can you tell which apps you removed from mi-globe rom?
[Mi 3 Android Development] ydd0ras:
First on the ROM Builder (on mi-globe homepage) I have cooked a build without mail app, weather app and more. After the download I've decompressed the ROM and removed the gapps (in order to flash microG). Then I have removed MI Remote, MI Video, Mi Browser, Mi Gallery and added some apps like a gallery app from F-droid, added TugaBrowser, SatStat and few other apps. Zipped it again and flashed. That's it.
[Mi 3 Android Development] Shahan_mik3:
New test build up:

Bump to 5.8.4

bt not turning on for a user (I cant check as its working fine for me. turn it on for and wait for some time)

aug security patch

AppOps: Fix yet another deadlock

Frameworks Cleanups

pocket: introduce pocket bridge

policy: introduce pocket lock

pocket: introduce pocket judge

base: Introduce Accidental Touch

frameworks: PIE 3.0 (nougat)

for complete changelog https://github.com/ResurrectionRemix/android_vendor_resurrection/blob/nougat/CHANGELOG.mkdn

Download:

https://sourceforge.net/projects/re...8.4-20170808-cancro-Experimental.zip/download
[Mi 3 Android Development] 3d360:
Shahan please add snapdragon camera(as a default one) in the next build if you can that will be good and if possible the 3.10 kernel i mean if it is stable anyway thanks...:D

---------- Post added at 02:07 PM ---------- Previous post was at 02:06 PM ----------

I just missed by some 20 to 30 sec there oh no:crying:
[Mi 3 Android Development] fanatcom:
Not working bt, does not turn on ((

Отправлено с моего MI 4W через Tapatalk

http://cloud.tapatalk.com/s/5989b98a12472/2017-08-08-16-14-50.txt
[Mi 3 Android Development] sugnuf:
In this build it take some time to get BT working, few clicks on icon/switch and after some time (2-3 min) BT started - strange. After this I can disable/enable BT immediately. Do You have any explanation for this behavior?

Beside still same denies in dmesg as in previous build.

Tia.
[Mi 3 Android Development] Shahan_mik3:
Yes this is due to recent changes we made in ramdisk
[Mi 3 Android Development] Shahan_mik3:
Snap cam = modified Snapdragon cam
[Mi 3 Android Development] shabeebpv:
What is pocket judge,pocket lock pocket bridge..is it related to ambient display?
[Mi 3 Android Development] Shahan_mik3:
Not sure it was added from aospa yesterday..
[Mi 3 Android Development] 3d360:
Shahan will u please tell us when is that mm kernel 3.10 going to come this rr from just a timeline maybe????
[Mi 3 Android Development] oL00No:
No ETA on XDA. Just so you know for the future. Welcome to the forums.
[Mi 3 Android Development] Shahan_mik3:
3.10 soon™ . Mm kernel? The present kernel is based on lastest mm caf tag oly los kernels r kk based
[Mi 3 Android Development] rohitdave:
Hi

Running RR build date June 14 with Magisk and Nanomod MicroG

When I open Sound in Settings app it crashes.

Settings is rooted in Magisk.

Phone MI4 W

Sorry not sure if this is the correct place to post this since I have MicroG installed.

Appreciate any help.

Thanks.
[Mi 3 Android Development] ImmovableObject:
Did you install ARISE Sound or any sound mods?
[Mi 3 Android Development] rohitdave:
Removed

---------- Post added at 10:23 AM ---------- Previous post was at 10:21 AM ----------

[/COLOR]

Yes Viper4Arise is installed
[Mi 3 Android Development] ydd0ras:
Yeah, that's why your settings app (sound) is crashing.
[Mi 3 Android Development] rohitdave:
What can I do about it :)
[Mi 3 Android Development] ydd0ras:
To uninstall Viper. Unfortunately.
[Mi 3 Android Development] ImmovableObject:
uninstall viper4ARISE.

You can install viper4Android. Some people said it works without conflicts with the Dirac on this rom.

ARISE sound system modifies a lot of system files and breaks the Dirac sound (ported from miui) in this ROM, which causes the sound settings to crash.
[Mi 3 Android Development] Shahan_mik3:
For SuperSU users...

https://xdaforums.com/apps/supersu/suhide-lite-t3653855
[Mi 3 Android Development] xSmart007x:
yes I'm using viper4android without any conflict with the dirac sound
[Mi 3 Android Development] ImmovableObject:
For people who got issues with Magisk, or choose to use SuperSU with this ROM, but desperately needs to pass SafetyNet, there's good news:

https://xdaforums.com/apps/supersu/suhide-lite-t3653855

Chainfire is developing a way for SuperSU to pass safetynet checks.

This uses SuperSU, and his new suhide v1.0 app.

Note that this is still in experimental stages.

Disclaimer: I haven't tried it. I'm still using Magisk 13.3.

EDIT: Failed to see that Shahan_mik3 already posted about it. lol
[Mi 3 Android Development] Iceman:
Hi Shahan,

I failed to flash suhide lite...due to because miss this step from supersu suhide thread OP page...I have no idea how...please guide / advice. Thanks bro:)

Installation

First make sure you are using SuperSU in SBIN mode on Android 6.x and 7.x

- Boot into TWRP

- adb shell

- echo "BINDSBIN=true">/data/.supersu

- Reflash SuperSU v2.82 SR2 or newer

- Reboot into Android at least once
[Mi 3 Android Development] hari_hazz:
How can you use magisk without google play services crash???
[Mi 3 Android Development] ImmovableObject:
Flash Magisk 13.3 using TWRP. My Google Play services didn't crash. But, you cannot use magisk hide, and even if you do, it will never past SafetyNet checks, because of the Linux kernel version we have. It is simply not supported, as explained many times before on this thread and the magisk threads.

Other than that, MagiskSU and modules just works.
[Mi 3 Android Development] ydd0ras:
Hmm, I am using Magisk as well, but with microG instead gapps. And I can always pass the SafetyNet. With NOS, RR, Citrus-caf, Desolation, etc.

View attachment 4237449
[Mi 3 Android Development] ydd0ras:
Maybe this help you

View attachment 4237450
[Mi 3 Android Development] lazye53:
When will I solve the problem that I have been living in about 1 year?

The volume of the microphone on the handset and speaker is very low.

I also have difficulty in hearing from the other side.

This is not a problem with Lineageos-based rum. But unofficial RR, Nitegeon os and Dirty Unicorns in ROMs were also present in this problem, please no longer solved a very boring problem ... [MENTION=5162591]Shahan_mik3[/MENTION] [MENTION=5579787]vasishath[/MENTION]
[Mi 3 Android Development] Shahan_mik3:
Very boring problem is ur assumption....coz u told issue is not present on lineage tree etc then how is it present in Du? coz it is also based on lineage tree etc.
[Mi 3 Android Development] lazye53:
Will it be resolved in the next update? :(
[Mi 3 Android Development] webshocker:
Bluetooth speaker is not working with this rom, was working with the DU rom, is that a bug ?
[Mi 3 Android Development] ydd0ras:
I had never this problems on my Mi4w, never ever.
[Mi 3 Android Development] shabeebpv:
It's working. Perfectly. Try clean flash
[Mi 3 Android Development] webshocker:
tried that 3 times , clean flashed it , i can take calls on the bluetooth speaker but change the music tracks , play ,pause but the sound is not coming
[Mi 3 Android Development] Shahan_mik3:
For PPL who still have no idea about OSS cam Hal in an easy to understand post.

https://xdaforums.com/showpost.php?p=73370930&postcount=2307
[Mi 3 Android Development] imodev:
Can u tell me how to install & configure microG, sir? And what is the benefit from using microG instead of gapps? Thanks
[Mi 3 Android Development] enryusuf:
which magisk did you use? i'am using the latest and using safetynet module still cant pass the safetynet
[Mi 3 Android Development] ydd0ras:
There are few reasons for rather using microG (if it's important for you):

1) privacy concerns (the most important for me!!!). I don't need contact syncing, hangouts, google+, and all that sh...

2) battery concerns

3) disliking Google

4. no confident with google

5) need only the core/framework

If you want know more, here:

https://shadow53.com/android/no-gapps/alternatives/

https://microg.org/

https://xdaforums.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616

Here an very good tutorial for the setup!

https://shadow53.com/android/no-gapps/setup-guide/

---------- Post added at 04:34 PM ---------- Previous post was at 04:29 PM ----------

At the moment i don't use RR as my primary ROM. The last time i have used RR, i have flashed the Magisk-v13.0(54e6a79).
[Mi 3 Android Development] 3d360:
Happy Independence Day India:)
[Mi 3 Android Development] id74em8:
Charging is extremely slow. Checked with multiple chargers and cables.

Is this a ROM issue or a kernel issue? I am on redkancut 7X
[Mi 3 Android Development] oL00No:
I don't know why you think posting about a different kernel is ok. Charging at 1900mah right now. Latest version of the ROM. Also, redkancut is a mess.
[Mi 3 Android Development] id74em8:
Figured.

I was testing it out. I guess I'll just do a clean wipe a reinstall the ROM.
[Mi 3 Android Development] stratosk21:
Quite sure is the kernel. I'm using a note 5 charger and can get 1,300mah on AC.
[Mi 3 Android Development] Prashanth Meesara::
Charging is slow it takes 1hr to charge 35% and battery drop bug is still present, I've clean flashed ROM. Should the recovery be updated, I haven't updated it since long time, if recovery is to be updated please tell me which one because there are many threads of twrp , it would be kind of you could provide a link. Thank you.
[Mi 3 Android Development] shabeebpv:
Goto page 49
[Mi 3 Android Development] Prashanth Meesara::
Thanks for your quick and accurate reply. Can you tell if fast charging is working on your device? I am using mi4 with stock charger and it takes 3hrs(95%) to full charge
[Mi 3 Android Development] stratosk21:
Read 3 posts above you
[Mi 3 Android Development] Prashanth Meesara::
installed multirom.zip using twrp and clean flashed rom, but problem is in twrp advanced tab there is missing options, and device is not charging stuck at 0% and if charger is unplugged device turns off, can you help me in proper installation? and the recovery.img file link is broken, can you provide the recovery.img so that i can manually flash it?
[Mi 3 Android Development] shabeebpv:
Which build?
[Mi 3 Android Development] Shahan_mik3:
Kernel issue
[Mi 3 Android Development] Shahan_mik3:
Battery drop bug is fixed..u need to use stock kernel and twrp
[Mi 3 Android Development] Prashanth Meesara::
latest 7/31 build
[Mi 3 Android Development] shabeebpv:
U have to use the experimental build

Aug 8 or something.. I forgot
[Mi 3 Android Development] Prashanth Meesara::
i will again install it with twrp 3.1.0.0 and update here if everything is fixed.
[Mi 3 Android Development] Shahan_mik3:
Multirom twrp by Vasishath the official one is very outdated
[Mi 3 Android Development] Shahan_mik3:
No we added that fix long back
[Mi 3 Android Development] Prashanth Meesara::
the link for the recovery.img is broke

https://www.androidfilehost.com/?fid=529152257862710485

404 error. please check

edit: i think temporary issue now the file is available. will report once installed.

---------- Post added at 10:55 PM ---------- Previous post was at 10:35 PM ----------

is flashing multirom zip mandatory? or can u just flash the recovery.img from that multirom thread?
[Mi 3 Android Development] Prashanth Meesara::
well your single "no" is confusing, is that no for 1st question or second. Anyways can i install only twrp without multi rom?
[Mi 3 Android Development] :
Yes. You don't need to flash multirom.zip.
[Mi 3 Android Development] Prashanth Meesara::
I've install twrp from multirom thread and install latest 20170808 build. Will test it and report. Thanks everyone for helping me
[Mi 3 Android Development] stratosk21:
How do you guys achieve sot over 6 hours? I keep having drains from supersu and can barely manage 4 hours of sot. What have you guys done to improve battery life?
[Mi 3 Android Development] :
4 hours of SoT on a 3 year old device is satisfactory. Nougat is not yet completely optimized for cancro I guess (due to lack of MIUI releasing kernel source code). I got 4-5 hours SoT on android N. Recently switched back to MM just for the nostalgia. My average SoT went up by an hour (min). But that was it. The device has undergone a lot of wear and tear.
[Mi 3 Android Development] HannibalLecter:
Vasishath twrp bug

but there is one thing that is Broken on Vasishath twrp and is fine on the stock one.

If you go to Advanced wipe and wipe everything (including internal storage) and then reboot to twrp and then transfer file from laptop to phone, on STOCK TWRP, file transfer works perfectly fine. (I use this method for super clean flashes)

BUT on [MENTION=5579787]vasishath[/MENTION] multirom twrp, after wiping everything (incl. internal storage) and rebooting to twrp, file transfer does NOT work.

We have to fastboot flash the twrp and then the file transfer works.

[MENTION=5579787]vasishath[/MENTION] Request if this can be fixed.

Note: I've seen this problem on other un-official TWRPs too. For ex. I have hydrogen mi max as my other device and an awesome dev just like you and vasishath, nijel8 has his own unofficial twrp. His twrp had the same issue. I reported it and probably he has fixed it now. Will check with him and edit thepost to reflect the findings.
[Mi 3 Android Development] Prashanth Meesara::
Finally installed latest experimental build using multirom twrp. Everything works fine no issues found after 1day of usage. With all required apps installed I am able to get 5hr sot on mobile data and I am sure 6hr sot can be achieved on WiFi. No battery drops , no lags.

Fast charging is great full charged device from 17% to 100% in less than 2hrs(didn't exactly measure time).
[Mi 3 Android Development] 3d360:
Thanks for the feedback man, I'm going to flash the experimental now......:good::cyclops:
[Mi 3 Android Development] andri prayudi:
remove one of launcher ..there's 2 launcher is so annoying
[Mi 3 Android Development] stratosk21:
How did you even get that sot. I had to charge my phone throughout the day to get 4 hours sot and now I'm already at 24%
[Mi 3 Android Development] Prashanth Meesara::
Well battery life depends on various factors like

How old is your battery ( batteries tend to lose charge as they age).

What apps you use.

How you use the device.

I use these apps(I use gapps Pico version)

Chrome,Gmail,ampere,9gag,WhatsApp, YouTube, 8ball pool, adm, Acrobat reader, saavan.

No greenify or any task manager.

Internet usage is on both WiFi(70%) and 3g (30%).

I don't use GPS. Occasionally use Bluetooth (while in car).

This sums up my typical usage and sot ranges between 4hr(minimum) to 6hr(maximum). Standby is average of 18-20hrs.

I think my usage is not heavy and may be that's why I am able to get such sot.
[Mi 3 Android Development] zjlow1314:
Hello guys, just wanted to report a bug. Well, I don't know if this is a bug related to the rom itself or not.

Problem : Cannot tag location on Instagram when trying to upload a photo. It just prompt out "Couldn't find location".

Tried reinstall the rom with full wipe include system, tried few versions of instagram include beta version still no help.

Then tried on others rom including stock MIUI, MIUI EU, Lineage OS, Citrus, and even Shahan's Nitrogen OS, they all able to tag location without any problem.

Note : Only can't get it work on this ROM. :crying:
[Mi 3 Android Development] Prashanth Meesara::
How can I increase speaker volume? Earlier I used kernel auditor app but the dev said not to use since it messes with MPdecision and given an modded kernel auditor app but even when I install that it enables MPdecision, so is it safe to use modded kernel auditor app only to charge speaker values? If not is there any app which makes changes at kernel level?
[Mi 3 Android Development] Shahan_mik3:
Yes. Also disable audiofx
[Mi 3 Android Development] Prashanth Meesara::
MPdecision is enabled by default so should I disable it or leave it as it is and just increase speaker levels?
[Mi 3 Android Development] Shahan_mik3:
Leave it as it is and increase
[Mi 3 Android Development] Shahan_mik3:
New build up: (Final)

Upgrade Dirac from Mi Max

Fix bluetooth issues

Sound volume improved

Enable wake up sensors

Upstream changes from RR

Download Link:

https://sourceforge.net/projects/re...R-N-v5.8.4-20170819-cancro-Final.zip/download

its time to say nougat good bye :) Will make a build only if it is absolutely necessary.
[Mi 3 Android Development] rly:
Is this ROM support Manual Mode and HDR on its camera? How much SOT and uptime on average? I'm now on MIUI eu which is very satisfying regarding battery life (5 hrs SOT on 15 hrs uptime)
[Mi 3 Android Development] enryusuf:
This rom is not good with manual mode, i already tried some camera apps with manual mode

- freedcam (crashed)

- bacon camera (limited to 2s normally 32s)

- motocam (limited to 2s, manual focus doesnt work)

But you still can adjust iso as usual

HDR works

My average sot is 4hrs-5hrs on 1d uptime
[Mi 3 Android Development] rly:
Great, I was confused between stay on MIUI path or switch to RR, now I think I'll stay on MIUI. RR looks great though.. very tempting :good:
[Mi 3 Android Development] enryusuf:
If you really want to try this rom, use multirom. RR as the main rom and miui as the second rom
[Mi 3 Android Development] Shahan_mik3:
Yes I am using same combination..nothing can beat OEM cam quality