Author Topic: [How To] WM8505 - Factory ROM ScriptCMD Generating Script  (Read 2661 times)

0 Members and 1 Guest are viewing this topic.

Offline tengz08

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Received: 5
  • Posts: 35
  • Karma: +6/-0
  • Techboy in the house!
  • Tablet / Size / Model: Apad Irobot 7" (Flytouch) [BRICKED]
[How To] WM8505 - Factory ROM ScriptCMD Generating Script
« on: August 23, 2014, 11:44:11 AM »
About

   Before any modifications, it is recommended to backup your factory ROM ScriptCMD for restore purposes.

(You don't want to be sorry now, do you :cool-android:?).

Prerequisites

A Micro SD Card

Instructions

1. Copy this text:
Code: [Select]
echo "##### Displaying FDISK list"
echo "##### Displaying FDISK list" > sdcard/Fdisk.TxT
fdisk -l >> sdcard/Fdisk.TxT
echo "##### Listing"
echo "##### Listing" > sdcard/HCDiAG.TxT
ls -l /dev  >> sdcard/HCDiAG.TxT
echo "##### Running DMESG for diagnostics"
echo "##### Running DMESG for diagnostics" >> sdcard/HCDiAG.TxT
dmesg  >> sdcard/HCDiAG.TxT
echo "##### Running GETENV commands to retreive all known Android Installation SETENV parameters"
echo "##### Running GETENV commands to retreive all known Android Installation SETENV parameters" >> sdcard/HCDiAG.TxT
echo 88 >> sdcard/HCDiAG.TxT
getenv 88 >> sdcard/HCDiAG.TxT
echo BMP_ADR >> sdcard/HCDiAG.TxT
getenv BMP_ADR >> sdcard/HCDiAG.TxT
echo LCDC_FB >> sdcard/HCDiAG.TxT
getenv LCDC_FB >> sdcard/HCDiAG.TxT
echo LOGO_STRING >> sdcard/HCDiAG.TxT
getenv LOGO_STRING >> sdcard/HCDiAG.TxT
echo amp_powerdown >> sdcard/HCDiAG.TxT
getenv amp_powerdown >> sdcard/HCDiAG.TxT
echo amp_powerup >> sdcard/HCDiAG.TxT
getenv amp_powerup >> sdcard/HCDiAG.TxT
echo amp_stop_when_nouse >> sdcard/HCDiAG.TxT
getenv amp_stop_when_nouse >> sdcard/HCDiAG.TxT
echo audioic >> sdcard/HCDiAG.TxT
getenv audioic >> sdcard/HCDiAG.TxT
echo basevolt >> sdcard/HCDiAG.TxT
getenv basevolt >> sdcard/HCDiAG.TxT
echo battvoltlist >> sdcard/HCDiAG.TxT
getenv battvoltlist >> sdcard/HCDiAG.TxT
echo bluetooth_ui >> sdcard/HCDiAG.TxT
getenv bluetooth_ui >> sdcard/HCDiAG.TxT
echo bootargs >> sdcard/HCDiAG.TxT
getenv bootargs >> sdcard/HCDiAG.TxT
echo bootcmd >> sdcard/HCDiAG.TxT
getenv bootcmd >> sdcard/HCDiAG.TxT
echo bootdelay >> sdcard/HCDiAG.TxT
getenv bootdelay >> sdcard/HCDiAG.TxT
echo cam_pre_height >> sdcard/HCDiAG.TxT
getenv cam_pre_height >> sdcard/HCDiAG.TxT
echo cam_pre_width >> sdcard/HCDiAG.TxT
getenv cam_pre_width >> sdcard/HCDiAG.TxT
echo camera_chip >> sdcard/HCDiAG.TxT
getenv camera_chip >> sdcard/HCDiAG.TxT
echo camera_down >> sdcard/HCDiAG.TxT
getenv camera_down >> sdcard/HCDiAG.TxT
echo camera_mirror >> sdcard/HCDiAG.TxT
getenv camera_mirror >> sdcard/HCDiAG.TxT
echo camera_powerdown >> sdcard/HCDiAG.TxT
getenv camera_powerdown >> sdcard/HCDiAG.TxT
echo camera_powerup >> sdcard/HCDiAG.TxT
getenv camera_powerup >> sdcard/HCDiAG.TxT
echo camera_rotate >> sdcard/HCDiAG.TxT
getenv camera_rotate >> sdcard/HCDiAG.TxT
echo camera_ui >> sdcard/HCDiAG.TxT
getenv camera_ui >> sdcard/HCDiAG.TxT
echo camera_up >> sdcard/HCDiAG.TxT
getenv camera_up >> sdcard/HCDiAG.TxT
echo customer_id >> sdcard/HCDiAG.TxT
getenv customer_id >> sdcard/HCDiAG.TxT
echo dw >> sdcard/HCDiAG.TxT
getenv dw >> sdcard/HCDiAG.TxT
echo enable_gome_theme >> sdcard/HCDiAG.TxT
getenv enable_gome_theme >> sdcard/HCDiAG.TxT
echo enable_hw_scal >> sdcard/HCDiAG.TxT
getenv enable_hw_scal >> sdcard/HCDiAG.TxT
echo eth_ui >> sdcard/HCDiAG.TxT
getenv eth_ui >> sdcard/HCDiAG.TxT
echo fake_firmware_version >> sdcard/HCDiAG.TxT
getenv fake_firmware_version >> sdcard/HCDiAG.TxT
echo fake_mem >> sdcard/HCDiAG.TxT
getenv fake_mem >> sdcard/HCDiAG.TxT
echo gpiostate >> sdcard/HCDiAG.TxT
getenv gpiostate >> sdcard/HCDiAG.TxT
echo gsensor_axis >> sdcard/HCDiAG.TxT
getenv gsensor_axis >> sdcard/HCDiAG.TxT
echo gsensor_int >> sdcard/HCDiAG.TxT
getenv gsensor_int >> sdcard/HCDiAG.TxT
echo gsensor_ui >> sdcard/HCDiAG.TxT
getenv gsensor_ui >> sdcard/HCDiAG.TxT
echo hibernation_ui >> sdcard/HCDiAG.TxT
getenv hibernation_ui >> sdcard/HCDiAG.TxT
echo hpvolum >> sdcard/HCDiAG.TxT
getenv hpvolum >> sdcard/HCDiAG.TxT
echo iLike >> sdcard/HCDiAG.TxT
getenv iLike >> sdcard/HCDiAG.TxT
echo kpadid >> sdcard/HCDiAG.TxT
getenv kpadid >> sdcard/HCDiAG.TxT
echo lcdparam >> sdcard/HCDiAG.TxT
getenv lcdparam >> sdcard/HCDiAG.TxT
echo logocmd >> sdcard/HCDiAG.TxT
getenv logocmd >> sdcard/HCDiAG.TxT
echo modem3g_ui >> sdcard/HCDiAG.TxT
getenv modem3g_ui >> sdcard/HCDiAG.TxT
echo motor_ui >> sdcard/HCDiAG.TxT
getenv motor_ui >> sdcard/HCDiAG.TxT
echo musicplayer_black_cd >> sdcard/HCDiAG.TxT
getenv musicplayer_black_cd >> sdcard/HCDiAG.TxT
echo need_restore_data >> sdcard/HCDiAG.TxT
getenv need_restore_data >> sdcard/HCDiAG.TxT
echo orientation_ui >> sdcard/HCDiAG.TxT
getenv orientation_ui >> sdcard/HCDiAG.TxT
echo panelres.x >> sdcard/HCDiAG.TxT
getenv panelres.x >> sdcard/HCDiAG.TxT
echo panelres.y >> sdcard/HCDiAG.TxT
getenv panelres.y >> sdcard/HCDiAG.TxT
echo pcmvolum >> sdcard/HCDiAG.TxT
getenv pcmvolum >> sdcard/HCDiAG.TxT
echo photo_ui_slideshow_mode >> sdcard/HCDiAG.TxT
getenv photo_ui_slideshow_mode >> sdcard/HCDiAG.TxT
echo powerhold >> sdcard/HCDiAG.TxT
getenv powerhold >> sdcard/HCDiAG.TxT
echo pppoe_ui >> sdcard/HCDiAG.TxT
getenv pppoe_ui >> sdcard/HCDiAG.TxT
echo pwmparam >> sdcard/HCDiAG.TxT
getenv pwmparam >> sdcard/HCDiAG.TxT
echo regop >> sdcard/HCDiAG.TxT
getenv regop >> sdcard/HCDiAG.TxT
echo release_date >> sdcard/HCDiAG.TxT
getenv release_date >> sdcard/HCDiAG.TxT
echo release_language >> sdcard/HCDiAG.TxT
getenv release_language >> sdcard/HCDiAG.TxT
echo release_ver >> sdcard/HCDiAG.TxT
getenv release_ver >> sdcard/HCDiAG.TxT
echo rescript >> sdcard/HCDiAG.TxT
getenv rescript >> sdcard/HCDiAG.TxT
echo restore >> sdcard/HCDiAG.TxT
getenv restore >> sdcard/HCDiAG.TxT
echo sd_powerdown >> sdcard/HCDiAG.TxT
getenv sd_powerdown >> sdcard/HCDiAG.TxT
echo sd_powerup >> sdcard/HCDiAG.TxT
getenv sd_powerup >> sdcard/HCDiAG.TxT
echo sd_powerup >> sdcard/HCDiAG.TxT
getenv sd_powerup >> sdcard/HCDiAG.TxT
echo show_android_flash >> sdcard/HCDiAG.TxT
getenv show_android_flash >> sdcard/HCDiAG.TxT
echo showmemory_ui >> sdcard/HCDiAG.TxT
getenv showmemory_ui >> sdcard/HCDiAG.TxT
echo slideUnlock >> sdcard/HCDiAG.TxT
getenv slideUnlock >> sdcard/HCDiAG.TxT
echo spkvolum >> sdcard/HCDiAG.TxT
getenv spkvolum >> sdcard/HCDiAG.TxT
echo text1 >> sdcard/HCDiAG.TxT
getenv text1 >> sdcard/HCDiAG.TxT
echo text2 >> sdcard/HCDiAG.TxT
getenv text2 >> sdcard/HCDiAG.TxT
echo text3 >> sdcard/HCDiAG.TxT
getenv text3 >> sdcard/HCDiAG.TxT
echo touchcodec >> sdcard/HCDiAG.TxT
getenv touchcodec >> sdcard/HCDiAG.TxT
echo touchic >> sdcard/HCDiAG.TxT
getenv touchic >> sdcard/HCDiAG.TxT
echo touchirq >> sdcard/HCDiAG.TxT
getenv touchirq >> sdcard/HCDiAG.TxT
echo udisk_boot >> sdcard/HCDiAG.TxT
getenv udisk_boot >> sdcard/HCDiAG.TxT
echo udisk_ui >> sdcard/HCDiAG.TxT
getenv udisk_ui >> sdcard/HCDiAG.TxT
echo vibra_enable >> sdcard/HCDiAG.TxT
getenv vibra_enable >> sdcard/HCDiAG.TxT
echo vibra_start >> sdcard/HCDiAG.TxT
getenv vibra_start >> sdcard/HCDiAG.TxT
echo vibra_stop >> sdcard/HCDiAG.TxT
getenv vibra_stop >> sdcard/HCDiAG.TxT
echo vibratorset >> sdcard/HCDiAG.TxT
getenv vibratorset >> sdcard/HCDiAG.TxT
echo video_ui_dir_select >> sdcard/HCDiAG.TxT
getenv video_ui_dir_select >> sdcard/HCDiAG.TxT
echo wifi_powerdown >> sdcard/HCDiAG.TxT
getenv wifi_powerdown >> sdcard/HCDiAG.TxT
echo wifi_powerup >> sdcard/HCDiAG.TxT
getenv wifi_powerup >> sdcard/HCDiAG.TxT
echo wmt.model >> sdcard/HCDiAG.TxT
getenv wmt.model >> sdcard/HCDiAG.TxT
echo HcH script End
echo A HcH script >> sdcard/HCDiAG.TxT

2. Paste it to Notepad++ or anything similar text editor that supports LF/unix.
    (NOTE: in Notepad++, make sure that on the status bar on the bottom, on the right side , you see UNIX and not Dos/Windows)
3. Save it as script.sh and copy it on the root of your freshly fat32 formatted Micro SD Card.
4. Boot the tablet and then insert the Micro SD Card.
5. Download and open any terminal emulator for android. (search "terminal emulator" in android market)
6. Type sh sdcard/script.sh

Reply Format

(Text of fdisk.txt and hcdiag.txt found in the Micro SD Card if the script was successful)

Name Of Tablet:
Build Number:
Led Color:
Android version:
Motherboard: (Recommended to include but it is still your call)
Headphone Jack Color:

Name_Of_Text.txt
Code: [Select]
Contents of the file go here
*Better to upload it too in an archive "zip" too ;).
Archive.zip
----->hcdiag.txt
----->fdisk.txt
----->tabletinfo.txt (This is where the name of the tablet, etc. is in.)

