yashsingh1/xdaforums huggingface dataset:
[Shield Android TV General] BenjiHansell:
been trying for hours

I've been reasonably competent at rooting my phones in the past but I just can't get this to work.

What's worked:

- I've unlocked the bootloader

- I've booted (not flashed) Steel01's TWRP.img

What hasn't worked:

- I've flashed SuperSU.zip (image attached) but when rebooting SuperSU isn't installed

Other things I've tried:

- following the OP instructions to the letter

- installing SuperSU from the Play Store ASWELL as flashing the .zip (just results in an error when opening the app (image attached))

- installing both the latest stable and beta SuperSU.zips

- reverting to v1.1 firmware and trying the whole process over again

What I've broken so far:

- ever since I first unlocked the bootloader (which comes with a factory data reset) the Shield controller won't connect wirelessly

Any ideas anyone? I'm new to adb and this device.

I REALLY want root, it turns out that Android TV is even more of a walled garden than I expected, though I do love the 10-foot interface.

EDIT:

I forgot to mention one curious thing, “adb push supersu240.zip /sdcard“ never worked for me so I has to transfer the .zip to an external SD card to access it from TWRP

EDIT2:

I've fixed the controller connection problem, that was just me being thick
[Shield Android TV General] aznmode:
Try "adb push supersu240.zip /sdcard/". I had the same issue until I added the forward slash at the end. I also flashed supersu V2.46 and not the beta or other versions.
[Shield Android TV General] BenjiHansell:
Thanks but it didn't work :( Good tip though, adding that slash did indeed get the file across but I still can't actually read the sdcard/ directory from TWRP. externalsd/ seems to be the only directory I can flash from.
[Shield Android TV General] aznmode:
Ahh you must have the 500gb version. I had the same problem till I used the TWRP version that Steel01 posted here. This version can read internal sd and is not upside down, and the standard usb supports usb mouse so no need for OTG cable.

http://xdaforums.com/showpost.php?p=61317646&postcount=85
[Shield Android TV General] BenjiHansell:
No I'm on 16 GB and I've been using Steel01's recovery (in fact that's my only recovery option because my OTG cable broke).

