[Huawei Ascend XT Questions & Answers] madvane20:
i could get kernels to compile but the only thing keeping it from complete boot image is need the dtb compiled. the xt has different partition layout than the kiwi also has 2 extra partitions

the xt

E:\Program Files (x86)\Minimal ADB and Fastboot>adb shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

sushell@HWH1611-Q:/ $ su

susu

/system/bin/sh: susu: not found

127|shell@HWH1611-Q:/ $ su

su

root@HWH1611-Q:/ # parted /dev/block/mmcblk0 unit B print

parted /dev/block/mmcblk0 unit B print

Model: MMC HAG2e (sd/mmc)

Disk /dev/block/mmcblk0: 15762194432B

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 17408B 541695B 524288B sbl1

2 541696B 1065983B 524288B hyp

3 1065984B 1098751B 32768B sec

4 1098752B 1131519B 32768B DDR

5 1131520B 1655807B 524288B rpm

6 1655808B 2180095B 524288B tz

7 2180096B 7357439B 5177344B aboot

8 7357440B 12490751B 5133312B pad0

9 12582912B 16777215B 4194304B fsg

10 16777216B 83886079B 67108864B boot

11 83886080B 150994943B 67108864B recovery

12 150994944B 218103807B 67108864B erecovery

13 218103808B 226492415B 8388608B sgb

14 226492416B 436207615B 209715200B fat16 modem

15 436207616B 503316479B 67108864B oeminfo

16 503316480B 507510783B 4194304B misc

17 507510784B 574619647B 67108864B fat32 log

18 574619648B 641728511B 67108864B ext4 persist

19 641728512B 641729535B 1024B fsc

20 641729536B 641737727B 8192B ssd

21 641737728B 645922815B 4185088B pad

22 645922816B 1988100095B 1342177280B ext4 cache

23 1988100096B 2524971007B 536870912B ext4 cust

24 2524971008B 6283067391B 3758096384B ext4 system

25 6283067392B 6283591679B 524288B config

26 6283591680B 6287785983B 4194304B modemst1

27 6287785984B 6291980287B 4194304B modemst2

28 6295650304B 15762177535B 9466527232B ext4 userdata

E:\Program Files (x86)\Minimal ADB and Fastboot>adb shell

shell@HWH1611-Q:/ $ su

su

root@HWH1611-Q:/ # df

df

Filesystem Size Used Free Blksize

/dev 893.4M 184.0K 893.2M 4096

/sys/fs/cgroup 893.4M 12.0K 893.3M 4096

/mnt 893.4M 0.0K 893.4M 4096

/mnt/runtime/default/emulated 8.5G 3.3G 5.2G 4096

/mnt/runtime/read/emulated 8.5G 3.3G 5.2G 4096

/mnt/runtime/write/emulated 8.5G 3.3G 5.2G 4096

/mnt/media_rw/E85E-3565 58.9G 24.4G 34.5G 131072

/mnt/secure/asec 58.9G 24.4G 34.5G 131072

/mnt/runtime/default/E85E-3565 58.9G 24.4G 34.5G 131072

/mnt/runtime/read/E85E-3565 58.9G 24.4G 34.5G 131072

/mnt/runtime/write/E85E-3565 58.9G 24.4G 34.5G 131072

/log 63.0M 9.0M 54.0M 512

/system 3.4G 2.4G 1.0G 4096

/data 8.6G 3.3G 5.2G 4096

/cust 492.0M 11.6M 480.4M 4096

/cache 1.2G 4.1M 1.2G 4096

/persist 59.0M 6.2M 52.7M 4096

/firmware 199.9M 53.7M 146.2M 16384

/storage 893.4M 0.0K 893.4M 4096

/storage/emulated 8.5G 3.3G 5.2G 4096

/storage/E85E-3565 58.9G 24.4G 34.5G 131072

/su 90.5M 2.1M 88.4M 4096

root@HWH1611-Q:/ # blockdev

blockdev

usage: blockdev --OPTION... BLOCKDEV...

Call ioctl(s) on each listed block device

OPTIONs:

--setro Set read only

--setrw Set read write

--getro Get read only

--getss Get sector size

--getbsz Get block size

--setbsz BYTES Set block size

--getsz Get device size in 512-byte sectors

--getsize Get device size in sectors (deprecated)

--getsize64 Get device size in bytes

--flushbufs Flush buffers

--rereadpt Reread partition table

blockdev: Needs 1 argument

1|root@HWH1611-Q:/ # blockdev --getsize64 /dev/block/mmcblk0

blockdev --getsize64 /dev/block/mmcblk0

15762194432

root@HWH1611-Q:/ # cat /proc/partitions/

cat /proc/partitions/

sush: cat: /proc/partitions/: Not a directory

1|root@HWH1611-Q:/ # cat ]proc/partitions/

cat ]proc/partitions/

sush: cat: ]proc/partitions/: No such file or directory

1|root@HWH1611-Q:/ # cat proc/partitions/

cat proc/partitions/

sush: cat: proc/partitions/: Not a directory

1|root@HWH1611-Q:/ # cat proc/partitions

cat proc/partitions

major minor #blocks name

7 0 98304 loop0

179 0 15392768 mmcblk0

179 1 512 mmcblk0p1

179 2 512 mmcblk0p2

179 3 32 mmcblk0p3

179 4 32 mmcblk0p4

179 5 512 mmcblk0p5

179 6 512 mmcblk0p6

179 7 5056 mmcblk0p7

179 8 5013 mmcblk0p8

179 9 4096 mmcblk0p9

179 10 65536 mmcblk0p10

179 11 65536 mmcblk0p11

179 12 65536 mmcblk0p12

179 13 8192 mmcblk0p13

179 14 204800 mmcblk0p14

179 15 65536 mmcblk0p15

179 16 4096 mmcblk0p16

179 17 65536 mmcblk0p17

179 18 65536 mmcblk0p18

179 19 1 mmcblk0p19

179 20 8 mmcblk0p20

179 21 4087 mmcblk0p21

179 22 1310720 mmcblk0p22

179 23 524288 mmcblk0p23

179 24 3670016 mmcblk0p24

179 25 512 mmcblk0p25

179 26 4096 mmcblk0p26

179 27 4096 mmcblk0p27

179 28 9244655 mmcblk0p28

179 32 4096 mmcblk0rpmb

253 0 739328 zram0

179 64 61799424 mmcblk1

179 65 61792256 mmcblk1p1

root@HWH1611-Q:/ # fdisk -l

fdisk -l

root@HWH1611-Q:/ # /proc/emmc

/proc/emmc

sush: /proc/emmc: not found

127|root@HWH1611-Q:/ # cat /proc/emmc

cat /proc/emmc

sush: cat: /proc/emmc: No such file or directory

1|root@HWH1611-Q:/ #

E:\Program Files (x86)\Minimal ADB and Fastboot>adb shell

shell@HWH1611-Q:/ $ su

su

root@HWH1611-Q:/ # blockdev --getbsz /dev/block/mmcblk0p19

blockdev --getbsz /dev/block/mmcblk0p19

1024

E:\Program Files (x86)\Minimal ADB and Fastboot>adb shell

shell@HWH1611-Q:/ $ su

su

root@HWH1611-Q:/ # parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Model: MMC HAG2e (sd/mmc)

Disk /dev/block/mmcblk0: 15.8GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 17.4kB 542kB 524kB sbl1

2 542kB 1066kB 524kB hyp

3 1066kB 1099kB 32.8kB sec

4 1099kB 1132kB 32.8kB DDR

5 1132kB 1656kB 524kB rpm

6 1656kB 2180kB 524kB tz

7 2180kB 7357kB 5177kB aboot

8 7357kB 12.5MB 5133kB pad0

9 12.6MB 16.8MB 4194kB fsg

10 16.8MB 83.9MB 67.1MB boot

11 83.9MB 151MB 67.1MB recovery

12 151MB 218MB 67.1MB erecovery

13 218MB 226MB 8389kB sgb

14 226MB 436MB 210MB fat16 modem

15 436MB 503MB 67.1MB oeminfo

16 503MB 508MB 4194kB misc

17 508MB 575MB 67.1MB fat32 log

18 575MB 642MB 67.1MB ext4 persist

19 642MB 642MB 1024B fsc

20 642MB 642MB 8192B ssd

21 642MB 646MB 4185kB pad

22 646MB 1988MB 1342MB ext4 cache

23 1988MB 2525MB 537MB ext4 cust

24 2525MB 6283MB 3758MB ext4 system

25 6283MB 6284MB 524kB config

26 6284MB 6288MB 4194kB modemst1

27 6288MB 6292MB 4194kB modemst2

28 6296MB 15.8GB 9467MB ext4 userdata

E:\Program Files (x86)\Minimal ADB and Fastboot>adb shell

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

sushell@HWH1611-Q:/ $ su

susu

/system/bin/sh: susu: not found

127|shell@HWH1611-Q:/ $ su

su

root@HWH1611-Q:/ # parted /dev/block/mmcblk0 unit B print

parted /dev/block/mmcblk0 unit B print

Model: MMC HAG2e (sd/mmc)

Disk /dev/block/mmcblk0: 15762194432B

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 17408B 541695B 524288B sbl1

2 541696B 1065983B 524288B hyp

3 1065984B 1098751B 32768B sec

4 1098752B 1131519B 32768B DDR

5 1131520B 1655807B 524288B rpm

6 1655808B 2180095B 524288B tz

7 2180096B 7357439B 5177344B aboot

8 7357440B 12490751B 5133312B pad0

9 12582912B 16777215B 4194304B fsg

10 16777216B 83886079B 67108864B boot

11 83886080B 150994943B 67108864B recovery

12 150994944B 218103807B 67108864B erecovery

13 218103808B 226492415B 8388608B sgb

14 226492416B 436207615B 209715200B fat16 modem

15 436207616B 503316479B 67108864B oeminfo

16 503316480B 507510783B 4194304B misc

17 507510784B 574619647B 67108864B fat32 log

18 574619648B 641728511B 67108864B ext4 persist

19 641728512B 641729535B 1024B fsc

20 641729536B 641737727B 8192B ssd

21 641737728B 645922815B 4185088B pad

22 645922816B 1988100095B 1342177280B ext4 cache

23 1988100096B 2524971007B 536870912B ext4 cust

24 2524971008B 6283067391B 3758096384B ext4 system

25 6283067392B 6283591679B 524288B config

26 6283591680B 6287785983B 4194304B modemst1

27 6287785984B 6291980287B 4194304B modemst2

28 6295650304B 15762177535B 9466527232B ext4 userdata

Splitting image to "split_img/" . . .

BOARD_KERNEL_CMDLINE androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk androidboot.selinux=enforcing

BOARD_KERNEL_BASE 80000000

BOARD_NAME

BOARD_PAGE_SIZE 2048

BOARD_KERNEL_OFFSET 00008000

BOARD_RAMDISK_OFFSET 01000000

BOARD_TAGS_OFFSET 00000100

BOARD_DT_SIZE 13631488

Unpacking ramdisk to "ramdisk/" . . .

Compression used: gzip

22430 blocks

kiwi

~ # [6ncat proc/partitions

cat proc/partitions

major minor #blocks name

179 0 15388672 mmcblk0

179 1 512 mmcblk0p1

179 2 512 mmcblk0p2

179 3 32 mmcblk0p3

179 4 32 mmcblk0p4

179 5 512 mmcblk0p5

179 6 512 mmcblk0p6

179 7 5056 mmcblk0p7

179 8 1024 mmcblk0p8

179 9 65536 mmcblk0p9

179 10 4096 mmcblk0p10

179 11 4096 mmcblk0p11

179 12 4096 mmcblk0p12

179 13 4096 mmcblk0p13

179 14 204800 mmcblk0p14

179 15 1 mmcblk0p15

179 16 8 mmcblk0p16

179 17 65536 mmcblk0p17

179 18 65536 mmcblk0p18

179 19 65536 mmcblk0p19

179 20 65536 mmcblk0p20

179 21 65536 mmcblk0p21

179 22 262144 mmcblk0p22

179 23 524288 mmcblk0p23

179 24 2621440 mmcblk0p24

179 25 512 mmcblk0p25

179 26 11341807 mmcblk0p26

179 32 4096 mmcblk0rpmb

179 64 62521344 mmcblk1

179 65 62520320 mmcblk1p1

~ # [6n

Send a message

Model: MMC 016G32 (sd/mmc)

Disk /dev/block/mmcblk0: 15758000128B

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 17408B 541695B 524288B sbl1

2 541696B 1065983B 524288B hyp

