Mac USB Keyboard works on stock ROM 3389 - G Tablet General

I have been trying to get any external keyboard to work on my Gtab since I got it for Christmas(wife wrapped it and made me wait...). I haven't had time to try the other ROMs yet, so I'm still on the stock 3389 update.
I couldn't get any of my USB or Bluetooth keyboards to work. I searched the forums and saw that someone suggested to boot with the USB device plugged in. So, I figured I would try this. Turns out all I needed to do was plug the keyboard in while the Gtab was sleeping, and then wake it up. The caps lock light blinked, so I knew it had just gotten power, and I had full keyboard access! The keyboard that I am using is an old Bondi Blue iMac keyboard. The arrow keys navigated around the Classic Home screen with no issues, so I started pressing keys to see what worked. So far, the Home key takes me to Classic Home and the Left Command/Apple Key brings up the menu. The right Command/Apple key doesn't do anything. My personal favorite is when I pressed the keyboard's Power Key. It actually puts the Gtab to sleep, and will wake it up again when I press a second time! (though I just discovered that any key will wake it back up...)
I have newer Mac keyboards in my basement, so I plan to test them out aswell, but I have to say the Power Key putting the Gtab to sleep just made my day!
-----------------
F1 - brings up menu
F3 - crashes whatever app your in
F4 - does the same as pressing the power key(sleep/wakes up)
ESC - same as back button
Typing in the Classic Home screen goes straight to search
in Classic Home the space bar brings up some wierd window with a bunch of secondary characters, like ... Registered trademark Copyright _under+ [] {} \ |
If you let it sleep too long it, when you press a key the Gtab doesn't want to wake up too easily. Takes some patience and pressing the power key on the side of the Gtab.

Related

Samsung Omnia - Lock ALL keys - including the volume buttons?

Hi all
I've had my Omnia for a few weeks now and love just about everything about it now that I've tweaked it to suit me. I've set up the M2D system and think it handles great.
There's just one thing that I'd like to change and I wondered if anyone may have found a solution for me. When you lock the keys/screen by pressing and holding the 'end' button, the volume buttons can still be used - I thought I'd switched my phone to vibrate mode and gone into a meeting but must have caught the volume button a few times because halfway through the meeting my phone started screaming out Paradise City by Guns N Roses at almost full volume when a call came in, which was very embarrasing!
Anyhow - if anyone knows of a way to also lock the volume buttons along with the rest of the hardware buttons and the screen upon pressing and holding the 'end' button, I'd really appreciate the details.
Thanks in advance.
just hold the NO button to lock all the buttons instead of using power button to lock the phone.
i found the way to stop that i had the same problem and all you need to do is go to "settings" then "buttons" then scroll right until you see "wake up" then check the last box!!!!!!

[Q] How can I wake up the device by any other button except power?

I'd like to wake up my device by (lets say ) home button except power button. I dont wanna use power button every time when it's on sleep. Is it possible? How can I? I tried Topaz Keyboard Control 1.4 but it couldn't work as the way I like. I remapped the home button for power management, it turns on&off but directly, not after it goes into sleep.
Change
HKCU\\ControlPanel\Keybd\DefaultKeyLock
from 1 to 0.
So? What will happen after that tweak done? Will it wake up by pressing home key?
After changing and soft reset, you can wake up device with any key.
You're great Fighter. You made my day again. Thank you very much.
waking up the device using a usb mouse
I am handicapt and can not use my hands. I control the samsung S6 using a special (mouth) controled mouse. That is working fine.
But my problem now is how I can wake up the device using the mouse. ?
Kind regards John

When I press the menu button sometimes, keyboard comes up?

