yashsingh1/xdaforums huggingface dataset:
[Google Chromecast] ghowse:
Suggest you watch the YouTube demo video back on page 1 of this thread and follow the procedure EXACTLY.

Boot the Teensy first. When you plug in the CC while holding the button pressed, do not release the button until the CC LED goes red for approx half a second. The timing of this step was critical in my case. YMMV. The Teensy LED should flash for approx 30 seconds. Then the CC should reset and show a white LED.

Unplug the Teensy USB lead and plug your image USB stick into the same connector. Then press the CC button for half a second. If you have a USB with indicator LED, it should start flashing as will the CC's LED. Flashing the Eureka ROM only takes a few minutes but let it go for 8-10 mins to be sure.

Then go through the CC setup process as normal. Until you are sure the Eureka ROM has installed, disconnect your internet connection to prevent a Google update from occurring.

It may take a few tries.
[Google Chromecast] samteeee:
Hi there neighbor;

I live in Brampton and will help you root your CCs. I'm waiting for the Teensy to be

delivered soon. PM me and we'll talk about it.
[Google Chromecast] Olegred:
Question

Hey, guys, I left my CC connected until Aug 29th :( Do you think I have an unrootable version on it now? Should I try to root anyways? Thanks
[Google Chromecast] Asphyx:
Then that is where you should be looking for an exploit no?

Note is says Packaging is a clone not the unit itself....

(Edit) It's dawned on my why you might be so confused ....

You are seeing other posts saying they got the exploit to work with other boards...Those other boards they refer to are other Arduino boards not other CCast type devices.

They are being used INSTEAD of the Teensy! But that hack only works on a CCast.
[Google Chromecast] {ParanoiA}:
Nvm
[Google Chromecast] jervine:
Chromecast Update 19084

Can anyone confirm that the (very recent) 19084 firmware update for the Chromecast has prevented gaining root via this method? I've got 2 Chromecasts, and have managed to root one, however, the second device is not rooting. Plugging in the teensy2++ just has a solid orange LED, it never blinks and never seems to exploit the code. Just would like to know if anyone else has seen this rather than reporting 'it doesn't work'.

Thanks.
[Google Chromecast] Srandista:
Yes, you have definitely rootable device. I'm bet, that you still have build 17977, which is rootable, just don't connect CC to internet.
[Google Chromecast] neoskyriper:
I did as you told me. it's always like the light does not turn white and as I watch the video several times
[Google Chromecast] ghowse:
Are you using the correct Teensy hex file? There are separate files for the standard Teensy and ++2.0, and for the current version of your CC. A total of 4 different hex files.
[Google Chromecast] mcbyte_it:
What do you mean by not connecting it to the internet? is there a new build / bootloader being released that fixes the exploit? I need to use my CC until my teensy arrives :eek:
[Google Chromecast] croperas:
As i mentioned earlier i've downloaded the bin and was trying to analyze it with binwalk (this is as far as i got).

I don't know if there is something else to do but it's better than nothing.

I didn't mix other boards with chromecast i'm just in a habit to taking something and doing something else with it ;)
[Google Chromecast] Biohead:
There's a new build out already - 19084. I'm not sure if it fixes the vulnerability but if it does you won't be able to root it. To be sure you should stop using your Chromecast, unless it's already updated then there's not much you can do.
[Google Chromecast] jervine:
Echoing this sentiment. I have a Chromecast on 19084 and it's not rooting. I had successfully rooted a different Chromecast last night, and it seems my second one updated before I could successfully root it. If you can choose not to use it, you shold until it's verified one way or another...
[Google Chromecast] crnkoj:
Im sorry, i might be just dumb, but which image do i have to flash on the usb drive for point number "2.Using Win32DiskImager or dd, install the Flashcast Image to the 1G+ Flashdrive.". Is it the one from the flashcast thread or is there some special image and further on, do i have to prepare the usb drive like its suggested in the flashcast thread (copying the eureka rom on it after first letting chromecast to format it - must the chromecast be already rooted for that or can i do it with an unrooted one)?

Thanks
[Google Chromecast] Kurre:
Download link in the OP contains all the files you'll need in the process. Can't say about the preparation..I formatted the usb stick to fat32 and used dd to install the image into it.

Sent from my Nexus 4
[Google Chromecast] mcbyte_it:
Checking the net, the new build was released a couple of days ago, and I already used mine 12 hours ago, most likely it already updated, I will check tonight by disconnecting the internet then checking. in case it already updated, I will get a second Chromecast, I needed an extra one anyway.

