Hovatek Forum MOBILE Android [Please help] How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Please help] How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735

[Please help] How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735

tya
tya
tya
Junior Member
16
28-06-2018, 07:45 PM
#11



(27-06-2018, 08:02 PM)X3non you can try dumping firmware in scatter file using miracle box at https://www.hovatek.com/forum/thread-13347.html
lets know the outcome of all of these

(28-06-2018, 01:01 PM)hovatek The easiest tools for pulling this off are Windows only tools: Miracle box @ https://www.hovatek.com/forum/thread-13347.html and Wwr @ https://www.hovatek.com/forum/thread-21970.html

I tried Miracle Box Ver 2.27A as you said. The start button appears to be greyed out and nothing much happens.

[Image: ivHvwOW.png]
.png
MiracleBox.png
Size: 184.04 KB / Downloads: 2


I started with the phone off, and battery installed. I then powered the phone on with one press of the power button. I didn't hold it down. The start button was still greyed out.


(28-06-2018, 01:01 PM)hovatek Now, I want to correct two impressions quickly because they could trigger certain errors
1. You don't need to remove the battery to use Sp flash tool
2. Avoid holding volume down button (or any button at all) when connecting to PC for Sp flash tool as this mostly triggers a mismatch error (Yes)

Right, I had only tried those suggested things I had read elsewhere. What I found when I didn't do those things is nothing happened.

(28-06-2018, 01:01 PM)hovatek Now, it seems the wwr + sp flash tool approach is what you've chosen so lets stick with that.

The main reason I chose that method is because all other methods required me to already have a scatter or a known rom that works on the phone. As none are supplied by the vendor this is really all I can think will work.

(28-06-2018, 01:01 PM)hovatek First is the temp scatter file in Wwr. I use Windows so I have generated that for you (find attached).  MT6735 & MT6737M for you to test both
Your first region to dump is the raw preloader

Code:

physical_start_addr: 0x0 (Start Address)
partition_size: 0x80000 (Length)
region: EMMC_BOOT_1 (Very important you set this)

Try dumping this partition and let me know what error(s) you get (full screenshots + logs). This will tell what we're dealing with
Try using Sp flash tool  V5.1532.00 & V5.1516.00

So I had used WwR_MTK_v2 to produce those skeleton scatters. They look the same as the ones I produced yesterday.

I am doing this on a Windows 8.1 x64 machine as Administrator.

MT6735
  1. VCOM drivers installed
    [Image: 5la3aM0.png]
    .png
    Device Manager.png
    Size: 8.45 KB / Downloads: 0

  2. Scatter Loaded
    [Image: mQfTb6q.png]
    .png
    MT6735.s1.png
    Size: 35.04 KB / Downloads: 0

  3. Readback Added
    [Image: 1Lhy76J.png]
    .png
    MT6735.s2.png
    Size: 29.36 KB / Downloads: 0

  4. Readback started
    [Image: tuccXBF.png]
    .png
    MT6735.s3.png
    Size: 29.25 KB / Downloads: 1
  5. Phone off, with battery in plugged in.
  6. Nothing found, Tried all 3 versions: V5.1532.00, V5.1516.00 and V5.1820.
The logs at the end have:
Code:

BROM_DLL[3508][628]: WARNING: EnumerateDevice(): Get friendly name failed! Err(13) (FlashToolLib/host/windows/com_enum.cpp:618)

So it's fairly obvious what is the issue; the device is not being found. I checked the whole log and it was the same.

MT6737M

I found that SP Flash Tool v5.1532 and v5.1516 would not accept the MT6737M scatter file and just said that it was invalid, however the latest version v5.1820 was fine with it - so I guess I'll use that.

I noticed a lot of this in the log files and nothing really happened.

Code:

06/29/18 01:49:40.845 BROM_DLL[3424][388]: DEBUG: BRom_Base::SetBRomCommState(): OK!, BaudRate(9600) = 9600 x EXT_CLOCK(2) x Multiple(1). (FlashToolLib/sv5/common/interface/src/brom_base.cpp:360)
06/29/18 01:49:40.845 BROM_DLL[3424][388]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(9600), SEND(0xA0)->RECV(0xA0), fail_retry(30). (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:268)
06/29/18 01:49:40.892 BROM_DLL[3424][388]: DEBUG: BRom_Base::SetBRomCommState(): OK!, BaudRate(57600) = 57600 x EXT_CLOCK(2) x Multiple(1). (FlashToolLib/sv5/common/interface/src/brom_base.cpp:360)
06/29/18 01:49:40.892 BROM_DLL[3424][388]: BRom_AutoBoot::BRom_StartCmd(0): m_ext_clock(EXT_26M), m_baud_rate(57600), SEND(0xA0)->RECV(0xA0), fail_retry(31). (FlashToolLib/sv5/common/interface/src/brom_autoboot.cpp:268)

The only way I was able to actually get anything happening was to:

  1. Plugged the device, battery removed
  2. Scatter Loaded
    [Image: O7XrfKe.png]
    .png
    MT6737M.s1.png
    Size: 37.53 KB / Downloads: 1

  3. Readback Added
    [Image: kHW8Kyw.png]
    .png
    MT6737M.s2.png
    Size: 29.75 KB / Downloads: 0

  4. Hit Readback
  5. Insert battery (causes power to go to the device)
  6. Then you see S_BROM_DOWNLOAD_DA_FAIL (2004)
    [Image: bVPcci7.png]
    .png
    MT6737M.s3.png
    Size: 43.01 KB / Downloads: 0

  7. Hit Readback again this time we see S_AUTH_HANDLE_IS_NOT_READY (5000)
    [Image: HKDKqPS.png]
    .png
    MT6737M.s4.png
    Size: 34.87 KB / Downloads: 0

(28-06-2018, 01:01 PM)hovatek Side note (while waiting for feedback from above steps):
About the ERROR : S_BROM_DOWNLOAD_DA_FAIL (2004), that could be due to an interruption (device powering up) or a secure bootloader in which case you might need a custom Download Agent) to force detection

I think this may be the issue as it is complaining about a secure bootloader. I was able to reproduce the above about 10 times in a row.

I was able to reproduce this numerous times in Windows and in Linux, exactly the same behavior.

I have also attached the logs produced when those two errors occurred.
This post was last modified: 29-06-2018, 06:10 PM by tya.
Attached Files
.zip
SP_FT_Dump_06-29-2018-02-17-48.zip
Size: 25.46 KB / Downloads: 14

Messages In This Thread
How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 27-06-2018, 06:58 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 27-06-2018, 07:03 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by X3non - 27-06-2018, 08:02 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 28-06-2018, 07:30 AM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by hovatek - 28-06-2018, 01:01 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 28-06-2018, 07:24 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 28-06-2018, 07:25 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 28-06-2018, 07:26 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 28-06-2018, 07:27 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 28-06-2018, 07:28 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 28-06-2018, 07:45 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by hovatek - 29-06-2018, 11:45 AM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 29-06-2018, 05:52 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by hovatek - 30-06-2018, 12:27 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 30-06-2018, 01:19 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by hovatek - 30-06-2018, 01:50 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 30-06-2018, 02:47 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by hovatek - 30-06-2018, 03:09 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by tya - 30-06-2018, 06:40 PM
RE: How to get the scatter file for a Moto C (namath) XT1758 with MediaTek MT6735 - by EricChandler - 19-09-2023, 04:11 AM
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram