yashsingh1/xdaforums huggingface dataset:
[One (M9) Original Android Development] xangma:
Probably at some point, though my priority is the camera ...

Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: 'android.hardware.camera.provider@2.4-service'

11-05 13:17:30.806 4179 4179 I android.hardware.camera.provider@2.4-service: Camera provider Service is starting.
11-05 13:17:30.807 415 415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820 4179 4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883 4179 4179 E HAL : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883 4179 4179 E HAL : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883 4179 4179 E CamProvider@2.4-impl.legacy: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883 4179 4179 E CamProvider@2.4-impl.legacy: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884 4179 4179 E /vendor/bin/hw/android.hardware.camera.provider@2.4-service: Passthrough lookup opened android.hardware.camera.provider@2.4-impl.so but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884 4179 4179 E android.hardware.camera.provider@2.4-service: Could not get passthrough implementation for android.hardware.camera.provider@2.4::ICameraProvider/legacy/0.
[One (M9) Original Android Development] Mirenk:
Nice!

I think that you should fix this line for dlopen error.(libHtcVteEngine.so is located /system/vendor/lib now.)
[One (M9) Original Android Development] UltraM8:
So the older camera functions doesen't want to start on the new ones. Actually there were some problems when people were porting los14 too, maybe we need to contact with them.
[One (M9) Original Android Development] xangma:
Yeah thanks MirenK, I'll focus on that HTCvtc thing with libshims or whatever after (I'm not saying it's important or required, I'm just focusing on one error at a time). I'm just trying to get it to find the hidl definition in the device manifest at the moment. I've changed it to look like this hidl camera entry.

And thanks for the suggestions UltraM8. Keep 'em coming =] I had run out of things to try and was about to give up so all suggestions welcome!

EDIT: Ok, yeah, updating the libshims stuff to see if I can make that HAL error go away... and going back to passthrough from hwbinder because I feel that was a stupid change.
[One (M9) Original Android Development] lucyr03:
I get this when trying to compile with your roomservice:

[ 99% 1119/1120] glob vendor/qcom/open...terfaces/display/config/1.0/Android.bp
ninja: error: '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
[One (M9) Original Android Development] xangma:
Yes, this is the audio error I didn't know how I fixed. I think I removed the audio caf repo from the roomservice (my one), synced the LOS15.0 one, then made the changes from my repo in the hardware/qcom/audio-caf folder or whatever. I reset the build environment variables and compiled again and it went away? Sorry I can't help more.

EDIT: Like I rm -rf ed the whole audio-caf folder and synced the LOS one and made my changes. Sorry I'm terrible at repo/git.
[One (M9) Original Android Development] lucyr03:
I think I fixed with USE_CUSTOM_AUDIO_POLICY := 0
[One (M9) Original Android Development] xangma:
Yeah, that also works but breaks the audio =[
[One (M9) Original Android Development] lucyr03:
Oh, I'll try this way now to see if I encounter any errors and after I'll look at it.
[One (M9) Original Android Development] xangma:
For people trying to debug camera errors, I've found the most useful ones are on the first boot jussssttt as the camera app disappears from the app tray. The ones when opening the camera are basically a continuation of the camera errors from it starting the cameraservice on boot.

Though I'm having the do a fresh build, as I'm unsure changes I made were being rebuilt =[
[One (M9) Original Android Development] xangma:
I included this commit mentioned here. Then I had that audio error you first encountered, but that was due to my terrible repo/git skills and not this commit, as this relates to the display-caf and not audio-caf.
[One (M9) Original Android Development] xangma:
I'm probably going to stop work on this as [MENTION=3082717]Flyhalf205[/MENTION] has started work on LOS15.0 =]
[One (M9) Original Android Development] lucyr03:
Good to hear, anyway you and Mirenk did a great job, thanks for it :)
[One (M9) Original Android Development] Flyhalf205:
:D I've pushed a few things to the lineage gerrit. I don't want to merge them in just yet but I've made a little document here I keep updated and is what I build with. https://docs.google.com/document/d/1LpADN5_8isZLVNl2PkHmXXZkNczjUyIw1XSvGE2bf1M/edit?usp=sharing
[One (M9) Original Android Development] lucyr03:
in roomservice you have just vendor from TheMuppets?
[One (M9) Original Android Development] Claymore1297:
Upgrade your twrp to 3.2.1. [MENTION=3082717]Flyhalf205[/MENTION] mentioned this in some posts before...
[One (M9) Original Android Development] BratoMo225:
Thanks. I have managed to flash it now. After boot I have some errors. No sim card detected, no camera, after flashing gapps google play won't work it says checking info... sometimes browser crash. Sometimes it says com.Android.phone has been stopped. I am really looking forward for this build :) BTW I'm using himauhl
[One (M9) Original Android Development] Claymore1297:
make a clean flash of lineage and flash gapps, then boot.

here you can find the lineage-docu for this:

https://wiki.lineageos.org/gapps.html
[One (M9) Original Android Development] BratoMo225:
I did made clean flash and gapps. Since you mention gapps, it was hard to find gapps dor 8.1.0 version. On their official site theres only for 8.0. I will wait for stable version where camera works and no crashes. I hope soon...
[One (M9) Original Android Development] alexboda:
we all hope ))) cose ROM looks really nice
[One (M9) Original Android Development] thisisapoorusernamechoice:
There are a few XDA threads where people are making unofficial 8.1 OpenGapps builds, for what it's worth
[One (M9) Original Android Development] BratoMo225:
Whats the problem with the camera? How come everything else works but not cam.
[One (M9) Original Android Development] Claymore1297:
Making the camera to work is some kind of voodoo,kung fu, Harry Potter thing...

Here you can read some further information about that https://www.xda-developers.com/came...opers-make-hardware-work-without-source-code/
[One (M9) Original Android Development] Flyhalf205:
New build is out. Should have fixes for the sim card. Let me know.
[One (M9) Original Android Development] alexboda:
good news....but camera still exist....
[One (M9) Original Android Development] cel04:
thanks [MENTION=3082717]Flyhalf205[/MENTION]

the sim card works

Thank you
[One (M9) Original Android Development] rognlorie:
Is there a link for gapps 8.1 thanks :)
[One (M9) Original Android Development] Flyhalf205:
Got the ril fix pushed. https://github.com/TheMuppets/proprietary_vendor_htc/commits/lineage-15.1
[One (M9) Original Android Development] Flyhalf205:
I saw someone mentioned they were somewhere posted on xda. unofficial ones but i haven't seen any. I've just seen people download the 8.0 and modify it to flash.
[One (M9) Original Android Development] Claymore1297:
I think, I use those... https://androidfilehost.com/?fid=745849072291697093
[One (M9) Original Android Development] rognlorie:
Yeah I don't know enough to modify any of this I'm ignorant of the language but I've found some thanks for all your hard work. You reckon anybody will figure out the VOLTE I don't understand why I cannot enable it on any custom Rom but can use it on official software I even downloaded the developer edition RUU from HTC installed it and now VoLTE is working but thanks again.
[One (M9) Original Android Development] Cường Hồ:
No sound
[One (M9) Original Android Development] Claymore1297:
can anybody confirm?

sound works for me...

[MENTION=3082717]Flyhalf205[/MENTION]: the commit 201302 (disable of audiod) is included in my build...

EDIT: your ril-fix is (actual)

not

included in my actual build
[One (M9) Original Android Development] Cường Hồ:
All except music

Gửi từ SM-G930F của tôi bằng cách sử dụng Tapatalk
[One (M9) Original Android Development] Claymore1297:
Spotify works but the builtin music-app don't play music and caused here a softboot...
[One (M9) Original Android Development] Flyhalf205:
You can't just say no sound. you have to give more detail information. We need logs.
[One (M9) Original Android Development] Cường Hồ:
sound keyboards, sound notice, sound Facebook there .... music no

Gửi từ GT-N5100 của tôi bằng cách sử dụng Tapatalk

---------- Post added at 01:11 PM ---------- Previous post was at 01:08 PM ----------

hi, understand for, do not know english very well, use google translate only

Gửi từ GT-N5100 của tôi bằng cách sử dụng Tapatalk
[One (M9) Original Android Development] Claymore1297:
I will gererate a logcat in a few hours ...
[One (M9) Original Android Development] Claymore1297:
here it is ...

The error doen't occure, when a BT audiodevice (speaker/car radio) is connected...

himaul:/ $ /system/bin/audioserver

fatal error opening "/sys/power/wake_lock": Permission denied

fatal error opening "/sys/power/wake_lock": Permission denied

fatal error opening "/sys/power/wake_lock": Permission denied

fatal error opening "/sys/android_power/acquire_partial_wake_lock": No such file or directory

