Droidmote - TouchPad Themes and Apps

Hey all,
im trying to run droidmote client on my touchpad to control an android powered tv stick (UG007) running droidmote server.
Both devices run the app fine, the server app broadcasts correctly.
I run the client on the TP and it "appears" to connect however i get no notification on the tv that it has connected. button presses are also unresponsive and i dont get a cursor on the tv screen.
on the TP when bringing up the menu the option to "disconnect" is available which implies it is connected....
Anyway getting to the point, just curious whether anyone else has tried to use the TP as a droidmote client and had any success using it to control another android devices?
Oh and FYI - im running CM10 based off jcsullins ROM however have compiled my own kernel with additional drivers built into it for DVB-T and others. I dont see the kernel being the issue however as its only a lightly modified defconfig for tenderloin.
Thanks

I used my TP as the server with my Xperia T as the control and it worked fine over WiFi (tethering too)
Sent from my Xperia Neo using xda app-developers app

ba114 said:
Hey all,
im trying to run droidmote client on my touchpad to control an android powered tv stick (UG007) running droidmote server.
Both devices run the app fine, the server app broadcasts correctly.
I run the client on the TP and it "appears" to connect however i get no notification on the tv that it has connected. button presses are also unresponsive and i dont get a cursor on the tv screen.
on the TP when bringing up the menu the option to "disconnect" is available which implies it is connected....
Anyway getting to the point, just curious whether anyone else has tried to use the TP as a droidmote client and had any success using it to control another android devices?
Oh and FYI - im running CM10 based off jcsullins ROM however have compiled my own kernel with additional drivers built into it for DVB-T and others. I dont see the kernel being the issue however as its only a lightly modified defconfig for tenderloin.
Thanks
Click to expand...
Click to collapse
ok you need the uinput.ko module for your kernel. i have 3 different mk802 devices that i use with droidmote and my touchpad. i have the module for kernel 3.0.8+, which kernel version are you running on the androidTV?
if you can build and compile your own modules/drivers then you already will know what to do. if not, and youre running the same kernel version as i am then use mine.
1) Start DroidMote and click with the mouse the ON button. (started well, but does not work do not worry).
2) Download the uinput.ko in the link below.
3) open terminal emulator (If you not have it, download from Google Play).
4) In terminal emulator run the following commands:
su
mount -o remount,rw /system
busybox cp /download-folder-of-uinput/uinput.ko /vendor/modules (change "download-folder-of-uinput" with your folder ex. /mnt/sdcard/Download)
busybox mv /vendor/modules/mma7660.ko /vendor/modules/mma7660.ko.bak
busybox mv /vendor/modules/uinput.ko /vendor/modules/mma7660.ko
busybox chmod 644 /vendor/modules/mma7660.ko
busybox cp /data/data/org.videomap.droidmoteserver/files/droidmote.kl /system/usr/keylayout
busybox cp /data/data/org.videomap.droidmoteserver/files/droidmote.kcm /system/usr/keychars
busybox cp /data/data/org.videomap.droidmoteserver/files/droidmotegt.idc /system/usr/idc
busybox cp /data/data/org.videomap.droidmoteserver/files/droidmotemt.idc /system/usr/idc
umount /system
6) restart the MK802
7) open DroidMote Server, go in the settings and enable the options "start on boot".
8) restart the MK802 (If all goes well, after two minutes from the boot, DroidMote open and start automatically,
and is ready to receive connections from your phone).
https://www.box.com/s/z9vn6lbejg64raokx5p6

ba114 said:
Hey all,
im trying to run droidmote client on my touchpad to control an android powered tv stick (UG007) running droidmote server.
Both devices run the app fine, the server app broadcasts correctly.
I run the client on the TP and it "appears" to connect however i get no notification on the tv that it has connected. button presses are also unresponsive and i dont get a cursor on the tv screen.
on the TP when bringing up the menu the option to "disconnect" is available which implies it is connected....
Anyway getting to the point, just curious whether anyone else has tried to use the TP as a droidmote client and had any success using it to control another android devices?
Oh and FYI - im running CM10 based off jcsullins ROM however have compiled my own kernel with additional drivers built into it for DVB-T and others. I dont see the kernel being the issue however as its only a lightly modified defconfig for tenderloin.
Thanks
Click to expand...
Click to collapse
from what you explain, you have a cracked version of droidmote server, downloaded from the net.
try the good version and all work well
all the apk that you can find in internet not work. work only the version from Google Play.

