yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] radiotelescope:
I've never flashed GApps before so it says I have to format my system partition and flash the rom again and also Gapps. Is there any way of getting lineageOS to work properly without formatting? I backed up everything in TWRP and Titanium backup. How much work would it be to format the system partition, flash the ROM again, install GApps, and then get everything back the way it was? Is that even possible? Sorry, total noob here. Can I also just get some google apk's from somewhere and if so which ones.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cristihan:
Dirty Flash

- backup current ROM in TWRP

- wipe System & Cache

- flash new ROM & Gapps

- wipe Dalvik/Cache

- reboot to system

- make your settings

- reboot to Recovery

- flash Magisk 20.4 (if you want root or if ROM was rooted before)

- reboot to system. Done
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] radiotelescope:
Hi there, thank you for you response. I am trying to wipe system but TWRP won't let me decrypt my data and it won't let me wipe system. I can't seem to find a way to decrypt when booted up. Is there a way around this?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cristihan:
If you do not have the password with which you encrypted the data you will have to format the Data partition.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] radiotelescope:
I did have the password but it didn't recognize it. I did a full wipe in the end and kept getting boot loops even after multiple tries and I was slowly losing my mind hahahaha. It finally worked though! That's for all the help :) It was definitely a learning experience.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] siuishere:
Hello [MENTION=4453138]fagyi[/MENTION],

Does it include something to adjust the proximity sensor while calling?

Thank you in advace for your response
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Denisvil:
Dear [MENTION=4453138]fagyi[/MENTION], I really appreciate your work, I want to consult you if it is possible to include in the ROM support for signatures spoofing, this to install the ROM without the Gapps, I really think there would be many of us that would greatly appreciate it.

Cordial greetings
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Los running without gapps just for clear, gapps its optional, do you think microg? If so i never tested, but possible build the rom with microg support but i dont motivated for that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rskhalsa:
How to recover if locked out

Hi [MENTION=4453138]fagyi[/MENTION],

I made a stupid mistake that you highlighted not to make - I installed your build and I was coming from Sense Oreo without wiping data using TWRP. So I eventually stuck on the lock screen. I then went into TWRP and wiped data. Now the system is stuck on the boot animation.

Can you please kindly help me with the steps how can I re-install your build in this case?

Any help will be muchly appreciated.

Cheers.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Hi [MENTION=4453138]fagyi[/MENTION]

Hope you don't k mind me asking is there any reason Wireguard kernel module has not been updated in over a year?

Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Denisvil:
Actually the ROM starts without the Gapps, and it is precisely for the installation of MicroG, hopefully someday you can incorporate this function, grateful for your work.

many greetings
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] InfinityBlaze:
Is the rom currently stable enough to be used as a daily driver ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kdrkdr:
Absolutely
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Noname1477:
Stably randomly turns off and on wi fi, no hi-res sound.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rskhalsa:
I finally resolved it by sodeloading the ROM again. I enjoyed using it. But I switched to your Pixel experience ROM and now enjoying it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
Yes, its improved but havnt tested yet, just building the latest with 06 sec updates.

Morning i will uploading it and push to the ota
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] khaninator:
Morning Fagyi,

Thanks for all your work on this. It's really appreciated.

Cheers!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kasazza:
For my opinion, YESSIR!

Using HTC10 with this ROM as Job Mobile since FEB2020!

Very stable.

The only thing to get better, as soon as I will update to the next build that's coming out "in hours", is the use of the Proximity Sensor to disable touch screen during phone calls

Andrea from Italy
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
New build its uploaded:

https://androidfilehost.com/?fid=12420606652095399349

All upstream changes merged as well + 06 sec updates. Proximity sensor improved, hopefully screnn off working with calls.

Also pushed to the ota of this version.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] khaninator:
Thanks! All working fine here!

One question that I have always wondered about: why do you do this? Why keep building it for our HTC 10, when you have another phone? It seems like an arduous task for little reward. But, I am glad you do. Cheers.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
I just love my htc 10. Its just my hobby. I have an strong pc, so compile time max 2hrs with clean build. With installclean reduced to 5-10 min.

Also building for my mi 9, but in the backround. The source its downloaded so why not if i setuped the kernel/device/vendor tree for our beloved 10.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cristihan:
Thank you [MENTION=4453138]fagyi[/MENTION] !
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kasazza:
Is this build good for a Dirty Installation coming from 10/05/2020 build?

Andrea from Italy
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kdrkdr:
Worked for me
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarg_:
Hi!

Thank you for your work! I'll share my impressions regarding the 20200608 build:

The install was somewhat troublesome. I came from the latest Oreo Sense build, completely stock phone, and I successfully unlocked bootloader and flashed TWRP (I had issues but those were purely out of my stupidity).