fatal error opening "/sys/android_power/acquire_partial_wake_lock": No such file or directory

I/O warning : failed to load external entity "/odm/etc/audio_policy_configuration.xml"

fatal error opening "/sys/android_power/acquire_partial_wake_lock": No such file or directory

I/O warning : failed to load external entity "/vendor/etc/audio_policy_configuration.xml"

[MENTION=3082717]Flyhalf205[/MENTION]: could this be related to the commits 201205,201206+200885?
[One (M9) Original Android Development] Flyhalf205:
pick 201657

EDIT: I just squashed that commit into 200885
[One (M9) Original Android Development] Claymore1297:
It bootloops,I will check this later...
[One (M9) Original Android Development] Cường Hồ:
Have you heard the music from your speakers?
[One (M9) Original Android Development] Claymore1297:
I tried a few things... and going to test some others.

I wasn't able to play mp3-files with the music app, wave/midi worked.

You can try the VLC-App, here I was able to play MP3-files...
[One (M9) Original Android Development] Cường Hồ:
Uses temporary version 7.1, so wait for the official version
[One (M9) Original Android Development] thisisapoorusernamechoice:
Fyi I can play my flac music files (stored on SD card) over my speaker and headphones with the music app just fine. Himaul 0107 build (the one without the b in the name)

In-app audio appears to be fine. Notifications (audio) sometimes work and sometimes don't but my phone is on silent or vibrate most of the time so I don't notice too much
[One (M9) Original Android Development] Cường Hồ:
The 07 08.09 is not

G
[One (M9) Original Android Development] Claymore1297:
besides the audio-bug,camera and torch - has anybody found some other bugs/strange behaviour of the actual builds?
[One (M9) Original Android Development] thisisapoorusernamechoice:
I just wanted to say that, no in fact, I haven't, to the point where I'm comfortable using LineageOS 15.1 (as opposed to 14.1) as my daily driver a lot sooner than expected. The only noticeable issue is the camera, and I can live without it for the time being. Thank you for all the great work!

Just to reiterate, I have no audio issues on the first of the 01072018 himaul builds
[One (M9) Original Android Development] Claymore1297:
the error only occure, if you try to play mp3-files...

EDIT: the error could be localized...
[One (M9) Original Android Development] thisisapoorusernamechoice:
I'll try to get my hands on some mp3 files and see what happens
[One (M9) Original Android Development] thisisapoorusernamechoice:
Well whaddya know, there's no audio for mp3 files, I tried several that I know were all working fine on other devices. I'll try to get logs later.

I would've never realized because all my music is flac lol
[One (M9) Original Android Development] Claymore1297:
there is already a solution/workaround for this - it's only a configuration issue...
[One (M9) Original Android Development] Flyhalf205:
Are you guys liking the new screen resolution in the newer builds or do you prefer the larger resolution?
[One (M9) Original Android Development] Claymore1297:
I like the new one :fingers-crossed: looks great
[One (M9) Original Android Development] bishoy ashraf:
hey man can you please port it to m9 Sprint "himawhl" as I can't find any port for my device, thanks in advance?
[One (M9) Original Android Development] amokkatxda:
Haven't tried 15.1 myself yet, but on 14.1 this works.

https://xdaforums.com/sprint-one-m9/general/linageos-14-1-htc-one-m9-sprint-variant-t3688469

All thanks to [MENTION=7212083]Poebat[/MENTION]
[One (M9) Original Android Development] bishoy ashraf:
I have been using his method but the last updated by lineage somehow protected from being extracted ? ,and I also want to try Oreo ?
[One (M9) Original Android Development] Cường Hồ:
install basic lineage rom so listen to music so bad ,stock do not want, m9 hard to play rom too,

m9 battery is too low, rom any
[One (M9) Original Android Development] gregsarg:
This is a beta...so it will take time to fix.

You must be patient Sir....g
[One (M9) Original Android Development] Cường Hồ:
hope for every 8.1 only
[One (M9) Original Android Development] Claymore1297:
if you want to fix it in your current rom, just edit the the file /system/vendor/etc/audio_policy_configuration.xml

Here you can see the changes:

https://github.com/Claymore1297/and...mmit/949f5b77d1bbaf220f53c79f1f6990f14f806283

after that, you have to reboot
[One (M9) Original Android Development] Cường Hồ:
This one can not do, hi, waiting for you fly .., hi