Once rooted, there is little to no risk of it updating and loosing the root/Eureka?
[Google Chromecast] crnkoj:
lol, i must be really dumb or blind... didnt see the bin in there before (though i tried the latest one from github which doesnt seem to have it in there (the one from the op for just the link has it though). thanks
[Google Chromecast] Srandista:
Once you root your CC, you can't receive any update from Google, because update service is replace by one from Team Eureka. So you should never loose root access.
[Google Chromecast] n3dv3d:
Hi, do you think that it is possible to compile hubcap for USB Bit Whacker - 18F2553 Development Board ( https://www.sparkfun.com/products/762 )?

Thank you
[Google Chromecast] t3chwizard:
You cannot use it until the teensy arrives and you root it in order to root. Google is evil and pushes updates out without you being able to choose to update or not. If they had the update function as part of the app for iPhone and Android that would be much more root friendly. However, they don't want you to be able to root so they push updates out automatically.

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

What are the benefits of a rooted Chromecast. I am just curious.
[Google Chromecast] akarol:
Not curious enough to use the search function.
[Google Chromecast] t3chwizard:
Why must all of you developers be so sarcastic?
[Google Chromecast] Bronto9:
Because you can find the answer to your question in almost every page of this thread.
[Google Chromecast] dave7802:
Small FAQ using Teensy 2.0

This has been from my own trial and error.

Q: No LED when connected to chromecast

A: If connection is made, The Teensy will flash. If you are not getting this, Its possibly a bad OTG Cable.

Q: LED is solid

A: Bad OTG Cable or too many Ports - As advised it has to be directly connected to CC

Q: No LED, Chromecast LED RED and stuck.

A: This is bad OTG Cable, No connection is being made to Teensy and stuck in recovery. Try again or try a different OTG Cable.

The LED will not flash while being programmed, Nor will it flash when plugged into a PC, the only time you should see it flash is when

CC connects to it, and teensy does its stuff.

My question, for people who have a Teensy 2.0

Once you use the Exploit, i.e. Boot Recovery with Teensy plugged in.

Cycle goes through, CC goes White and Teensy goes off.

Can you do this process as many times as you like? or once it has been done, does it not have the same behaviour if you do it again?

I ask this because everything does as it should, But the reboot with the USB Device plugged in just appears with a Chromecast problem starting up error.

Is my Teensy working, As i can redo the same process every time.

This could be a crap USB storage Device, i have many and will try with others. Just wondering on other peoples experience.

Thanks
[Google Chromecast] bhiga:
This post and a few others in the thread will point you to the answer you seek.
[Google Chromecast] neoskyriper:
a 17977 chomecast and I teensy2 ++ in mid plusplus 16664.hex

I followed the tutorial to the letter yet
[Google Chromecast] mcbyte_it:
Wow, I am on the safe side: i used it yesterday night and fortunately it didn't get updated, still on 17977. disconnected it until i get my teensy.
[Google Chromecast] redrum77:
Hi guys,

Can I use this http://my.element14.com/arduino/a000057/board-leonardo-w-headers-atmega32u4/dp/2133071?ICID=ap-arduino-products instead of teensy ?
[Google Chromecast] FirmShark:
Hi guys,

Seem to be having some trouble with my Teensy2++. No matter what I try, I cannot get Teensy to do its thing. The light on both the Teensy and CC stay a solid red/orange. This is a genuine Teensy and a good working OTG cable (tested on my Nexus 5). I have tried flashing both the hex files and performing various combinations of tricks but I cannot get the Teensy to write to the CC. The CC is on 17977. I have just read through every page in this topic to find an answer but cannot see anything. Hell, I've even tried re-downloading the file in the OP.

Anyone got any ideas?
[Google Chromecast] killer23d:
Success, using a self made Y-Cable from HTC:

http://xdaforums.com/showthread.php?t=1676794

Then with a Teensy ++.

I want to chime in that for the first step, just press the CC button once and not holding it. It will then causes the Teensy to blink and finally a white LED on the CC.
[Google Chromecast] dave7802:
Finally rooted :)

Sorry for being a pest on here, I just had the worst luck in the world.

My OTG never worked, Then i bought a new one and that never worked.

I ordered ordered one from china and it finally arrived.

I went through 4 USB Storage devices before it would flash. So all in all a simple and easy process Thank you Devs.

If your having issue people please review your hardware :)

I am based in Liverpool (Merseyside) If anyone has not got the equipment and would like to still root there device.

