[ROM] [9.0.0] LineageOS 16.0 UNOFFICIAL Builds (pme)

Search This thread

Meshok

Member
Dec 13, 2015
48
2
I have ALL contacts disappearing from the phone after a few hours after importing them and the phone just laying around.
Does anybody know what should I check in an attempt to resolve it?
 
Last edited:

allio

Member
Jan 25, 2012
5
1
Hi! I successfully unlocked and rooted my HTC10, flashed TWRP recovery and I flashed (via TWRP adb sideload) the ROM. Btw, thank you fagyi for the hard work.
I followed the instructions for all listed on this page.

After flashing the rom and Gapps nano ( MindtheGapps didn't work because of the launcher ) I went through the setup but the SIM card was not detected (and no IMEI...) :( .
...

Please help me get my SIM detected again and phone working again! thank you!

I'm in the same boat I think, and completely stumped as to where to from here.

What I did:
  • Started with completely stock Sense (Oreo, 3.16.709.15) locked
  • Unlocked bootloader
  • Flashed TWRP 3.3.1.0 pme
  • Made full system backup to SD (every option in TWRP backup screen ticked)
  • Did 'data' wipe (the one where you type "yes")
  • Flashed LineageOS 16.0
  • Rebooted and noticed SIM wasn't working
  • Rebooted to recovery and flashed gapps
  • Rebooted to LineageOS, still no SIM

This seems like a common problem but the solutions seem to assume a level of knowledge I don't have. My goal is to get Lineage working but at the moment the priority is getting any kind of radio working, stock Sense or otherwise. What should I do?
  • Do a full wipe again and restore the backup I made in TWRP? Seems like the obvious thing to do but I don't want to make things worse.
  • Flash a "RUU" (if so how do I work out which one I need - I have an M10h, Taiwan model I think? Download mode info here)
  • Do what acimer describes here? (I don't understand how).
  • Flash a different ROM and make sure it's based on Oreo?

Lastly - why did this happen? Maybe I missed something obvious, but I feel like I followed every instruction to the letter.

Edit: I've successfully restored my nandroid backup and gone back to stock. Would appreciate any advice on how I can flash Lineage and keep my SIM working.
 
Last edited:

Meshok

Member
Dec 13, 2015
48
2
Issue: Can't change any Bluetooth settings in Developer Options.
When tapping a radio button, a popup closes, but the selected value doesn't change.
 

Meshok

Member
Dec 13, 2015
48
2
Issue #2: When enabling 'Airplane mode' via a button in Notification drawer, the phone locks.
Not sure if it's the LOS default behavior, though.
 

lennon86

Member
Nov 10, 2019
7
1
First, Thank you to Fagyi for superlative support of LOS on HTC10, and to those giving him feedback.

I'm a noobie seeking help to solve a problem to build this Fagyi LOS16/HTC10 rom. I posted question here on xda support hoping someone might help::

Cannot get Fagyi's LOS16 on HTC10 to make it thru lunch!


Sincere appreciation.

[SOLVED] Cannot get Fagyi's LOS16 on HTC10 to make it thru lunch!

https://forum.xda-developers.com/sho...postcount=9751

Wish I had more answers.
not sure why this is getting denied either
fork/exec /tmp/go-build619979590/b001/exe/microfactory: permission denied

===============================================

Hi @andybones @fagyi Thank you for taking time to consider my problem and give feedback.

GOOD NEWS! I've SOLVED this and it was not easy for me!!

For past 3 days solid I have tried everything and stretched google-fu to limit.

First: following your advice; re-initialised LOS16 and rebuilt everything from clean slate.
Result: Exactly same brunch error as first pme build.

Second: I downloaded and built OFFICIAL Nougat LOS15 for HTC10/pme.
Result: It built fine, no problems with breakfast, brunch or lunch --all smooth.

Third: I tried using themuppets with LOS16 instead of Fagyi's device tree:
Result: Exactly same brunch error as first pme build.

Finally: SOLVED!
Problem: My system is too secure!
/tmp is mounted noexec as recommended by Debian security and others.
BUT this new LOS16 uses golang in its build process.
In that process it's assumed golang can run write and programs from /tmp.
Since my /tmp is noexec we get those fork/exec permision denied errors.
I found out those errors are preventing build success.

THE FIX:

#1c. FIX GOLANG ISSUE
#------------------------------
#----------------FIXME: SOLVED
#[email protected]@@ THIS GOT_ME BIGTIME and caused ALL breakfasts/brunches to FAIL:
#... starting with msg like:
# fork/exec /tmp/go-build432919724/b001/exe/microfactory: permission denied
#... and ending with :
# ** Don't have a product spec for: 'lineage_pme' [or lineage_griffin, or...]
# ** Do you have the right repo manifest?
#
#... AFTER 3 SOLID DAYS[!!] NOW SOLVED: See this:
#https://github.com/golang/go/issues/8451
#And set ENV like so: [best setup in ~/.bashrc file]
mkdir -p ~/tmp-go-lineage
export TMPDIR=~/tmp-go-lineage
alias go='TMPDIR=${GOPATH}/tmp go'
#
#Debrief:
#'go' wants to run programs (microfactory?) from /tmp, but in a properly secured
# system like mine - and as recommended by Debian -- /tmp has the noexec bit set!!
#--------------------------------

I suspect many other unfortunates may get caught by this new 'feature'
of lineage build system...
So spread the word and save them days of frustration!
 

Neeosx

Senior Member
Feb 11, 2012
82
14
OnePlus 7T
I get terrible echo on phone calls (recipients hearing echo) when I turn the call volume up.

Echo disappears when setting call volume to the lowest lvl. Anyone else having this?

Latest build, LOS16
 

Golv

Recognized Developer
Jan 17, 2012
2,273
4,755
HTC U11
OnePlus 10 Pro
@fagyi
Please, can you help me (I probably lack the necessary knowledge and experience).
We have U11 device and fully working ROM LOS 16.0 based on 8.0 kernel.

But I downloaded 9.0 kernel sources from htcdev, made deconfig, made small changes in device tree.
After that, everything works, except for LOS Сamera, GCam and flashlight.

I tried to find a solution in other branches with same SOC, but could not find.
I see from DMESG log that camera does not start from beginning of boot.

I think that our LOS developer *@ tomascus could solve this problem, but he is very busy with his studies and does not update LOS at this moment. He only wrote - https://forum.xda-developers.com/showpost.php?p=80975585&postcount=1321
I and users of our device would be very grateful if you would help us!
Thanks in advance for any advice and help and for your tremendous hard work.

For info:
Device tree
Kernel 9.0
Vendor

logcat - https://gist.github.com/Golv/27624d98513af4b7a22e2992ea1f583f
dmesg - https://gist.github.com/Golv/021186f421e4570d421569dd11ef1ed4
 

sinedoke

Member
Sep 11, 2019
7
1
Oporto
I guys! Great info in this thread!

I am trying to get a OTA support in an UNOFFICIAL build of Lineage 16.0. I got my private server working and the ROMS updates downloaded by the system Updater but they are failing with the following error

Code:
11-27 00:08:36.239 10883 10883 I /system/bin/uncrypt:   received command: [[email protected]/cache/recovery/block.map
11-27 00:08:36.239 10883 10883 I /system/bin/uncrypt: --locale=en-US
11-27 00:08:36.239 10883 10883 I /system/bin/uncrypt: ] (59)
11-27 00:08:36.241 10883 10883 I /system/bin/uncrypt: [libfs_mgr]fs_mgr_read_fstab_dt(): failed to read fstab from dt
11-27 00:08:36.241 10883 10883 E /system/bin/uncrypt: failed to set bootloader message: failed to find /misc partition
11-27 00:08:36.242  2737  8739 E RecoverySystemService: uncrypt failed with status: -1
11-27 00:08:36.244 10883 10883 I /system/bin/uncrypt:   received 0, exiting now
11-27 00:08:36.251  6768  6768 E UpdateInstaller: Could not install update
11-27 00:08:36.251  6768  6768 E UpdateInstaller: java.io.IOException: Setup BCB failed
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at android.os.RecoverySystem.installPackage(RecoverySystem.java:595)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at android.os.RecoverySystem.installPackage(RecoverySystem.java:518)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at org.lineageos.updater.controller.UpdateInstaller.installPackage(UpdateInstaller.java:100)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at org.lineageos.updater.controller.UpdateInstaller.install(UpdateInstaller.java:94)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at org.lineageos.updater.controller.UpdaterService.onStartCommand(UpdaterService.java:199)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3705)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at android.app.ActivityThread.access$1600(ActivityThread.java:200)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1688)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at android.os.Handler.dispatchMessage(Handler.java:106)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at android.os.Looper.loop(Looper.java:193)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at android.app.ActivityThread.main(ActivityThread.java:6718)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at java.lang.reflect.Method.invoke(Native Method)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-27 00:08:36.251  6768  6768 E UpdateInstaller: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

