Firmware: Chameleon (1.0.41) Firmware [18 APR 2016] | Gecko (20151106) Firmware [13 NOV 2015]


Post Reply 
Broken Android SD card images
11-03-2014, 10:40 AM
Post: #1
Broken Android SD card images
Hello,

I tried to install the "open_hour_chameleon_android_4_4_2_20141020_1_0_5_img" onto a new SD card and discovered that the images were in fact broken (OH would not boot from the CD card).

First thing I did was to check the file:

Code:
# file open_hour_chameleon_android_4_4_2_20141020_1_0_5_img
open_hour_chameleon_android_4_4_2_20141020_1_0_5_img: data

At this stage, I was expecting to find something that looked like a MBR, not random data.

So I used hexdump to compare the original (and working) SD card to the non working re-installation file:
Code:
# hexdump /dev/sdc | head -n 50
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
00001b0 1420 0510 0049 0000 0000 0000 0000 8200
00001c0 0003 f80b d4e4 2000 0000 5800 00f0 0000
00001d0 0000 0000 0000 0000 0000 0000 0000 0000
*
00001f0 0000 0000 0000 0000 0000 0000 0000 aa55
0000200 0000 0000 0000 0000 0000 0000 0000 0000
*
0008000 8c3b fcdc 9fbe 519d 30eb ce34 5124 981b
0008010 0cff 36f2 5005 bbc8 ec3f bddd 8506 b7fa
0008020 abb3 ea6a 68c8 08e0 9dad 9c6f 983c 8cb0
0008030 1345 1c54 1b1d 151f f1a7 0bf0 4ee3 c70c
0008040 9660 6a01 f0b5 c1e2 c650 9e24 f712 8e58
0008050 b940 beb7 fa8b dd25 d774 596f 7e46 4113
0008060 fdee 91f5 bc39 9574 3c25 e11a 57f1 0530
0008070 f8ca 9a72 e61b 269d 5d35 2b81 932b 01bd
0008080 543a a10c 114b 9806 91a1 4a19 924e 1a30
0008090 b2f2 aed5 6c59 969e f4fd a4ff e388 879f
00080a0 6c49 763a 3d6d ac1a 771e 5e0a 92ff 6152
00080b0 ff19 9674 13ee 7a93 b9e0 1bf0 3851 8db3
00080c0 592f 0287 c165 6b88 214c 7baa d516 ce50
00080d0 8037 1fa4 df46 b0bd 65d9 e18f ce15 0f08
00080e0 ee7c 0c5a 5061 903c 79bf bf1a 9605 61b0
00080f0 edeb 5362 3a4b a4ee 77aa df95 e7e9 fb44


# hexdump open_hour_chameleon_android_4_4_2_20141020_1_0_5_img | head -n 50
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0008000 8c3b fcdc 9fbe 519d 30eb ce34 5124 981b
0008010 0cff 36f2 5005 bbc8 ec3f bddd 8506 b7fa
0008020 abb3 ea6a 68c8 08e0 9dad 9c6f 983c 8cb0
0008030 1345 1c54 1b1d 151f f1a7 0bf0 4ee3 c70c
0008040 9660 6a01 f0b5 c1e2 c650 9e24 f712 8e58
0008050 b940 beb7 fa8b dd25 d774 596f 7e46 4113
0008060 fdee 91f5 bc39 9574 3c25 e11a 57f1 0530
0008070 f8ca 9a72 e61b 269d 5d35 2b81 932b 01bd
0008080 543a a10c 114b 9806 91a1 4a19 924e 1a30
0008090 b2f2 aed5 6c59 969e f4fd a4ff e388 879f
00080a0 6c49 763a 3d6d ac1a 771e 5e0a 92ff 6152
00080b0 ff19 9674 13ee 7a93 b9e0 1bf0 3851 8db3
00080c0 592f 0287 c165 6b88 214c 7baa d516 ce50
00080d0 8037 1fa4 df46 b0bd 65d9 e18f ce15 0f08
00080e0 ee7c 0c5a 5061 903c 79bf bf1a 9605 61b0
00080f0 edeb 5362 3a4b a4ee 77aa df95 e7e9 fb44

As we can see, the re-installation file is lacking the first 0x0008000 bytes (32kB) of data. I copied the first 32kB from the original SD card and obtained a working SD card, which then booted into recovery in order to create the missing Android partitions (data, cache, and so on).

Can you fix the recovery image, please?

Note: the Lubuntu image seems to have the same problem...
Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2014, 12:34 PM (This post was last modified: 11-03-2014 12:38 PM by developer2.)
Post: #2
RE: Broken Android SD card images
I have just downloaded both open_hour_chameleon_android_4.4.2_20141020_1.0.5.zip and open_hour_chameleon_lubuntu_14.04.1_20141031_8G.zip from http://wiki.openhourlab.com/index.php/Op...ard_Images using my PC FireFox web-browser.

Burned them using http://wiki.openhourlab.com/index.php/Bu...d_and_back

And tested them on Open Hour Chameleon, they are working as expected. Android went through recovery to create missing partitions as expected.

Not sure what problem do you meant? Are you unable to boot them right after burn them to your SD Card?

Can you check the md5 checksum posted on http://wiki.openhourlab.com/index.php/Op...ard_Images Thanks.
Find all posts by this user
Add Thank You Quote this message in a reply
11-03-2014, 02:09 PM
Post: #3
RE: Broken Android SD card images
Well,

I don't use Windows, so I'm unable to Win32 Disk Imager, but the standard Unix command 'dd' should be able to do the same thing:

Code:
dd if=image_name_img of=/dev/sdc bs=1M

But it doesn't work. So I checked the image file and found that some data appears to be missing at the start of the file (32kb).

When you use Win32 Disk Imager, do you do it on a fresh (new or wiped) SD card, or a previously bootable card?
Find all posts by this user
Add Thank You Quote this message in a reply
11-04-2014, 04:37 AM
Post: #4
RE: Broken Android SD card images
I have just tried again by wiping the SD Card using partition tools and there is no more mbr and partition. Then burn the image and it is able to boot on OpenHour. Not sure this is what you meant by freshly wiped SD card?

We have tested with few SD Cards before and some are newly bought from the shops. We have also tested some after clean formatted to FAT32 or NTFS using Windows formatting function. However, we have not tested burning image with Linux, not sure what is the different between Win32DiskImager and dd.
Find all posts by this user
Add Thank You Quote this message in a reply
02-19-2015, 07:52 PM
Post: #5
RE: Broken Android SD card images
Hello.
My SD Cards firmware became corrupt just sitting in the chameleon and one day. On boot up the chameleon only showed KitKat logo and then Black screen forever. I did the Burn_OS_to_SD_Card_and_back
and writhed a fresh copy of the image android_442_20141020_105
with win32diskimager

The Chameleon could now boot up to Androied with the new image.

My question is: Should the locked mechanism on the SD car be set to locked, to prevent data corruption on the SD Card when sitting in the Chameleon?
Find all posts by this user
Add Thank You Quote this message in a reply
02-19-2015, 08:13 PM
Post: #6
RE: Broken Android SD card images
No don't lock it... it needs to write data to the SD also...
do not unplug the power or the SD card in a running Chameleon as just like a USB it need to exit clean or you have a chance of corrupting the data..

Some focus on problems and faults others on solutions and success... no question who is the happy one.

Chameleon 16GB SD 32GB micro SD <-->HDMIv1.3<-->Onkyo TX-NR1010<-->HDMIv1.3<-->Panasonic TX-P46S10 + 6 Bowers & Wilkins speakers.
10 NTFS 2TB USB drives on 3 hubs attached to a A400, 2 Seagate blackarmour NAS 3TB, 2 Seagate Central NAS 4TB.
Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to Willem55 for this post
02-19-2015, 11:35 PM (This post was last modified: 02-19-2015 11:36 PM by F6B_Rider.)
Post: #7
RE: Broken Android SD card images
I keep a backup of my latest working and configured OS image copied by win32sidkimager on my server, just in case of a issue like this, that way I can re-burn a bad card and not have to go thru the process of restoring all of my apps and configurations. Just burn it and plug it in and I am back up and running.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Android 5 & 6 on Chameleon Chameleon User 10 2,917 08-12-2016 09:47 AM
Last Post: tosh123
  Problem running Android/Open Hour MichaelHeerlen 5 2,989 09-14-2015 10:58 PM
Last Post: chris57
  Problem with 16GB card for Android? sptkyle 6 3,516 06-27-2015 09:43 AM
Last Post: chris57
Information Why do the Android apps not update Blackhalo 3 2,068 05-17-2015 01:33 PM
Last Post: Willem55
  Basic rooted Android OS senaptec 7 6,777 03-29-2015 03:29 PM
Last Post: ottix22
  Xposed framework - tweak your android OS chris57 0 1,215 03-11-2015 12:57 AM
Last Post: chris57
  [HOW TO] Root the OHC | access SD card from PC meowmoo 18 10,753 02-23-2015 05:27 PM
Last Post: pipor
  Best practice setup for android and SPMC FW 1.0.7 Willem55 17 13,694 12-27-2014 08:54 PM
Last Post: Willem55

Forum Jump:


User(s) browsing this thread: 1 Guest(s)