PM Me
[Google Chromecast] SomeGuy2008:
Got my OTG cable today. Now im rooted. my CC is a SN 3C24. Had to use plusplus_16664.hex. but now I can get to the web panel and should be good moving forward. Thank god I left my CC unplgged the last few days and didn't get the update either way. Thanks for the help. Looking forward to playing with my new CC. ;)

~SG
[Google Chromecast] pre10c:
is it possible on a different controller? like a raspberry pi or whatever? teensy's seem to be rare as horse **** in belgium :(
[Google Chromecast] Srandista:
You can use also other development boards with ATmega 32u4 chip.
[Google Chromecast] miniminus:
just trying to learn abit etc ...

which section did you modify (think you mentioned somewhere else was only small adjustment.)

did you use files from githun ? https://github.com/axoltl/HubCap

and how did you compile to hex ?

cheers :)
[Google Chromecast] tech3475:
Finally managed to flash 2 CCs.

For this I used a Nook HD charger, a SainSmart Leonardo R3 ATmega32u4 I got off Amazon and a generic powered OTG cable from ebay.

Thanks to fail0verfl0w, gtvhacker and Dev_Team_Eureka for the hack, ClarkyCat for the modified hex and richuk for the flashing command.

Did have two issues though:

1) Flashing the Leonardo- took a while before I realised that the bootloader was timing based before it loaded the preinstalled hex.

