Hovatek Forum MOBILE Android Backup Mediatek ROM on a NAND device
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


Backup Mediatek ROM on a NAND device

Backup Mediatek ROM on a NAND device

Pages (4): 1 2 3 4 Next
isrgish
isrgish
isrgish
Techie Member
49
23-12-2018, 11:32 AM
#1



** 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,
This post was last modified: 23-12-2018, 12:47 PM by isrgish.
X3non
X3non
X3non
Recognized Contributor
22,062
24-12-2018, 11:34 AM
#2
(23-12-2018, 11:32 AM)isrgish ** EDITED **

I'm trying to backup the ROM on a NAND device. I was following the directions on this post [url=https://www.hovatek.com/forum/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?
isrgish
isrgish
isrgish
Techie Member
49
24-12-2018, 05:35 PM
#3
(24-12-2018, 11:34 AM)X3non 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,
hovatek
hovatek
hovatek
Administrator
49,570
24-12-2018, 05:53 PM
#4
(24-12-2018, 05:35 PM)isrgish 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

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
isrgish
isrgish
isrgish
Techie Member
49
24-12-2018, 06:21 PM
#5



(24-12-2018, 05:53 PM)hovatek 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.
Attached Files
.txt
MT8167_Android_scatter_temp.txt
Size: 1 KB / Downloads: 38
hovatek
hovatek
hovatek
Administrator
49,570
26-12-2018, 08:37 AM
#6
(24-12-2018, 06:21 PM)isrgish 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?

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
isrgish
isrgish
isrgish
Techie Member
49
26-12-2018, 05:03 PM
#7
(26-12-2018, 08:37 AM)hovatek 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]
X3non
X3non
X3non
Recognized Contributor
22,062
27-12-2018, 11:14 AM
#8
(26-12-2018, 05:03 PM)isrgish ...

try reading only the first 0x100000 then upload the file then post the download link here (read page only as usual)
This post was last modified: 27-12-2018, 11:16 AM by X3non.
isrgish
isrgish
isrgish
Techie Member
49
27-12-2018, 06:13 PM
#9
(27-12-2018, 11:14 AM)X3non 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

ROM file for 0x100000 readback
X3non
X3non
X3non
Recognized Contributor
22,062
28-12-2018, 12:40 PM
#10



(27-12-2018, 06:13 PM)isrgish 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
Pages (4): 1 2 3 4 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram