Forumsee logo
Forumsee » Mobility » Cellphones » Read message
RSS: Subscribe to RSS

root su760 ICS

Optimus 3D General - xda-developers - forum.xda-developers.com
Hi guys,

this is a big tutorial for advanced users on how to edit LG Firmwares.

This could be usefull to change recovery included, root the bin or give a try to

change bootloader to make su760 ics on p920 work.

First download a bin or a kdz file:

Then download the attached zip file and unpack it somewhere on your

windows pc.

Put the downloaded firmware in the same directory.

If you have chosen a kdz file you have to unpack it with LGExtract.

Ope up cmd and go with cd to the directory where all the files are.

Then type:

Code:

LGExtract -kdz *nameofthekdzfile*.kdz

upack the new .cab file with winrar or something like that, then run

Quote:

LGExtract -wdb ***.wdb ***.dll

replace *** with the name of the files that you have unpacked

Now you should have a Folder caled BIN.

Use cd to enter that folder.

Run in cmd:

Code:

copy /b "LG****_AP[*].bin" "LG****_AP.bin"

Replace **** with p920 or su760 related to wich firmware you have downloaded.

Now use explorer to move the LG****_AP.bin in the folder where all the .exe files are.

Extracting the bin

Run in cmd

Code:

extract.exe ***_AP.bin

At first you will see all the partitions in the bin and their offsets,

then the tool will extract them to .img files, stay tuned this will take some time.

Root the system partition

You can skip this if you just want to replace a partition.

Rename the extracted sstem partition from something like "7 - system.img" to "system.img"

Download this:

and put it together with the system.img into a linux distro.

In linux unpack the zip and copy the superuser.apk and the su file

in the same directory with the img

go with the terminal in the folder with the system.img

and run:

Code:

sudo mkdir temp

sudo mount -o loop system.img temp

sudo cp superuser.apk temp/app

sudo cp su temp/bin

cd temp/app

sudo chmod 0644 superuser.apk

cd ..

cd bin

sudo chmod 6755 su

sudo umount temp

Copy the image back to windows.

Replace a Partition

Install winhex or an other hex editor.

Open the downloaded or extracted bin.

Go to offset that extract.exe showed you,

and select everything to the end of the partition and delete it.

The end of the partition is the offset + size of extract.exe showed you.

For example:

If the offset of the system partition is 00DA0000

and the size of is 2BC00000 the end of the partition is DA0000 + 2BC00000 = 2C9A0000

now open up the image you want to replace i with in hex editor,

select everything go back to the offset of the partition in winhex and paste it there,

just save it and you have your new own bin file ready to flash with LGFlashTool.

Hope this helps you, please post if you didn't understand anything, I forgot something or something is wrong.
Date: Sep 19, 2012   



Last videos:

Photo spheres for Google street view?
Photo spheres for Google street view?
Bypass 6.0.1 S6-S7 G935F G935FD G920P G928C 1000% Working
Bypass 6.0.1 S6-S7 G935F G935FD G920P G928C 1000% Working
Disassembly+how to change screen huawei b8 lite Ale-L21..video
Disassembly+how to change screen huawei b8 lite Ale-L21..video
Titanium Backup Pro - backing up to Google Drive
Titanium Backup Pro - backing up to Google Drive
Ever had one of these phones?
Ever had one of these phones?
Ever had one of these phones?
Ever had one of these phones?
Ever had one of these phones?
Ever had one of these phones?
Bypass Forgotten PIN Lock Screen on Samsung without Data Loss
Bypass Forgotten PIN Lock Screen on Samsung without Data Loss

Tags

Cars ·
Travel ·
Pets ·
production-frontend