Pairing G1 with stowaway bluetooth keyboard - G1 Accessories

Hi everybody,
I have the excellent stowaway bluetooth keyboard and I have paired it with tons of other mobile devices and it works fantastically.
The keyboard of G1 is great. However, sometime I need to type more quickly or for task of root, typing on G1 is not very comfortable.
I have recently tried to pair G1 with the bluetooth keyboard. G1 can recognize the bluetooth keyboard and ask me for typing pairing code 0000 or 1234 on G1 but after typing, G1 reports error that the code is wrong ! I 've tried so many times but all in vain.
Is there any of you successfully paired G1 with stowaway bluetooth keyboard ? I am looking forward to hearing from you.
Thanks in advance.
Quang
--------------
G1 black - Haykuro 5.0.2H with spareparts and white background messaging
4GB microSD

The Android bluetooth stack does not yet support HID (what you need for the keyboard). HID is not coming in cupcake either, though the basic necessary elements have been added. Maybe in the release after cupcake.
If you are willing to really work at it there does seem to be a way to get bluetooth keyboards to work but it is not supported or simple.

http://groups.google.com/group/android-platform/browse_thread/thread/73eed70fb229d7ae

Thank you very much for your information Ido and JetPanic. The instruction at http://groups.google.com/group/android-platform/browse_thread/thread/73eed70fb229d7ae?pli=1 is well written. Actually, mine is not a dev phone and it's the primary one so I don't take the plunge to test.
I will try whenever I have time.
Thanks again.
Quang
--------------
G1 black - Haykuro 5.0.2Hr5 with spareparts and white background messaging
4GB microSD

ive also been enjoying the use of a full size bluetooth keyboard with many of my past devices, and would love to see it work on android. i checked out that google groups page but didnt really understand if it would work with my dudecake rom. anyone care to weigh in on whether its feasible? maybe even write it up in a more noob friendly format?
thanks!!

now, now, look what I've found:
source:
http://forum.androidcentral.com/htc-droid-eris/1158-external-bluetooth-keyboard-droid.html

o0ldsch00lz said:
now, now, look what I've found:
source:
http://forum.androidcentral.com/htc-droid-eris/1158-external-bluetooth-keyboard-droid.html
Click to expand...
Click to collapse
Do you have a link to the app itself?

Yeah, I'd love the .apk to this.

Sorry guys, I only saw that photo that looked rather exotic. No installer.
I was hoping for more info here on xda-devs but nothing until now.
The good thing is that such an app exists somewhere so it's a matter of time until we get it

Finally!
See this:
http://forum.xda-developers.com/showthread.php?p=5737305#post5737305
It is a working Bluetooth Keyboard Driver for Android!! The APK is on the developer's website, I didn't find it on the market (maybe they will upload it later?)

Package is not needed...
Follow the instructions on i-miss-erin<dot>blogspot<dot>com/2009/09/connect-bluetooth-keyboard-in-android.html[/url] and then write a shell script like this (without any file extension):
Code:
#!/system/bin/sh
hciconfig
hidd --connect 00:00:00:00:00:00
*Replace 00:00:00:00:00:00 with your keyboards address.
Then you simply save the script in /system/xbin (or /system/bin) and run
Code:
chmod 777 /system/xbin/yourscriptgoeshere
then you can simply type the name of your script into the shell or make a shortcut to it with ASE (Android Scripting Environment) with your keyboard in discovery mode.
For me this is better since 1. It's free, 2. It can also pair other devices that are supported by the Linux bluez stack.

modmadmike said:
For me this is better since 1. It's free, 2. It can also pair other devices that are supported by the Linux bluez stack.
Click to expand...
Click to collapse
Yes but it requires root, and some skills that most users don;t have. I'm also using a rooted device (but of course ), but there are many that don't.
This utube movie:
http://www.youtube.com/watch?v=lNRb4OtSMUQ
claims no root is required. I guess it's a nice alternative, too bad it is not free (but not that expensive anyway) so...

Trying to Pair Stowaway Keyboard to G1
Any update on this? I love my G1, but I am still not able pair it to my Stowaway keyboard. I am using a rooted G1 - Cynogen Mod. Any assistance is greatly appreciated.

modmadmike said:
Follow the instructions on i-miss-erin<dot>blogspot<dot>com/2009/09/connect-bluetooth-keyboard-in-android.html[/url] and then write a shell script like this (without any file extension):
Code:
#!/system/bin/sh
hciconfig
hidd --connect 00:00:00:00:00:00
*Replace 00:00:00:00:00:00 with your keyboards address.
Then you simply save the script in /system/xbin (or /system/bin) and run
Code:
chmod 777 /system/xbin/yourscriptgoeshere
then you can simply type the name of your script into the shell or make a shortcut to it with ASE (Android Scripting Environment) with your keyboard in discovery mode.
For me this is better since 1. It's free, 2. It can also pair other devices that are supported by the Linux bluez stack.
Click to expand...
Click to collapse
well I tried this on my rooted Hero with 2.1 but the tools don't give the same result as in the guide
Code:
# hciconfig
# hcitool dev
Devices:
# hcitool scan
Device is not available: No such device
# hidd --connect 00:19:15:10:49:B6
Can't get device information: No route to host
my Dell Stowaway is paired but not connected and can't get any further than this..
any help will be greatly appreciated

