fakemanoan / LineageOS-Releases

LineageOS releases for devices.
61 stars 2 forks source link

The device is very laggy when used with a device without a screen #97

Open manhtam922004 opened 1 month ago

manhtam922004 commented 1 month ago

Build used

12L

Model number

Note5

Describe the bug

Hello, I use it with a screenless computer controlled via adb. But the device is very laggy when starting up and cannot get to the main screen. How to use without screen?

To Reproduce

Thank you so much!

Any extra info

No response

fakemanoan commented 1 month ago

Hi Primary use case for my builds is with a screen. I am not gonna open up my device and disconnect the screen to debug this issue as it is quite risky vs the small amount of users this will affect.

That being said, if you would like to provide some logs so in the future it can be better feel free.

Look up how to capture logs and post them somewhere so I can look at them.

How are you capturing your screen? scrcpy?

manhtam922004 commented 1 month ago

I use Laixi and Xiaowei.run to capture screen.

This is my log when bootloop: https://anotepad.com/notes/igdi28jb

I try to remove system/vendor/bin/hw/vendor.lineage.touch@1.0-service.samsung and system/vendor/bin/hw/vendor.lineage.livedisplay@2.1-service.noble and add debug.sf.nobootanimation=1 to disable bootanimation in build.prop but it can't boot and have error logs: https://anotepad.com/notes/7jefbgy2

I think it has to be disable 2 services (touch and livedisplay) in /system/bin/hwservicemanager or HAL.

Please fix it. Thank you so much!

fakemanoan commented 1 month ago

Just for clarity, did you get any boot loops prior to the removal of those services?

If you want to stop those errors, you will need to remove the manifest entries in /system/vendor/etc/vintf/, remove the respective rc files in /system/vendor/etc/init and the .so files in system/vendor/lib(64). I will take a deeper look at these logs at a later date.

manhtam922004 commented 1 month ago

It work! Thank you so much! Can you delete this thread?