ASUS OnHub - can it be rooted? - OnHub Discussion and Development

Has anyone had any success rooting the ASUS brand of OnHub? I only see year-old how to's on the TP-LINK version, and they are different machines and frankly I'm not sure if that method even works on the TP-Link any longer. Thanks!
Why do I want to root it?
1. Use the speaker - install shairport, and now you've got an airplay speaker. (Could make it work for google play probably, too.)
2. Add VPN server so I can connect to my network from away.
3. SSH server
4. Repurpose amazon dash without running another server
5. Enable the USB port! USB Drive anyone?
6. Play with the LED - Blink Blink Blink (twitter notifier?)
7. ???

I would also like to know this. The guides I see for root and developer mode are all for the TPlink.

Asus OnHub - Exploitee.rs
www.exploitee.rs

jschwalbe said:
Has anyone had any success rooting the ASUS brand of OnHub? I only see year-old how to's on the TP-LINK version, and they are different machines and frankly I'm not sure if that method even works on the TP-Link any longer. Thanks!
Why do I want to root it?
1. Use the speaker - install shairport, and now you've got an airplay speaker. (Could make it work for google play probably, too.)
2. Add VPN server so I can connect to my network from away.
3. SSH server
4. Repurpose amazon dash without running another server
5. Enable the USB port! USB Drive anyone?
6. Play with the LED - Blink Blink Blink (twitter notifier?)
7. ???
Click to expand...
Click to collapse
Asus OnHub - Exploitee.rs
www.exploitee.rs

parkerlreed said:
I would also like to know this. The guides I see for root and developer mode are all for the TPlink.
Click to expand...
Click to collapse
Asus OnHub - Exploitee.rs
www.exploitee.rs

I am following the guide in the link.
I am able to get Serial to work:
sudo cu -s 115200 -l /dev/tty.usbserial-14440
Password:
Connected.
�Uncompressing Linux... done, booting the kernel.
However When I try to set dev mode, it blinks red, but never blinks purple, only blue. Maybe my usb keyboard does not work with it. So I can never get a prompt to log in.

I was able to root and install OpenWRT on my google asus onhub
Links below also work for Asus version (they have two firmwares one for each).
- https://openwrt.org/inbox/toh/google/onhub_tp-link_tgr1900
- https://forum.openwrt.org/t/onhub-tp-link-tgr1900-future-support/17899
I was missing a step to get into dev mode. I can now see boot up message in serial console, and access via ssh.

Related

[Q] Can you hook the A7 directly to a PC?

I've seen little about this, but there are suggestions that you should be able to go USB A-A and connect this device to a PC. Has anyone tried? What experiences did you get?
Amazon's value pack (which i didn't get) comes with an A-A cable and mentions hooking to a PC, but that's nearly the only place I've come across that info.
Anyone?
Greenaar, what Amazon pack are you talking about? I could not find anything on their site about a kit that comes with the cable. I got mine from TigerDirect and that did not include a cable.
On another note, does anyone know how to debug an app on this device? Can it be done through the Bluetooth channel? WiFi maybe?
Thanks!
Pedronis said:
On another note, does anyone know how to debug an app on this device? Can it be done through the Bluetooth channel? WiFi maybe?
Thanks!
Click to expand...
Click to collapse
I can't get the emulator to boot the a7's kernel, but you can setup adb to listen over wifi.
There's instructions on a wiki here: http://elocitya7.wikispaces.com/
On the A7, open up a terminal and do:
Code:
su
setprop service.adb.tcp.port 2222
stop adbd
start adbd
On the host computer use:
Code:
adb connect 192.168.0.151:2222
About the OP's USB question, I'm not sure but I'd be cautious. The A7 supplies power out the USB port and so does the PC.
greenaar said:
I've seen little about this, but there are suggestions that you should be able to go USB A-A and connect this device to a PC. Has anyone tried? What experiences did you get?
Amazon's value pack (which i didn't get) comes with an A-A cable and mentions hooking to a PC, but that's nearly the only place I've come across that info.
Anyone?
Click to expand...
Click to collapse
Assuming that an A-A cable would allow me to connect my A7 to my PC, I went to Fry's assuming it'd be an easy purchase. They only had USB 3.0 A-A cables and those aren't bacwards compatible. Needless to say, I was forced to buy a large USB kit for about $20. Got home, plugged in various iteration of the A-A cables that came in the kit. Turns out you can't hook it up that way.
Other users have used Dexter's Ad-hoc patch to communicate between the A7 & a PC. There's another wifi app that allows you to communicate using a local network, but I forgot what its called.
tjc2k4 said:
I can't get the emulator to boot the a7's kernel, but you can setup adb to listen over wifi.
There's instructions on a wiki here: http elocitya7 dot wikispaces dot com
On the A7, open up a terminal and do:
Code:
su
setprop service.adb.tcp.port 2222
stop adbd
start adbd
On the host computer use:
Code:
adb connect 192.168.0.151:2222
Click to expand...
Click to collapse
Thanks! I will give that a shot...

[WebTop] USB to Ethernet is OK

Hi,
WebTop (with full ubuntu mod) works fine with Trendnet TU2-ET100 (asix chipset).
I have just added these 2 lines in "/osh/etc/network/interfaces" for DHCP autoconfiguration :
auto usbeth0
iface usbeth0 inet dhcp
Doum
Nice to know. Ethernet might come in handy for a lot of people docking as their PCs.
I guess any other USB ethernet card that works with a normal Linux PC should work here.
Hello there,
First I would like to say that I'm glad that in the last few weeks i finally managed to let my heavy 15.4' 9 cell Dell Laptop on the Office and bring home the Atrix + LapDock everyday including weekends and holidays
I have what i need on my LapDock + FullUbuntu: gedit, gnome-terminal, OpenOffice, PDF readers, Psi+ (jabber client with PGP Encryption), GNUPG, Mumble Voice Chat, Firefox (with client SSL certificates ) and OpenVPN.
Everything else, like e-mail, music and video players i'll prefer running on the Android
So, i want to buy this USB -> Ethernet adapter to make it even better!
I thought buying the TrendNet but it seems somewhat bigger than other adapters that use the same "chipset" (ASIC). I also find those adapters cheaper than the TrendNet one:
http://www.ebay.com/dsc/i.html?_nkw...=0&_trksid=p3286.c0.m270.l1313&LH_TitleDesc=1
I think i will buy this one:
http://www.ebay.com/itm/NIB-REAL-US...ltDomain_0&hash=item56471dfaff#ht_2136wt_1026
It seems great but now i'm not entirely sure what's the chipset on the TrendNet: AX88772A or AX88772B?
The one i'm buying uses the AX88772B.
The difference seems to be very small, the drivers seems to be the same and the "B" version supports checksum offloading and it's intended for Low Power consumption. Here's the detailed specs of both chips:
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=97;71;101
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=105;71;101
So, what do you guys think?
Did you get it yet? If you did, how does it work?
blingmaster said:
Did you get it yet? If you did, how does it work?
Click to expand...
Click to collapse
I bought this one from Deal Extreme:
http://www.dealextreme.com/p/usb-2-0-10-100mbps-rj45-lan-ethernet-network-adapter-dongle-34691
It's really cheap, small and uses the AX88772B chipset.
But i'm not able to test yet, simply because it's not here yet
I bought using standard Air Mail that takes something like 20 days to get here in Brazil... And when it does arrive here it's going to take 10 more days (or even more) for Brazilian (Fuc***) Customs to release it for Brazilian Postal Service to finally deliver it... This sucks.
But well, i promise that as soon as I get it, i will test and put the results here.
Merry Christmas!
Post resurrection alert!
I tried this with an Airlink 101 today. I didn't add the extra lines listed in the OP, but I did start the dhcp client manually and it got an address and webtop was happy. Does anyone know if the android portion of the phone is able to use the wired Ethernet connection? From my quick test it didn't seem like it did.
I have a much slimmer Cisco USB to Ethernet adapter that I plan to try. I used the Airlink because it was lying around on my desk doing nothing.
And with all the webtop talk starting up, this may be of interest to others.
AX88772B not working
Well, mine did not work
I bougth this one from DealExtreme:
http://www.dealextreme.com/p/usb-2-0...r-dongle-34691
As i said before, it uses the AX88772B chipset.
I have confirmed that and installed the driver for my MacBookPro and it's working just fine.
I have downloaded the drivers from:
http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=105;71;101
It's noticeable that there is also a driver for Android but it's the source code, not the compiled kernel module.
So i think i'll will need to get the Atrix kernel source compile the driver with the headers and prey to work...
Maybe it's something with my ROM... I have updated to the latest Motorola official 2.3.6 build for Brazil.
Could you guys tell me what's the output of these two linux commands, as soon as you plug the USB device ( the last 10 lines or so):
$ dmesg
and
$ lsmod
Victor.
This is awesome.
Can't wait until they bring the webtop to CM7. It was a loss when I upgraded, but the smoothness and capabilities of a CM7 rom are worth the loss of the webtop... for now.
It's good to know that when it get's working again I can use a USB to Ethernet with the Ubuntu mod.
Thanks!
thenicnet said:
Can't wait until they bring the webtop to CM7. It was a loss when I upgraded, but the smoothness and capabilities of a CM7 rom are worth the loss of the webtop... for now.
It's good to know that when it get's working again I can use a USB to Ethernet with the Ubuntu mod.
Thanks!
Click to expand...
Click to collapse
Don't hold ur breath.....cm9 is underway don't think webtop is gonne come yo cm7 but u can always mirror with lapdock
root, make changes, then unroot
Would like to be able to use a usb ethernet adapater on my unaltered Atrix running 2.3.4. If I were to root, make the changes to the two lines and then unroot again, would the changes remain?
In Post 6 above there is mention of the usb ethernet adapter only working under webtop. Is there a way to make it work on the phone itself as well, i.e., for the phone browser / market / email / etc.
Hello.
When it connected to my HDDOck - eth0 not detected. In the webtop (I webtop2sd) lights icon - an unknown usb connection ...
Any advices to solve this issue ..
i have this issue also, connecting usb broadband detects it as cd-rom drive. i have zte mf627 broadband kit. ill attached screens later. dmesg result show port but has no device name.
gradd said:
i have this issue also, connecting usb broadband detects it as cd-rom drive. i have zte mf627 broadband kit. ill attached screens later. dmesg result show port but has no device name.
Click to expand...
Click to collapse
A nearly 2 yr old dead thread just had to be brought back to the surface? esp with your results being the same as the previous member's results?

