A newer version of SP Flash tool for Linux - General Topics

I want to root some phones that have a MTK MT6755 SoC, and first I want to do some full backup of their flash. In order to do so, I have to use SP Flash Tool.
The latest version of SP Flash Tool is 5.1524.00, at least for windows users. I'm working on linux all the time, and I don't really operate on windows. The version of SP Flash Tool for linux seems to be a little bit outdated because it's 5.1520.00.
This version was fine for my older phones, but for the new ones only the 5.1524.00 seems to accept my scatter.txt file and the problem is in the newer SoC.
Does anyone know whether (and when) a newer version of SP Flash Tool will be released for linux? Maybe is there a way to do some stuff to make the older version of SP Flash Tool work with the MT6755 SoC on linux?

morfikov said:
Does anyone know whether (and when) a newer version of SP Flash Tool will be released for linux? Maybe is there a way to do some stuff to make the older version of SP Flash Tool work with the MT6755 SoC on linux?
Click to expand...
Click to collapse
SPFT Linux, I use v5.1712 for the MT6737T. Readback all your partitions for backups.
How to setup on linux.

So is this website outdated?
https://spflashtool.com/
I downloaded the newest version from the link you've provided, but it seems that SP Flash Tool needs to be updated:
Code:
SP_Flash_Tool_v5.1728_Linux/flash_tool: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
And I have this lib installed:
Code:
# dpkg -l | grep libpng
ii libpng16-16:amd64 1.6.32-3 amd64 PNG library - runtime (version 1.6)
I had to install the lib from here: https://packages.debian.org/jessie/libpng12-0 , but it seems to work well, and also it loads my scatter file without a problem.

Related

[Q] system.img file extraction

Hello guys,
I am trying to extract the system.img file from the Note 10.1 2014 edition stock ROM. It seems that Samsung had also manipulated the file system again. I used to generate an ext4 img file, so that I can mount it in Linux Reader on Windows. However, this method is not working any more.
The tool I used was sgs2img.jar, but as I said, it gets stuck on 32 bytes.
Any idea??
tweetatoo said:
Hello guys,
I am trying to extract the system.img file from the Note 10.1 2014 edition stock ROM. It seems that Samsung had also manipulated the file system again. I used to generate an ext4 img file, so that I can mount it in Linux Reader on Windows. However, this method is not working any more.
The tool I used was sgs2img.jar, but as I said, it gets stuck on 32 bytes.
Any idea??
Click to expand...
Click to collapse
I managed to extract a previous version of firmware of P600, MID, using first Chainfire's sgs4ext4fs utility - https://github.com/Chainfire/sgs4ext4fs - (compiled for Windows). First I trimmed the img with "sgs4ext4fs --trim system.img systemt.img" then I used sgs2ext4.jar to make the systemt.ext4.img file that could be mounted with Linux Reader.
However, the new MJ6 version doesn't work like that.
Maybe someone else could find out what's changed with the new versions.
I attached the Windows version of sgs4ext4fs utility because the source code must be slightly modified for Windows.
and.. did you extract the system.img ? I cant do it also from MK1 base for P600, and i wanted to make rom for that type

sp flash tool error 8038 - android 4.3 device Timmy E82

Wondering if someone could help. I have a Timmy E82 Android 4.3 MTK MT6582 device and been unable to fully root it with any tools, due to /system refusing to mount. My device is true 4.3 it seems.
I'm using:
SP_Flash_Tool_v3.1332.0.187
MTK Droid tools v2.5.1
I made completed all the steps to get a scatter, it created a patched recovery, which I renamed to recovery.img and put both the scatter and the recovery in the same folder.
But then I'm getting error 8038.
Reading here: http://www.phcorner.net/threads/fix-...sh-tool.64302/
And a few other places it suggests the issue is a mis match in the scatter file. What is it I need to modify in the scatter to get it working so I can flash a custom recovery? I honestly don't know what value the SP log is e
Also I read the pre-loader needs to be able to in the same folder, as the scatter and recovery, does also also need to be ticked during the custom recovery flashing process?
Please see my attached scatter file and log with SP tools.

How to pump a firmware with the SPD Research Tool

How to pump a Android phone firmware with the SPD Research Tool
Look inside here:
How-to Flash or Install .pac Firmware (ROM) using SPD Research Tool
Step-by-Step guidelines to flash or install .pac or p5c Firmware (ROM Flash File) using the SPD Research Tool on Windows Computer.
spdflashtool.com
jwoegerbauer said:
Look inside here:
How-to Flash or Install .pac Firmware (ROM) using SPD Research Tool
Step-by-Step guidelines to flash or install .pac or p5c Firmware (ROM Flash File) using the SPD Research Tool on Windows Computer.
spdflashtool.com
Click to expand...
Click to collapse
I want to pump firmware not burn burn firmware
1599999 said:
I want to pump firmware not burn burn firmware
Click to expand...
Click to collapse
Ooops, I was misreading your OP.
jwoegerbauer said:
Look inside here:
How-to Flash or Install .pac Firmware (ROM) using SPD Research Tool
Step-by-Step guidelines to flash or install .pac or p5c Firmware (ROM Flash File) using the SPD Research Tool on Windows Computer.
spdflashtool.com
Click to expand...
Click to collapse
Where should I get a PAC file
Don't have it in the links there
I think at least knowing brand / model of your device is needed to start a related Google search.
@jwoegerbauer
And cannot be pumped without a PAC file?
If device's Android is rooted and if ADB is enabled then you can dd the whole /dev/block/mmcblk0 what includes all partitions of Android device's internal storage memory.
jwoegerbauer said:
If device's Android is rooted and if ADB is enabled then you can dd the whole /dev/block/mmcblk0 what includes all partitions of Android device's internal storage memory.
Click to expand...
Click to collapse
Need a root?
I want without Roth

Unpacking firmware update file

Hello guys. I have an firmware update file for a rk3188 tvbox with android in .img extension
It is based on Android 4.2.2 and I want to unpack it to see how can I get an Android 4.4.2 firmware to run or edit this one. Can someone tell me if there is a tool for doing this kind of unpacking and repacking also? Windows based, or maybe linux but I'm gonna use it in a virtual machine. Many thanks!!
Just use CRB image kitchen tool
[TOOL][LINUX][ANDROID][WINDOWS] Jancox Tool Unpack Repack ROMs
Jancox Tool Unpack Repack ROMs Jancox tool is a tool for unpacking and repacking ROMs, in other words this is a tool for modification Android ROM, and it supports Linux, Android and Windows. Requestment Requestment Linux - Installed Python 3...
forum.xda-developers.com

Question Anyone know how to unbrick an OP9 on Linux? I do not use Windows

Hello all,
Yes, this is another request to unbrick an OP9 from a Lineage recovery installation, but I don't have, nor want to have Windows. Not certain if this question has been asked before but due to choices, I will not use Windows anywhere except QEMU. I run Artix Linux (a rolling release based on Arch, with OpenRC), and as some of you may know, Linux does not have native .exe support. I have tried WINE for use on MSM tool, no luck as I only have the factory option from the dropdown only. I've tried QEMU and Win7, Win10, and Win11 (granted they are all debloated versions to speed boot times). The only error I'm getting is during a USB passthrough error when loading EDL mode. The last thing I tried was a python script that unpacks payload.bin for setting up fastboot flashing in a specific order. It requires a recovery.img, but I don't have it making this method useless. I do not have a windows machine in the home nor do my neighbors. How can I stick with Linux and unbrick my OP9?
Thanks all,
Your fellow Linux enthusiast.
Hello,
If you need this recovery.img, did you try to extract it from payload. bin using payload dumper ?
sbute said:
Hello,
If you need this recovery.img, did you try to extract it from payload. bin using payload dumper ?
Click to expand...
Click to collapse
Yes I used the payload dumper script on the latest version of OOS for the OP9. There was no recovery, and I found a similar post stating it was built into the boot.img file. I still was unable to get recovery working afterward, but that method was good for Android 11 only.
Ok, I'm a linux user too, I endeed up installing a small partition of windows on dual boot just to run msm tool on OP9. But I know you don't want that. Did you try flashing partitions in fastboot ? There 's a thread about that in this forum .
sbute said:
Ok, I'm a linux user too, I endeed up installing a small partition of windows on dual boot just to run msm tool on OP9. But I know you don't want that. Did you try flashing partitions in fastboot ? There 's a thread about that in this forum .
Click to expand...
Click to collapse
I should take a look but that is what I tried, maybe I didn't flash the partitions correctly
Wich rom did you come from ? Can't you get the right recovery from their website ?
sbute said:
Wich rom did you come from ? Can't you get the right recovery from their website ?
Click to expand...
Click to collapse
you have to receive the image from oneplus themselves and it's the full image including recovery
Ah ok, you're on stock rom. Maybe wait for other user's advice
fl0wedm said:
Hello all,
Yes, this is another request to unbrick an OP9 from a Lineage recovery installation, but I don't have, nor want to have Windows. Not certain if this question has been asked before but due to choices, I will not use Windows anywhere except QEMU. I run Artix Linux (a rolling release based on Arch, with OpenRC), and as some of you may know, Linux does not have native .exe support. I have tried WINE for use on MSM tool, no luck as I only have the factory option from the dropdown only. I've tried QEMU and Win7, Win10, and Win11 (granted they are all debloated versions to speed boot times). The only error I'm getting is during a USB passthrough error when loading EDL mode. The last thing I tried was a python script that unpacks payload.bin for setting up fastboot flashing in a specific order. It requires a recovery.img, but I don't have it making this method useless. I do not have a windows machine in the home nor do my neighbors. How can I stick with Linux and unbrick my OP9?
Thanks all,
Your fellow Linux enthusiast.
Click to expand...
Click to collapse
What did you do to brick the phone? Did you just flash LineageOS recovery? What happens when you try to boot the phone? Can you access bootloader mode?
you don't need to install windows for that
you can use WinPE
Hiren's BootCD PE
or in Linux
you can use edl tool from github and manually flash firmware , its too hard and terrible but here you go
GitHub - bkerler/edl: Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools :)
Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools :) - GitHub - bkerler/edl: Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools :)
github.com
fl0wedm said:
my OP9
Click to expand...
Click to collapse

Categories

Resources