yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] DespairFactor:
Just pushed R17.C

Changes:

eb464be build: R17.C <DespairFactor>
420e7b7 defconfig: Enable ZEN_DECISION <DespairFactor>
ebec1cb msm: zen_decision: I'm a dummy - Correctly allow bat_threshold_ignore to be changed in the userspace... <Brandon Berhent>
adfc0ad msm: zen_decision: Missed f(x) name change <Brandon Berhent>
92cbbd1 msm: zen_decision: Only call INIT_DELAYED_WORK once - Only call it once, not every time we want to run a thread - Rename some functions for clarity <Brandon Berhent>
424eba4 msm: zen_decision: change queue_delayed_work_on to queue_delayed_work - Not necessary to explicitly queue work on CPU0 anymore <Brandon Berhent>
24d51c0 msm: zen_decision: Use WQ_UNBOUND and max_active = 1 when allocating WQ - Set WQ_UNBOUND flag on alloc_workqueue which gives the CPU scheduler freedom to move it to other CPUs - Pass 1 as max_active, ensure only 1 task is running at a time from the WQ <Brandon Berhent>
4d55b3d msm: zen_decision: remove unnecessary logic - The iteration over offline CPUs doesn't need an explicit check for CPU0 because CPU0 will never be part of the iteration. <Brandon Berhent>
c957ad2 msm_zen_decision: some cleanups - Cleanup some commnets and Kconfig description <Brandon Berhent>
a0940ee msm: zen_decision v2.0 - Different functionality than v1.0, the following is the complete functionality: - On screen ON, queue worker thread to bring all CPUs online after wake_wait_time - If current "battery" device level is <= bat_threshold_ignore, don't do any CPU_UP work to account for MSMThermal default activity <Brandon Berhent>
76c43b2 msm_zen_decision: disable by default - What this does now with screen off/on doesn't really have a point. I thought MPDec was messing with this before. - Leaving for future expansion <Brandon Berhent>
8cff3c8 msm_zen_decision: use per-cpu mutex to synchronize hotplug operations <Brandon Berhent>
875d5da msm_zen_decision: General fixes and cleanup - Actually use "enabled" to disable the driver - Actually allow suspend_wait_time to change > 0 - Restrict suspend_wait_time to a maximum of 60s <Brandon Berhent>
b2c0ddc msm: add msm_zen_decision This adds a simple driver intended to allow the MPDecision service to be disabled. The driver is easily extendable, but currently it: - Can be enabled/disabled in /sys/kernel/zen_decision/enabled - On screen power OFF it removes all cpu cores after suspend_wait_time - On screen power ON it enables all cpu cores. - /sys/kernel/zen_decision/suspend_wait_time (ms) refers to how long we wait after screen is off to remove the cores (default 5s). This just to avoid removing cores in excess. <Brandon Berhent>
a3d4209 arch/arm: Remove mako hotplug <DespairFactor>
[Nexus 6 Android Development] adl:
Aaaaand there it is:

my daily dose of flashing ROM. Thanks for todays ROM update. :)

Damn i really need learn how to read that github stuff. Never makes any sense to me at all. Just can´t figure out what all that listet stuff does / means. :(
[Nexus 6 Android Development] DespairFactor:
I wasn't feeling well this morning due to a personal issue, it got resolved, so I decided when all the new frameworks commits were merged from gerrit, I would make a build for everyone. If you want the newest Despair Kernel, you will have to grab it from my WIP folder.
[Nexus 6 Android Development] adl:
Thanks mate, glad you could solve that personal issue of yours. :good:

Hope all is good now.

Nice to see your putting much work into your kernel, will test it to see how it compares to hells kernel (which does a "hell" of job for sure )
[Nexus 6 Android Development] DespairFactor:
Laurent does a great job on his kernel, we just have slightly different ideas of what we like:) He appears to be more performance with strong idle battery, I am more focused on better performance per battery percentage. I try to give us the performance we need for our phone to run well without risking battery as much. There is no correct idea of how you should make your kernel or configure it, just personal preference, which means his may be the ideal kernel for you, while mine is ideal for me:) If you wish to use someone else's work, it harms neither of us in any way, we see the android community as a group of people finding ways to make their phone the best for their use. We also both believe that everyone should collectively work together towards a better platform and continually innovate, while exploring each other's ideas.
[Nexus 6 Android Development] adl:
Very well said and EXACTELY why i´d never touch an iPhone. ;)
[Nexus 6 Android Development] D_VIN_GADO:
Was just about to ask, big fan of BFS so I am definitely interested in the merges of Zen decision, etc.
[Nexus 6 Android Development] mwebb34:
I'm downloading rro 5.1.1 5-11 ota zip and I'm gonna try the 5.1 R-17 kernel... Will this be a good combo?

---------- Post added at 02:12 PM ---------- Previous post was at 02:10 PM ----------

I was wanting to hang onto 5.0.2 because of xposed, sad isn't it... Time for a change

---------- Post added at 02:14 PM ---------- Previous post was at 02:12 PM ----------

This rom encrypted?
[Nexus 6 Android Development] Custodian:
[MENTION=5169465]DespairFactor[/MENTION], I Fixed my launcher redraw/sluggish transition issue by Disabling HW Overlays. This ROM and Kernel is ridiculously smooth and snappy. The scroll cache tweak implemented in this ROM is unreal, even for android...because it always sucked in these parts. Hats off..my die hard apple-fan wife compares the scrolling to her iPhone 6+ and she's amazed at how well you've done with this ROM.

For anyone having issues with redraw/jitter with your apps and launcher here's a script that I use to force the GPU to composite screen vs CPU. Although this does give your CPU one less item to manage, you won't notice a significant increase in performance or decrease in battery life from what I've analyzed so far:

#!/system/bin/sh

(while :

do

sf=$(service list | grep -c "SurfaceFlinger")

if [ $sf -eq 1 ]

then

service call SurfaceFlinger 1008 i32 1

break

else

sleep 2

fi

done

) &
[Nexus 6 Android Development] mwebb34:
Could someone post a link for gapps 5.1.1 please
[Nexus 6 Android Development] clothednblack:
Not encrypted. I don't miss exposed anymore... I did at first though

---------- Post added at 02:50 PM ---------- Previous post was at 02:49 PM ----------

Which one?

Dark

Slim

Full?
[Nexus 6 Android Development] mwebb34:
Dark
[Nexus 6 Android Development] clothednblack:
http://download.dirtyunicorns.com/files/gapps/du_tbo_gapps/

FYI some themes don't play well with dark gapps. I had to delete the messenger theme so my text would show, but that's because I'm using blacked out messenger.

Enjoy
[Nexus 6 Android Development] mwebb34:
Can I use the clear gapps
[Nexus 6 Android Development] dabug123:
Actually agree with u on this well put,thanks for supporting hells while making your own great..Very educated ,mature reply..
[Nexus 6 Android Development] clothednblack:
Yes, those work too
[Nexus 6 Android Development] DespairFactor:
We are adding a couple more features for tomorrow's build;)
[Nexus 6 Android Development] clothednblack:
Tease!
[Nexus 6 Android Development] iainaaldrich:
Very impressed with this ROM. Just flashed it for the first time and set it all up. Definitely a favorite.
[Nexus 6 Android Development] DespairFactor:
And here is the update;)
[Nexus 6 Android Development] iainaaldrich:
Would you mind posting a change log? At work and certain sites are blocked
[Nexus 6 Android Development] adl:
Is the new kernel R18 already implemented in the ROM?
[Nexus 6 Android Development] DespairFactor:
Yes, but the GCC 6 version I build my standalone kernel with is newer
[Nexus 6 Android Development] issacm206:
I cant seem to find the Dark optipop.

The last two updates the dark rom seems gone along with the others. Does this rom support layers?]
[Nexus 6 Android Development] DespairFactor:
The OP says it foes, Layers is the app for RRO
[Nexus 6 Android Development] yellowman82:
Folks these days don't read and they wonder why devs just sometimes ignore them. The simplest thing could be right in front of them if they would to take the time to read.
[Nexus 6 Android Development] DespairFactor:
I try my best to answer even stupid questions, but my mood often influences the way I respond, if I'm in a bad mood expect my response to be more dry and rude
[Nexus 6 Android Development] MarceloSiciliano:
DespairFactor where can I find a change log for the new 12 build? Is there a simple change log? I'm kind of a noob , I don't how to read these "codes"[emoji16]
[Nexus 6 Android Development] yellowman82:
He mentioned it on earlier post his reason for not having a changelog for the ROM. Now for the kernel he's able to since it would be easy.
[Nexus 6 Android Development] DespairFactor:
What is your call issue?
[Nexus 6 Android Development] 530farm:
Mentioned it a few pages back. Calls can be received and made(I think) however it won't output or input any sound. Can't even here it ringing. I've clean flashed this rom 3 times, 1 time it worked. Calls via hangouts works normal.
[Nexus 6 Android Development] DespairFactor:
Did you verify APN? Can you try pulling in another mixer_paths.xml? I am using the device tree from chroma as a base and adding my optimizations in so it should work the same.
[Nexus 6 Android Development] jscroppo:
I have the same exact problem with T-Mobile its driving me crazy
[Nexus 6 Android Development] 530farm:
Apn is good. Like a mixer_paths.xml from another rom? Would I just replace them via file manager?

Edit. Also on tmobile 95r radio
[Nexus 6 Android Development] DespairFactor:
Try different radios and yes, try mixer from another ROM, also verify audio settings on kernel.
[Nexus 6 Android Development] papikev:
Definitely peaking the interest of the community here. Thanks for the great work man.
[Nexus 6 Android Development] DespairFactor:
One more optimization to add:)
[Nexus 6 Android Development] 530farm:
I used this mixer_paths.xml from a benzo rom 3/24 update i had on my computer, which seemed to resolve it.

https://drive.google.com/file/d/0B6R6NUrNpBd3RzRNUEZpRlgta3c/view?usp=sharing
[Nexus 6 Android Development] smatherlee:
Loaded up fine Despair. Nice work, as always. I know as soon as I set it up you'll push the update. Oh well that's why we are here. [emoji1]
[Nexus 6 Android Development] dawgdoc96:
I'm on T-Mobile, 95r, no call issues, and 611 even is working. Did u delete nin-used APN? Not even sure if that would make a difference, but I always do that, too.
[Nexus 6 Android Development] DespairFactor:
Alright guys, just about to test the final build before release:)
[Nexus 6 Android Development] bertcarv:
Bring It! lol,

Thanks man
[Nexus 6 Android Development] DespairFactor:
Hope you guys don't hate the new boot animation I am using
[Nexus 6 Android Development] atrix4nag:
waiting...

tick tock.. tick tock.. tick tock... :):o
[Nexus 6 Android Development] DespairFactor:
It is uploading right now and should be up shortly, the only bug is the battery light toggles are not working right now.
[Nexus 6 Android Development] atrix4nag:
downloading...
[Nexus 6 Android Development] snc74:
Downloading too...

Sent from my despaired Nexus 6!
[Nexus 6 Android Development] bertcarv:
Downloading as well.

Safe to dirty flash this one?

Bert
[Nexus 6 Android Development] DespairFactor:
Wipe system and flash, if that fails do a clean flash
[Nexus 6 Android Development] spevil07:
DespairFactor have you seen new sources?

https://android.googlesource.com/platform/build/+/android-5.1.1_r2
[Nexus 6 Android Development] ikecomp:
Hi All

I'm coming from a oneplus one with the latest CMS 12. At any rate I'm loving my new device but miss a lot of the settings that were present on cynanogen. At any rate I've decided to check out this rom. I plan to do a clean flash but wanted to confirm the steps after that.

Flash latest rom (5/12 build)

Flash kernel (not sure about this part. I believe the rom includes the latest R.x kernel so shouldn't have to flash separate)

Flash gapps standard package from here (http://renderserver.net/gapps/5.1/). -- I use google apps so I want the full package. If it's not compatible with the rom can someone link me to the required gapps package?

Thanks in advance
[Nexus 6 Android Development] DespairFactor:
Already merged that last night and released it.

It includes the newest kernel, all 5.1 gapps will work, my standalone kernel is compiled with a newer GCC 6.0 toolchain though. In addition to those zip you need supersu;)
[Nexus 6 Android Development] ikecomp:
Thanks for the quick response! I'll grab the rom and gapps from your site and get to flashing. Thanks again
[Nexus 6 Android Development] DespairFactor:
The gapps are not mine:P I use slim gapps
[Nexus 6 Android Development] ikecomp:
I finished flashing but I'm seeing one strange issue. Every other time I reboot my phone, It connects to AT&T's LTE network. When it doesn't connect to the LTE network it connects instead to the HSPA network. The only way to get it toconnect to LTE again is to reboot my phone. I can reproduce the issue at will (reboot - LTE, reboot - HSPA). Toggling between APN's does not fix it and neither does toggling mobile data on and off.

Steps I performed:

1) Avanced wipe in TWRP 28.6.0 (system, data, cache all wiped. Left internal storage untounched)

2) Flashed ROM

3) Flashed GAPPS

4) Flashed SuperSU

Have you noticed anything like this or any suggestions? Other than this issue the ROM is exactly what I was looking for.
[Nexus 6 Android Development] DespairFactor:
You will have to wait on an AT&T user to chime in, I am in Canada.
[Nexus 6 Android Development] DespairFactor:
I am making a WIP build with a few new features added that are in gerrit, I will put in WIP, if nothing works, you cannot blame me.
[Nexus 6 Android Development] Mistertac:
Oh no... You will be blamed, flamed and reported [emoji34]
[Nexus 6 Android Development] clothednblack:
Open apn and make this one.

NAME: ATT Nextgenphone

APN: nxtgenphone

MMSC:http://mmsc.mobile.att.net*

MMS PROXY: proxy.mobile.att.net

MMS port: 80

MCC: 310

MNC: 410

APN type: default,mms,supl,fota,hipri

APN protocol: IPv4

APN roaming protocol: IPv4

(any settings not listed are either set to default or "Not set")

Delete all the other APN's (don't worry, this can be easily undone with one click) see if this helps.
[Nexus 6 Android Development] spevil07:
New ROM is up under WIP ;)
[Nexus 6 Android Development] spevil07:
I have found "Wakelock Blocker" under OptiTweaks. ;)
[Nexus 6 Android Development] ikecomp:
Thanks for the suggestion. I'll give it a go.

---------- Post added at 10:40 AM ---------- Previous post was at 10:24 AM ----------

This worked great! I rebooted my phone 3 times and it latched on to LTE every time. In fact it connects to LTE faster than it did when I was on the stock ROM. Can you explain why this works so well? Also, does deleting the APN's have any impact when roaming? Just curious if there is any downside to having just one APN. Thanks again.
[Nexus 6 Android Development] clothednblack:
Nextgen apn is faster than the other's and deleting the ones you don't use makes sure nothing conflicts with another. Sending mms should be smoother and faster than before too. Even though you only select one apn, the others being on your device can still cause some issues, found that deleting them makes those issues go away. Your APN settings will stay this way till you do a data wipe, then you would have to set it up again, so save this one somewhere like a note pad that you can restore data too so it's never lost.

Glad it helped ?
[Nexus 6 Android Development] DespairFactor:
Google+ Community for all my crap: https://plus.google.com/u/0/communities/117685307734094084120
[Nexus 6 Android Development] adl:
Is the 18.1 Kernel from WIP folder already integrated in the ROM from WIP folder?
[Nexus 6 Android Development] DespairFactor:
It should be, but I still recommend using standalone since I keep my own toolchain up to date, the ROM uses the UBERTC prebuilts.

UPDATE: Let there be R18.3
[Nexus 6 Android Development] warfenix:
Flashed both WIP ROM and Kernel (newest ones) and all is running great. I did come across this

http://nexus5.wonderhowto.com/how-t...xus-6-by-lowering-display-resolution-0159881/

And I have to say things are running more fluid especially with your builds. Certain things look a little wonky. (Slightly bigger then normal) like recents tab. But I notice no difference in image quality.
[Nexus 6 Android Development] DespairFactor:
Another new WIP build, this is highly experimental, I am testing it shortly.
[Nexus 6 Android Development] warfenix:
GOD! Just after I flashed and set up the new one LMAO. You work to fast...... But thank you sir
[Nexus 6 Android Development] plasmastrike:
Found something interesting things that might be worth a look at

Qaulcomms version of clang

http://xdaforums.com/android/software-hacking/wip-compile-android-5-0-2-qualcomm-llvm-t3035162

Chroma is using Ubertc instead of default:) and have a couple of interesting bug fixes

Added: Volume steps from 15 to 30 (customize ro.config.vc_music_vol_steps in build.prop) -- on 5/7

Fixed: Volume music key control while ambient display is enabled -- 5/2

https://docs.google.com/document/d/1c7wNrT0khaipv-M0Z35OPQ8sxPHO-e9-Rk945fo4iJE/edit

Used that methed to change my dpi a lot lower for a more clean look, but didn't know about making it a 1080 screen or 720 nice find

http://cdn4.xda-developers.com/images/icons/icon14.gif

If I knew how to find the github commit i would link those but i Don't know witch repository that would be under:(
[Nexus 6 Android Development] adl:
Sooooo, anybody dared to flash this dangerous thing? How is it running?
[Nexus 6 Android Development] DespairFactor:
Volume key music control isn't the same as volume rocker wake
[Nexus 6 Android Development] DespairFactor:
I removed it, some stuff was crashing.
[Nexus 6 Android Development] phr0zen:
Same here... Reverted back to 5/12. Always up for trying something new though!
[Nexus 6 Android Development] DespairFactor:
New build is up;)
[Nexus 6 Android Development] tomzefi:
Are your newest kernels included or are the wip different from the one in the ROM? Thanks
[Nexus 6 Android Development] DespairFactor:
yes, but I still recommend using the standalone kernel
[Nexus 6 Android Development] tomzefi:
Perfect. Thank you.
[Nexus 6 Android Development] DespairFactor:
Does anyone have kernel adiutor display profiles they wish to share?:)

UPDATE: If you wish to use the KCAL driver on my kernel, please flash R18.4 in WIP, it has a fix for the driver, I noticed it was causing SODs and I have pulled the fix for it(I believe)

UPDATE 2: Use UKM and synapse to change kernel settings, I am adding zen decision as an additional hotplug.
[Nexus 6 Android Development] adl:
Can't get the included Viper app running on newest build. Drivers installed fine, rebooted but I still get "status: abnormal". Any ideas how to fix that? I uninstalled music fx.apk, can this the reason?
[Nexus 6 Android Development] linus207:
I had problem with viper also. My solution: wipe system and install rom again. After that put viper apk to system/priv-app, set correct permissions and install apk. It should work without any zips. I am listening to music atm and everything is correct.
[Nexus 6 Android Development] adl:
Boy, sounds like work... Will try, thanks already!
[Nexus 6 Android Development] bdivs11:
How to get zen decision working in despair kernel 18.6?
[Nexus 6 Android Development] DespairFactor:
I removed it, don't need it, mako does the same thing.
[Nexus 6 Android Development] bdivs11:
Thanks and should I leave mpdeicison enabled?
[Nexus 6 Android Development] ikecomp:
2 days in and after the APN fix I'm really loving this rom as my daily driver. Fast when I need it. Sleeps good when I don't. At any rate, is there a recommended flashing method when updating to the latest optipop rom from the previous one? (ex. flash directly over the existing rom, factory wipe then flash, wipe cache only then flash, etc).
[Nexus 6 Android Development] clothednblack:
Wipe cache, delvic and system, then flash away.
[Nexus 6 Android Development] adiliyo:
is there still a dalvik cache in lollipop?
[Nexus 6 Android Development] clothednblack:
I wipe it anyways, most op's still refer to it so why not. Better to wipe something that may not exist than to not wipe it and get the good ol bootloop
[Nexus 6 Android Development] xonelith:
You go this to work without SEPolicy set to permissive? That would be great!! Can you provide a screenshot of your driver status?

