yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] jhofseth:
Sony also disabled DisplayPort alt-mode type-c on a Snapdragon 835 phone

This appears to be a licensing issue ($$$). Sony also disabled DisplayPort alt-mode type-c (HDMI)--just like Lenovo did in our kernel--on a Snapdragon 835 phone. The Snapdragon 835 chipset natively supports DisplayPort alt-mode type-c (HDMI) directly on the SoC.

http://armdevices.net/2017/03/02/displayport-comes-with-qualcomm-snapdragon-835-with-alt-mode-type-c-directly-on-the-soc/

Companies like HTC, Samsung and others must pay the extra $ for licensing, while companies like Lenovo and Sony did not for these phones.

Confirmation that Sony disabled (i.e., just like Lenovo) on a Snapdragon 835 phone is attached via screenshot. You can also see a powered USB C HDMI adapter (alt-mode type-c) attached to my other phone (i.e., Snapdragon 835 Galaxy S8+) connected to my 55" 4K UHDTV (LG). This disabling is actually good news, because it means we could probably enable it in a custom kernel! :)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
I will be working on features like this after I upstream the kernel. kernel.org released 4.4.100 this morning.... I am currently trying to get 4.4.95 working. Spent the last 2 days getting .94 to work with wifi

Edit: updated Google drive Link to 4.4.96
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] vibraniumdroid:
Any progress?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] LGtMgG2t:
Ran 4.4.93 the last 2 days and everything performed well. No issues at all. Thanks so much for the work on it!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] jhofseth:
this is a working modified TWRP installer for our phone (was Pixel 2 XL)

Your Pantheon kernel stays the same. All credit for TWRP goes to @joemossjr . :)

https://xdaforums.com/showpost.php?p=74594179&postcount=284
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Yes, currently besides the cmdline edits and disabling CRC, this is stock with the most recent upstream patches for minor/major things not included in the stock kernel sources provided by Lenovo/Motorola. I will do true edits once I get our kernel up to date. First thing on the block is EAS and OC. Then if I can find where the USB-C to HDMI out is, that will be next, then governors and other features.

We are up to date in source code to 4.4.98 and I released 4.4.96 in OP. Those two were released about a week or two ago and 4.4.100 came out today which is what I am trying to get to.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Just as a reminder of why kernel upstream is so important. Read the Google plus Link in OP about why we like being "ahead." Sometimes the kernel gets a patch that isn't in CAF yet or the kernel that's from the manufacturer stock or in an update. It's a great read and why that's my main priority before adding features.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
Thats why i encourage to keep upstream clean. An when you get time. And time and time... Do the mod kernel aside of this. Usb type c hdmi can wait as is not important right now.

Hey... We have 1080p via Cast right [emoji28]

Keep up the good work.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] TheKnux:
[MENTION=4604067]Uzephi[/MENTION] would it be too much to ask to change your naming convention of your kernel? Possibly Pantheon then the version? I.E. Pantheon_4.4.96 instead of version numbers? At least for the upstream and then change it to version numbers when you start adding features, governors, EAS, etc? If you like what you're doing now then don't worry about it, just a thought.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
I stopped the 1.0,1.1,1.2... those are versions with some things I did. That is why 1.2 hasn't gone to 1.3 yet. I haven't added anything to the kernel. I will replace the Google Drive link. That is because to keep this thread open, when I update my git with new upstreams, I have to update it here to follow GPL. If I update my sources that are linked, I have to provide a link to the thread. 4.4.96 was my last stable release, so that is why it is still 1.2... my git is updated to 4.4.98, but wifi breaks. Once I get that fixed, the thread link will also be updated. I am trying to keep this scheme for when I do add things the numbering will make sense. I will still upstream while adding features this is why the numbering is 4.4.96-Pantheon-v1.2. 4.4.y is the kernel version. Pantheon is the name of my kernel. v1.2 is the release of what I have done.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] jhofseth:
how to get Miracast working on Pantheon & stock kernel

[MENTION=3212538]blackwing182[/MENTION] , we have 1080p Miracast on both stock and Pantheon. FYI, it is not useable with bluetooth audio because video starts horribly lagging (i.e., maybe driver issue; same for both stock & Pantheon kernel). DisplayPort alt-mode type-c (HDMI) has no noticeable latency, 4K+ resolution, and video quality is higher. There are two edits to build.prop you have to do first to use Miracast on our phone:

uncomment:

persist.debug.wfd.enable=1

and add:

wlan.wfd.hdcp=disable

save build.prop, then just reboot phone

I have attached attached a screenshot of modified build.prop. :)

(Please note: turning cast on does not currently turn Wi-Fi on; you have to also manually turn on Wi-Fi unless you install Miracast Helper, etc., from Playstore., or it will say no devices found.)

The other attached pics and screenshot show two of many Miracast options: Microsoft Wireless Display Adapter v.2 and built-in LG UHDTV Wi-Fi screen share; I use the Microsoft WDA v.2 because performance is slightly superior to built-in option. FYI, YouTube is great via Miracast!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
4.4.99 can be built and works on GitHub. Testing .100 now and then we will be caught up and then I can start edits. Not updating drive yet, hopefully 100 doesn't cause too many headaches and I get upstreamed today.

Edit: 4.4.100 is working. updated OP. link to 4.4.100 completed upstream project (will keep updating once kernel.org gives us new revisions, ofc) here
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Playing with OC... Will start UV... Need to see if it messes with battery life before I release. OC is sent to my git as it boots right now. See attached images, one is before on my speed bin and the other is after with kernel on GitHub.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
This is beta and untested. It just unlocked the frequencies your speed bin couldn't use on previous builds. This may give you slightly less battery life due to higher clocks.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Above zip causes odd frequency resets.... I will debug and get it fixed. If you want a little snappier, you can use it until a stable release is done.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Kernel isn't sleeping right with beta zip. You will see a great performance increase at a loss to battery. Will get some scheduler edits done and hopefully this baby will sleep again. So flash the beta zip if battery isn't needed much but a snappier phone is wanted.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] enetec:
Uhm... aren't you on charger bro'? :confused:

These are about same statistics I got after a charging period... ;)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] kunyu999:
After flashing the kernel, i rebooted the device but just boot into the twrp , can't get into the system, and my device is T-Mobile variant.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
If you had root with SU before, it won't boot due to SU decrypting you. You need to follow directions in OP, flash TWRP, flash kernel, then reflash SU.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Nope, my phone will stay awake with beta zip...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Testing the scheduler and sleep fix... Built with Linaro as well! I might have a Thanksgiving gift for the community if this sleeps well and works! If everything goes well for the next 8 hrs, I'll release v1.3!

Edit: added second pic. sleeping well. During my lunch break, I'll run the scheduler through a few tests.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
v1.3-Beta is released! Happy Thanksgiving everyone!

Changes:

Added OC and scheduler fixes to accommodate new clocks.

New frequencies: little CPU: 2035 MHz Big: 2476, 2592

Edit: Built with different compiler: Linaro 4.9

Beta zip download: Google Drive v1.3-beta

This is fresh out of the kernel kitchen. Attached is before and after of Geek Bench scores. Pantheon stable 1.2 and this Beta 1.3 zip. Enjoy All!!!!

Edit: OP updated
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Chrisy8s:
On beta.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] LGtMgG2t:
Thanks for the release today. Installed just fine on my TMO variant with latest TWRP and SuperSU. Ready to give it a try!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
Does this kernel suport init.d by default?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
If the stock kernel did. I haven't enabled it personally. Currently working on getting CPU UC and UV. Source is updated to 4.4.102. was released this morning. Once I get UC/UV working, I'll release a zip and call 1.3 stable. Made a Pantheon Branch for this thread and will make another soon for near stock with upstream only sometime this weekend.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
No rush man [emoji4]. Was just asking. I can enable it my self on android kitchen.

Im on las kernel for this and is awesome!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
1.3 stable is released. Link and OP updated. For those who don't want to go to OP link is below.

https://drive.google.com/file/d/1CoGt19svWXg0hbxOagp0P5N5YpIYF_8Y/view?usp=drivesdk

Changelog:

Wakelock fixes

UC to 230 (need kernel tweaker to enable)

UV to other msm8998 voltages

Upstream to 4.4.102

Edit: Snap, forgot, UC GPU as well! (added one lower step, 180 Mhz for when you are doing low GPU tasks like web browsing for battery savings)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] presto1979:
Just flashed and thank you so much for your work this kernel is a beast! Looking forward to the future of the NASH?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Still tracking down a couple wakelocks. Disabling all at the kernel level can have unforseen issues, so that will be for 1.4. also planning on having EAS for 1.4 so it might be awhile as last time I merged EAS it wouldn't build.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] StonedYoda:
I don't know how accurate this is, but I do know that I'm on my phone a LOT. This is with Pantheon v12 I believe and NCP ROM. Loving this phone and my Moto Mods are gonna be in Monday that I got from Verizon for 50% off plus the Incipio Off grid Wireless charging battery mod I got for $10(!!) from AT&T. But it looks like I probably won't even need em! Thanks [MENTION=4604067]Uzephi[/MENTION]
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] enetec:
Ehm... :silly:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] StonedYoda:
I'm always just concerned with screen on time. I've never had a phone get over 4 hours. Standby time doesn't bother me, since I usually charge it before bed but yours is really impressive! I haven't used OC or UV yet. Is that how you're getting such long times? Or is that just natural?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] enetec:
This screen on & off times are real, confirmed by 3c apps and by real life usage too... even better, they are obtained on a phone with over 200 user apps installed, many of them with widgets working to real time monitoring servers, stocks & so on... so they are *really* nice... :D