2) For some reason the CCs were stuck in a boot loop, turned out the ipad charger I was originally using was behind this and so I tried the Nook charger which worked.
[Google Chromecast] ddggttff3:
HEADS UP: Seems that google HAS PATCHED the HubCap exploit in the latest OTA (19084), but did not post the source for it (to keep us guessing?). Please avoid this OTA if you want root!
[Google Chromecast] darkbasic4:
Damn, I just bought a Chromecast because of this exploit: I hope a will not receive an updated one :( :crying:
[Google Chromecast] bhiga:
Near impossible the unit you have has already been patched unless Google changed manufacturing before they released the OTA. There's normally a good lead time between leaving the factory and getting into the hands of a consumer.

Remember that megatailers like Amazon still ship early units from time to time. Who knows how much stock their warehouses are filled with.

And make sure you attempt root

before

you set it up with Internet access
[Google Chromecast] fs1023:
Hi all

Any help please? Cast on 17977 software. I have uploaded plusplushex 16664 as per instructions to teensy ++. Seems flash ok. When i plug in teensy to cast via otg cable whilst holding down cast button, teensy flashes etc as in video in OP but cast just stays solid red and does not reboot whist teensy stops flickering and goes solid again.

Any ideas anyone?

Regards

fs1023

Update

When i reboot cast the eureka update page briefly shows then disappears, their team logo appears again briefly, then screen boots to normal chromcast page.

Any help please?
[Google Chromecast] Asphyx:
Yes when the teensy is done you need to replace the teensy with the USB drive and press the CCast button
[Google Chromecast] fs1023:
Thanks for the reply. That did not work. It seems start as as though it is flashing the hubcast bin file but the stops after about 30 secs then when plugged into tv normal cast logo appears.

Update

I can see the eureka team page from my mobile 192.168.XX.XX. I do not have root and have no idea where their whitle list apps are. Should i be rooted at this stage?
[Google Chromecast] Asphyx:
If you see the team Eureka page your rooted.
[Google Chromecast] fs1023:
I used teensy 2++ 16664 hex and followed tutorial from OP.

If I am rooted how do I know¿ How do I view Team Eureka white list apps¿

Otherwise how do I start over again from scratch.
[Google Chromecast] SomeGuy2008:
Go to http://<CHROMECAST_IP> from a web browser. ;)

~SG
[Google Chromecast] ghowse:
All I can suggest is to make sure your powered OTG cable is wired correctly. Also try a couple of different USB drives.
[Google Chromecast] ben_moo:
So I just can't get this to work. The Teensy part works fine, but when it gets to the Flashcast part, nothing happens.

I've tried with six different usb sticks and none work.

They all pretty much all have the same error in the log:

Reading recovery parameters
Looking for mods on /dev/sda1
Clearing OTAs
Copying /usr/share/flasher/remove-ota to /tmp/tmp.UC75jl
Flashing mod at /tmp/tmp.UC75jl
Mounting cache (mtd4) at /tmp/tmp.gMfhnx
Removing temp-ota.zip and ota.zip from cache partition (/tmp/tmp.gMfhnx)
Unmounting /tmp/tmp.gMfhnx
Removing temporary mod directory /tmp/tmp.UC75jl
Mounting /dev/sda1 to /tmp/tmp.Chntjx
SETUP FAILED: /dev/sda1 does not contain a recognized filesystem
Resetting crash counter and boot mode

Anyone have any ideas?

---------- Post added at 02:25 PM ---------- Previous post was at 01:48 PM ----------

Okay so I downloaded the hubcap.zip file again and it looks like it's working now!

I can log into the ip and see the TeamEureka.

So yeah, just a corrupt file.
[Google Chromecast] ipaq8888:
I just chance upon this thread wit my 3A version. anyone know if it is possible and necessary for me to update to the OTA before 19084 before rooting?
[Google Chromecast] equity:
You can root any version before 19084, so don't update, there is no need to have exactly build number 17977,
[Google Chromecast] bhiga:
If you haven't been using it, try the appropriate 12940 for your Teensy version. If that doesn't work, try the 16664 version.
[Google Chromecast] redrum77:
Guys,

Would like to know if this board is compatible with the root

arduino
[Google Chromecast] crnkoj:
it should be, someone here said they successfully used the arduino micro which is basically a leonardo but in a smaller package, both having the same atemga32u4 microcontroller that is well suited for this exploit (as its on the teensy2).
[Google Chromecast] Cj719:
Anyone in tristate area I can send my cc to for rooting
[Google Chromecast] reggaetonero:
Hello people,

quick noob question.

Apologies if am in the wrong section by was directed here from faq section.

I can stream something from a website to my phone but when I mirror my phone to tv, the tv screen goes blank and just hear the sound.

Is this something I can fix with rooting chromecast?
[Google Chromecast] neoskyriper:
after a fifty times by now so the cable is plugged
[Google Chromecast] Asphyx:
No it likely is because the stream codec from the website is not compatible with CCast.

Audio is which is why you hear it but do not see it.

It's a problem that will be common and not likely to go away until all Web Video content is HTML5 compatible.
[Google Chromecast] waiters:
Just ordered teensey, about to get a chromecast. Can I not use it till I'm ready to flash? Is there any way to disable updates for now or do I wait till I receive the hardware?
[Google Chromecast] bhiga:
You cannot avoid OTA updates unless you already have root. So wait or you will get patched.
[Google Chromecast] SomeGuy2008:
Even if you don't plug into to a WiFi? But instead go straight to teensy root process? Maybe disable WiFi router before you start just in case.
[Google Chromecast] bhiga:
Go straight to Teensy. Chromecast does nothing without WiFi and Internet, and setup will try to update it. Better just not to take the risk since you can't use it anyway.

That actually brings up a good point - for those with units already set up, it's probably best to reset them (or take down the router as suggested). That way they can't try to update of they bout normally during your root attempt.
[Google Chromecast] ghowse:
I was referring to the physical wiring of your OTG lead, not whether the plugs fit. I had two unsuccessful tries at making my own powered OTG cable. Neither worked but my third one worked immediately. The microUSB end which plugs into the CC needs to have pins 4 and 5 bridged to make it an OTG.
[Google Chromecast] neoskyriper:
sorry I have not understood because I'm french can you repeat otherwise thank you
[Google Chromecast] ghowse:
I have tried my best to explain. Perhaps a French speaking person who understands powered OTG cables can PM neoskyriper and explain.

Almost everyone who has posted on this thread has had success rooting their CC. neoskyriper must have something wrong.

Best of luck!
[Google Chromecast] XeKToReX:
Hooray!

Just rooted my 2 CC's, brand new in box AU chromecast bought yesterday had to be rooted with the 16664 hex.

Special mention to Maxwell2k for the Arduino Pro Micro!
[Google Chromecast] mazzanet:
Teensy 2 finally arrived today and successfully rooted my 2 Chromecasts.

Thanks to everyone who made this possible!
[Google Chromecast] Max|XDA:
AT90USBkey (AT90USB1287)

Yes that works too after some mayor surgery:

(on your own risk!!)

1. Convert the AT90USBKey to use 5v for the AT90USB1287 chip so it can run on 16Mhz.

(The onboard ram is not 5v tolerant!!, i only removed R20 and placed it on R21, the manuals say i have to remove u4 but i don't understand why)

2. Replace the 8Mhz crystal with a 16Mhz one.

3. Get the AT90USBKEY in Atmel FLIP mode using the buttons.

(the original demo program will not work anymore because it does not auto detect the crystal change like the bootloader does)

4. Flash the Teensy++ version of the hack, if "plusplus_12940.hex" doesn't work later on try the "plusplus_16664".

5. Test the AT90USBKey on a computer, it should be detected by Windows as an "USB hub" and NOT as an "unknown device".

6. Follow the rest of the original instructions from step 2.

If you are having problems flashing with the AT90USBKey you could try another 5v source and/or exchange the silicon diode D3 with a schottky diode, the reason for this is that D3 is a silicon diode and it has a voltage drop of about 0.8v, and the AT90USBKey on 16Mhz marginally works on 4.2v and could introduce problems with the communication and stability, a schottky diode has a drop of about 0.2v and it is a much better fit with the resulting 4.8v.

I had an issue that after the first try the at90USBKey wouldn't run the program anymore(no flashing leds), i just flashed the AT90USBKey again and the Chromecast was rooted without a hitch.

My shiny new in Chromecast SN: 4515 was unboxed and would not be rooted with "plusplus_12940.hex" but "plusplus_16664" worked like a charm.:cool:

Thanks Guys!!
[Google Chromecast] jamesking420:
Anyone in the UK (Surrey or South London area) willing to lend me one of the Teensys that will do this?

I can't really justify spending £24 on one from Hoobytronic, but would happily pay return postage + a beer :)
[Google Chromecast] FirmShark:
Anyone able to shed any light? I think it might be that my 42xx serial number can't be done even though it is on 17977. The OTG has been verified as working as I can use it on my Nexus 5.
[Google Chromecast] Max|XDA:
Powered OTG cable

If you (like me) cannot find a powered USB OTG cable you can make it yourself:

(on your own risk!!)

You need:

A spare USB cable (from an old mouse or something, type A, Male, a thicker cable is best)

A short (max 80 cm) USB extension cable (type A, male/female, a thicker cable is best)

An unpowered USB OTG cable (female USB Type A to Chromecast Micro USB connector)

1. Remove the second connector or what ever is attached to the spare USB cable so that you only have a male type a connector with ~50cm of cable, strip the outer skin of the cable end back about 2cm, if there is shielding remove the foil and twist the shielding wires in to one big wire, cut the White and the Green cable back 1cm and isolate them using shrink tube.

2. In the middle of the extension cable remove about 4cm of the outer skin without damaging the inner wires, if there is shielding in the cable just pull that to the side if they are wires, remove the shielding foil if present.

3. Fold the extension cable in the middle, you should see 4 wires sticking out and going back in, Red, Black White and Green, fold the Green and the White wire to the side, strip a 3mm piece of isolation from the red and the black wire.

4. Connect both cables in turn to an usb charger making sure not to short the exposed wires and check there is 5v on the Black - and Red + wires and that the polarity is correct.(i've seen badly colored wires before), otherwise get another cable to be sure.

5. Use a tie rap or shrink tube to physically link the spare and the extension cable together with all the wires on the same height.

6. Solder the Red wires from the spare and the extension cable together and isolate them with shrink tube, do the same for the black wires, if present also solder the twised shielding wires together, after that isolate everything with shrink tube or vulcanizing tape,

7. Test the cable for continuity and shorts using a multimeter.

You can now plug the unpowered OTG cable to the extension cable male connector, the spare cable male connector goes to your powersource.

Done!!

---------- Post added at 06:06 PM ---------- Previous post was at 05:59 PM ----------

What happens when you connect the Teensy to the pc?, is it discovered as an "Unknown device" or as an "Usb Hub"

(with a yellow mark on it)

Could your Chromecast be updated already when you powered it on today?, if it had power and Wifi/internet that could be the problem!?!

(There is talk that the latest update will block the exploit)

While testing please remove the internet connection from your router before looking.

Good luck
[Google Chromecast] magnar81:
Success

Rooted my updated 3C20******** chromecast today.

Last internet connection was September 4th.

Everythong worked without problem with homemade powered otg cable and teensy 2++

Thanks for the good work!
[Google Chromecast] samteeee:
GREETINGS:

I was wondering if there is a step by step for how to flash the "Teensy 2.0"? What software........and so on?

Thank you.

---------- Post added at 03:35 PM ---------- Previous post was at 03:20 PM ----------

GREETINGS:

Can someone tell me how to actually flash the Teensy 2.0?

I mean what file(s) do I need? How does the LED behaves

in Windows 8.1 environment?

Thank you.