Open cl4r0s opened 5 years ago
Uh, that's a real vendor/boot?
[ro.build.description]: [ATU-L11-user 8.0.0 HUAWEIATU-L11 153(C55) release-keys]
means that it is an oreo vendor
but [ro.boot.product.hardware.sku]: [ATU-L11]
looks like a pie vendor...?
This is stock oreo vendor? Is it a recent one? like what security patch level?
Please provide getprop persist.sys.qcom-brightness
Please check if one of those commands set backilght to max:
lightsctl BACKLIGHT ffffffff
lightsctl BACKLIGHT ff
lightsctl BACKLIGHT 3ff
Original ROM was an Oreo, vendor C55 is TIM (Italy), Version 8.0.0.153 is a new release with security patch level 02/2019 but it is not the latest one (8.0.0.155) which is known to cause bootloops on gsi roms.
Here the output of the commands: HWATU-QG:/ # getprop persist.sys.qcom-brightness
<NOTHING, not present>
Instead: HWATU-QG:/ # lightsctl BACKLIGHT ffffffff Got type BACKLIGHT Got type BATTERY Got type NOTIFICATIONS Got type ATTENTION Set request type BACKLIGHT Set flash type to NONE Set light returned SUCCESS HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness < 255
HWATU-QG:/ # lightsctl BACKLIGHT ff Got type BACKLIGHT Got type BATTERY Got type NOTIFICATIONS Got type ATTENTION Set request type BACKLIGHT Set flash type to NONE Set light returned SUCCESS HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness < 28
HWATU-QG:/ # lightsctl BACKLIGHT 3ff
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness
30
The only command I found to increase backlight is echo 1023 > /sys/class/leds/lcd-backlight/brightness and with getprop | grep -i backlight i got no results
Best regards claros
lshal
?
Le mer. 12 juin 2019 à 18:04, cl4r0s notifications@github.com a écrit :
Original ROM was an Oreo, vendor C55 is TIM (Italy), Version 8.0.0.153 is a new release with security patch level 02/2019 but it is not the latest one (8.0.0.155) which is known to cause bootloops on gsi roms.
Here the output of the commands: HWATU-QG:/ # getprop persist.sys.qcom-brightness
<NOTHING, not present>
Instead: HWATU-QG:/ # lightsctl BACKLIGHT ffffffff Got type BACKLIGHT Got type BATTERY Got type NOTIFICATIONS Got type ATTENTION Set request type BACKLIGHT Set flash type to NONE Set light returned SUCCESS HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness < 255
HWATU-QG:/ # lightsctl BACKLIGHT ff Got type BACKLIGHT Got type BATTERY Got type NOTIFICATIONS Got type ATTENTION Set request type BACKLIGHT Set flash type to NONE Set light returned SUCCESS HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness < 28
HWATU-QG:/ # lightsctl BACKLIGHT 3ff Got type BACKLIGHT Got type BATTERY Got type NOTIFICATIONS Got type ATTENTION Set request type BACKLIGHT Set flash type to NONE Set light returned SUCCESS HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness 30
The only command I found to increase backlight is echo 1023 > /sys/class/leds/lcd-backlight/brightness and with getprop | grep -i backlight i got no results
Best regards claros
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/561?email_source=notifications&email_token=AAAA4OWLWBHGQJFHINGXRNTP2EM7NA5CNFSM4HXJQYRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXQ55LI#issuecomment-501341869, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAA4OVEOR3KZ2YS2SFBHKDP2EM7NANCNFSM4HXJQYRA .
127|HWATU-QG:/ # lshal
All binderized services (registered services through hwservicemanager)
R Interface Thread Use Server Clients
Y android.frameworks.displayservice@1.0::IDisplayService/default 0/1 754 383
Y android.frameworks.schedulerservice@1.0::ISchedulingPolicyService/default 0/5 1131 383
Y android.frameworks.sensorservice@1.0::ISensorManager/default 0/5 1131 383
Y android.hardware.audio.effect@2.0::IEffectsFactory/default 0/4 706 752 383
Y android.hardware.audio@2.0::IDevicesFactory/default 0/4 706 752 383
Y android.hardware.bluetooth@1.0::IBluetoothHci/default 0/1 708 383
Y android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 0/5 31827 843 383
Y android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default 0/3 710 21768 20646 12690 32653 32584 2594 2035 1857 1131 2684 1879 754 383
Y android.hardware.drm@1.0::ICryptoFactory/default 0/2 711 383
Y android.hardware.drm@1.0::ICryptoFactory/widevine 0/3 712 383
Y android.hardware.drm@1.0::IDrmFactory/default 0/2 711 383
Y android.hardware.drm@1.0::IDrmFactory/widevine 0/3 712 383
Y android.hardware.gatekeeper@1.0::IGatekeeper/default 0/1 595 940 383
Y android.hardware.gnss@1.0::IGnss/default 0/1 923 1131 383
Y android.hardware.gnss@1.0::IGnss/gnss_vendor 0/1 923 383
Y android.hardware.graphics.allocator@2.0::IAllocator/default 0/1 713 21077 20646 12690 32584 882 843 1131 1879 754 383
Y android.hardware.graphics.composer@2.1::IComposer/default 0/4 714 754 383
Y android.hardware.graphics.composer@2.1::IComposer/vr 0/2 705 383
Y android.hardware.health@1.0::IHealth/default 0/1 715 744 383
Y android.hardware.health@2.0::IHealth/backup 1/1 744 1131 880 383
Y android.hardware.keymaster@3.0::IKeymasterDevice/default 0/1 596 850 597 383
Y android.hardware.light@2.0::ILight/default 0/1 734 1131 383
Y android.hardware.media.omx@1.0::IOmx/default 0/9 882 862 383
Y android.hardware.media.omx@1.0::IOmxStore/default 0/9 882 383
Y android.hardware.memtrack@1.0::IMemtrack/default 0/1 716 2856 1131 383
Y android.hardware.nfc@1.0::INfc/default 0/1 735 2721 383
Y android.hardware.power@1.0::IPower/default 0/1 736 1131 383
Y android.hardware.radio.deprecated@1.0::IOemHook/slot1 0/2 920 2035 383
Y android.hardware.radio@1.0::IRadio/slot1 0/2 920 2035 383
Y android.hardware.radio@1.0::ISap/slot1 0/2 920 383
Y android.hardware.sensors@1.0::ISensors/default 1/2 737 1131 383
Y android.hardware.soundtrigger@2.0::ISoundTriggerHw/default 0/4 706 752 383
Y android.hardware.usb@1.0::IUsb/default 0/1 718 1131 383
Y android.hardware.vibrator@1.0::IVibrator/default 0/1 732 1131 383
Y android.hardware.wifi.hostapd@1.0::IHostapd/default 0/1 31718
Y android.hardware.wifi.supplicant@1.0::ISupplicant/default 1/1 19036 1131 383
Y android.hardware.wifi@1.0::IWifi/default 0/1 740 1131 383
Y android.hidl.allocator@1.0::IAllocator/ashmem 0/1 704 31827 862 383
Y android.hidl.base@1.0::IBase/Uim0 0/2 920 383
Y android.hidl.base@1.0::IBase/UimLpa0 0/2 920 383
Y android.hidl.base@1.0::IBase/ashmem 0/1 704 31827 862 383
Y android.hidl.base@1.0::IBase/backup 1/1 744 1131 880 383
Y android.hidl.base@1.0::IBase/cnd 0/1 826 383
Y android.hidl.base@1.0::IBase/default 0/1 31718
Y android.hidl.base@1.0::IBase/dpmQmiService 0/1 827 383
Y android.hidl.base@1.0::IBase/gnss_vendor 0/1 923 383
Y android.hidl.base@1.0::IBase/huawei.cameraresource.service 0/5 31827 383
Y android.hidl.base@1.0::IBase/huaweiantitheft 0/1 725 383
Y android.hidl.base@1.0::IBase/huaweisigntool 0/1 728 383
Y android.hidl.base@1.0::IBase/hwfactoryinterface_hal 0/1 731 383
Y android.hidl.base@1.0::IBase/imsradio0 0/2 920 383
Y android.hidl.base@1.0::IBase/legacy/0 0/5 31827 843 383
Y android.hidl.base@1.0::IBase/oemhook0 0/2 920 383
Y android.hidl.base@1.0::IBase/slot1 0/2 920 383
Y android.hidl.base@1.0::IBase/teecdaemon 0/1 738 819 383
Y android.hidl.base@1.0::IBase/uimRemoteClient0 0/2 920 383
Y android.hidl.base@1.0::IBase/uimRemoteServer0 0/2 920 383
Y android.hidl.base@1.0::IBase/uniperf 0/2 733 383
Y android.hidl.base@1.0::IBase/vr 0/2 705 383
Y android.hidl.base@1.0::IBase/widevine 0/3 712 383
Y android.hidl.manager@1.0::IServiceManager/default 0/1 383 1131
Y android.hidl.manager@1.1::IServiceManager/default 0/1 383 1131
Y android.hidl.token@1.0::ITokenManager/default 0/1 383 754 1131 2594
Y android.system.net.netd@1.0::INetd/default 0/1 621 383
Y android.system.net.netd@1.1::INetd/default 0/1 621 383
Y android.system.wifi.keystore@1.0::IKeystore/default 0/1 850 383
Y com.qualcomm.qti.dpm.api@1.0::IdpmQmi/dpmQmiService 0/1 827 383
Y com.quicinc.cne.api@1.0::IApiService/cnd 0/1 826 383
Y com.quicinc.cne.server@2.0::IServer/cnd 0/1 826 383
Y vendor.display.color@1.0::IDisplayColor/default 0/1 719 383
Y vendor.display.config@1.0::IDisplayConfig/default 0/4 714 383
Y vendor.display.postproc@1.0::IDisplayPostproc/default 0/1 719 383
Y vendor.huawei.hardware.biometrics.hwfacerecognize@1.0::IBiometricsFaceRecognize/default 0/2 819 383
Y vendor.huawei.hardware.camera.camResource@1.0::IHwCameraResourceService/huawei.cameraresource.service 0/5 31827 383
Y vendor.huawei.hardware.camera.camResource@1.1::IHwCameraResourceService/huawei.cameraresource.service 0/5 31827 383
Y vendor.huawei.hardware.huaweiantitheft@1.0::IHuaweiAntiTheft/huaweiantitheft 0/1 725 383
Y vendor.huawei.hardware.huaweisigntool@1.0::ISignTool/huaweisigntool 0/1 728 383
Y vendor.huawei.hardware.hwdisplay@1.0::IDisplay/default 0/1 730 383
Y vendor.huawei.hardware.hwfactoryinterface@1.0::IHwFactoryInterface/hwfactoryinterface_hal 0/1 731 383
Y vendor.huawei.hardware.hwfactoryinterface@1.1::IHwFactoryInterface/hwfactoryinterface_hal 0/1 731 383
Y vendor.huawei.hardware.hwvibrator@1.0::IHWVibrator/default 0/1 732 1131 383
Y vendor.huawei.hardware.iawareperf@1.0::IUniPerf/uniperf 0/2 733 383
Y vendor.huawei.hardware.light@2.0::ILight/default 0/1 734 1131 383
Y vendor.huawei.hardware.nfc@1.0::IHWNfc/default 0/1 735 2721 383
Y vendor.huawei.hardware.power@1.0::IHWPower/default 0/1 736 1131 383
Y vendor.huawei.hardware.radio@1.0::IRadio/slot1 0/2 920 2035 383
Y vendor.huawei.hardware.radio@1.1::IRadio/slot1 0/2 920 2035 383
Y vendor.huawei.hardware.sensors@1.0::ISensors/default 1/2 737 1131 383
Y vendor.huawei.hardware.teecdaemon@1.0::ITeecDaemon/teecdaemon 0/1 738 819 383
Y vendor.huawei.hardware.tp@1.0::ITouchscreen/default 0/1 739 383
Y vendor.huawei.hardware.wifi@1.0::IHwWifiExt/default 0/1 740 383
Y vendor.huawei.hardware.wifi@1.1::IHwWifiExt/default 0/1 740 383
Y vendor.qti.esepowermanager@1.0::IEsePowerManager/default 0/2 741 383
Y vendor.qti.gnss@1.0::ILocHidlGnss/gnss_vendor 0/1 923 383
Y vendor.qti.hardware.perf@1.0::IPerf/default 0/1 742 706 383
Y vendor.qti.hardware.qteeconnector@1.0::IAppConnector/default 0/2 743 383
Y vendor.qti.hardware.qteeconnector@1.0::IGPAppConnector/default 0/2 743 383
Y vendor.qti.hardware.radio.am@1.0::IQcRilAudio/slot1 0/2 920 31718 383
Y vendor.qti.hardware.radio.ims@1.0::IImsRadio/imsradio0 0/2 920 383
Y vendor.qti.hardware.radio.lpa@1.0::IUimLpa/UimLpa0 0/2 920 383
Y vendor.qti.hardware.radio.qcrilhook@1.0::IQtiOemHook/oemhook0 0/2 920 383
Y vendor.qti.hardware.radio.qtiradio@1.0::IQtiRadio/slot1 0/2 920 383
Y vendor.qti.hardware.radio.uim@1.0::IUim/Uim0 0/2 920 383
Y vendor.qti.hardware.radio.uim_remote_client@1.0::IUimRemoteServiceClient/uimRemoteClient0 0/2 920 383
Y vendor.qti.hardware.radio.uim_remote_server@1.0::IUimRemoteServiceServer/uimRemoteServer0 0/2 920 383
All interfaces that getService() has ever return as a passthrough interface; PIDs / processes shown below might be inaccurate because the process might have relinquished the interface or might have died. The Server / Server CMD column can be ignored. The Clients / Clients CMD column shows all process that have ever dlopen'ed the library and successfully fetched the passthrough implementation. R Interface Thread Use Server Clients android.hardware.audio.effect@2.0::IEffectsFactory/default N/A 706 706 android.hardware.audio@2.0::IDevicesFactory/default N/A 706 706 android.hardware.bluetooth@1.0::IBluetoothHci/default N/A 708 708 android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 N/A N/A 20333 21106 31827 android.hardware.drm@1.0::ICryptoFactory/default N/A 711 711 android.hardware.drm@1.0::IDrmFactory/default N/A 711 711 android.hardware.gatekeeper@1.0::IGatekeeper/default N/A 595 595 android.hardware.gnss@1.0::IGnss/default N/A 923 923 android.hardware.graphics.allocator@2.0::IAllocator/default N/A 713 713 android.hardware.graphics.composer@2.1::IComposer/default N/A 714 714 android.hardware.graphics.mapper@2.0::IMapper/default N/A N/A 714 754 843 862 882 1131 1857 1879 2035 2594 2684 2872 12690 12711 19057 20272 20333 20436 20546 20646 21077 21106 21259 31827 32584 32653 android.hardware.health@1.0::IHealth/default N/A 715 715 android.hardware.keymaster@3.0::IKeymasterDevice/default N/A 596 596 android.hardware.memtrack@1.0::IMemtrack/default N/A 716 716 android.hardware.power@1.0::IPower/default N/A 717 717 android.hardware.renderscript@1.0::IDevice/default N/A 1879 1879 android.hardware.soundtrigger@2.0::ISoundTriggerHw/default N/A 706 706 android.hidl.memory@1.0::IMapper/ashmem N/A N/A 862 882 1131 1879 2594 vendor.huawei.hardware.huaweiantitheft@1.0::IHuaweiAntiTheft/huaweiantitheft N/A 725 725 vendor.huawei.hardware.huaweisigntool@1.0::ISignTool/huaweisigntool N/A 728 728 vendor.huawei.hardware.hwdisplay@1.0::IDisplay/default N/A 730 730 vendor.huawei.hardware.hwvibrator@1.0::IHWVibrator/default N/A 732 732 vendor.huawei.hardware.iawareperf@1.0::IUniPerf/uniperf N/A 733 733 vendor.huawei.hardware.light@2.0::ILight/default N/A 734 734 vendor.huawei.hardware.nfc@1.0::IHWNfc/default N/A 735 735 vendor.huawei.hardware.power@1.0::IHWPower/default N/A 736 736 vendor.huawei.hardware.sensors@1.0::ISensors/default N/A 737 737 vendor.huawei.hardware.teecdaemon@1.0::ITeecDaemon/teecdaemon N/A 738 738 vendor.huawei.hardware.tp@1.0::ITouchscreen/default N/A 739 739 vendor.huawei.hardware.wifi@1.1::IHwWifiExt/default N/A 740 740 vendor.qti.esepowermanager@1.0::IEsePowerManager/default N/A 741 741 vendor.qti.gnss@1.0::ILocHidlGnss/gnss_vendor N/A 923 923 vendor.qti.hardware.qteeconnector@1.0::IAppConnector/default N/A 743 743 vendor.qti.hardware.qteeconnector@1.0::IGPAppConnector/default N/A 743 743
All available passthrough implementations (all -impl.so files).
These may return subclasses through their respective HIDL_FETCH_I functions.
R Interface Thread Use Server Clients
android.hardware.audio.effect@2.0::I/ (/vendor/lib/hw/) N/A N/A 706
android.hardware.audio.effect@2.0::I/ (/vendor/lib64/hw/) N/A N/A
android.hardware.audio@2.0::I/ (/vendor/lib/hw/) N/A N/A 706
android.hardware.audio@2.0::I/ (/vendor/lib64/hw/) N/A N/A
android.hardware.bluetooth@1.0::I/ (/vendor/lib/hw/) (-qti) N/A N/A
android.hardware.bluetooth@1.0::I/ (/vendor/lib64/hw/) (-qti) N/A N/A 708
android.hardware.broadcastradio@1.0::I/ (/vendor/lib/hw/) N/A N/A 706
android.hardware.camera.provider@2.4::I/ (/vendor/lib/hw/) N/A N/A 31827
android.hardware.camera.provider@2.4::I/ (/vendor/lib64/hw/) N/A N/A
android.hardware.drm@1.0::I/ (/vendor/lib/hw/) N/A N/A 711
android.hardware.gatekeeper@1.0::I/ (/vendor/lib/hw/) (-qti) N/A N/A
android.hardware.gatekeeper@1.0::I/ (/vendor/lib64/hw/) (-qti) N/A N/A 595
android.hardware.gnss@1.0::I/ (/vendor/lib/hw/) (-qti) N/A N/A
android.hardware.gnss@1.0::I/ (/vendor/lib64/hw/) (-qti) N/A N/A 923
android.hardware.graphics.allocator@2.0::I/ (/vendor/lib/hw/) N/A N/A
android.hardware.graphics.allocator@2.0::I/ (/vendor/lib64/hw/) N/A N/A 713
android.hardware.graphics.composer@2.1::I/ (/vendor/lib/hw/) N/A N/A
android.hardware.graphics.composer@2.1::I/ (/vendor/lib64/hw/) N/A N/A 714
android.hardware.graphics.mapper@2.0::I/ (/vendor/lib/hw/) N/A N/A 623 843 862 882 1948 5795 19767 19899 20232 31827
android.hardware.graphics.mapper@2.0::I/ (/vendor/lib64/hw/) N/A N/A 622 714 754 1131 1857 1879 2035 2125 2142 2594 2684 2701 2721 2728 2747 2856 2893 2917 3278 7749 12690 13389 13428 19528 19893 20277 20646 21077 21090 21758 21768 21836 21850 21954 29182 31718 32584 32653
android.hardware.health@1.0::I/ (/vendor/lib/hw/) N/A N/A
android.hardware.health@1.0::I/ (/vendor/lib64/hw/) N/A N/A 715
android.hardware.keymaster@3.0::I/ (/vendor/lib/hw/) (-qti) N/A N/A
android.hardware.keymaster@3.0::I/ (/vendor/lib64/hw/) (-qti) N/A N/A 596
android.hardware.memtrack@1.0::I/ (/vendor/lib/hw/) N/A N/A
android.hardware.memtrack@1.0::I/ (/vendor/lib64/hw/) N/A N/A 716
android.hardware.power@1.0::I/ (/vendor/lib/hw/) N/A N/A
android.hardware.power@1.0::I/ (/vendor/lib64/hw/) N/A N/A 717
android.hardware.renderscript@1.0::I/ (/vendor/lib/hw/) N/A N/A
android.hardware.renderscript@1.0::I/ (/vendor/lib64/hw/) N/A N/A 1879
android.hardware.soundtrigger@2.0::I/ (/vendor/lib/hw/) N/A N/A 706
android.hardware.tests.libhwbinder@1.0::I/ (/vendor/lib/hw/) N/A N/A
android.hardware.tests.libhwbinder@1.0::I/ (/vendor/lib64/hw/) N/A N/A
android.hidl.memory@1.0::I/ (/system/lib/hw/) N/A N/A
android.hidl.memory@1.0::I/ (/system/lib/vndk-sp-27/hw/) N/A N/A 862
android.hidl.memory@1.0::I/ (/system/lib64/hw/) N/A N/A
android.hidl.memory@1.0::I/ (/system/lib64/vndk-sp-27/hw/) N/A N/A 1131 1879 2594
com.qualcomm.qti.ant@1.0::I/ (/vendor/lib/hw/) N/A N/A
com.qualcomm.qti.ant@1.0::I/ (/vendor/lib64/hw/) N/A N/A
vendor.huawei.hardware.camera.factory@1.0::I/ (/vendor/lib/hw/) N/A N/A
vendor.huawei.hardware.camera.factory@1.0::I/ (/vendor/lib64/hw/) N/A N/A
vendor.huawei.hardware.fm@1.0::I/ (/vendor/lib64/hw/) N/A N/A
vendor.huawei.hardware.gnss@1.0::I/ (/vendor/lib64/hw/) N/A N/A
vendor.huawei.hardware.huaweiantitheft@1.0::I/ (/vendor/lib64/hw/) N/A N/A 725
vendor.huawei.hardware.huaweisigntool@1.0::I/ (/vendor/lib64/hw/) N/A N/A 728
vendor.huawei.hardware.hwdisplay.displayengine@1.0::I/ (/vendor/lib64/hw/) N/A N/A
vendor.huawei.hardware.hwdisplay@1.0::I/ (/vendor/lib64/hw/) N/A N/A 730
vendor.huawei.hardware.hwfs@1.0::I/ (/vendor/lib/hw/) N/A N/A
vendor.huawei.hardware.hwfs@1.0::I/ (/vendor/lib64/hw/) N/A N/A
vendor.huawei.hardware.hwvibrator@1.0::I/ (/vendor/lib64/hw/) N/A N/A 732
vendor.huawei.hardware.iawareperf@1.0::I/ (/vendor/lib64/hw/) N/A N/A 733
vendor.huawei.hardware.light@2.0::I/ (/vendor/lib64/hw/) N/A N/A 734
vendor.huawei.hardware.nfc@1.0::I/ (/vendor/lib64/hw/) N/A N/A 735
vendor.huawei.hardware.otherdevices@1.0::I/ (/vendor/lib64/hw/) N/A N/A
vendor.huawei.hardware.power@1.0::I/ (/vendor/lib64/hw/) N/A N/A 736
vendor.huawei.hardware.sensors@1.0::I/ (/vendor/lib64/hw/) N/A N/A 737
vendor.huawei.hardware.teecdaemon@1.0::I/ (/vendor/lib64/hw/) N/A N/A 738
vendor.huawei.hardware.tp@1.0::I/ (/vendor/lib64/hw/) N/A N/A 739
vendor.huawei.hardware.wifi@1.1::I/ (/vendor/lib64/hw/) N/A N/A 740
vendor.qti.esepowermanager@1.0::I/ (/vendor/lib/hw/) N/A N/A
vendor.qti.esepowermanager@1.0::I/ (/vendor/lib64/hw/) N/A N/A 741
vendor.qti.gnss@1.0::I/ (/vendor/lib/hw/) N/A N/A
vendor.qti.gnss@1.0::I/ (/vendor/lib64/hw/) N/A N/A 923
vendor.qti.hardware.fm@1.0::I/ (/vendor/lib/hw/) N/A N/A
vendor.qti.hardware.fm@1.0::I/ (/vendor/lib64/hw/) N/A N/A
vendor.qti.hardware.qteeconnector@1.0::I/ (/vendor/lib/hw/) N/A N/A
vendor.qti.hardware.qteeconnector@1.0::I/* (/vendor/lib64/hw/) N/A N/A 743
HWATU-QG:/ #
Better to to post it as a text file... https://pastebin.com/hXvS0FDs
Download this, push both those files in /data/local/tmp/, and try this:
> adb push vendor.huawei.hardware.light@2.0.so /data/local/tmp/
> adb push lightsctl-huawei /data/local/tmp/
> adb shell
$ su
# LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 0
# LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 255
# LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 1023
# LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 1023
If it still doesn't set backlight, you might try to with other values than 0
as first argument
Thank you for your support, but in Descendant 3.0 there is an incompatible library:
139|HWATU-QG:/data/local/tmp # LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 0 Segmentation fault 139|HWATU-QG:/data/local/tmp # LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 255 Segmentation fault 139|HWATU-QG:/data/local/tmp # LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 1023 Segmentation fault 139|HWATU-QG:/data/local/tmp # LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 1023 Segmentation fault
139|HWATU-QG:/data/local/tmp # file ./lightsctl-huawei
./lightsctl-huawei: ELF shared object, 64-bit LSB arm64, dynamic (/system/bin/linker64), for Android 28, BuildID=87c7060e8514a1de8b21346ccc1ab851, stripped
HWATU-QG:/data/local/tmp # file /system/lib64/vndk-sp-26/android.hidl.base@1.0.so
/system/lib64/vndk-sp-26/android.hidl.base@1.0.so: ELF shared object, 64-bit LSB arm64, for Android 26, BuildID=eef5c15435c2a9573a656e948b1f3d58, stripped
Can you please share at least an android.hidl.base@1.0.so build for Android 28 or build lightsctl-huawei including libraries?
Regards, Claros
I've flashed your AOSP treble_experimentations but it's the same: ind /system -name android.hidl.base@1.0.so < /system/lib64/vndk-26/android.hidl.base@1.0.so /system/lib64/vndk-sp-26/android.hidl.base@1.0.so /system/lib/vndk-26/android.hidl.base@1.0.so /system/lib/vndk-sp-26/android.hidl.base@1.0.so
Vendor from Oreo 8.0 use Android 26... Regards, Claros
I don't understand, why are you mentioning android.hidl.base@1.0.so at all?
ldd is not direcly avaliable on platform... but in your roms I found at the same time vndk-26, vndk-27 and vndk-28. So tried to play a little with LD_LIBRARY_PATH but the needed android.hidl.base@1.0.so is just on vndk-26. I don't know why it's linked but a simple strings lightsctl-huawei show it's dependencies.
None of the files I've included ( vendor.huawei.hardware.light@2.0.so and lightsctl-huawei) depend on android.hidl.base@1.0.so:
phh@phh-desktop:~/tmp/t$ unzip -p ../huawei-lights.zip|grep android.hidl.base@1.
phh@phh-desktop:~/tmp/t$
If I had to guess, I'd say that you didn't copy the vendor.huawei.hardware.light@2.0.so
from the zip to /data/local/tmp/
Please have a look:
1|HWATU-QG:/data/local/tmp $ pwd
/data/local/tmp
HWATU-QG:/data/local/tmp $ ls -la /data/local/tmp
total 220
drwxrwx--x 2 shell shell 3488 2019-06-14 17:44 .
drwxr-x--x 3 root root 3488 1970-07-09 09:47 ..
-rwxrwxrwx 1 shell shell 68872 2019-06-14 00:14 lightsctl-huawei
-rwxrwxrwx 1 shell shell 135928 2019-06-14 00:12 vendor.huawei.hardware.light@2.0.so
HWATU-QG:/data/local/tmp $ LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 0
Segmentation fault
HWATU-QG:/data/local/tmp $ LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 1023
Segmentation fault
I suppose everything is at the right place, am I wrong?
Except that it must be run as root, yeah looks correct
Sorry, just in the previous example I din't but:
HWATU-QG:/ $ su
HWATU-QG:/ # cd /data/local/tmp
HWATU-QG:/data/local/tmp # LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl-huawei 0 0
Segmentation fault
127|HWATU-QG:/data/local/tmp # ls -la
total 220
drwxrwx--x 2 shell shell 3488 2019-06-14 17:44 .
drwxr-x--x 3 root root 3488 1970-07-09 09:47 ..
-rwxrwxrwx 1 shell shell 68872 2019-06-14 00:14 lightsctl-huawei
-rwxrwxrwx 1 shell shell 135928 2019-06-14 00:12 vendor.huawei.hardware.light@2.0.so
HWATU-QG:/data/local/tmp #
k, well the error should be in logcat then
What if I substitute your vendor.huawei.hardware.light@2.0.so whit the one in my vendor? I'm trying it now...
it will be even more broken because lightsctl-huawei isn't built to run on it. but just give logcat logs when running with my tools
D_LIBRARY_PATH=/data/local/tmp /data/local/tmp/lightsctl-huawei 0 0 < CANNOT LINK EXECUTABLE "/data/local/tmp/lightsctl-huawei": library "android.hidl.base@1.0.so" not found cp /system/lib64/vndk-26/android.hidl.base@1.0.so . ls -l total 316 -rw-r--r-- 1 root root 94856 2019-06-14 18:06 android.hidl.base@1.0.so -rwxrwxrwx 1 shell shell 68872 2019-06-14 00:14 lightsctl-huawei -rw-r--r-- 1 root root 140616 2019-06-14 18:03 vendor.huawei.hardware.light@2.0.so
D_LIBRARY_PATH=/data/local/tmp /data/local/tmp/lightsctl-huawei 0 1023 < CANNOT LINK EXECUTABLE "/data/local/tmp/lightsctl-huawei": cannot locate symbol "_ZN6vendor6huawei8hardware5light4V2_08IHwLight10getServiceERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEb" referenced by "/data/local/tmp/lightsctl-huawei"... 1
Could you please compile lightsctl-huawei using the vendor.huawei.hardware.light@2.0.so from my /vendor/lib64? vendor.huawei.zip
Logcat log attached, with the vendor.huawei.hardware.light@2.0.so you provided, obviously
The error is infact in the log... I've excuted twice with 0 0 and 0 1023 as parameters
Ah, issue is that service is called ILight not IHwLight I'll need to check when I get back home if I just did a typo, or if the name depends on the device.
In the meantime, try again with the files attached here huawei-lights.zip
No segmentation faults, but doesnt work:
HWATU-QG:/ # LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 0 0
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness
0
HWATU-QG:/ # LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 0 255
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness
10
HWATU-QG:/ # LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 0 1023
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
HWATU-QG:/ # cat /sys/class/leds/lcd-backlight/brightness
13
try changing the 0 to other values
Sorry but I'm abroad for some time and I don't have a development PC. In addition I don't have a plan for the sim in this country so it's pretty complicated. I kindly ask you to keep this bug on standby, anyway I will try to ask other owners if it is possible to do the necessary tests. Regards Claros
I came back but my device has been quarantined by vpn/echange as it was rooted/unlocked... :-( As I'm now in a blacklist, I have to stay at least for some time with the stock rom :-( In add, 146 people having the same device don't had enough time in more than a week to test your brightness patch... With a stock rom your patch doesn't work, obviusly. I did some debug inside the stock, log attached. I really don't know if I can help you with this rom, anyway AFIK it seems that with this build https://sourceforge.net/projects/andyyan-gsi/ this problem is not present... If this is a personal bug, I really don't want to take your time anymore. Best regards
Ok, i'm back to PHH Rom now and can test, but with no success:
LD_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 0 255
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
D_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 0 255 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
10
D_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 200 255 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
10
_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 255 255 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
10
_LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 255 1023 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 255 1023 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
13
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
13
LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 255 1023 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
13
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
13
LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 255 1023 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 800 1023 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
13
LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 1023 1023 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
13
LIBRARY_PATH=/data/local/tmp/ /data/local/tmp/lightsctl 1023 1023 <
Got type BACKLIGHT
Got type BATTERY
Got type NOTIFICATIONS
Got type ATTENTION
Set request type BACKLIGHT
Set flash type to NONE
Set light returned SUCCESS
:/data/local/tmp # cat /sys/class/leds/lcd-backlight/brightness
13
Hello. i have the ATU-L21 and same problem in Custom Roms (brightness issue). I Tried this too but nothing works only echo $(cat /sys/class/leds/lcd-backlight/max_brightness) > /sys/class/leds/lcd-backlight/brightness via terminal to set brightness to max.
Hello phhusson First of all, thank you for your incredible work on treble project! I would like to submit an issue about this device:
[ro.build.description]: [ATU-L11-user 8.0.0 HUAWEIATU-L11 153(C55) release-keys] [ro.build.display.id]: [ATU-L11 8.0.0.153(C55)]
But this problem seems to be in common at least with the whole Huawei Y6 series, ATU-L03, L11, L21, L22 and LX3 The problem is the Display Brightness too low. I've made some search inside the os: /sys/class/leds/lcd-backlight/brightness has a range from 0 to 255 but for this device /sys/class/leds/lcd-backlight/max_brightness is 1023 This command echo $(cat /sys/class/leds/lcd-backlight/max_brightness) > /sys/class/leds/lcd-backlight/brightness can rise the brightness but the AutomaticBrightnessController just put it back to the range 0-255 so at the sunlight the display is not well readable
My actual Rom is Descendant ThreeDotZero for Treble Enabled Devices Oblviosly I'm avaliable for any other informations you may require. Best Regards /claros