Hovatek
  • Private Support
  • Blog
  • Home
Login Register Ask Question Hello There, Guest!
Login
Username:
Password: Lost Password?
 

OR

       

Telegram Channel: Join the discussions @ t.me/Hovatek


  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android
Pages (2): 1 2 Next »
 
Thread Rating:
  • 0 Vote(s) - 0 Average

Thread Modes

Trouble backing up ROM on MT8163 with SPFT - BROM ERROR: S_DL_GET_DRAM_SETTING_FAIL

legalpet
Enthusiastic Member
Posts: 6
Threads: 1
Joined: Dec 2020
Reputation: 0
#1

17-12-2020, 04:50 PM


I have an android managed device created by a company, for that company specifically. It's got a slimmed down version of android, and I cannot enable debugging, can't get online in any way, and pretty much can't do anything with it. It was meant to be used only with company kiosks. Anyways, it's pretty decent hardware and I'd like to use it. It's a tablet.

The tablet has a mediatek MT8163V chip. I generated a scatter file and followed all the steps found at this link:

https://forum.hovatek.com/thread-21970-page-15.html

However, I keep getting this error when I try Read Back with the SP Fash tool:

BROM ERROR: S_DL_GET_DRAM_SETTING_FAIL

It's as if the scatter file is incorrect. However, I generated the scatter file per the instructions in the link above, using WwR MTK version 2.51

Please help me out with some guidance as to what I can do. Thanks!
(This post was last modified: 17-12-2020, 05:06 PM by legalpet.)
Find
Reply
hovatek
Administrator
*******
Posts: 46,851
Threads: 1,181
Joined: Oct 2013
Reputation: 422
#2

18-12-2020, 05:52 AM
(17-12-2020, 04:50 PM)legalpet Wrote:  I have an android managed device created by a company, for that company specifically. It's got a slimmed down version of android, and I cannot enable debugging, can't get online in any way, and pretty much can't do anything with it. It was meant to be used only with company kiosks. Anyways, it's pretty decent hardware and I'd like to use it. It's a tablet.

The tablet has a mediatek MT8163V chip. I generated a scatter file and followed all the steps found at this link:

  https://forum.hovatek.com/thread-21970-page-15.html

However, I keep getting this error when I try Read Back with the SP Fash tool:

  BROM ERROR: S_DL_GET_DRAM_SETTING_FAIL

It's as if the scatter file is incorrect. However, I generated the scatter file per the instructions in the link above, using WwR MTK version 2.51

Please help me out with some guidance as to what I can do. Thanks!

Download MT8163 scatter file @ https://forum.hovatek.com/thread-12724.html and try using it to readback recovery partition. Do Not attempt to flash with this scatter file, its generic

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Website Find
Reply
legalpet
Enthusiastic Member
Posts: 6
Threads: 1
Joined: Dec 2020
Reputation: 0
#3

18-12-2020, 03:07 PM
(18-12-2020, 05:52 AM)hovatek Wrote:  
(17-12-2020, 04:50 PM)legalpet Wrote:  I have an android managed device created by a company, for that company specifically. It's got a slimmed down version of android, and I cannot enable debugging, can't get online in any way, and pretty much can't do anything with it. It was meant to be used only with company kiosks. Anyways, it's pretty decent hardware and I'd like to use it. It's a tablet.

The tablet has a mediatek MT8163V chip. I generated a scatter file and followed all the steps found at this link:

  https://forum.hovatek.com/thread-21970-page-15.html

However, I keep getting this error when I try Read Back with the SP Fash tool:

  BROM ERROR: S_DL_GET_DRAM_SETTING_FAIL

It's as if the scatter file is incorrect. However, I generated the scatter file per the instructions in the link above, using WwR MTK version 2.51

Please help me out with some guidance as to what I can do. Thanks!

Download MT8163 scatter file @ https://forum.hovatek.com/thread-12724.html and try using it to readback recovery partition. Do Not attempt to flash with this scatter file, its generic

Hi! Thanks for your response. However, as I mentioned in the OP, I actually am using the scatter for readback already.

Specifically, I'm even using the scatter that you mentioned in your reply.

When doing readback is when I'm getting this error. Could it possibly be a driver issue? I doubt it because it seems to be talking to spflash fine... I'm just at a loss. Thanks though, any ideas would be greatly appreciated!

EDIT: I noticed the scatter file created using WwR has a different partition size for the preloader than the one you guys offer.

The one offered at the link you supplied has: partition_size: 0x40000

The one created by WwR has: partition_size: 0x80000

Is it possible that the partition size is off?? Could I try any other sizes that might work?
(This post was last modified: 18-12-2020, 07:14 PM by legalpet.)
Find
Reply
hovatek
Administrator
*******
Posts: 46,851
Threads: 1,181
Joined: Oct 2013
Reputation: 422
#4

19-12-2020, 03:26 PM
(18-12-2020, 03:07 PM)legalpet Wrote:  ..
The one offered at the link you supplied has: partition_size: 0x40000