zulu99 said:
from what you explain, you have a cracked version of droidmote server, downloaded from the net.
try the good version and all work well
all the apk that you can find in internet not work. work only the version from Google Play.
Click to expand...
Click to collapse
Nope, using the paid version from the app store.
its funny how sometimes you really should start with the basics rather than deep dive into the detail. After resetting my router, connection works fine on all devices.

ba114 said:
Nope, using the paid version from the app store.
its funny how sometimes you really should start with the basics rather than deep dive into the detail. After resetting my router, connection works fine on all devices.
Click to expand...
Click to collapse
Same thing happened to me. Both my UG007 with iMito MX1 Finless 1.5 the server is not found. I installed it on my Win8 machine and everything but Netflix Metro app worked but remote control was perfect.... BOUGHT 2 different ones off of Play Store from 2 different TV anroid accounts and UG007's. (I think $2.58 each?) Anyways, it does not work. Any ideas? That uinput.ko is not to be found...
tried
find / -name uinput.ko
and nothing...not sure if that even really needs to exist? Anyways, some light shed this way also please.

Related

[Q] Remote Control Steak Via PC?

Hi,
I've been wondering, I remember with my Sony Ericsson P990i that there was a program I could install on my PC that would have a window which mimic'd the phone and allowed me to remotely control the phone. This was great while the phone was docked as I could type out messages and everything with my computer and not have to un-dock the phone. Is there any program or method of achieving a similar solution for the Streak?
Thanks!
http://code.google.com/p/androidscreencast/
..... and nevermind, after trying, its upside down, and the touch controls dont work... stupid streak, lol
Hi jmhalder,
Thanks for the reply.....so androidscreencast doesn't work with the Streak?
Any other options or a way to get this to work?
Keethos said:
Remote Control Steak Via PC?
Click to expand...
Click to collapse
Now that would be an awesome app, lol
Oops
jmhalder - how have you managed to get this to work at all with your Streak (got it right this time) as I keep on getting:
java.lang.RuntimeException: SyncService is null, ADB crashed ?
at net.srcz.android.screencast.injector.Injector.uploadAgent(Injector.java:67)
at net.srcz.android.screencast.injector.Injector.init(Injector.java:177)
at net.srcz.android.screencast.injector.Injector.access$0(Injector.java:171)
at net.srcz.android.screencast.injector.Injector$1.run(Injector.java:27)
I've installed Java SDK 6 and everything seems to be working and I've installed Android SDK to my C drive and I've ran adb devices and it sees my phone (on my Windows 7 64-bit). However, whenever I run any other command (e.g. adb remount) I get the line "error: closed"
I've tired this with the Dell Suite installed and uninstalled, as well as having the phone unrooted and rooted Any ideas?
No idea, it worked on mine, rooted and on 2.1... but the screen was upside down and it wouldn't let me control it via cursor actions on the PC... I've only had the "error: closed" with a borked install of android on my streak where it wasn't bootable... I'd make sure the "tools" folder is listed in your PATH...:
follow this thread and do #2
http://forum.xda-developers.com/showthread.php?t=500196
This would be an awesome app
jmhalder do you think it may have something to do with you having a US astreak and Keethos having a UK model?
There's a VNC server in the Market for rooted Android devices. It worked pretty well from mthe limited testing I did.
jmhalder said:
No idea, it worked on mine, rooted and on 2.1... but the screen was upside down and it wouldn't let me control it via cursor actions on the PC... I've only had the "error: closed" with a borked install of android on my streak where it wasn't bootable... I'd make sure the "tools" folder is listed in your PATH...:
follow this thread and do #2
http://forum.xda-developers.com/showthread.php?t=500196
Click to expand...
Click to collapse
no good.....I've added the tools folder to the PATH but it made no difference
a042349 said:
There's a VNC server in the Market for rooted Android devices. It worked pretty well from mthe limited testing I did.
Click to expand...
Click to collapse
I know I can use VNC to control my PC via my phone but can I do the same the otherway round i.e. use my PC to control my phone via VNC?
Keethos said:
no good.....I've added the tools folder to the PATH but it made no difference
I know I can use VNC to control my PC via my phone but can I do the same the otherway round i.e. use my PC to control my phone via VNC?
Click to expand...
Click to collapse
Yes, that's what a VNC "server" is, and why root is required. Your Streak is the server, being remote controlled by your PC. Sort of like the Soti remote controller from the WinMo days (if you were ever there).
I didn't test/play with it much, not sure how functional it was.
Search for VNC in the market, it should be there.
^^ Cool dude, I might give that a try then!
I've actually managed to get it working now....I had a quick search on how to screen capture and a lil guide said to turn on USB debugging on the phone which I had completely forgot about and after doing so it started workin Now a way to try and get the rest of the app to work i.e. the upside down screen and controls
EDIT:
Ooo managed to get the controls to work YAY this was probably the main thing that I wanted to work, not overly fussed about the screen being upside down as I can just look at the phone while I type. I had to give full read and write permission to the "/data/dalvik-cache" folder (ticking the read and write of others as all other boxes were ticked), and all of a sudden it start to work.
Keethos said:
^^ Cool dude, I might give that a try then!
I've actually managed to get it working now....I had a quick search on how to screen capture and a lil guide said to turn on USB debugging on the phone which I had completely forgot about and after doing so it started workin Now a way to try and get the rest of the app to work i.e. the upside down screen and controls
EDIT:
Ooo managed to get the controls to work YAY this was probably the main thing that I wanted to work, not overly fussed about the screen being upside down as I can just look at the phone while I type. I had to give full read and write permission to the "/data/dalvik-cache" folder (ticking the read and write of others as all other boxes were ticked), and all of a sudden it start to work.
Click to expand...
Click to collapse
So is this using this http://code.google.com/p/androidscreencast/ or the VNC server market app?
thanks.
Sorry dude, it's the android screen cast thing, spent all night trying to get it working so not managed to try out the VNC thing. Might give that a go tonight.

