WeTek Community Forum

Soft Recovery for WeTek Play/OpenELEC

MC117MC117 Posts: 3,707Administrator - WeTek Community Manager
edited January 3 in Recovery
Hello everyone,

This topic is to share the zip files of Soft Recovery

Well, these recoveries are for bricked WeTek.

Imagine you're making a new update, and the power is cut out...
Imagine you're trying a unofficial build and the WeTek stops working...

These recoveries will help you to "revive" your WeTek Play/ WeTek OpenELEC

Let's start

For this you need:
1.microSD Card
2.SDcardMaker
3.u-boot.bin
4.Serial debug connection + PuTTY(or some other application)
RS232 Serial Cable (included on WeTek)
Serial cable on PC (if you don't, you might need a USB to Serial adaptor)

Download the Soft-Recovery

And

https://s3-eu-west-1.amazonaws.com/static.wetek.com/storage/tutorial/pdf/5498813a-5c34-44c2-b3e3-0e7a25fc7e5d-WeTekTutorialHowtomakelogwithRS232cable.pdf


PREPARE RECOVERY

Start SDcardMaker as Administrator (Right click RunAs)

Pic_1.png

After start button, wait for done message , close SDcardMaker, eject microSD Card

Put microSD Card (again) in card reader, copy u-boot.bin on microSD Card, when done - eject microSD Card

HOW RECOVER BOX

Remove Power cable from Wetek Play
Connect serial cable to WeTek Play and PC and start a remote terminal session
Put microSD Card in Wetek Play
Connect Power cable and wait to start booting,
As soon you got the first log lines on terminal session, break boot using CTRL+C keys.

You should now have a prompt “wetek# “, if you fail to get it, please restart box by plug out/in power cable
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.11.17 11:57:07 =~=~=~=~=~=~=~=~=~=~=~=
EEEE I3000000032940xf3001103  03;77520EEEE I400000004294_M6_BL1_3431    >2534313
TE : 396083
BT : 14:37:19 Jan 29 2015

CPU clock is 1200MHz


wait pll-0x03 target is 0204 now it is 0x00000203

DDR clock is 516MHz with Low Power & 2T mode

DDR training :
DX0DLLCR:40000000
DX0DQTR:ffffffff
DX0DQSTR:3db05001
DX1DLLCR:40000000
DX1DQTR:ffffffff
DX1DQSTR:3db05001
DX2DLLCR:40000000
DX2DQTR:ffffffff
DX2DQSTR:3db05001
DX3DLLCR:40000000
DX3DQTR:ffffffff
DX3DQSTR:3db05001
Stage 00 Result 00000000
Stage 01 Result 00000000
Stage 02 Result 00000000
Stage 03 Result 00000000

DDR init use : 42463 us

HHH
CLK81=200Mhz
ucl decompress
decompress finished
0x12345678
Boot from ext dev
TE : 1566928

System Started


U-boot(wetek@) (Jan 29 2015 - 14:37:08)

aml_rtc_init
aml rtc init first time!
clr h-ram
DRAM:  1 GiB
relocation Offset is: 105e0000
MMC:   [mmc_register] add mmc dev_num=0, port=1, if_type=6
[mmc_register] add mmc dev_num=1, port=2, if_type=6
SDIO Port B: 0, SDIO Port C: 1
NAND:  Amlogic nand flash uboot driver, Version U1.06.020 (c) 2010 Amlogic Inc.
SPI BOOT : continue i 0
No NAND device found!!!
NAND device id: 2c 44 44 4b a9 0
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x2c (Micron D revision NAND 4GiB MT29F32G08CBADA)
1 NAND chips detected
#####aml_nand_init, with RB pins and chip->chip_delay:20
bus_cycle=5, bus_timing=6, start_cycle=6, end_cycle=7,system=5.0ns
oob size is not enough for selected bch mode: NAND_BCH60_1K_MODE force bch to mode: NAND_BCH40_1K_MODE
aml_chip->oob_fill_cnt =168,aml_chip->oob_size =744,bch_bytes =70
multi plane error for selected plane mode: NAND_TWO_PLANE_MODE force plane to : NAND_SINGLE_PLANE_MODE
aml_nand_init:oobmul =1,chip->ecc.layout->oobfree[0].length=16,aml_chip->oob_size=744
aml nand env valid addr: 200000 ,status =0
key start_blk=2040,end_blk=2047,aml_nand_key_init:684
aml nand key valid addr: ff000000
aml nand key valid addr: ff200000
aml nand key valid addr: ff400000
aml nand key valid addr: ff600000
CONFIG_KEYSIZE=0x10000; KEYSIZE=0xfffc; bbt=0x1330; default_keyironment_size=0xeccc
i=0,register --- nand_key
 NAND bbt detect Bad block at 0
 NAND bbt detect factory Bad block at b400000
 NAND bbt detect factory Bad block at b600000
 NAND bbt detect factory Bad block at 11a00000
 NAND bbt detect Bad block at 61c00000
aml_nand_add_partition:2244 find 0 bad addr =782
 NAND bbt detect factory Bad block at e7600000
Creating 8 MTD partitions on "nandnormal":
0x000000800000-0x000001000000 : "logo"
0x000001000000-0x000001800000 : "aml_logo"
0x000001800000-0x000002000000 : "recovery"
0x000002000000-0x000002800000 : "boot"
0x000002800000-0x000042e00000 : "system"
 NAND bbt detect factory Bad block at b400000
 NAND bbt detect factory Bad block at b600000
 NAND bbt detect factory Bad block at 11a00000
0x000042e00000-0x000062e00000 : "cache"
 NAND bbt detect Bad block at 61c00000
0x000062e00000-0x000072e00000 : "backup"
0x000072e00000-0x0000ff000000 : "userdata"
 NAND bbt detect factory Bad block at e7600000
nandnormal initialized ok
detect mx chiprevD :1 and nand_type: 40
nand_curr_device =1
SPI BOOT,spi_env_relocate_spec : env_relocate_spec 53
SF: Detected MX25L3205D with page size 256, total 4 MiB

SPI NOR Flash have write protect!!!
In:    serial
Out:   serial
Err:   serial
register usb cfg[0][1] = 9fe85ad0
Net:   Meson_Ethernet
init suspend firmware done. (ret:0)
detect_storage
nand exist return 0
setenv storage nand
reboot_mode=charging
wipe_data=success
ir init
Hit Enter key to stop autoboot -- :  1 tstc enter

exit abortboot: 1
wetek#<INTERRUPT>
wetek#<INTERRUPT>
wetek#<INTERRUPT>
wetek#<INTERRUPT>
wetek#<INTERRUPT>
wetek#

Type this commands:
mmcinfo
fatload mmc 0 0x82000000 u-boot.bin
sf probe 2
sf erase 0 60000
sf write 0x82000000 0 60000
sf erase 0x100000 0x8000
reset

After reboot, if all was OK you should boot normally
You can always re-install the original WeTek OS or OpenELEC

Best regards

«1

Comments

  • 8Muddypaws8Muddypaws Posts: 28WeTek Community Member
    MasterChief, can you post a link to a working SDCardMaker and u-boot.bin download? I suspect that the ones I have are corrupted. Every site I tried to download them from is trying to push viruses and crapware onto my laptop.
  • MC117MC117 Posts: 3,707Administrator - WeTek Community Manager
    These ones are directly from my mega account.

    Checked the now with W10 with Kaspersky and another one with Nod32 and no issue.

    Best regards

  • PuddlePuddle Posts: 22WeTek Community Member
    Hi,
    I followed the tutorial, and I'm stuck here on the last post I made on this thread now. - http://wetekforums.com/vb5/forum/wet...ickedddd/page2

    ~ How can I press CTRL+C quickly enough? Is there a knack to it, or am I doing something wrong?
  • PuddlePuddle Posts: 22WeTek Community Member
    This is the logfile on the PC Desktop Attachment not found.
  • PuddlePuddle Posts: 22WeTek Community Member
    Okay, Where it says "wetek#" in the tutorial, mine says "m6_mbx_v1#" which is the real name for the box image I used.

    How do I get that back to say "wetek#"?

    Should I type in those commands anyway?

    Or

    Should I try the hard reset?
    I didn't fancy trying that. Can it go badly wrong?
  • NE0NE0 Posts: 808WeTek Community Member
    seems you've loaded a bootloader form a different device and you have had luck all went fine.

    U-boot(m6_mbx_v1@0e184153) (Sep 24 2013 - 09:23:02)

    just to add a reference here http://wetekforums.com/vb5/forum/wetek-play/q-a-help-troubleshooting/recovery/20142-hard-recovery-for-wetek?p=21226#post21226
    since you were able to recover you device.
  • ianwianw Posts: 11WeTek Community Member
    How do I start a Remote Terminal Session on my PC ?
  • ianwianw Posts: 11WeTek Community Member
    thanks NE0 - great help as always - Merry Xmas guys
  • vicioptviciopt Posts: 186WeTek Community Member
    @MasterChief117 I had to use this method to unbrick my Wetek Openelec, but now I see that the boot logo is from Wetek Play. I'm not sure if this is ok, and even if it is a problem, or if there is a specific uboot for the wetek OE.

    Nevertheless, the method works and the box is working good with OE in nand and LE in mSD.
  • NE0NE0 Posts: 808WeTek Community Member
    Now you officially have a WeTek.Play with oragne LED's.
  • vicioptviciopt Posts: 186WeTek Community Member
    ahah @NE0 ! I used the wrong uboot? Can I revert to the original? Don't know if this can cause any issues....
  • NE0NE0 Posts: 808WeTek Community Member
    There is no need to change anything for now, and it's perfectly safe to use it as is.

    codesnake should be preparing a new u-boot for OE/LE, so we will be able to use the selective boot option like for Android (power button press to change boot order).

    Anyhow, to stay on topic, the method above is perfectly safe for both WeTek.Play and WeTek.OpenELEC
  • vicioptviciopt Posts: 186WeTek Community Member
    Great @NE0 ! Thank you.

    Maybe this method can me updated when @codesnake finish his work.
  • jiripaskajiripaska Posts: 56WeTek Community Member
    edited June 2016
    Colud please anyone help me?On wetek openelec version. I did all the steps described on the start of this thread but no success.

    Log here.
  • MC117MC117 Posts: 3,707Administrator - WeTek Community Manager
    I'm on my mobile and opening a log here isn't a good UI.

    I'll check it later on the day.

    Best regards

  • MC117MC117 Posts: 3,707Administrator - WeTek Community Manager
    Hi

    I already checked the Log and everything is OK

    You now need to install Android or OpenELEC on NAND

    Please take the advice of my colleague @NE0 and use the SD formatter to format the mSD card and then use the NAND image you want.
    NE0 said:

    Log looks fine, please try https://www.sdcard.org/downloads/formatter_4/ before you try to install any system back to the Nand storage.

    The Amlogic sd card maker tool creates 2 partitions on you sd card which need to be removed before trying to load the recovery form the sd card.

    Best regards

  • kidder78kidder78 Posts: 7WeTek Community Member
    edited June 2016
    Really lost here, can anyone help.
    Followed procedure but putty just goes into loop and I cant break cycle by pressing ctrl-c.
    got my putty log but not sure where to go. can anyone help.
    Thanks

    link to putty.log
    https://drive.google.com/open?id=0B0h8FaeKCFsuUHJnY3BPNXUyZkU
  • MC117MC117 Posts: 3,707Administrator - WeTek Community Manager
  • menfishermenfisher Posts: 14WeTek Community Member
    Hey there,

    I also have a bricked Wetek OpenELEC Box.
    I btried to fix it with the tutorial, but my putty-Log looks quite different.
    http://gofile.me/3ih3G/ZHoA0mGLv
    Can I fix the Box or must I send it to the Wetek-Support?

    Thanks and best regards
  • AnimaAnima Posts: 1,988WeTek Support Team
    Hello @menfisher

    I can't seem to access your link.

  • menfishermenfisher Posts: 14WeTek Community Member
    Anima said:

    Hello @menfisher

    I can't seem to access your link.

    Oh, here is another Link:
    https://www.dropbox.com/s/bc9unbiuax931nr/putty.log?dl=0

  • AnimaAnima Posts: 1,988WeTek Support Team
    Hello

    You can try the Hard-recovery method.
    It is similar to the soft recovery.
    http://www.wetekforums.com/v/index.php?p=/discussion/20142/hard-recovery-for-wetek

    If if does not change the way the boot shows, you better let wetek support take a look at it.

    Best regards

  • menfishermenfisher Posts: 14WeTek Community Member
    Anima said:

    Hello

    You can try the Hard-recovery method.
    It is similar to the soft recovery.
    http://www.wetekforums.com/v/index.php?p=/discussion/20142/hard-recovery-for-wetek

    If if does not change the way the boot shows, you better let wetek support take a look at it.

    Best regards

    Thank you for the quick answer.
    I almost tried the hard recovery but without any change.
  • JondalarJondalar Posts: 1WeTek Community Member
    Hi there,

    is there any tool/instructions how to do this on a mac/linux pc? I do not have windows here in my house and I would not like to buy a license for a VM just to flash my SD card properly :-)

    Any hint/link is highly appreciated.

    Cheers,
    J*
  • NedScottNedScott Posts: 1,123WeTek Community Member
    Jondalar said:

    Hi there,

    is there any tool/instructions how to do this on a mac/linux pc? I do not have windows here in my house and I would not like to buy a license for a VM just to flash my SD card properly :-)

    Any hint/link is highly appreciated.

    Cheers,
    J*

    Sure thing. The sdcardcreator is nothing more than formatting the SD card as Fat32 and then coping the u-boot.bin file to the mSD card. You can easily do that with Disk Utility and the Finder.

    I used CoolTermMac for the serial connection. Just be sure to install the serial drivers for your USB-to-serial cable. My cable was using a Prolific chipset, so I used this driver: http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=229&pcid=41

    I've been meaning to write a full tutorial about this and will try to get it done today (Sunday). Let me know if you need any other help or hints before then.


    former WeTek Support team member, now just a friendly volunteer.
  • 1999gtv1999gtv Posts: 174WeTek Community Member
    edited December 2016
    One of my Wetek Openelec boxes has just stopped working, it has been running Libreelec 7.02 on nand for the last month and has been fine. I have the same issue as Jondalar I do not possess a windows pc, I have 3 linux laptops none of these have rs232 ports so have ordered one of these arriving tomorrow.

    Ugreen USB to RS232 Serial DB9 9 pin Converter Adapter Cable Compatible with Windows 10/8/7/Vista/XP/2000 and Mac OS X 10.6 to 10.11 EI Capitan,Driverless for Win8.1/8, with PL2303 Chipset 1m

    Will this do the trick and how to run under linux as the amlogic tool is exe file and to run it under wine it is not granted administrator access so does not have the necessary privileges. Is there an alternative linux based program and did you get the linux guide done @NedScott . If you have done the guide could you send a link please as I cannot find anything relevant on the forum. The only people I know who have windows pcs have been supplied them for their work and cannot install any programs on them, son in law does have a mac book air I can use though. The Wetek boots to black screen no bootlogo even and any attempt to boot a recovery image or to recovery itself fails. Only one orange light shows I have also replugged internal sim and tried 2 different power supplies I think she is dead Jim
  • 1999gtv1999gtv Posts: 174WeTek Community Member
    Now unbricked, it is possible using Linux once you manage to get the com ports and drivers sorted and the cable I used above worked at first attempt. Instead of amlogic sd card maker I used the instructions found on Stane 1983 website to unbrick amlogic devices by making a bootable usb recovery card, does basically the same as the sdcard maker and is easy to do via command line.
  • saDeKsaDeK Posts: 37WeTek Community Member
    Is this guide also valid for a WP2 that no longer starts in recovery mode?
  • ThrallThrall Posts: 3,321WeTek Support Team
    No, do not attempt this on your device, this is for a different model. This will not work on WP2 and you have the big chance to brink your device.
    Best Regards

Sign In or Register to comment.
© Copyright 2014 - Creative Dreams | Powered by Vanilla
All times are UTC