Sometimes, when I go to press the menu key on the phone my keyboard will pop up. When it does, the menu button's light turns off while the back key, search key and home key stay lit. It takes about 7seconds and then the menu button lights back up and I am able to hit the back key to take the keyboard off of the screen. This has happened on my home screen and in several other programs and even in settings menus. Any ideas on this? I'm not tech illiterate, but I can't find anything else on it. I am NOT holding the button down like a long press. I am aware of the fact that this is a normal function otherwise. But, this is acting strangely and very aggravating.
Edit: did a factory reset and deleted any apps having access to keyboard and the hold down menu for keyboard function is no longer there so that may have been a third party app. Hasn't done anything in a few minutes like it had been so maybe I lucked out. I also turned off haptic feedback on softkey presses to see if tmay help
Sent from my Nexus S 4G using XDA Premium App
Okay, I am on the second factory reset and no apps just a fresh nexus s 4g and still persists to do it. It brings up the keyboard every once in awhile hitting the menu button and disables the other soft keys still. Won't let me do anything for about 7ish seconds
I'm having the same problem. Did you ever find a solution?
Your keys are damaged it sounds like. I dropped my nexus s in the pool but caught it just as the bottom hit the water and afterwards the buttons wouldn't work or would all long press. Return it to the company or call your insurance.

[Q] Question about touch buttons.

I've remapped some of the touch buttons to control buttons in emulators (ex: In a NES emulator, Search is A, Back is B.
The buttons work, however, when I press them they "disable" the screen and vice-versa. I'm thinking this is by design so you don't accidentally press a button while using the screen.
What I'm wondering is, does anyone know of a way to disable this?
I'm also trying to do it for SCUMMVM since many games are hard to play without right click. Right clicking is done by holding down the search button and then tapping the screen. And the Triumph only seems to let you use either the screen or the touch buttons, not both at the same time.
The phone is rooted by the way.
Thanks for any info!

Life after power button, tips on how to make it possible?

Disclaimer: I have fixed the infamous power button several times successfully, but now it's no longer possible so let's not go into that any more. For anyone who really wish to altogether replace the button, the following article is a good read, especially the comments on experiences. https://protyposis.net/blog/replacing-the-nexus-5-power-button/ TL;DR: it's tough.
So, my power button finally died permanently, and I'm now trying to figure out how to manage using a phone without a power button. The following things are doable and absolutely fine:
Turning on the phone: requires a PC with Fastboot, and attached USB cable. Press volume down and attach cable, phone will enter fastboot. Then do "fastboot reboot". This is quite problematic if you're not near a PC, but only really is an issue if the battery runs out.
Shutting down the phone: I use third party app like TWRP manager. Requires root I presume. Can be done with ADB as well e.g. by issuing "svc power shutdown" as root. Anyway a non-issue.
Rebooting: No problem, works basically similarly as shutting down.
My main concern is turning on the display. Currently I'm using CM13 CAF and I've set the volume buttons to turn on the display. It's fine, BUT - there is a long lasting bug where sometimes after phone call the display goes dark, and suddenly the volume buttons do not turn on the display. Only way to use the phone then is to find a computer to reboot it. Even attaching a USB cable does not turn on the display if this bug occurs. Not fun!!! I'm not completely sure about AOSP CM13 if the bug exists there, might have to test.
What are the good options for turning on the display other than CM13 / volume button? Are there some Xposed modules to specifically help with using the phone without power button? Any other tips / ideas?
Would you actually use the phone if your power button really died for good?
Edit: Here are some great suggestions given by you so far:
Gravity Screen - Additional service to unlock screen when necessary using proximity sensor. Has some battery usage concerns though.
Another non-CM13(CAF) ROM that do not perhaps have the "blank screen after phone call" issue, and hope that you won't actually need the power button by any incident
Setting up Xposed and using a module e.g. Xposed Additons to mimic power button behavior on volume button(s)
Use an external Pressy-like gadget to have a ROM-independent way to mimic the power button
Use a kernel that supports DT2W (double tap to wake) feature to turn on the screen. Also has some battery usage concerns.
Modify key mapping (gpio-keys.kl) to assign power button function to a volume button (see below)
So there certainly are options! And stuff like Pressy was even new to me. Can you think of more workarounds?
Gravity Screen.
Hi
I used Chroma which is working very good with volume buttons unlock. Now using my build from AOSP also with volume button wake and navigation button for locking.
Using terminal for reeboting/recovery/bootloader/shutdown.
Thanks for the suggestion, I will check them as well.
I'm testing currently Xposed Additions which allows remap any button to perform actions. I've set the volume key down to wake the phone, and long press volume down to lock it. This way I can still enjoy screen off music controls (at least next track by volume up).
Unfortunately this would not mimic the long pressing of power button for hard reboot. So in case display would just not turn on, the phone is still useless until you can get to a computer. But let's see.
Fihlvein said:
Thanks for the suggestion, I will check them as well.
I'm testing currently Xposed Additions which allows remap any button to perform actions. I've set the volume key down to wake the phone, and long press volume down to lock it. This way I can still enjoy screen off music controls (at least next track by volume up).
Unfortunately this would not mimic the long pressing of power button for hard reboot. So in case display would just not turn on, the phone is still useless until you can get to a computer. But let's see.
Click to expand...
Click to collapse
Not a big fan of Xposed and i dont listen to music on my N5 so a bit easier for me.
su | reboot
su | reboot recovery
su | reboot bootloader
su | reboot -p /power off/
I did not found a way for turning it on but connecting via fastboot and than reboot.
I have the exact same setup, but as backup, I use one of those cheap chinese Pressy clones. I use Headset Button Controller to unlock the screen on click, and it usually works when the download buttons refuse to. The only problem with this is not being able to use hedphones, and having the extra service running "just in case".
Use a ROM/kernel that supports Double Tap 2 Wake?
there is 2 options its a bit risky 1 try running normal CM13 and install ElementalX kernel it supports double tap 2 unlock the second option is just get on ebay buy new button and just replace it had this problem thought that i bricked the phone thanks for good information how to get it back up
I've updated the suggestions so far to the OP, thanks a lot!
By the way, do you know if the "10sec long press power button to force hard reboot" feature is mapped somehow physically to power button only? I'm guessing so as it works independently from where you are, in bootloader, recovery, ROM, etc. I was trying to mimic it using volume button (which is mapped to work as power button), and while the regular power button presses work within ROM, the 10sec long-pressing won't work. That would have be too cool to be possible.
Fihlvein said:
I've updated the suggestions so far to the OP, thanks a lot!
By the way, do you know if the "10sec long press power button to force hard reboot" feature is mapped somehow physically to power button only? I'm guessing so as it works independently from where you are, in bootloader, recovery, ROM, etc. I was trying to mimic it using volume button (which is mapped to work as power button), and while the regular power button presses work within ROM, the 10sec long-pressing won't work. That would have be too cool to be possible.
Click to expand...
Click to collapse
it is a qboot thing(one of the bootloaders from qualcomm, that loads before fastboot mode)
Okay I don't know how I didn't realize this earlier but mapping the power key to a volume button is by far the simplest way for me, if one has root. No extra apps needed. Here's how:
Option 1: on existing ROM:
- Boot into TWRP
- Mount /systen
- Modify e.g. with vim /system/usr/keylayout/gpio-keys.kl (I had to use Linux as Windows adb messed up the characters totally while editing)
Original:
key 115 VOLUME_UP
key 114 VOLUME_DOWN
New (volume down as power):
key 115 VOLUME_UP
key 114 POWER​- Save & reboot, and enjoy volume down functioning as a power button (minus 10s long press, that won't work sadly)
Option 2: directly to source when building ROM by yourself:
- Go to your synced source tree root location and locate your device tree (in this example I'm using CM13-CAF)
cd ./devices/lge/hammerheadcaf/​- Create a new local Git branch:
git checkout -b newbranchname​- Modify the button layout file
nano ./gpio-keys.kl
Original:
key 115 VOLUME_UP
key 114 VOLUME_DOWN
New (volume down as power):
key 115 VOLUME_UP
key 114 POWER​- Commit the change:
git commit -am "change button layout"​- Build & enjoy volume down acting as a power button!
I've tried this, along with other methods such as installing apps with root access. nothing seems to be working. I'm on the pixel experience rom (android 9.0). any help would be appreciated.
nigelrodrigues95 said:
I've tried this, along with other methods such as installing apps with root access. nothing seems to be working. I'm on the pixel experience rom (android 9.0). any help would be appreciated.
Click to expand...
Click to collapse
Although my power button currently works, the case I have makes it really hard to use (and I prefer not to anyway):
"WaveUp" app from F-droid to wake the screen with the proximity sensor.
Double-tap the status bar in lineage-16 to shut off the screen.
For any kind of rebooting, I just open a terminal and type the commands.

Categories

Resources