(LG GW620) - KDZ to IMG Help! - Android Software/Hacking General [Developers Only]

Hi everyone!
I'm asking for a fix!
I did the conversion of files for all existing tutorials and it doesn't work!
Procedure:
========
1) Downloaded at LG sources my original Firmware: V10B_00.KDZ
2) Extract .CAB files by LG Utils, Extract with Winrar the dz.file, Extract files by DzDecrypt
Now I used CYGWIN Linux apps emulator:
===============================
3) Used unmbn to generate zImage_Ramdisk.mbn.new
4) Extract all system files with unyaffsmbn
Note: a error happens when i try to extract APKs: "invalid CEN header (bad signature)", All other system files are ok!
What i should do?
Note2: Can someone convert this files for me without errors?
h t t p ://csmg.lgmobile.com:9002 /swdata /WEBSW /GW620f /ABTMBK /V10b_00 /V10B_00.kdz
Thanks!

No one can help me?
Thks!

i know the process is right, but why only in gw620 the process doesn't work?

Related

[Q] how do i extract this .img firmwar ?

hi there,
i have read allot of posts and i have mod some firmware's before.
but now i cannot open this .img file : http://www.tabletsupport.eu/Cherry/M-677_Firmware_20111221.rar
when i try to extract it with tccunpack i get an error : invalid signature
when i do it with simg2img : bad magic
When i do it with a android kitchen i get the error :
android 'magic' header not found at start of the boot.img
it is for a tablet.
can someone push me in the right way ?

[GUIDE] Creating Rom Update.zip

Hello Guys,This is an updated guide for creating an update.zip for your rom.I know that there are a few guides out there but i think my guide is a bit simpler and straight forward.
Step 1:
Download AutoUpdateCreator_V1.1
Step 2:Extract file and click on "CreateUpdateZip.exe"
Step 3: You can either drag your created zip file or press ENTER (If you did not compress your rom yet)
Step 4:Now drag & drop your ROM Folder in the program
**NOTE** Structure of ROM folder should be as follows:
ROM FOLDER(Containing)
---System
---Data
Note: If you get an error it means that your ROM Structure is incorrect!!)
Step 5:Now that everything is done,zip is signed go to GENERATED ZIPS in autoupdatecreator folder.
Step 6:Copy your update-script in your generated zip file at /META-INF/COM/GOOGLE/ANDROID/
(Do NOT replace Update-binary file!)
Other Notes:
(Update Script must be created,there are templates available)
(Editing Update Script with normal windows text editor will cause Status 6 Error)
(Adding an incorrect or non existing file in update-script will also give you a Status 6 Error)
Cheers
Thanx for work.means now i can convert .tar files into zip?and can flash from cell
not working in last cwm
switch to Edify error
Hey man, i guess you can help me. I have a samsung double time and it can't be flashed via odin, my wifi and all connections, except mobile data are not working. So i have the .tar firmware extracted. Is there any way to create an update.zip file from this firmware.
Stavr0s91i said:
Hello Guys,This is an updated guide for creating an update.zip for your rom.I know that there are a few guides out there but i think my guide is a bit simpler and straight forward.
Step 1:
Download AutoUpdateCreator_V1.1
Step 2:Extract file and click on "CreateUpdateZip.exe"
Step 3: You can either drag your created zip file or press ENTER (If you did not compress your rom yet)
Step 4:Now drag & drop your ROM Folder in the program
**NOTE** Structure of ROM folder should be as follows:
ROM FOLDER(Containing)
---System
---Data
Note: If you get an error it means that your ROM Structure is incorrect!!)
Step 5:Now that everything is done,zip is signed go to GENERATED ZIPS in autoupdatecreator folder.
Step 6:Copy your update-script in your generated zip file at /META-INF/COM/GOOGLE/ANDROID/
(Do NOT replace Update-binary file!)
Other Notes:
(Update Script must be created,there are templates available)
(Editing Update Script with normal windows text editor will cause Status 6 Error)
(Adding an incorrect or non existing file in update-script will also give you a Status 6 Error)
Cheers
Click to expand...
Click to collapse
The Download link is offline

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT

[Tool] [Windows] Auto Tool Unpack Repack Rom Android .DAT [No Cygwin] [No Linux]
***(Marshmallow Supported)***
Develop by MTK THAI ROM MODDER (Thiland) Group
Create Tool by: Kritsada Chaitan
SS:
Youtube : https://www.youtube.com/watch?v=nKYozWOETIU
-NOTE 1.-
***First Install Needed For Use This Tool.***
1. Java SDK
2. Python v3.xx
-NOTE 2.-
***First Copy system.new.dat , system.transfer.list To "Paste-DAT-Here" Folder.***
Download:
MEGA
Thank you Original Thread by: "xpirt" https://forum.xda-developers.com/member.php?u=5132229
Thanks for the tool
Bebooo43 said:
Thanks for the tool
Click to expand...
Click to collapse
Good.... ^^
It is a wonderful tool, brother.
is this tool works fine?
Getting error about incompatible operating system when recompressing dat so I tried on windows and got the same do I have to install the java or the phyton to a certain directory or the auto tool to a certain directory it extracted fine thanks in advance for the feedback
Can someone lend a hand.... Program works great. After removing a couple apps, one from 'app' another from 'priv-app', I made a zip file with 7zip and tried flashing but it fails. Is 7zip okay to make a zip file? was I not supposed to remove a 'priv-app' ? I can't find any solid guides on editing a MM rom. thanks in advance.
i succesfully unpack .dat files and repack .dat files (without edit anything) using this tool .
then i replace the repack .dat file to the rom and zip it and flash it .
but the problem is, when i flash i get error 7 system partition has unexpected contents after ota update . any solution ?
can't unpack system.new.dat cm14 (7.1)
Thank you very much, really useful
update - https://forum.xda-developers.com/an...tool-tool-unpack-repack-dat-img-v2-0-t3284806
Is it work for N based ROMs
tooolll
worked for me also...
t.y.
please update it to new version waiting for it.

[Tool] unpack Repack nb0 Rom

***********************Unpack Repack nb0 Rom******************
Here Is a nb0 tool that unpacks and packs SUT nb0 factory images Used By Some manufactures like Infocus,
Requirements-
Window pc with java Installed
How to unpack
1. Paste your stock Rom File, something.nb0 in Tools Folder
2. Rename it to firmware.nb0
3. Run unpack.exe file hit enter , Done, check unpack Folder Your extracted Rom IS Present,
How To Repack-
1. cut whole Rom From unpack folder and paste in Repack Folder[ you can edit your images],
Like System app etc, don't change name]
2. Run Pack.exe hit enter Done,
3. Your New Rom Is readdy with the name System.nb0 in tools folder
Downloads-
MOD Edit :- Links Removed
bro after i unpack firmware.nb0 file theres no file that related to system.img.???
Incomplete unpacking
Sir please help to completely unpack nb0 file as sut is not working nor my phone's flashier with scatter file is available online. My phone is Infocus m330 with mediatek mt6592 chipset. It's bootloader locked with hard brick that not showing any sign of active other than when connected to pc can be flashed with v com drivers
Please help
Going to test it now ?
Thank you mate
link is dead
Thread Closed.
Thanks
SacredDeviL666.

For (WINDOWS) Tool Android Unpack\Repack system.new.dat Nougat 7.х.х