Thanks anyway
[Shield Android TV General] aznmode:
Gotcha. Try this then. In TWRP, go into the Mount section and make sure "system" is mounted.
[Shield Android TV General] BenjiHansell:
it's not, but clicking on it won't fill the check box :confused:
[Shield Android TV General] aznmode:
Your problems sound exactly like mine. First I couldn't adb push till I added the /. Then using the TWRP in the OP, I couldn't see my sdcard content nor could I mount the system (won't let me check the box). Till I used the TRWP for the Pro version. Long shot but can you try the Pro version? Other than that, maybe someone else can assist.
[Shield Android TV General] BenjiHansell:
the TWRP version which I'm using is "twrp-multirom-20150612-UNOFFICIAL-foster.img", is there another Pro version?
[Shield Android TV General] aznmode:
Wait so this whole time you've been using the multirom version?
[Shield Android TV General] BenjiHansell:
errrrr

---------- Post added at 09:33 PM ---------- Previous post was at 09:30 PM ----------

It's the same one you linked to I think, is there any other that will work without OTG?
[Shield Android TV General] aznmode:
Just to be clear. You were originally using the recovery.zip from the 1st post and that is the one you're having issue with?

---------- Post added at 02:38 PM ---------- Previous post was at 02:36 PM ----------

And yes the multirom is the pro version
[Shield Android TV General] BenjiHansell:
No I've been using the twrp-multirom-20150612-UNOFFICIAL-foster.img recovery all along because I don't have an OTG cable. Does it not work at all with 16 GB Shield?
[Shield Android TV General] aznmode:
That's the problem. You have to use the one in the 1st post for the 16gb model. Without an OTG cable I don't know how you can use it though.
[Shield Android TV General] BenjiHansell:
Tried with that one using TWRP shell commands from this page http://www.pocketables.com/2014/10/using-twrps-new-adb-interface.html and it looks like I've managed to brick the device, it boots to the loading animation but just keeps playing the animation indefinitely

No ADB access

Any way of getting into the recovery without ADB?
[Shield Android TV General] aznmode:
You can try putting it to booloader mode and reflash the stock img.

http://developer.download.nvidia.co...TV/Upgrade-1.2/HowTo-Flash-Recovery-Image.txt

https://developer.nvidia.com/gamewo...ELD ANDROID TV Recovery&tx=$additional,shield
[Shield Android TV General] BenjiHansell:
thank you thank you thank you :D

such a relief to see the recovery, I think I'll leave rooting for another day
[Shield Android TV General] aznmode:
Np. Just buy an OTG cable. They're cheap.
[Shield Android TV General] urisma:
Hi all. I've been watching this thread for a while now and recently received my shield tv pro, but ran into a problem where I can't get ADB to connect over USB no matter what I try. Here's a copy paste of my post about it from elsewhere:

I recently did a system restore and update to version 1.2, and no I absolutely, positively cannot get ADB to work. I had rooted and unlocked the bootloader, but the system restore re locked the bootloader (thanks for that, nVidia!) And after the system restore enabling ADB debugging works, but I can't get any of my computers to connect. The shield TV doesn't even appear under windows display manager (whereas it did before the update). I rooted with steel01's twrp and all but still have stock recovery installed

Anyone have any suggestions? I have already tried:

* Nvidia specific and universal ADB drivers (nvidia specific drivers worked to get ADB back when I was on update 1.0, now they dont)

* multiple micro USB cables

* multiple computers with multiple operating systems

* starting and restarting the adb server on my computer

* starting and restarting ADBD on device

* fast device reset

* full device reset

* connecting to adb itself via terminal emulator on the device itself (I get a no devices found error)

* rebooting via power button into bootloader menu (worked before factory reset, now it does not)

* rebooting to bootloader from terminal emulator on device (requires root)

* connecting to ADB via wifi (have to either set this up via USB ADB, which doesn't work, or I have to have root, which I dont)

I'm a wee bit desperate here. I have no idea if update 1.2 broke it or what. I'm thinking about RMAing it.
[Shield Android TV General] SkylerZio:
Can this get put in the guide up top please? This is pretty important to know about, as I myself came home from work tonight, after having spent my shift making a USB to OTG cable and excited to get the Android TV rooted, did not know about the long wait until 30 min had passed.

---------- Post added at 09:51 AM ---------- Previous post was at 09:47 AM ----------

I screwed up like this, and it was because I hadn't changed my PATH= to include the adb and fastboot programs. Maybe double check you are running them from the right directory? I didn't see this mentioned in the things your checked/tried list.
[Shield Android TV General] snnn:
I rooted my shield tv by rebuilding the rom images... It took me 10-20 hours. The generated system.img is broken because of missing some licensed binaries. Fortunately, the "boot.img"

works. I flashed boot.img into my box and got root privilege by

$ adb root
[Shield Android TV General] eman2001:
Thanks

Thankyou teletype, i just rooted my shield tv following your guide TWRP is upside down lol but i still managed to root it and running stock recovery :):good: it took me about an hour to download, run and figure out how to do everything and root this thing :)
[Shield Android TV General] Nekromantik:
This is the main issue with Android TV. For Recovery and Fastboot you need drivers loaded for controllers otherwise you have to buy keyboard/mouse.

I just ordered a air mouse just for this reason.
[Shield Android TV General] cdavi014:
TWRP not recognizing mouse through OTG cable

I wanted to know if anyone can help me out.

I have the 16GB model and have reached TWRP Recovery (with inverted screen) using the original version in the first post 'twrp-2.8.6.0-shieldtv-unofficial.img.'

Right now when I reach the TWRP Recovery screen, I unplug my micro-USB (attached for adb with host PC) and the plug in the OTG cable with my mouse connected to it. It is not recognized and nothing happens. Tried with my keyboard as well. Also tried with a different OTG cable. Nothing.

Is there something I missed?

Thanks in advance!
[Shield Android TV General] Steel01:
Use a recovery built specifically for the Shield TV, like my TWRP here.
[Shield Android TV General] machx1111:
I have little to no experience with USB OTG cable. I have a keyboard and mouse working through a USB hub. Can someone let me know - do I need a USB OTG to root? If so how do I connect this USB female adapter end to my computer? Do I also need a USB male to make connector to go from USB OTG to computer?

Thanks!
[Shield Android TV General] snnn:
Yes. You need a USB OTG mouse or keyboard. Normal usb mouse/keyboard won't work , so did your joysticks.

---------- Post added at 10:54 AM ---------- Previous post was at 10:50 AM ----------

We should compile a new customized TWRP for it, not the one for Shield tablet. I'll try it in this weekend.
[Shield Android TV General] lartomar2002:
Noob question, could I not d/l TWRP Manager to my phone and then side load it to the Nvidia shield console from a sdcard? Then install TWRP using the app? Just curious.
[Shield Android TV General] aniel300:
just rooted pro version

hi guys i just rooted the pro version that i got few days ago, i was following this guide but i was using TWRP provided here http://xdaforums.com/android-tv/nvi...very-twrp-2-8-6-0-shield-tv-variants-t3140926, i got everything set up but it was not detecting internal memory (hdd), i ended up installing default supersu that came on this TWRP , then update thought play store, boom happy ending. by the way got adb working by using nvidia windows drivers. good luck
[Shield Android TV General] machx1111:
[MENTION=4366123]snnn[/MENTION] So do I need a USB male to male cable? How do I plug micro USB to USB female to my PC?

Thanks!
[Shield Android TV General] Steel01:
And one of these days, people might realize it's already done...

http://xdaforums.com/android-tv/nvi...very-twrp-2-8-6-0-shield-tv-variants-t3140926

Code:

https://github.com/CM-Shield/android_device_nvidia_foster/tree/cm-12.1-mrom (need kernel and vendor trees from same org)

Help is welcome. Do note that wireless gamepad support is unlikely due to all the extra wireless programs and libs that would be needed and the image is already too big to fit on the recovery partition.

[MENTION=5097551]aniel300[/MENTION]: Please report as a bug in that thread. Last I tried, my twrp build mounted the pro model partitions correctly.

[MENTION=5477594]machx1111[/MENTION]: If you use my twrp as linked above, you can use the normal USB ports, no otg cable necessary.
[Shield Android TV General] machx1111:
[MENTION=1416222]Steel01[/MENTION] thank you! Hoping to try this shortly.
[Shield Android TV General] cdavi014:
Thank you! That worked.
[Shield Android TV General] Nekromantik:
On my 16GB the second TWRP with right way around UI does not work with my wireless mouse using OTG.

Only upside down one works.
[Shield Android TV General] Steel01:
Please report that in the thread for that version. Also see known problem three. Try unplugging and replugging the receiver after it boots and see if the mouse starts working. And try using a normal USB port instead of the otg one.
[Shield Android TV General] S197Mike:
ok so i can't get my twrp to see my sd card, I've tried 2 different ones, if i change directory or storage, says sdcard 0mb and won't select it

got it to work with the "twrp-multirom-20150624-UNOFFICIAL-foster". saw my sd card right away, screen was right side up. rooted very quickly. though i clicked the restart device from the screen where it installs supersu, and it froze. so i restarted my device, and bam! supersu installed! man that was some ride trying to figure this all out.

not much experience doing android rooting, but I've stayed up all night to get it to work and it was a success. Time to go to f--ing bed lol
[Shield Android TV General] ericvh:
Just an update - I haven't cleaned this up much, but I've had folks ask me for a howto, so I put together something minimal: https://github.com/ericvh/nvidia-shield-chroot
[Shield Android TV General] machx1111:
Really long time for fastboot oem unlock

I noticed someone else commented that the fastboot oem unlock" step takes a long time. It has been over 2 hours now and mine is still going. Should I be worried? Any suggestions of what to do? Let it run or what?

Right now it is just the cursor blinking, it has not returned control of the prompt to me. Picture attached
[Shield Android TV General] farmerbb:
It's normal for the Shield Pro to take that long to unlock.
[Shield Android TV General] machx1111:
It failed :(

Any ideas why this would happen?

(attachment)
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
[IMG="SONIC OPEN KANG PROJECT"]http://i.imgur.com/jnNWPGy.png[/IMG]​

SONIC OPEN KANG PROJECT ​

A premium quality Android OS from Sonic-Developers​

DISCLAIMER:

FEATURES :

CHANGE -LOG:

CREDITS :

SOURCE:

INSTALLATION :

DOWNLOADS :

http://xdaforums.com/donatetome.php?u=4284308

XDA:DevDB Information

SONIC OPEN KANG PROJECT- A Premium Quality , ROM for the OEM Cross Device Development

Contributors

arpanbag1996, Adi Shakthi

Source Code: https://github.com/SOKP/

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.1.x

ROM Firmware Required: Rooted with Unlocked Boot-loader & Latest Custom recovery Installed.

Based On: AOSP

Version Information

Status: Testing

Current Stable Version: SOKP-L-5.1.1-LMY48J-

Stable Release Date: 2015-08-24

Created 2015-05-31

Last Updated 2015-08-24
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Xposed:

Xposed fully compatible with the new build of sokp.

Don't flash the xposed_v71_sdk_22 by romracer. Use this one instead:

Xposed sokp edition by [MENTION=6297150]treborbr[/MENTION]: http://d-h.st/GDp3

Tested on condor, titan & sprout!

Credits to rovo89 and arter97

Enjoy!
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Screenshots added

For screenshots tap on "Screenshots" tab
[Android One (First-Generation) Cross-Device Origin] sagar27691:
Besd on cm 12.1 beta 3 or 4?

Screenshots?
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Beta4 trees are not released yet. So, all the ROMs will be based on Beta3

"Screenshots" tab
[Android One (First-Generation) Cross-Device Origin] sagar27691:
Ok... Thinking about to try... Good job... Sprout is the very lucky device on the earth to have dev like u, kunal, and the god varun
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
Awesome Arpan!
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Thanx for your help & support! :good:
[Android One (First-Generation) Cross-Device Origin] siddu1294:
I'm going to try now, I will inform you if I will be found any bugs...
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Surely.
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Nice rom, I will be stick to it...no bugs found yet..and is it official rom?
[Android One (First-Generation) Cross-Device Origin] sagar27691:
bro see the name... it is already mentioned that unofficial in title
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Hello bro, its been initially shown that 'OFFICIAL' name in androidfilehost download page...but now he modified title...thanks..

---------- Post added at 08:42 AM ---------- Previous post was at 08:32 AM ----------

Its awesome rom, are you going to keep developing this rom for sprout devices...? Many thanks...
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
This ROM never had "official" tag.

Yes. I'm going to keep developing this ROM
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Updated!

Changelog:

1.. Added FM Radio

2. Used updated SOKP sources

Enjoy!
[Android One (First-Generation) Cross-Device Origin] siddu1294:
I have observed that the quick pull drawer icon of 'screen timeout' is not working well, problem is when i select 5minutes its set to 2minutes & 10 minutes goes to 5 minutes... Thanks for this wonderful rom
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Awesome customized options...thanks, keep it on
[Android One (First-Generation) Cross-Device Origin] DayzWalker:
Use GAPPS from http://www.androidrootz.com/2015/03/download-android-51x-lollipop-pa-gapps.html Pick the Pico Uni, Never had problem with sign into Google account.
[Android One (First-Generation) Cross-Device Origin] tandob:
how to use dolby digital???

realy nice work. nice update................................
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Sorry bro, it is also not working...
[Android One (First-Generation) Cross-Device Origin] Rino Appus:
Notification led settings not getting works... :(
[Android One (First-Generation) Cross-Device Origin] npcmaniac:
AWESOME

Man, after trying AOSP based roms for longer than a day I really felt the difference between CM and AOSP. And the work you have done is really awesome. Downloaded, flashed and played with the rom for a day and now I'm AOSP lover :P , really appreciate your wonderful work. :good::good::good: wish I had more than 8 thanks per day :P :laugh:
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Which gapps you have flashed? Help me...
[Android One (First-Generation) Cross-Device Origin] npcmaniac:
https://www.androidfilehost.com/?fid=24052804347756927

this one...
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Yes, got solution, I have changed APN settings...

Sent from my Spice Mi-498
[Android One (First-Generation) Cross-Device Origin] kewalj2646:
Awesome Work Waiting for Way to Official:fingers-crossed:
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Headsup notification feature to be more customized... Irritating while downloading files from UC browsers...

Sent from my Spice Mi-498
[Android One (First-Generation) Cross-Device Origin] RizqiN:
Tried this rom, loving it, really, except that it makes my phone really hot (by hot I mean the temperature ;) )

I didn't notice it before cuz my old device gets really hot easily (k860, and I got sprout just recently)

And I couldn't add normal menu softbutton on navbar (not the one thats always on the side and could auto hide/show)

Also, if the quicksettings exceeds a screen (3 rows), it won't open the advanced settings of the button, like when you tap on the mobile data icon, it should open an advanced setting of it on the pulldown, right? (where you could enable or disable it) but it just closes right ahead (goes up), showing my notifications instead. If it has become like this, I had to reduce it to 3 rows again, AND open the task manager from the pulldown, and turn it back to quicksettings, then it'll work normally again.

Updating layers manager gives an error when installing on playstore, had to delete it first from system apps, and reboot. That's to be expected though.

I don't mind the minor bugs, but please fix the heat problem cuz not only it drains battery, it also makes me worry about the phone, haha. I was thinking of using this rom for daily use, but damn it's really hot and battery drains faster (and takes a little bit longer to charge, too, not sure if it's just me)
[Android One (First-Generation) Cross-Device Origin] Adi Shakthi:
[MENTION=6200498]arpanbag1996[/MENTION]

Am glad to see SOKP for android one .. If you are willing to make this build official then contact me via xda PM keeping Device sources ready with you .

kind regards

Adi
[Android One (First-Generation) Cross-Device Origin] akhilnarang:
Cool :D

But the current version of antipiracy can be easily cracked :3 new version can't probably (at least not as easily)
[Android One (First-Generation) Cross-Device Origin] siddu1294:
I'm very happy to see this new build of SOKP, my favorite ROM, I have a question, did you give any extra customizations to headsup notifications? Thank you..
[Android One (First-Generation) Cross-Device Origin] Adi Shakthi:
Can you explain what extra stuffs we need compared to 8.1 ....may be it help developers to implement
[Android One (First-Generation) Cross-Device Origin] siddu1294:
In last build I have faced this issue: when ever I was downloading files from UC mini browser ,heads up downloading notification comes every second..there was no option for off heads up feature...
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Flashed, no headsup issues, thanks...

Sent from my Spice Mi-498
[Android One (First-Generation) Cross-Device Origin] siddu1294:
RRO Layers plugins missing...

Sent from my Spice Mi-498
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Install any layers (rro) theme from play store
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Updated!

Changelog:

1. Fixed network issue

2. Fixed offline charging bug

3. Selinux set to permissive by default

Download: https://www.androidfilehost.com/?fid=24052804347791300
[Android One (First-Generation) Cross-Device Origin] Adi Shakthi:
Official update

UPDATE NOTE

Version No : SOKP-L-5.1.1-LMY48I-R9.0

AOSP Version: Android L5.1.1 R9

Links

Change- Log

Downloads

Regards

Adi
[Android One (First-Generation) Cross-Device Origin] tandob:
dolby plus audio effect service stopped.
[Android One (First-Generation) Cross-Device Origin] zeus.lny:
Flashed the latest build... it shows that play services is not supported by your device,and hence unable to use apps and services.
[Android One (First-Generation) Cross-Device Origin] rustybathtub:
Must be a gapps issue. What gapps did you flash?
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Check Selinux status
[Android One (First-Generation) Cross-Device Origin] Shuvo_bd:
Used last built for a while. Pretty snappy.

Issues i noted:

Device doesnt stick with default 200 DPI after reboot IMO. I noticed, after a reboot, Icons become big and looks kinda ugly. Changing icons size from launcher setting solved the issue.

Custom wallpaper doesnt work without reboot. Every time after applying wallpaper device needs to be rebooted for the wallpaper to work.

Sim switching doesnt work. Can switch data connection from sim 1 to sim 2. Always reverts back to sim 1. OLD bug for sprout. Now fixed on several roms. Noticed Akhil has his own fix may be.
[Android One (First-Generation) Cross-Device Origin] siddu1294:
Wallpaper change not working without reboot.

Sent from my Spice Mi-498
[Android One (First-Generation) Cross-Device Origin] zeus.lny:
Yes....the issue was with gapps....reflashed it on update...and the issue was resolved..smooth and snappy ROM..good work
[Android One (First-Generation) Cross-Device Origin] deathstalker279:
[REQ]

Please make a build for sprout 8 too _/\_:D
[Android One (First-Generation) Cross-Device Origin] rohitsonone:
I am using latest build thank you very much great ROM.This rom has some character,it doesn't feel same old,by the way boot animation is awesome so is the sokp control...still there are few common bugs nothing specific to the ROM itself.If you could add double tap 2 wake feature to stock kernel itself it would be awesome. Keep going buddy.
[Android One (First-Generation) Cross-Device Origin] arpanbag1996:
Stock kernel should remain almost pure. Custom kernels are there...