yashsingh1/xdaforums huggingface dataset:
[XDA Assist] aFiFi_28:
Dear admins ,

A ThAnK You is a must at first to all xda-developers for such a great work and a helpful posts . keep up the good work ,

i'm a new user to the xda site as i were an old fashion mobile user till lately my brother in law bought a new xperia z1 ultra -my recommend- for himself and gave me his old galaxy y duos .

i'm trying to boost up as much as i could of it to use but i'm just a beginner in this field so any help would be appreciated .

,

--stock is 2.3.6 and i'm using ics fusion final with aroma --

i need the most up to date files and apps i could use to tweak it up

rom s ,kernal s ,cmw s , ram extenders . cpu boosters ,ect ,,

Regards .

aFiFi

:)
[XDA Assist] Darth:
Hi,

In your case, I think you should spend some time browsing the different sections for your device and read up on what others do with it. And check the development section for roms and all that fun stuff. So instead of a specific section or thread, since you seem to want to learn and do much with it.... Here is the link to your devices section.

Anything else you want to know or have questions about, please use the Q&A section to ask.

> Legacy & Low Activity Devices > Samsung Galaxy Y GT-S5360

Good luck!

---------- Post added at 10:33 PM ---------- Previous post was at 10:31 PM ----------

Yes, the section says s5360...but it's for yours as well. Just be sure to only flash things made specifically for your model. Also good to mention your model when posting anything. ?
[Google Chromecast] Team-Eureka:
Dear XDA Users,

We’re happy to announce that fail0verflow, GTVHacker, and Team-Eureka have jointly discovered and exploited a new vulnerability in the Chromecast which allows root access on the current software build (17977) as well as new in box devices (proof).

Requirements

Chromecast Device

Teensy 2 or 2++

Teensy 2 - https://www.pjrc.com/store/teensy.html

Teensy 2++ - https://www.pjrc.com/store/teensypp.html

Teensy Loader - https://www.pjrc.com/teensy/loader.html

1GB+ Flashdrive

The files included in the zip

Instructions

Install the appropriate Teensy Root Package on your device.

If New In Box device, use 12940 otherwise use 16664.

Use plusplus_*.hex for 2++ model, regular_*.hex for 2 model

Using Win32DiskImager or dd, install the Flashcast Image to the 1G+ Flashdrive.

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.

Unplug the Teensy, then plug in the flashdrive loaded with Flashcast into the OTG cable, and then press the Chromecast button again.

If you used the 12940 image, the LED should turn white. If you used the 16664 image, the LED should stay dim red.

After about 5 minutes, the Chromecast should reboot and your device should now be rooted!

Having Problems?

“I am using a USB hub with a OTG cable, why is it not working?”

This root method requires a powered OTG cable and will not work over a USB hub. This is because the teensy needs to be directly connected to the Chromecast to work and can not go over a USB hub.

“How can I tell if the root is running?”

If the Chromecast is plugged into a TV, you should see a Flashcast message telling you your device is being rooted. If you do not see this message, unplug the Chromecast and try again.

Created By

@fail0verflow

@gtvhacker

@Dev_Team_Eureka

Shoutouts

Google Inc. - Thanks for the awesome device, now add fastboot support

XDA-Developers - For being the home of Chromecast Development

Download

Exploit Demo: https://www.youtube.com/watch?v=S2K72qNv1_Q

Download: http://download.gtvhacker.com/file/chromecast/HubCap.zip

Source:

GitHub: https://github.com/axoltl/HubCap
[Google Chromecast] psouza4:
Brilliant -- working through the steps now!

One bit of missing hardware that may seem obvious: you'll need a USB-to-MiniUSB cable to program the Teensy. It doesn't ship with one and it wasn't shown in the video. I had a spare, so I'm in business and will edit my post once I'm able to successfully flash my Chromecast, but it may need to be put down on the required parts list. :D

UPDATE: worked like a charm!

[IMG="Sir, you are being rooted"]http://www.psouza4.com/rooted.jpg[/IMG]

The rooted device was purchased from Amazon two days ago with Prime shipping. It's S/N begins 3C24***. I couldn't tell you how happy I am to have not missed root this time around. ;)

Thanks again for all your work, guys!
[Google Chromecast] FusionX:
Awesome, thanks! Downloading now and will update!

Edit: flawless victory! Rooted 2 CC, one new in box and the other on latest firmware. Great work! Can't wait to see the source to understand how the exploit took place.
[Google Chromecast] extrem0:
Amazing! Thanks!
[Google Chromecast] Asphyx:
Yea! I have a rooted CCast....