A tool to Repack the firmware image system.new.dat Nougat 7.x.x
the author of the tool by Karan Sangaj thank you :good: on XDA haven't found the original post
The usage is very simple, I hope many will be useful.
thanks for the help ajsmsg78
1) install Python 2.7.13
2) original post File contexts.bin converter thank you
another File context tools thank you
video instruction
https://www.youtube.com/watch?v=OsHWPdIgGjY
https://plus.google.com/u/0/collection/EiQ1NE
sory for my English
cannot convert my_new_system.img.
how to convert it exactly?
Any solution??
Traceback (most recent call last):
File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\img2sdat.py", line 10, in <module>
import common, blockimgdiff, sparse_img
File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\common.py", line 112
print " running: ", " ".join(args)
^
Esakren17 said:
Any solution??
Traceback (most recent call last):
File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\img2sdat.py", line 10, in <module>
import common, blockimgdiff, sparse_img
File "C:\Users\pc\Desktop\Android Unpack Repack Nougat\tools\common.py", line 112
print " running: ", " ".join(args)
^
Click to expand...
Click to collapse
I am getting the same error as this, what should I do to fix it?
Have installed python v2.7.13+3.6.1, latest java jdk and jre and .NET framework v4.7 and running windows 10, it had worked on the first try but started showing this error suddenly.
It works, but after install ROM the battery discharges very quickly and heats up... I think that incorrectly exposed file permissions, because if i flash "system" folder with setting simlinks and set_metadata in updater-script ROM works fine and battery is ok.
ROM work only with system.img, system.new.dat dont flash, error 7 in TWRP...
best tools ,thanks!!
raghuM said:
I am getting the same error as this, what should I do to fix it?
Have installed python v2.7.13+3.6.1, latest java jdk and jre and .NET framework v4.7 and running windows 10, it had worked for the first time but started showing this error suddenly
Click to expand...
Click to collapse
same here
Anyway to repack oreo
Got a problem with this tool.....
it works perfectly to extracting system.new.dat and unpack system.img I modify and remove some files in the system folder (remove some apks and fonts, add some hosts....) so the size of the system folder change and when I type the 04 option got this error message.....
0 [main] make_ext4fs 7236 cygwin_exception:pen_stackdumpfile: Dumping stack trace to make_ext4fs.exe.stackdump
Impossible de trouver C:\Users\RAYMAN95\Desktop\Android Unpack Repack Nougat\temp_size.txt
How is it possible to made some modifications and repack it to system.new.dat????
thank's for the help
This tool is very nice.... But please help me guys... On the last step I'm failed to repack system.img to new.system.dat... SYNTAX ERROR... how to fix it?
By the way it is very great tool... Thx to Dev ^^
Can't Unpack system.img
Ok Bro .. That's awesome Tutorial.
I have the system.img of Note 8 AP file .. I try to unpack it directly but it Ext4Extractor.exe is stopping working.
I don't have system.new.dat file so I'm trying to unpack system.img directly but it doesn't work.
As these images show the error:
https://imgur.com/a/jlZvb
Thank you very much for your tools very easy to use Thank you again
iMenesi said:
Ok Bro .. That's awesome Tutorial.
I have the system.img of Note 8 AP file .. I try to unpack it directly but it Ext4Extractor.exe is stopping working.
I don't have system.new.dat file so I'm trying to unpack system.img directly but it doesn't work.
As these images show the error:
https://imgur.com/a/jlZvb
Click to expand...
Click to collapse
The link is not working.
You need to have a custom ROM, and in it system.transfer.list and system.new.dat.
Use this method:
[DEV] sdat2img 1.0 - img2sdat 1.2 ◦ Unpack/re-pack android DAT files
For a long time I use and have not found Android ROM 5.1.1 - 8.0.0, which can not be unpacked using sdat2img.py.
Thank you authors @xpirt , @luxi78 , @howellzhu !
You dont need a custom rom or the system.transfer.list, or system.new.dat. This unpacks images just fine. It will not unpack factory images tho. I got it to work just fine unpacking nexus 6 system.img by placing the image in the output_converted_dat_to_ext4 folder then telling the bat file what the size is and unpacking it. Do the same thing for oreo and the ext4 exe crashes.
ze7zez said:
The link is not working.
You need to have a custom ROM, and in it system.transfer.list and system.new.dat.
Use this method:
[DEV] sdat2img 1.0 - img2sdat 1.2 ◦ Unpack/re-pack android DAT files
For a long time I use and have not found Android ROM 5.1.1 - 8.0.0, which can not be unpacked using sdat2img.py.
Thank you authors @xpirt , @luxi78 , @howellzhu !
Click to expand...
Click to collapse
iMenesi said:
Ok Bro .. That's awesome Tutorial.
I have the system.img of Note 8 AP file .. I try to unpack it directly but it Ext4Extractor.exe is stopping working.
I don't have system.new.dat file so I'm trying to unpack system.img directly but it doesn't work.
As these images show the error:
https://imgur.com/a/jlZvb
Click to expand...
Click to collapse
greeshan said:
It works, but after install ROM the battery discharges very quickly and heats up... I think that incorrectly exposed file permissions, because if i flash "system" folder with setting simlinks and set_metadata in updater-script ROM works fine and battery is ok.
ROM work only with system.img, system.new.dat dont flash, error 7 in TWRP...
Click to expand...
Click to collapse
flash "system" folder with setting simlinks and set_metadata in updater-script ROM
Click to expand...
Click to collapse
How did you fix the problem?
How did you do that?
master.robot said:
How did you fix the problem?
How did you do that?
Click to expand...
Click to collapse
i use commands set_metdata(xxxx); after block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
Is this tool work with oreo roms ?
wgmmmx said:
Is this tool work with oreo roms ?
Click to expand...
Click to collapse
No i think
link77kz said:
A tool to Repack the firmware image system.new.dat Nougat 7.x.x
the author of the tool by Karan Sangaj thank you :good: on XDA haven't found the original post
The usage is very simple, I hope many will be useful.
thanks for the help ajsmsg78
1) install Python 2.7.13
2) original post File contexts.bin converter thank you
another File context tools thank you
video instruction
https://www.youtube.com/watch?v=OsHWPdIgGjY
https://plus.google.com/u/0/collection/EiQ1NE
sory for my English
Click to expand...
Click to collapse
rom isn't booting after editing system.new.dat. any help ?
For anyone having syntax errors converting systemsparse.img to system.new.dat just download the updated img2sdat files from the link below and extract all files ending in .py to the tools folder of this batch tool. There's also an updated sdat2img.py linked below which goes in the same tools folder. Overwrite all the old files when prompted.
Edit: I've attached a zip that has the tools already updated. Maybe the OP can update the first post?
img2sdate update: https://github.com/xpirt/img2sdat
sdat2img update: https://github.com/xpirt/sdat2img

Categories

Resources