11-27-2010 12:09 AM
71 123
tools
  1. zefie's Avatar
    Bad news, while the Optimus does have a recovery mode, ADB is useless within it.

    C:\Users\zefie>adb shell
    - exec '/system/bin/sh' failed: No such file or directory (2) -

    Recovrey mode navigation:
    Volume up = up
    Volume down = down
    Menu Button (right of Home key) = Select

    To play with this yourself (not recommended for non-dev users):
    adb shell into your rooted optimus.
    su
    reboot recovery

    Edit: ImageShack URL since attachment isnt working:
    11-16-2010 12:47 PM
  2. drellisdee's Avatar
    Anyone one who wants a custom recovery please see this thread its details the dumps I'll need from a rooted phone to make it. In case you haven't heard of me as I'm not active here I made the original one for the ally and the alternate one for the incredible and I'm just about done with the recovery for the opt 1/T. Please post in that thread as I'll monitor that one.
    beezy likes this.
    11-16-2010 02:15 PM
  3. zefie's Avatar
    Code:
    dev:    size   erasesize  name
    mtd0: 00700000 00020000 "boot"
    mtd1: 07c20000 00020000 "cache"
    mtd2: 00700000 00020000 "recovery"
    mtd3: 00140000 00020000 "splash"
    mtd4: 00700000 00020000 "FOTA_STO"
    mtd5: 09e80000 00020000 "system"
    mtd6: 0a4e0000 00020000 "userdata"
    mtd7: 00080000 00020000 "misc"
    mtd8: 00180000 00020000 "persist"
    mtd0 and mtd2 are in the zip.

    http://files.mysticmidnight.net/zefi...ernel_dump.zip
    11-16-2010 02:28 PM
  4. KSmithInNY's Avatar
    My Brain Hurts - Porting Clockwork Recovery to new Devices

    Hopefully someone will do clockwork recovery because then any rooted user can flash recovery right through ROM manager
    11-16-2010 02:43 PM
  5. smccloud's Avatar
    My Brain Hurts - Porting Clockwork Recovery to new Devices

    Hopefully someone will do clockwork recovery because then any rooted user can flash recovery right through ROM manager
    I will try clockwork tonight, even thought that isn't my favorite. Shouldn't be to hard to do (famous last words). Step one is getting Linux installed on my desktop since I don't want to install git on my Windows 7 install.
    11-16-2010 05:12 PM
  6. smccloud's Avatar
    Well, Wubi didn't work so I had to install Virtual Box. Currently updating Ubuntu right now.

    Sent from my LG Optimus S using Tapatalk Pro
    11-16-2010 10:39 PM
  7. psg190's Avatar
    Well, Wubi didn't work so I had to install Virtual Box. Currently updating Ubuntu right now.

    Sent from my LG Optimus S using Tapatalk Pro
    Nice, thanks for giving this a shot.
    11-16-2010 10:47 PM
  8. smccloud's Avatar
    Hopefully I'll get further tomorrow night.

    Sent from my LG Optimus S using Tapatalk Pro
    11-16-2010 10:49 PM
  9. zefie's Avatar
    To launch recovery mode from power off:

    Volume Up + Home + Power
    or
    Volume Up + Home + Search
    11-16-2010 10:59 PM
  10. wheremyarm's Avatar
    Volume Up + Home + Power
    This reset my phone to factory default everything, and the second key combination didn't do anything. I'm glad I did a full backup with titanium backup right before I tried this.
    11-17-2010 01:10 AM
  11. psg190's Avatar
    This reset my phone to factory default everything, and the second key combination didn't do anything. I'm glad I did a full backup with titanium backup right before I tried this.
    You don't have to do a hard reset on your phone from the recovery screen . . . there is an option just to reboot.

    Then again, I could be thinking of a different key combination.
    11-17-2010 01:53 AM
  12. KSmithInNY's Avatar
    To launch recovery mode from power off:

    Volume Up + Home + Power
    or
    Volume Up + Home + Search
    volume down
    11-17-2010 03:40 AM
  13. psg190's Avatar
    volume down
    That's right . . . Thanks KSmith
    11-17-2010 03:43 AM
  14. zefie's Avatar
    Volume up works for me.
    11-17-2010 11:40 AM
  15. gizmosears's Avatar
    There is a working custom recovery that is located at Need a dump to build recovery. - Android Forums
    It's in post #5
    If the steps are followed correctly should work no problem.
    11-17-2010 03:45 PM
  16. zefie's Avatar
    There is a working custom recovery that is located at Need a dump to build recovery. - Android Forums
    It's in post #5
    If the steps are followed correctly should work no problem.
    :rolleyes: I was going to wait until a stable was released/announced.
    11-17-2010 03:56 PM
  17. beezy's Avatar
    :rolleyes: I was going to wait until a stable was released/announced.
    It's stable enough ksmith and me both have tried it without issues.
    11-17-2010 04:35 PM
  18. gizmosears's Avatar
    It's stable enough ksmith and me both have tried it without issues.
    It is pretty stable I'm just not able to use the USB Toggle. Keeps freezing on me. Everything else I tried worked fine just not that, not sure if it is an issue for me or everybody else.
    11-17-2010 04:53 PM
  19. zefie's Avatar
    we tried a simple file copy command. for all we know telling it to format /data could format boot.img :P

    Unlikely yes. :P

    Anyway, I found a couple of "tot" files that are apparently to be used with low level flashing tools @ LG and Sprint. Its not the flashing tools I am interested in though. Inside these "tot" files are boot.img, system.img, data.img, cache.img, recovery.img ect.. we need to figure out a way to extract them so we can make our own "RUU" so to speak.

    you know, the "mayday" flash for when we need to go to Sprint Repair :P
    11-17-2010 05:18 PM
  20. beezy's Avatar
    we tried a simple file copy command. for all we know telling it to format /data could format boot.img :P

    Unlikely yes. :P

    Anyway, I found a couple of "tot" files that are apparently to be used with low level flashing tools @ LG and Sprint. Its not the flashing tools I am interested in though. Inside these "tot" files are boot.img, system.img, data.img, cache.img, recovery.img ect.. we need to figure out a way to extract them so we can make our own "RUU" so to speak.

    you know, the "mayday" flash for when we need to go to Sprint Repair :P
    Been trying to figure that part out.Just to need to figure out how to open a tot file.
    11-17-2010 05:57 PM
  21. zefie's Avatar
    Here are the tot files for anyone who is interested and can't stand RapidShare

    Index of /zefie/files/cell/LG670/roms/LGNPST Recovery - Mystic Midnight Files

    They are compressed in xz, which is LZMA2. Latest beta of 7-Zip can use these files.
    11-17-2010 06:02 PM
  22. KSmithInNY's Avatar
    I'm pretty sure those tot files are something proprietary to LG so theres going to be no (easy) way to get the contents.

    The best bet for repairs and such is doing just like steelh does for the EVO's. A simple busyboxed, rooted zip to flash. Nothing else done to it. If someone is really the worried type they could even flash that zip, then rm Superuser.apk so even if the Sprint person went scrolling through their apps, superuser wouldn't be present.
    11-17-2010 06:53 PM
  23. drellisdee's Avatar
    Can anyone confirm processor is it msm7625 or msm7627. Now that kernel source is out I should be easily able to OC the S. I figured out how to OC the msm7627 in ally to 787mhz and passed the info on to the palm guys who were then able to OC pixi. On recovery the formatting iss correct as I made 2x sure I had partitions right. On the tot file stuff we never figured out how to get the .imgs out on the ally.
    11-17-2010 07:21 PM
  24. smccloud's Avatar
    I'm still trying to get the Clockwork recovery image built. Just working on getting Java & git installed right now.
    11-17-2010 07:40 PM
  25. zefie's Avatar
    Can anyone confirm processor is it msm7625 or msm7627. Now that kernel source is out I should be easily able to OC the S. I figured out how to OC the msm7627 in ally to 787mhz and passed the info on to the palm guys who were then able to OC pixi. On recovery the formatting iss correct as I made 2x sure I had partitions right. On the tot file stuff we never figured out how to get the .imgs out on the ally.
    I've been reading that its a msm7227

    Here they talk about the G6, HTC Legend with same CPU
    http://android.modaco.com/index.php?...ode=linearplus

    Here they discuss overclocking the G6:
    http://forum.xda-developers.com/showthread.php?t=746805

    Perhaps of interest:
    http://www.mediafire.com/?ndbhk3y8d7wskzy

    In the LG thunderc kernel, the clocks are at
    arch/arm/mach-msm/acpuclock.c

    look for the following:
    Code:
    /* 7x27 normal with CDMA-only modem */
    static struct clkctl_acpu_speed pll0_196_pll1_960_pll2_1200[] = {
    	{ 0, 19200, ACPU_PLL_TCXO, 0, 0, 19200, 0, 0, 24576 },
    	{ 1,  98304, ACPU_PLL_0, 4, 1,  98304, 0, 3,  49152 },
    	{ 0, 120000, ACPU_PLL_1, 1, 7,  60000, 1, 3,  49152 },
    	{ 1, 196608, ACPU_PLL_0, 4, 0,  65536, 2, 4,  98304 },
    	{ 0, 200000, ACPU_PLL_2, 2, 5,  66667, 2, 4,  98304 },
    	{ 1, 320000, ACPU_PLL_1, 1, 2, 160000, 1, 5, 120000 },
    	{ 0, 400000, ACPU_PLL_2, 2, 2, 133333, 2, 5, 120000 },
    	{ 1, 480000, ACPU_PLL_1, 1, 1, 160000, 2, 6, 120000 },
    	{ 1, 600000, ACPU_PLL_2, 2, 1, 200000, 2, 7, 120000 },
    	{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0, 0, 0}, {0, 0, 0} }
    };
    I'm pretty sure those tot files are something proprietary to LG so theres going to be no (easy) way to get the contents.
    Some research shows that it is Qualcomm QFIT (Qualcomm Flash Image Tool)
    11-17-2010 07:44 PM
71 123
LINK TO POST COPIED TO CLIPBOARD