[Fire HD 8 and HD 10 Android Development] K.C.I.:
"Check Gpt"

Why do i keep getting roadblocked at the "Check GPT" point no matter which script I run!? What could possibly be the problem? Can someone with knowledge and expertise shine some light on this problem, please?!

-Thanks

ubuntu-mate@ubuntu-mate:~/Desktop/HOPE!/amonet$

sudo ./bootrom-step.sh

[2020-03-08 03:11:04.984599] Waiting for bootrom

[2020-03-08 03:11:10.548917] Found port = /dev/ttyACM0

[2020-03-08 03:11:10.554933] Handshake

[2020-03-08 03:11:10.564473] Disable watchdog

* * * Remove the short and press Enter * * *

[2020-03-08 03:11:14.495365] Init crypto engine

[2020-03-08 03:11:14.822625] Disable caches

[2020-03-08 03:11:14.826681] Disable bootrom range checks

[2020-03-08 03:11:15.000879] Load payload from ../brom-payload/build/payload.bin =

0x45D0 bytes

[2020-03-08 03:11:15.020817] Send payload

[2020-03-08 03:11:23.963972] Let's rock

[2020-03-08 03:11:23.971961] Wait for the payload to come online...

[2020-03-08 03:11:27.532808] all good

[2020-03-08 03:11:27.533725] Check GPT

Traceback (most recent call last):

File "main.py", line 193, in <module>

main()

File "main.py", line 96, in main

switch_user(dev)

File "main.py", line 56, in switch_user

flash_binary(dev, "../bin/gpt-32G.bin", 0)

File "main.py", line 37, in flash_binary

flash_data(dev, data, start_block, max_size=0)

File "main.py", line 28, in flash_data

dev.emmc_write(start_block + x, data[x * 0x200:(x + 1) * 0x200])

File "/home/ubuntu-mate/Desktop/HOPE!/amonet/modules/common.py", line 202, in

emmc_write

raise RuntimeError("device failure")

RuntimeError: device failure

ubuntu-mate@ubuntu-mate:~/Desktop/HOPE!$

sudo ./bootrom.sh

[2020-03-08 02:34:33.940064] Waiting for bootrom

[2020-03-08 02:34:44.271901] Found port = /dev/ttyACM0

[2020-03-08 02:34:44.277863] Handshake

[2020-03-08 02:34:44.288383] Disable watchdog

* * * Remove the short and press Enter * * *

[2020-03-08 02:34:47.844343] Init crypto engine

[2020-03-08 02:34:48.171637] Disable caches

[2020-03-08 02:34:48.175694] Disable bootrom range checks

[2020-03-08 02:34:48.349884] Load payload from ../brom-payload/build/payload.bin = 0x45D0 bytes

[2020-03-08 02:34:48.373123] Send payload

[2020-03-08 02:34:57.323990] Let's rock

[2020-03-08 02:34:57.331977] Wait for the payload to come online...

[2020-03-08 02:35:00.891811] all good

[2020-03-08 02:35:00.892617] Check GPT

Traceback (most recent call last):

File "main.py", line 92, in <module>

main()

File "main.py", line 61, in main

switch_user(dev)

File "main.py", line 32, in switch_user

block = dev.emmc_read(0)

File "/home/ubuntu-mate/Desktop/HOPE!/modules/common.py", line 183, in emmc_read

raise RuntimeError("read fail")

RuntimeError: read fail

ubuntu-mate@ubuntu-mate:~/Desktop/HOPE!/amonet$

sudo ./bootrom-step.sh

[2020-03-08 02:55:15.627879] Waiting for bootrom

[2020-03-08 02:55:23.954924] Found port = /dev/ttyACM0

[2020-03-08 02:55:23.960880] Handshake

[2020-03-08 02:55:23.968308] Disable watchdog

* * * Remove the short and press Enter * * *

[2020-03-08 02:55:26.885055] Init crypto engine

[2020-03-08 02:55:27.212699] Disable caches

[2020-03-08 02:55:27.216750] Disable bootrom range checks

[2020-03-08 02:55:27.388974] Load payload from ../brom-payload/build/payload.bin = 0x45D0 bytes

[2020-03-08 02:55:27.409091] Send payload

[2020-03-08 02:55:36.353048] Let's rock

[2020-03-08 02:55:36.361010] Wait for the payload to come online...

[2020-03-08 02:55:39.920869] all good

[2020-03-08 02:55:39.921775] Check GPT

Traceback (most recent call last):

File "main.py", line 192, in <module>

main()

File "main.py", line 95, in main

switch_user(dev)

File "main.py", line 56, in switch_user

block = dev.emmc_read(0)

File "/home/ubuntu-mate/Desktop/HOPE!/amonet/modules/common.py", line 183, in emmc_read

raise RuntimeError("read fail")

RuntimeError: read fail

ubuntu-mate@ubuntu-mate:~/Desktop/HOPE!/amonet$

sudo ./bootrom-step-minimal.sh

[2020-03-08 02:59:12.589846] Waiting for bootrom

[2020-03-08 02:59:23.934905] Found port = /dev/ttyACM0

[2020-03-08 02:59:23.940900] Handshake

[2020-03-08 02:59:23.950630] Disable watchdog

* * * Remove the short and press Enter * * *

[2020-03-08 02:59:27.116237] Init crypto engine

[2020-03-08 02:59:27.443673] Disable caches

[2020-03-08 02:59:27.447743] Disable bootrom range checks

[2020-03-08 02:59:27.621933] Load payload from ../brom-payload/build/payload.bin = 0x45D0 bytes

[2020-03-08 02:59:27.641756] Send payload

[2020-03-08 02:59:36.591031] Let's rock

[2020-03-08 02:59:36.599013] Wait for the payload to come online...

[2020-03-08 02:59:40.211868] all good

[2020-03-08 02:59:40.212789] Running in minimal mode, assuming LK and TZ to have already been flashed.

[2020-03-08 02:59:40.213539] If this is correct (i.e. you used "brick" option in step 1) press enter, otherwise terminate with Ctrl+C

[2020-03-08 03:00:21.018619] Check GPT

Traceback (most recent call last):

File "main.py", line 192, in <module>

main()

File "main.py", line 95, in main

switch_user(dev)

File "main.py", line 56, in switch_user

block = dev.emmc_read(0)

File "/home/ubuntu-mate/Desktop/HOPE!/amonet/modules/common.py", line 183, in emmc_read

raise RuntimeError("read fail")

RuntimeError: read fail

ubuntu-mate@ubuntu-mate:~/Desktop/HOPE!/amonet$

---------- Post added at 04:07 PM ---------- Previous post was at 03:46 PM ----------

@coliny59 That's interesting. Could you please expand on this topic of "commented out" lines. Do you believe this would also work for various other errors as well?