![]() |
#166 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,748
Karma: 16196313
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Do you want to replace it or eliminate it?
If you eliminate it there will be no short/long stuff. You can replace it by 1) asking Onyx nicely for their secret signing credentials, 2) resigning your entire system. You can remove it by the previous methods or 3) silly zip corruptions, 4) modifying framework.jar |
![]() |
![]() |
![]() |
#167 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
I just wanted to get those numpad keys back.
Can you please send instructions about framework.jar you did before for buttons in another thread? Meanwhile I’ll ask Onyx support. |
![]() |
![]() |
Advert | |
|
![]() |
#168 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,748
Karma: 16196313
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
|
![]() |
![]() |
![]() |
#169 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
I asked them to remove those hijacks or at least make them user configurable.
Thank you! I’ll send you the jar a little later. |
![]() |
![]() |
![]() |
#170 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@Renate
Did you receive my PM with the jar file? |
![]() |
![]() |
Advert | |
|
![]() |
#171 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,748
Karma: 16196313
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
|
![]() |
![]() |
![]() |
#172 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@Renate
Thank you so much!!! The Onyx hijack is no longer present. Keyboard works as generic as possible. F1-F12 keys as well as numpad 1-4 keys are back!! Now, do you have an idea how to invoke those commands manually? For example, Code:
{ "keySet": [ "KEYCODE_F4" ], "shortPressAction": "fullRefreshScreen", "longPressAction": "", "repeat": false }, ![]() |
![]() |
![]() |
![]() |
#173 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
To recap, before we found those actions:
Code:
# Call Home: am start -a android.intent.action.MAIN -c android.intent.category.HOME am start -n org.ds.simple.ink.launcher/.LauncherMainActivity # close the notifications: am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS # show contrast dialog: am broadcast -a com.onyx.action.show.contrast.dialog # show brightness dialog: # (for Button Mapper: Advanced - Broadcast intent - Action, input only the action itself) am broadcast -a action.show.brightness.dialog # manual brightness control (change system settings, n = 0-255) settings put system screen_warm_brightness n settings put system screen_cold_brightness n # ("toggle" brightness, n = 1/0) settings put system warm_brightness_state_key n settings put system cold_brightness_state_key n |
![]() |
![]() |
![]() |
#174 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
|
![]() |
![]() |
![]() |
#175 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
I found the answer! Thanks again Renate! https://www.mobileread.com/forums/sh...0&postcount=16
|
![]() |
![]() |
![]() |
#176 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,748
Karma: 16196313
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Well, those are Intents.
I haven't investigated if any keys do that without the mapping inside keypad.json (and friends). framework.jar is the Achilles heel of Android. It's unsigned and you can modify it any way you like. Unfortunately the old apktool 2.6.2 coudln't take apart Humpty-Dumpty and put him back together again. That's why I implemented my kpatch which does non-invasive microsurgery on H-D. The new apktool 2.7.0 appears to have fixed some things, but I haven't yet confirmed error-free processing yet. When/if I do that it will be possible to do larger modifications to key handling. |
![]() |
![]() |
![]() |
#177 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Thank you for the details! I might experiment with the apktool (and edl as a backup) if you show me an example of the mod.
For yhe keys, I am going to use my dear Button Mapper to map keyboard keys to firing up intents. I already do so the Back button long press to fire up the brightness dialog. It works even over the PIN code screen, contrary to firing up an app like GentleGlow. |
![]() |
![]() |
![]() |
#178 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
So my use case for that is editing tables and composing pieces of literature on the Onyx Boox in iA Writer. So it resembles a typewriter a lot, with the “screen refresh” reminding me of the “caret return” in the typewriter
![]() |
![]() |
![]() |
![]() |
#179 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,748
Karma: 16196313
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
|
![]() |
![]() |
![]() |
#180 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Oh, yes, sorry - carriage return it is
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |