phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.4k stars 660 forks source link

Notification/charging LED does not work (Galaxy Note 9) #1649

Open invalidsudo opened 3 years ago

invalidsudo commented 3 years ago

I tested the AOSP 11.0 v300.j GSI (system-roar-arm64-ab-vndklite-gapps.img) on my Snapdragon Galaxy Note 9 with the stock kernel, using the latest official December 2020 firmware as a base. The notification/charging LED does not work. I tested an Android 10 GSI as well, and it still does not work, so it does not appear to be a version-specific issue.

phhusson commented 3 years ago

Run adb shell su -c lightsctl and give the result

Le dim. 3 janv. 2021 à 05:41, Peter Choi notifications@github.com a écrit :

I tested the AOSP 11.0 v300.j GSI (system-roar-arm64-ab-vndklite-gapps.img) on my Snapdragon Galaxy Note 9 with the stock kernel, using the latest official December 2020 firmware as a base. The notification/charging LED does not work. I tested an Android 10 GSI as well, and it still does not work, so it does not appear to be a version-specific issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OQDSWN5YSHIEKBXHKDSX7YORANCNFSM4VRSJYBA .

invalidsudo commented 3 years ago

As requested:

C:\platform-tools>adb shell su -c lightsctl Got type BACKLIGHT

ShahrukhAbrar commented 3 years ago

Run adb shell su -c lightsctl and give the result

Le dim. 3 janv. 2021 à 05:41, Peter Choi notifications@github.com a écrit :

I tested the AOSP 11.0 v300.j GSI (system-roar-arm64-ab-vndklite-gapps.img) on my Snapdragon Galaxy Note 9 with the stock kernel, using the latest official December 2020 firmware as a base. The notification/charging LED does not work. I tested an Android 10 GSI as well, and it still does not work, so it does not appear to be a version-specific issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OQDSWN5YSHIEKBXHKDSX7YORANCNFSM4VRSJYBA .

I had the same issue and executed the command. This was the output

Got type Battery Got type notification Got type Backlight Got type Attention

ShahrukhAbrar commented 3 years ago

@phhusson

phhusson commented 3 years ago

@ShahrukhAbrar you have the same device as @invalidsudo ?

ShahrukhAbrar commented 3 years ago

@ShahrukhAbrar you have the same device as @invalidsudo ?

No. I have a mtk device Tecno spark 4 lite A64-A/B

phhusson commented 3 years ago

Ok so you're just spaming this thread.

Le ven. 15 janv. 2021 à 10:03, Shahrukh Abrar notifications@github.com a écrit :

@ShahrukhAbrar https://github.com/ShahrukhAbrar you have the same device as @invalidsudo https://github.com/invalidsudo ?

No. I have a mtk device Tecno spark 4 lite A64-A/B

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/phhusson/treble_experimentations/issues/1649#issuecomment-760766300, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAA4OQ4SYJVCZTJ5RGWSL3S2AAHJANCNFSM4VRSJYBA .

phhusson commented 3 years ago

@invalidsudo

download https://treble.phh.me/lightsctl-seh adb push lightsctl-seh /data/local/tmp/ adb shell chmod 0755 /data/local/tmp/lightsctl-seh adb shell /data/local/tmp/lightsctl-seh

And give the result of this last command

ShahrukhAbrar commented 3 years ago

I have the same problem. So I thought it would be better if I just explained my problem here. I can make another issue for my device if you want. Sorry . Spamming wasn't my intention

invalidsudo commented 3 years ago

@phhusson

Got type BACKLIGHT Got type BATTERY Got type NOTIFICATIONS Got type ATTENTION

FYI, I switched from crownqltechn (Snapdragon) to crownlte (Exynos), but the issue is still persistent.

invalidsudo commented 3 years ago

Also, I ran adb shell su -c lightsctl again (on the latest version), and this was the result:

Got type BACKLIGHT Got type BATTERY Got type NOTIFICATIONS Got type ATTENTION