Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[FAQ] Root Mini-FAQ: What's the big deal with root?

OP bhiga

23rd January 2014, 06:01 PM   |  #1  
bhiga's Avatar
OP Recognized Contributor
Thanks Meter: 882
 
2,248 posts
Join Date:Joined: Oct 2010
Donate to Me
More
This topic deals specifically with root accessbility. For other topics, please consult the Chromecast FAQ thread or Search.

Are all Chromecasts rootable?
No, not anymore... again.
The HubCap exploit has been patched in firmware build 19084. This means yet again, only certain Chromecasts can have root. It didn't take long - only about a month from the exploit's release and 2-3 weeks from the source release before a patch arrived.
Quick reference
If your Chromecast is running...
  • Firmware build 12072 (this is the original firmware) - use FlashCast to flash Eureka-ROM to get root
  • Firmware build before 19084 - HubCap will flash Eureka-ROM to get you root
  • Firmware build 19084 or newer - sorry, no root for you.

If your Chromecast is on firmware build 19084 or newer, it is not rootable.


Root now or root later? Why do I need to root before setting up and using the device?
THERE IS NO OPTION TO ROOT LATER!
The current Chromecast setup app forces an update to the latest firmware during Setup - and the latest firmware patches both the original 12072 bootloader exploit and the pre-19084 HubCap exploit. This means once you set up a new Chromecast, it is not longer rootable.
If your new-in-box Chromecast is exploitable by either HubCap or FlashCast, you must apply Eureka-ROM using FlashCast or HubCap BEFORE connecting it to the Internet.

Do I even need root?
Initially there were more reasons to root, like the ability to send local files to Chromecast. However, new Google-approved apps like Avia, RealPlayer Cloud and Plex were released to bridge that gap.
So right now, functionality-wise, root brings you Eureka-ROM.
Eureka-ROM brings you...
  • Custom whitelist (run apps not whitelisted/approved by Google)
  • DNS control (use non-Google DNS)
  • Status (temperature reporting, IP, firmware)
  • ADB on/off
  • Telnet on/off
  • SSH on/off
Likely more will come in the future.
DNS control is important for people using Chromecast outside of the US, as many of the Chromecast services like Netflix and Hulu Plus are either unavailable or have restrictions on available content in other countries.


Why can't we get root another way?
While I'm not one to say never, because there are a lot of clever people out there but...
Unlike phones and tablets, Chromecast is quite the ornery Android device...
  1. It has no Fastboot.
    So we can't download a new ROM image that way.
  2. It has no accessible recovery.
    So we can't install stuff or access the filesystem with an update.zip
  3. It has no image loader/flasher utility.
    So we can't download a new ROM image that way either.
  4. It has no interface (screen or input device).
    This just makes it even more difficult to interact with it for hacking purposes.
  5. ADB, Telnet and SSH are disabled by default.
    No ways to peek or poke around there either.
  6. The runtime filesystem is read-only.
    So a clever app can't make changes either.
  7. Google OTA updates are automatically downloaded and applied, updating the bootloader and ROM. Updated bootloader versions will only execute Google-signed code.
    So once you get a Google OTA update, you lose the ability to update the ROM (without a new root method).
Long story short, to get root you need to access the filesystem or execute custom (not signed by Google) code.
But you can't access the filesystem.
And you can only execute custom code on the original bootloader (build 12072).
Use of the SDK to obtain root is against its terms of use so there is little traction on that front.
While the first exploit (that FlashCast uses) was found relatively quickly, it took nearly a year for the HubCap exploit to be found and perfected.



I had root with Eureka-ROM and now it appears I don't?
This can happen if the power is pulled or lost during an update.
You may still have the vulnerable bootloader and be able to get root back, depending on how long it has been since the attempted update.
Unplug Chromecast from power until you can re-flash the newest Eureka-ROM via OTG.
This is a good reason to use AC/wall power rather than USB on the TV, as the TV often cuts USB power when the TV is turned off.
For further details, see this post.


Well that pisses me off! Google is evil! I deserve root!! I'm buying something else!!!
Google never promised root. They just promised an SDK that was released February 3, 2014 here. Root capability just came as an unexpected (and perhaps unintended) gift for initial units.
Chromecast is not a phone or tablet. It's a $35 appliance to be connected to a TV. Hacking your TV might be fun, but Chromecast is not aimed at hackers. It's aimed at the normal people who just want to get Netflix, YouTube, etc on their TV and people who like the concept of using the Android or iOS device instead of adding yet another remote control to their pile.
Whether you buy Chromecast is your choice. Nobody said you had to buy every new device Google puts out. Google isn't Apple.
Also keep in mind, Chromecast is useless without content, which requires content providers. Content providers don't like the concept of root access to a device that plays their content. They fear it will allow their content to easily be pirated. That's why CinemaNow and other services don't allow rooted devices.
For the longevity of the device and continued usability for normal customers, it's in Google's best interest not to have widespread/publicized hacking of Chromecast. Long story short, even with thousands of rooted Chromecasts, we're still a minority compared to the millions of Chromecasts out in the market.
Last edited by bhiga; 6th September 2014 at 05:11 PM. Reason: HubCap exploit patched in 19084
The Following 21 Users Say Thank You to bhiga For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes