yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Can you describe your setup? I use "casting" literally all day/night long, from Netflix to HBO GO, to native built-in screen cast, I never have an issue, never reboots, never crashes. On the previous build, or now on the latest (dirty flashed). Are you running magisk modules, xposed, or otherwise tweaked OS? I only have MAGISK installed for ROOT, nothing else, ROM and GAPPs without tweaking a thing. I cannot reproduce your issue:

I suggest a full clean install with nothing more than OS/GAPPs/MAGISK BUT WITHOUT touching anything else, then check it. We need to rule out the differences between mine and yours, I suspect its user modification, which is fine, but we need to know whats causing it so more info, the better.

-EDIT my screenshot shows the built-in casting working but for some reason, XDA isnt showing it. It is proof it works on the latest but we need to figure out why its crashing on yours.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Latest update with Sysconfig Patcher magisk module prevents Google play from opening. This did not happen on the update before. Any thought

Edit: nevermind, swift theme installer had update for Google play, once I applied and rebboted, it's working
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] djp007s29:
Dream Lin,

It's not like going back to low firmware, HTC 10 will not be getting Official Android PIE from HTC, so the official latest firmware that HTC 10 has is Oreo, now to restore your Phone completely, you will have to use Official HTC firmware, that's why GROOVY recommend you to use WWE RUU.exe, once you restore you phone , unlock it again, flash twrp and you are good to go with LOS PIE.

Regards
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
First thing i do if i found an issue is to clean flash, not a single mod installed, not rooted...and this time i used latest nano gapps...i tried to connect with my lg smart tv and miracast which is also built-in... And to be clear, never seen my tv in cast screen device searching, even on 15.1 it didn't worked, but on the latest build it can see devices but crashed in connecting...on stock rom it worked...

Thanks for your answer...

Edit: and it is not a soft reboot when i am trying to connect, i don't know how to call it...my English is not good so well:p... But it restarts the whole android system without turning off... It locks my phone and asks to insert a sim card, and after a few moments it recognise the sim card and everything is good...except miracast didnt worked:D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] djp007s29:
Dream Lin,

I am S-On , there is nothing to worry about, most of the ROMs now support S-On. So don't worry about any thing. Unless if you got some App that only gets install on S-Off.

Regards
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] StellMonkey:
I tried clean install several times but it doesn't move on from this setup screen. Any ideas?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] BLU7:
It's ok to dirty flash 16.11.18 update over 4.11.18

Thank you!!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] drxx:
trwp format and flash last build again
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] StellMonkey:
did that, it is still happening
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
does anyone have the problem that when you're calling someone and the phone turns on loudspeaker mode by default? and you cant turn it off then.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] virchezzz:
Have you ever thought about the introduction of the project treble?

Sorry off topic,and my bad English
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Reboot twrp format data again, reboot twrp then format all partitions except extsdcard, then format data, reboot twrp and format data again. I've had the same issue your describing but this fixes it and please stop with the crying crap, it's getting old

---------- Post added at 11:27 AM ---------- Previous post was at 11:26 AM ----------

What kernel are you using, if Iceman, read back the pages
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
i do use iceman, but the one without woofer fix
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Hmm I didn't think there was one without the fix unless you mean the older one for O. If that's the case, then I can't help as I don't think it's fully compatible (but I could be wrong). Are you getting audio they the bottom speaker (woofer)? If so then it's the ice kernel causing it by design.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
isnt the stock pie kernel called iceman?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] trapcoder:
your username says it all ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
You mean built-in, it may be but I've never looked because I always flash the sound fix right after OS/GAPPs then kernel (P version) but even still, I'm confused on the issue. Are you saying you flashed just the OS/GAPPs and you're getting audio through the main speaker (woofer) and it's playing phone calls through the main speaker (woofer)? If so, it sounds like you've also installed the ice kernel with the audio fix.

When I only run the OS/GAPPs (and didn't install the ice kernel), audio ONLY flows through the notification speaker so if you're getting audio through the main speaker (woofer) then I would suspect you've also installed the add-on kernel.

Let me know if I misunderstood the question/issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
so yeah, you must have misunderstood me. lets start off with the fact that the built-in kernel is also iceman. and its the one im using right now.

now what i mean is whenever i call someone, my phone says its got the speaker mode turned on, even though i havent turned it on myself. also it will not turn iff the speaker mode, if i press the button.

here is a screenshot, so you get a better idea of whats happening.

ps i realise i should have done in the very beginning)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Ahh gotcha, sorry for the misunderstanding and derailing the issue. That happens to me all the time but I'm able to disable it (at least I think), I'll have to recheck when I do a clean flash (probably when they next release is up) I'll do a fresh/clean install and test this for you. I'll see if I can reproduce it and/or fix it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
last question then. how do you disable it? or what do you so you think you disabled it?)

PS you're like the 2nd most helpful person out here. after fagyi of course;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
I just hit the speaker button to turn off speaker mode.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
haha to good to be true. does the button change in any way or is it just your perception that tells you you've just turned it off
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
This is from memory as I'm currently testing RR O unofficial but I believe it did show the button was active showing it was active (illuminated). I'll confirm when I swap back to LOS16.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yeah, Basic audio fixes include the call audio fixes too which not uploaded yet.

Just updating the kernel to 124 version of caf.

Also try to fix that sensor. Got it landscape mode working but when switch back to portrait softrebooting yet grr.

Tomorrow uploadig one new build where dt2w and all audio working expect woofer :/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TobyHsu:
Unfortunately, it doesn't work for me.....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Do me a favor and take a screenshot while in TWRP and show me the error. Volume down plus power (same as in OS) then share on xda.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] i_think_i_am_wrong:
well, i tried flashing the kernel, but it doesn't seem to solve anything. maybe i should do a clean install. not sure if that would help though
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TobyHsu:
Well.... Something strange happened

I choose not to install twrp app before boot into system and it works...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
You only need waiting for a next release.

The basic audio fixes its device configs related and cant get it work without a rebuild that rom with the fixes because i missed few board flags. So i cant make an flashable fixes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
All good, but just to be clear, it has never worked on this ROM or the older build? What type of device are you trying to "cast" to? Is it a ChromeCast or some other device? ChromeCast most definitely works and works flawlessly (I use it daily, multiple times a day).

Also is it ONLY with MIRACAST failing? Have you ever tried the built-in Android "cast" service? I suspect its an incompatibility with MIRACAST itself seeing as you had this issue on multiple OS's. Built-in works great (and its free) so if you havent tried it yet, please do so.

---------- Post added at 08:36 PM ---------- Previous post was at 08:32 PM ----------

Click "back" then go through it again, its a bug in the installer. Happens to me every time. Sometimes I also have to go back to the Wi-Fi and select mobile to get it to kick in a new setup session. Just go back then forward, it should work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
On LG Smart TV, it uses miracast. Some users have reported this too back in lineage 15.1. I have tried many build prop tweaks but nothing worked..but again, it never had seen any devices but now it does...will put logs later when i come home...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Ahh so it's not an OS issue but a compatibility issue between 3rd parties (Miracast/LG). Post logs and I'll take a look but you would be better off going to Miracast support. It working in Sense OS may be something simple as a needed framework built-in with LG assistance or something deeper that only Miracast could shed light on with proprietary software. Who knows but I would check with their support to see what's missing so maybe we can fix it and help others too.

This is all just guessing as I don't have either so I can't reproduce the issue but have you tried the built-in cast service? I remember someone mentioning it worked with LG on an earlier LOS version so who knows but I would try it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Just tried with my window 10 note book and it does find the device but it says connecting and than nothing... I don't have any pop-up on my notebook...

So i think it's not just with tv...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Tried through built-in cast or using Miracast to Windows 10? If Miracast then sounds like an app compatibility issue
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
No no, I've tried with built-in cast... Here are logs...look, it's not big deal for me but it's good to have all features working:cowboy:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Understood, but one more question, when you tried with the built-in cast, did you still use Miracast? I'm trying to rule out the possibilities and so far, that's been constant throughout (unless you come back with a no).

I'll poke through the logs
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
On my notebook i use the win10 feature to screen mirroring, i think this is not a miracast... And on my LG TV miracast is also built-in, so i use no apps at all, all is stock on phone and on devices i tried to mirror my screen...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Yeah it's weird, but I thought you did say that you were using Miracast to cast. I'll get off Miracast issue but my only concern with this is that Chromecast works fantastic. I can cast through any app, built-in or 3rd party, so something is unique between us and that's what I'm trying to rule down to.

Dumb question but have you ever tried to cast to a Chromecast with the same phone? I am trying to understand where the issue is coming from and if it works with a Google device.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
No i have not... I think it has nothing to do with miracast, i misunderstood message on my tv... My tv has a built-in option to screen share and my laptop too, so i am pretty sure it is not compatibility issue...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Just so we are on the same page, you are most definitely using miracast, miracast is a protocol that enables wireless casting, but I thought you were saying you were using the miracast app as well.

Whats even weirder is, I just cast to my windows 10 without issue using the built-in cast app. I had to enable "use wireless driver" in Android (settings of cast) before my Windows 10 would pop-up but it worked fine (pics included). I have never casted to my win 10 so I googled it but it worked fine, I usually cast the other way.

Wait, I may have reproduced it, using miracast (wireless display) I can get it to cast to my Win10, BUT then if I close the cast, and reopen it, it does crash the display and causes a soft reboot. It is sporadic but I can see it now.

I can get it to work, then crash, then work, but I can now reproduce it using the miracast protocol. ChromeCast doesnt use this protocol (neither dos HBO Go/Netfix) so now I have something to work with and will debug it to see if I can find a solution. I am not working on this tonight but I will when I have a minute.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Ahh, i thought you think i am using a castdevice like chromecast...

That is interesting, now i don't know what I've done to my system, surely clean flashed the rom...no magisk no any mods, i am on los 16 since its release...you shouldn't show me those pictures:rolleyes:;)

I have no options but clean flash again, may i ask what gapps are you using?

And is it possible that magisk has something with this, maybe it gives some permission that i dont have :eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
No I didnt think you were using ChromeCast, I was trying to figure out your process. I was asking if you had the issues with ChromeCast as well, but now I can reproduce it myself so I will debug it. You are using casting through miracast, but without the Android miracast app. This was the missing piece I was trying to get from you, but all good, now I have a way to reproduce it myself. Also note, two different animals, ChromeCast/miracast (screen sharing) using different methods to stream, one mirrors, one casts.

My pics were to show you it was working but thats now moot as I can also break it and get the same results as you so I pulled them off to not confuse others.

Chromecast works, screencast through miracast protocol is flaky (worked, failed, worked, failed but I can reproduce the steps to get the failure so thats all I need to move forward). I will see what I can do to fix this. This was an interesting test, I never casted from Android to Windows. Always the other way around or from Android to TV/ChromeCast/Amazon but never to Windows. Never had a need.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] StellMonkey:
I tried going back but it still doesn't work. I can't even get to the wifi screen, after I click start it shows me "just a sec..."
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Honestly I don't think this is you or your build process but an issue with Android (or possibly AOSP) using the miracast protocol tripping a fault in the Android display. This causes a "soft reboot" of only the display interface.

I use nano gapps but I don't think you're going to fix this with a rebuild. My device is literally cleaned and brand new with nothing more than OS/GAPPs/MAGISK and user apps, I rebuilt it this morning from the latest OS. I also don't think this is an issue with this specific OS but an AOSP issue as you also had it with O.

---------- Post added at 10:33 PM ---------- Previous post was at 10:29 PM ----------

OK let's back up, what's your install process, ROM version (using latest), GAPPs used (flavor), MAGISK, kernel, etc, S-off, unlocked, firmware, CID/MID? It works for everyone else so there's something missing. I am writing this from my device running the latest built just today.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Okay, glad to hear that we have understand each other;) again, my English limiting me in this situations but who cares now:p

Thanks for the info for miracast and chromecast...i must read a little about them..

I will wait next build and i hope it will be my last clean flash in some time...i am tired of restoring my phone at weekly base:cool:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
LOL I hear ya, I nandroid alot but so I can test everything, break it and know what not to do and restore back from nandroid.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] StellMonkey:
wiped /system /data /cache with twrp, 20181116 tried with older roms as well , s-on, micro gapps, unlocked

edit: miraculously it started working ;/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
That's why i love android:angel:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Rock on, so you're good?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] StellMonkey:
yes, thanks a lot :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Awesome glad it's working, I didn't do anything but you're welcome!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Dream Lin:
I flash ruu successful:)