Just a note for Windows users who use win32mage....the flashcast image doesn't show using the browse because it's a BIN not an IMG file...

Just remove the file filter to *.* to see the proper image to burn to the USB Jump Drive.
[Google Chromecast] superdanfan:
Congrats to the team!
[Google Chromecast] ClearD:
Gonna get my teensy asap! CC unplugged until then. :) Thank you so much, team!!
[Google Chromecast] gossipninja:
is this persistent and does it block OTA's?
[Google Chromecast] psouza4:
Hmm, had success on a shiny, new 3C*** serial, but my older 36*** won't root.

It just sits forever at a black screen. I have a Teensy++ and have tried both the plusplus_16664.hex boot code that worked for my 3C*** serial and the plusplus_12940.hex version. Both Chromecasts were on the same Google OTA build. Is it possible this exploit doesn't work on the 36*** serials?

I can't SSH to it, neither during the blank screen (which I let sit for 20+ minutes) nor upon rebooting (no root), so I can't give you the flashcast.log file, sorry.

Thoughts?
[Google Chromecast] FusionX:
Not sure but one of the ones I just rooted was 37*** that was on the latest ota.

I used the 16664 with a 2++
[Google Chromecast] ddggttff3:
The exploit should still work on the older 36** serial device with the 16664 hex file. Double check to make sure the firmware on it is 16664 or greater. You won't be able to SSH into the device unless the root flashcast image is running.
[Google Chromecast] bunchies:
Awesome! ill keep my chromecast off the Internets till i get the board :good:

they have it on adafruit which is where i got my pi and adruino stuff
[Google Chromecast] psouza4:
I am an idiot and didn't press the button on the Chromecast the second time to initiate payload from the flash drive. This is TWICE I did it and forgot about it both times.

Thanks!
[Google Chromecast] mazzanet:
Will this work with a Teensy 3.0?
[Google Chromecast] psouza4:
Nope, only the Teensy 2 and Teensy++ 2 are supported (and there are separate images for both).

http://xdaforums.com/showpost.php?p=54885650&postcount=9
[Google Chromecast] Luxferro:
Rooted one of my chromecasts. Thanks! :)
[Google Chromecast] Asphyx:
I found it difficult to power up the system and hold the CCast button down while doing it...

Figured out that if I POWER up the OTG cab;e and Teensy First it was much easier to hold the button and plug the CCast power in.

Try that....The Teensy should flash, if it doesn't reprogram it.

Make sure you use the Flashcast in the Hub release not the original found elsewhere on XDA
[Google Chromecast] psouza4:
This is already resolved (posted above): I had forgotten to hit the button a second time for the flash drive payload.
[Google Chromecast] Asphyx:
I often wish there was something like the Teensy loader to upload code to my own head so I wouldn't forget to do things! LOL!
[Google Chromecast] reiteravi:
i have a unopened 39xxxxxx

should i update it to 16664+ b4 rooting

don't know the version it comes with
[Google Chromecast] beatryder:
Can you post what you did?

I've got an arduino micro (which I understand is similar to a Leo?) I'd like to use for this.
[Google Chromecast] fabolous04:
anybody in the atl area wanna root me up
[Google Chromecast] nogthree:
The teensy 2.0 and 2.0++ uses an atmega32u4 chip onboard, which is the same as the Leonardo and Leonardo derivatives (Like the leostick). I'd not suggest trying it on any arduino or arduino clone board that doesn't use the atmega32u4 chip as hex files tend to be compiled specifically for the chip.

I'm going to try it with a leostick later this afternoon, for the aussies it's $30 and available at jaycar - as are the parts to make the USB OTG y cable. If it is a USB HID exploit like I suspect, once the source is released it may be useable with other avr chips that can emulate USB HID.
[Google Chromecast] rydako:
Couldn't find them in any store in nz, so I checked trademe and there was luckily one on there. It was the only otg cable with a y connection on trademe though, and wasnt a store selling it.

A Usb male to dual male Y connector should work fine plugged into a standard otg cable, if you buy a Female to female adapter/USB coupler. I saw someone a few pages back Mention that's what they used.
[Google Chromecast] X3r0X:
Sure, quite easy.

Download the files

Start Arduino IDE and choose a Serial Port (in my case COM3)

Download Arduino Builder/Uploader ( http://arduinodev.com/arduino-uploader/ )

Simply flash the regular hexfile.

Then same steps as with the teensy, but keep in mind no led flashing, and you have to reset your arduino (push button) after power is up.

Cheers
[Google Chromecast] krumbs:
Simple and easy process.

The hardest part was finding the Y-cable. At least on sites such as ebay.in.

Also, does anyone in India want to buy a Teensy 2.0, used just one time? :)