How have I obtained them?

With a very well tuned setup since of my past (phones) experiences...

On this phone I"m on stock firmware, rooted, Xposed enabled and I'm using full enabled (& fine tuned...) Greenify, Leandroid, using auto setting on display luminosity and lowering low end frequencies of both big & LITTLE cores to 300 MHz... no UV is used and no particularly performance lowering setting too...

It's a quite "lite" setup, but I'm able to reach as low as 0.7%/h during screen off if I left it alone at home... which I think is a *great* result.

With UV and some more "impacting performance" settings it is possible to get better screen on times too, but this is not my main goal at moment...

One important thing to note (to remain more InTopic too...) is that Z2, like Z before it, has some "permission denying setting" on its stock firmware which doesn't allow "autorun editing apps" to work, even with root enabled, like if root wasn't enough and an higher level would be reserved to system. :confused:

(apps known to work fine on same Android version on different device and similar setups...).

More than an year ago I reported this to Griffin's XDA developers but none of them has never been able to understand because of what... :rolleyes:

Obviously, with a lot of apps installed, having the possibility to edit autostarts would allow even better results, even with Greenify already working fine... ;)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] StonedYoda:
I was wondering why there was no autostart manager... Hmm. Well I just finally updated Pantheon and installed Kernel Adiutor so I'm going to try your settings on the cores, then reinstall Greenify because I somehow forgot that I paid for it last year ???. I'm still more than happy with the current results I'm getting, but I do love to tinker! Thanks for the tips!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] enetec:
Many autostart managing apps seems to work BUT they don't really do anything.

Manage Autostart app (very well done...) is instead able to recognize that something is not working, guessing (wrongly) to not have root privilegy... if you look at screenshot, there is SuperSU just confirming root access in the same moment of error message... :eek::confused:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
The UV in the kernel doesn't impact performance with anyone I have talked to or been posted here. Same geek bench (as stock *OV* and OC) score and Antutu scores. It actually removed the odd stutter that randomly happens with the projector mod and Bluetooth in my experiences and testing.

edit: funny thing about our voltages: I put them in line with the OP5 which was Overvolted on the higher frequencies, but still considered undervolting compared to stock Motorola/Lenovo kernel.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
I have no issues... Every time little by little this kernel gets faster and snappy!
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] enetec:
Never intended that in what I wrote... I was talking of UV & more impacting performances tweaking as two *separate* things... :rolleyes:

UV *could* only affects stability but only extensive testing on A LOT of devices & on A LOT of different conditions could say us how much (if any...).

Usually manufacturers stay well above safe side, so a *moderate* UV is surely possible and working for >99% of devices...

A more aggressive one has instead to be fine tuned for every single device in its worst working conditions, so not suitable for a kernel to be developed...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] LGtMgG2t:
Have to agree about the overall performance of this kernel. My iPhone friends are amazed when I send them a screenshot of Gsam. Lol I've seriously seen 0 issues for last few days on v1.3 and I'm routinely getting at least 6 hours of SoT.

Excellent work and much appreciated.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Still finding the wakelocks. EAS is giving issues as well. Still nice battery life though. Almost full day without plugging in wall....

edit: image uploads are currently not working for some reason...
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Chrisy8s:
Not too dissimilar aside from my Bluetooth usage due to Android Wear.

Edit.. screenshot not loading :mad:
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
When you're still unpacking and moving and 4.4.103 comes out... #justdevthings lol

Edit: image issues, will show up soon
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
4.4.103 done. A lot of changes from Linux upstream with net stuff and Bluetooth so please update if you're able to. Google drive Link updated.

No other changes. Still in process of getting my stuff moved in the new house. Just needed to get this going with 2 1/2 pages of commits... Source is pushed for both Pantheon and upstream branches.

Edit: XDA image derp. Will show soon, just an image of kernel and build time.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] :
You might want to talk to [MENTION=5438598]RenderBroken[/MENTION] for EAS.

It has to be enabled on the ROM side as well for it to fully work.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] jhofseth:
[MENTION=4604067]Uzephi[/MENTION] , as [MENTION=8552897]ac1dx[/MENTION] may have been referencing, I think this EAS 1.4 implementation may be similar enough to be useful:

https://xdaforums.com/oneplus-5/development/kernel-renderzenith-t3659850
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
I'll look into it this weekend.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] :
Yea i didnt mean to goto his thread, meant to actually contact him.

He is in the slack group im in. I gave him a heads up.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
[MENTION=4604067]Uzephi[/MENTION] i always test kernels even if the developer test them and releases.

But i did not tested bluetooth audio streaming to my bluetooth speaker.

