[Google Chromecast] kaosbeat:
I booted with a fresh card, same problem...

I suspect my dd (OSX) screws up somewhere?

dd if=flashcast-1.0.bin of=/dev/disk1

results in a disk with this partiontable.

fdisk -d /dev/disk1
40968,8,0x83,-,2,140,19,2,140,26
8,40960,0xDA,-,0,0,9,2,140,18
0,0,0x00,-,0,0,0,0,0,0
0,0,0x00,-,0,0,0,0,0,0

I'm going to run a fsck on a linux box...

K

---------- Post added at 07:29 PM ---------- Previous post was at 07:21 PM ----------

fdisk on linux gives me this:

fdisk -l /dev/sdb

Disk /dev/sdb: 988 MB, 988282880 bytes
31 heads, 61 sectors/track, 1020 cylinders, total 1930240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 40968 40975 4 83 Linux
/dev/sdb2 8 40967 20480 da Non-FS data

Partition table entries are not in disk order

what filesystem should this be?

similar for the other disk

fdisk -l /dev/sdb

Disk /dev/sdb: 1973 MB, 1973420032 bytes
61 heads, 62 sectors/track, 1019 cylinders, total 3854336 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 40968 40975 4 83 Linux
/dev/sdb2 8 40967 20480 da Non-FS data

Partition table entries are not in disk order

are both disks broken?

K

---------- Post added at 07:39 PM ---------- Previous post was at 07:29 PM ----------

just to be sure I tried a different microSD adaptor as well as DD from the linuxbox I have booted now anyway...

no difference.

is there a way to run the script from a remote location while I'm logged into the chromecast? Or run the script that crashes so I can see if I can alter it somewhere somehow?

K

---------- Post added at 07:54 PM ---------- Previous post was at 07:39 PM ----------

trying to get how this works.

So I log in to the flashcast, everything seems up, but the card is not present in the lsusb command. If I unplug replug, I have an additional USB device listed:

[root@flashcast ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002

unplug/replug disk

[root@flashcast ~]# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0420:1307
[root@flashcast ~]#

after that I did:

[root@flashcast init-partitions]# ./imager.sh

Command (m for help): DOS Compatibility flag is not set

Command (m for help): Partition number (1-4):
Command (m for help): Command action
e extended
p primary partition (1-4)
Partition number (1-4): First sector (1-3854335, default 1): Sector 8 is already allocated
First sector (40968-3854335, default 40968): Using default value 40968
Last sector or +size or +sizeM or +sizeK (40968-3854335, default 3854335): Using default value 3854335

Command (m for help): Partition number (1-4): Hex code (type L to list codes): Changed system type of partition 1 to c (Win95 FAT32 (LBA))

Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table
mkfs.fat 3.0.20 (12 Jun 2013)

but then I'm stuck again...

[root@flashcast gtvhacker-compat]# ./imager.sh
./imager.sh: line 4: fatal: command not found
./imager.sh: line 7: flash_mtd_partition: command not found
./imager.sh: line 8: clear_data: command not found
[root@flashcast gtvhacker-compat]#

K

---------- Post added at 08:48 PM ---------- Previous post was at 07:54 PM ----------

ok...

I put the eureka img on the flashdisk partion I manually created in the prev post, and rebooted the cchromecast.

after I'm stuck again on the flashcast screen, with a RED led, I reinserted the usbstick again, and I had the guts to run "flasher"

which is currently either bricking my device or flashing it with a mod...

# flasher
Clearing OTAs
Changing directory to /usr/share/flasher/remove-ota
Mounting cache (mtd4) at /tmp/tmp.KZyakp
Removing temp-ota.zip and ota.zip from cache partition (/tmp/tmp.KZyakp)
Unmounting /tmp/tmp.KZyakp
Mounting /dev/sda1 to /tmp/tmp.gXUZto
Opened log file /tmp/tmp.gXUZto/flashcast-1.log
Found eureka_image.zip, using
Archive: /tmp/tmp.gXUZto/eureka_image.zip
inflating: boot.img
creating: files/
inflating: files/adbd
inflating: files/busybox
inflating: files/clear_crash_counter
inflating: files/update_engine
inflating: imager.sh
creating: images/
inflating: images/logo1080p_10fps0000.png
inflating: images/logo1080p_10fps0001.png
inflating: images/logo1080p_10fps0002.png
inflating: images/logo1080p_10fps0003.png
inflating: images/logo1080p_10fps0004.png
inflating: images/logo1080p_10fps0005.png
inflating: images/logo1080p_10fps0006.png
inflating: images/logo1080p_10fps0007.png
inflating: images/logo1080p_10fps0008.png
inflating: images/logo1080p_10fps0009.png
inflating: images/logo1080p_10fps0010.png
inflating: images/logo1080p_10fps0011.png
inflating: images/logo1080p_10fps0012.png
inflating: images/logo1080p_10fps0013.png
inflating: images/logo1080p_10fps0014.png
inflating: images/logo1080p_10fps0015.png
inflating: images/logo1080p_10fps0016.png
inflating: images/logo1080p_10fps0017.png
inflating: images/logo1080p_10fps0018.png
inflating: images/logo1080p_10fps0019.png
inflating: images/logo1080p_10fps0020.png
inflating: images/logo1080p_10fps0021.png
inflating: images/logo1080p_10fps0022.png
inflating: images/logo1080p_10fps0023.png
inflating: images/logo1080p_10fps0024.png
inflating: images/logo1080p_10fps0025.png
inflating: images/logo1080p_10fps0026.png
inflating: images/logo1080p_10fps0027.png
inflating: images/logo1080p_10fps0028.png
inflating: images/logo1080p_10fps0029.png
inflating: images/logo1080p_10fps0030.png
inflating: images/logo1080p_10fps0031.png
inflating: images/logo1080p_10fps0032.png
inflating: images/logo1080p_10fps0033.png
inflating: images/logo1080p_10fps0034.png
inflating: images/logo1080p_10fps0035.png
inflating: images/logo1080p_10fps0036.png
inflating: images/logo1080p_10fps0037.png
inflating: images/logo1080p_10fps0038.png
inflating: images/logo1080p_10fps0039.png
inflating: images/logo1080p_10fps0040.png
inflating: images/logo1080p_10fps0041.png
inflating: images/logo1080p_10fps0042.png
inflating: images/logo1080p_10fps0043.png
inflating: images/logo1080p_10fps0044.png
inflating: images/logo1080p_10fps0045.png
inflating: images/logo1080p_10fps0046.png
inflating: images/logo1080p_10fps0047.png
inflating: images/logo1080p_10fps0048.png
inflating: images/logo1080p_10fps0049.png
inflating: images/logo1080p_10fps0050.png
inflating: images/logo1080p_10fps0051.png
inflating: images/logo1080p_10fps0052.png
inflating: images/logo1080p_10fps0053.png
inflating: images/logo1080p_10fps0054.png
inflating: images/logo1080p_10fps0055.png
inflating: images/logo1080p_10fps0056.png
inflating: images/logo1080p_10fps0057.png
inflating: images/logo1080p_10fps0058.png
inflating: images/logo1080p_10fps0059.png
inflating: images/logo480p_10fps0000.png
inflating: images/logo480p_10fps0001.png
inflating: images/logo480p_10fps0002.png
inflating: images/logo480p_10fps0003.png
inflating: images/logo480p_10fps0004.png
inflating: images/logo480p_10fps0005.png
inflating: images/logo480p_10fps0006.png
inflating: images/logo480p_10fps0007.png
inflating: images/logo480p_10fps0008.png
inflating: images/logo480p_10fps0009.png
inflating: images/logo480p_10fps0010.png
inflating: images/logo480p_10fps0011.png
inflating: images/logo480p_10fps0012.png
inflating: images/logo480p_10fps0013.png
inflating: images/logo480p_10fps0014.png
inflating: images/logo480p_10fps0015.png
inflating: images/logo480p_10fps0016.png
inflating: images/logo480p_10fps0017.png
inflating: images/logo480p_10fps0018.png
inflating: images/logo480p_10fps0019.png
inflating: images/logo480p_10fps0020.png
inflating: images/logo480p_10fps0021.png
inflating: images/logo480p_10fps0022.png
inflating: images/logo480p_10fps0023.png
inflating: images/logo480p_10fps0024.png
inflating: images/logo480p_10fps0025.png
inflating: images/logo480p_10fps0026.png
inflating: images/logo480p_10fps0027.png
inflating: images/logo480p_10fps0028.png
inflating: images/logo480p_10fps0029.png
inflating: images/logo480p_10fps0030.png
inflating: images/logo480p_10fps0031.png
inflating: images/logo480p_10fps0032.png
inflating: images/logo480p_10fps0033.png
inflating: images/logo480p_10fps0034.png
inflating: images/logo480p_10fps0035.png
inflating: images/logo480p_10fps0036.png
inflating: images/logo480p_10fps0037.png
inflating: images/logo480p_10fps0038.png
inflating: images/logo480p_10fps0039.png
inflating: images/logo480p_10fps0040.png
inflating: images/logo480p_10fps0041.png
inflating: images/logo480p_10fps0042.png
inflating: images/logo480p_10fps0043.png
inflating: images/logo480p_10fps0044.png
inflating: images/logo480p_10fps0045.png
inflating: images/logo480p_10fps0046.png
inflating: images/logo480p_10fps0047.png
inflating: images/logo480p_10fps0048.png
inflating: images/logo480p_10fps0049.png
inflating: images/logo480p_10fps0050.png
inflating: images/logo480p_10fps0051.png
inflating: images/logo480p_10fps0052.png
inflating: images/logo480p_10fps0053.png
inflating: images/logo480p_10fps0054.png
inflating: images/logo480p_10fps0055.png
inflating: images/logo480p_10fps0056.png
inflating: images/logo480p_10fps0057.png
inflating: images/logo480p_10fps0058.png
inflating: images/logo480p_10fps0059.png
inflating: images/logo720p_10fps0000.png
inflating: images/logo720p_10fps0001.png
inflating: images/logo720p_10fps0002.png
inflating: images/logo720p_10fps0003.png
inflating: images/logo720p_10fps0004.png
inflating: images/logo720p_10fps0005.png
inflating: images/logo720p_10fps0006.png
inflating: images/logo720p_10fps0007.png
inflating: images/logo720p_10fps0008.png
inflating: images/logo720p_10fps0009.png
inflating: images/logo720p_10fps0010.png
inflating: images/logo720p_10fps0011.png
inflating: images/logo720p_10fps0012.png
inflating: images/logo720p_10fps0013.png
inflating: images/logo720p_10fps0014.png
inflating: images/logo720p_10fps0015.png
inflating: images/logo720p_10fps0016.png
inflating: images/logo720p_10fps0017.png
inflating: images/logo720p_10fps0018.png
inflating: images/logo720p_10fps0019.png
inflating: images/logo720p_10fps0020.png
inflating: images/logo720p_10fps0021.png
inflating: images/logo720p_10fps0022.png
inflating: images/logo720p_10fps0023.png
inflating: images/logo720p_10fps0024.png
inflating: images/logo720p_10fps0025.png
inflating: images/logo720p_10fps0026.png
inflating: images/logo720p_10fps0027.png
inflating: images/logo720p_10fps0028.png
inflating: images/logo720p_10fps0029.png
inflating: images/logo720p_10fps0030.png
inflating: images/logo720p_10fps0031.png
inflating: images/logo720p_10fps0032.png
inflating: images/logo720p_10fps0033.png
inflating: images/logo720p_10fps0034.png
inflating: images/logo720p_10fps0035.png
inflating: images/logo720p_10fps0036.png
inflating: images/logo720p_10fps0037.png
inflating: images/logo720p_10fps0038.png
inflating: images/logo720p_10fps0039.png
inflating: images/logo720p_10fps0040.png
inflating: images/logo720p_10fps0041.png
inflating: images/logo720p_10fps0042.png
inflating: images/logo720p_10fps0043.png
inflating: images/logo720p_10fps0044.png
inflating: images/logo720p_10fps0045.png
inflating: images/logo720p_10fps0046.png
inflating: images/logo720p_10fps0047.png
inflating: images/logo720p_10fps0048.png
inflating: images/logo720p_10fps0049.png
inflating: images/logo720p_10fps0050.png
inflating: images/logo720p_10fps0051.png
inflating: images/logo720p_10fps0052.png
inflating: images/logo720p_10fps0053.png
inflating: images/logo720p_10fps0054.png
inflating: images/logo720p_10fps0055.png
inflating: images/logo720p_10fps0056.png
inflating: images/logo720p_10fps0057.png
inflating: images/logo720p_10fps0058.png
inflating: images/logo720p_10fps0059.png
inflating: system.img
Handing off control to imager.sh
Changing directory to /tmp/tmp.KtrWD7
ROOTED-13300-V1.1: Imager.sh now running.
ROOTED-13300-V1.1: Flashing Kernel...
Flashing boot.img to kernel (mtd2)
ROOTED-13300-V1.1: Flashing System...
Flashing system.img to rootfs (mtd3)
ROOTED-13300-V1.1: Deleting boot.img and system.img to free up space in /tmp so we can mount SquashFS.
ROOTED-13300-V1.1: Starting SquashFS Modification
Setting up squashfs union at /tmp/tmp.yey4Ay
ROOTED-13300-V1.1: Replacing Boot Animation
ROOTED-13300-V1.1: Disabling OTA Updates
ROOTED-13300-V1.1: Adding BusyBox Tools
ROOTED-13300-V1.1: Adding ADB
ROOTED-13300-V1.1: Enabling ADB & Telnet at system startup
ROOTED-13300-V1.1: Done editing SquashFS, Now compressing/saving.
Reflashing squashfs union at /tmp/tmp.yey4Ay
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /tmp/tmp.yey4Ay/repack.sqfs, block size 131072.

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, no xattrs
duplicates are removed
Filesystem size 70978.89 Kbytes (69.32 Mbytes)
54.15% of uncompressed filesystem size (131068.61 Kbytes)
Inode table size 20281 bytes (19.81 Kbytes)
27.68% of uncompressed inode table size (73273 bytes)
Directory table size 19110 bytes (18.66 Kbytes)
43.26% of uncompressed directory table size (44175 bytes)
Number of duplicate files found 145
Number of inodes 1783
Number of files 1311
Number of fragments 75
Number of symbolic links 381
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 91
Number of ids (unique uids + gids) 5
Number of uids 4
root (0)
default (1000)
unknown (1013)
unknown (1001)
Number of gids 5
root (0)
default (1000)
unknown (1013)
unknown (1001)
unknown (1006)
Flashing /tmp/tmp.yey4Ay/repack.sqfs to rootfs (mtd3)
ROOTED-13300-V1.1: Wiping data, AKA, factory reset.
Mounting userdata (mtd5) at /tmp/tmp.Df3UeY
Clearing userdata partition (/tmp/tmp.Df3UeY)
Unmounting /tmp/tmp.Df3UeY
ROOTED-13300-V1.1: Script Finished!
Flashing succeeded
Rebooting
Unmounting and removing /tmp/tmp.gXUZto

It just rebooted... and I get the chromecast pwnd logo

rebooted again, black screen, some flashes, ...

still rebooting...

untill "though we ran into a slight hickup and we're attempting to fix it"

screenshot coming

I saw this screen, I unplugged, rebooted, same loop

then I attached flashdisk again, I can still boot flashcast, but it does not connect to the wifi. I tried connecting a keyboard, but no luck (not even ctrl-alt-del) on getting a shell

so I rebooted, and I'm trying the google autofix now...

I guess OTA are out of the question (wifi setup erased), so wondering what is happening

reboots again..stuck... brick...

suggestions?

K