Thank you GROOVYJOSHCLARK

What should i do next?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Casting and wifidisplay two different thing.

Casting working without any issue.

Im working on it the wifi display / wifi direct support this is a why you look your device now, but its not complate yet. ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Sasqwatch:
Has smart lock gone in this build, I can't seem to find it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Yes i read about it a little and figured that out... Take your time man, it is not must have feature, i just noticed it doesn't work...

And on your github, there is something related to the launcher permission if i am not wrong... Will this fix pixel launcher crashing?:D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] scan6:
[MENTION=4453138]fagyi[/MENTION] , does this build have the AOD enabled?

Just read your github it said that you enable it recently.

Or it will be on the next build? thanks :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Not yet. LOS just track the latest trebuchet launcher which i like it. Will look the pixel launcher soon.

EDIT: just installed pixel launcher from playstore, no crashes here. ( on not released build )
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
The latest no, i just enabled it again so the next build get it.

Also bumped the kernel for the latest kernel tag from caf e.g. 125 version, sweep2sleep disabled by default and few other changes comes.

Home button working now as wake up the device
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
The pixel launcher from play store worked on all builds without a problem:)

Nice, when we get the new trebuchet, pixel launcher is less important:good::laugh:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Can you link the pixel launcher for me which is crashing? Or one from opengapps crashes? I only use mini which is not has pixel launcher so maybe this one why i dont faced with this issue.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
This is one from the latest gapps

https://www.apkmirror.com/apk/googl...ixel-launcher-9-4928604-android-apk-download/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Maybe it's me being dumb, but how will Always on display work on our device which has an LCD? Isn't that an OLED feature? On LCD it will kill battery.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sudoxd:
AOD would kill the battery because with LCD all the pixels are lit at once, even then most HTC 10s have battery issues now so it would not be good.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
Amazing rom. Almost everything works fine and stable.

But i found Twitter is crashing for me. I wonder if anyone else has this problem.

And here is the link of the newst version of pixel launcher that crashes.

https://www.apkmirror.com/apk/google-inc/pixel-launcher/pixel-launcher-9-4928604-release/

And newest version of Google camera. That crashes also.

I think it can be fixed in future releases

The latest working Google camera is 4.4.020

https://www.apkmirror.com/apk/google-inc/camera/camera-6-1-021-220943556-release/
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
[MENTION=4453138]fagyi[/MENTION] on page 86 i posted the link with flasable zip that fixed the stock pixel launcher from google...

It is a workaround from pixel xl los16 forum, because on marlin also pixel launcher crashes with LOS16... Maybe it will help you to find a problem..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] GROOVYJOSHCLARK:
Follow the steps I laid out a few pages ago. Glad you got RUU resolved, that's the biggest challenge but so important. Now install TWRP and wipe/format, then install OS/GAPPs/MAGISK and you're done.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mawdogbe:
Is it safe now to use the latest GAPPS without issue? I know there was an issue with that before. I plan to upgrade from LOS 15.1 and wanna make sure I've got everything I need.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Thanks, its an app issue, so i dont want patch, once upstream will fix it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
Thanks man for your hard work and time...:good::good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Giorgos zografos:
Is viper compatitable with this rom?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] imonirban:
Audio is wonderful without any tweaks. Not sure why you would need viper.

Sorry, I know that really doesn't answer your question.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mafiagalou:
when I try to boot for first time it requires password.

How can I skip this step, or what is the password?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] djp007s29:
Congratulations Dream Lin
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sgokan03:
It is. It works fine for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Did you recently flash the OS? Coming from another OS? Sense or AOSP? If not did you enable encryption? Also the password prompt is it on the lock screen or on the black boot screen?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mafiagalou:
I came from another ROM with Sense. I don' t know if I have enable encryption.

The password requested appears on the Black boot screen
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Giorgos zografos:
Driver status is ok but spotify and music app use the AudioFX instead of viper
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] krokanic:
You must turn off every audio fx including the stock one if you want use viper...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
If you came from Sense you have to boot into twrp and format data (it will ask you to type "yes") then flash OS/Gapps. You have to do this every time switching between sense (based) and AOSP roms. From Sense (AOSP) to sense (AOSP) is fine.