How to run flashtool 0.9.24.4 on Ubuntu 17.10? - Sony Xperia X Compact Questions & Answers

How to run flashtool 0.9.24.4 on Ubuntu 17.10?

How do you mean how ?

Use the Archive Manager to unzip and unpack the archive flashtool-0.9.24.4-linux.tar.7z.
In the folder FlashTool execute the command "./FlashTool".
Further information:
FlashTool homepage

Related

[GUIDE] Extract Samsung *.tar.md5 files on Linux

Hey. While trying to port a TouchWiz ROM, I came across tar.md5 files. For some reason, every guide to open this format assumes you're using Windows. I use Linux Mint, so it was a bit of a problem. I found the solution, and thought I should post it here.
Materials required:
Android Kitchen
Linux distro with p7zip
Basic Terminal knowledge
Procedure:
1. Download Android Kitchen here: http://forum.xda-developers.com/showthread.php?t=633246
2. Download and install p7zip (for Ubuntu-based distros):
Code:
sudo apt-get install p7zip p7zip-full p7zip-rar
3. Open a Terminal in the directory where you have your tar.md5. Do:
Code:
7z e SomeReallyLongNameHowDoesSamsungRememberThis.tar.md5
And wait for the shell prompt to appear again. When it does, go to Android Kitchen's original_update folder and paste the boot.img and system.img that were extracted there.
4. Open a Terminal in Android Kitchen's directory. Do:
Code:
./menu
1
(just press enter, type nothing before it)
(type number corresponding to "system.img and boot.img" and press enter)
When it asks you for your password, give it the password. It needs that for mounting the IMG file.
Now your /system folder is in WORKING_whatever, and you can make a ZIP from Android Kitchen. Done.

[TOOL] [LINUX] ADB and FASTBOOT installer for Linux

This is a simple ADB and FASTBOOT installer for Linux.
Instructions:
1. Extract to destop
2. Open terminal
3. CD to your desktop
4. Type ./ADB-FASTBOOT.sh
5. Delete the files on your desktop (ADB-FASTBOOT.sh and Data)
6. Done!
Credits:
M0Rf30 for his 51-andoid.rules
This was only tested on Ubuntu 14.10

[Guide] restore DRM on Nougat

Since the old method with rootkernel leads to touchscreen problem
here is the new method
Thanks to munjeni
Trim Area Proof Of Concept
1)Open the FTF file with 7-zip and extract kernel.sin
2)rename the kernel to KernelX.sin
3)Download the rar from this thread
https://forum.xda-developers.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893
4)Copy TA.img and KernelX.elf to the same folder where you extracted the rar
5)Click DOUBLECLICKME_NOUGAT.bat
6)You will get a new new_boot.img and flash it via fastboot
7)Now via adb push TA.img to /data/local/tmp
by using command adb push TA.img /data/local/tmp
All done :good:
Tested and working with Nougat. Your instructions are wrong but I followed the original thread.

can i extract payload.bin in android without pc?

is there any way to extract payload.bin file using android phone only without computer
currently i'm trying to extract it in Android if somebody know how to then pls. reply
As the extraction script is written in Python, I would try one of these tools https://dev.to/bauripalash/how-to-run-python-programs-on-android-49bg
i just figured it out with termux. first i install python in termux then download payload_dumper64.zip and extract it to data/data/com.termux/files/home then give full read write permission to output folder and then install protobuf in termux after that i copy payload bin to home folder and enter cmd "python payload_dumper.py payload.bin" and got extracted files in output folder but thanks for your reply

Unbrick Htc Desire 626G+ [Noob Friendly Guide]

Hi this is an complete noob-friendly guide to un-brick a hard/soft bricked HTC Desire 626G+
[Things you need]
1. A Computer with Linux Distribution.
2. Stock firmware for HTC Desire 626G+ [https://drive.google.com/file/d/1bmmwKIzyjbk7Ii8UUI8_OAur72LSi8N8/view?usp=sharing]
3. Sp flash tool v5.1744.00 (for linux)
4. Download agent for Sp-Flashtool (DA_SWSEC.bin) [https://drive.google.com/drive/folders/1s0BPSkY9lYii58b-fdL0XMaTGMjnBoCX?usp=sharing]
[Steps]
1. The very first step is to install Linux distribution if thats already done then u can skip this step
2. the second step is to install Sp Flash tool version 5.1744.00 from the official website
i tried it with other version of flash-tools but the firmware fails to flash on HTC desire 626G+ so choosing the right version is a must.
you can find that version from (https://spflashtool.com/download/)
3. now we must install dependency for spflashtool
the only dependency i had trouble installing was libPNG12 so i will post that here
simply run this command on terminal
Bash:
wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
dpkg -i /tmp/libpng12.deb
rm /tmp/libpng12.deb
after this also install generic usb driver by typing
Bash:
sudo apt install libusb-dev
after installing that you should be able to run flash tool for that follow step 4
4. after downloading sp flashtool and installing dependency
open terminal (shortcut [ctrl] + [alt] + [T] )
and type in terminal
Bash:
sudo apt update
then after that type
Bash:
sudo apt upgrade
we must allow flashtool to access the usb port without mode-manager interfering with flashtool
so in terminal type
Bash:
sudo gedit /etc/udev/rules.d/20-mm-blacklist-mtk.rules
a txt file will open and paste these 2 lines in it and save and exit
ATTRS{idVendor}=="0e8d", ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="6000", ENV{ID_MM_DEVICE_IGNORE}="1"
and then after saving exiting txt file
in terminal type
Bash:
sudo service udev restart
after that u will have to goto flashtool directory by
Bash:
cd Downloads
cd SP_Flash_Tool_v5.1744_Linux
after that u will have to provide permission so that we can run the sp flash tool type
Bash:
chmod +x flash_tool
after this u should be able to run the flashtool by typing
Bash:
sudo ./flash_tool
5. after step 4 u will likely have flash tool open and ready to go now u should extract the firmware u downloaded from link provided above
after extracting chose the scatter file for htc desire 626g+ and make sure to select the download agent "DA_SWSEC" which u can download from the link above, do not use the default one or flash will fail or wont start.
now click on download and connect ur phone while holding down the volume down key
note: if ur phone keeps disconnecting try flashing without battery.
6. after flashing is done boot the phone and Profit!
NOTE: Make sure to set your download agent in spflashtool as "DA_SWSEC.bin or mtkallinone" which you downloaded from the above link and then flash or else u might get error

Categories

Resources