Credits

HcH --> For the original WM8505 Diagnostic Tool Script
Tengz08 --> For some modification and error fixes :P

Offline Stephan

  • TechKnow Owner
  • Administrator
  • Uber Member
  • *****
  • Thank You
  • -Given: 3697
  • -Received: 1128
  • Posts: 9633
  • Karma: +2278/-106
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #1 on: August 26, 2014, 11:50:16 AM »
Hello Tengz08 ,

nice one! I've almost forgotten about this script :)

thanks mate!

HcH

Offline tengz08

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Received: 5
  • Posts: 35
  • Karma: +6/-0
  • Techboy in the house!
  • Tablet / Size / Model: Apad Irobot 7" (Flytouch) [BRICKED]
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #2 on: August 27, 2014, 11:55:46 AM »
Your welcome  :-D. We wouldn't want to forget such a hard worked, useful wm8505 backup script which only exist here ;).

By the way, some tablets, like mine don't support the techknow app wm8505 diagnostic tool. It gives an IO error from what I last remember.
It doesn't create a diagnostic log on the root of the Micro SD Card.

Was it fixed?

Offline Stephan

  • TechKnow Owner
  • Administrator
  • Uber Member
  • *****
  • Thank You
  • -Given: 3697
  • -Received: 1128
  • Posts: 9633
  • Karma: +2278/-106
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #3 on: August 27, 2014, 01:15:31 PM »
Your welcome  :-D. We wouldn't want to forget such a hard worked, useful wm8505 backup script which only exist here ;).

By the way, some tablets, like mine don't support the techknow app wm8505 diagnostic tool. It gives an IO error from what I last remember.
It doesn't create a diagnostic log on the root of the Micro SD Card.

Was it fixed?
Hello tengz08,

ah yes you are right! There was a old (or 1.0.1 version) that has problems detecting the SD, the TechKnow ToolKit should contain a procedure fix for the WM analyses :) I am not sure which WonderMedia Tool was bugged, could be the 1.0.1 or the 1.0.0, but the TechKnow ToolKit has those function upgraded and fixed included :) Try that, let me know if it still has problems, I don't have a WM8505 anymore to test.

Cheers,

HcH

Offline tengz08

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Received: 5
  • Posts: 35
  • Karma: +6/-0
  • Techboy in the house!
  • Tablet / Size / Model: Apad Irobot 7" (Flytouch) [BRICKED]
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #4 on: August 27, 2014, 03:03:10 PM »
Sadly, mine's bricked too, caused by an incompatible u-boot binary flashed into it (I shouldn't have done that, sigh).

By the way, do you know anyone here with WM8505 tablet willing to help test this and my other tutorials :), except the flashing of rom, on my signature below?

Offline Stephan

  • TechKnow Owner
  • Administrator
  • Uber Member
  • *****
  • Thank You
  • -Given: 3697
  • -Received: 1128
  • Posts: 9633
  • Karma: +2278/-106
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #5 on: August 27, 2014, 05:19:07 PM »
Sadly, mine's bricked too, caused by an incompatible u-boot binary flashed into it (I shouldn't have done that, sigh).

By the way, do you know anyone here with WM8505 tablet willing to help test this and my other tutorials :), except the flashing of rom, on my signature below?
Hey tengz08,

Good idea! With this community we may have the luck someone is willing to help out a developer :)

If anyone has a WM8505 please report here!

Cheers,

HcH

Offline datalore44

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Received: 0
  • Posts: 2
  • Karma: +0/-0
  • Uber-Noobie
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #6 on: September 09, 2014, 03:58:56 AM »
Hi.
I have an unrooted via wm8505 7" tablet and I cannot get it past the android loading screen, would you know anyway to recover it?
I thought I could root it using your scripts but as I cannot get into the dashboard I am unable to create the above txt documents you need to root it.
Here is a link to the tablet I have if it is of any help: http://www.dx.com/p/7-touch-screen-tft-lcd-google-android-1-6-tablet-pc-w-wifi-camera-via-wm8505-arm926-42070#.VA5AChYbMvY
Appreciate any help.
Alan.
« Last Edit: September 09, 2014, 04:03:27 AM by datalore44 »

Offline twjordo

  • TechKnow Co-Owner
  • Administrator
  • Uber Member
  • *****
  • Thank You
  • -Given: 1996
  • -Received: 1106
  • Posts: 7443
  • Karma: +1416/-27
  • Tablet / Size / Model: =   :cool-android:    :android-wink:    :cool-android:
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #7 on: September 09, 2014, 04:17:19 AM »
Hi.
I have an unrooted via wm8505 7" tablet and I cannot get it past the android loading screen, would you know anyway to recover it?
I thought I could root it using your scripts but as I cannot get into the dashboard I am unable to create the above txt documents you need to root it.
Here is a link to the tablet I have if it is of any help: http://www.dx.com/p/7-touch-screen-tft-lcd-google-android-1-6-tablet-pc-w-wifi-camera-via-wm8505-arm926-42070#.VA5AChYbMvY
Appreciate any help.
Alan.


you will most likely need to re-flash it to restore it

We advise you to get the original Factory Firmware from your re-seller if we do not have it in our rom's section. Thanks!

if we do not have the ROM then google for tipster... he has a good selection of wm8505 resources as well

Good Luck!

Offline datalore44

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Received: 0
  • Posts: 2
  • Karma: +0/-0
  • Uber-Noobie
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #8 on: September 09, 2014, 04:48:29 AM »
Thank you I will start looking.
Alan.

Offline tengz08

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Received: 5
  • Posts: 35
  • Karma: +6/-0
  • Techboy in the house!
  • Tablet / Size / Model: Apad Irobot 7" (Flytouch) [BRICKED]
Re: [How To] WM8505 - Factory ROM ScriptCMD Generating Script
« Reply #9 on: September 10, 2014, 03:44:13 AM »
you will most likely need to re-flash it to restore it

We advise you to get the original Factory Firmware from your re-seller if we do not have it in our rom's section. Thanks!

if we do not have the ROM then google for tipster... he has a good selection of wm8505 resources as well

Good Luck!


Hmm... I tried on tipstir's site,his ROMs were free a long time ago, until now :'(.

Hi.
I have an unrooted via wm8505 7" tablet and I cannot get it past the android loading screen, would you know anyway to recover it?
I thought I could root it using your scripts but as I cannot get into the dashboard I am unable to create the above txt documents you need to root it.
Here is a link to the tablet I have if it is of any help: http://www.dx.com/p/7-touch-screen-tft-lcd-google-android-1-6-tablet-pc-w-wifi-camera-via-wm8505-arm926-42070#.VA5AChYbMvY
Appreciate any help.
Alan.


Hey datalore44, thanks for posting. If you don't have any luck finding one your tablet needs, you could try first another method I used to backup at least some files of the Factory ROM your tablet has. I'll post it later.


 

Powered by EzPortal