[Android Stick & Console RockChip based Computers] jalcot:
Download or cook the PRE-ROOTED firmware for ATV580 (Mygica/Geniatech) Rockchip RK3188 ARM Cortex A9 x 4 CPU.

DOWNLOAD ROM - [ROOTED & CLEAN]

Mygica ATV580 Tazpown Firmware (Build 20131213.20140309):

- Download: ATV580.Tazpown.Firmware.Build-20131213.20140309.zip -

Build Information:

Change log:

Installation Tips:

For a complete information about how install this rom image, scroll down to the bottom of the post.

COOK YOUR OWN CUSTOM FIRMWARE FOR MYGICA ATV580 - DIY!

You can watch the full tutorial process on this video (this video is a little help, the complete steps its only here in this post).

https://www.dropbox.com/s/88330vv1q3p1pzu/Mygica580-custom-firmware.mov

Original Non-Rooted Mygica Latest ATV580 Stock Firmware (official):

http://www.mygicausa.com/boards/search?searchterms=atv580

Based Mygica Official Build 20131012 Android 4.2.2: https://www.dropbox.com/s/kopamtzdr7gv63d/update20131012.img

Based Mygica Official Build 20131213 Android 4.2.2: https://www.dropbox.com/s/36rkjlf98k47uyc/update20131213.img

1. [ON WINDOWS] Extract Rocket Firmware with imgRePackerRK 1.04

imgRePackerRK RockChip's firmware images (*.img) unpacker/packer. Version 1.04 Windows & Linux

http://xdaforums.com/showthread.php?t=2257331&page=2.

How to unpack a firmware IMG (Windows):

1. Obtain firmware IMG [update.img] and imgRePackerRk [above]

2. Extract imgRePackerRk

3. Open command prompt in directory containing imgRePackerRk.exe [hold shift, right click > "open command window here"]

4. Type "imgRePackerRk.exe {IMG_name}.img" [e.g. "imgRePackerRk.exe update.img"]

5. A new directory called "{IMG_name}.img.dump" [e.g. "update.img.dump"] will be created, containing individual IMGs (system.img)

2. [ON UBUNTU] Mount system.img on Ubuntu and mofify!

sudo mount -t ext4 system.img system-folder -o loop

2.1. [ON UBUNTU] Rooted Android Firmware.

We use SuperSU. You can get SU and BUSYBOX commands from another Android Distribution compatible with RK3188 devices.

In this case we obtained root commands bin/su bin/busybox and xbin/su Rocket 3188 firmware root tools:

RK3066/RK3188 Development Kitchen/Tool by Rockchipfirmware.com/TNT/FMA

You can also get su and busy box commands from:

Minix Neo X7 Custom Firmware

root@administrator-laptop:~/atv/rk3XXX_mod_tool/ref/bin# cp su ~/atv/system-folder/bin/
root@administrator-laptop:~/atv/rk3XXX_mod_tool/ref/bin# cp busybox ~/atv/system-folder/bin/
root@administrator-laptop:~/atv/rk3XXX_mod_tool/ref/xbin# cp su ~/atv/system-folder/xbin

#!/bin/bash
#add needed files
sudo cp -fap ~/atv/rk3XXX_mod_tool/ref/bin/su system-folder/bin/su
sudo cp -fap ~/atv/rk3XXX_mod_tool/ref/xbin/su system-folder/xbin/su
sudo cp -fap ~/atv/rk3XXX_mod_tool/ref/bin/busybox system-folder/bin/busybox

#set permissions
sudo chown root:root bin/su
sudo chmod 6755 bin/su
sudo chown root:root bin/busybox
sudo chmod 6755 bin/busybox
sudo chown root:root xbin/su
sudo chmod 6755 xbin/su

This is everything you need for rooting the system. Later you can download SuperSu from Android Play Store Official.

2.2.- [ON UBUNTU] Removed most Chinese and unnecessary or obsolete applications.]

system-folder/app/

rm -rf com.waxrain.airplayer-1.apk
rm -rf eHomeMediaCenter_box.apk
rm -rf Facebook_299369.apk
rm -rf flashplayer
rm -rf Music.apk
rm -rf QuickSearchBox.apk
rm -rf RkApkinstaller.apk
rm -rf RkExplorer.apk
rm -rf RKGameControlSettingV1.0.1.apk
rm -rf RkVideoPlayer.apk
rm -rf WifiDisplay.apk
rm -rf youtube_5.0.21.apk