3 4194304B 4227071B 32768B sec

4 4227072B 4259839B 32768B DDR

5 8388608B 8912895B 524288B rpm

6 8912896B 9437183B 524288B tz

7 9437184B 14614527B 5177344B aboot

8 14614528B 15663103B 1048576B pad

9 15663104B 82771967B 67108864B oeminfo

10 82771968B 86966271B 4194304B misc

11 86966272B 91160575B 4194304B modemst1

12 91160576B 95354879B 4194304B modemst2

13 96468992B 100663295B 4194304B fsg

14 100663296B 310378495B 209715200B fat16 modem

15 310378496B 310379519B 1024B fsc

16 310379520B 310387711B 8192B ssd

17 310387712B 377496575B 67108864B fat32 log

18 381681664B 448790527B 67108864B ext4 persist

19 448790528B 515899391B 67108864B boot

20 515899392B 583008255B 67108864B recovery

21 583008256B 650117119B 67108864B erecovery

22 650117120B 918552575B 268435456B ext4 cache

23 918552576B 1455423487B 536870912B ext4 cust

24 1455423488B 4139778047B 2684354560B ext4 system

25 4139778048B 4140302335B 524288B config

26 4143972352B 15757983231B 11614010880B ext4 userdata

parted /dev/block/mmcblk0 unit B print

el: MMC 016G32 (sd/mmc)

k /dev/block/mmcblk0: 15758000128B

tor size (logical/physical): 512B/512B

tition Table: gpt

ber Start End Size File system Name

17408B 541695B 524288B sbl1

541696B 1065983B 524288B hyp

4194304B 4227071B 32768B sec

4227072B 4259839B 32768B DDR

8388608B 8912895B 524288B rpm

8912896B 9437183B 524288B tz

9437184B 14614527B 5177344B aboot

14614528B 15663103B 1048576B pad

15663104B 82771967B 67108864B oeminfo

82771968B 86966271B 4194304B misc

86966272B 91160575B 4194304B modemst1

91160576B 95354879B 4194304B modemst2

96468992B 100663295B 4194304B fsg

100663296B 310378495B 209715200B fat16 modem

310378496B 310379519B 1024B fsc

310379520B 310387711B 8192B ssd

310387712B 377496575B 67108864B fat32 log

381681664B 448790527B 67108864B ext4 persist

448790528B 515899391B 67108864B boot

515899392B 583008255B 67108864B recovery

583008256B 650117119B 67108864B erecovery

650117120B 918552575B 268435456B ext4 cache

918552576B 1455423487B 536870912B ext4 cust

1455423488B 4139778047B 2684354560B ext4 system

4139778048B 4140302335B 524288B config

4143972352B 15757983231B 11614010880B ext4 userdata

Model: MMC 016G32 (sd/mmc)

Disk /dev/block/mmcblk0: 15.8GB

Sector size (logical/physical): 512B/512B

Partition Table: gpt

Number Start End Size File system Name Flags

1 17.4kB 542kB 524kB sbl1

2 542kB 1066kB 524kB hyp

3 4194kB 4227kB 32.8kB sec

4 4227kB 4260kB 32.8kB DDR

5 8389kB 8913kB 524kB rpm

6 8913kB 9437kB 524kB tz

7 9437kB 14.6MB 5177kB aboot

8 14.6MB 15.7MB 1049kB pad

9 15.7MB 82.8MB 67.1MB oeminfo

10 82.8MB 87.0MB 4194kB misc

11 87.0MB 91.2MB 4194kB modemst1

12 91.2MB 95.4MB 4194kB modemst2

13 96.5MB 101MB 4194kB fsg

14 101MB 310MB 210MB fat16 modem

15 310MB 310MB 1024B fsc

16 310MB 310MB 8192B ssd

17 310MB 377MB 67.1MB fat32 log

18 382MB 449MB 67.1MB ext4 persist

19 449MB 516MB 67.1MB boot

20 516MB 583MB 67.1MB recovery

21 583MB 650MB 67.1MB erecovery

22 650MB 919MB 268MB ext4 cache

23 919MB 1455MB 537MB ext4 cust

24 1455MB 4140MB 2684MB ext4 system

25 4140MB 4140MB 524kB config

26 4144MB 15.8GB 11.6GB ext4 userdata