Hovatek Forum
Backup Mediatek ROM on a NAND device - Printable Version

+- Hovatek Forum (https://forum.hovatek.com)
+-- Forum: MOBILE PHONES HELP SECTION (https://forum.hovatek.com/forum-75.html)
+--- Forum: Android (https://forum.hovatek.com/forum-76.html)
+--- Thread: Backup Mediatek ROM on a NAND device (/thread-26146.html)

Pages: 1 2 3 4


Backup Mediatek ROM on a NAND device - isrgish - 23-12-2018

** EDITED **

I'm trying to backup the ROM on a NAND device. I was following the directions on this post [Tutorial] How to use Wwr_MTK + SP Flash tool to backup Mediatek rom. In step #4 it says to select your memory type and continues to go with the EMMC memory type. My device has NAND memory type. and when I select it it adds in another field that's in Russian. I think its asking for the block_size. What do I select here.

Also when I go back to SP Flash Tool and go to do a readback the what option do I select in Read Method.

[Image: Readback-Dialog.png]


I went ahead and tried with the default number which was 0x20000 and in SP Flash I left the defalt which was Read Page + Spare. Now when I went back to WwR MTK Toll and tried analyzing the preloader I get no results it says "Information Not Found..."

Some info from SP Flash Tool about my device.
Chip Info:
Chip Name - MT8167
Chip Version - 0x0000cb00
Ext Clock - EXT_26M
Extern RAM Type - DRAM
Extern RAM Size - 0x40000000
NAND Flash:
ID - 0x00000000
Size - 0x400000000
Page Size - 0x00004000
Spare Size - 0x00000080
Pages Per Block - 0x00000200
BMT Exist - false

Please help me with this.

Thank Youi,


RE: Backup Mediatek ROM on a NAND device - X3non - 24-12-2018

(23-12-2018, 11:32 AM)isrgish Wrote:  ** EDITED **

I'm trying to backup the ROM on a NAND device. I was following the directions on this post [url=https://forum.hovatek.com/thread-21970.html][Tutorial] How
...

from the image you sent, use the second option [i.e read page only] and try reading the length of page or the length of size
btw where / how did you get those info about the device you posted?


RE: Backup Mediatek ROM on a NAND device - isrgish - 24-12-2018

(24-12-2018, 11:34 AM)X3non Wrote:  from the image you sent, use the second option [i.e read page only] and try reading the length of page or the length of size
btw where / how did you get those info about the device you posted?

I got the info from SP Flash Tool on the left hand side this showed after I tried a readback.

I was able to do the readback but Wwr Tool wasn't able to find the Preloader in it.

I tried a few different sizes in the download as you suggestion but nothing seems to get the preloader. Then i tried 0x400000000 ( which is 16 GB this is shown in SP Flash as the size of the Extern RAM size) When I do this I get an error at readback.

Please help me with this.

Thank You,


RE: Backup Mediatek ROM on a NAND device - hovatek - 24-12-2018

(24-12-2018, 05:35 PM)isrgish Wrote:  I got the info from SP Flash Tool on the left hand side this showed after I tried a readback.

I was able to do the readback but Wwr Tool wasn't able to find the Preloader in it.

I tried a few different sizes in the download as you suggestion but nothing seems to get the preloader. Then i tried 0x400000000 ( which is 16 GB this is shown in SP Flash as the size of the Extern RAM size) When I do this I get an error at readback.

Please help me with this.

Thank You,

What version of SP flash tool are you using?
Attach the scatter file you're using


RE: Backup Mediatek ROM on a NAND device - isrgish - 24-12-2018

(24-12-2018, 05:53 PM)hovatek Wrote:  What version of SP flash tool are you using?
Attach the scatter file you're using

SP Flash version - 5.1844

The scatter file is attached below.


RE: Backup Mediatek ROM on a NAND device - hovatek - 26-12-2018

(24-12-2018, 06:21 PM)isrgish Wrote:  SP Flash version - 5.1844

The scatter file is attached below.

OK. Before we delve deeper, how did you confirm your storage type is NAND and not EMMC?


RE: Backup Mediatek ROM on a NAND device - isrgish - 26-12-2018

(26-12-2018, 08:37 AM)hovatek Wrote:  OK. Before we delve deeper, how did you confirm your storage type is NAND and not EMMC?

I first tried with EMMC but when I went to readback I got an error saying that the scatter file is for EMMC but the device is NAND.

This is the error message I got.
[Image: Untitled.png]


RE: Backup Mediatek ROM on a NAND device - X3non - 27-12-2018

(26-12-2018, 05:03 PM)isrgish Wrote:  ...

try reading only the first 0x100000 then upload the file then post the download link here (read page only as usual)


RE: Backup Mediatek ROM on a NAND device - isrgish - 27-12-2018

(27-12-2018, 11:14 AM)X3non Wrote:  try reading only the first 0x100000 then upload the file then post the download link here (read page only as usual)

Here is the file

[ Login / Register to download free]


RE: Backup Mediatek ROM on a NAND device - X3non - 28-12-2018

(27-12-2018, 06:13 PM)isrgish Wrote:  Here is the file
...

truly there's no sign of preloader in this file
what error did you get when you tried reading back the length 0x400000000 ? (attach full screenshot)
you can also try 0x200000000