How to compile reaver for Android?

Hello,
I am curious how easy it is to compile a linux based app for various versions of android.
Is this possible?
I am interested in compiling the reaver tool.
Thanks,
Matt
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
As noone is answering you, i'll give it a try
I am not very familiar in this topic and only able to do get very simple apps compiled and running... so after having a quick glimpse on this one ( http://talk.maemo.org/showthread.php?t=81219 ) i think that the problem is not the reaver code but a) the promiscuous mode wireless driver (device depending) and b) the other dependencies like aircrack.
I would say as long as you dont find an aircrack port its senseless to ask for a reaver-droid
(Devs please correct me)
looks like you will just have to port aircrack too.. however, I do feel as if this would be a wonderfully malicous tool... I also think that it would also be best used on a computer as I would assume this software would eat your battery alive..
So.. 2 things to consider.. First, reaver on a cellphone is like giving rufees to satan for distribution and trusting him not to rape anyone.. second... how well would your hardware hold up to the several hour attack, and how much longer would it take on a cellphone compared to an actual computer?
any news on this?
i'm also interested
+1
I want this
I need this so bad. anybody know if there is a app like this available?
hammerlock13 said:
looks like you will just have to port aircrack too.. however, I do feel as if this would be a wonderfully malicous tool... I also think that it would also be best used on a computer as I would assume this software would eat your battery alive..
So.. 2 things to consider.. First, reaver on a cellphone is like giving rufees to satan for distribution and trusting him not to rape anyone.. second... how well would your hardware hold up to the several hour attack, and how much longer would it take on a cellphone compared to an actual computer?
Click to expand...
Click to collapse
The WPS vulnerability the reaver exploits requires little calculations. It just keeps brute forcing the WPS access point(if enabled), until the AP responds "hey you got it right, you are now my WPS registrar. You now have access to retrieve/set my wireless settings including pre-shared key."
It would still take lots of time in most cases and therefore battery. But it's not like you are actually cracking the encryption key.
I have taken the key off the bottom of an access point I had laying around and used my phone's built-in wpa_cli to plug that pin in and retrieve the pre shared key. That much is already possible with wpa_supplicant found on Linux OSes including android.
Air crack or similar would need to be ported to put the wifi device in promiscuous mode and I would assume that the device drivers would have to support that. This is, I believe, the biggest hurdle.
Sent from my Galaxy Nexus using Tapatalk 2
Hi all.
I've been interested in Reaver for mobile for a long time now, as it works perfectly on a pc. I managed to hack several routers with it (all of them are mine...), and it does give you the wifi password (pass key) in the end. So having this kind of tool on your mobile would be outstanding.
As for the time it takes - Reaver allows pausing attacks, and it stores the data collected so far locally, so it's possible to restart the attack later.
Don't know if you guys looked into this:
http://forum.xda-developers.com/showthread.php?t=1255203
I tried a different build of Backtrack a while ago, but I haven't got into the above one so far, but will try soon. Wonder if aircrack will work. It didn't before, since there was a problem with the drivers (HTC Sensation). If aircrack works, then reaver should also...
How about the micro android PC ?? and ras pi??
Hi guys,
Was just searching for reaver tool for mobiles, then I came across a micro android pc and that made me think of my ras pi....
has anyone tried running reaver on a ras pi ??
also, has anyone thought about reaver tool for a micro android PC ??
that sure wud be interesting.... and... for power, we can use OTG cable to power up micro PC and ras pi....
any thoughts??
tomer1981 said:
Hi all.
I've been interested in Reaver for mobile for a long time now, as it works perfectly on a pc. I managed to hack several routers with it (all of them are mine...), and it does give you the wifi password (pass key) in the end. So having this kind of tool on your mobile would be outstanding.
As for the time it takes - Reaver allows pausing attacks, and it stores the data collected so far locally, so it's possible to restart the attack later.
Don't know if you guys looked into this:
http://forum.xda-developers.com/showthread.php?t=1255203
I tried a different build of Backtrack a while ago, but I haven't got into the above one so far, but will try soon. Wonder if aircrack will work. It didn't before, since there was a problem with the drivers (HTC Sensation). If aircrack works, then reaver should also...
Click to expand...
Click to collapse
If you goto the link below in my signature.
It has black Ubuntu 12.04 with reaver and aircrack-ng for android.
You just need to know your screen size for your device and get drivers for your wifi or a external wireless card.
For some reason I stopped receiving updates on this thread, and thought it was dead.
I just wantd to mention that beyond the backtrack ports, there is also WPSPin.
I've been on the iphone for several months now (after the EVO) and am surprisingly disappointed with the lack of control (even when jailbroken). I just bought a Galaxy Tab 2 7", and will be getting back into Android shortly and look forward to messing around with backtrack.
reaver for Android
No problem do for android, but you must enabled wifi monitor mode
I tested it on my LG OPTIMUS 3D P920. Wash works well,reaver runs but does not work on my device(very slowly capturing packets and difficult to capture a beacons frame).
Install:
reaver.db --> in /sdcard/reaver/reaver.db
binaries reaver and wash from bin/ to somewhere where you can execute(you_path).
you must have enabled monitor mode!!!
example execution:
#/you_path/wash -i mon0 -C
or
#/you_path/reaver -i mon0 -b 00:00:00:0F:0F:0F -vv --dh-small
how one puts wlan0 in monitoring mode?
UPDATE have you compiled .ko? What ROM you are on? I'm on V30A (original 4.04)
lg optimus 3d
solnyshok said:
how one puts wlan0 in monitoring mode?
UPDATE have you compiled .ko? What ROM you are on? I'm on V30A (original 4.04)
Click to expand...
Click to collapse
I have V30A original too.
1) #sh airmon-ng start wlan0
OR
2)#iw dev wlan0 interface add mon0 type monitor
#ifconfig mon0 up
Both methods work on lg optimus 3d (V30a original driver),but you must have root.
unzip tools.zip,droped into /data and in terminal
$cd /data/tools
$export PATH=/data/tools:$PATH
$su
fann95 said:
I have V30A original too.
1) #sh airmon-ng start wlan0
OR
2)#iw dev wlan0 interface add mon0 type monitor
#ifconfig mon0 up
Both methods work on lg optimus 3d (V30a original driver),but you must have root.
tools.zip also includes new versions reaver and wash (compeled with new lib supplicant and last pcap lib +libnl-2)
very well captures the packets, but I did not fully test had, little WiFi points around with enabled wps
Click to expand...
Click to collapse
Thank you for quick reply @fann95. Do you mean that there is no need to compile kernel module for Optimus 3d, because original wifi driver is enough?
monitor mode
solnyshok said:
Thank you for quick reply @fann95. Do you mean that there is no need to compile kernel module for Optimus 3d, because original wifi driver is enough?
Click to expand...
Click to collapse
Yes. SE Xperia Mini,LG P920,Sony Xperia GO and other devices with wl12xx drivers no need to compile kernel module or instal addtional software
you can check $ iw list
and see what modes are supported by your driver
my port reaver for wl1271 chip (tested on lg optimus 3d with original ICS 4.0.4 (30a-EUR-XX) )
View attachment reaver_for_LGP920.zip
do not forget to disconnect all active WiFi connection (delete saved point) before using.
start without "-i mon0" option, to automatically activate the monitor mode (need root)
example:
$su
#reaver -b 00:11:22:33:44:55 -vv
can someone post a guide how to use reaver in android icecream sandwich smartphone?
all we need is the tools.zip file and the reaver.zip file and a terminal emulator??
eDIT: i did it but my card is not compatible and unable to work in monitor mode :/
I looking for someone with a guide to test reaver on my android.
thanks in advance!:good:

Running apps

Not sure if this is strictly 'development', but it turns out the nexus Q with debugging enabled can run pretty much anything. So far I've only tested the doubleTwist alarm clock and firefox, but it works! (Admittedly, navigation is slow, but still, it's nice to see that Google was open with this)
how are you controlling the apps?
Well right now I'm just feeding it xy coordinates from a computer, but I'm considering trying to rig something up for wireless communication...if I feel motivated enough.
Nice! If i can run things like netflix and a web browser i will definitely pick one up.
shodutta92 said:
Not sure if this is strictly 'development', but it turns out the nexus Q with debugging enabled can run pretty much anything. So far I've only tested the doubleTwist alarm clock and firefox, but it works! (Admittedly, navigation is slow, but still, it's nice to see that Google was open with this)
Click to expand...
Click to collapse
Pandora would be nice with this. How are you running the apps? What if we could have an app that would directly communicate to the Nexus Q and just push the running app to it? Just brainstorming ideas
1. I have actually done some web surfing using firefox, and it works (although its not very easy right now)
2. Netflix streaming in fact does work, although I haven't really tested for video quality at the moment.
3. I can try pandora at some point during the week. Unfortunately, I don't currently have access to speakers for it, so I haven't tested any audio yet.
4. I'm running the app by sideloading apks using adb and then running adb shell to start the app.
5. I was considering writing a service that would allow me to send some commands from an android phone...but somebody may have done that already (there's an app on the play store called Tablet Remote that I may try) so I may just give that a go.
I just got my Nexus Q so I'm definitely interested in development. If you need any testers feel free to hit me up!
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
anyone know how to get windows to recognize the nexus q when you put it in debugging mode (so I can use adb)
shodutta92 said:
1. I have actually done some web surfing using firefox, and it works (although its not very easy right now)
5. I was considering writing a service that would allow me to send some commands from an android phone...but somebody may have done that already (there's an app on the play store called Tablet Remote that I may try) so I may just give that a go.
Click to expand...
Click to collapse
I've had similar experiences, side loading works just fine and all the apps start up. I looked into this tablet remote, and it seems like it would work too, but I hate the idea of Bluetooth pairing.
In the spirit of this device, I suppose the "right" way to do this would be to forward commands through a server. The receiver service running on the device end with a remote on the client end.
The limitation of the Tablet Remote is that it would require all of the apps to be started via ADB. I'm thinking of making a simple interface that starts some of the apps you would want to run (Pandora, Crackle, Netflix, etc).
I've actually developed a little app that I'll post here in a day or two. Its an app that starts a custom web server that runs in the background. I have a few commands running on it now that list the installed packages and to launch a package. Now I'm working on adding support for intents.
The idea is that you just need to load this one app through ADB (and any other apps you need installed). After that, you just go to the URL of the Q to control it.
Some commands that work now, where xxx.xxx.xxx.xxx is the IP address of the Q:
http://xxx.xxx.xxx.xxx:8081 - shows home page with a list of supported commands
http://xxx.xxx.xxx.xxx:8081/listpackages - shows a list of installed packages, each with a hyperlink to launch that package by clicking on it
http://xxx.xxx.xxx.xxx:8081/launch?package=com.xxxx.xxx - will launch a particular package
So at this point, I'm not sure how to do touch or keyboard input. Has anyone tried a usb hub to a mini usb adapter, and plugging in a USB mouse and keyboard. I guess you can't do bluetooth devices since you need something to select the action to actually do the pairing.
-Gregg Reno
nwadams said:
anyone know how to get windows to recognize the nexus q when you put it in debugging mode (so I can use adb)
Click to expand...
Click to collapse
nwadams - I had to edit the android_winusb.inf file manually. Put this in both the [Google.NTx86] and [Google.NTamd64] sections. I'm not sure if you need that &REV_0216 at the end or not. Then I manually had windows install the driver, and pointed it to the android-sdk\extras\google\usb_driver folder.
; Nexus Q
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_2C10&REV_0216
greno1 said:
nwadams - I had to edit the android_winusb.inf file manually. Put this in both the [Google.NTx86] and [Google.NTamd64] sections. I'm not sure if you need that &REV_0216 at the end or not. Then I manually had windows install the driver, and pointed it to the android-sdk\extras\google\usb_driver folder.
; Nexus Q
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_2C10&REV_0216
Click to expand...
Click to collapse
thanks man. worked like a charm.
Yeah I was actually going to try something along the web server route. We'll see: I won't have access to a Q until thursday
I've experimented with bluetooth pairing (Magic Mouse) but I couldn't get the pairing to actually complete, and logcat was rather unhelpful with that one.
Also, how're you handling starting apps where the activity needs to be specified? I've found that ones that don't handle the Launcher intent or w/e don't really start properly unless I give it the activity name manually.
I just uploaded my test app and started another thread "Juice Receiver". I figured that would probably need a thread of it's own to report problems or request features.
The background service should autostart since I created a broadcast receiver to start the service. In the manifest, I set this for the broadcast receiver: action android:name="android.intent.action.BOOT_COMPLETED"
greno1 said:
nwadams - I had to edit the android_winusb.inf file manually. Put this in both the [Google.NTx86] and [Google.NTamd64] sections. I'm not sure if you need that &REV_0216 at the end or not. Then I manually had windows install the driver, and pointed it to the android-sdk\extras\google\usb_driver folder.
; Nexus Q
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_2C10&REV_0216
Click to expand...
Click to collapse
I use linux, and i can detect the device, but it says under device number, ????????????? and no permissions as well. i try to adb shell it, no permissions. Anyone have any ideas on how to fix? Really want to start working on this bad boy.
FadedLite said:
I use linux, and i can detect the device, but it says under device number, ????????????? and no permissions as well. i try to adb shell it, no permissions. Anyone have any ideas on how to fix? Really want to start working on this bad boy.
Click to expand...
Click to collapse
sudo adb start-server
Or go on source.android.com and follow the directions for the adb permissions section and add a line for the Q info you can get from lsusb
How exactly did you send it x, y coordinates? I got the netflix apk up and running on it: https://plus.google.com/110462891087801857205/posts/Ufu6hT8GX9i
Obviously useless without some sort of input. I noticed that someone got a HID mouse working with it though.
Also to note: this was not rooted, just did a normal adb install with an apk.
kentoe said:
How exactly did you send it x, y coordinates?
Click to expand...
Click to collapse
I used MonkeyRunner (you can look it up on the android developers website.
shodutta92 said:
I used MonkeyRunner (you can look it up on the android developers website.
Click to expand...
Click to collapse
Cool, thanks.
I actually got passed the login page for netflix, just gotta somehow figure out how to press the movie to initiate streaming something.
I actually just eyeballed the screen and guessed where to press until I got a movie to play. Not precise, but good enough for testing.

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