Wondering if we need a separate thread for people selling "sparingly used Teensy" boards!
[Google Chromecast] equity:
here's the link, although it doesn't give a lot more details.
[Google Chromecast] Kyonz:
Just to anyone who had asked prior, I've tested this successfully with an Australian model of chromecast SN 34281xxxxxx
[Google Chromecast] equity:
Just for your information: I've just bought a second Chromecast (new in box) and contrary to the OP, it didn't work with plusplus_12940.hex. I had to use plusplus_16664.hex, which worked flawlessly.
[Google Chromecast] hairyleaf:
Has anyone else in the UK managed to get a CC routed. I have tried several times without any success. I never manage to get the Teensy light to start flashing and holding the reset button on the CC just makes the red light stay on and go to a page saying problems with startup.
[Google Chromecast] maormagori:
can anyone make a video?

I want to be sure of what I'm doing, can anyone make a video??:confused:
[Google Chromecast] hairyleaf:
go to YouTube and search for New Chromecast Root Demo (8/17/2014) - should be 3rd result down

Sorry cant post link yet (not enough posts)
[Google Chromecast] jamesking420:
Does anyone have a Teensy in the UK they'd be willing to lend me?

Thanks,

James
[Google Chromecast] rydako:
There's a youtube video on the front page, near the bottom under download.

This is it.
[Google Chromecast] havokk:
Managed to root mine, thanks!

Got a Teensy++ 2.0 in Glasgow and a USB OTG powered frankencable lol
[Google Chromecast] maormagori:
Thanks![emoji1] didn't see that.
[Google Chromecast] Roamin64:
[MENTION=5639408]Team-Eureka[/MENTION] : Great stuff! Thanks for all your hard work on the ROM. Would it be possible to compile the exploit for more devices? Until the source code is released, I have unplugged my Chromecast because I don't want google to push an OTA and block root from my CC. I do not own a Teensy 2.0 or 2.0++ , but I do have tons of ATmega32u2.

What USB series does the exploit require? Teensy 2.0 uses ATmega32u4 which is a Series 4 USB AVR , and 2.0++ uses AT90USB1286 which is a Series 6 USB AVR. The ATmega32u2 is a Series 2 USB AVR, which I'm hoping as enough features to perform the exploit.

I tried flashing the atmega32u4 hex to a atmega32u2 but it doesn't work, I flashed it directly and also I flashed the lufa TeensyHID bootloader, then used teensy loader 1.05 to flash the hex and in both cases no GPIO was an output, so it seems like it doesn't boot properly and doesn't reach the main function that would flash the LED.

So, I would kindly ask , to anybody in the 3 teams involved in this , until the source code is released, could it be possible that you compile the exploit for more devices? My board uses an atmega32u2 at 16mhz. I don't know if there are any time critical operations that would absolutely require a 16mhz xtal, but if not, variants could be compiled for 8/16mhz because there are a lot AVR boards out there that use 8 mhz as well.

It would be nice if it was available for : ATmega32u2 / ATmega32u4 / ATmega1286 / ATmega1287 and the other USB AVR at 8 and 16 mhz.

Thanks again for all the hard work to everyone involved! I can't wait to root my CC. :laugh:
[Google Chromecast] jamesking420:
Would you be willing to post me your teensy? I'm in Surrey. I'll post it back! And cover your postage, of course.
[Google Chromecast] spida_singh:
Ordered mine from here and got it today:

http://www.hobbytronics.co.uk/teens...lRJ2FUFfzXBuPwgXQ_7qIORmiqVpf8w9N_hoCBnXw_wcB

I have a mini and micro usb OTG cable on order from Amazon, as well as a boxed Chromcast from PC World I got on Sunday :D
[Google Chromecast] ghowse:
Which version of Win32DiskImager are people using, and should the checksum box be ticked when creating the image flash disk?

Thanks
[Google Chromecast] TheKyro:
Once we're rooted, what exciting things should we check first? (After reading forum stickies of course...)
[Google Chromecast] labiba:
rooted chromecast

Hello,

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

thanks
[Google Chromecast] Srandista:
Yes, of course.
[Google Chromecast] Asphyx:
I used 0.9.5...There is no checksum box on my version
[Google Chromecast] samteeee:
I just received my chromecast from Amazon. The Serial Number starts like 4107*******.

Would it be possible to Root it with HubCap? And if it is, any good tutorial or video available?

Thank you.
[Google Chromecast] chrisgtl:
Anyone near Manchester, UK willing to root my cc? Beer tokens ready and waiting.
[Google Chromecast] SilentStray:
Success with a 3C. The way I did it was different from the posted steps and the video.