Gửi từ SM-G930F của tôi bằng cách sử dụng Tapatalk
[One (M9) Original Android Development] lemon9802:
Can the camera work properly?thanks，i want get your reply.
[One (M9) Original Android Development] lucyr03:
No, camera isn't working.
[One (M9) Original Android Development] Pawbrotm:
I'm not sure what is not working in the current build. I noticed camera, torch are broken and there is some sound bug. Is there anything more? GPS, bluetooth audio, WiFi, LTE are working correctly and there is no excessive battery drain?
[One (M9) Original Android Development] baddevil2:
Hey guys,

how about wifi-calling? Is it a feature which has to be build into firmware (by provider?) or is it implemented in Android? In Android 7.0/1 I didn't find this feature in my roms.
[One (M9) Original Android Development] lucyr03:
It needs to be implemented in firmware and in rom too.

E.g: Orange UK ruu have wifi calling, wwe ruu don't have.
[One (M9) Original Android Development] baddevil2:
Do the provider have all the same "wifi calling modules" or do they implement their own stuff which only works for them?

As you can see, I am sitting in Germany and want to change my provider back to Vodafone Germany, but they never implemented wifi calling for M9. Can I flash firmware from another M9-device with wifi calling support or am I just unlucky?
[One (M9) Original Android Development] lucyr03:
I think they customize the rom with their settings.

I flashed Orange UK RUU on my m9 and wifi calling isn't working with orange RO.

Only VoLTE is working now.
[One (M9) Original Android Development] Cường Hồ:
follow one max, leave m9 then???
[One (M9) Original Android Development] Developer0fTruth:
Lineage OS 15 is running nice been using it for a few days now. Audio is a lot better then the stock Lineage 14.1 just got to make sure not to turn it up all the way. Battery life is amazing but I have noticed that the all the cpus are using higher frequences then they should be at idle both are at least 1ghz the big cores do go under most of the time but the little cores just won't go under at all I've not made no changes to the frequencies at all just use ex kernel manager to monitor them and the battery life I'm using the latest oero build. Other then that and the camera everything seems fine :good:
[One (M9) Original Android Development] UltraM8:
Is there any way to understand what has to be shimed to work with N blobs maybe?
[One (M9) Original Android Development] Usernameyouchoosemust:
Can someone please test this with Google Camera app version up to 2.7 and let me know if it works. Thanks!
[One (M9) Original Android Development] mega_man:
htc one m9 oreo confirmed https://xdaforums.com/one-m9/general/htc-one-m9-oreo-confirmed-t3739769
[One (M9) Original Android Development] Cường Hồ:
aicp 8.1 or lineage 8.1 only, do not use 8.0
[One (M9) Original Android Development] lucyr03:
Why? :))
[One (M9) Original Android Development] Cường Hồ:
If you use the new version, more m9 viet nam no hope at htc anymore,At this time I saw aicp 13.1 pretty good ,, cool machine, good battery, except camera and mp3 is not working yet.camera m9 is a problem, lineage 15.1 m8, s7 are ok???
[One (M9) Original Android Development] Claymore1297:
has anybody any ideas to get over this? ...

--------- beginning of crash

01-26 00:00:37.765 502 670 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 670 (CAM_stMachine), pid 502 (mediaserver)

01-26 00:00:37.816 803 803 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone

01-26 00:00:37.816 516 516 I /system/bin/tombstoned: received crash request for pid 502

01-26 00:00:37.818 803 803 I crash_dump32: performing dump of process 502 (target tid = 670)

01-26 00:00:37.818 803 803 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

01-26 00:00:37.819 803 803 F DEBUG : Build fingerprint: 'htc/himaulatt_na_gen_unlock/htc_himaulatt:7.0/NRD90M/870623.7:user/release-keys'

01-26 00:00:37.819 803 803 F DEBUG : Revision: '0'

01-26 00:00:37.819 803 803 F DEBUG : ABI: 'arm'

01-26 00:00:37.819 803 803 F DEBUG : pid: 502, tid: 670, name: CAM_stMachine >>> /system/bin/mediaserver <<<

01-26 00:00:37.819 803 803 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

01-26 00:00:37.819 803 803 F DEBUG : r0 00000000 r1 0000029e r2 00000006 r3 00000008

01-26 00:00:37.819 803 803 F DEBUG : r4 000001f6 r5 0000029e r6 e24ff834 r7 0000010c

