yashsingh1/xdaforums huggingface dataset:
[Google Chromecast] ddggttff3:
Yes, if by corrupt data you mean some small colored squares by each other, that means the bootloader downgraded successfully. Like I said, just try booting the root jumpdrive, and it should re-install the ROM and you will be good to go.
[Google Chromecast] BlueCop:
Yes this did it! thanks so much!

sorry I was confused by what you meant. many thanks.
[Google Chromecast] ddggttff3:
Here comes some questions:

Are you using an official Teensy 2.0 device, or off-brand?

What are you using to flash the HEX file?

As for the LED flashing with the HEX file for root, it will ONLY flash when it is being booted on the chromecast. it will never flash when plugged into another device.
[Google Chromecast] dongioia:
AT90usb162

I'm asking for at90usb162 (teensy) support, too (or compiling instructions).

Please
[Google Chromecast] dave7802:
Its Official and i am using the Official Loader. Tried on MAC and Windows 7 + 8.1 Also Ubuntu

But the Explanation to the LED is most helpful.

Teensy 2.0 LED will only flash when its accessing its memory (Reading / writing) (In other words doing its bit)

There is a possibility that i am not releasing the reset button fast enough after it being powered on and the LED going red.

I will re-review this again in a hour then Thank you.

Least it gives me a area to focus on and not re-do the whole thing over and over and over again to get the same result.

Thank you for your info

Ill post back with my findings :)
[Google Chromecast] LecheConCarnie:
OTG cable arrived. First of two Chromecasts has been rooted. Second will be done when I get home tonight.

A big thank you to fail0verflow, GTVHacker, and Team-Eureka for working on this. I thought we would never see rooted Chromecasts again.
[Google Chromecast] mando41:
I believe i am using an official Teensy 2.0 as well got mine at Adafruit. I thought the Teensy LED was suppose to be on when you plug it in to power. I understand that it should not be flashing but at least on like in the video. Mine does not turn on at all. I'm using the Teensy loader from the link posted in the op. Thanks for your help.
[Google Chromecast] Restorer:
Teensy 2.0 (from Oregon) and OTG cable (from Hong Kong) both arrived together - 8 days, not at all bad.

I used a CC with 4310**** S/N bought in the US but used for some time here in UK and running 17977 firmware.

Now, I

think

I have been successful but two things worry me:

1. The flash from the USB drive took under 3 min instead of the 5+ I was expecting

2. There were no messages at all on the TV screen when I plugged it in but when I rebooted it from the app I did get the Team Eureka boot animation.

Also, I can now access the Configuration pages which look fine and it tells me under System Status that my ROM is up to date.

Is there some definitive test I can do to make sure everything did go well. And any ideas why I didn't get any messages? It says in the OP if there are no messages, to unplug the CC and try again? Try what again? Plugging in the Chromecast or flashing from the USB drive or re-doing all scratch?
[Google Chromecast] mchinand:
The LED on my Teensy 2 did not come one when I plugged it into power after flashing the Hubcap file to it. I was still able to root my CC with it. Also, as I mentioned in a previous post, the LED on my Teensy didn't remain on after it finished either (I just went by the change in the CC LED).
[Google Chromecast] LecheConCarnie:
While you were rooting your device, was it plugged into your TV? If not, then you wouldn't see the message.

One test would be to load the Chromecast app on your phone or find out what the IP is of your Chromecast device and use a web browser to connect to that IP while on a system on the same network. If you get a Team Eureka page, then you have rooted your device. You could also SSH to the device or use ADB commands I believe.
[Google Chromecast] Roamin64:
Unless someone modifies the source code to have it use less DATA memory, and switch that to PROGRAM memory it will not run on anything smaller than a 32u4. It uses 2301 bytes of DATA memory , while the 32u2 only has 1024 and the 16u2 / usb162 have only 512 bytes each.

