apsun / NoUsbNotification

Removes the USB debugging and MTP/PTP notifications on Android.
MIT License
5 stars 0 forks source link

Not work on Lollipop - LG G3 D855 #1

Closed rfazi closed 8 years ago

rfazi commented 8 years ago

This module not work on LG G3 D855 with Lollipop 5.0. Version: V21a.

apsun commented 8 years ago

I'm going to need more info than that. Can you post your logcat output?

adb logcat -s "NoUsbNotification" (make sure you're running v1.0.1)

Also please post the contents of your Xposed log (find that in the Xposed Installer app)

rfazi commented 8 years ago

Xposed log: xposed_error_20160214_005034.txt

There are no logcat for "NoUsbNotification".

apsun commented 8 years ago

Hmm, there doesn't seem to be any errors. Can you restart your phone, connect/disconnect your phone to your computer one or two times, and post your logcat again? Thanks.

Also, what do you mean by 'not work'? Do you still get the USB/ADB notification? Which app is it coming from? (Long press the notification, and it should show the source app)

rfazi commented 8 years ago

Yes the notification appear from Android system.

The logcat is empty.

Can you upload an alpha version to xposed with many logs so i can download it and post them here?

apsun commented 8 years ago

Okay, can you install these two files please?

https://a.uguu.se/jtbygi_NoUsbNotification-release.apk https://a.uguu.se/axofgk_DebugKit-release.apk

(Make sure to enable the DebugKit app in Xposed)

Then reboot your phone and post the contents of your Xposed log (no logcat needed this time). Also, long press the USB notification, and press the (i) icon on the right, it should pop up with a stacktrace, post a screenshot of that too (you may have to rotate your device into landscape to see the whole output)

rfazi commented 8 years ago

Xposed log: xposed_error_20160214_174157.log.txt

In the log at the end i take the screenshot of the notification because when i long press on the notification no (i) icon on the right appear for read the stacktrace. screenshot_2016-02-14-17-41-35

apsun commented 8 years ago

Oh my bad, the (i) thing was added in Android 6.0.

I found the problem, your ROM has modified some of the system methods. Try this build: https://a.uguu.se/szdksa_NoUsbNotification-release.apk

rfazi commented 8 years ago

Now work! Thanks