Does anyone know why is this happening that could give me a hand?


Cheers
 

mondara

New member
Sep 24, 2019
4
0
Missing SIM-Card

Hi,

I tried an own build (with MicroG and F-Droid) based on your sources. Unfortunately, the SIM card is not recognized in my own build. With your prebuild image, the SIM card is recognized. Do you have an idea what the reason of this is?

I build lineageOS mainly with the scripts from github / lineageos4microg / docker-lineage-cicd (I'm not yet allowed to post this as link) together with an extra manifest:

zzz_htc_pme.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project path="device/htc/pme" name="Fagyi/android_device_htc_pme" remote="github" revision="lineage-16.0" />
  <project path="kernel/htc/msm8996" name="Fagyi/android_kernel_htc_msm8996" remote="github" revision="lineage-16.0" />
  <remove-project name="TheMuppets/proprietary_vendor_htc" />
  <project path="vendor/htc" name="Fagyi/proprietary_vendor_htc" remote="github" revision="lineage-16.0" />
  <project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" remote="github" revision="lineage-16.0" />
</manifest>

If you need more build information, please ask for it.
 

andybones

Forum Moderator
Staff member
May 18, 2010
15,071
15,437
Google Pixel 5
Hi,

I tried an own build (with MicroG and F-Droid) based on your sources. Unfortunately, the SIM card is not recognized in my own build. With your prebuild image, the SIM card is recognized. Do you have an idea what the reason of this is?

I build lineageOS mainly with the scripts from github / lineageos4microg / docker-lineage-cicd (I'm not yet allowed to post this as link) together with an extra manifest:

zzz_htc_pme.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project path="device/htc/pme" name="Fagyi/android_device_htc_pme" remote="github" revision="lineage-16.0" />
  <project path="kernel/htc/msm8996" name="Fagyi/android_kernel_htc_msm8996" remote="github" revision="lineage-16.0" />
  <remove-project name="TheMuppets/proprietary_vendor_htc" />
  <project path="vendor/htc" name="Fagyi/proprietary_vendor_htc" remote="github" revision="lineage-16.0" />
  <project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" remote="github" revision="lineage-16.0" />
</manifest>

If you need more build information, please ask for it.

Try this out, (your choice of Lin17 or Lin16 for kernel) but this is what I'm currently building crdroidPie with. If this doesn't help, a logcat would be needed.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
    <!-- HTC 10 - aka pme -->
    <project path="device/htc/pme" name="Fagyi/android_device_htc_pme" remote="github" revision="hmp" />
    <project path="kernel/htc/msm8996" name="Fagyi/android_kernel_htc_msm8996-caf" remote="github" revision="lineage-17.0" />
    <project path="vendor/htc" name="Fagyi/proprietary_vendor_htc" remote="github" revision="hmp" />
    <project path="packages/apps/FlipFlap" name="LineageOS/android_packages_apps_FlipFlap" remote="github" revision="lineage-16.0" />
    <project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" remote="github" revision="lineage-16.0" />
</manifest>
 

mondara

New member
Sep 24, 2019
4
0
Try this out, (your choice of Lin17 or Lin16 for kernel) but this is what I'm currently building crdroidPie with. If this doesn't help, a logcat would be needed.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
    <!-- HTC 10 - aka pme -->
    <project path="device/htc/pme" name="Fagyi/android_device_htc_pme" remote="github" revision="hmp" />
    <project path="kernel/htc/msm8996" name="Fagyi/android_kernel_htc_msm8996-caf" remote="github" revision="lineage-17.0" />
    <project path="vendor/htc" name="Fagyi/proprietary_vendor_htc" remote="github" revision="hmp" />
    <project path="packages/apps/FlipFlap" name="LineageOS/android_packages_apps_FlipFlap" remote="github" revision="lineage-16.0" />
    <project path="packages/resources/devicesettings" name="LineageOS/android_packages_resources_devicesettings" remote="github" revision="lineage-16.0" />
</manifest>

Thank you, that worked! What are the "hmp" branches and the "caf" kernel?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 106
    https%3A%2F%2Fimg.xda-cdn.com%2F_qciZ_MtPTGjDb-adIt4fAUOirk%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252Fy-LtXHGCDBH0KxFw9MxWAPF3guk%253D%252Fhttp%25253A%25252F%25252Fi.imgur.com%25252F2okPze5.png


    LineageOS 16.0 is a free, community built, aftermarket firmware distribution of Android 9.0.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include <std_disclaimer.h>
    
    /*
     * Your warranty is now void. 
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     */

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Instructions:

    Take a backup first from your actual system!
    1. Before instaling, make sure you are running the latest Oreo firmware from the latest HTC Sense.
    2. If you are encrypted but running an AOSP ROM then you're fine. If you come from Sense, take a full backup of all your data, boot into TWRP and format data (the option which requires you to type "yes") and clean flash accordingly. This is due to encryption changes. Do not skip this step or you will be locked out of your system by a password prompt.
    3. If you are coming from any other ROM wiping /system & /data is strongly recommended
    4. Download the latest build and GApps (both links are below).
    5. Reboot to TWRP.
    6. Flash the latest build and GApps.
    7. Reboot and enjoy (as much as currently possible)

    Downloads:

    ROM: lineage-16.0-20191015-UNOFFICIAL-pme.zip

    GAPPS: OpenGapps

    Known Issues:
    1. IMS - VOLTE
    2. SlowMo
    3. SeLinux permissive ( will be fixed when the bugs are fixed )

    Reporting bugs:

    Grab a logcat right after the problem has occurred (please include at least a few pages of the log, not just the last few lines, unless you know what you're doing).
    If it is a random reboot, grab /proc/last_kmsg (do not bother getting a logcat unless you can get it just before the reboot, a logcat after a reboot is useless).

    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved.

    Credits:
    1. LineageOS Team & Contributors
    2. Code Aurora Forum
    3. @crpalmer ( He left from the project )

    Special thank you who send me donations: ( both AOSiP & LOS )
    - @The Fer-Shiz-Nizzle
    - @fantamadnesss
    - @_Sherrif
    - @Roocher
    - @scutworker
    - @synaesthesics
    - @MrN1484
    - @Galdrapiu
    - @Chucktr
    - @guest
    - @kdrkdr
    - @heyChristo


    Source code:

    LineageOS Gerrit Review
    Kernel source
    Device source
    Vendor source

    XDA:DevDB Information
    [ROM] [9.0.0] LineageOS 16.0 UNOFFICIAL Builds (pme), ROM for the HTC 10

    Contributors
    fagyi
    ROM OS Version: 9.x Pie
    ROM Firmware Required: OREO
    Based On: LineageOS

    Version Information
    Status: Testing

    Created 2018-10-08
    Last Updated 2019-10-28
    59
    New Build Is Up

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

    Changlogs shortly:

    pme: Woofer working builtin like as stock
    pme: Sync Light interfaces with P
    pme: remove powerhint
    pme: audio: add support for aptX & aptXHD
    pme: update widevine blobs from marlin - 9.0.0 (PPR2.181005.003, Oct 2018)
    pme: update graphics blobs from LA.UM.7.6.2.r1-03000-89xx.0
    pme: rootdir: add init.foreground.sh
    pme: configs: wifi: kang from marlin master brach
    pme: config: thermal: remove merge derp from marlin
    pme: irqbalance: bring back
    pme: power: switch to cfq as default
    Revert "pme: Migrate to audio V4"
    pme: disable INTERACTION_BOOST,it is just ramping the CPU unnecesarily
    pme: manifest: bring back thermal 1.0
    pme: thermal: remove the service source too
    pme: remove thermal service's for now
    pme: power: switch to the latest qcom-1.1 power hal
    pme: copy a missing ant+ permission
    pme: power: configure for EAS
    pme: configs: thermal: update config from marlin to P
    pme: remove energy-awareness
    pme: enable AOD overlay
    Revert "pme: sensors: move to hwbinder"
    pme: use new hwcomposer properties
    pme: wifi service cleanup
    pme: move wifi calibration to vendor
    pme: Disable sdm rotator downscaler
    pme: lights: add more backlight permissions on init
    pme: Renamed config_dozeAfterScreenOff
    pme: kang marlin brightness settings
    pme: FP: move a new way
    pme: audio: add two flags
    pme: audio: build libaudioroute
    pme: gps: remove unneeded flags

    Vendor:

    pme: perf: update related blobs from marlin to P
    pme: remove energy-awareness
    pme: thermal: update related blobs from marlin to P
    pme: add missing ant and camera blobs
    pme: irqbalance: update related blob from marlin to P
    pme: update graphics blobs from LA.UM.7.6.2.r1-03000-89xx.0
    pme: update widevine blobs from marlin - 9.0.0 (PPR2.181005.003, Oct 2018)
    pme: widevine: remove derp
    pme: widevine: remove old blob
    pme: audio: add support for aptX & aptXHD
    pme: aptX & aptXHD add missing blobs


    F1 just starting!
    57
    Hi all!

    New build is up!

    Download: https://androidfilehost.com/?fid=11410963190603886482

    Changelogs:

    All Los changes merged

    Device:

    - pme: Remove cpuset sonfiguration for sensors
    - pme: fix vendor prop derp
    - pme: selinux: remove duplicate definition
    - pme: group off-screen gestures with other gestures
    - pme: sepolicy: start from scratch
    - pme: address selinux denials
    - pme: include device selinux
    - pme: Select pre-O disk encryption
    - pme: disable AOD
    - pme: Update priv-app permissions whitelist from LA.UM.7.6.r1-03900-89…
    - pme: overlay: modify brightness settings
    - pme: Update overlay from LA.UM.7.5.r1-03100-8x96.0
    - pme: snap: Enable support for camera api v2
    - pme: props: add ro.vendor.use_data_netmgrd=true
    - pme: audio: update configs and props from LA.UM.7.5.r1-04000-8x96
    - pme: rootdir: update from LA.UM.7.5.r1-04000-8x96

    Kernel:

    - reset to 127 version for now, because of wifi
    - ANDROID: sdcardfs: Add sandbox
    - ANDROID: sdcardfs: Add option to not link obb
    - ARM: dts: msm: Set default GPU freq to 133MHz on msm8996 and msm8996pro

    Vendor:

    - pme: update vulkan blobs from marlin to P
    - pme: kang CNE, DPM, TIME, Power-off alarm blobs from daisy

    Encryption needed testing, how its working with pre-o version. Selinux can be enforcing now, but i still testing so not enforced by default yet.

    Happy new year!
    56
    Holy sh*t!

    Woofer working on my 10 without any workaround :D :D Amazing!

    The weekend coming the new build! ;) I just very busy at the next 1-2 days.

    All the best!
    52
    Hi all!

    New build is up!

    Download: https://www.androidfilehost.com/?fid=11410932744536995244

    Changelogs shortly:

    - All LOS changes merged
    - Wifi issue fixed ( warming, high cpu, battery drain )
    - AOD and wifi display disabled for now
    - Added keydisabler feature ( related for navbar, so you can found/enable navbar option under buttons menu )
    - pme: Enable swipe navigation gestures
    - pme: remove nexus.xml
    - pme: Enable ipacm service
    - pme: remove and cleanup unused prebuilt
    - pme: Update power profile for P
    - pme: add [email protected]
    - pme: add restricted cpuset
    - pme: Copy NFC firmware to /vendor/lib
    - pme: overlay & configs update
    - pme: Update IPACM for P release
    - pme: audio: update configs from stock O
    - pme: Re-enable core control
    - pme: Set partitions for loop device.

    Kernel:
    - fast charge feature over usb
    - few optimizations
    - cpufreq driver backported from marlin for EAS
    - updated energy model for EAS

    I dont use my nfc, i only can testing with saftynet which passing for me with magisk

    November security and 125 kernel tag not released yet, so its uptodate.

    Dirty flash should work with wipe cache + dalvik, if you know what you are doing :)