[Q] How to open ports on rooted Nook ST?

Hi all:
I would like to use an App to control my Logitech Squeezeboxes via my rooted Nook. However, the App does not find my Squeezeboxes on my network. I did some testing and found the problem:
On my rooted Nook, the ports 9000 tcp and 3483 tcp/udp seem not to be open (as seen w/ a port scanner).
However, these ports are used to find & communicate w/ the squeezeboxes.
-> How can I get these ports opened on my Nook??
(Note: This is a Nook internal problem - it is not the router / firewall blocking these....)
Thanks for your help.
Heiner
P.S. I would have posted in the android dev section, but as a newbie, I am not allowed to.....
xdaolli said:
Hi all:
I would like to use an App to control my Logitech Squeezeboxes via my rooted Nook. However, the App does not find my Squeezeboxes on my network. I did some testing and found the problem:
On my rooted Nook, the ports 9000 tcp and 3483 tcp/udp seem not to be open (as seen w/ a port scanner).
However, these ports are used to find & communicate w/ the squeezeboxes.
-> How can I get these ports opened on my Nook??
(Note: This is a Nook internal problem - it is not the router / firewall blocking these....)
Thanks for your help.
Heiner
P.S. I would have posted in the android dev section, but as a newbie, I am not allowed to.....
Click to expand...
Click to collapse
Does nobody have an answer to this?
Any help would be greatly appreciated....
Thanks, Heiner
Huh?
A port scanner looking at the open ports on the Nook is not going to show much except 5555 for ADB.
Are you saying that you can't connect to a 9000 port on a Logitech whatever-it-is from a Nook?
Are you using an app from Logitech or are you writing one?
Renate NST said:
Huh?
A port scanner looking at the open ports on the Nook is not going to show much except 5555 for ADB.
Are you saying that you can't connect to a 9000 port on a Logitech whatever-it-is from a Nook?
Are you using an app from Logitech or are you writing one?
Click to expand...
Click to collapse
Hi. Thanks for your feedback.
And yes: I can't connect to a 9000 port from the Nook.
(Also, I am using a Logitech App, which is not working.
There is a similar App form a 3rd party, which works. But I would like to use the Logitech one)
However, I don't understand your comment 'looking at the open port....'. Why should I see only 5555?
I also so 21 for FTP, but not the ports I need.
Again, I am a newbi, but that is exactly what I want:
Looking at port 9000 from the nook. To my understanding, that needs to be open on the Nook - and it isn't.
(On the other end - a Synology NAS, where the Logitech Squeezeboxserver is running, I can check the relevant ports and they are open.)
Any ideas?
Heiner
If the 3rd party app works, almost certainly your NST is permitting traffic out on port 9000.
What Renata means is this: you are on a PC trying to connect to 9000 on the NST. Nothing is listening on 9000, so there is no connection. (I am interested that ftp is listening, and wonder if that might not be a side effect of how it is rooted or an installed app.)
The test you need to do - and it was probably successful but not visible to you, from the success of the 3rd party app - is to issue commands using port 9000 FROM the NST itself.
The simplest way:
connect via ADB
su
from the ADB shell, try
telnet a.b.c.d 9000
where a.b.c.d is your squeeze / synology box.
If you get an answer, then you have reached it, and the problem is with teh Synology software.
I run a DS 409 at the house, and the Android client for the box, well, it is not very good.