I have exactly the same problem as Gawis.

So do I. The hci tools don't seem to do anything. I'm not exactly a noob, but maybe I've missed something obvious? Running an HTC Hero on 2.1.

yeah!!! really works for me!
i-miss-erin said I should pair first,but I find that's no need
just put your keyboard into discovery mode
and scan and you see the device than just connect it
and it's done!
but I can't type upper case(if anynone knows how)
and when your phone change another orientation the arrow keys don't change...
and caps lock(numlock) makes no sense
and you can't type "<" and ">" and ....
and you can't hold down somekey like backspace to delete many words
...
but I think this is still better then Blueinput

and to those guys who can't make it works
do you have the HTC Sense UI
if you do
maybe this can't works for you
... I guess
see this thread:
http://forum.xda-developers.com/showthread.php?t=672884
notice that: "IMPORTANT! This application does not work with most HTC Devices that have Sense UI. It doesn't matter if the Sense is turned on or not, the problem seems to be much deeper."

Hey, check out BlueKeyboard JP!!! It works great with my Nexus One and Stowaway keyboard... Best solution I've found!

Oh.I can type uppercase now,don't know why
And you can hold down key in some app but not in some others
And the arrow keys... always not right
Whatis the bluekeyboard please?

Related

[Q] Serial (USB) GPS on Vegan -- so close...

I know there have been some general questions about this, but I wanted to share what I've done and see if anyone can help get over the last hump. I have a USB GPS (GR-110 I got for next to nothing from Geeks awhile back). Running VEGAn 5.11 + supplements + Pershoot kernel.
So here's what I have working:
1) Plug in USB, get /dev/ttyUSB0. Woot! Thanks Pershoot!
2) Use stty to set the baudrate to 4800 (stty -F /dev/ttyUSB0 4800)
3) cat /dev/ttyUSB0 dumps out NEMA strings. Woo hoo! $SPGSV tells me I have 12 birds in view.
4) Now at this point, if you HAD to you could write a GPS faker like many of the bluetooth ones do. I don't know why none of them don't already have options for an arbitrary character device but if they did we'd be done here.
5) On the other hand, you know a built in GPS card would still be NEMA and still look like an RS232 port so.... turns out that's a property ro.kernel.android.gps. You can set this at the command line, but I suspect that the Android stack looks for GPS on start up and if it doesn't find it, that's that. So you edit build.prop to put in: ro.kernel.android.gps=ttyUSB0 [from what I can read it doesn't want /dev/ in front of it]
6) I do not know if the Android code sets the port to 4800 baud or not. In fact, it could be that it wants it at a different baud rate but I have no idea what that baud rate would be. So I decided to get in early on the boot process and make a few changes. If you look at my other posts, I have added an rc.local that runs right at the end of init.rc but is in "user space" (not overwritten on each boot). So I added this to the start of rc.local (important because my rc.local blocks later to wait for the sdcard mounts):
#gps
if [ -c /dev/ttyUSB0 ]
then
chmod 666 /dev/ttyUSB0
stty -F /dev/ttyUSB0 4800
fi
7) No joy. The buad rate and permissions are set, so I know the rc.local is running. I can stream data out of the GPS raw but Android just isn't seeing it.
8) I theorized that maybe Android is checking for GPS before I am running my script. To test that I used LCD Density changer to restart the Android stack. This is like a boot, but the Linux isn't rebooted. No difference.
9) Another theory would be Android expects its GPS at a different baud rate and is setting it.
10) Is there some Android service required that is disabled or just not started maybe?
I feel like I am soooooo close..... Any ideas?
Hi wd5gnr,
I've been working on something very similar on the android powered scroll tablet but instead using an internal serial port we've identified.
Made no progress is making android accept the nmea stream as its own internal gps (using ro.kernel.android.gps) so have started to write an android program similar to the BT GPS apps where it reads the serial port, parses out $GPGGA and then uses mock locations to update the location system. I'm at the point of splitting the identified string into its components.
While I know this isn't the cleanest of hacks but it 'should' work, i've built it from the SerialPort.sample code so you can change the serial port and baud rate in the options - it hopefully will work on any android system.
Will keep you updated on my progress
James
Oh, at least i find a post with people working on it...
First, i have an Advent Vega, that is similar to Gtab.
I make it work, but with time it crash.
My steps:
1) Do the same that the first post, get ttyUSB0, change baudrate, modify ro.kernel.android.gps...
2) In vega we have 3 libgps... the default, one for integrated ericsson 3g/gps and one for huawei ones. This integrated are optional and my tablet doesnt have, but i can remane any of the to libgps.so and use them. Anyway, with default may work, but i get it working with huawei one.
3) You need to activate gps in settings (if you have gps greyed in location settings, can use a widget, like power widget).
4) To test i used gpstest app, so once you get nmea data in ttyUSB0, activate gps with widget and start gpstest. Maybe you dont get data (i dont), so come back to terminal and with stty ask the port for the baudrate (dont remember the command). In my case it has 9600 baudrate, so need a aplication in windows to change gps usb baudrate to 9600 (search in the windows drivers of your usb gps)
5) Once changed in windows, i come back to android and change stty command to the correct baudrate (like i said 9600), and redo the steps (cat ttyUSB0, activate gps and launch gpstest)
AND GET DATA... but some time after it crash the full tablet...
No more time to test it, but it's in my to-do list.
I dont know if i explain it good, but you can ask anything.
Anyway an app that can choose which port to listen to will be much better.
Corvus.
jamescoxon said:
Hi wd5gnr,
I've been working on something very similar on the android powered scroll tablet but instead using an internal serial port we've identified.
Made no progress is making android accept the nmea stream as its own internal gps (using ro.kernel.android.gps) so have started to write an android program similar to the BT GPS apps where it reads the serial port, parses out $GPGGA and then uses mock locations to update the location system. I'm at the point of splitting the identified string into its components.
While I know this isn't the cleanest of hacks but it 'should' work, i've built it from the SerialPort.sample code so you can change the serial port and baud rate in the options - it hopefully will work on any android system.
Will keep you updated on my progress
James
Click to expand...
Click to collapse
I've thought about this too. Should be easy. Would be even easier if we had RxTx ported to this tablet. I saw someone has done this, but it is very specific to hardware and I haven't looked at what that would take. But I imagine just opening /dev/ttyUSB0 ought to work. I've been known to write a little code myself (http://www.ddj.com/embedded) and if I ever find time to get started on this I'll start it as a google code project and invite you ;-)
corvus said:
Oh, at least i find a post with people working on it...
2) In vega we have 3 libgps... the default, one for integrated ericsson 3g/gps and one for huawei ones. This integrated are optional and my tablet doesnt have, but i can remane any of the to libgps.so and use them. Anyway, with default may work, but i get it working with huawei one.
.
Click to expand...
Click to collapse
The only GPS lib I see in VEGAn 7 is /lib/hw/gps.goldfish.so
Goldfish is an emulator I think, so that is not promising.
You mention 9600 baud -- are you saying that the system sets the port to 9600 so you have to set the GPS to 9600 to match?
wd5gnr said:
I've thought about this too. Should be easy. Would be even easier if we had RxTx ported to this tablet. I saw someone has done this, but it is very specific to hardware and I haven't looked at what that would take. But I imagine just opening /dev/ttyUSB0 ought to work. I've been known to write a little code myself and if I ever find time to get started on this I'll start it as a google code project and invite you ;-)
Click to expand...
Click to collapse
Hey,
I've been using android-serialport-api (google it, i can't post links yet) as my access to the port. My current code (its very basic) is built off the serial console sample. In its current state it access the chosen serial port, extracts the $GPGGA string, parses it and then converts it from DDmm.mmm to DD.ddd. I'm now at the stage of posting it to mock locations - just need to do some extra reading on the subject. This really is just a proof fo concept app as for example it doesn't run in the background but i felt that all that can come in the future.
James
wd5gnr said:
The only GPS lib I see in VEGAn 7 is /lib/hw/gps.goldfish.so
Goldfish is an emulator I think, so that is not promising.
You mention 9600 baud -- are you saying that the system sets the port to 9600 so you have to set the GPS to 9600 to match?
Click to expand...
Click to collapse
Yes, you must have a libgsp.so for android to detect the gps.
And yes, depending the library used, the baudrate must set to 9600 or other.
Corvus.
jamescoxon said:
Hey,
I've been using android-serialport-api (google it, i can't post links yet) as my access to the port. My current code (its very basic) is built off the serial console sample. In its current state it access the chosen serial port, extracts the $GPGGA string, parses it and then converts it from DDmm.mmm to DD.ddd. I'm now at the stage of posting it to mock locations - just need to do some extra reading on the subject. This really is just a proof fo concept app as for example it doesn't run in the background but i felt that all that can come in the future.
James
Click to expand...
Click to collapse
Once you get a working app, please send me a priv so i can help you testing it...
Thanks.
Corvus.
so has anyone got usb gps to work yet?
On the malata site. there is a t11 rom for Android 2,2 which calls the Huawei GPS
http://www.malata.com/cn/downloadlist.aspx
T11 Tablet PC May 18, 2011 firmware (support plug-in 3G modem Huawei E261 Unicom)
Take a look at this:
http://forum.xda-developers.com/showpost.php?p=17385039&postcount=15
but before you use this appliction, you must run stty -F /dev/ttyUSB0 -ispeed 4800 (baudrate and port base on your device). Everything fine and fix without 1 second!

Best ssh/telnet app for docked Prime?

Anyone know of a good ssh/telnet app that works properly with the keyboard dock on the Prime?
I have tried ConnectBot but the shift-number keys don't work, as well as other keys on the keyboard.
Telnet isn't as important as ssh, so an ssh only app would be good.
Willing to pay a few quid/dollars/euros/camels too.
V3ng said:
Anyone know of a good ssh/telnet app that works properly with the keyboard dock on the Prime?
I have tried ConnectBot but the shift-number keys don't work, as well as other keys on the keyboard.
Telnet isn't as important as ssh, so an ssh only app would be good.
Willing to pay a few quid/dollars/euros/camels too.
Click to expand...
Click to collapse
I'm using a custom apk for connectbot that can be found here : http://code.google.com/p/connectbot/wiki/KeyboardShortcuts
Look at the comments, there's two links from two different guys and it works perfectly with the dock!
V3ng said:
Anyone know of a good ssh/telnet app that works properly with the keyboard dock on the Prime?
I have tried ConnectBot but the shift-number keys don't work, as well as other keys on the keyboard.
Telnet isn't as important as ssh, so an ssh only app would be good.
Willing to pay a few quid/dollars/euros/camels too.
Click to expand...
Click to collapse
Better Terminal Emulator Pro is worth a look, although I am also going to check out the connectbot mentioned above.
BTEP does not support encrypted keys which is a big problem for me
-Barry
That custom apk is great thanks Anthony.
Do you know if you can disable the function key thing so I can enter a "!" ?
Indeed, thank you for the keyboard-capable APK.
My only gripe is that connectbot won't SSH1, which is necessary for my situation.
I agree, btep is the next best solution after connectbot.
anthonyalberto said:
I'm using a custom apk for connectbot that can be found here : http://code.google.com/p/connectbot/wiki/KeyboardShortcuts
Look at the comments, there's two links from two different guys and it works perfectly with the dock!
Click to expand...
Click to collapse
Thanks for this, even better than the BTEP I have been using, and free to boot!
I still can't get the "!" key working, which I need for vi!
Any ideas?
That's weird, I have no issue using the ! symbol
Maybe try to go to settings, Directory shortcutcs => Use right side keys, that's the only thing I can think of
I use BTEP for the dock support, although I guess Terminal Emulator can do that well enough now. BTEP like many apps, uses Dropbear for SSH: which is good but kinda limited.
I generally use OpenSSH in a Debian chroot, running in BTEP+tmux; tmux is a program like gnu screen.
Sent from my Transformer Prime TF201 using Tapatalk
Resurrecting a dead thread....
Sorry for ressurecting, but after going through the ringer on exactly this, had to comment.
Home/end keys don't work in nano/vi for BTEP. Commented this in the existing BTEP bug for TPrime keyboards: http://littlegreenbugs.com/bugs/view/165/
BTEP also doesn't properly do screen wipes in curses applications. Again, see here: http://littlegreenbugs.com/bugs/view/191/
Connectbot standard has effectively no support for the hardware keyboard.
vxconnectbot works awesome, as long as all your modifier keys (shift, ctrl, etc.) aren't pressed at the same time as the keys. Press, release, then press+release the key to modify. Not at all like a real keyboard.
irssi connectbot actually supports the keyboard, which is incredible. There's some other (rendering) issues with irssi connectbot, but compared to the others it's even better support than BTEP. Note, this doesn't actually run irssi, it adds support for actually using things like your modifier keys from a hardware keyboard, so that you could use irssi if you want to. Thus the name.
ConnectBot
I am still a fan of using the modified ConnectBot, it is just sadly really quite ridiculous to find... Best working version I have found is from http://code.google.com/p/connectbot/issues/detail?id=459#c72. In comment #72 4WayneD links to a ConnectBot-debug.apk on his website. I have been using this modified version on the Prime for a couple months now. Things I have checked myself:
* Number keys work correctly
* Ctrl keys work (this was key for me as I use screen a *LOT*)
* Search key functions as Alt
* Home/End/PgUp/PgDn keys work
Another thing to note, this is a modified older version as I do not like the new "tablet" version of ConnectBot as it sacrifices way too much screen real estate.
I like Terminal IDE, works fine with the dock.
Sent from my i9250

Apple Keyboard

Hi everyone,
I've already read some stuff about this question in here, but I haven't found the answer yet.
I have the Apple Keyboard from my iMac and I would like to use it with my TF. It connects but after that nothing happens. Is there any way to make it work?
(One more thing: it has a Portuguese layout...)
To the ones saying I should buy the keyboard dock: I run the whole Lisbon (capital) and there isn't a single one for sale.
Thanks in advance.
Your post is too vague to really start troubleshooting. Is the keyboard USB or Bluetooth? I'm assuming Bluetooth because you stated you don't have the dock which has the USB port...
So assuming you are using bluetooth:
Once you pair/connect the keyboard up, you have to MANUALLY select it from your list of keyboards so the OS knows what to get input from.
Apple is also known for using proprietary protocols to make things work so they don't work on other equipment. A keyboard shouldn't be difficult to work with.
Sorry for the lack of information.
Yes, it is a Bluetooth keyboard. It connects, but after that nothing happens. And the keyboard isn't listed in the "Input Methods". (I think it is like this, I use Android in Portugues)
jpmml said:
Sorry for the lack of information.
Yes, it is a Bluetooth keyboard. It connects, but after that nothing happens. And the keyboard isn't listed in the "Input Methods". (I think it is like this, I use Android in Portugues)
Click to expand...
Click to collapse
Then it didn't sync properly. You may have to go into Bluetooth settings and select additional profiles. It should list a HID device or something... and be listed in your keyboard list..
Another thing, sometimes when new keyboards are installed, you have to go to language and input and enable it before it'll appear in the list.
EXT LTE Galaxy Nexus - 4.0.4
Asus Transformer - ICS
player911 said:
Then it didn't sync properly. You may have to go into Bluetooth settings and select additional profiles. It should list a HID device or something... and be listed in your keyboard list..
Another thing, sometimes when new keyboards are installed, you have to go to language and input and enable it before it'll appear in the list.
EXT LTE Galaxy Nexus - 4.0.4
Asus Transformer - ICS
Click to expand...
Click to collapse
I've checked Language and Input, it isn't there. It recognizes it as a keyboard and has the Input Method profile activated.
(And thanks for your help )
I have seen previous posts on this and the Apple keyboard and mouse will probably not work. Apple has changed something in the Bluetooth protocol so it wont be recognized as a 100% compatible Bluetooth device. That is why it will only work on a Mac or a in Windows with the Apple boot camp drivers.
is it possible that the keyboard still thinks it is paired to the Computer and therefore may not pair with another machine. This is just from research I did when trying to make the keyboard work with my Windows 7 PC. I tested it on work windows PC, then it wouldn't pair with Home windows PC. I took out batteries for a few mins then it worked with correct drivers.
try unpair the keyboard from Computer just to see if it will pair to the Transformer. in the long term this may not be suitable for you if you want to use with your PC and Tablet....
Ultimately, as mentioned above, it may need further driver support that is not available for the Transformer,
good luk
I tried using the Apple Keyboard myself via Bluetooth on both the Motorola Xoom and the Asus TF.....both gave exactly the same symptoms as the OP described.
You can get as far as selecting the passphrase/keycode in order to pair it and it's all looking rosy at that point but then......nothing.
I'm sure Apple has gimped it so you can only use it with their own hardware. Yet another reason why I won't use their kit. I want to choose what I do with the kit I own, not what Apple want to do with the kit I own. Frustrating at times.

Using a sideloaded Launcher with USB HID and rooted system for profit

How to make your Nexus Q awesome with built in Android ICS (using CyanogenMod Trebuchet Launcher per this example).
This is by popular demand on Youtube and other places to demonstrate how I love my Q at the moment, which I obtained from someone who attended IO 2012. I was playing with it to see how capable it is with stock OS and kernel at handling 1080 content. It took me longer to write these instructions than root the device. Much of what is noted here is scattered on the forums and internet, but more than one person told me they didn't see an explanation matching what they saw in the video.
WARNING WARNING WARNING:
If you proceed with these instructions, you will be unlocking your device. If you do not know what "fastboot oem unlock" means, you should research it FIRST and understand you are officially bypassing a disclaimer when running "fastboot oem unlock_accept". If you do not have Jelly Bean and got it off eBay (like me), you will need to hack the actual APK from Google some for core functionality. This document expects advanced understanding of Android, and many assumptions are made. I have tested it locally, but since my Q is already unlocked, I cannot go back to the beginning for complete testing. Proceed at your own caution.
Assumptions: You have a secksy Nexus Q. Also, if you have an ICS client device without Jelly Bean, or the Google Apps aren't doing enough for you, this document covers these areas. I run with the assumption you do not have a JB client device (I own a Note, Tablet S, and HTC Doubleshot all running ICS builds).
Pre-req:
*SKIP IF RUNNING JELLY BEAN ON CLIENT DEVICE* -- Somehow get the NexusQ client apk. I personally updated my SDK value to 16 in build.prop, and it showed up. Then adb pull the apk, use apktool to decompile it, edit the manifest to use SDK version 15 rather than 16, and use apktool/jarsigner to install it to an ICS client.
*SKIP IF YOU HAVE ENABLED USB DEBUGGING ON NEXUS Q* -- Use the Nexus Q Client app (installed above if in ICS) as owner, enable USB Debugging in Advanced. This (should) magically enable ADB Network mode too (it did for me). Via nmap, I found it listening on port 4321.
fastboot is installed on PC.
adb is installed on PC (and can see the Q).
Sources:
http://droidcloudshare.blogspot.com/2012/07/rooting-and-getting-hid-mouse-to-work.html#more
http://bliny.net/blog/post/How-to-Root-Nexus-Q-(Temporarily).aspx
For kernel (modules): git clone https://android.googlesource.com/kernel/omap. Branch is android-omap-steelhead-3.0-ics-aah.
Steps:
Connect PC to Q via USB.
Run 'adb reboot bootloader'
Run 'fastboot oem unlock'. Then (Within 5 seconds run this to confirm): 'fastboot oem unlock_accept'.
Download this file -- http://www.bliny.net/downloads/nexusq-boot.img. It is a Nexus Q boot.img with ro.secure=0, allowing us to remount /system and root device.
Setup USB Debugging in Nexus Q via client app all over again (may require clearing data from client device Nexus Q app).
Run 'adb reboot bootloader'
Run 'fastboot boot nexusq-boot.img'. Your Nexus Q will now boot up unlocked, allowing:
Run 'adb remount'
Push 'su' and 'Superuser.apk' from a good source. I use nightly CM9 su/Superuser from my HTC Doubleshot. Put su in /system/xbin/, put Superuser in /system/app. chmod the su binary 06755. (There's many pages documenting how this is done).
*OPTIONAL BUT RECOMMENDED* -- adb push busybox binary from a known good source (I also use recent CM9 binary). Busybox will allow you to do things like remount /system and other necessary shell commands after the temporary ro.secure=0 boot up. This might also be a good time to push bash, or whatever linux utilities you'd like to have.
*OPTIONAL BUT RECOMMENDED* -- adb install the default Browser.apk from your good source, such as CM9. No browser is on the Q by default. Chrome will work, so will Firefox. Adobe Flash works (very well) with the CM9 Browser.apk in stock ICS on the Q.
*OPTIONAL* -- Install gapps, just like you would via clockworkmod. Hell CWM maybe out there for all I know. I did it manually, pushing the libs/apks/etc to the right places on /system. Gmail/Play/Youtube all work.
Sideload/Install a Launcher, I choose Trebuchet, also from nightly CM9 Doubleshot. adb install the apk, it will work.
*OPTIONAL* -- Sideload as many apks as you like for testing. I was lazy, and grabbed my apps from my Doubleshot /data/app directory. I then did a simple scripted command to install them all. 'for i in *.apk ; do adb install $i ; done'.
Profit.
How I profit:
From a PC or phone (I personally use ssh on my HTC Doubleshot), adb into the device again (I use adb connect network), and run:
'am start com.cyanogenmod.trebuchet/.Launcher'
This starts Trebuchet, and you now have a Launcher. Not everything works (wallpapers and home button mapping), but you have it up. If using USB keyboard like I am, ALT+TAB gets you around well.
Use a USB Micro USB dongle with USB wifi keyboard/mouse combination. I have two of them (adapters and keyboards), they all work. It makes navigation neato.
Install CIFS module: Grab android-omap-steelhead-3.0-ics-aah branch from https://android.googlesource.com/kernel/omap, and compile the CIFS and md4 modules. Push these to the Q via adb. Install them in /system optionally. Load them via insmod. I scripted it: 'for i in /system/lib/modules/* ; do insmod $i ; done'.
EDIT -- See Page 3 for instructions verbose on making a cifs module and loading it.
I map the IP in /etc/hosts on my PC, so "nexusq" is the network address, making adb connect simply 'adb connect nexusq:4321').
I know there's more. I love this thing. Highlights include Netflix and Youtube HQ, Vplayer playing 1080 mkvs of 17gb in size across CIFS, games working (Angry Birds, etc), Apollo music working, G+ is neat, etc.
And there's much more hacking to do, I did this with limited time.
You tube video (CAUTION IT SUCKS FOR SHAKINESS):
http://youtube.com/watch?v=ejYNDt0EUuA
kornyone said:
You tube video (CAUTION IT SUCKS FOR SHAKINESS):
http://youtube.com/watch?v=ejYNDt0EUuA
Click to expand...
Click to collapse
i have that youtube shakiness issue even with the stock build when using my galaxy nexus to play the files on the q
mejdam said:
i have that youtube shakiness issue even with the stock build when using my galaxy nexus to play the files on the q
Click to expand...
Click to collapse
I actually meant my recording was shaky, as in I was moving all over the place and more focused on showing off stuff than keeping the camera pointed at the TV. I also rambled. It was late. I planned to re-record the video on Youtube, but it picked up popularity over night.
As for Youtube on the Q to the TV via HDMI -- as you can see in the video I am playing Radiohead Coachella HD, and it looks/works great. I have watched quite a bit of content on YouTube without issue.
I got my Q today. Can't wait to modify it to make it more capable of stuff
Sent from my Galaxy Nexus using xda premium
Great work! Could you test the tablet remote app to control the q? Would be incredible if it worked. Thanks!
Does the Android Market work?
Are there any apps/limitations that don't work?
How is the responsiveness on the device, using the keyboard and mouse and loading up heavy websites? Can the processor keep up?
I saw in your video that when you press home on the keyboard it takes you to the Nexus Q's "home". Would it be possible to go to your apps on the settings screen and remove all the defaults from the Nexus Q's launcher, then when you press home it should ask you about which home do you want to go to and have a check-box for if you want to set one as default? I'm not sure if that would work, but it's an idea.
Would it be possible for you to post the modified apk that works on ICS devices for those that are unfamiliar with the apktool? I promise a quick and generous donation for your time and effort if you can. :good:
thevaristy said:
Great work! Could you test the tablet remote app to control the q? Would be incredible if it worked. Thanks!
Click to expand...
Click to collapse
I plan to play with more input devices, specifically Bluetooth soon. I have not had a chance to hack the Q since Saturday, but soon It's near the top of my list.
You say "app" -- is there one in specific you're referring to?
Paul22000 said:
Does the Android Market work?
Are there any apps/limitations that don't work?
Click to expand...
Click to collapse
Yes, Google Play Market works. I don't have a screenshot of it, but I have one of play.google.com telling me my Q is not compatible with Github's new app (I saw it yesterday at work) -- http://dl.dropbox.com/u/44767242/images/google-play-cut.png.
I would say 75% of the apps of the apps I looked at in my history of downloaded apps were "Not Compatible" via Market. I am sure this is due to build.prop data and other build information. Sideloading "Not Compatible" apks proves most are compatible. Since the Market is so vast, many applications do show up as "Compatible" with the Q, and will install natively.
yokken said:
How is the responsiveness on the device, using the keyboard and mouse and loading up heavy websites? Can the processor keep up?
Click to expand...
Click to collapse
Keyboard and mouse are quick. No issues there. Loading heavy websites is fine depending on the type of content on it, and browser chosen. I found some pages that brought it to a halt when using desktop browsing mode (like G+) in Browser.apk from my recent CM9 builds (there's not a Brwoser on the Q). However things I thought would bomb out, like heavy Flash video embedded pages or other pages were fine.
Putting it in Tablet DPI range (~213 or so) makes the Chrome browser use native tabs like you're used to on your PC. @1080p, this is sweet. It's a shame it requires a DPI hack to get this.
Mars11_ said:
I saw in your video that when you press home on the keyboard it takes you to the Nexus Q's "home". Would it be possible to go to your apps on the settings screen and remove all the defaults from the Nexus Q's launcher, then when you press home it should ask you about which home do you want to go to and have a check-box for if you want to set one as default? I'm not sure if that would work, but it's an idea.
Click to expand...
Click to collapse
It's not the defaults option, I did check this. I also installed third party apks to help remap it. I found it's embedded in the startup of the Q's hub activities, and I did not want to rip it out, since I have not found a Factory Restore Image from Google (yet).
bobukcat said:
Would it be possible for you to post the modified apk that works on ICS devices for those that are unfamiliar with the apktool? I promise a quick and generous donation for your time and effort if you can. :good:
Click to expand...
Click to collapse
I can whip that up. I will make sure it's the latest Nexus Q apk in the Market, which last I looked, had never been updated.
Also JB did drop for AOSP, depending on your device, you could have compatibility soon
kornyone said:
I plan to play with more input devices, specifically Bluetooth soon. I have not had a chance to hack the Q since Saturday, but soon It's near the top of my list.
You say "app" -- is there one in specific you're referring to?
The app is called tablet remote. Name is kind of lame, but here is the link...
https://play.google.com/store/apps/...wxLDMsImNvbS50b3VybmVzb2wudGFibGV0cmVtb3RlIl0.
Click to expand...
Click to collapse
Oh yeah, I got a lot of feedback for this video. and I have more planned (as I am sure plenty others do!).
I created ##nexusq on Freenode, as I could not locate a pre-existing Freenode channel for Nexus Q haxxoring conversation. I am on there. I am not very good at checking XDA.
Is it possible to connect a mouse via bluetooth, or even connect to a laptop via bluetooth?
As for the mouse yeah. Its advertised on the front page:http://www.xda-developers.com/android/connect-an-hid-bluetooth-mouse-to-the-nexus-q/
I'll give you a killer feature request: Play my own media either via (preferred) an attached network drive or a an directly attached drive.
I tried the entire Saturday to make the "Tablet Remote" to work on Q but I couldn't, for some reason the Q showed as connect to the Galaxy Nexus when I asked for the connection but the Gnex showed as declined.
There is something related to the pairing key that is not working, the logcat showed that was not giving the correct key as answer and also the key didn't show on the Q screen...
I'll keep digging it, and really hope that someone discover how to do it quickier than me, it's something that is killing me and it's now the matter of honor!
I'm not too skilled, but without keyboard and mouse I did a lot of tricks on my Q using the adb, waiting for the host cable to start to play hard on it! I hope to discover something that could help the community!
thanks for getting the ball rolling!
Thanks so much for the groundbreaking work on this, I managed to reproduce all the steps excepting compiling CIFS.
To those that want to play networked stuff - I'm able to stream video via upnp over a network either through vplayer or upnp + mxplayer. Able to play angry birds, etc. Although Google Play movies aren't showing the free transformers one I got from Google I/O. Maybe cause it's locked to my Nexus 7?
Sideloading helps a lot, take advantage of adb over the network. Installing gapps from CM9 nightly works awesome. It would be nice to get trebuchet to autostart, I'm sure there's a way to do this, but I'm not knowledgeable enough to know if there's a way to start it via a run time / on boot level.
For keyboard and mouse, I'm using one of these: USB-Micro-Female-Male-Adaptor that I trimmed down with a knife to fit in the port.
I plug in a keyboard with a built in hub and a mouse goes into that. Works great, sort of like an Atrix docked.
If anyone is stuck I'm more than happy to help.
help
which program are you using on your sideshoot? I am trying to adb from my transformer prime and I guess I am not as much of an expert as I thought. Any help would be awesome.
ace2die said:
which program are you using on your sideshoot? I am trying to adb from my transformer prime and I guess I am not as much of an expert as I thought. Any help would be awesome.
Click to expand...
Click to collapse
Hey there
I'm sideloading on an ubuntu machine. I can't post links yet, but you basically need to follow
http:// forum.xda-developers.com/showthread.php?t=1550414
That will put adb on your machine. Use a charging cable to connect to the back and use a Nexus 7 to put your Q in developer mode.
Download the fastboot image and follow the directions from there.
Then run the adb scripts from that pc.
You'll also need, as in the instructions, a way to get certain programs off ICS (Su and superuser) and some launcher (trebuchet, nova, etc).
Hope this helps!

[Q] Update with broken screen

Hello
My archos g9 fall down with result a broken unuasble screen. But that doesnt mean it is useless!
The hdmi output works just fine, so i will use it like a media center with my tv.
I want to update to 4.0.25 so i can use it from my phone with archos remote, but it currently run with blue rom and cant update by it self. Also the hdmi is not working in recovery and i cant see.
Is there any alternative way to update? (adb or something )
thanks in advance
buluba89 said:
Hello
My archos g9 fall down with result a broken unuasble screen. But that doesnt mean it is useless!
The hdmi output works just fine, so i will use it like a media center with my tv.
I want to update to 4.0.25 so i can use it from my phone with archos remote, but it currently run with blue rom and cant update by it self. Also the hdmi is not working in recovery and i cant see.
Is there any alternative way to update? (adb or something )
thanks in advance
Click to expand...
Click to collapse
Hi There,
Grab the surdu rooted update from here
You can flash the sde zImage and initramfs.cpio. using an archos tool called kd_flasher, just push the zImage and initramfs.cpio.lzo to the device, doesn't really matter where, /data/local/ is as good as any, Then push archos.ext4.update from (Stock_Root_4.0.25) on to your device, then reboot into sde , something like this should sort you out
Code:
adb push zImage /data/local/zImage
adb push initramfs.cpio.lzo /data/local/initramfs.cpio.lzo
adb push archos.ext4.update mnt/storage/
adb shell kd_flasher -i/data/local/initramfs.cpio.lzo -k/data/local/zImage
adb shell reboot_into sde
Hope that help you out
buluba89 said:
I want to update to 4.0.25 so i can use it from my phone with archos remote
Click to expand...
Click to collapse
Man, I've can't believe I didn't clock this app sooner, I only just look at what it does, my touch screen has been fooked for months as well, It's one of the few thing about Archos that has made happy. I was looking in play around with USB/IP adb virtual mouse drivers, Sill will. It's nice to see they finally Got Something right!
Thanks a lot for the help, i ll try this and post how it went in the next days.
Yes after 4.0.24 update it says that you can use your phone as a touchpad that sounds very interesting. Also i saw lots of updates at the video app of archos that is the only one that plays fine through hdmi.
Sent from my Optimus 2X using xda app-developers app
buluba89 said:
Thanks a lot for the help, i ll try this and post how it went in the next days.
Yes after 4.0.24 update it says that you can use your phone as a touchpad that sounds very interesting. Also i saw lots of updates at the video app of archos that is the only one that plays fine through hdmi.
Sent from my Optimus 2X using xda app-developers app
Click to expand...
Click to collapse
Yes, I'm in a quandry now with it, I'm porting CWM and stuff and probably going with a 4.2 from the Omapzoom sources, Archos G9's are based heavily on the Blaze Development Platform.
It's not overly difficult to write my own app to do that although I suck and hate doing UI work and the archos did feel alright to use on the HTC Sensation. I already tore apart the Client APK from my HTC, It's pretty heafty but that isn't what I need anyway. It's just a case of Implementing the protocol on the custom roms. Considering I control both ends of the conversation you just gotta tell.
Piece of Cake Really..... I'll add it to the list
You're rooted currently right? Have you tried changing your system properties the pretend to be a 4.0.24 rom....It probably won't work because I think Archos will is reliant on the input classes of the android framework. which is wrapped in the a script in /system/bin/input. On ICS the commands available are as follows
usage:
input text <string> : this will "type" a string to the focused android ui window
input keyevent <event_code> : an number between 0-255 which represent either keyboard keys, both soft and hard buttons as well as custom assigned things
I currently make heavy use this of it with my custom adb. Which is how I mae inly work with it . Although I given them some nice wrappers because I'm a lazy bastard. Anyways input in jellybean add a couple of extra
usage:
input text <string>
input keyevent <key code number or name>
input tap <x> <y>
input swipe <x1> <y1> <x2> <y2>
I played with tap and swipe earlier, on a Galaxy Tab I put 4.1.2 on. they work pretty nicely. Quick Left and Right Swipe can be done with just add a sign to the number, The only thing missing then is an easy way to do long presses. It possible the send them using /dev/input codes, I've not got round to playing with that, I've not had an overwhelm need to do it as I always have a otg cable with a mouse to hand.
Ah F**k it, I'll get wireshark on it later and backport whatever the after.
Apologises for the technical mind dump, I just got myself started. at least you know there more than what archos provide re remote controlling.
I didn't quite understand that big post of yours but your solution worked perfectly and now my g9 is update to 4.0.25
Archos remote touchpad is a little bit difficult to use but it's functional. Now i move on to solve the next 2 problems ,network speed for streaming movies from my data server and force screen to be off because the screen is white all the time and it is a little bit irritating
But these are not device specific so i believe mr Google will help me
Thank you very much again!!!
buluba89 said:
I didn't quite understand that big post of yours but your solution worked perfectly and now my g9 is update to 4.0.25
Archos remote touchpad is a little bit difficult to use but it's functional. Now i move on to solve the next 2 problems ,network speed for streaming movies from my data server and force screen to be off because the screen is white all the time and it is a little bit irritating
But these are not device specific so i believe mr Google will help me
Thank you very much again!!!
Click to expand...
Click to collapse
Haha, Welcome to the inside of my mind....I've been affectted by these robots.
To turn off the display on the device do some more command line trickery
echo 0 > /sys/devices/platform/omapdss/display0/enabled
or
echo 0 > /sys/class/leds/lcd-backlight/brightness
Both achieve the same result, It's been a while since I worried about network speeds but generally I try an be wired in the route either directly or through home plugs, I know some of the usb etherports are cheap and work with out much hassle of the G9 On wireless I try to be on fairly channel away from other people ( not always possible ) and Networking said to try to use even channels, Some to do with Electrical and thing I don't fully care to understand yet

Categories

Resources