Hovatek Forum MOBILE Android [Please help] MT8167S - SP Dump
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Please help] MT8167S - SP Dump

[Please help] MT8167S - SP Dump

Whiterat
Whiterat
Whiterat
Enthusiastic Member
10
02-07-2021, 12:55 AM
#1



Hi,

Having trouble dumping a chinese smart clock that's running MT8167S.

MT8167 payload for mtk-bypass runs and is correct (dumped brom and checked function offsets and sec table).
Code:

[2021-06-28 00:07:40.653474] Waiting for device
[2021-06-28 00:07:49.098563] Found port = COM6
[2021-06-28 00:07:49.364155] Device hw code: 0x8167
[2021-06-28 00:07:49.379774] Device hw sub code: 0x8a00
[2021-06-28 00:07:49.379774] Device hw version: 0xcb00
[2021-06-28 00:07:49.379774] Device sw version: 0x1
[2021-06-28 00:07:49.395429] Device secure boot: True
[2021-06-28 00:07:49.395429] Device serial link authorization: False
[2021-06-28 00:07:49.411023] Device download agent authorization: True
[2021-06-28 00:07:49.426646] Disabling watchdog timer
[2021-06-28 00:07:49.457912] Disabling protection
[2021-06-28 00:07:52.995171] Protection disabled

I have the factory image for it (which works, flashed whole image to be 100% sure)
Extracted preloader from boot0.img factory image and created scatter file (both by hand and by wwr)

But still when trying to read back I get:
STATUS_PRELOADER_INVALID (0xC0030004)

I'm new to the MTK world and have been out of the android world in general for some years so need some pointers I'm afraid!
This post was last modified: 02-07-2021, 01:00 AM by Whiterat.
Attached Files
.txt
mt8167s_som_scatter.txt
Size: 12.1 KB / Downloads: 4
.zip
preloader_mt8167s_ref.bin.zip
Size: 102.61 KB / Downloads: 2
.zip
bootrom_8167.bin.zip
Size: 51.98 KB / Downloads: 4
X3non
X3non
X3non
Recognized Contributor
22,062
02-07-2021, 11:12 AM
#2
(02-07-2021, 12:55 AM)Whiterat ...But still when trying to read back I get:
STATUS_PRELOADER_INVALID (0xC0030004) ...

For this error, when you load the scatter file in download tab, ensure to include preloader file and tick the checkbox beside preloader then you can return back to readback tab
Refer to https://www.hovatek.com/forum/thread-439.html
Whiterat
Whiterat
Whiterat
Enthusiastic Member
10
02-07-2021, 03:47 PM
#3
Thanks for the reply.

Unfortunately already tried this... I searched all the topics on this site in particular for this error and to see what resolutions people found.
freshtyt
freshtyt
freshtyt
Senior Member
2,949
02-07-2021, 06:40 PM
#4
(02-07-2021, 03:47 PM)Whiterat Thanks for the reply.

Unfortunately already tried this... I searched all the topics on this site in particular for this error and to see what resolutions people found.

are you saying that the fix didn't work for you? post screenshots showing download tab in your sp flash tool before trying readback
Whiterat
Whiterat
Whiterat
Enthusiastic Member
10
02-07-2021, 09:49 PM
#5



Tried a 3rd PC and it works with everything I had - same drivers, spft, scatter and preloader.

Is it usual that SPFT is so finicky?

Just feels like one of those things that should work - or not, not just obscure errors.
X3non
X3non
X3non
Recognized Contributor
22,062
03-07-2021, 09:11 AM
#6
(02-07-2021, 09:49 PM)Whiterat Tried a 3rd PC and it works with everything I had - same drivers, spft, scatter and preloader.

Is it usual that SPFT is so finicky? ...

sometime it happens
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram