CWM-based Recovery for RK3066 devices

Forum for RockChip RK3066 based devices
JugsteR
Posts: 36
Joined: Sun Jan 20, 2013 4:12 pm

Re: CWM-based Recovery for RK3066 devices

Postby JugsteR » Sun Feb 24, 2013 9:38 am

fun wrote:
JugsteR wrote:Where have you found that information?

Google only shows me tablets when I search.

Signature? Signature!


please see topic, here is thread to talk about my CWM. what I said is don't use my CWM on different device.
I have no relation to any maker/vendor. I don't have any official information about new product.

Fell free to delete my posts. I thought you had some info on rk3188 TV sticks but apparently you meant devices as in android devices not as in android TV sticks. I didn't mean to make you think I thought you had any relation to anyone actually, sorry for that.

Signature? Signature!

fun
Posts: 124
Joined: Wed Nov 07, 2012 11:09 am

Re: CWM-based Recovery for RK3066 devices

Postby fun » Sun Feb 24, 2013 9:55 am

JugsteR wrote:Fell free to delete my posts. I thought you had some info on rk3188 TV sticks but apparently you meant devices as in android devices not as in android TV sticks. I didn't mean to make you think I thought you had any relation to anyone actually, sorry for that.


now I understand you asked about TV stick. I thought you asked exact release date from factory or something. anyway, I have no information more than googled.

User avatar
b0li
Posts: 19
Joined: Sun Dec 23, 2012 4:14 am

Re: CWM-based Recovery for RK3066 devices

Postby b0li » Sun Feb 24, 2013 1:11 pm

Because of the 01.01.1970 timestamp, I renamed my backup, And now I get MD5 mismatch. Can I do something? Im in the boot loop and cant enter in system.

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: CWM-based Recovery for RK3066 devices

Postby leolas » Sun Feb 24, 2013 1:20 pm

Maybe a corrupted backup? I rename my copies a lot of time and no problem.

User avatar
b0li
Posts: 19
Joined: Sun Dec 23, 2012 4:14 am

Re: CWM-based Recovery for RK3066 devices

Postby b0li » Sun Feb 24, 2013 3:01 pm

Thanks. Looks that way. Ill have to flash new rom ftom scratch, I guess...

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: CWM-based Recovery for RK3066 devices

Postby leolas » Sun Feb 24, 2013 5:24 pm

b0li wrote:Thanks. Looks that way. Ill have to flash new rom ftom scratch, I guess...


I have allways a copy in the pc.

User avatar
switchwin
Posts: 5
Joined: Mon Feb 11, 2013 6:35 pm
Location: Switzerland

Re: CWM-based Recovery for RK3066 devices

Postby switchwin » Sat Mar 16, 2013 7:48 pm

fun, first all thank you for the recovery!
I'm having some problems to flashing /system. I flashed CWM (2013/2/13) and used update-binary included in your zip package to made my own updater-script but can't mount and flash /system in any way.

my part of the script:

Code: Select all

format("ext4", "MTD", "system", "0", "/system");
mount("ext4", "MTD", "system", "/system");

recovery.log:
Failed to mount /dev/block/mtdblock9 on /system: Invalid argument
mtd mount of system failed: Invalid argument

so, I tried to mount /system manually via adb and this is the output of adb shell mount system
mount: mounting /dev/block/mtd/by-name/system on /system failed: Invalid argumen

any idea how to solve this?
thanks.
Sorry for my poor english

User avatar
leolas
Posts: 90
Joined: Sun Dec 30, 2012 7:56 am

Re: CWM-based Recovery for RK3066 devices

Postby leolas » Sun Mar 17, 2013 4:07 am

switchwin wrote:fun, first all thank you for the recovery!
I'm having some problems to flashing /system. I flashed CWM (2013/2/13) and used update-binary included in your zip package to made my own updater-script but can't mount and flash /system in any way.

my part of the script:

Code: Select all

format("ext4", "MTD", "system", "0", "/system");
mount("ext4", "MTD", "system", "/system");

recovery.log:
Failed to mount /dev/block/mtdblock9 on /system: Invalid argument
mtd mount of system failed: Invalid argument

so, I tried to mount /system manually via adb and this is the output of adb shell mount system
mount: mounting /dev/block/mtd/by-name/system on /system failed: Invalid argumen

any idea how to solve this?
thanks.

You can mount it with run program and call mount, or there are an easy way to flash system with the binary included in the installation zip flash-image.
http://www.FreakTab.com/showthread.php?t=4023
You can use this basic script if you want. It works.

fun_ can I use your recovery inside my modded roms?

Thanks for your work.

fun
Posts: 124
Joined: Wed Nov 07, 2012 11:09 am

Re: CWM-based Recovery for RK3066 devices

Postby fun » Mon Mar 18, 2013 9:41 am

switchwin wrote:I'm having some problems to flashing /system. I flashed CWM (2013/2/13) and used update-binary included in your zip package to made my own updater-script but can't mount and flash /system in any way.

my part of the script:

Code: Select all

format("ext4", "MTD", "system", "0", "/system");
mount("ext4", "MTD", "system", "/system");

recovery.log:
Failed to mount /dev/block/mtdblock9 on /system: Invalid argument
mtd mount of system failed: Invalid argument


strange. "format" was done successfully? it should be logged in recovery.log.
dmesg may have some information.

switchwin wrote:so, I tried to mount /system manually via adb and this is the output of adb shell mount system
mount: mounting /dev/block/mtd/by-name/system on /system failed: Invalid argumen

any idea how to solve this?


can you explain what you typed exactly on adb shell?
I need more information.

EDIT:
I remembered. you must NOT specify "MTD" for format(). partition is just erased(filled by 0xff) if it's "MTD". it's OK for yaffs but not OK for ext file system.
please specify "EMMC" or any other string for format(), it makes file system properly.

"MTD" is OK for mount(), it translates name of partition (e.g. "system") into real path (/dev/...).

strange? yes, I think so too. but it's not my code. it's CWM code ;)

fun
Posts: 124
Joined: Wed Nov 07, 2012 11:09 am

Re: CWM-based Recovery for RK3066 devices

Postby fun » Mon Mar 18, 2013 9:58 am

leolas wrote:fun_ can I use your recovery inside my modded roms?


yes

User avatar
switchwin
Posts: 5
Joined: Mon Feb 11, 2013 6:35 pm
Location: Switzerland

Re: CWM-based Recovery for RK3066 devices

Postby switchwin » Mon Mar 18, 2013 12:48 pm

fun wrote:EDIT:
I remembered. you must NOT specify "MTD" for format(). partition is just erased(filled by 0xff) if it's "MTD". it's OK for yaffs but not OK for ext file system.
please specify "EMMC" or any other string for format(), it makes file system properly.

"MTD" is OK for mount(), it translates name of partition (e.g. "system") into real path (/dev/...).

strange? yes, I think so too. but it's not my code. it's CWM code ;)

finally solved replacing MTD with EMMC as you suggested:

Code: Select all

format("ext4", "EMMC", "/dev/block/mtd/by-name/system", "0", "/system");
mount("ext4", "MTD", "system", "/system");

ignore my previous errors, were caused by wrong syntax of commands.

thank you!
Sorry for my poor english

fun
Posts: 124
Joined: Wed Nov 07, 2012 11:09 am

Re: CWM-based Recovery for RK3066 devices

Postby fun » Sun Apr 28, 2013 9:36 pm

a lot of device specific images are added. please check my web site.

RK3188 and some other Rockchip SoC are also supported. I'm OK to post about any Rockchip model here, but here is RK3066 subforum, it may not be good... and RK3188 user may not visit here. how should I do?


Return to “Rockchip RK3066”

Who is online

Users browsing this forum: No registered users and 1 guest