Thanks!!
[Nexus 6 Android Development] linus207:
That's something I forgot. You know, I am always changing some things in synapse after fresh install. Automatic change of sepolicy is one of those things.
[Nexus 6 Android Development] xonelith:
So are you able to get processing = true with sepolicy not permissive? Thanks for your time!! I just haven't been able to do it and I have v4a in system/priv-app too.
[Nexus 6 Android Development] linus207:
No no, I mean I made my sepolicy to be permissive via synapse days before I've got into viper. I forgotten this was that important. Try synapse, seriously, it's changing sepolicy on every boot and you will not even notice. Hope that will work
[Nexus 6 Android Development] adl:
Found a flashable script that changes permission as needed. Viper is working now. Here is the script if anybody else needs it: https://www.dropbox.com/s/pvausegfx71d6xo/Permissive_fix.zip?dl=0
[Nexus 6 Android Development] warfenix:
Tried this and it didn't work? Idk what it could be. I moved viper to priv.app made sure permissions were right. Wiped caches and reinstalled drivers. Nothing
[Nexus 6 Android Development] adl:
Didn't do all that, I just downloaded the official Viper zip file, there included is a cleaning script which removes everything old and puts Viper where it belongs. After that flash the script I posted above and it should work (worked for me at least)

Get the official Viper Mod here, use the first file:

http://xdaforums.com/nexus-6/themes-apps/viper4android-t2952137
[Nexus 6 Android Development] linus207:
Have you done any viper. zip flashing before moving to priv-app? My situation yesterday was the same as yours. That's what I've done to make it work.

1. Go to Twrp - wipe system (just the system)

2. Flash rom and gapps (don't flash any viper flashable content)

3. Wipe cache & dalvik cache

4. When the system boots, look for any viper4android leftovers at your app drawer, if something like this exist - download system app removal tool and delete everything viper related.

5. Make permissive sepolicy somehow. Here's the options

a) Use synapse to configure your sepolicy settings. It will set automatically on every boot (harder way because you have to flash additional script) here's the link

http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986

b) Use this app to manually detect and change sepolicy. You have to do this by yourself, every single boot. Here's the link

http://xdaforums.com/showthread.php?t=2524485

c) use the script provided few post before by adl

6. Download viper4andorid app. (just the app)

7. Put this app to system/priv-app

8. Set correct permissions (I don't remember the code but I believe it was 0644)

9. Install the app (from that priv-app folder)

10. Configure normally (grant root access, download sound libs etc.)

11. Reboot (do not soft reboot)

That's all. I know that few steps are probably unnecessary, but I strongly suggest to do all of them just to make sure.

Cheers!
[Nexus 6 Android Development] spevil07:
New Build is up!

http://renderserver.net/devs/DespairFactor/ROMs/Nexus 6/OptiPop/RRO/
[Nexus 6 Android Development] adl:
Question: any chance to get ascending ringtone implemented? I know it's one of the most hated features but I actually find it quite useful. Thanks already for the new build!
[Nexus 6 Android Development] warfenix:
Any idea what's new in the build
[Nexus 6 Android Development] xonelith:
I have no issues getting v4a to work I just don't like having sepolicy set to permissive:).

Thanks again:thumbup: