![]() |
#76 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Huh, I enabled com.onyx, restarted, then launched the Onyx launcher and the round Home button works great! Here is how it responded:
Code:
09-02 00:08:54.887 1336 1439 V InputDispatcher: Asynchronous input event injection succeeded. 09-02 00:08:54.931 1336 1439 V InputDispatcher: Asynchronous input event injection succeeded. 09-02 00:08:54.933 3454 3454 I DeviceReceiver: Received[27]: com.android.systemui.HOME_BUTTON_CLICK data null 09-02 00:08:54.933 3454 3454 D EventBus: No subscribers registered for event class com.onyx.android.sdk.common.event.HomeKeyEvent 09-02 00:08:54.934 3454 3454 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent 09-02 00:08:38.367 1336 1454 I chatty : uid=1000(system) ConnectivitySer identical 2 lines 09-02 00:08:38.368 1336 1454 E ConnectivityService: Exception in removeRoute: java.lang.IllegalStateException: android.os.ServiceSpecificException: No such device (code 19) 09-02 00:08:54.942 1336 1355 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=org.ds.simple.ink.launcher/.LauncherMainActivity (has extras)} from uid 0 09-02 00:08:54.968 3454 3454 I DeviceReceiver: Received[28]: onyx.action.top.component.change data null 09-02 00:08:54.969 3454 3454 D EventBus: No subscribers registered for event class com.onyx.android.sdk.eac.event.EACTopComponentChangedEvent 09-02 00:08:54.969 3454 3454 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent ![]() |
![]() |
![]() |
![]() |
#77 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,984
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Yes, the DeviceReceiver handles a lot of broadcast actions, including:
Spoiler:
I found that my Device Receiver was running, but the process was showing com.onyx.dict which I had not disabled. So I pm disable com.onyx.dict, that killed it. But my little circle in the window shade still works fine and so does middle up swipe. I'm confused why there is a difference for you between circle and swipe. As I said, the com.onyx stuff is plastered on like lipstick on a pig. To see a subset of a logcat in real time: Code:
$ logcat *:s ActivityTaskManager |
![]() |
![]() |
![]() |
#78 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
The command happily reports that everything is fine:
First one is the physical double-press to get home, the second one is the round Home button. Code:
09-02 16:11:16.198 1321 1340 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=org.ds.simple.ink.launcher/.LauncherMainActivity (has extras)} from uid 0 09-02 16:12:46.726 1321 1340 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=org.ds.simple.ink.launcher/.LauncherMainActivity (has extras)} from uid 0 Let me disable it and try again. |
![]() |
![]() |
![]() |
#79 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
So after I disabled optimization for it, the error is gone, but it still doesn't redraw:
Code:
09-02 16:34:00.659 1323 1342 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=org.ds.simple.ink.launcher/.LauncherMainActivity (has extras)} from uid 0 09-02 16:34:00.663 1471 1471 V StatusBar: mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{5bc4975 V.E...... ........ 0,0-1404,1872} canPanelBeCollapsed(): true 09-02 16:34:00.678 1039 1642 D NuPlayerDriver: reset(0xed132200) at state 4 09-02 16:34:00.679 1039 4393 W AMessage: failed to post message as target looper for handler 0 is gone. 09-02 16:34:00.683 1039 4393 D NuPlayerDriver: notifyResetComplete(0xed132200) 09-02 16:34:00.683 1039 1642 D NuPlayerDriver: reset(0xed132200) at state 0 09-02 16:34:00.685 1471 4387 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 09-02 16:34:00.685 1471 4387 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null 09-02 16:34:00.685 1471 4387 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 09-02 16:34:00.685 1471 4387 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null 09-02 16:34:00.693 1471 1471 D StatusBar: disable<e i a s b h r c s > disable2<q i n > 09-02 16:34:00.744 1471 1471 D StatusBar: disable<e i a s b h r c s > disable2<q i n > 09-02 16:34:02.298 3279 3558 D AbstractMetricsFactoryImpl: record : No data points in metrics event 09-02 16:34:02.644 1323 1339 I BatteryStatsService: In wakeup_callback: resumed from suspend |
![]() |
![]() |
![]() |
#80 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,984
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
What if you're on another app, pull down the shade, hit circle, hit refresh round arrow on the right?
|
![]() |
![]() |
![]() |
#81 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
From further testing.
The round Home button only works, if: - com.onyx is enabled - After a fresh restart, I locked the screen at least once. Something is being launched and then the round Home button starts working, as well as Onyx Lanucher's screenshots are being used instead of generic Android ones. Also, the same thing enables App Optimizations. I'll try to get what exactly is being launched. |
![]() |
![]() |
![]() |
#82 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
|
![]() |
![]() |
![]() |
#83 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,984
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
|
![]() |
![]() |
![]() |
#84 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Ah, sorry.
After the round Home I used a swipe gesture to do Refresh, but it didn't work. logcat said: Code:
09-02 19:17:25.413 1470 1470 I TouchInteractionService: dispatchEvent REFRESH_SCREEN |
![]() |
![]() |
![]() |
#85 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
1) After a fresh restart with com.onyx disabled, I enabled it again and the round Home button worked immediately:
Code:
09-02 19:21:37.902 4161 4161 I DeviceReceiver: Received[9]: com.android.systemui.HOME_BUTTON_CLICK data null 09-02 19:21:37.904 4161 4161 D EventBus: No subscribers registered for event class com.onyx.android.sdk.common.event.HomeKeyEvent 09-02 19:21:37.904 4161 4161 D EventBus: No subscribers registered for event class org.greenrobot.eventbus.NoSubscriberEvent 09-02 19:21:37.924 1323 1342 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=org.ds.simple.ink.launcher/.LauncherMainActivity (has extras)} from uid 0 09-02 19:21:37.928 1470 1470 V StatusBar: mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{760aacc V.E...... ........ 0,0-1404,1872} canPanelBeCollapsed(): true 09-02 19:21:37.928 573 573 I hwservicemanager: getTransport: Cannot find entry vendor.qti.hardware.iop@2.0::IIop/default in either framework or device manifest. 09-02 19:21:37.931 1323 1342 D ActivityTrigger: ActivityTrigger activityPauseTrigger 09-02 19:21:37.933 1323 1342 D CompatibilityInfo: mCompatibilityFlags - 4 09-02 19:21:37.933 1323 1342 D CompatibilityInfo: applicationDensity - 374 09-02 19:21:37.933 1323 1342 D CompatibilityInfo: applicationScale - 1.0 09-02 19:21:37.938 4161 4161 I MainActivity: onPause-------------- Code:
09-02 19:26:22.624 1317 1414 V InputDispatcher: Asynchronous input event injection succeeded. 09-02 19:26:22.630 1317 1336 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000100 cmp=org.ds.simple.ink.launcher/.LauncherMainActivity (has extras)} from uid 0 09-02 19:26:22.634 1462 1462 V StatusBar: mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{2fafb9 V.E...... ........ 0,0-1404,1872} canPanelBeCollapsed(): true Attached logact_home1.txt contains all this. 4) Then I did this: went to Android settings and made the Onyx Launcher the default home app. Only then it worked (logcat_home2.txt). 5) If I make the Simple Ink Launcher the main home app again, it doesn't work again (logcat_home3.txt). I am confused, it is so inconsistent. |
![]() |
![]() |
![]() |
#86 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,984
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
You're confused? What am I?
One of the good things about deep-diving into some of this stuff is that you learn things. Maybe not helpful things at the time, but still. I recently learned about synthetic classes generated for private nested classes. I saw EventBus in your logs and I was scratching my head. Normal Android has Intents and doesn't use EventBus. In fact, EventBus isn't any part of Android. Moreover, on my Poke3 with most of the Onyx stuff disabled, I never see that in my logs. Or on any other Android device, for that matter. Using my latest utility (ahem), I found EventBus in that SystemUIWithLegacyRecents.apk as com.android.systemui.recents.events.EventBus So apparently the "WithLegacyRecents" part means some Onyx custom modifications. I don't think that this is our actual problem, but it is a difference between yours and mine. I'm lost over whether this is some life cycle problem with the launcher or a window/display problem of ensuring that it's visible. I'm still unclear when you hit the circle button if the Onyx dialog dismisses or not. I should send you a custom launcher with enough logging to see what's going on. |
![]() |
![]() |
![]() |
#87 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Thank you very much!
Here are the logs. Quote:
![]() |
|
![]() |
![]() |
![]() |
#88 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,984
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Ok, so it's clearly a case of the status bar panel not wanting to close.
Try manually closing it with: Code:
adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS |
![]() |
![]() |
![]() |
#89 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,514
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
It closed!
Code:
09-03 18:09:42.411 1317 1317 W Looper : Drained 09-03 18:09:51.757 1046 1046 W wificond: Scan aborted 09-03 18:09:51.758 1317 1698 D WificondControl: Scan failed event 09-03 18:09:51.761 1317 1430 W WificondScannerImpl: Scan failed 09-03 18:09:56.288 714 714 I SDM : update_to_display[0/1] -- marker[3422] waveform_mode = 255, update_mode = 0, Rect[0 0 1872 1404], flags = 0 09-03 18:09:56.307 714 714 I SDM : update_to_display[0/1] -- marker[3423] waveform_mode = 255, update_mode = 0, Rect[0 0 1872 1404], flags = 0 09-03 18:09:58.829 1317 1698 D WificondControl: Scan failed event 09-03 18:09:58.830 1317 1430 W WificondScannerImpl: Scan failed 09-03 18:10:00.056 1463 1463 D KeyguardUpdateMonitor: received broadcast android.intent.action.TIME_TICK 09-03 18:10:00.069 1463 1770 I OpenGLRenderer: Davey! duration=721ms; Flags=0, IntendedVsync=4913219283802, Vsync=4913219283802, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=4913220556093, AnimationStart=4913220618020, PerformTraversalsStart=4913220622604, DrawStart=4913924484947, SyncQueued=4913925641301, SyncStart=4913925972499, IssueDrawCommandsStart=4913926928437, SwapBuffers=4913938684843, FrameCompleted=4913940986041, DequeueBufferDuration=4958000, QueueBufferDuration=648000, 09-03 18:10:00.071 1463 1463 D KeyguardUpdateMonitor: handleTimeUpdate 09-03 18:10:00.090 714 714 I SDM : update_to_display[0/1] -- marker[3424] waveform_mode = 255, update_mode = 0, Rect[0 0 1872 1404], flags = 0 09-03 18:10:00.112 714 714 I SDM : update_to_display[0/1] -- marker[3425] waveform_mode = 255, update_mode = 0, Rect[0 0 1872 1404], flags = 0 09-03 18:10:04.679 1317 1698 D WificondControl: Scan failed event 09-03 18:10:04.680 1317 1430 W WificondScannerImpl: Scan failed 09-03 18:10:04.811 1463 1463 V StatusBar: mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{599b866 V.E...... ........ 0,0-1404,1872} canPanelBeCollapsed(): true 09-03 18:10:04.820 1036 1036 D NuPlayerDriver: reset(0xe8632100) at state 4 09-03 18:10:04.821 1036 5376 W AMessage: failed to post message as target looper for handler 0 is gone. 09-03 18:10:04.822 1036 5376 D NuPlayerDriver: notifyResetComplete(0xe8632100) 09-03 18:10:04.823 1036 1036 D NuPlayerDriver: reset(0xe8632100) at state 0 09-03 18:10:04.824 1463 5370 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 09-03 18:10:04.824 1463 5370 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null 09-03 18:10:04.824 1463 5370 V MediaPlayer: resetDrmState: mDrmInfo=null mDrmProvisioningThread=null mPrepareDrmInProgress=false mActiveDrmScheme=false 09-03 18:10:04.824 1463 5370 V MediaPlayer: cleanDrmObj: mDrmObj=null mDrmSessionId=null 09-03 18:10:04.827 1463 1463 D StatusBar: disable<e i a s b h r c s > disable2<q i n > 09-03 18:10:04.882 714 714 I SDM : update_to_display[0/1] -- marker[3426] waveform_mode = 255, update_mode = 0, Rect[0 0 1872 1404], flags = 0 09-03 18:10:04.895 1463 1463 D StatusBar: disable<e i a s b h r c s > disable2<q i n > 09-03 18:09:58.828 1046 1046 I chatty : uid=1010(wifi) /system/bin/wificond identical 1 line 09-03 18:10:04.678 1046 1046 W wificond: Scan aborted 09-03 18:10:04.903 1317 1344 W ProcessCpuTracker: Failed to stat(/proc/5433): android.system.ErrnoException: stat failed: ENOENT (No such file or directory) 09-03 18:10:04.903 1317 1344 W ProcessCpuTracker: Skipping unknown process pid 5433 09-03 18:10:04.903 1317 1344 W ProcessCpuTracker: Failed to stat(/proc/5434): android.system.ErrnoException: stat failed: ENOENT (No such file or directory) 09-03 18:10:04.903 1317 1344 W ProcessCpuTracker: Skipping unknown process pid 5434 09-03 18:10:04.905 714 714 I SDM : update_to_display[0/1] -- marker[3427] waveform_mode = 255, update_mode = 0, Rect[0 0 1872 1404], flags = 0 09-03 18:10:04.926 714 714 I SDM : update_to_display[0/1] -- marker[3428] waveform_mode = 255, update_mode = 0, Rect[0 0 1872 1404], flags = 0 09-03 18:10:04.945 714 714 I SDM : update_to_display[0/1] -- marker[3429] waveform_mode = 255, update_mode = 0, Rect[0 0 1872 1404], flags = 0 09-03 18:10:04.959 714 714 I SDM : update_to_display[0/1] -- marker[3430] waveform_mode = 255, update_mode = 0, Rect[0 0 126 1404], flags = 0 09-03 18:10:05.328 1317 1344 I ProcessStatsService: Pruning old procstats: /data/system/procstats/state-2021-09-02-01-01-28.bin 09-03 18:10:09.867 714 714 I SDM : update_to_display[0/1] -- marker[3431] waveform_mode = 255, update_mode = 0, Rect[0 0 103 1404], flags = 0 |
![]() |
![]() |
![]() |
#90 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,984
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
So, does clicking circle for Simple Ink, then swiping up on the status bar panel to close it give you the full screen launcher? Didn't I already ask you that?
Is your /system a mishmash of different version of things that you replaced? Or are you using the masking features of Magisk to replace system files? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kon-tiki | mirage | Onyx Boox | 1 | 01-21-2021 10:30 PM |
Onyx Boox is releasing Note3 & Nova3 in China | winstonma | Onyx Boox | 23 | 10-20-2020 10:49 PM |
Apps for onyx boox | Narwhall85 | Onyx Boox | 0 | 05-08-2020 02:51 AM |
Removing Google apps on the Onyx Boox Note | Dav_25 | Onyx Boox | 4 | 04-29-2019 05:22 AM |
Readability/instapaper-like apps on onyx boox M92? | Acryde | Onyx Boox | 2 | 04-26-2012 10:05 AM |