Usb port

Does mojo have a micro usb port for debugging mode/adb? Also what about official usb drivers for connecting to a windows PC?
Sent from my SM-N900V using XDA Premium 4 mobile app
It doesn't have a micro otg USB port. It has 2 full sized USB ports. a single USB 2.0 and single USB 3.0 port. I'm going to buy a full sized male to male USB cable and try to see if it will work with debugging/adb with that.
dheku-00 said:
It doesn't have a micro otg USB port. It has 2 full sized USB ports. a single USB 2.0 and single USB 3.0 port. I'm going to buy a full sized male to male USB cable and try to see if it will work with debugging/adb with that.
Click to expand...
Click to collapse
You don't need to use USB - connect to M.O.J.O. over the network instead.
(1) <PC> Download Android sdk from Android website
(2) <Mojo> connect ethernet or connect wifi to get a ip address xxx.xxx.xxx.xxx
(3)<Mojo> Settings -> About M.O.J.O. --> Build number ==> click 8 times, Developer options will appear in Settings
(4) <Mojo> Settings -> Enable USB debugging
(5) <PC> Execute in command line==> adb.exe connect xxx.xxx.xxx.xxx
(6) <PC> type adb shell logcat to get debug message
Okay, thank you! That works a lot better for my setup then stringing a usb cable across the room anyways.
alexp1289 said:
Does mojo have a micro usb port for debugging mode/adb? Also what about official usb drivers for connecting to a windows PC?
Sent from my SM-N900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It has a micro USB. Right under the hdmi input! So small you missed it!
It accepts up to 128gb cards, must be FAT 32 format.
I believe that is MicroSD above the HDMI.
ExtremeRyno said:
I believe that is MicroSD above the HDMI.
Click to expand...
Click to collapse
You are correct.
Mad Catz Rich said:
You don't need to use USB - connect to M.O.J.O. over the network instead.
(1) <PC> Download Android sdk from Android website
(2) <Mojo> connect ethernet or connect wifi to get a ip address xxx.xxx.xxx.xxx
(3)<Mojo> Settings -> About M.O.J.O. --> Build number ==> click 8 times, Developer options will appear in Settings
(4) <Mojo> Settings -> Enable USB debugging
(5) <PC> Execute in command line==> adb.exe connect xxx.xxx.xxx.xxx
(6) <PC> type adb shell logcat to get debug message
Click to expand...
Click to collapse
That's awesome! I was wondering were the dev options were.
Thanks for the info!
gwaldo said:
That's awesome! I was wondering were the dev options were.
Thanks for the info!
Click to expand...
Click to collapse
As a game dev, maybe you have an answer for me, LimeLight + Mojo ? Limelight is an apk being developed by the xda community in the shield forum, it allows pc games to be streamed to android (aside from shield)
jjprichards said:
As a game dev, maybe you have an answer for me, LimeLight + Mojo ? Limelight is an apk being developed by the xda community in the shield forum, it allows pc games to be streamed to android (aside from shield)
Click to expand...
Click to collapse
Hard to say, I don't see why it wouldn't... I'll have to download it, but don't have an NVIDIA PC card.
http://forum.xda-developers.com/showthread.php?t=2505510
Bought A/A USB Cable, but M.O.J.O wouldn't be recognized from PC, tried USB2 and USB3.
Over wireless ADB "adb shell logcat" and "adb reboot bootloader" is working, but loosing connection while reboot. Also no USB detection.
Anyone else played around a bit? I whish i could root it^^
saenta said:
Bought A/A USB Cable, but M.O.J.O wouldn't be recognized from PC, tried USB2 and USB3.
Over wireless ADB "adb shell logcat" and "adb reboot bootloader" is working, but loosing connection while reboot. Also no USB detection.
Anyone else played around a bit? I whish i could root it^^
Click to expand...
Click to collapse
That was expected, that ADB over USB don't work.
I have tried to "adb reboot boot loader", bot the device seems only to reboot to OS.
"adb reboot recovery" loads till the lying Droid with exclamation mark.
One thing, I tinker around is, what's the use of the microUSB port in the battery hole of the controller. Maybe we can use the connection to enter the recovery while booting ?
I have the M.O.J.O since today. I had many Androids (Smartphones/Tablets/TV-Boxes and Sticks and even an OUYA) but this device is from software side a holy overpriced piece of crap.
MAD CATZ, please "leak" some more informations to get root access and other basics. Bring the Play Store in a working condition. Even cheap chinese Androids have more APP access.
I've bought it to use it as a Mediacenter, XBMC is working and Watchever too, but to control the Box from my Smartphone or PC i need root, also to hide the buttons and use apps in fullscreen, for mediacenter its obligatory to have root...
hopefully Mad Catz itself will help us with it, looks like they give pretty good support.
saenta said:
I've bought it to use it as a Mediacenter, XBMC is working and Watchever too, but to control the Box from my Smartphone or PC i need root, also to hide the buttons and use apps in fullscreen, for mediacenter its obligatory to have root...
hopefully Mad Catz itself will help us with it, looks like they give pretty good support.
Click to expand...
Click to collapse
Try asking the live online support guy found on their website.
He's been super helpful for me thus far.
Mad Catz Rich said:
You don't need to use USB - connect to M.O.J.O. over the network instead.
(1) <PC> Download Android sdk from Android website
(2) <Mojo> connect ethernet or connect wifi to get a ip address xxx.xxx.xxx.xxx
(3)<Mojo> Settings -> About M.O.J.O. --> Build number ==> click 8 times, Developer options will appear in Settings
(4) <Mojo> Settings -> Enable USB debugging
(5) <PC> Execute in command line==> adb.exe connect xxx.xxx.xxx.xxx
(6) <PC> type adb shell logcat to get debug message
Click to expand...
Click to collapse
Hi,
Do you know how to connect via adb while the mojo is in fastboot or from the recovery option "apply update from ADB"?
I've tried using USB & eth0 and both not working.. is there a trick to it?
saenta said:
Bought A/A USB Cable, but M.O.J.O wouldn't be recognized from PC, tried USB2 and USB3.
Over wireless ADB "adb shell logcat" and "adb reboot bootloader" is working, but loosing connection while reboot. Also no USB detection.
Anyone else played around a bit? I whish i could root it^^
Click to expand...
Click to collapse
Theirs another method to rooting that doesn't require the male to male cable
Geohot released an app called towelroot v1 which roots it for u just run the app on the mojo and click a few buttons.
Proceed to towelroot.com on the mojo web browser and click the image on the right side of the screen that looks like an upside down y this will download the app to the mojo proceed to install and click the big button in the centre, you now are rooted my friend
I can't remember how it took ages I had massive issues with the male to male method initially. Had to mess around with some terminal commands before my PC would recognise the mojo. but it was so long ago now I can't remember them.
Edit: Just saw how old OP was imagine hes rooted by now

