[Fire HD 8 and HD 10 Original Android Development] Phantasy0742:
sunghyun@ubuntu-s:~/rooting/amonet$ sudo ./step-1.sh

Testing root access...

uid=0(root) gid=0(root) groups=1000(system),1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),2000(shell),2001(cache),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0

PL version: 4 (5)

LK version: 2 (2)

TZ version: 262 (263)

Your device will be reset to factory defaults...

Press Enter to Continue...

Dumping GPT

34+0 records in

34+0 records out

17408 bytes transferred in 0.001 secs (17408000 bytes/sec)

[100%] /data/local/tmp/gpt.bin

Modifying GPT

[2019-03-26 17:57:14.253644] Input GPT:

[2019-03-26 17:57:14.254065]

[2019-03-26 17:57:14.254099] Sector size (logical): 512 bytes

[2019-03-26 17:57:14.254133] Disk identifier (GUID): 04EF21A7-28FA-4D1D-A17E-B450CE093E4F

[2019-03-26 17:57:14.254157] Partition table holds up to 128 entries

[2019-03-26 17:57:14.254178] This partition table begins at sector 2 and ends at sector 33

[2019-03-26 17:57:14.254198] First usable sector is 34, last usable sector is 61071326

[2019-03-26 17:57:14.254217] Other partition table is at sector 61071359

[2019-03-26 17:57:14.254234]

[2019-03-26 17:57:14.254268] Number Start (sector) End (sector) Size Name

[2019-03-26 17:57:14.254658] 1 1024 7167 3.00 MiB proinfo

[2019-03-26 17:57:14.254920] 2 7168 16383 4.50 MiB PMT

[2019-03-26 17:57:14.255178] 3 16384 18431 1024.00 KiB kb

[2019-03-26 17:57:14.255432] 4 18432 20479 1024.00 KiB dkb

[2019-03-26 17:57:14.255694] 5 20480 22527 1024.00 KiB lk

[2019-03-26 17:57:14.255951] 6 22528 32767 5.00 MiB tee1

[2019-03-26 17:57:14.256218] 7 32768 43007 5.00 MiB tee2

[2019-03-26 17:57:14.256482] 8 43008 123903 39.50 MiB metadata

[2019-03-26 17:57:14.256743] 9 123904 124927 512.00 KiB MISC

[2019-03-26 17:57:14.257003] 10 124928 141311 8.00 MiB reserved

[2019-03-26 17:57:14.257306] 11 141312 174079 16.00 MiB boot

[2019-03-26 17:57:14.257562] 12 174080 208895 17.00 MiB recovery

[2019-03-26 17:57:14.257818] 13 208896 3515391 1.58 GiB system

[2019-03-26 17:57:14.258073] 14 3515392 4383743 424.00 MiB cache

[2019-03-26 17:57:14.258328] 15 4383744 60619775 26.82 GiB userdata

[2019-03-26 17:57:14.258583] 16 60619776 60845055 110.00 MiB boot_tmp

[2019-03-26 17:57:14.258838] 17 60845056 61070335 110.00 MiB recovery_tmp

[2019-03-26 17:57:14.282855]

[2019-03-26 17:57:14.282901] Regenerate primary and backup GPT from input

[2019-03-26 17:57:14.282959] Writing regenerated GPT to gpt/gpt.bin.gpt

[2019-03-26 17:57:14.283036] Writing regenerated backup GPT to gpt/gpt.bin.bak

[2019-03-26 17:57:14.283099] Writing backup GPT offset to gpt/gpt.bin.offset

Traceback (most recent call last):

File "modules/gpt.py", line 314, in <module>

main()

File "modules/gpt.py", line 268, in main

part_list_mod1 = modify_step1(part_list)

File "modules/gpt.py", line 178, in modify_step1

assert partition['name'].decode("utf-16le").rstrip("\x00") == "userdata", "the last partition is not userdata, refusing modification"

AssertionError: the last partition is not userdata, refusing modification

occur error.

my devices is not root, so I did input mtk-su to bin folder.

when I did this, device has been factory reset

ubuntu 18.04, fire os 5.6.1.0, use ver 1.1 zip file