The one created by WwR has: partition_size: 0x80000

Is it possible that the partition size is off?? Could I try any other sizes that might work?

I recommended that (generic) scatter file because the starting scatter wwr creates is just enough to dump preloader and PGPT.
This is why I asked you to attempt to readback ONLY recovery using the generic scatter file. Most (if not all) partitions will have different addresses but targeting recovery can help you discover the device's build number and search for a firmware online.
Share a full screenshot of SP flash tool when you get that error message. Use the wwr scatter file (for preloader dump) and generic scatter file for recovery dump)

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
(This post was last modified: 19-12-2020, 03:28 PM by hovatek.)
Website Find
Reply
legalpet
Enthusiastic Member
Posts: 6
Threads: 1
Joined: Dec 2020
Reputation: 0
#5

21-12-2020, 04:14 PM
(19-12-2020, 03:26 PM)hovatek Wrote:  
(18-12-2020, 03:07 PM)legalpet Wrote:  ..
The one offered at the link you supplied has: partition_size: 0x40000

The one created by WwR has: partition_size: 0x80000

Is it possible that the partition size is off?? Could I try any other sizes that might work?

I recommended that (generic) scatter file because the starting scatter wwr creates is just enough to dump preloader and PGPT.
This is why I asked you to attempt to readback ONLY recovery using the generic scatter file. Most (if not all) partitions will have different addresses but targeting recovery can help you discover the device's build number and search for a firmware online.
Share a full screenshot of SP flash tool when you get that error message. Use the wwr scatter file (for preloader dump) and generic scatter file for recovery dump)

First of all, thank you very much for your help.

I have taken screen-shots of what I’m doing. I broke the images down into Method #1 and Method #2.

Method #1 uses the method as you described, attempting to read-back only the recovery partition. I tried this method in two ways. One as is shown, with no recovery.img file. However, I also tried it with a TWRP recovery image file in the same directory as the scatter file, which gave the same error…

Method #2 uses the method described in your post explaining to read-back on the preloader partition, using the WwR scatter file.
As you can see, both methods give the same result.

Thanks again, any help/ideas are greatly appreciated.



Attached Files
.png Method1-Img1.png Size: 89.37 KB  Downloads: 5
.png Method1-Img2.PNG Size: 126.81 KB  Downloads: 5
.png Method1-Img3.PNG Size: 56.4 KB  Downloads: 4
.png Method1-Img4.PNG Size: 81.45 KB  Downloads: 4
.png Scatter-File.png Size: 135.55 KB  Downloads: 5
.png Method2-Img1.PNG Size: 79.73 KB  Downloads: 5
.png Method2-Img2.PNG Size: 162.75 KB  Downloads: 4
.png Method2-Img3.PNG Size: 81.2 KB  Downloads: 4
.png Method2-Img4.PNG Size: 101.4 KB  Downloads: 4
.png Scatter-WwR.PNG Size: 74.37 KB  Downloads: 6
(This post was last modified: 21-12-2020, 04:31 PM by legalpet.)
Find
Reply
hovatek
Administrator
*******
Posts: 46,851
Threads: 1,181
Joined: Oct 2013
Reputation: 422
#6

22-12-2020, 06:04 AM
(21-12-2020, 04:14 PM)legalpet Wrote:  First of all, thank you very much for your help.

I have taken screen-shots of what I’m doing. I broke the images down into Method #1 and Method #2.

Method #1 uses the method as you described, attempting to read-back only the recovery partition. I tried this method in two ways. One as is shown, with no recovery.img file. However, I also tried it with a TWRP recovery image file in the same directory as the scatter file, which gave the same error…

Method #2 uses the method described in your post explaining to read-back on the preloader partition, using the WwR scatter file.
As you can see, both methods give the same result.

Thanks again, any help/ideas are greatly appreciated.

Use Miracle Thunder v2.82 to dump your firmware in scatter format as explained @ https://forum.hovatek.com/thread-13347.html
Let me know how that goes

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Website Find
Reply
legalpet
Enthusiastic Member
Posts: 6
Threads: 1
Joined: Dec 2020
Reputation: 0
#7

22-12-2020, 03:24 PM
(22-12-2020, 06:04 AM)hovatek Wrote:  
(21-12-2020, 04:14 PM)legalpet Wrote:  First of all, thank you very much for your help.

I have taken screen-shots of what I’m doing. I broke the images down into Method #1 and Method #2.

Method #1 uses the method as you described, attempting to read-back only the recovery partition. I tried this method in two ways. One as is shown, with no recovery.img file. However, I also tried it with a TWRP recovery image file in the same directory as the scatter file, which gave the same error…

Method #2 uses the method described in your post explaining to read-back on the preloader partition, using the WwR scatter file.
As you can see, both methods give the same result.

Thanks again, any help/ideas are greatly appreciated.

Use Miracle Thunder v2.82 to dump your firmware in scatter format as explained @ https://forum.hovatek.com/thread-13347.html
Let me know how that goes

Tried it with miracle box... It quickly said "Not Supported". I included a screen shot.

Could it be a driver issue?? I see a lot of posts saying to uninstall/reinstall drivers... But I already tried that, including disabling driver signature validation. Maybe I should try it on a different computer?? Or is that unlikely to help?

The android version is 8.1 oreo. Is it possible that the manufacturer built a secure boot chain that won't work with sp flash tool??

Thanks again.

EDIT: If I can pay you to troubleshoot this device and potentially come up with a solution, I'd be highly interested. If setting up something like this is possible, please notify me as to how we may arrange this. Thanks.


Attached Files
.png miraclebox-error.PNG Size: 222.53 KB  Downloads: 3
(This post was last modified: 22-12-2020, 08:44 PM by legalpet.)
Find
Reply
hovatek
Administrator
*******
Posts: 46,851
Threads: 1,181
Joined: Oct 2013
Reputation: 422
#8

23-12-2020, 07:17 AM
(22-12-2020, 03:24 PM)legalpet Wrote:  ..
EDIT: If I can pay you to troubleshoot this device and potentially come up with a solution, I'd be highly interested. If setting up something like this is possible, please notify me as to how we may arrange this. Thanks.

Yes, I can see that the boot (chipset) isn't supported in that version of Miracle Thunder but can't yet say for sure if its secure boot at play.
Book a session @ https://remote.hovatek.com/

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
(This post was last modified: 23-12-2020, 07:17 AM by hovatek.)
Website Find
Reply
angeelgar
Newbie
Posts: 1
Threads: 0
Joined: May 2018
Reputation: 0
#9

23-12-2020, 07:55 AM
(22-12-2020, 03:24 PM)legalpet Wrote:  
(22-12-2020, 06:04 AM)hovatek Wrote:  
(21-12-2020, 04:14 PM)legalpet Wrote:  First of all, thank you very much for your help.

I have taken screen-shots of what I’m doing. I broke the images down into Method #1 and Method #2.

Method #1 uses the method as you described, attempting to read-back only the recovery partition. I tried this method in two ways. One as is shown, with no recovery.img file. However, I also tried it with a TWRP recovery image file in the same directory as the scatter file, which gave the same error…

Method #2 uses the method described in your post explaining to read-back on the preloader partition, using the WwR scatter file.
As you can see, both methods give the same result.

Thanks again, any help/ideas are greatly appreciated.

Use Miracle Thunder v2.82 to dump your firmware in scatter format as explained @ https://forum.hovatek.com/thread-13347.html
Let me know how that goes

Tried it with miracle box... It quickly said "Not Supported". I included a screen shot.

Could it be a driver issue?? I see a lot of posts saying to uninstall/reinstall drivers... But I already tried that, including disabling driver signature validation. Maybe I should try it on a different computer?? Or is that unlikely to help?

The android version is 8.1 oreo. Is it possible that the manufacturer built a secure boot chain that won't work with sp flash tool??

Thanks again.

EDIT: If I can pay you to troubleshoot this device and potentially come up with a solution, I'd be highly interested. If setting up something like this is possible, please notify me as to how we may arrange this. Thanks.


Attached Files
.txt MT8163_Android_scatter.txt Size: 9.12 KB  Downloads: 2
Find
Reply
legalpet
Enthusiastic Member
Posts: 6
Threads: 1
Joined: Dec 2020
Reputation: 0
#10

29-12-2020, 04:45 PM

@angeelgar I tried that scatter file. Same result. Thanks though.

@Hovatek. I found a version of miracle thunder (2.92) that supports up to mt8127... Still says not compatible. Which I suppose is to be expected, since mt8127 is an older generation. Oh well.
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


Possibly Related Threads…
Thread / Author Replies Views Last Post
X690B Hardbrick Readback SPFT
NyihuiGamer
9
228
Last Post by hovatek
Yesterday, 09:09 AM
how do i solve BROM ERROR on sp flash tool
abdallahtahir
13
27,494
Last Post by emzkyd
31-12-2020, 04:22 PM
Backing up userdata.img via DD too large!
najnaj
22
6,595
Last Post by HemanthJabalpuri
19-12-2020, 04:56 AM
MT8163 TWRP failed to recovery
TechnoStark
5
670
Last Post by hovatek
23-11-2020, 06:55 AM
Backing up Tecno Camon 12 CC7
Wizard of Comp
7
524
Last Post by Wizard of Comp
14-10-2020, 11:06 AM

  • View a Printable Version


Users browsing this thread: 1 Guest(s)
  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android

About

The Hovatek Forum is a free Tech. Support Forum. We provide solutions to all your device related problems and questions. We'll love to have you participate in discussions here whether you're a Newbie or Experienced.

         

Forum Team

Powered By MyBB. Crafted by EreeCorp.




Linear Mode
Threaded Mode

Share

Share Tweet Share Share Pin