USB Problem connecting Drone RC Controllers... (Mavic, Anafi)

Hi !
The last days i have been trying to get DJI GO (and Freeflight 6 for Parrot) to run on the Oculus Go. (DJI Mavic & Parrot Anafi Control Apps)
As you all know there is a way to let Android apps run in a kind of “cinematic mode” so it will be visible as a 3D Window and controllable by Oculus Go Virtual Controller.
(That is via Oculus TV sideloading)
So that worked at some point. (i can detail that later if things are working)
But now as i have an older DJI GO 4 running and the latest Freeflight 6 running there is a USB Problem of generic nature as it happens on DJI GO 4, Cuva, Freeflight 6, AR.Pro, … --> All apps that should interface to drone remote Controller via USB. (edited)
So its not an App-Level Problem but a general Oculus GO USB thing i fear.
(I have been using all kinds of OTG devices just fine until now, but the Drone Controllers should work as host devices like a PC or Mac)
If i have ADB enabled the connection of Mavic RC or Anafi RC is simply ignored (well its charging but thats all).
If i disable ADB there is a message that the “connected USB device wants ro access folders and files”. I can press “accept/allow” and the Dialog goes away. BUT that Dialog comes again after some seconds.
Drone App will never “see” the RC.
I guess when i plug in the RC, the Oculus GO wants to present itself as MTP device.
But thats sure not what the RC wants.
Do you have any info on how a “normal” SMARTphone operates with the RC ? USB mode or whatever ? If i would learn that i may learn how the Oculus Go can be convinced to work in the same way…
Greetings,
Ender
Also thought this
enderffx said:
Hi !
The last days i have been trying to get DJI GO (and Freeflight 6 for Parrot) to run on the Oculus Go. (DJI Mavic & Parrot Anafi Control Apps)
As you all know there is a way to let Android apps run in a kind of “cinematic mode” so it will be visible as a 3D Window and controllable by Oculus Go Virtual Controller.
(That is via Oculus TV sideloading)
So that worked at some point. (i can detail that later if things are working)
But now as i have an older DJI GO 4 running and the latest Freeflight 6 running there is a USB Problem of generic nature as it happens on DJI GO 4, Cuva, Freeflight 6, AR.Pro, … --> All apps that should interface to drone remote Controller via USB. (edited)
So its not an App-Level Problem but a general Oculus GO USB thing i fear.
(I have been using all kinds of OTG devices just fine until now, but the Drone Controllers should work as host devices like a PC or Mac)
If i have ADB enabled the connection of Mavic RC or Anafi RC is simply ignored (well its charging but thats all).
If i disable ADB there is a message that the “connected USB device wants ro access folders and files”. I can press “accept/allow” and the Dialog goes away. BUT that Dialog comes again after some seconds.
Drone App will never “see” the RC.
I guess when i plug in the RC, the Oculus GO wants to present itself as MTP device.
But thats sure not what the RC wants.
Do you have any info on how a “normal” SMARTphone operates with the RC ? USB mode or whatever ? If i would learn that i may learn how the Oculus Go can be convinced to work in the same way…
Greetings,
Ender
Click to expand...
Click to collapse
I have had the same thoughts about running freeflight on the go.... I don't exactly know how the app interfaces with the host device, so not much help there, but if you get it going, or I can help you out in some way, let me know! That would be awesome if you could get it going.
Hi,
i have not yet got it working, actually i did nothing more except waiting for the major FW update of the GO that should include UTB OTG Storage support.
I hope that will open up FF6 as well.
On another note FF6 works *perfectly* on a Mirage Solo Daydream Standalone Headset.
They really cared for a goos 2D to 3D Legacy App conversion !
Greetings,
Ender
Well, FF6 just had a major update also. May be worth looking at.
Has anyone looked into this lately?
Hi all,
Any news on this one?
Please see this thread. I am trying to run DJI fly on the Oculus Go.
https://mavicpilots.com/threads/dji-fly-app-on-oculus-go.77954/#post-882843
No success so far connecting the drone.
Any help will be appreciated.
Thanks a lot

Categories

Resources