[ROM] [r02 - 2015-12-13] Flashcast-AutoRoot

801 posts
Thanks Meter: 1,534
By ddggttff3, Inactive Recognized Developer on 13th December 2015, 08:16 PM
Post Reply Email Thread
What is it?

This is my final gift to the Chromecast community, called Flashcast-AutoRoot. This is a special recovery image for the Chomecast v1 device that will allow it to take official Google OTA's, and then root them during the flashing process. This means you get to keep root, while staying up to date with Google images!

  • Auto roots any official Google OTA sent to your device
  • Supports automatic Recovery Image updates
  • Spawns a root telnet server
  • Supports a custom startup script
  • DHCP and Custom DNS
Q and A:

Q: How do I setup a custom startup script?

A: Just write your script to a file at /data/, and set the executable bit for the file. Once done, it will be loaded on next boot.

Q: How do I setup custom DNS servers?

A: Put the IP addresses of the DNS servers in a file at /data/dns.conf, one per line. On next boot these will be used for DNS requests. Note if you are coming from EurekaROM, it will already have your old settings in place.

Q: How do I setup the EurekaROM Web Panel?

A: By default this ROM has no Web Panel, but this can be added by bootstrapping onto the custom startup script, but I will leave this up to you.

Q: Can Google unroot my device in the future?

A: Technically yes, but they would have a hard time doing so. To get technical, the bootloader partition can't be updated from the stock OS due to the kernel hard-setting it to "ro". While the recovery image can be flashed from the OS, the root process replaces the included recovery image with it's self to prevent any update. The recovery is also unable to update the bootloader partition, so you should always be able to re-flash using a OTG cable. With that said, I have also put in an update method so I can push updates to the recovery image if needed, but at this time I have no plans on doing so unless required, so use this image at your own risk.

To install this, all you need to do is SSH/Telnet into an already rooted Chromecast, and run the following commands:
busybox wget -O /cache/
busybox chmod +x /cache/
If this is ran on a different ROM than Eureka-ROM there may be an error when ran, but rest assured the flashing process will still work.

The Following 34 Users Say Thank You to ddggttff3 For This Useful Post: [ View ] Gift ddggttff3 Ad-Free
13th December 2015, 08:22 PM |#2  
Senior Member
Thanks Meter: 472
Thanks for all your work for our chromecasts!
Confirm this is working like a charm!
13th December 2015, 08:26 PM |#3  
Junior Member
Thanks Meter: 2
Thank you once again for all the great work you have put in on this device.
13th December 2015, 10:24 PM |#4  
@ddggttff3 Is ssh supposed to work after installing? I'm only able to connect to the chromecast via telnet.
13th December 2015, 10:56 PM |#5  
Senior Member
Thanks Meter: 472
Originally Posted by josefede_tenor56

@ddggttff3 Is ssh supposed to work after installing? I'm only able to connect to the chromecast via telnet.

telnet only (port 23)
14th December 2015, 07:23 PM |#6  
Senior Member
Thanks Meter: 375
For those with windows 10...
Telnet is disabled by default.
Run a command prompt with administrator privs (Shift RClick and run as Administrator) and type in the following to enable it
dism /online /Enable-Feature /FeatureName:TelnetClient
Installing now and all seems to be going well as it is currently downloading the Google OTA.
Thanks very much @ddggttff3 for this!

Ok Install is done....Had only one error reported about verification and writing to block 8 which was replaced by recovery.
Unit rebooted and is working fine.
Only strangeness was it took a minute and a reboot for the unit to register with The Google Cast (DIAL LIST) but after a reboot it showed up and connected which I believe may be a local unit thing that happens with my unit from time to time not anything to do with this project!

14th December 2015, 08:08 PM |#7  
Senior Member
Thanks Meter: 45
Yup. Worked as expected. Now Im prepared for new update who hope fully also bring multiroom support to standard chromecast as well (keep my fingers crossed)

Skickat från min GT-I9505 via Tapatalk
15th December 2015, 06:24 AM |#8  
Junior Member
Thanks Meter: 1
huge thanks ddggttff3, your the man.
The Following User Says Thank You to badm0j0 For This Useful Post: [ View ] Gift badm0j0 Ad-Free
19th December 2015, 09:13 PM |#11  
Senior Member
Flag Brno
Thanks Meter: 127
@ddggttff3, thank you so much for this!

I try this few times on my 2nd CC. First time from Eureka ROM, then from stock rooted.

I receive two errors, one during the first flash (regarding recovery), other during flashing from rooted stock. I guest, they all right, but just to be sure:

First block failed verification at byte 8 of 10743808. Wrote 11 replacement blocks to recovery.
/cache/ line 67: EurekaSettings: not found
expr: syntax error
Also have a two questions:

What's the difference between recovery used in previous Eureka ROM and the one used in this rooted stock?
And once new OTA for stock CC arrives, I should run this command manually again, to receive it, right?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes