[TOOL] [Windows] S.U.R v1.3 - Simple Unpack & Repack Tool Deodexer [by JamFlux] - Android

@MikeChannon, please delete this.
Deleted topic because I don't think about giving more support.
Use @SuperR. kitchen.

Reserved

ohhh thanks bro!!! great job
Enviado desde mi POCOPHONE F1 mediante Tapatalk

I want to use Linux. How to use?

Virus??!!
Why my windows 10 security center scaned the virus??!!

ClassiCTR said:
I want to use Linux. How to use?
Click to expand...
Click to collapse
Sorry, it's a Windows tool.

568060545 said:
Why my windows 10 security center scaned the virus??!!
Click to expand...
Click to collapse
Because batch file it's converted to .exe and thats why. Don't worry. It's safe.

Version updated to 1.1
Best performance
https://www.androidfilehost.com/?fid=6006931924117938149

JamFlux said:
Version updated to 1.1
Best performance
https://www.androidfilehost.com/?fid=6006931924117938149
Click to expand...
Click to collapse
hi bro, first thank you for the mighty work you do
i need to repack my rom to other format not to original format

zemzmi said:
hi bro, first thank you for the mighty work you do
i need to repack my rom to other format not to original format
Click to expand...
Click to collapse
Go to 01-Project folder, then temp folder and rename for the format you need: system.img, system.new.dat or system.new.dat.br, then restart application and recover the project.

JamFlux said:
Go to 01-Project folder, then temp folder and rename for the format you need: system.img, system.new.dat or system.new.dat.br, then restart application and recover the project.
Click to expand...
Click to collapse
thanks and good work :good:

possible virus detected
JamFlux said:
Because batch file it's converted to .exe and thats why. Don't worry. It's safe.
Click to expand...
Click to collapse
So then, Why is SUR.exe needed if Sur.bat works ok without it?
Bro, virustotal detects 8/69 threats of SUR.exe file:
https://www.virustotal.com/gui/file/68f8708f5f156caef86535cb132e82527eb08ead3facaf3f09c10ab28618670c/behavior/VirusTotal%20Jujubox
Behaviour of this file does these filesystem actions:
Code:
Processes Tree
2584 - factura.exe
148 - C:\Windows\system32\cmd /c C:\Users\<USER>\AppData\Local\Temp\D751.tmp\D752.bat C:\Users\<USER>\Downloads\factura.exe
2812 - mode con: cols=72 lines=13
WTH is factura.exe?
Similarly, SUR_v1.1u.7z is 13/51 detected by Virustotal.

najabi said:
So then, Why is SUR.exe needed if Sur.bat works ok without it?
Bro, virustotal detects 8/69 threats of SUR.exe file:
https://www.virustotal.com/gui/file/68f8708f5f156caef86535cb132e82527eb08ead3facaf3f09c10ab28618670c/behavior/VirusTotal%20Jujubox
Behaviour of this file does these filesystem actions:
Code:
Processes Tree
2584 - factura.exe
148 - C:\Windows\system32\cmd /c C:\Users\<USER>\AppData\Local\Temp\D751.tmp\D752.bat C:\Users\<USER>\Downloads\factura.exe
2812 - mode con: cols=72 lines=13
WTH is factura.exe?
Similarly, SUR_v1.1u.7z is 13/51 detected by Virustotal.
Click to expand...
Click to collapse
Hi @najabi
I used a tool to compile .bat to .exe, may be its a false positive. I use that program because it can add administrative privileges. But now I put administrative privileges to .bat inside. Just use .bat from here: https://github.com/jamflux/SUR/raw/master/SUR.bat

Can't open?

JamFlux said:
Hi @najabi
I used a tool to compile .bat to .exe, may be its a false positive. I use that program because it can add administrative privileges. But now I put administrative privileges to .bat inside. Just use .bat from here: https://github.com/jamflux/SUR/raw/master/SUR.bat
Click to expand...
Click to collapse
Hi JamFlux,
I tried to unpack a vendor .zip with the utility using the .bat but I got an error anyway.
I think it's best to use scripting commands than .exe binaries when possible, they are easier to spot and analyse. You can use administrative command promt aswell. Which tool do you use to make executables from .bat files? Is it from reputable sources?

najabi said:
Hi JamFlux,
I tried to unpack a vendor .zip with the utility using the .bat but I got an error anyway.
I think it's best to use scripting commands than .exe binaries when possible, they are easier to spot and analyse. You can use administrative command promt aswell. Which tool do you use to make executables from .bat files? Is it from reputable sources?
Click to expand...
Click to collapse
Hi
I'm using this tool:
https://bat-to-exe-converter.uptodown.com/windows
But now I'm using command promt inside .bat
Hope you can unpack vendor.img
Best regards

JamFlux said:
Hi
I'm using this tool:
https://bat-to-exe-converter.uptodown.com/windows
But now I'm using command promt inside .bat
Hope you can unpack vendor.img
Best regards
Click to expand...
Click to collapse
In my opinion, I don't think it's a reputable tool, the developer's webpage doesn't work, and uptodown is not exactly a trusted source.
We must be extra careful these days as they put virus everywhere in executables.
That SUR.exe file is detected as infected by several engines, I think you should consider removing it from the tool.

najabi said:
In my opinion, I don't think it's a reputable tool, the developer's webpage doesn't work, and uptodown is not exactly a trusted source.
We must be extra careful these days as they put virus everywhere in executables.
That SUR.exe file is detected as infected by several engines, I think you should consider removing it from the tool.
Click to expand...
Click to collapse
I remove totally the executable in new version. Thanks.

New version 1.2 supporting deodexing from android 8.0 to android Q.
Download: https://www.androidfilehost.com/?fid=6006931924117945116

@JamFlux mate i have one question. Can I also unpack, edit (removing or adding apps, e.g.) and repack MIUI ROMs? Thx!
Sent from my [device_name] using XDA-Developers Legacy app

Related

[APP] Xperia ROM Manager

Features:
- Extract custom IMG.
- Create IMG files.
- Convert SIN To IMG.
New features will be added, as you request.
Please report all bugs, so i can fix them!
Update 26.feb!
Little cleanup.
Update 13.mar!
Changed name.
Changed small things.
Added option to convert SIN to IMG.
Update 21.mar!
Changed name.
Code rewrite and cleanup.
Changed menu.
Added option to create IMG file.(need some testing, SOMEONE HELP ME WITH THIS.)
Say thanks to:
velnens123 - for this little tool
aZuZu - for making SIN2IMG
unyaffs, mkyaffs and cygwin creator
For Windows 32-bit Only!
This does'nt modify sin files!
Please help me with creating IMG file!
download now, will see how it works. thanx
velnens123 said:
Here is a tool for extracting xRecovery and other recovery img files.
Features:
- Extract system.img
- Extract data.img
- Extract cache.img
- Extract recovery.img
- Extract boot.img
- Extract userdata.img
- Extract misc.img
- Extract custom img.
New features will be added, as you request.
Please report all bugs, so i can fix them!
Click to expand...
Click to collapse
please add feature to convert yaffs img to ext2 img.... and keep file permission,owner....
Hope i will make it!
brixzen said:
please add feature to convert yaffs img to ext2 img.... and keep file permission,owner....
Click to expand...
Click to collapse
I will see what i can do!
does this 'extract out of the phone' or does it 'extract files out of the images'?
Sorry for a silly question, but what would I use it for? Is it like for messing around with roms' content?
how can i extract it ??? when i write path to the img and press enter it says : open image file failed
thetrisatria said:
download now, will see how it works. thanx
Click to expand...
Click to collapse
working ndak om??
I love a feature that can backup stock firmware (in format *.sin), so that I can use flash tool to rescue the phone whenever it die
Answers for questions.
i_hate_sonyericsson said:
does this 'extract out of the phone' or does it 'extract files out of the images'?
Click to expand...
Click to collapse
Graveir said:
Sorry for a silly question, but what would I use it for? Is it like for messing around with roms' content?
Click to expand...
Click to collapse
fifo171 said:
how can i extract it ??? when i write path to the img and press enter it says : open image file failed
Click to expand...
Click to collapse
Benjoy Ericsson said:
I love a feature that can backup stock firmware (in format *.sin), so that I can use flash tool to rescue the phone whenever it die
Click to expand...
Click to collapse
1. It extract files out of the images.
2. Yes, make backup in xRecovery, then extract system.img.
3. Make sure you dont write .img at end, put your img files in same folder as unyaffs.
4. I dont think its possible.
you might want to note in the original post that modified sin files can't be flashed w/ the flash tool, if thats what your reply means.
i'd assume that, but not everyone would.. and maybe note the download is for win32 only.
thanks!
Exception: STATUS_ACCESS_VIOLATION at eip=004010B0
eax=5D9BD014 ebx=00000068 ecx=00001500 edx=00BE0DAA esi=0028CD34 edi=61179FC3
ebp=0028CCD8 esp=0028CCA0 program=C:\Xperia_ROM_Manager\unyaffs.exe, pid 2100, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
0028CCD8 004010B0 (00BC8398, 00000000, 612058E8, 00401333)
0028CD08 004013AF (00000002, 00BC8358, 00BC8250, 00000001)
0028CD68 61006CD3 (00000000, 0028CDA4, 61006570, 7EFDE000)
End of stack trace
Is this app to extract kernel.sin ??
I need a script to extract kernel.sin
THIS IS REALLY OLD! I dont think it can extract kernel.sin. Download kernel sources instead!
Sent from my XPERIA X8 using xda premium
velnens123 said:
THIS IS REALLY OLD! I dont think it can extract kernel.sin. Download kernel sources instead!
Sent from my XPERIA X8 using xda premium
Click to expand...
Click to collapse
Not all kernels has source code to compile.

Lenovo K900 kitchen 1.23

Description: Utility (hereinafter - the kitchen) to make changes to the firmware image for the Lenovo K900.
Operating System Requirements: Any Linux-like system (I recommend Ubuntu), any digit. For correct working kitchen must be installed packges: p7zip, p7zip-full, jdk, jre, python, ia32-libs.
Features: Removing the preinstalled Chinese software from the VibeROM firmwares; other firmware - manual; deodexing firmware; adding ROOT rights in firmware; editing build.prop; installing Google apps (* not verified), repacking the system.img.gz image.
Instructions for use:
- unpack the archive to any folder;
- Run the kitchen with console command ./kitchen.sh and enter the root password (required for file operations);
- Copy the file system.img or system.img.gz in a folder /in/;
- Enter 1 if throwing system.img.gz image archive folder in /in/, or go to step 2 if the folder /in/ drop files system.img;
- Type 2 to mount the image, while in the kitchen wearing the phrase "System: unmounted" will change to "System: mounted". The system is mounted in a folder /mount/;
Then simply describe the menu items:
3 - removes Chinese preinstalled software according file cn-apps in /scripts/ folder;
4 - "easier" firmware by deleting unnecessary files, animation off; applies mods - Record video to MP4, boot animation changed to "clipped " (you can change your folder /scripts/mod/);
5 - deodexing firmware (it takes quite a long time , up to 10 min);
6 - adding ROOT rights (used SuperSU 1.93). If you want to use a different version, you can replace the files in the /scripts/root/;
7 - editing build.prop file by using gedit;
8 - Set the Google apps light with a minimum set of software, you can further install more right already from Google Market (not tested);
9 - edited image packaging system system.img.gz. Ready to pick up the file from the folder /out/;
10 - unmount mounted image. Performed at the end of all operations with an editable manner;
0 - unpack inb firmware;
x - exit.
Download link:
http://forum.xda-developers.com/devdb/project/dl/?id=5359
Download mirror:
https://drive.google.com/folderview?id=0Bz3X7ZuowQimM3c0ZFV2QlZMR2c&usp=sharing
XDA:DevDB Information
Lenovo K900 kitchen, Tool/Utility for the Lenovo K900
Contributors
xxx-man-by
Version Information
Status: Testing
Stable Release Date: 2014-02-17
Created 2014-02-19
Last Updated 2014-06-07
What a great job!:good:
Amazing
Now its time to cook some ROM's
Lenovo K900 kitchen 1.21 beta
Released new version 1.21 beta
Whats new:
- Added support for firmware format INB (unpacking only);
- SuperSU binaries updated to version 1.93;
- Added support for complex tools with Android 4.3 (deodex, zipalign, optipng). Work is not very stable.
great, I hv prepared ubuntu and hv started cooking
Released new version 1.23
Whats new:
- Changed the script for implementation Root rights firmware (to fully support Android 4.3)
Just asking...
no kitchen for Windows7?
pjsplayez said:
Just asking...
no kitchen for Windows7?
Click to expand...
Click to collapse
No. Only for Linux-like OS, because Windows cannot work with images, mounting, rights etc...
Thank you i try it and install root Good Job
Just ask
xxx-man-by.. why not just "inb" file in "sdfuse" folder ?!. thanks before
Thank you, I am being to buy that device ^_^
Dual boot
Hello, anyone know how the best way to dual boot os in my laptop?
i want to boot windows 7 with ubuntu.
Hope anyone can give me guide or give me any link to make a dual boot.
help XXX-Man
i think the link is not working anymore.
REupload please
pjsplayez said:
help XXX-Man
i think the link is not working anymore.
REupload please
Click to expand...
Click to collapse
Ok. I`ll upload to the mirror. Please wait. DONE.
pjsplayez said:
Hello, anyone know how the best way to dual boot os in my laptop?
i want to boot windows 7 with ubuntu.
Hope anyone can give me guide or give me any link to make a dual boot.
Click to expand...
Click to collapse
if you need linux just for cooking, dont install it to harddrive.. just throwit on some usb drive and run it live..
use pendrivelinux or yumi to make live linux on usb.
xxx-man-by, if we have already the unpacked system folder like the VIBEROM Dev1418?
sev7en said:
xxx-man-by, if we have already the unpacked system folder like the VIBEROM Dev1418?
Click to expand...
Click to collapse
I do not understand what you mean.
xxx-man-by said:
I do not understand what you mean.
Click to expand...
Click to collapse
Good morning,
to start my kitchen, I download the original VIBEROM image file, redhookbay-ota-VIBEROM_V1.0_1418_DEV_K900.zip but if I extract it on the "IN" folder I haven't the .img packages to mount (e.g. the system folder is already unpacked):
Also, after that, I get only the system.img file but in other release I used before, e.g. the one for the VIVO, I had the way to pack directly the image to flash. Here which one is the next step?
Thank you,
sev7en said:
Good morning,
to start my kitchen, I download the original VIBEROM image file, redhookbay-ota-VIBEROM_V1.0_1418_DEV_K900.zip but if I extract it on the "IN" folder I haven't the .img packages to mount (e.g. the system folder is already unpacked):
Also, after that, I get only the system.img file but in other release I used before, e.g. the one for the VIVO, I had the way to pack directly the image to flash. Here which one is the next step?
Thank you,
Click to expand...
Click to collapse
redhookbay-ota-VIBEROM_V1.0_1418_DEV_K900.zip - this is ordinary zip file, K900 kitchen is not working with OTA zip archives. To start working with kitchen you need to put in the /in/ folder only system.img, system.img.gz, or any INB file (to unpack it). Only like this.
xxx-man-by said:
redhookbay-ota-VIBEROM_V1.0_1418_DEV_K900.zip - this is ordinary zip file, K900 kitchen is not working with OTA zip archives. To start working with kitchen you need to put in the /in/ folder only system.img, system.img.gz, or any INB file (to unpack it). Only like this.
Click to expand...
Click to collapse
thank you for getting me back sooner, with your unique Kitchen we are able to manage that files as well to repack them but when done how we get the final package to flash?
thanks once again for that

Remix OS System.img repacker tool for Linux

Could anyone guide me how to get my hands on tools that can do what rmxtools basically does but on linux that is extract .sfs to .img then unpack and repack img and root the img, rmxtools 1.8fix doesn't seem to be working on win 7 64bit and win8.1 64 bit.
TundraLK520 said:
Could anyone guide me how to get my hands on tools that can do what rmxtools basically does but on linux that is extract .sfs to .img then unpack and repack img and root the img, rmxtools 1.8fix doesn't seem to be working on win 7 64bit and win8.1 64 bit.
Click to expand...
Click to collapse
https://www.youtube.com/watch?v=e-3vkDMADS0
https://forum.xda-developers.com/chef-central/android/kitchen-superrs-kitchen-t3202296
bg260 said:
https://forum.xda-developers.com/chef-central/android/kitchen-superrs-kitchen-t3202296;)
Click to expand...
Click to collapse
I had tried android_img_repack_tools, also in xda but it didn't help. I can unpack and extract img files easily in linux but the repacking of img files doesn't work. Squashfs tools can extract and repack but the file doesn't work when trying to boot and install remix os. The size of the new sfs file is smaller as compared to the original sfs file even though files are being added. So it could be that the compression is not recognised.
TundraLK520 said:
I had tried android_img_repack_tools, also in xda but it didn't help. I can unpack and extract img files easily in linux but the repacking of img files doesn't work. Squashfs tools can extract and repack but the file doesn't work when trying to boot and install remix os. The size of the new sfs file is smaller as compared to the original sfs file even though files are being added. So it could be that the compression is not recognised.
Click to expand...
Click to collapse
When you say "doesn't work" what do you mean? Are you seeing the grub menu? Which USB tool are you using?
I use that method when I modify PhoenixOS, I just use. It's the same thing RMX Tools uses. I think you may have different problems.
Use SuperR. It works. Make sure to set as raw image.
bg260 said:
When you say "doesn't work" what do you mean? Are you seeing the grub menu? Which USB tool are you using?
I use that method when I modify PhoenixOS, I just use. It's the same thing RMX Tools uses. I think you may have different problems.
Use SuperR. It works. Make sure to set as raw image.
Click to expand...
Click to collapse
No grub, instead an error i forgot what it was. I'll give SuperR a try.
TundraLK520 said:
No grub, instead an error i forgot what it was. I'll give SuperR a try.
Click to expand...
Click to collapse
I just published this how-to with furiusisomount.
https://forum.xda-developers.com/android/development/linux-easily-manipulate-img-t3533342
Basically you can make changes without unpacking.
bg260 said:
I just published this how-to with furiusisomount.
https://forum.xda-developers.com/android/development/linux-easily-manipulate-img-t3533342
Basically you can make changes without unpacking.
Click to expand...
Click to collapse
Furiousisomount is great. Thanks.

Sailfish OS on X

Instructions:
https://jolla.com/sailfishxinstall/
Download:
http://images.devaamo.fi/sfe/suzu/
thanks to all the guys that worked on this port.
Kernel source:
https://github.com/mer-hybris/android_kernel_sony_msm
This make_ext4fs works for flashing on macOS
For some reason with this build the system-icons vanish for me after restarting the device once :/
I had much better results using this build.
Also by default (at least with the image I linked) only two of the 6 cpu-cores are enabled. To fix that one must add this under the init-section of the /init.loire.pwr.rc file and reboot (All credit for this go to abranson from the #sailfishos-porters irc).
Thanks for this port! are you planning to continue building for Xperia X or is a test build before official release?
Enviado desde mi F5121 mediante Tapatalk
keep going till then, also ive updated the above link
how flash it?
FuLiterary said:
how flash it?
Click to expand...
Click to collapse
read the first post
FuLiterary said:
how flash it?
Click to expand...
Click to collapse
make sure when you are flashing sailfish support only F5121 and does not support sdxc
Hello, friend! I am a Chinese user, I do not understand the tutorial, there is no mor
Jozinek said:
so only Linux or MacOS too?
Click to expand...
Click to collapse
Flashing works on macOS too. You just need to use the make_ext4fs I linked instead of the one linked on top.
janeliang34 said:
Hello, friend! I am a Chinese user, I do not understand the tutorial, there is no mor
Click to expand...
Click to collapse
extract the tar, open a terminal inside the extracted folder and run ./flash.sh
One question. Zip file with AOSP should be moved intact or only vendor folder from inside it?
Seems it has to be whole .zip.
Jozinek said:
i never make something like this in MacOS (i have Macbook Air, but also with Windows), can you write step by step how to make it. This is something totally new for me (i flashed hundreds of XPERIA smartphones, i have Emma tool, but never try this...)
Click to expand...
Click to collapse
Sure thing
First of all your bootloader needs to be unlocked. I'm assuming you already did that but if not you should read about backuping your drm-keys because otherwise they can't be recovered after unlocking your bootloader unless you do that.
If you don't have fastboot installed yet follow this guide.
After that download the first file linked at the top of this thread.
Unpack the archive (if you can't open it I recommend "the unarchiver" from the app-store).
Place both this file and the zip from the third link at the top in the unpacked folder (in the path where the flash.sh is). Don't unpack the .zip file!
After that open a terminal and navigate to your unpacked folder (if you don't know how to do that google for "terminal tutorial mac").
Run
Code:
chmod +x flash.sh
chmod +x make_ext4fs
to mark the flash-script and the make_ext4fs-file as executable.
Boot your device into fastboot mode (hold volume up while it's turned off and plug in your usb-cable) and finally run
Code:
./flash.sh
to install sailfishOS on the device.
If there is a "hybris-recovery.img" file in the directory (can't quite remember if that's the case with this build) also run
Code:
fastboot flash recovery hybris-recovery.img
to install a sailfishOS specific recovery.
After that you can reboot your device and enjoy Sailfish OS
@Jozinek
You didn't unpack the .tar.bz, inside are all files needed to flash. Than You have to move make_ext4fs, AOSP.zip and flash.fs into created (by unpacking) folder and start/cd Terminal there.
Jozinek said:
Edit3 - it worked now, it was bad make_ext4fs, thanks all of you
Click to expand...
Click to collapse
So that means you are doing a review on YouTube, right?
Friend, is there a tutorial for Windows installation? To be more detailed, this is my first contact
janeliang34 said:
Friend, is there a tutorial for Windows installation? To be more detailed, this is my first contact
Click to expand...
Click to collapse
Right now there is no windows support. The final build (which will be officially sold by Jolla) will make windows-installation possible.
If you know your way around cygwin you could probably get it to flash using windows (other than the flash.sh script there's nothing *nix-exclusive).
Is the rom stable enough for daily use ? and is Alien Dalvik available in this rom to run Android apps ?
no android dalvik or any software that needs license, this version is just community version like aosp without play store.
when flashing there's error make_ext4fs: no such file or directory, when i use the second one there's error: wrong exec format

Extract boot image from payload.bin on Android?

Is there any kind of tool FOR Android that can extract a boot image from a payload.bin? Or do you basically need a PC for the task? I do it all the time from my desktop, but a tool to do it on my phone itself would be super convenient if it exists somewhere. Thanks guys!
H4X0R46 said:
Is there any kind of tool FOR Android that can extract a boot image from a payload.bin? Or do you basically need a PC for the task? I do it all the time from my desktop, but a tool to do it on my phone itself would be super convenient if it exists somewhere. Thanks guys!
Click to expand...
Click to collapse
There's a high likelihood that Termux can do it. If you have a payload.bin that you can link me I'll try it. I think it can run these python scripts assuming there's nothing wrong with them.
https://github.com/cyxx/extract_android_ota_payload
Spaceminer said:
There's a high likelihood that Termux can do it. If you have a payload.bin that you can link me I'll try it. I think it can run these python scripts assuming there's nothing wrong with them.
https://github.com/cyxx/extract_android_ota_payload
Click to expand...
Click to collapse
Here's a download link for the latest OxygenOS build for a OnePlus 7 Pro: https://www.oneplus.com/support/softwareupgrade/details?code=PM1574156267635
I tried to run the python script with Termux, it said it couldn't execute the script, permission was denied. I granted it superuser too. Try it out, I may have done it wrong. Thanks man! [emoji16]
EDIT: You'll have to extract the payload.bin, that link is to a full flashable rom zip.
H4X0R46 said:
Here's a download link for the latest OxygenOS build for a OnePlus 7 Pro: https://www.oneplus.com/support/softwareupgrade/details?code=PM1574156267635
I tried to run the python script with Termux, it said it couldn't execute the script, permission was denied. I granted it superuser too. Try it out, I may have done it wrong. Thanks man! [emoji16]
EDIT: You'll have to extract the payload.bin, that link is to a full flashable rom zip.
Click to expand...
Click to collapse
I think I know what happened. Was the file on an sdcard? Because scripts can't run there, and I totally forgot about that. You normally have to copy the file into termux's home location. /data/data/com.termux/files/home If you get permission denied there, then change the group owner, and user to what's in the screen shot and it'll work. You can avoid that situation entirely though, by downloading the file directly into Termux's home folder using wget. For those scripts to run you'll need to install python and protobuf too. From termux run, (without root), pkg install protobuf & pkg install python.
I'm going to try extracting that. Downloading it now.
Edit: I tried but I can't get it to work. The scripts error out because it's expecting some kind of info from Google. I tried adjusting the metainfo structure to match a pixel device and it got further into the process, but it still gives an error. What do you use on pc? I might be able to port it to Termux.
Spaceminer said:
I think I know what happened. Was the file on an sdcard? Because scripts can't run there, and I totally forgot about that. You normally have to copy the file into termux's home location. /data/data/com.termux/files/home If you get permission denied there, then change the group owner, and user to what's in the screen shot and it'll work. You can avoid that situation entirely though, by downloading the file directly into Termux's home folder using wget. For those scripts to run you'll need to install python and protobuf too. From termux run, (without root), pkg install protobuf & pkg install python.
I'm going to try extracting that. Downloading it now.
Edit: I tried but I can't get it to work. The scripts error out because it's expecting some kind of info from Google. I tried adjusting the metainfo structure to match a pixel device and it got further into the process, but it still gives an error. What do you use on pc? I might be able to port it to Termux.
Click to expand...
Click to collapse
Thanks for testing this out, sorry for the late reply, life's been hectic. The tool I USUALLY use for WIndows is payload dumper 64. I'll link it here.
Link: https://androidfilehost.com/?fid=818070582850510260

Categories

Resources