Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
designgears
Old
(Last edited by designgears; 16th September 2011 at 12:42 AM.)
#1  
designgears's Avatar
Recognized Developer - OP
Thanks Meter 5000
Posts: 3,964
Join Date: Feb 2010
Location: SLC
Default [HowTo] ClockWorkMod Recovery

Thanks to Trekfan422991 for cluing me in on the Optimus 3D recovery.

Working:
Nandroid
ADB (after special driver install, need to tweak recovery for it to work with normal drivers)
Mounting USB to computer
Flashing zip files

Dangerous:
Fix Permissions (caused lots of crazy issues, fix by wiping data if you use it)
Sdparted (the sdcards are mount incorrectly, this will probably destroy your device)

I am in the process of making a recovery specifically for our device, it is mostly done and will be posted here when it is ready!

What you are going to need:
ADB (and know how to use it, don't ask in here)
Rooted Phone (again, that will not be covered, don't ask in here)
Optimus 3D recovery image [Download]

If you don't understand something in that list, DO A SEARCH AND LEARN, don't clutter the thread with crap!

Lets get started!

Lets start by getting the recovery.img file on the phone. Open up a cmd prompt and type:
Code:
adb push recovery.img /data
The rest of this will be done on the phone shell. In the cmd prompt type:
Code:
adb shell
We will need to have su access, In the cmd prompt type:
(If you haven't allowed shell su in SuperUser now would be a good time to accept the root request on the phone.)
Code:
su
Now we are going to backup your current recovery to your sdcard. In the cmd prompt type:
(make sure your sdcard is not mounted to your computer)
Code:
dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6.backup bs=4096
After that is done we are going to flash ClockWorkMod Recovery! In the cmd prompt type:
Code:
dd if=/data/recovery.img of=/dev/block/mmcblk0p6 bs=4096
Congrats! You now have ClockWorkMod Recovery! In the cmd prompt type:
(each line is single command)
Code:
rm /data/recovery.img
reboot
How to enable ADB access: (only if it's not working already)
Quote:

Download and install: (unzip and install the 2 exe files)
http://www.mediafire.com/?j5m1plnvzb8r0zc

While booted into ClockWorkMod Recovery, go into your device manager, you should see an "LGE Android Composite Device" with a yellow triangle on it.

right click on it, update driver software...
select browse my computer for driver software
select let me pick from a list of device drivers on my computer
click the "Have Disk" button
click the "browse" button

browse to;

for 64bit:
C:\Program Files (x86)\LG Electronics\LG Android Driver\64BitADB

for 32bit:
C:\Program Files\LG Electronics\LG Android Driver

and select lgandadb.inf
click "ok"

From that list select "Android Sooner Single ADB Interface"
click "next"
click "yes" on the popup
"haters can make like bees with no stingers, and drop dead" -Eminem

Follow me on Twitter!
The Following 21 Users Say Thank You to designgears For This Useful Post: [ Click to Expand ]
 
malickie
Old
(Last edited by malickie; 11th September 2011 at 07:36 AM.)
#2  
Senior Member
Thanks Meter 42
Posts: 622
Join Date: Oct 2009
Location: Austin, TX
Awesome Great Work. Did you figure out the Bootloader? Or is there even one should more be the question I suppose. Good thing I am having issues with permissions with this didn't notice the SD Card Mounting issue till just now. That I can't deal with atm.
 
designgears
Old
#3  
designgears's Avatar
Recognized Developer - OP
Thanks Meter 5000
Posts: 3,964
Join Date: Feb 2010
Location: SLC
Quote:
Originally Posted by malickie View Post
Awesome Great Work. Did you figure out the Bootloader? Or is there even one should more be the question I suppose.
I found a few modes, but no drivers yet so I don't know what they are. Even if we break stuff the kernel and recovery are separate, so technically we should always be albe to get back into recovery to fix stuff.
"haters can make like bees with no stingers, and drop dead" -Eminem

Follow me on Twitter!
 
Trekfan422991
Old
#4  
Trekfan422991's Avatar
Recognized Contributor
Thanks Meter 325
Posts: 1,292
Join Date: Dec 2009
Location: fonda

 
DONATE TO ME
thankyou DG for getting this started..

so now with my clockworkmod i just made a backup of stock rom... if i say change the framework and I get boot loop.. will this clockwork mod be able to restore the original rom without any problems???

GALAXY
\ /
NE / \ US
The Following User Says Thank You to Trekfan422991 For This Useful Post: [ Click to Expand ]
 
Trekfan422991
Old
#5  
Trekfan422991's Avatar
Recognized Contributor
Thanks Meter 325
Posts: 1,292
Join Date: Dec 2009
Location: fonda

 
DONATE TO ME
tiny problem... might just be missing something... but after i made my backup and i choose reboot system now... it just goes back to recovery... how do i boot up my phone!!!

sorry if it is obvious... im super tired...

GALAXY
\ /
NE / \ US
 
designgears
Old
(Last edited by designgears; 12th September 2011 at 04:03 AM.)
#6  
designgears's Avatar
Recognized Developer - OP
Thanks Meter 5000
Posts: 3,964
Join Date: Feb 2010
Location: SLC
Quote:
Originally Posted by Trekfan422991 View Post
tiny problem... might just be missing something... but after i made my backup and i choose reboot system now... it just goes back to recovery... how do i boot up my phone!!!

sorry if it is obvious... im super tired...
I got mixed up as to what partition to flash, you just flashed a recovery image over the kernel... its ok tho.

follow my instructions to the su part, then do this.

// this will restore the kernel
dd if=/sdcard/mmcblk0p5.backup of=/dev/block/mmcblk0p5 bs=4096

// this will backup recovery
dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6.backup bs=4096

// this will flash cwm
dd if=/data/recovery.img of=/dev/block/mmcblk0p6 bs=4096

OP is fixed!

edit--

and you have no adb access, this is going to get interesting!
"haters can make like bees with no stingers, and drop dead" -Eminem

Follow me on Twitter!
The Following User Says Thank You to designgears For This Useful Post: [ Click to Expand ]
 
Trekfan422991
Old
#7  
Trekfan422991's Avatar
Recognized Contributor
Thanks Meter 325
Posts: 1,292
Join Date: Dec 2009
Location: fonda

 
DONATE TO ME
haha... i shoulda noticed






____

GALAXY
\ /
NE / \ US
 
Trekfan422991
Old
#8  
Trekfan422991's Avatar
Recognized Contributor
Thanks Meter 325
Posts: 1,292
Join Date: Dec 2009
Location: fonda

 
DONATE TO ME
LET THIS BE A LESSON FOR ALL OF YOU!!!!

THIS IS WHY YOU ALWAYS ALWAYS MAKE BACKUPS!!!!!!

NEVER SKIP THE BACKUP STEP!!!! haha

GALAXY
\ /
NE / \ US
 
47r0n1n
Old
#9  
47r0n1n's Avatar
Member
Thanks Meter 6
Posts: 88
Join Date: Dec 2009
Location: Quincy, IL
Quote:
Originally Posted by Trekfan422991 View Post
LET THIS BE A LESSON FOR ALL OF YOU!!!!

THIS IS WHY YOU ALWAYS ALWAYS MAKE BACKUPS!!!!!!

NEVER SKIP THE BACKUP STEP!!!! haha
LOL! For sure that is why I always say, " Save early, save often, save to multiple locations!" haha.
"Good Lord! That boy flashes ROMs more often than a back alley hooker hits a crack pipe!"

My Newest:LG Thrill 4G; ROOTED
HTC Inspire 4G
Samsung Galaxy S Captivate
HTC EVO 3D
 
Trekfan422991
Old
#10  
Trekfan422991's Avatar
Recognized Contributor
Thanks Meter 325
Posts: 1,292
Join Date: Dec 2009
Location: fonda

 
DONATE TO ME
Quote:
Originally Posted by 47r0n1n View Post
LOL! For sure that is why I always say, " Save early, save often, save to multiple locations!" haha.
sorry just side note:
how you liking your thrill compared to the evo 3d???

GALAXY
\ /
NE / \ US

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...