Tools:

Teensy 2.0

Powered OTG

Wall Charger

Chromcast

Flash Drive 1GB+

First I loaded the Teensy 2.0 with regular_16664.hex and the flash drive with hubcap-flashcast.bin using Win32DiskImager and attached the Teensy to the OTG cable. I attached the Chromecast to the OTG cable while holding down the power/reset button then plugged it all in to the wall charger.

I let go of the power button right when the Chromecasts' light turned from white to red and before the Teensy 2.0 light flashed for the first time. The Teensy then flashed on and off for about 30seconds after which the Chromecast light remained red. I then removed the teensy from the OTG cable and plugged in the Flash drive.

Now, I REMOVED the Chromecast from the OTG, held the power/reset and plugged it back in at- which point the Chromecast light went White, the Red, then White and began to flash White on and off for about 8 minutes. Afterwards, I unplugged the Chromecast and plugged it into my TV to see the Eureka-ROM logo at boot.

Checked the IP, then all was well in the world.
[Google Chromecast] mario2k4:
teensy 3.0 work?

I've seen the Teensy 3 on Adafruit , it's $19.95. Will it work with this Jailbreak

Of the Chrome Cast?

Thanks

Mario
[Google Chromecast] samteeee:
Teensy 3.0 & 3.1 won't work.
[Google Chromecast] StATicxTW0T:
Just attempted to root using this method (teensy 2, not 2++) and all seemed to go fine until flashing eureka rom. I transferred the renamed rom zip to my flashcast usb drive , plugged the usb into an otg cable, plugged the chromecast into the otg cable, held the button, and connected power. I tried holding the button waiting for the chromecast to start flashing white, and also releasing after the usage led on my usb drive started flashing, however all I can get it to do is give me the startup issues screen. Suggestions?
[Google Chromecast] mchinand:
Did you use Win32DiskImager (or dd) to copy the Flashcast image to your USB drive (step 2 in the first post)? You should be using the hubcap-flashcast.bin file in HubCap.zip for this step.
[Google Chromecast] StATicxTW0T:
I used win32 diskmanager, but that wasnt my issue, I was using the flashcast 1.3 from the flashcast thread. Thanks for the help!
[Google Chromecast] fresh_cab:
i think you're following the old rooting method. the eureka rom is on the hubcap-flashcast.bin file or at least thats how i understand it. i'm still waiting for my teensy. hopefully i get it tomorrow.
[Google Chromecast] Srandista:
You shouldn't use FlashCast. Just upload image to usb drive and than use it for root. Usb drive will be unreadable for Windows, but that's ok, CC can read it just fine.
[Google Chromecast] Nugstar:
Success

Root worked nicely on my US CC, serial 3B20 on 17977.

Next test: retail AUS CC.

Sydneysiders PM me if you need access to a teensy.
[Google Chromecast] uspino:
Once rooted, is it possible to set up a device-specific DNS address, or getting them from the router's DHCP server is the only option?

Thanks.
[Google Chromecast] r8zer:
Yay, I am now rooted on once a un-rootable device.

Many thanks to OP.
[Google Chromecast] rekids:
[MENTION=1140710]tEaM[/MENTION] Eureka,

Can we manually update the CC after this root method using Flash Cast v1.3 as with old root exploit or do we use the Flash Cast provided with HubCap, if so anything different?
[Google Chromecast] TheKyro:
Successfully rooted 2 already opened CC using the 16664 hex with a teensy2

But the instructions are a little bit off ofr the teensy2 because:

* The Teensy light starts flashing indeed. But, after 30 seconds, it doesn't go solid orange; the led just turns off.

So, apart from that little difference, I went though the instructions smoothly...
[Google Chromecast] Asphyx:
There really is no need to. Once you have Eureka installed it will do all the updating you ever need provided you leave on the OTA update option in settings
[Google Chromecast] mchinand:
This was my experience too. I figured the Teensy did its job though, since the light on the CC changed color and proceeded to connect the USB drive to flash the ROM.
[Google Chromecast] Nitrogenus:
Congratulations

I want to send my sincere thanks for this. I immediately picked up a CC today, and I look forward to rooting it.

THANK YOU!
[Google Chromecast] rekids:
I do understand that it will update on its own provided we leave the OTA enabled it has been that way for awhile. Was just asking if it was possible is all and if there was anything different required from earlier versions.
[Google Chromecast] ClearD:
Rooted my 2nd one. Thank you all!

Also, a piece of advice... Make sure that when programming the teensy, make sure to use an actual USB cable and not just a charging cable, as was my problem. The teensy just sat there flashing and the Chromecast said it had an error on screen and nothing happened. Then I realized the teensy hadn't been programmed yet and fixed it with a different cable. :)
[Google Chromecast] :
Got my Teensy 2.0 today, made a USB Y-cable up and my Chromecast is now rooted :D

Thanks to all involved, this is most excellent - now I can Netflix on my bedroom TV (due to changing DNS server settings)

On a related note, if anyone in Hobart, Australia wants their Chromecast rooted, sing out ;)
[Google Chromecast] shinji257:
Heh... I happened to have a Teensy2 from way back (was gonna mod a PS3). Now then to pickup a CC. :p
[Google Chromecast] Bronto9:
Is there anyone in Italy (near Milan/Monza) who can root my chromecast?
[Google Chromecast] Team-Eureka:
Source Code link has been added to the Original Post! Happy Hacking/Porting! -dd
[Google Chromecast] II.J2G.II:
Nice one :)
[Google Chromecast] peca89:
Timer until new Google firmware started :)

Someone please compile this for Atmega 16U2 ?
[Google Chromecast] BlueCop:
bricked??

I think I bricked my chromecast\ with this.

I did the plusplus_16664.hex on my teensie 2++. I got the white light after teensie did its thing. I plugged in the usb drive and pressed the button.

I left it for a while but when i returned the led light was red. the on screen text said that red meant it failed so I retried it.

It now won't get to the white light to load the firmware. If i just try to start it normally then it will just site on a screen with white letters "chromecast..."

any suggestions?
[Google Chromecast] ddggttff3:
Read the OP again, this is a known bug with how the plusplus_16664.hex file works. (Step 4 bullet)

Just boot the jump drive, and let it sit until it reboots and you should be good to do.
[Google Chromecast] Bronto9:
Tried to compile it for my arduino uno, but since its probably the first time I'm compiling something without step-by-step instructions, I'm getting errors during the compilation.

I'll try when I have some spare time(hoping that in the meantime an expert does what I'm trying to do)

Output:

[INFO] : Begin compilation of project "usb_hub"...

avr-gcc.exe (WinAVR 20100110) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[GCC] : Compiling C file "usb_device.c"
avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small-functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bitfields -ffunction-sections -I. -I./LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BOARD_UNO -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstrict-prototypes -DOTA_16664 -DUSE_LUFA_CONFIG_HEADER -IConfig/ -Iinclude/ -MMD -MP -MF src/usb_device.d src/usb_device.c -o src/usb_device.o
src/usb_device.c: In function 'usb_setup_hardware':
src/usb_device.c:40: warning: implicit declaration of function 'clock_prescale_set'
src/usb_device.c:40: error: 'clock_div_1' undeclared (first use in this function)
src/usb_device.c:40: error: (Each undeclared identifier is reported only once
src/usb_device.c:40: error: for each function it appears in.)
LUFA/Build/lufa_build.mk:286: set di istruzioni per l'obiettivo "src/usb_device.o" non riuscito
make: *** [src/usb_device.o] Errore 1
[Google Chromecast] BlueCop:
thanks for the reply but the chomecast no longer functions at all.

when trying to boot it just had the white letters "chromecast..." and doesn't do anything.

If i try to boot into recovery then it is a currupt data in the middle of the screen.
[Google Chromecast] dave7802:
Am going to ask a few questions again see if anyone is able to shine any light, Maybe the OP can help?

My issue:

Teensy 2.0 Does not Flash a single LED when the HEX file provided is flashed.

If i flash the LED Blinker, it appears to be working.

When i flash the HEX file, i do see a error lying in the logs about a missing ELF file. And to be honest i have little knowledge on HEX and ELF.

Can someone explain if the both are needed?

I ask because the LED Linker test provided by Teensy has both a HEX and ELF matching.

Yours does not, And its not just me with this same issue.

To confirm Teensy 2.0 When flashed with the Hex file provided on here, Does not flash ANY LED.

Not even while plugged into the computer.

This seems to be behaviour of a bad flash is it not?

Does the Teensy LED flash or anything while still plugged into your PC?

Any advise on this would be a massive help, am seriously stuck to why this is not working for me.
[Google Chromecast] mando41:
Teensy 2.0 Hex file not loading. with regular _16664.hex

I am having this same issue as well. Has anyone with this issue been able to load the Hex file successfully? I have tried different USB cables (non charging cables as well) and nothing seems to work. Also I have tried other USB ports and my older Windows 7 machine and nothings is working for me yet. Could I have a defective board? Also like [MENTION=407871]dave7802[/MENTION] my Teensy LED's do not light up unless i flash any of the blink hex files. TIA :)