01-26 00:00:37.819 803 803 F DEBUG : r8 00000000 r9 e7870c00 sl e2500074 fp e24ff85c

01-26 00:00:37.819 803 803 F DEBUG : ip e24ff858 sp e24ff820 lr e7fe88b1 pc e7fe239a cpsr 20070030

01-26 00:00:37.833 803 803 F DEBUG :

01-26 00:00:37.833 803 803 F DEBUG : backtrace:

01-26 00:00:37.833 803 803 F DEBUG : #00 pc 0001a39a /system/lib/libc.so (abort+63)

01-26 00:00:37.833 803 803 F DEBUG : #01 pc 0000ba67 /system/lib/libutils.so (android::String8::append(android::String8 const&)+82)

01-26 00:00:37.833 803 803 F DEBUG : #02 pc 00031bbb /system/lib/libcamera_client.so (android::CameraParameters::flatten() const+110)

01-26 00:00:37.833 803 803 F DEBUG : #03 pc 0005a51b /system/vendor/lib/hw/camera.msm8994.so (qcamera::QCamera2HardwareInterface::getParameters()+90)

01-26 00:00:37.833 803 803 F DEBUG : #04 pc 0005d7e3 /system/vendor/lib/hw/camera.msm8994.so (qcamera::QCameraStateMachine::procEvtPreviewStoppedState(qcamera::qcamera_sm_evt_enum_t, void*)+266)

01-26 00:00:37.833 803 803 F DEBUG : #05 pc 00060459 /system/vendor/lib/hw/camera.msm8994.so (qcamera::QCameraStateMachine::smEvtProcRoutine(void*)+180)

01-26 00:00:37.833 803 803 F DEBUG : #06 pc 000474ff /system/lib/libc.so (__pthread_start(void*)+22)

01-26 00:00:37.833 803 803 F DEBUG : #07 pc 0001af69 /system/lib/libc.so (__start_thread+32)
[One (M9) Original Android Development] benjuken:
Cannot connect to camera error

I tried the stock Google Camera 2.7.008 and the 2.5.052 apk and the camera would not start on my 15.1 lineageOS m9 himaul.

Are there any patches for LineageOS 15.1 or a change log? I have the latest ROM from 1-14-18. The Lineage Downloader does not recognize 15.1 and displays patches for 14.1.
[One (M9) Original Android Development] lemon9802:
Where can I found the aicp 8.1?Can you give me a address?
[One (M9) Original Android Development] Cường Hồ:
Google +
[One (M9) Original Android Development] Evengard:
I saw that NFC is working here, can someone link a related patch which actually fixed NFC here? I really want to read MIFARE cards with my HTC One M9, but unluckily it seems like it is unable to do so on LOS-14.1, so I'm thinking of trying to "backport" it.
[One (M9) Original Android Development] thilak devraj:
Anyone can give me the link to latest build??
[One (M9) Original Android Development] bubba1601:
You didn't look very hard, it's there.

https://androidfilehost.com/?w=files&flid=137301&sort_by=date&sort_dir=DESC
[One (M9) Original Android Development] Cường Hồ:
I do not see any update
[One (M9) Original Android Development] HTCCM11/2:
The camera app does not work, in this ROM the camera module was not implemented, I did not find anything in the system that would be like a camera. I do not know if I chose the Aroma installer well (camera section) but I do not have a camera module.

I can not run HTC SENSE HOME 9.14 on lineage 15.1 trebuchet - fatally crash apk, crash system restart, stopping apk, freezing system.

Installed application

com.htc.launcher_9.14.994293-662201448_minAPI23 (armeabi-v7a) (640dpi) _apkmirror.com, the newer one I have not tried - I could not run it for more than 15-20 seconds, continuous failures and errors ruled out its use. In system / data / priv apk, copying and running the application was not possible and did not fix the problem, so the Android / ata / apk parameter change to 1000 did not help with the buid.prop edition.

This can be somehow covered by the level of the Aroma installer and the bootloader there to load applications with the start-up authority and force permanent use instead of Trebuchet. I do not know how to adapt the system to Sense (porting and modifications) but you can add it to the system.

Aroma section of advanced features - it is difficult to choose the right functions from the given very light and badly described modules. The same in choosing the installer function. You can verify and re-write Aroma for clearer, clearer and unambiguously described functions.

Is Abdroid 8.1 used in this system
[One (M9) Original Android Development] Cường Hồ:
Install file zip ok