View Single Post
Old February 27th, 2012, 08:01 PM   #1 (permalink)
misterfamilyguy
Junior Member
Thread Author (OP)
 
Join Date: Aug 2010
Posts: 24
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 34 Times in 18 Posts
Lightbulb SLOW Work in progress, porting custom recovery over

All frustrated c800s,
Hi, I'm learning as I go, have been trying to port clockworkmod recovery to our phone for about a month now. I was working in subforum for e739 (MyTouch) and c800 (MyTouch Q) but it was just getting too crowded, also a lot of pessimism, we need optimism for this. There is currently a working recovery and dev for the e739, everyone has stayed away from the c800. I don't know why, everyone ignores me. So, I'm reaching out the the community and hoping that with some organization and pooled thoughts we can get this accomplished. I will summarize what I have learned so far:

To root, set up adb, run
Code:
adb shell
$ echo 1 > /data/local/lge_adb.conf
$ exit
Then run superoneclick newest version, which is 2.3.3. This is from
HTML Code:
http://forum.xda-developers.com/showthread.php?t=1407961
It's best to then install a different Home program, then Titanium Backup and freeze or uninstall apps that are t-mo branded or you know don't matter. I sent the moderator a list. Just be sure not to delete the LG Home, If you soft brick you will need that on there to not get stuck in Force-close loop.

If you root and get stuck, try wiping, which is power down, power up with F+A+VOL DOWN+POWER BUTTON, let go power button when first LG logo shows up, the stock 3e recovery loads and wipes /data and /cache. It doesn't wipe /system, so thats why you need the LG Home in there. I think you can get around that by renaming your replacement home the same as the LG one, or placing the actual app file into /system/app, but I haven't tried either.

While on the 3e screen, if you hit the softkey button for Home, you get into the user selectable version, there is an option to flash update.zip. I BELIEVE this is pretty much our best bet at flashing a custom recovery.

So,
Currently I had some computer issues and had to delete my ubuntu install, so when I"m done moving I'll set that back up. But I've been working off of koush's directions for porting. The main quibbles are setting up and getting the recovery built.

For anyone wanting to start, you can find out how to set up your build environment from reading the info in koush's post, and
HTML Code:
http://forum.xda-developers.com/showpost.php?p=12878950&postcount=2
Some other helpful links:
HTML Code:
http://forum.xda-developers.com/showthread.php?t=986059
HTML Code:
http://www.koushikdutta.com/2010/10/porting-clockwork-recovery-to-new.html
HTML Code:
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images#Unpacking.2C_Editing.2C_and_Re-Packing_the_images
Some notes. The partition structure is
major minor blocks name

179 7 8192 mmcblk0p7 =boot
179 15 462848 mmcblk0p15 =system
179 16 1048576 mmcblk0p16 =data
179 17 8192 mmcblk0p17 =recovery
179 18 102400 mmcblk0p18 =cache
179 20 8192 mmcblk0p20 =lgdrm
179 21 8192 mmcblk0p21 =multimedia

So the recovery.fstab is the same as for e739/e730, however, when flashing the already built custom recovery for those phones into my recovery partition, it won't boot. I can flash back the stock one, and it boots and wipes /data /cache, and flash the custom, nothing. I think there is something to that in the phones init.rc file, however I haven't had the time to check.

Last thing I did before I had to delete my ubuntu install was I was getting errors making the recoveryzip to try to do the fake-flash method. It was saying that the file size was too large. I think it can be compressed further, but haven't found too much info. Maybe the xda subforum for the gt450 or other optimus phones will shed light on that.

So, I'll check back in when I get back up and running.


**update 03/17/2012
Got my build environment set back up. I am uploading stock boot.img and recovery.img compressed in .zip format. Including md5sums for accountability issues that may arrise later:
86da068132b4c44afcb3bc31a96148b3 boot.img
00b5010e915b6f26a33a143f868dd2f9 recovery.img
6c88d56e952c0a2028c6fae36eebea37 recovery.img.zip
8245e47601ab3c56154207383acf9730 boot.img.zip
Attached Files
File Type: zip boot.img.zip (4.34 MB, 80 views)
File Type: zip recovery.img.zip (4.57 MB, 85 views)
misterfamilyguy is offline  
Last edited by misterfamilyguy; March 17th, 2012 at 01:21 AM.
Reply With Quote
The Following 6 Users Say Thank You to misterfamilyguy For This Useful Post:
ace7196 (February 27th, 2012), Brendantron (February 27th, 2012), laphoneuser (February 27th, 2012), mrSkippo (April 30th, 2012), strumcat (March 22nd, 2012), vtinoc (May 21st, 2012)