When screen goes off. Audio becomes choppy. (Lag). As soon as i pick it up and wake up the screen, and unlock it. Tje choppy laggy audio stops and keeps like mormal.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Thanks for the report. I will try and replicate and fix. If I can't replicate, I'll pm you for more info.

Edit: are you on stock rom for your device or on a custom one like NCP or the BR one?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
Second ota from t mobile. Joe packed it up and passed it to me. But its stock t mobile.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Any kernel tweaks? currently streaming Google Play Music with my JBL E25BT and haven't ran into the issues with no tweaks from an app. I'll keep it streaming for an hour and see if it starts skipping.

On 1.3 stable and sprint stock October.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
Im on

Stock tmobile.

Your kernel. No tweaks. No kernel tuner, no nothing stock as is build by you.

Using google play music.

I might reboot the phone and try again.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
No audio mods? I would try stepping the min freq up one notch if you are, they are resource hogs.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] jhofseth:
[MENTION=4604067]Uzephi[/MENTION] & [MENTION=3212538]blackwing182[/MENTION] , I've been using upstream 100 Pantheon (non-OC) and have no issues with Bluetooth streaming higher quality Pandora. So, I don't think any Bluetooth issue is due to any upstream stream stuff up to and including 100, or at least not for me.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
I haven't experienced any BT issues TBH. With the minor changes done, (just OC and UC unlocked but needs to be changed with a kernel tuning app and getting our msm8998 voltages in line with other msm8998s) that shouldn't affect BT at all.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Just UC'd it... Still no stutter... I cannot replicate that issue.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
I can't replicate. Played 20 minutes with screen off and it played just fine at 230 MHz on big and little clusters. [MENTION=3212538]blackwing182[/MENTION]
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
Ill have yo check my bt speaker then. Im going to test with my gf galaxy s8 in the morning
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] rootinchase:
Could it be signal issues?

Was your speaker was to far away?

Any funky walls?

Whenever my brothers would snag my speaker while I was using it, the audio would start skipping from the distance/interference.

Now I just use the newer speaker mod. (Eat that you Pill!)
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
4.4.104 released. Building now, once I get a working build from upstream, I'll update OP and thread name. No other changes. Tonight or tomorrow (day off tomorrow) I'll iron out upstream with no changes and make a thread on it. (no UC/UV/OC, CRC check, etc. Only change will be native Safetynet support, other than that it will be bone stock upstreamed to 4.4.104.)

Edit: just like every upstream, it breaks wifi. Need to find the culprit file and see what the conflict is that causes WiFi driver to hang on initialization.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
4.4.104 released! added Zen, FIOPS, and SIO as well, need root and kernel tuner app to change from default CFQ.

Change log:

Upstream to 4.4.104

Added IO schedulers

Google drive link in OP updated. I will have upstream done by tomorrow morning for stock kernel, no modifications besides upstream
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Image of IO schedulers in kernel toolkit.

Instead of adding another post...

Edit: testing out Boeffla wakelock blocker. Once it is complete and working, I will add it to OP and release 1.4. This is a tool to selectively block kernel wakelocks at the user end with a config file. More information below. (Of you want an alpha copy of this blocker, send me a PM, currently building it now)

https://wiki.boeffla.de/index.php?title=Boeffla_generic_wakelock_blocker
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] jhofseth:
[MENTION=4604067]Uzephi[/MENTION] , has EAS stopped giving so many issues yet?
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
No, still get some syntax errors when merging. Cherry picking every one of the 400+ commits to see what causes it.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
Cant find download link to it
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
https://drive.google.com/file/d/1CoGt19svWXg0hbxOagp0P5N5YpIYF_8Y/view?usp=drivesdk

Same one in OP
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] blackwing182:
It says phanteon13
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Yes, 1.4 is still alpha testing. I didn't make huge enough changes to make the public 4.4.104 one with I/O be 1.4.

1.4 will be released once I get boeffla working
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
Update: still working on getting boeffla config to recognise the kernel. Need to cherry pick more features from boeffla's kernels to get them working.

The default wakelock blocking does work fine.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
The day I have plans to go to the firing range with an old friend, 4.4.105 releases... I'll get it built tomorrow and implement boeffla how it is for default wakelocks. It will be 1.4 beta. Expect an upload sometime tomorrow.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] Uzephi:
v1.4 beta released. changelog below and new link added in OP for 1.4

Dec 10, 2017 v1.4 (beta)

Added Boefla's Wakelock blocking code

Upstream to 4.4.105

https://drive.google.com/open?id=13B8wNifn_Qv0A6ilK7yguW38_iQvHHxg

Edit: this is beta because I am trying to get full functionality for Boeffla's wakelock blocker app. Right now only basic wakelock blocks are enabled. Should have full functionality by end of week.
[Moto Z2 Force  ROMs, Kernels, Recoveries, & Other ] ilovemeow:
---seems fixed