[Android Q&A, Help & Troubleshooting] bishoy ashraf:
hi guys ,i have a htc desire 820s (D820TS) when suddenly when i was using it it powered down when i tried to power it on i stuck in htc logo :confused: and i only can access recovery (stock recovery)

- when i try wipe data/factory reset i have error "error: cannot get phone encrpt state " ,

-then i tried flash the stock rom with i was on when the phone crash i get this error from sp flash tool

1- using download only or firmware upgrade i get error "PMT changed for the ROM it must be download".

2- using format all and download ,i get "error 3149 S-DA-SDMMC-WRITE-FAILED " and i tried format i get the same error ;

3-when i tried memorytest i get this :

============ Memory Detection Report ===========

Internal RAM:

External RAM:

Type = DRAM

Size = 0x80000000 (2048MB/16384Mb)

NAND Flash:

ERROR: NAND Flash was not detected!

EMMC:

EMMC_PART_BOOT1	Size = 0x0000000000400000(4MB)

EMMC_PART_BOOT2	Size = 0x0000000000400000(4MB)

EMMC_PART_RPMB	Size = 0x0000000000400000(4MB)

EMMC_PART_GP1	Size = 0x0000000000000000(0MB)

EMMC_PART_GP2	Size = 0x0000000000000000(0MB)

EMMC_PART_GP3	Size = 0x0000000000000000(0MB)

EMMC_PART_GP4	Size = 0x0000000000000000(0MB)

EMMC_PART_USER	Size = 0x00000003a3e00000(14910MB)

============	RAM Test	============

Data Bus Test:

[D0]

[D1]

[D2]

[D3]

[D4]

[D5]

[D6]

[D7]

[D8]

[D9]

[D10]

[D11]

[D12]

[D13]

[D14]

[D15]

[D16]

[D17]

[D18]

[D19]

[D20]

[D21]

[D22]

[D23]

[D24]

[D25]

[D26]

[D27]

[D28]

[D29]

[D30]

[D31]

OK!!

Address Bus Test:

[A1]

[A2]

[A3]

[A4]

[A5]

[A6]

[A7]

[A8]

[A9]

[A10]

[A11]

[A12]

[A13]

[A14]

[A15]

[A16]

[A17]

[A18]

[A19]

[A20]

[A21]

[A22]

[A23]

[A24]

[A25]

[A26]

[A27]

[A28]

[A29]

[A30]

OK!!

RAM Pattern Test :

Writing ...

0x44332211,

0xA5A5A5A5,

0xA5A5A500,

============ Memory Detection Report ===========

Internal RAM:

External RAM:

Type = DRAM

Size = 0x80000000 (2048MB/16384Mb)

NAND Flash:

ERROR: NAND Flash was not detected!

EMMC:

EMMC_PART_BOOT1	Size = 0x0000000000400000(4MB)

EMMC_PART_BOOT2	Size = 0x0000000000400000(4MB)

EMMC_PART_RPMB	Size = 0x0000000000400000(4MB)

EMMC_PART_GP1	Size = 0x0000000000000000(0MB)

EMMC_PART_GP2	Size = 0x0000000000000000(0MB)

EMMC_PART_GP3	Size = 0x0000000000000000(0MB)

EMMC_PART_GP4	Size = 0x0000000000000000(0MB)

EMMC_PART_USER	Size = 0x00000003a3e00000(14910MB)

============	RAM Test	============

Data Bus Test:

[D0]

[D1]

[D2]

[D3]

[D4]

[D5]

[D6]

[D7]

[D8]

[D9]

[D10]

[D11]

[D12]

[D13]

[D14]

[D15]

[D16]

[D17]

[D18]

[D19]

[D20]

[D21]

[D22]

[D23]

[D24]

[D25]

[D26]

[D27]

[D28]

[D29]

[D30]

[D31]

OK!!

Address Bus Test:

[A1]

[A2]

[A3]

[A4]

[A5]

[A6]

[A7]

[A8]

[A9]

[A10]

[A11]

[A12]

[A13]

[A14]

[A15]

[A16]

[A17]

[A18]

[A19]

[A20]

[A21]

[A22]

[A23]

[A24]

[A25]

[A26]

[A27]

[A28]

[A29]

[A30]

OK!!

RAM Pattern Test :

Writing ...

0x44332211,

0xA5A5A5A5,

and after the test completed i get BROM ERROR : S_FT_MEMORY_TEST_FAIL (4048).

what i think that my internal sd is damaged so i can't write on it. is there a way to fix this -like flash the rom on external sd-card ??

-i saw a post about doing that in galaxy tap p-1000 ,is this possible in my case -by changing the storage location in scatter file and reformatting external sd-card- i have a 16 GB class 10 memory ready for the process ;thanks in advance:fingers-crossed: .