Unlocked bootload and CM10


  1. Neph81

    Neph81 Well-Known Member

    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.

    Advertisement
    Keynith, ozzy8160, blumeany and 2 others like this.
  2. wiisixtyfour

    wiisixtyfour Well-Known Member

    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.
    JRAY, JJPR97, Keynith and 1 other person like this.
  3. TheCheeze

    TheCheeze Active Member

    Am downloading everything to test right now. After phone gets a decent charge I should be able to get you that log. So glad to see some development coming for this, so I want to help in any way that I can!
    dspl1236 and noseph like this.
  4. Imyourbuddy

    Imyourbuddy New Member

    Just made an account to help you out. Downgrading my phone as we speak. Will post soon.
  5. TheCheeze

    TheCheeze Active Member

    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
  6. Neph81

    Neph81 Well-Known Member

    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?
  7. TheCheeze

    TheCheeze Active Member

    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?
  8. Neph81

    Neph81 Well-Known Member

    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).
  9. Neph81

    Neph81 Well-Known Member

    Any luck with what I suggested in Windows Device Manager?
  10. TheCheeze

    TheCheeze Active Member

    Device Manager is not showing any unknown devices.
  11. Neph81

    Neph81 Well-Known Member

    Which OS are you currently running?
  12. TheCheeze

    TheCheeze Active Member

    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

    http://www.pastebin.ca/2297735
  13. Neph81

    Neph81 Well-Known Member

    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.
  14. TheCheeze

    TheCheeze Active Member

    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?
  15. Neph81

    Neph81 Well-Known Member

    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.
  16. TheCheeze

    TheCheeze Active Member

    No, I do not get stuck on bootloop anymore. It was because i did not wipe data/cache before installing the first time.
  17. Neph81

    Neph81 Well-Known Member

    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 (Text):
    1.  
    2. <?xml version="1.0" encoding="utf-8"?>
    3. <mms_config version="4">
    4.     <bool name="enabledMMS">true</bool>
    5.     <bool name="enabledTransID">true</bool>
    6.     <int name="maxMessageSize">1228800</int>
    7.     <int name="maxImageHeight">2448</int>
    8.     <int name="maxImageWidth">3264</int>
    9.     <int name="maxVideoHeight">240</int>
    10.     <int name="maxVideoWidth">320</int>
    11.     <int name="defaultSMSMessagesPerThread">500</int>
    12.     <int name="defaultMMSMessagesPerThread">50</int>
    13.     <int name="minMessageCountPerThread">10</int>
    14.     <int name="maxMessageCountPerThread">5000</int>
    15.     <string name="userAgent">VS920</string>
    16.     <string name="uaProfUrl">http://uaprof.vtext.com/lg/vs920/vs920.xml</string>
    17.     <int name="recipientLimit">20</int>
    18.     <int name="smsToMmsTextThreshold">8</int>
    19.     <bool name="enableMultipartSMS">true</bool>
    20.     <bool name="enableSlideDuration">true</bool>
    21.     <bool name="enableMMSReadReports">false</bool>
    22.     <bool name="enableSMSDeliveryReports">true</bool>
    23.     <bool name="enableMMSDeliveryReports">true</bool>
    24.     <bool name="enableMMSDeliveryReportsAllow">false</bool>
    25.     <bool name="enableMMSExpiry">false</bool>
    26.     <int name="maxMessageTextSize">2000</int>
    27.     <int name="maxSubjectLength">80</int>
    28.     <int name="countOfHighPriorityMessage">0</int>
    29. </mms_config>
    30.  
  18. dspl1236

    dspl1236 Well-Known Member


    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:
  19. Neph81

    Neph81 Well-Known Member

    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.
  20. Neph81

    Neph81 Well-Known Member

  21. Connorh333

    Connorh333 Well-Known Member

    Your awesome!
  22. TheCheeze

    TheCheeze Active Member

    Downloading to test time now

    -edit-
    No screen, no startup noise. working on pulling log. being painful again
  23. Neph81

    Neph81 Well-Known Member

    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.
    blumeany likes this.
  24. Neph81

    Neph81 Well-Known Member

    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.
  25. LDrifta

    LDrifta No Stranger 2 Danger Guide

    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

Share This Page