Root from 2016 MacBook Pro? - Shield Android TV Q&A, Help & Troubleshooting

Hey all,
Has anyone been able to successfully root from a MacBook Pro 2016 with USB Type C ports? Having problem getting adb to list my Shield. This is on:
2016 Macbook Pro w/ macOS Sierra 10.12.3
WAWPI USB 3.0 A Male to A Male Cable
Apple USB-C to USB Adapter
Android Debug Bridge version 1.0.36 (Revision 84e3321d5db3-android)
System Information -> USB shows Shield but adb devices does not. I was able to connect with adb connect <IP> but not USB. I've seen various threads pointing to a possible issue with Mac USB Type C/Thunderbolt 3 ports.
Any help would be appreciated.
EDIT: adb command works with about mentioned cable and adapter. The real issue is fastboot. It constantly freezes/crashes macOS. I think my Mac was in a funky state preventing adb command from listing devices. Unfortunately, this still prevents me from performing a complete root from this macbook. I was able to complete root with another macbook with USB ports. So does anyone have a fix or workaround for fastboot other than running a VM or bootcamp?
EDIT2: In case anyone is following this thread... There's an open bug for this and a fix is in QA. New release coming.

Thanks for this post.. I was confused about what the issue was.

Related

[Q] Galaxy S4 USB OTG Ethernet?

Hi all,
Can anyone with a USB to Ethernet adapter please test if this works with the Galaxy S4 using an OTG USB cable? I have read it works with the Nexus 7 but would love to know if it works with the Galaxy S4. Would be quite handy to hook up the galaxy directly to my 100mb internet.
Thank you.
S4 tested with two USB Ethernet modules. unsuccessfully
delucz said:
Hi all,
Can anyone with a USB to Ethernet adapter please test if this works with the Galaxy S4 using an OTG USB cable? I have read it works with the Nexus 7 but would love to know if it works with the Galaxy S4. Would be quite handy to hook up the galaxy directly to my 100mb internet.
Thank you.
Click to expand...
Click to collapse
I tried with some generic USB - 10/100 Ethernet (its working with Android 4.0.1 in Point of View TV Stick) and Delock Gigabit USB (not testetd with Android previously) but not working with S4. I check OTG cable connecting USB flash drive and it works with S4, same with USB mouse and USB keyboard. This Ethernet 10/100 USB module after connecting to S4 lights up so its powered but S4 does not looks like recognize it. i have to small knowledge or S4 hasn.t some drivers.
RMPL said:
I tried with some generic USB - 10/100 Ethernet (its working with Android 4.0.1 in Point of View TV Stick) and Delock Gigabit USB (not testetd with Android previously) but not working with S4. I check OTG cable connecting USB flash drive and it works with S4, same with USB mouse and USB keyboard. This Ethernet 10/100 USB module after connecting to S4 lights up so its powered but S4 does not looks like recognize it. i have to small knowledge or S4 hasn.t some drivers.
Click to expand...
Click to collapse
Thanks for trying! A few people have tried with no luck unfortunately. Hopefully someone can create a loadable module that contains ethernet drivers for the S4!
Cheers
RMPL said:
I tried with some generic USB - 10/100 Ethernet (its working with Android 4.0.1 in Point of View TV Stick) and Delock Gigabit USB (not testetd with Android previously) but not working with S4. I check OTG cable connecting USB flash drive and it works with S4, same with USB mouse and USB keyboard. This Ethernet 10/100 USB module after connecting to S4 lights up so its powered but S4 does not looks like recognize it. i have to small knowledge or S4 hasn.t some drivers.
Click to expand...
Click to collapse
Have you tried this with a powered USB hub?
Just tested - negative result.
NZtechfreak said:
Have you tried this with a powered USB hub?
Click to expand...
Click to collapse
S4 connected via OTG to extrenally powered USB HUB. Ethernet USB adapter connected to Hub. Nothing happens on S4.
To verify connect USB Flash drive to USB hub and its sucessfully detected and browsed on S4 (so hub itself working).
Tested USB Ethernets:
USB Ethernet 10/100 "JP1081B"
USB Ethernet 10/100/1000 "Delock 61730"
RMPL said:
S4 connected via OTG to extrenally powered USB HUB. Ethernet USB adapter connected to Hub. Nothing happens on S4.
To verify connect USB Flash drive to USB hub and its sucessfully detected and browsed on S4 (so hub itself working).
Tested USB Ethernets:
USB Ethernet 10/100 "JP1081B"
USB Ethernet 10/100/1000 "Delock 61730"
Click to expand...
Click to collapse
I thought that would likely be the result, but always worth checking non-working USB OTG stuff with a powered hub.
I have a couple of different ethernet adapters, driverless ones that are confirmed working with the few Android devices (tablets) that have been reported to work with ethernet connections, will post results when I get them (I expect them not to work).
NZtechfreak said:
I thought that would likely be the result, but always worth checking non-working USB OTG stuff with a powered hub.
I have a couple of different ethernet adapters, driverless ones that are confirmed working with the few Android devices (tablets) that have been reported to work with ethernet connections, will post results when I get them (I expect them not to work).
Click to expand...
Click to collapse
Fingers crossed but I have my doubts too unfortunately.
Any updates to this interesting thread?
I too would like to get this going with my new Samsung S4, mine is via Sprint, if that matters.
I have tried to OTG cable w/ a USB and StickMount Pro, that works.
BTW, my S4 is rooted via the CF Auto Root method.
has anyone actually found a driver for this?
Possible???
Is this in any way possible?? I am planning to buy one adapter for my s4. Is it worth buying??
I would be interested. The device recognizes it but does not work with this program Ethernet Google Play.
Forgive my language I'm using Google Translator Spanish to English.
I saw a post to introduce myself.
Thank you
Thank you All. Following is how I got LAN Ethernet to work on my Galaxy S4. Some of these steps are very risky and may wipe out all your phone data or make your phone unusable. So I am not recommending you to try it. I am only sharing what I did in my phone to make it work with OTG Ethernet. Also the procedures are very device and version specific. Even same model phones with different Build version and Android version may give different results.
My Devices:
Samsung Galaxy S4 Model Number: SGH-I337M
Android version: 5.0.1 (Lollipop) SDK 21
CPU Architecture: ARMv7
Build Fingerprint: jfltevl/jfltecan
BobJGear OTG Ethernet
ASIX AX88772A Chipset
Following is the Summary of the key steps and troubleshooting. You can search online to find the APKs and Installers or to know more details.
Install Droid Info App to get details of the phone CPU
Install Kingo ROOT App on the Phone and Root the Galaxy S4
Install Odin3 v3.13.1 on Windows 10 PC
Use Odin3 to install “Team Win Recovery Project” (TWRP) on the phone. TWRP was necessary to install XPOSED Framework. The specific version of TWRK that I could install is TWRP 3.1.1.0. I installed it using the file with following file name:
“twrp-3.1.1-0-jfltecan.img.tar”.
The other newer version of TWRP did not work. It kept going back to default recovery menu. Also uncheck “Auto Reboot” in the Odin Options and manually reboot phone to Recovery mode after installing TWRP from Odin.
If you get following message when trying to start TWRP in Recovery mode, Just wait few minutes and TWRP will start.
RECOVERY IS NOT SEANDROID ENFORING
SET WARRANT BIT RECOVERY
During TWRP initial setup Swipe to “allow modification” to System partition
Install XPOSED Installer using apk with following file name. This is an App used to install XPOSED Framework.
"Xposed-Installer-3.0-Alpha-4-2016.10.16.apk"
After installing it, it showed warning that it is not compatible with my phone and android version. Leave the XPOSED Installer installed. Use alternate method to install XPOSED Framework using TWRP.
Install XPOSED Framework using TWRP. I installed the XPOSED Framework version 87.1. That is the only version that worked. I used zip file with following file name
“xposed-v87.1-samsung-5.0.x-sdk21-by-dkcldark-arm.zip”
The other versions of XPOSED Framework was giving following errors.
The installed firmware is not deodexed!
This version of Xposed requires deodexed firmware!
After installing XPOSED Framework, open XPOSED Installer and install Hack Connectivity Service
Install Terminal Emulator.
Sometimes after reboot, the Terminal Emulator shows blank screen. Wait for a minute or so and it should show the usual prompt where you can enter the commands.
Install SuperSU Free v2.79
I installed Ethernet Droid apk, but it did not work.
I installed Busybox but it was not necessary to be used
Usual Steps
Once everything is installed, following are the usual steps to connect to Ethernet.
Connect the Ethernet OTG to Smartphone.
Disable Wifi
Enable Wifi Hack in “Hack Connectivity Service”
Start Terminal Emulator and run following commands. This needs to be done every time we switch from Wifi to Ethernet.
Code:
su
netcfg eth0 dhcp
ip rule add from all lookup main pref 99
ndc resolver setnetdns eth0 "" 8.8.8.8 8.8.4.4
exit
If I don't use the above "ip rule" command, I can only ping to router using Superuser and Internet does not work.
Also previously it was not recognizing website names while pinging. the "ndc resolver" command resolved that issue.
Once above commands are executed, I can use LAN Internet on my Galaxy S4.
Update on Nov 19, 2019:
For the Usual Steps, the Terminal Emulator Commands after "su" line can be saved in a file in the local storage of the phone with name such as "lan.sh" then following commands can be used to execute the file.
su
cd sdcard
sh lan.sh
Video Demonstration
The demonstration of my final results is in my following video. It also has an example of Simultaneous Charging while using OTG Adapter.
https://youtu.be/RtLV6qpMm6o

[Q] How do I use the Mojo for development with ADB?

I'm a game developer, and I just picked up the MOJO because I'd like to use it for development using ADB and the standard android tools. I bought a Male to Male USB cable to hook it up to my computer, but it doesn't seem like that works the same way that the micro USB works on Android phones and Ouya.
Has anyone gotten the Android working for development? If I had to guess, it sounds like you have to root it, then enable ADB over wifi? I found instructions to root it, but are there any instructions for getting ADB over WiFi (or the ethernet plug) running on it?
Thank you for your help!
I haven't debugged on my mojo yet, so I"m not 100%
Do you have developer options enabled?
I would look at Nvidia info, ie:
http://docs.nvidia.com/tegra/index.html#Getting_Started.html
The shield is simular.
https://developer.nvidia.com/getting-started-shield
You've got to ADB over the network. Find the assigned IP address of MOJO in the Settings>About MOJO>Status page.
Then go to your PC and type adb connect xxx.xxx.xxx.xxx into a command line to connect to MOJO - you can then ADB to your heart's content.

Android phone to root shield?

I dont have a laptop to move near my Shield Tv to use adb. Could all the same be done on my Android phone using Terminal Emulator, or does that over-complicate rooting the Shield Tv?
No help yet....?
Well first you'd have to have adb/fastboot and you'd have to have driver's to connect to device.
I fly racing drones and have seen a clean flight app for configuring flight controller changes. That involves connecting your quad flight controller to your Android device with a USB cable. Typically you would use a PC with drivers very similar an operation to running fastboot to root your phone. I think it comes down to which device is running command prompt can connect with its drivers to the Target device
You should post in other forums like in adb development forum or Nexus up forum.
I suppose I could try it for the yucks... But, since your the One asking? Why don't you just download a Terminal Editor (From the PlayStore), which should allow you to use (e.g. emulate), ADB at the least of it. Not sure if it'll be of much help to you at the Fastboot Level though.
TBQH: I'm not sure this is the best plan of attack. As you would almost have to be very meticulous here, as to not accidentally flash your Phablet with the Shield TV Firmware, or vise-versa.
*EDIT*
Just outta ****s, and giggles I decided to just try it out to see how far One could get with it. As it turns out, you can at least get into the Fastboot System like this. However since I don't have anything like Fastboot, or ADB as a callable executable (From Emulated Android Terminal), I can't issue any Fastboot commands durr.
It could be interesting to look Into if there isn't an Android OS version of Fastboot that could be ran from the Terminal. But, my guess is there wouldn't be. As 99.9% of Devices out there don't require you to be patched into a USB Host just to get into Fastboot / Update / Recovery Mode. And for the times when you do need a PC there is bespoke Software like Kies, or Odin out there to make that task simpler.
*EDIT II*
A quick shufti on ATE, and Fastboot brought up this Gem.
http://www.nairaland.com/2351005/how-set-up-run-fastboot
Of course the usual caveats about being Rooted, (The Device from which you plan to root from. e.g. your Phablet), apply.
I've tried this with my Nexus 6p. 7.1.1 Pure Nexus ROM. ElementalX​ Kernel. Rooted. I used the included USB C to USB A cable and was never able to get the Shield to show up under adb devices.
I ended up just splicing two broken micro USB cables. You just cut and match the colors. I didn't even seal the wires. No solder, no electrical tape. No heat shrink. Just made sure none of the splices were touching and it worked just fine on my laptop connected to the shield TV 2017. These were USB 2.0 cables. But make sure they're data cables and you shouldn't have any issues.
I personally tried many versions of adb for Android and could never get the Shield to show up. So I just gave up and make the USB A male to male cable and did it the right way.
Sent from my Pixel+XL using Tapatalk

Cannot find device with adb (Ubuntu based OS, Dell notebook)

Hi,
adb doesn't detect my ZUK Z1 device.
I followed all instructions and tutorials I could find. I Enabled USB debugging and OEM unlocking, added vendor ID in
Code:
~/.android/adb_usb.ini
(My Galaxy Tab 3 is listed by adb when connected, btw.)
I would first like to know that it's not a hardware / OS / driver issue.
What I find odd is that it doesn't even charge when connected to the PC. Does this indicate a more general problem? (Charging only works with a power adapter with ~2A output.)
PC is a DELL Latitude E6540 which is supposed to have 4 USB 3.0 ports.
I'm running Elementary OS which is Ubuntu 16.04 based. It seems that it's not officially supported by Dell.
The USB cable was the issue.
I replaced it and everything worked like charm.
I didn't think the cable was the problem because it still worked for charging.

Issues with Windows picking up STV as a device

Unable to pick up STV with USB-a to USB-a cable on 3 separate windows devices. After putting the STV into dev mode and enabling USB debugging, I put my cable in the furthest USB port and put the other end into my computer. No windows "connected device" noise is made, as well as no device resembling what could be the STV in device manager. I know that both the cable and the ports on the STV and computer work because I get the SMARTLINK device pop-up when disabling USB debugging. I can't even use the Nvdia provided drivers for the STV, because there is no device to apply the driver to. What is the problem here?
Side note: I am able to ADB into the STV via my local network (network debugging) and put it into fastboot, but then had nothing to do since I couldn't get the device to do anything over the network while in fastboot. This is now not working at all and I am not entirely sure why.
All help is very much appreciated and if you need any more information please just let me know.
Thanks!

Categories

Resources