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

Unlocked bootload and CM10

Neph81

Android Expert
Mar 3, 2012
1,399
823
Wisconsin
I'm moving this to it's own thread as it wasn't getting much attention buried in this other thread.

http://androidforums.com/lucid-all-things-root/667013-need-your-help-few-files.html

For those that don't know me, I'm one of the dev's that works on the Spectrum 1. The Spectrum, for all intensive purposes, is just a bigger version of the Lucid, but without the internal memory.

So what does this mean for you? It means, I want to help you guys unlock your ICS boot loader as I did for the Spec. I'd also like to get you guys on to CM10 as we just did.

Here is what is going on. I pushed out a copy of ICS with our kernel that we used to unlock ICS. It booted, but it's missing video on the screen. Sound worked find from the log I was given and it even started turning on radio files. This means that a simple video driver adjustment in the kernel should mean being able to give you guys an unlocked boot loader. If the only difference between systems in the video driver, it could also mean a quick port of CM10 to you was well.

Here's what I need. I need someone to install the rom and let it run for 2 minutes or so.

http://androidfiles.massivefilehost.com/lucid/lucid_ics_b1.zip

This should be enough time to fully boot and get all the messages into logs needed. The log in particular I need is dmesg (kernel log).

The command "adb shell dmesg > dmesg.txt" will output the log into a text file in your adb directory.

If anyone has questions about this, please let me know. I'm not looking to gain another device or full time dev for another device, but this looks to be a quick and easy port. Or, at the very least, will allows us to unlock your boot loader.
 
If anyone would like to do this here's a full guide to installing the rom. (I would do this myself but I will be out of town until after New Years.)
If you are on Ice Cream Sandwich (4.0.4) you will need to downgrade to Gingerbread (2.3.6). In order to do this you will need the following (Based on the Lucid Unbrick guide by SAMMYZ):

-Downgrading to GB-
Make sure your phone can get into download mode.
To do this press volume up+volume down+power while your phone is off and plugged in to USB.
The screen should say phone is now in download mode.

1. Download and install drivers:
LG VS840 Support: Find Manuals & Warranty Info | LG USA

2. Download the programs to convert and flash firmware:
KDZ_FW_UPD_EN.zip

3. Download firmware here:
Download a Gingerbread Firmware; Either ZV5 or ZV6.

Alternate download links in this thread.
V5 (GB)
http://csmg.lgmobile.com:9002/swdata/WEBSW/LGVS840/AVRZBK/VS840ZV5_00/VS840ZV5_00.S5_00.P58013.R5.cab

(For getting back to stock ICS you can use V7 from the aforementioned thread or V8 below)

Get V8 for stock ICS from here instead:
http://csmgdl.lgmobile.com/swdata/WDLSW/LGVS840/AVRZBK/VS840ZV8_05/VS840ZV8_05.S8_05.P58016.R5.cab

Instructions to convert the cab to a KDZ and flash it:
1.Make sure drivers are installed
2.Connect your phone to the computer in "Download Mode"
3.Open and extract KDZ_FW_UPD_EN.zip to a folder
4.Install msxml.msi
5.Disable antivirus software
6.Open UpTestEX_mod2_marwin.exe
7.Wait for the program to open
8.Look for "Encrypt cab file to kdz file" in the left column
9.Click the folder icon
10.Choose the location of the cab you downloaded for VS840 firmware
11.Encrypt cab -> kdz Program will freeze up. DO NOT EXIT until program says Done!!! Otherwise it won't finish converting. It should only take a few minutes. You should see the kdz file selected on the right side when it's done.
12.Close program
13.Open KDZ_FW_UPD.exe
14."Type" choose CDMA
15.Choose in "Phonemode": Emergency
16.Click the folder icon and choose the kdz file that UpTestEX_mod2_marwin.exe just made.
17.Click Launch software update and enjoy!
Your phone is now downgraded to GB.

-Rooting your phone on GB-
In order to root you will need the spectrum root from here:
[ROOT] One-click root for LG Lucid :: 4/18/12

To root, your device must be in USB Debugging mode. To turn it on, go to Settings > Applications > Development and check the box.

Linux/Mac: Connect your device to your PC, unpack the archive, and run run.sh. You may need to chmod 755 run.sh.

Windows: Make sure you have the drivers from above still installed, unpack the archive, and open run.bat.

Your phone should reboot and you will be rooted.

-Install ClockworkMod Recovery-
Once you have root, download ROM Manager and flash CWM Recovery for the LGE Lucid VS840. You should now be able to reboot into CWM from ROM Manager. You can also access it by holding volume down+power when booting your phone. It should get you to the Factory Reset screen, confirm that you want to factory reset and it will instead boot into recovery.

-Install lucid_ics_b1.zip-
Copy the zip from the first post to your SD card.
Get into CWM either from ROM Manager or at startup.
Select to install zip from SD card and navigate to the lucid_ics_b1.zip file. (You can use the volume up and down keys or use menu (up), home (down), and search (Select) buttons.
Once it is installed reboot your phone and it will load to a black screen as indicated in the first post. Use the commands above from a cmd prompt or terminal.
 
Upvote 0
After install it went into a boot loop but here is the log I managed to pull. Hope it will suffice?

pastebin - boot log - post number 2297461

-edit-
Fixed my bootloop problem, but is not pulling a log on boot, says device not found
Thank you for the log. I'm even more confused now then before thou. I see no error for the video driver in this log. I'm going to pass this along to another dev for a second opinion. I'll also look thru the init files as maybe I named something wrong. Everything, and I mean everything seemed to turn on without an issue.

EDIT: Also, when you say it went into a boot loop, do you mean that the screen turned on and was working, or just that ADB kept resetting?
 
Upvote 0
I may be partially derpy, that log was from while it was in CWM.

The bootloop was because i forgot to wipe data before installing. Did that and reinstalled and now have the boot to no screen but get light activity and sound.

-edited for less offense of the R word. But how can I make it pull a log when it keeps saying no connected device?
 
Upvote 0
I may be partially ******ed, that log was from while it was in CWM.

The bootloop was because i forgot to wipe data before installing. Did that and reinstalled and now have the boot to no screen but get light activity and sound.
Can you get me a copy of the dmesg? The other one is from CWM and does me no good. Neither TDM or myself could find any errors in it and now I see why.

EDIT:

Look under the windows device manager. A new device is probably sitting there without a driver. Tell it you want to update that driver and point it to Android Devices -> Google, Inc -> Android Platform Sooner Single ADB Interface (or anything that as ADB interface really).
 
Upvote 0
Win 7 64, will try on my linux partition shortly too

Here is the newest, phone keeps making a strange beeping notification noise at me now too

pastebin - New Log - post number 2297735

Thanks. I'm guessing the linux partition worked for you. I'm still at a loss as to what is going on and here is why.

ICS Mod kernel:
<5>[ 0.000000] Kernel command line: vmalloc=400M, console=ttyDCC0,115200,n8 androidboot.hardware=qcom loglevel=1 uart_console=disable lge.rev=rev_10 lge.hreset=off lge.reboot=pwroff lge.lcd=<null> lge.batt_info=<null> lge.pwron=keypad lge.reset=off_but_rst lge.usb_cable=normal kcal=ffffffffffff androidboot.emmc=true androidboot.serialno=460abb2 androidboot.baseband=svlte2a

CWM Kernel:
<5>[ 0.000000] Kernel command line: vmalloc=400M, console=ttyDCC0,115200,n8 androidboot.hardware=qcom loglevel=1 uart_console=disable lge.rev=rev_10 lge.hreset=off lge.reboot=pwroff lge.lcd=<null> lge.batt_info=<null> lge.pwron=keypad lge.reset=off_but_rst lge.usb_cable=normal kcal=ffffffffffff androidboot.emmc=true androidboot.serialno=460abb2 androidboot.baseband=svlte2a

The key point is lge.lcd=<null> which should show up as lge.lcd=on. Being as your CWM recovery works, this makes it even more confusing. I'll do some digging today and hopefully have a new build up in the middle of the day.
 
Upvote 0
I am not sure if it is relevant, am fairly new to this phone and all, but the only way i can get into CWM is to go into factory reset mode and keep clicking power to reset? I assume that is normal procedure though?
Yes, this is the same way we get into CWM on the spectrum. Does this cause you to be stuck in a boot loop (you reboot but get kicked back into CWM)? We had this issue until a dev made a custom script to clear the flag on /misc.
 
Upvote 0
Interesting fact:

The lucid is so close to the Spectrum that they didn't even bother to change the settings in the MMS program.

Code:
<?xml version="1.0" encoding="utf-8"?>
<mms_config version="4">
    <bool name="enabledMMS">true</bool>
    <bool name="enabledTransID">true</bool>
    <int name="maxMessageSize">1228800</int>
    <int name="maxImageHeight">2448</int>
    <int name="maxImageWidth">3264</int>
    <int name="maxVideoHeight">240</int>
    <int name="maxVideoWidth">320</int>
    <int name="defaultSMSMessagesPerThread">500</int>
    <int name="defaultMMSMessagesPerThread">50</int>
    <int name="minMessageCountPerThread">10</int>
    <int name="maxMessageCountPerThread">5000</int>
    <string name="userAgent">VS920</string>
    <string name="uaProfUrl">http://uaprof.vtext.com/lg/vs920/vs920.xml</string>
    <int name="recipientLimit">20</int>
    <int name="smsToMmsTextThreshold">8</int>
    <bool name="enableMultipartSMS">true</bool>
    <bool name="enableSlideDuration">true</bool>
    <bool name="enableMMSReadReports">false</bool>
    <bool name="enableSMSDeliveryReports">true</bool>
    <bool name="enableMMSDeliveryReports">true</bool>
    <bool name="enableMMSDeliveryReportsAllow">false</bool>
    <bool name="enableMMSExpiry">false</bool>
    <int name="maxMessageTextSize">2000</int>
    <int name="maxSubjectLength">80</int>
    <int name="countOfHighPriorityMessage">0</int>
</mms_config>
 
Upvote 0
Interesting fact:

The lucid is so close to the Spectrum that they didn't even bother to change the settings in the MMS program.

Code:
    <string name="userAgent">VS920</string>
    <string name="uaProfUrl">http://uaprof.vtext.com/lg/vs920/vs920.xml</string>


I did alot of digging in files to discover its just a medium sized spectrum. :D
my lucid should be back anytime from repair now.... cant wait!


Thanks again Neph. I knew someone else would see how close these phones really are..... :proud:
 
Upvote 0
I did alot of digging in files to discover its just a medium sized spectrum. :D
my lucid should be back anytime from repair now.... cant wait!


Thanks again Neph. I knew someone else would see how close these phones really are..... :proud:
Yeah, I did a compare of stock ICS on the spectrum vs stock ICS on the lucid and 80+% of the files were identical. I'm uploading beta 2 right now which is much smaller and should hopefully boot with a screen this time. We'll find out shortly.
 
Upvote 0
I ran a diff check against the cayman (vs840) kernel config file and the i_vzw (vs920) and finally found the two video drivers I was missing. I didn't realize that your screen was only 480x800. This is definitely why no video was showing up. I'll be pushing out a new kernel as soon as I get my build files back up and running.
 
  • Like
Reactions: blumeany
Upvote 0
6 builds later and not one finishes properly. I apologize for the delay in getting the new kernel out. The new LG source isn't messing well with the old spectrum source code. I hope to have it worked out by tonight.
yeah LG has this strange fetish of not letting anything compile properly lol, have you tried building the actual rom source?? LOL wont happen :D, but good luck man glad someone is over here trying, at the moment im trying to get my hands on a cheap lucid so i can dedicate it to testing!! untill then.. goodluck my friend :D lol
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones