[Please help] How to flash preloader when STATUS_SEC_DL_FORBIDDEN is encountered
[Please help] How to flash preloader when STATUS_SEC_DL_FORBIDDEN is encountered
(20-05-2021, 05:32 PM)Ga Gu I was following a tutorial to unlock the bootloader of my Meizu M5 Note (M1621).
Before flashing (downloading), I made a full backup using SP Flash Tool.
But then something went wrong, so I wanted to restore the full image that I backed up previously.
But when I tried to download, I encountered this error: STATUS_SEC_DL_FORBIDDEN (0xc0020004)
...STATUS_SEC_DL_FORBIDDEN...
(21-05-2021, 11:25 AM)X3non try the fixes listed for this error @ https://www.hovatek.com/forum/thread-439.htmlI had read that error code list before I started this thread. I forgot to mention.
Quote:Message: ERROR: STATUS_SEC_DL_FORBIDDEN (0xC0020004)The first 2 solutions probably won't work, because the preloader I was using was from my previous backup, which should certainly be compatible and official.
Meaning: You aren't allowed to flash to the partition in question
Solution:
- Your model might require a compatible preloader.bin always loaded for backup / flash operations
- Ensure the file you're trying to flash is factory signed / official
- Try both Write memory and Download tabs in SP flash tool
(21-05-2021, 02:36 PM)Ga Gu The first 2 solutions probably won't work, because the preloader I was using was from my previous backup, which should certainly be compatible and official.
(21-05-2021, 02:36 PM)Ga Gu I don't quite understand what the 3rd solution means.
It tells me to try Download tab, but I've always been using the Download tab to download images.
And how does "Write memory" work? Could you provide me a link to a tutorial if you have one? It would save me a lot of time.
(21-05-2021, 02:36 PM)Ga Gu The first 2 solutions probably won't work, because the preloader I was using was from my previous backup, which should certainly be compatible and official.
I don't quite understand what the 3rd solution means.
It tells me to try Download tab, but I've always been using the Download tab to download images.
And how does "Write memory" work? Could you provide me a link to a tutorial if you have one? It would save me a lot of time.
Thanks!
(24-05-2021, 12:41 PM)hovatek Have you tried using the preloader from the factory firmware?Thanks for the respond.
(22-05-2021, 11:31 AM)X3non To activate write memory tab, press 'Ctrl + Alt + V' to enabled advanced mode then click Window > Write Memory
file path : select your preloader file (if you still have rom_0 dump you can try it here in place of preloader.bin)
begin address : 0x0
region : emmc_boot1
(24-05-2021, 04:45 PM)Ga Gu ...
I want to know is it safe to use the write memory function?
(24-05-2021, 04:45 PM)Ga Gu Is there any difference in choosing DRAM or SRAM?
(24-05-2021, 04:45 PM)Ga Gu If I choose wrong, will it write data to the wrong place and damage the phone?
Since I have restored my phone now, I don't want to take any unnecessary risk.