The code is far too complex for me to attempt saving bytes.
[Google Chromecast] Restorer:
Haha, I see now. Thanks - when following these kind of instructions I tend to have my head down with blinkers on and not really thinking too much about what's actually going on and when - a bad trait I know lol.

Yep, as I said I can get all the pages and doing a dumpstate log seems to confirm all is well. Still puzzled as to why it was all over in a couple of minutes - maybe something to do with having an SSD?

Anyway, big thanks to the team for all their hard work :good:.
[Google Chromecast] LecheConCarnie:
The process took around 2 minutes for me.
[Google Chromecast] Hawkeye3:
No clue how I did it because none of the described LED states really seemed to match what was happening but while messing with it (pressing button, plugging/unplugging Teensy & Flash drive) I suddenly noticed a Team Eureka Flash Screen and after rebooting the device, it had the Team Eureka Boot animation, so one of the flash operations must've gone through.

Thanks for the hard work guys! Another Chromecast freed from its shackles!
[Google Chromecast] akarol:
Rooted both of my CCs. However, one of them seemed to have retained the previous information such as name, etc. Is this normal?
[Google Chromecast] dave7802:
So after everything am able to get a led light on my teenys 2.0

This appears solid when I boot the CC an release the reset button.

But nothing happens after this.....

Plugging in the USB an booting appears to do nothing other than a failed boot.

CC - LED is red, Seems once it booted into recovery it will not come out.

Teensy 2.0 is Solid Yellow (LED)

I have left it like this for 30 minutes still no change.

Tried many times this is as far as i can get.

Turned CC off and just plugged into the FLashDrive with image loaded on, an i get a Failed to boot,

Is there any way possible to see if they Downgrading of the bootloader worked?
[Google Chromecast] ddggttff3:
If anyone is interested in the writeup for this exploit.

https://fail0verflow.com/blog/2014/hubcap-chromecast-root-pt1.html
[Google Chromecast] ddggttff3:
Once the teensy boots, you don't unplug the chromecast, you only unplug the teensy so you can plug in the jumpdrive to do the downgrade. Re-Watch the video in OP to see the method you are suppose to follow.
[Google Chromecast] mikmitch:
Thanks so much for this! It explains the curious dmesg output when the teensy is plugged:

[47341.399824] hub 3-2:1.0: USB hub found
[47341.405922] hub 3-2:1.0: config failed, hub has too many ports! (err -19)
[Google Chromecast] rydako:
Nvm bad cables hahaha. Flashing now :D

Edit: Wow that was quick, swear it took less than a minute, but the web panel loads so it must have worked.

Thanks a lot for all the work that was put into this! :)

"Trevor Preston (Kyonz) hails from the unlikely country of New Zealand"

Wow, didn't expect that!
[Google Chromecast] savage500:
I followed the instructions.

"Plug in the Teensy to a USB OTG Cable, and plug it into the Chromecast while holding down the reset button.

The Teensy light should start flashing. If not, try the process again. After 30 seconds, it should go solid orange and the Chromecast LED sould turn white."

however, my CC never turns white. Anyone has encountered the same problem?
[Google Chromecast] wberube:
Teensy required? Alternative?

Hi! I was just wondering if the Teensy was absolutely required... I own a Raspberry Pi, lots of laptops and desktops but still no Teensy... Possible to find an alternative?

Thanks,

William
[Google Chromecast] SomeGuy2008:
Yes! assuming you have a newer CC.

~SG
[Google Chromecast] wberube:
Okay! Thanks for reply! I'll try it as soon as I have free time! I got a Chromecast with serial beginning by 4207x
[Google Chromecast] Biohead:
Great work guys. After the recent price drop in the UK, I picked up a 2nd. Now debating whether I should root both or have 1 rooted and 1 standard.

Quick point to note even though it was fresh out the box, I had to use the 16664 hex in order to get it to work. It turned out my UK device had 15098 out the box. That's with a 4108 serial.
[Google Chromecast] sdujolo:
Thanks I have root now :) Is it possible to make firmware that remember WiFi? I have to configure it every time I change network.
[Google Chromecast] gustavomondron:
Congratulations, awesome work!
[Google Chromecast] BurnOmatic:
tamcore,

i seen your post on the hubcap chromecast rooting thread, and i had the same problem you were describing, and i could not root, i am on a 3B chromecast, but same exact issue , when you try to root you get that error screen saying there was a problem booting or something like that, well, the thing is the program teensey from here https://www.pjrc.com/teensy/loader_vista.html if you take a look at the following text it says,

"If HalfKay is running, you should see this. If not, simply make sure your Teensy board is connected, and press the pushbutton to run HalfKay. The Teensy Loader will quickly recognize it. "

[IMG="teensey runing HalfKay"]https://www.pjrc.com/teensy/vista_loader_4.png[/IMG]

you see the little arrows the grey one and a green one, well in order to flash the teensey with the appropriate hex file they both have to be lit up green like the following image,

[IMG="both arrows lit up and running HalfKay"]https://www.pjrc.com/teensy/vista_loader_5.png[/IMG]

if you dont see both arrows green press the little button onthe teensey ,once those two arrows light up windows will install drivers for that device "teensey++" or "teensey" if that's what you have. then you load up the hex file your gonna use i personally used plusplus16664.hex because i was on build (17977) "i updated to that one" , ok so once that hex is loaded then you see the little arrow pointing down hit that so it programs the hex file to the teensey, once its programed then you can try the procedure again and i bet it will work :D .

also for me my teensey arrows and HalfKay would not light up in the "teensey program" if i had the powered OTG connected in the same power chain connected to it, even if i pressed the little button on the teensey to activate it, i had to use just the regular usb that connects to the teensey and connect it to the pc usb port to program the teensey then once i programmed it, then i could connect it back to the Powered OTG and do the root, hopefully this will help you out .
[Google Chromecast] BluPix:
Thanks, rooted using chinese $5 arduino pro micro with ATmega32U4, and $3 chinese OTG cable with soldered power (red and black) pins from another usb cable to made Y cable, everything laying on my desk and in drawer, 0 € spend.

Only problem when arduino part was complete, first 2GB usb flash drive didn't do anything, after 15 minutes red led still glow. I used another 8GB usb flash drive and it worked.
[Google Chromecast] luchtgitaar:
Nice. Do you have a link to the arduino board? Does this one work? I am a complete n00b.

http://www.ebay.nl/itm/Leonardo-Pro...LH_DefaultDomain_0&hash=item4853468c6a&_uhb=1
[Google Chromecast] brizey:
Crap...somehow missed the mini vs. micro usb for the teensy. Thought mini usb was pretty much dead? Is everyone using adapters? I am not finding mini usb powered otg cables anywhere (not surprising given that the main purpose is OTG for phones which have used micro for years now).

Guess a trip to Fry's is in order. Luckily, I have a mini usb cable from an old camera...but i still use the camera and its the only mini cable I have.
[Google Chromecast] ClearD:
Yep, used an adapter. Actually, just a mini to USB data Cable.
[Google Chromecast] BluPix:
It looks like my, but i'm not sure if it's 16MHz model.

...and i used external programmer, i can't confirm if rooting process will work with arduino leonardo bootloader.
[Google Chromecast] Restorer:
OTG cable

is

micro USB - it's for plugging into the Chromecast :good:.
[Google Chromecast] ClearD:
Chromecast is micro. Teensy is mini, not micro. You'll need a micro OTG cable but a mini USB cable for the teensy.
[Google Chromecast] brizey:
Yeah, my derp. For some reason I got it in my head that i would need to have both a usb drive and the teensy plugged in together.

Will be doing this later today.
[Google Chromecast] sandeep.kodeti:
So what are features by rooting chrome cast..just asking;):
[Google Chromecast] :
Nice job guys! Maybe one day we will find a way that doesn't cost more money and extra devices!
[Google Chromecast] brizey:
...and done including installing the latest Eureka ROM.

Thanks to everyone involved.
[Google Chromecast] titusseid:
????

Did you install the Eureka rom after the hubcap-flashcast? After that doing the hubcap-flashcat it made my usb drive unusable on a PC. but when hooking the CC up to a tv i see the Eureka logo come up and then ask me to setup the CC.

I just don't want Google to do anything crazy like update my chromecast and i loose root. Thanks in advance.
[Google Chromecast] .kaputnik.:
Soldered up an OTG cable, dusted off my old Teensy 2 from the PSGroove days, and flashed my CC on build 12940 using the out of the box .hex. Worked like a charm :)
[Google Chromecast] DroidRootz:
how do you get the HEX file onto the Teensy 2++ ?

* on a Mac using Arduino getting this error:

Arduino: 1.0.5 (Mac OS X), Board: "Teensy++ 2.0"

core.a(main.cpp.o): In function `main':

---/Chromecast ROOT/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy/main.cpp:6: undefined reference to `setup'

---/Chromecast ROOT/Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy/main.cpp:8: undefined reference to `loop'

-

I would like to try to get this working but I can't get past the first step.

UPDATE: I think I got the HEX onto the Teensy ok - but what can I use on a Mac to image the .bin onto the flash drive ?
[Google Chromecast] Asphyx:
You need to download the Teensy Loader software. You don't need Arduino programmer

https://www.pjrc.com/teensy/tutorial.html

To use Teensy with Arduino you should download this installer for Teensyduino

https://www.pjrc.com/teensy/td_download.html

Not sure what you need to burn the image for the USB on a Mac I used Win32Imager and maybe there is a Mac version of that.

---------- Post added at 10:56 PM ---------- Previous post was at 10:55 PM ----------

No you are done no need to install anything else as Eureka will update itself whenever an update is available.

---------- Post added at 10:57 PM ---------- Previous post was at 10:56 PM ----------

http://xdaforums.com/showthread.php?t=2621784
[Google Chromecast] wizzkidd:
The timing of this exploit was perfect in line with the CC price drop in the UK. Tescos and Amazon had the CC available for £18. My guess is the word got out or the demand spiked and unfortunately the CC is now back at £30 again. Fortunately I purchased a few at £18 during the price drop. I'm just waiting for my delivery now.

I have a suspicion that there will shortly be in large influx of pre-rooted CC's on the bay in the upcoming weeks.
[Google Chromecast] DroidRootz:
anyone know how to image the .bin file to a flash drive on a Mac ?

I tried dd in terminal but no luck

UPDATE: dd command in terminal worked - had to be sudo dd

for any other Mac users stuck - this worked to image the hubcap-flashcast.bin -

sudo dd if=YOUR LOCATION OF/hubcap-flashcast.bin of=/dev/disk2 (device number of your flash drive - mine was disk2)

in terminal type "sudo dd if=" then drag and drop the hubcap-flashcast.bin and then add "of=/dev/disk" with the number of the flash drive (needs to be unmounted to work)

more info about doing this here - http://www.thelinuxdaily.com/2010/01/writing-images-to-disk-on-mac-osx-with-dd/
[Google Chromecast] KrisPerry:
Same
[Google Chromecast] moura232:
rooted chromecast

Hello,

I have a chromecast serial number start with 4315xxx . It's possible to rooted with this new way ?

thanks
[Google Chromecast] fkrone:
Go for it! It is possible.
[Google Chromecast] DcMc77:
Ok, so I compiled everything for an arduino uno r3 but it's not working, am I missing something obvious or is the uno just not gonna work? I have a teensy coming in the mail so i may just wait.
[Google Chromecast] zorka:
Or you van use Apple pi baker (made for raspberrypi, but working with all images)
[Google Chromecast] SomeGuy2008:
So when google does put out updates to ChromeCast will Team_Eureka repackage the update and push it down to the rooted chromecast in a way that I can still keep my ChromeCast updated and maintain root?

~SG
[Google Chromecast] Srandista:
Yes, they already do that, see http://ota.team-eureka.com/
[Google Chromecast] SomeGuy2008:
That's what I figured. Just wanted to make sure. Thanks. ; D
[Google Chromecast] Ramis:
If I made a otg cable using these instructions would it work?

http://xdaforums.com/showthread.php?t=1828032
[Google Chromecast] .kaputnik.:
Yep, it would.

If you're not experienced in soldering and modding stuff, I'd however recommend you to just buy an OTG cable. An unpowered one should be fine too, adding the power connector is easy, the hard part is taking apart an USB Micro connector without destroying it, to bridge the ID and GND leads.
[Google Chromecast] nivramdu94:
Arduino Uno R3

Hi guys,

Just released this exploit for the Arduino Uno R3. It was as simple as changing two lines of the makefile and compiling. However, the flashing procedure change. I cannot post a link here as I am new, but you can find instructions and downloads on my Github: marvinroger/HubCapDuinoUno.

Enjoy!
[Google Chromecast] Tr1g:
I may have to give this a whirl, it's hard to get teensy's in the UK as far as I know so this may be a big help!
[Google Chromecast] mcbyte_it:
Wow, this is great, except that I sold my Arduino a couple of weeks ago, and switched to use raspberry pi for development.. need to get a new one now :(

Will this work with all Arduino R3? i mean also not the original brand Arduino?
[Google Chromecast] nivramdu94:
As long as the onboard USB to serial is an ATmega16U2, it should be good to go.
[Google Chromecast] ghowse:
Hi Guys

A few pages back I posted that I was having a problem with getting the flashcast image to load onto the CC. Well I have finally had success! It turned out that my home made cable wiring was not quite correct. It was a great relief to finally see the Team Eureka config page after many failed tries.

I wish to express my sincere thanks to the Team Eureka developers for their fantastic effort in opening up the true possibilities of the CC. Also to the other XDA posters who helped me through.

Cheers
[Google Chromecast] peca89:
Thanks, but are you sure this actually works on 16U2 which has only 512 bytes of SRAM? Somebody said that program requires much more RAM?
[Google Chromecast] tech3475:
Are there any cheaper but compatible alternatives in the UK?

Looking on ebay there are other ATMsega32U4 based devices for allot less that I'm seeing for a Teensy....or is it better just to buy the 'real thing'?
[Google Chromecast] nivramdu94:
You can try to flash the hex file, it only uses ~70% of the available storage.
[Google Chromecast] Bronto9:
Did you try it by rooting a chromecast?
[Google Chromecast] DcMc77:
Have you actually gotten it to work? I've compiled it myself and tried your binary and neither work.
[Google Chromecast] peca89:
Yes, it only uses about 70% of

Program

memory. You can't tell how much of

RAM

would it require just by looking at .hex file size.
[Google Chromecast] Roamin64:
No, you can't by looking at the HEX. But you can looking at the compiling results :

AVR Memory Usage

----------------

Device: atmega32u2

Program: 9206 bytes (28.1% Full)

(.text + .data + .bootloader)

Data: 2301 bytes (224.7% Full)

(.data + .bss + .noinit)

We clearly see : 2301 bytes DATA = 224.7% Full. The atmega16u2 only has 512 bytes. The atmega32u2 1024 bytes.

If your version does work, then somehow the truncated code is enough to trigger the exploit, or the software you used to flash the code ( Flip for windows? ) does a neat trick of turning Program memory into RAM.

I'd love for it to work on smaller sized MCU, but at least for me it didn't work. And its clear why when I look at the compile logs.
[Google Chromecast] nivramdu94:
I cannot root my Chromecast because I don't yet have an USB OTG cable. But it worked for a friend which is on Windows, so he used Flip. That's why I published binaries here.

However, if it doesn't work, I apologize! I wanted to help but it looks like I failed. :p
[Google Chromecast] II.J2G.II:
Minimus 32 AVR

Has anyone compiled and gotten a minimus 32 avr to work ?
[Google Chromecast] peca89:
Well, maybe you didn't :) I'm just asking if you succeeded and I'm hoping you did. You can see from my previous posts that I'm looking forward to root it using Uno I already have, so I'm giving you thumbs up!
[Google Chromecast] phoenixfire42586:
Compile

I have tried several times to compile the source to work with my AT90USBKEY and every time i do it fails and i cannot get the HEX file..

Any help would be awesome!

---------- Post added at 04:10 AM ---------- Previous post was at 03:57 AM ----------

If this helps at all.

I can run the Teensy ++ hex from pjrc.com

/teensy/loader_vista.html for the Blink Demo.

Also when i loaded the pre-compiled hubcap code for the ++ I do get two lights on my device but none flash and the chrome cast just stays red.
[Google Chromecast] DcMc77:
What does your make file look like, and what error is if throwing when you compile?
[Google Chromecast] badflife:
So with this I can use bbciplayer app with hola on my chromecast witout using a service like Unblockus?

Thanks in advandce
[Google Chromecast] ClarkyCat:
I managed to get this to work on my chromecasts using an A-Star 32U4.

The LEDs on the 32u4 didn't light at all, but you can work out what's going on via the chromecast light.

I also found I needed to use the 16664 image on a brand new out of the box £18 Amazon chromecast.

Tim
[Google Chromecast] crnkoj:
hey guys so i have two arduino boards at home, one is the arduino mega 2560 r3 with the following specs http://arduino.cc/en/Main/ArduinoBoardMega2560

and the other one is arduino Duomilanove 328p with FTDI usb chip link here http://arduino.cc/en/pmwiki.php?n=Main/arduinoBoardDuemilanove . Does anyone know if any of these will work?

thanks
[Google Chromecast] DcMc77:
As far as we know, only boards with an ATmega32u4 or a AT90USB1286 have worked. You can compile for other boards but so far there's no proof that any other chips have worked. I myself am trying to make an Arduino Uno R3 work.
[Google Chromecast] crnkoj:
Didnt nimranud got it to work on the uno r3 which has the same atmega16u2 as the arduino mega 2560 ? he even has a tutorial for it on his github:

https://github.com/marvinroger/HubCapDuinoUno

i am having issues getting the mega into the dfu mode though, as there is almost no documentation on it anywhere until i found this http://flipmu.com/work/chronome/changing-the-serial-number/ where it shows which pins to connect to get it into proper dfu mode. i will try getting it into dfu mode with that and proceed with marvinrogers tutorial. The size of the flash and ram on the megas atmega16u2 should be sufficient for the images.
[Google Chromecast] DcMc77:
He compiled it for the R3, as did I, but neither binary has worked for me. I'm hoping he'll report back with more details, as i cannot get it to work on my R3.
[Google Chromecast] croperas:
Will this also work on an ezcast device?
[Google Chromecast] bhiga:
No. It's poking around memory and installing a firmware image.

If, by some stroke of luck, it actually does manage to flash your EZcast, almost positive it will brick it.
[Google Chromecast] croperas:
Ok, but since EZcast firmware is also available for download it is possible to create a new image that will work with the exploit right?
[Google Chromecast] II.J2G.II:
Minimus avr hex

You can try these in the attachment they are compiled for minimus AT90USB162 & ATMEGA32U2 you might have more luck then me :fingers-crossed: the chromecast i have is not rootable serial num starts off with 4212xxxxxxxx on the hunt for one 39 or below