I wiped /system, /data, /cache and dalvik, formated data (the place where you need to type yes), and flashed lineageos and latest magisk. Upon rebooting to the system, I encountered booting animation that ran for about 10 minutes, so I force-rebooted the phone.

I repeated the wiping and formating, flashed first lineageos, and rebooted to the system. I still waited 10 minutes, so I rebooted to recovery, flashed magisk, and rebooted to the system. Again, no response other than the boot animation. Rebooted to recovery, flashed gapps, rebooted to the system and still no recovery.

I repeated the wipe and format, and selected all 3 zips (lineage, magisk and gapps) to flash in succession. After that, the boot animation lasted around 3-5 minutes and it started successfully. I'm not sure what had happened but it works now.

The system works flawlessly performance-wise, there are a few occasional stutters here and there, but much rarer than in Oreo Sense version. Also, sometimes, the current app might stop responding, as in the next example. I open settings app, and enter a menu that is listed. If I quickly want to leave, sometimes, when I press the back button, it doesn't revert immediately. However, when I press the options currently shown, the option glows, as if it were selected (but it doesn't change to that menu or change the settings dial). After a few seconds, the app responds and it reverts to the previous menu (The phone registers the input as it vibrates the very moment I press the buttons). It isn't a big deal, though. I'll try to recreate it and record the issue, just for the information.

Also, it seems that battery drain might be present. I'm not quite sure, though, because I had a battery drain and sent it to a service shop so they changed the battery, but I haven't tested it relatively to the Oreo Sense version. I'll keep you up to date on that (whether it's hardware or software issue).

Also, I'm using non-HTC headphones (JBL earbuds). Audio seems to have some issues, as I sometimes need to unplug and plug the headphones back in several times before the audio starts working correctly on some apps. I'm sure it isn't the hardware problem, as I might be using the Youtube app and watching videos. Then I close the app, open Spotify and the audio has static in the background + sounds much dimmer than before. That also happens with the stock music app, and the issue persists regardless of which app I switch from and to. That's the only real issue that bothers me.

I hope this info helps you and someone new trying to install this system. Kudos to you, keep up the good work!

Best regards,

Alarg
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarg_:
It seems that the drain comes from the OS. Before the battery change, I could use my 20000 mAh power bank on Quick Charge for 6-7 times before it ran out of power (that's how the battery deteriorated). I've already charged it once during this day, on the power bank, and I'm charging it for the second time. Maximum screen on time usage is around 3-4 hours. The bank is around 60%, I'd say, so the phone should have charged full 3000 mAh both times. From the battery intensive apps, I'm only running Facebook, Instagram, Viber, Whatsapp, Youtube and Facebook Messenger, so application-wise, the battery is ok. Also, I turned down system performance in the settings to Efficiency (2/5). I'd recommend fixing this soon. I hope my feedback helps!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cristihan:
No battery drain since I use this ROM.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarg_:
Using 20200608 build (the latest one)?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] spacerocketboy:
The OTA worked great for me, no issues so far. Thank you for the build!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cristihan:
No..build date 30.05.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cristihan:
Hello [MENTION=4453138]fagyi[/MENTION]. I received this notification from the system: wifi bug report.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kasazza:
Hello,

is there a way on this ROM to modify the HOSTNAME of the device to recognize it scanning DHCP Server, when connected in WiFi ?

The name I entered in System Properties (Properties -> Phone Informations -> 1st item: Device Name) seems to be used only over BLUETOOTH

I use this rom without root/magisk

Andrea from ITALY
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarg_:
Hi!

I wanted to share more impressions, this time, regarding 20200530 build.

I dirty flashed the OS and it seems that it works fine. Battery drain wasn't present at all, as I managed to get 5 hours of on-screen time from 100% to 5%. Also, much fewer heat problems (I also had a lot of overheating on 20200608).

When it comes to sound, it also happens to have much fewer problems. The only thing that I noticed is that when changing between 2 audio streams relatively quickly, the audio would show already described issue. The difference from newer build is that it is much more predictable and happens a lot rarer than usual. I suspect something is wrong with the fact that maybe old audio might be in the buffer while the new one plays and that might be causing the issue.

I hope these things get on your long-term to-do list, @fagyi. As much as I can tell, 20200530 is quite usable.

Best regards,

Alarg
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Petrčab:
Hi Fagyi, is it possible to fix aptx codec support? When I change the codec in the developer menu to aptx, it always returns to the default codec ...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kdrkdr:
Is there a possibility to get flip cover working? Cannot find it. (magnetic sensor works)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Petrčab:
Hi Fagyi some news with selinux permissive?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] doanhongky:
My HTC 10 is also very fast running out of battery, please build 20200530 to experience
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
If this is still your original battery then it's just dead. I had to replace my battery last year. It's very common. I guess the htc 10 had a bad battery

---------- Post added at 11:06 AM ---------- Previous post was at 11:05 AM ----------

Noob question but this is my first time doing this. Can i use the updater in settings? It gives me an update but since the htc 10 is not officially supported by lineageos 17.1 i'm not sure if i can do this or not
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
New build its uploaded:

https://androidfilehost.com/?fid=8889791610682891406

07 sec updates merged as well. Los not merged yet officially but i do that :) on my cepheus fine.

Next week working on it my 10 ;) i just maximalized my cepheus and make it uptodated on kernel side so sorry for the silence, building the latest PE-plus for us
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
You can use that. Im implemented my custom ota repo, so you only see an updates if i pushed to that my ota.

The latest ( today ) not pushed yet, maybe tomorrow
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
OK good to know although it keeps giving me an error atm while downloaden. Claiming my internet is down while it's not. So I've downloaded the zip. Can I dirty flash it over the may build? Also my banking app claims I'm rooted even though I'm not. Is this a known issue? If so I'll just root the thing and Google for a thing to hide the root status. Thanks again for the hard word BTW!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] svekie:
Thank you fagyi for your work and effort!

After my HTC10 (with Stock Oreo) was showing a little usage of the batteries I decided to get me a new primary phone (Motorola One Zoom) and take the opportunity to start tinkering with Custom Android ROMs.

After long and painful 2 days trying to flash I finally succeeded with a runnung 20200608 phone after a lot of reboots and reflashes due to hanging reboots two weeks ago.

What I did find out is, you need a working SIM-Card to succeed the first boot and setup of GApps!

Otherwise I just experienced the first OTA-Update with your 20200712 version and I would like to say: Wonderful!

Thanks a lot!:good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] fagyi:
On the weekend and the next week i will try porting the latest q kernel source from caf and update it with eas, also if its possible switch to pelt based eas.

Rwally awesome on my cepheus, with simole eas with walt i have 6-7 hr sot, but with pelt get an 8-9 hr. The pelt version of eas more battery friendly, walt its for balance, but with pelt i have only 5% performance drop, which is not noticiable on sd855.

Hopefully can be ported to 3.18 kernel too.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] nightangelnp:
Wow! eas and pelt based eas sound really awesome!! my friend, thanks a lot for doing this! :D can't wait
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarg_:
Hey!

Thanks for the good work! It's going like a clockwork! :D

I have only one request. The audio issue I already described somewhat rarely happens in this new build. However, I'm interested in contributing to this project. Could you help me out and tell me your guesses for the audio issue here? Other than that, this ROM is truly looking greater and greater. Keep up the good work!

Regards,

Alarg
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
I rooted my device for the first time. However the safetynet check did not give 2 check marks. Is there a way to fix this. Sorry if this a dumb question but i'm really a noob. First time flasher and rooter plus since this is an unofficial build i don't really know what the rules are. I used the device unrooted for a couple of days and no issues whatsoever except the 2 mentioned by the OP. I wans't planning on rooting because apps would otherwise flag it but those apps did it anyway, claiming the device is rooted evn though it's not. So i might as well just root it and try magisk hide. Any help is much aprreciated
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarg_:
Did you do it via magisk like recommended? I think that I had an error too, and that I could still use root and banking apps. Did you try going into superuser in terminal? (Type su and press enter)

Послато са HTC 10 помоћу Тапатока
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
Yes, i downloaded the magisk zip from github and then flashed that via twrp. I haven't tried the banking apps yet but seeing even the friggin mcdonalds app won't work and flags the root i'm guessing the banking apps won't work also. Is terminal that adb in powershell or command prompt thing or is it something else

edit: root is available according to the app skit
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarg_:
Download an app like Termux, or any kind of terminal emulator, however note that in Termux the superuser command is tsu, not su.

Послато са HTC 10 помоћу Тапатока

EDIT: here are my two errors, yet I can access a banking app even though it recognised my phone as rooted. I'm not sure, though, that's an app-wise problem and I think you should seek help from magisk git page.View attachment 5060987
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
SU was granted
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
Hi can anyone tell me what the most recent compatible gcam (mod) version is or is the one in this build the most recent compatible version?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] auserbyanyothername:
Thanks Fagyi!

Hi Fagyi, thanks for your contribution to the HTC 10 community. I read about LineageOS, stumbled up your build, and decided to try unlocking my HTC 10 and flashing a custom rom.

Thanks you your instructions and some helpful tips in this thread went perfectly. There was a bootloop when I first installed it but somebody mentioned if you get a bootloop after installing LineageOS put in a sim card, and this solved it.

Magisk installed no problem.

I didn't install gapps, so any gcam build instantly crashes and I didn't try installing anything like Whatsapp or Instagram through the Aurora Store because I don't know much about security on an unlocked, rooted phone and because encrypted storage is broken.

Sadly I have a faulty touchscreen so I couldn't test the phone very extensively but everything feels very quick and the battery life has been good using the balanced profile.

One bug is that when hosting a hotspot the phone was identified as an HTC U11 Ultra.

You inspired me to try replacing my touchscreen and home button to get this old phone working again. :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
Buy a complete display. So digitizer and lcd panel. It's nearly impossible to open up your phone without cracking the lcd. You can get them for 20 euro or so. Also install a new battery if you hadn't already.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] giacominos:
Yep I can confirm that and even if it doesn't crack, usually the lcd get separated from the digitizer and that leads to a faulty digitizer, now you can buy for 15 euro on aliexpress, but it must be planned in advance it takes a month or so to be delivered, also they always came without adhesive, but it can be found or you can use glue if you are extra careful . And there's another problem if you want to change the battery now you get a 4 years old battery if original... I tried 3 times from different sellers on ebay all dead or half dead, always refunded luckily :) Now I'm trying a German brand made this year going to install it tomorrow .. cross fingers :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] UnwindingThree8:
Yeah that's the risk. Batteries lose their capacity over time even if they were never used and just sitting in a box. I got lucky. I bought one and telemetry showed it still had 95% of the capacity when I bought it. Considering those batteries were already 2j old it was a great buy.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] auserbyanyothername:
Thanks for the advice guys, but unfortunately I learned this the hard way.

About a year and a half ago I took the phone to a local shop for a battery replacement. In the process they broke the screen and installed a replacement one. The adhesive holding in the finger print sensor onto the new screen wasn't strong and neither was the adhesive holding in the screen. The pieces started separating and when I squeezed them all back together I cracked the screen, so the shop replaced it again but the new one has a faulty digitizer, the same problem with the adhesive, and the capacitive buttons no longer illuminate. On the positive side Accubattery says the new battery still has 92% capacity, even after sitting in a drawer for the past 18 months. I had given up and bought a new phone and left the HTC 10 sitting until now.

My "new" phone that replaced the HTC 10 now has a swollen battery, no longer receives updates, and it's nearly impossible to unlock the bootloader. (Huawei Mate 10 Pro, US model BLA-A09)

To repair the HTC 10 I've ordered a new midframe, charging port board with capacitive buttons, lcd & digitizer, home button/finger print sensor, and a sticker that looks like it holds the motherboard onto the midframe. In the photos it looked like the parts have adhesive pre-applied but I'll order some B-7000 adhesive or something similar just in case. I was able to remove the current screen without breaking it using my fingernails and a knife, it was glued so poorly. I figured the fresh midframe might help me get a good bond when I glue in the new screen but I'll have to dismantle a lot more of the phone.

Am I wasting my time trying to fix the capacitive buttons? I read somewhere that they won't illuminate even if you replace the board.

Yesterday I found out my carrier is phasing out 3g and they will stop supporting phones that don't use VOLTE. To fix the VOLTE we need to go back to an android 8 based rom, right?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] subAlot:
bugreport

hello [MENTION=4453138]fagyi[/MENTION], please find attached a wifi-bugreport. great rom, thx mate:good:

btw i am runnin nogapps.

microg-nanodroid full tru nanodroid setup, signature-spoof with Smali-Patcher; flashed the signature-spoof-patch with Magisk.

guys, i had to disable all Magisk Modules prior to updating from 501 to 712. Nandroid backup strongly advised. OTA Update failed due to error message regarding "no internet connection".

Updated via TWRP.

Create new Smali-Patch afterwards and flash with Magisk.

thank you for putting some effort into this!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MPenguin:
The latest build in this thread installed with no problems on my HTC 10. Also installed the stock OpenGapps, and everything is running smoothly. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] PBZPA:
Hello!

First of all, congratullations for the awesome work on this ROM.

Im new at using custom ROMs and I comming from stock 3.16.401.2 (International version) to lastest 17.1 LOS build.

The only issue that I've noticed is that I'm not able to connect to hidden SSID Wi-Fi networks. The problem is immediatelly fixed after broadcast SSID option is enabled on my router.

Just a question, sorry if is too silly.

After the install, the phone is showing a notification about the build signed by public keys and a warning about SELinux, supposedly implying in security issues.

Should I worry about this?

What are these security weakness?

My phone is not rooted and I'm not planning install unknown apps, etc.

Thanks in advance.