FORUMS
Remove All Ads from XDA

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

781 posts
Thanks Meter: 1,508
 
By ddggttff3, Inactive Recognized Developer / Recognized Contributor on 13th December 2015, 09: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!

Features:
  • 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/user_boot_script.sh, 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.

Installation:
To install this, all you need to do is SSH/Telnet into an already rooted Chromecast, and run the following commands:
Code:
busybox wget http://pdl.team-eureka.com/recovery/install.sh -O /cache/install.sh
busybox chmod +x /cache/install.sh
/cache/install.sh
Note:
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.

GPL/Source:
https://github.com/team-eureka/flash.../newmode-alpha
The Following 32 Users Say Thank You to ddggttff3 For This Useful Post: [ View ] Gift ddggttff3 Ad-Free
 
 
13th December 2015, 09:22 PM |#2  
Senior Member
Thanks Meter: 455
 
More
Thanks for all your work for our chromecasts!
Confirm this is working like a charm!
13th December 2015, 09:26 PM |#3  
Junior Member
Thanks Meter: 2
 
More
Thank you once again for all the great work you have put in on this device.
13th December 2015, 11: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, 11:56 PM |#5  
Senior Member
Thanks Meter: 455
 
More
Quote:
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, 08:23 PM |#6  
Senior Member
Thanks Meter: 374
 
More
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
Code:
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!

GREAT JOB!
14th December 2015, 09:08 PM |#7  
Senior Member
Thanks Meter: 41
 
More
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, 07:24 AM |#8  
Junior Member
Thanks Meter: 1
 
More
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, 10:13 PM |#11  
Senior Member
Flag Brno
Thanks Meter: 119
 
More
@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:

Code:
First block failed verification at byte 8 of 10743808. Wrote 11 replacement blocks to recovery.
Code:
/cache/install.sh: 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)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes