• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root ClockWorkMod

I would be very happy if I could get a step-by-step guide to safely install this custom recovery. I have already bricked more than once and cannot afford to do so again.

edit: beats audio ****ed me
 
I would be very happy if I could get a step-by-step guide to safely install this custom recovery. I have already bricked more than once and cannot afford to do so again.

edit: beats audio ****ed me

I posted a step-by-step guide using a terminal emulator app on the phone in this thread.

The steps are very similar if you're using ADB shell from a PC.

I haven't tried giantpune's lgoe_cwn executable, but he did post details about how to use it.

I know the thread is getting long and packed with information you may not be interested in, but the information you need is there.
 
Just make sure you use the right block device names. Using the wrongs ones can lead to a brick that no recovery and no LGPNST can restore. :)

I need to find my partition map, unless you want to give a hint.


OHH! And Id also like to know where I can acquire a copy of Harmonia. I cant find one anywhere O.O
It was a limited test just to see if it would work, it didn't, so there is no point in trying to obtain a copy.

It needs work besides just fixing the installer, I found it is missing at least one file.
 
I posted a step-by-step guide using a terminal emulator app on the phone in this thread.

The steps are very similar if you're using ADB shell from a PC.

I haven't tried giantpune's lgoe_cwn executable, but he did post details about how to use it.

I know the thread is getting long and packed with information you may not be interested in, but the information you need is there.

I just decided to try the .bin file terminal emulator route. Worked wonderfully. Thanks again, everyone! This is an amazing community!

Also, GP is bigger than the Beatles, and bigger than cigarettes
 
I need to find my partition map, unless you want to give a hint.



It was a limited test just to see if it would work, it didn't, so there is no point in trying to obtain a copy.

It needs work besides just fixing the installer, I found it is missing at least one file.

/boot is mmcblk0p9


major minor #blocks name description

179 1 2048 mmcblk0p1 (dbl.mbn - Device Boot Loader)
179 2 2048 mmcblk0p2 (osbl.mbn - Operating System Boot Loader)
179 3 7168 mmcblk0p3 (FOTA - Firmware Over the Air)
179 4 1 mmcblk0p4 (EBR - Extended Boot Record?)
179 5 16384 mmcblk0p5 (/persist)
179 6 237568 mmcblk0p6 (/cache)
179 7 4096 mmcblk0p7 (blank, Unknown)
179 8 24576 mmcblk0p8 (/misc)
179 9 8192 mmcblk0p9 (/boot)
179 10 4096 mmcblk0p10 (modem fs1)
179 11 4096 mmcblk0p11 (modem fs2)
179 12 368640 mmcblk0p12 (/system)
179 13 925696 mmcblk0p13 (/data)
179 14 8192 mmcblk0p14 (/recovery)
179 15 2023424 mmcblk0p15 (/sdcard)
179 16 28672 mmcblk0p16 (amss.mbn - Advanced Mobile Subscriber Software, FAT16)
179 17 4096 mmcblk0p17 (appsbl - Applications processor Secondary Boot Loader)
179 18 8192 mmcblk0p18 (adsp - Applications Digital Signal Processor?)
179 19 28672 mmcblk0p19 (amssbak, FAT16)
179 20 8192 mmcblk0p20 (adspbak, same as mmcblk0p18)
179 21 16384 mmcblk0p21 (/mpt)
 
When I try to use the installer in Android Terminal Emulator (the blue one) when I try to execute it, it says "file doesn't look like an android boot partition" what does this mean? It isn't working. :/
 
Leslie,

Looking at the updater script I see a couple things that may be an issue. Looks like these lines are mounting some blocks that our phone doesn't have

ui_print("Welcome to Harmonia!");
show_progress(0.900000, 20);
ui_print("Preparing your device");
ui_print("Formatting");
format("ext4", "EMMC", "/dev/block/mmcblk0p23");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/system");

ui_print("Extracting packages");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
mount("ext4", "EMMC", "/dev/block/mmcblk0p24", "/data");
 
So this isnt the recovery's fault, its the ROMs?


its neither really. its more uncharted territory for the elite community. its hard to know where things go when its the first working recovery and rom set for the elite. things have to be debugged. what is happening now that will lead to an eventual fix for all these issues will allow everyone else building roms and other forms of recovery to know how to build them. its all trial and error at this point. consider it this way,just a week ago there was absolutely nothing. dead thread pretty much. then a break through. now its a matter of just finalizing the few remaining issues...which there was bound to be some. it will all come together. :)
 
Also, GP is bigger than the Beatles, and bigger than cigarettes

Right? He's like that robot in the first transformers movie, that little one that goes into the pentagon and plugs itself into the computer and hacks everything they've created with no problem.
 
Right? He's like that robot in the first transformers movie, that little one that goes into the pentagon and plugs itself into the computer and hacks everything they've created with no problem.

i one up your BIG.. bigger than mini elvis listening to the beatles whilst smoking a cigarette...lol.. :smokingsomb:
 
When I try to use the installer in Android Terminal Emulator (the blue one) when I try to execute it, it says "file doesn't look like an android boot partition" what does this mean? It isn't working. :/

This is a safety check I put in place. The installer will only overwrite a partition that looks like a valid android boot partition (the boot and recovery ones). If it is saying that, then you have 1 of 2 things going on with your phone.

1) For some reason, your phone has a different partition layout than every single other Optimus Elite in known existence and partition 14 is not where your recovery is.

2) You did something dump or you ran same program that was not designed for our phone with root access or something else in some way has clobbered your stock recovery.

Either way, you can still manually install the cwm image to any partition you want. As far as we have seen, it needs to go on mmcblk0p14 for the Elite.
 
There is nothing wrong with more than one recovery. I use Rogue on my Transformer and CWM on both my Optimus Vs. Once we get one working and working well we will have more, of that I am sure.

Right now before working on other recoveries though I'd rather energy be funneled into getting ROMs flashable. Because again, once we have one working others will follow.
 
Agreed, We need to get one recovery and one rom working great before we get off on multiple half-working projects. Once we get one of each working it lays the framework for expansion. If we can get this recovery and Leslie's rom working we'll be in a good place.
 
Giantpune, just out of curiosity, couldn't you work the cwm installer into your pooter app? Because its not like the phone has to restart or anything, and its just a few commands to run it, would that work or no?
 
So can't we just manually write a new boot image to the boot partition like we did originally with the cwm bin file?
 
This CWM works fine as far as I know. A working ROM and proper updater-script for the ROM is what comes next.

I've already flashed giantpune's custom kernel boot partition using CWM.

If anyone wants to try it, here is the flashable ZIP.
http://www.sendspace.com/file/ljn9np MD5: e08f68ecf75de78285ef447b1a5fc24f

Don't hate me if it kills your phone. It worked fine for me
 
Giantpune, just out of curiosity, couldn't you work the cwm installer into your pooter app?

I want to do it like that. But the framework it is using (qt-necessitas) is in alpha state. Right now, in the "stable" repository is the alpha3.4 version. That version contains a bug that is a bit of a deal-breaker for how I want the installer to work. The qt-necessitas testing repository contains the alpha4 update which fixes that bug.

As I understand it, the alpha4 stuff wont land in the stable repository for at least a couple weeks. If nobody else has made an installer in apk form by then, then I'll go ahead with sticking this into poot. But it won't happen until necessitas alpha4 or greater lands in the stable repositories.
 
Had the elite for a week and already missing custom roms from my Sprint 3D. Let me say great work on this GP! I will be trying this out when I get some down time and help where I can.
 
Back
Top Bottom