If you really need some of these apps, I packet them into a zip file so you can install them easily as you need:

Download:

Official Mygica Firmware Deleted Apps

2.3. [ON UBUNTU] Modify vold.fstab to mount external_sd to REAL sdcard, so you can get more space for your Apps.

VERY CAREFUL WITH THIS!! Just locate duplicate, comments old lines (for security) and modify:

/etc# vi /etc/vold.fstab

#dev_mount flash /mnt/sdcard auto /dev/block/mtd/by-name/user
#dev_mount sdcard /mnt/external_sd auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
dev_mount flash /mnt/sdcard auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
dev_mount sdcard /mnt/external_sd auto /devices/virtual/mtd/mtd9/mtdblock9

To make the externalised writable, you must edit "platform.xml", from "/etc/permissions" adding in "android.permission.WRITE_EXTERNAL_STORAGE" this: <group gid="media_rw" /> Like this:

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>

2.4. [ON UBUNTU] FIX Youtube black screen (only audio) on build update.img (UPDATE 20131213)

Edit build.prop file, in order to fix Youtube black screen when playing videos:

sys.browser.use.overlay = 1

2.5. [ON UBUNTU] Umount Custom System folder (system.img) and copy again to Windows.

Umount system image (system.img) and copy back to windows machine, to repack with imgRePackerPk utility:

umount system-folder/

3. [ON WINDOWS] Build again the new custom firmware

How to repack a firmware IMG (Windows) [Assuming you have followed above to unpack]

1. Open command window in directory containing imgRePackerRk.exe and *.dump directory

2. Type "imgRePackerRk.exe {dump_name}.dump" [e.g. "imgRePackerRk.exe update.img.dump"]

3. New firmware IMG will be created [name will be name of .dump directory without .dump extension]

4. INSTALL ROM ON DEVICE (update.img)

Put the cooked update.img on USB or SDCard, and insert it on Mygica ATV580, then you can apply the update automatically. Your device will reboot and the firmware update will start. The Mygica Bootloader will search for a file called update.img automatically on external_sd micro sdcard. So you should have an micro sdcard inserted on the device.

IMPORTANT: If the Mygica Bootloader show an error like update.img not found when it try to start update process. Probably is because of switched external_sd with internal flash sdcard, probably the updater bootloader won't find the update.img firmware when reboot. This has a simple solution, just manually copy update.img to both, external_sd and sdcard directory. You should need an good tool like Solid Explorer (available en Android Play Store).

IMPORTANT: If the previous method doesn't help you to install the update.img. You can use an editor to switch back to the original mount external_sd and flash sdcard points in /etc/vold.fstab. You should revert the changes on this file. You should need an good tool like Solid Explorer (available en Android Play Store).

IMPORTANT: Before Install this Rooted Original Firmware, remember it is better to RESET DEVICE, so you can make a brand new install cleaning all data files from the previous firmware.

IN CASE OF EMERGENCY (ALTERNATIVES TO SAVE A BRICKED ATV580)!

In case of you brick your ATV580, there is a way to recover it from the dead... Using Android Recovery System. I don't have the full firmware ready for this, but I made some research about how create FLASEABLE ZIP IMAGES for Android Recovery System. So the trick is create a Flashable Zip with our native update.img firmware inside.

To start Android Recovery System, boot ATV580 use a simple clip putting it on a small hole button located an the bottom of the device and connect power supply at the same time during about 5 seconds. Then you can get into this mode, you can use your remote to navigate the menu. In this mode you can load Flasheable Zip loading this files from Computer to SDCARD reader and then to your device.

- Tools and Samples to Build a Flasheable Zip for Android Recovery System (Save your ATV580) rksigner_tazpown-20140324.zip -

This packet include a sample of flasheable zip for Mygica ATV580 that restore build.prop file from a damaged one, which causes the system boot loop and bricked.Just copy the signed Flasheable Zip and use System Recovery System to load it. This flasheable zip fix the system. If you know the problem or you have enough experience to put a right copy of update.img on Flasheable Zip, you can save any bricked or boot loop device, with this tools. You have more docs and information inside of this package.

Screenshots during the flashing process for the sample flashing included in the tools:

- Android Recovery System

- Android Recovery System Flashing my own Flasheable ZIP

Thanks! Dont Forget To PRESS THANKS Button :good:

If you like my work, please consider to invite me a cup of coffee here! ​

​