Extract super.img.lz4 - Samsung Galaxy S20 / S20+ / S20 Ultra Questions &

Can any one help me with tool to extract system.img
File from super.img.lz4

Here is the link to 7-Zip ZS, the tool I used when I wanted to extract beyond2.img.lz4:
https://github.com/mcmilk/7-Zip-zstd

stefan243546 said:
Here is the link to 7-Zip ZS, the tool I used when I wanted to extract beyond2.img.lz4:
https://github.com/mcmilk/7-Zip-zstd
Click to expand...
Click to collapse
Thanks man it worked.
For those who wants to extract system apps from firmware
1.) Extract firmware using 7-Zip ZS( AP firmware > super.img.lz4>Super.img)
2)Using simg2img convert the super.img file to super.raw file using below command via cmd
command : simg2img.exe super.img super.raw
3) extract system apps from super.raw using 7-Zip ZS
4) Done!!

use lz4 binary to decompress it i.e. lz4 -d super.img.lz4 to get super.img then use simg2img to unsparse it i.e. sim2img super.img super.u.img then can use lpunpack binary to unpack super.img to get system vendor product etc. etc.

anadarco7 said:
Thanks man it worked.
For those who wants to extract system apps from firmware
1.) Extract firmware using 7-Zip ZS( AP firmware > super.img.lz4>Super.img)
2)Using simg2img convert the super.img file to super.raw file using below command via cmd
command : simg2img.exe super.img super.raw
3) extract system apps from super.raw using 7-Zip ZS
4) Done!!
Click to expand...
Click to collapse
please help me! how can i compressed files to super.img from folder super.

any help please ( super.img was extracted with 7-Zip-zstd)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Try using with sudo or changing file permissions to rw.

Related

Windows Phone 7 dll decompile finished aids

Original Chinese:
http://www.wj86.net/thread-3469-1-3.html
Google Traslated:
Runtime environment:
. NetFrameWork 3.5 Instructions for use:
Chinese Dll resources drag it to the top left of the picture, the program will automatically decompile dll files, the result file is located in the the dll same directory under the text box below displays il file path. Net editor and a text editor, you can use the finished, finished. Direct Click on the picture to repackage, or drag il files to Image, the program will back up the original dll file, and rebuild the dll file with the same name can be used directly, then this package dll file back xap can be installed!
If you check the "Click on the picture to continue to run, after the first drag will only show path operate without the need to you manually click picture to decompile or repackaged! 12/15/2011 update: Add a working directory button, the operation is more convenient to increase the the il file dictionary function fixes some small BUG
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
View attachment 1388958
View attachment Resourcer.zip
Hi, can you please explain me step by step how to translate an app and what files i can rewritte when i decompile .dll ?? i don't understand many step... lol
Big thankx for the tools man,
Poloche,
First, decompile the app's main .dll file, you fill get the couple of files extracted. In some cases (especially when the app has more than 1 language supported), you will get a .resources file. Use .NET Resource to edit it's content. Otherwise, if there is no .resources file, you will have to do the work by Hex Editor.
Take a look at the screenshot for more details.

[Guide] How To Extract The System Folder From Stock Firmware PDA File

How To Extract The System Folder From
Stock Firmware PDA File​
Why Might You Want To Do This
There maybe a number reasons - for example
1- You may want to copy the system folder into kitchen to use as a working folder to create a custom rom
2- You may want to get certain files from stock rom without having to flash stock rom
How To Do It
Programmes required
1- Winrar
2- MagicISO (or any other programme able to open and extract img files)
Download the stock firmware from my firmware thread 5360 Here or 6102 Here
Note firmware downloaded from Sammobile will need to split first using splitfus2
Click the spoilers to get screenshots of each step
Step 1
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Unzip firmware using winrar
Look at the file pda_5360_basebandversrion.tar.md5
Step 2
Rename file to remove the extension .md5 so its just .tar
Step 3
Open it with winrar and extract system.img to a folder on your desktop
Step 4
Open system.img in magiciso
Now you will see all the rom files
Step 5
Highlight all the files and drag and drop to a folder on your desktop or you can highlight them all and right click and select extract
You now have a folder with all the stock rom files that you can copy to a working folder in kitchen or use as you wish
very nice boz
will test tommorrow

updating to latest factory image

My phone hasn't gotten OTAs in a while and is still on MDA89E.
I'm trying to update to MDB08M using the factory image from google. So I did 'adb reboot bootloader' and ran the 'flash-all.bat', but ended up getting this error message:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can anyone help me out?
I'm ultimately going to be flashing the modified boot img for 08M so that i can decrypt
You need to update your platform tools. Check file date of fastboot you are using.
nvertigo said:
Can anyone help me out?
Click to expand...
Click to collapse
The flash-all script wouldn't work for me. I kept getting the same error message as you. I flashed each .img file separately. Here are the instructions.
Unzip the factory image, and unzip the .zip within that, so that all of the .img files are within the same folder. Then:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash vendor vendor.img
fastboot erase cache
fastboot flash cache
Reboot
Note that I didn't flash data.img, which means your data remains safe.
Witek_M said:
You need to update your platform tools. Check file date of fastboot you are using.
Click to expand...
Click to collapse
Any idea where I can get the latest platform tools without installing Android Studio?
whats this vendor.img? never saw that one yet.
jdawg0024 said:
Any idea where I can get the latest platform tools without installing Android Studio?
Click to expand...
Click to collapse
From here I chose option "Stand-alone SDK Tools".

How to Make Backup of Partitions

As you may now TWRP system backups have problem on Android 9. When you restore you can't boot. With this you can get your system.img, boot.img, vendor.img etc. With TWRP only Data.
You need to be rooted and should have working ADB connection for this method.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see in the picture there is our system file. You can see this from going /dev/block/by-name/. You will see the real location of the file which that is /dev/block/mncblk0p77. It means they are linked. I used Jrummy's Root Browser.
While phone is on in CMD:
Code:
adb shell
su
dd if=/dev/block/mmcblk0p77 of=/sdcard/system.img (mmcblk0p77 number may differ device to device. Check on your device).
This code will enter adb shell. Later with su you will enter admin rights. with dd you will copy,with if= you will chose main location with of= where to copy. Don't use the file in by-name folder. Use it like on my code". If you want make multiple img files you can do like this.
Code:
dd if=/dev/block/mmcblk0p77 of=/sdcard/system.img && dd if=/dev/block/mmcblk0p74 of=/sdcard/boot.img
Then copy the .img files on your phone to your pc.
To backup data, Go to TWRP > Backup > Select only data > Swipe to backup.(If you wipe Internal Storage your backups will be gone. Make sure you copied TWRP folder and .img files to PC)
To install your images and your data, flash .img files then restore your Data from TWRP > Restore >(Backup name. Problably a date). Then wipe dalv, cache. Reboot.
With this you can continue from where you left.
.

Custom ROM for Huawei y6 (2018)

I unlocked the bootloader of my Huawei y6 (atu-l21) 2 days ago. Now the problem is that I can't get working custom roms for twrp.
I had downloaded many .ZIP files but the zip file always contained only one image. When I wanted to download the ZIP file via twrp bottles, I always got a red message "invalid zip file format!
Does anyone have working custom ROMs for the Huawei y6 (atu-l21)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
By you meaning by one file contains img file, you are trying to flash compressed gsi/treble image.
The installation procedure is different for treble devices. Instead do:
First you must uncompress it & do "adb reboot bootloader" & "fastboot flash system [UNCOMPRESSED_IMG_FILE]", wipe data by "fastboot -w", final reboot ur device "fastboot reboot"
do you think I should e.g. extract the customrom.zip to customrom.img and then the image with the commands Flash
Yes, Only if zip archive contains one *.img file like aonly, ab... etc
can I also flash the .IMG file via twrp. because when i try dan i don't know which partition to select.
System-Image
I just tried it and the message "Image is too large for the device" appears
You may read THIS POST about your device custom rom.
And if ab image doesn't work for you try aonly
Jannikoks06 said:
I just tried it and the message "Image is too large for the device" appears
Click to expand...
Click to collapse
Try with fastboot method
I'll do it later I'll report if it worked
Danielisko said:
Try with fastboot method
Click to expand...
Click to collapse
I did it but the phone doesn't boot, only the screen appears where it says that the bootloader on the phone has been unlocked

Categories

Resources