05-21-2011 01:02 PM
262 ... 34567 ...
tools
  1. gottria's Avatar
    This is where I'm at. I assume my phone received the OTA update as I received it from work. Could not get root to work with the Control Center. Followed the link (HERE) in step 4 under Prerequisites and got stuck in the unrooting section. Now when I run the update.zip from system recovery it actually runs stuff and I get no error. When my phone reboots it tells me there is "maintenace update" I'm gonna run update from LG Software updater tool and see what happens.

    Damn rooting my Evo was a lot easier...
    02-23-2011 07:01 PM
  2. drewwalton19216801's Avatar
    Booted into recovery.
    Apply update.zip
    Yellow broken code text appears.
    Copy required files.
    Run root exploit.
    disconnect
    re-connect
    disconnect
    re-connect
    Finalize root settings.
    Reboot.

    In terminal emulator I get "permission denied" when I type in su
    OK. After it disconnects and reconnects DON'T CLICK NEXT. Do not pass GO, do not collect $200.

    Instead, fire up a command prompt and see if "adb shell" (without quotes) gives you a root shell. Should see a "#" instead of "$".

    What do you see?
    02-23-2011 07:11 PM
  3. mike9670's Avatar
    C:\Android\android-sdk-windows\platform-tools>adb shell
    # su
    su
    su: not found
    02-23-2011 07:15 PM
  4. drewwalton19216801's Avatar
    Okay, that means rage worked, but for some reason the files didn't get copied to their correct places.

    The presence of "#" means you have root access. At this point, what is the output of "ls /sdcard/" (without quotes)?
    02-23-2011 07:18 PM
  5. mike9670's Avatar
    C:\Android\android-sdk-windows\platform-tools>adb shell
    # ls /sdcard/
    ls /sdcard/
    ls: not found
    #
    02-23-2011 07:25 PM
  6. drewwalton19216801's Avatar
    C:\Android\android-sdk-windows\platform-tools>adb shell
    # ls /sdcard/
    ls /sdcard/
    ls: not found
    #
    Not found? Try "/system/bin/ls /sdcard/"

    I don't know why "ls" wouldn't be found...
    02-23-2011 07:27 PM
  7. mike9670's Avatar
    C:\Android\android-sdk-windows\platform-tools>adb shell
    # /system/bin/ls /sdcard/
    /system/bin/ls /sdcard/
    LOST.DIR
    Android
    data
    zedge
    DCIM
    TunnyBrowser
    media
    downloads
    bluetooth
    Music
    tmp
    download
    scripts
    Podcasts
    busybox
    su
    mnt
    nandroid
    Backup-Contacts2.1.txt
    adw_launcher.db
    Backup-SMS.txt
    Backup-Calendar.txt
    Backup-CallLog.txt
    rageagainstthecage
    Superuser.apk
    bash
    adw_settings.xml
    AppBrain wallpaper
    Wallpaper Images
    su-2.3.1-bin-signed.zip
    PicasaImageTemp28715.tmp
    sprint-apps.zip
    documents
    ThundeROM-V1.7.zip
    BackupEverything
    LG_IME.zip
    update.zip
    RoamAccess.apk
    #
    02-23-2011 07:37 PM
  8. drewwalton19216801's Avatar
    Now run "/sdcard/scripts/android/root/02_root_remount" (put that directly into the android shell without quotes)
    02-23-2011 07:43 PM
  9. mike9670's Avatar
    C:\Android\android-sdk-windows\platform-tools>adb shell
    $ /sdcard/scripts/android/root/02_root_remount
    /sdcard/scripts/android/root/02_root_remount
    mount: Operation not permitted
    $
    02-23-2011 07:56 PM
  10. cordell's Avatar
    C:\Android\android-sdk-windows\platform-tools>adb shell
    $ /sdcard/scripts/android/root/02_root_remount
    /sdcard/scripts/android/root/02_root_remount
    mount: Operation not permitted
    $
    adb shell

    $ su

    # "code here"
    02-23-2011 07:58 PM
  11. drewwalton19216801's Avatar
    Oh dear, looks like you've lost root access. The dreaded "$" is there.

    Attempt re-rooting, and when the device disconnects and reconnects twice, run "adb shell" followed by "/sdcard/scripts/android/root/02_root_remount" followed by "/sdcard/scripts/android/root/03_root_copyfiles" followed by "/sdcard/scripts/android/root/04_root_setperms" followed by "/sdcard/scripts/android/root/05_root_cleanup" (ALL without quotes)
    02-23-2011 07:59 PM
  12. mike9670's Avatar
    C:\Android\android-sdk-windows\platform-tools>adb shell
    # /sdcard/scripts/android/root/02_root_remount
    /sdcard/scripts/android/root/02_root_remount
    # /sdcard/scripts/android/root/03_root_copyfiles
    /sdcard/scripts/android/root/03_root_copyfiles
    cp: can't stat '/sdcard/flash_image': No such file or directory
    # /sdcard/scripts/android/root/04_root_setperms
    /sdcard/scripts/android/root/04_root_setperms
    Unable to chmod flash_image: No such file or directory
    # /sdcard/scripts/android/root/05_root_cleanup
    /sdcard/scripts/android/root/05_root_cleanup
    #

    Rebooted and went to terminal emulator and I can see the SH-3.2# now.

    Did get this error:

    sh: /sdcard/bash_profile: Permission denied.

    But was able to get su to take and get permission.

    Tomorow I'll custom recovery and ThundeROM until CM7 matures.



    Thanks!
    02-23-2011 08:15 PM
  13. drewwalton19216801's Avatar
    Very good. Looks like you found a bug in the process. Thanks for being patient while this application matures. I know it can be a little frustrating when things don't work like they're supposed to.
    02-23-2011 09:53 PM
  14. jmcgyver@gmail.com's Avatar
    Here is what I did..

    I was running Lego ROM, rooted with custom recovery. Did the update VC via the software on my desktop. How do I get the custom recovery off and LG recovery on at this point?

    I was going to go back to V8 then V9 via This Link but it assumes I am rooted. I am no longer rooted because I did the update. How do i get from where I am to being back to rooted with the VC build?

    When i click on either of the root/unroot buttons within this app, it says it cannot do it because the app was not used to root the device.

    My phone is functional ( as much as stock gives you), but would like to get back to root with custom ROM on it.
    02-23-2011 11:44 PM
  15. mike9670's Avatar
    Thanks to Drew for this method:

    Here are the steps necessary to flash the stock v9 recovery image.

    platform-tools.zip

    1) Above is a file called "platform-tools.zip"
    2) Inside that zip file is a folder called "platform-tools"
    3) Copy that folder to the desktop
    4) Inside the folder you copied to the desktop, there is a file called "v9recovery.img"
    5) Copy v9recovery.img to your sdcard
    6) Turn OFF USB Storage
    7) Open a command prompt (in Windows XP this is Start->Run then type "cmd" (without quotes) then hit enter
    8) In the command prompt, type "cd" (without quotes)
    9) Drag the platform-tools FOLDER from the desktop to the command prompt
    10) Make absolutely sure there is a single space between "cd" and the rest
    11) Hit enter
    12) Type "dir" followed by hitting enter
    13) One of the files listed should be adb.exe
    14) Type "adb shell" and hit enter
    15) When it connects, type "su" if it shows a dollar sign ($) and not a pound(#)
    16) Type "cd /sdcard" and hit enter
    17) Type "ls" and hit enter (that's a lowercase L followed by a lowercase S)
    18) One of the files listed should be v9recovery.img
    19) Type "flash_image recovery /sdcard/v9recovery.img" and hit enter
    20) When that finishes, type "reboot recovery" and hit enter

    Should reboot into LG stock v9 recovery.
    02-24-2011 04:33 AM
  16. mike9670's Avatar
    platform-tools.zip

    1) Above is a file called "platform-tools.zip"
    2) Inside that zip file is a folder called "platform-tools"
    3) Copy that folder to the desktop
    4) Inside the folder you copied to the desktop, there is a file called "v9recovery.img"
    5) Copy v9recovery.img to your sdcard
    6) Turn OFF USB Storage
    7) Open a command prompt (in Windows XP this is Start->Run then type "cmd" (without quotes) then hit enter
    8) In the command prompt, type "cd" (without quotes)
    9) Drag the platform-tools FOLDER from the desktop to the command prompt
    10) Make absolutely sure there is a single space between "cd" and the rest
    11) Hit enter
    12) Type "dir" followed by hitting enter
    13) One of the files listed should be adb.exe
    14) Type "adb shell" and hit enter
    15) When it connects, type "su" if it shows a dollar sign ($) and not a pound(#)
    16) Type "cd /sdcard" and hit enter
    17) Type "ls" and hit enter (that's a lowercase L followed by a lowercase S)
    18) One of the files listed should be v9recovery.img
    19) Type "flash_image recovery /sdcard/v9recovery.img" and hit enter
    20) When that finishes, type "reboot recovery" and hit enter

    Should reboot into LG stock v9 recovery.
    02-24-2011 04:35 AM
  17. mike9670's Avatar
    Drew, I tried to install a custom recovery and it did not change it...still have stock LG recovery.
    02-24-2011 04:51 AM
  18. drewwalton19216801's Avatar
    Which custom recovery did you try to install? The reason I ask is that some people have been having issues with Xionia but in order to fix it I need more data. I can't reproduce the bug myself.
    02-24-2011 05:59 AM
  19. mike9670's Avatar
    I was going to use the ThunderC Drellisdee one which I used before with no problems.

    I did see the SuperUser permissions dialog pop on the phone but again I think files were not being pushed to my phone like the root issue.
    02-24-2011 07:31 AM
  20. drewwalton19216801's Avatar
    I was going to use the ThunderC Drellisdee one which I used before with no problems.

    I did see the SuperUser permissions dialog pop on the phone but again I think files were not being pushed to my phone like the root issue.
    Can you please post the output of
    ls /sdcard/
    02-24-2011 07:50 AM
  21. mike9670's Avatar
    I'll try again tonight when I am at home on my PC. Cannot do anything at work.
    02-24-2011 07:58 AM
  22. jmcgyver@gmail.com's Avatar
    I downloaded Platform Tools, and did steps 1-19 when attempting to flash the recovery i get "flash_image: permission denied"
    here is what it looked like:

    cd /sdcard
    $ ls
    ls
    handcent1.log
    media
    LOST.DIR
    Android
    Backgrounds
    apks
    AngryBirdsBackup
    TunnyBrowser
    LazyList
    applanet
    Photaf
    rerware
    copilot
    paint
    albumthumbs
    dcim
    tmp
    Yahoo!
    openfeint
    radardroid
    dliveBk.dat
    Flikie
    myalbum
    data
    download
    Pictures
    EncFiltLog.menc
    temp
    music
    backups
    pulse
    zedge
    cubes
    ilightr
    handcent
    GoodVibrations
    JustPictures
    bluetooth
    Video Downloader
    recovery-thunderc-s-RA-v1.2-GNM.img
    recovery-thunderc-s-RA-v1.2-GNM.img.zip
    update.zip
    v9recovery.img
    $ flash_image recovery /sdcard/v9recovery.img
    flash_image recovery /sdcard/v9recovery.img
    flash_image: permission denied
    $

    Should these steps have been run from within the OS or at the recovery menu? I tried them from the OS. I am no sure how to tell what recovery I am running but at the bottom of the recovery screen it says "RA-thunderc-1.10-GNM"

    Hope this helps?
    02-24-2011 08:07 AM
  23. drewwalton19216801's Avatar
    Here is what I did..

    I was running Lego ROM, rooted with custom recovery. Did the update VC via the software on my desktop. How do I get the custom recovery off and LG recovery on at this point?

    I was going to go back to V8 then V9 via This Link but it assumes I am rooted. I am no longer rooted because I did the update. How do i get from where I am to being back to rooted with the VC build?

    When i click on either of the root/unroot buttons within this app, it says it cannot do it because the app was not used to root the device.

    My phone is functional ( as much as stock gives you), but would like to get back to root with custom ROM on it.
    Use this nandroid dump.


    Should these steps have been run from within the OS or at the recovery menu? I tried them from the OS. I am no sure how to tell what recovery I am running but at the bottom of the recovery screen it says "RA-thunderc-1.10-GNM"
    You can try it in recovery mode, seeing as how recovery mode SHOULD ALLOW root access. If it doesn't work, try the nandroid dump I posted above.
    02-24-2011 08:33 AM
  24. mike9670's Avatar
    sh-3.2# cd /sdcard
    cd /sdcard
    sh-3.2# ls
    ls
    LOST.DIR
    Android
    data
    zedge
    DCIM
    TunnyBrowser
    media
    downloads
    bluetooth
    Music
    tmp
    download
    flash_image
    Podcasts
    mnt
    adw_launcher.db
    adw_settings.xml
    AppBrain wallpaper
    Wallpaper Images
    su-2.3.1-bin-signed.zip
    PicasaImageTemp28715.tmp
    documents
    ThundeROM-V1.7.zip
    BackupEverything
    LG_IME.zip
    update.zip
    sh-3.2#


    ------------

    Tried to manually add custom recovery via ADB:


    sh-3.2# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
    sh-3.2# cat /sdcard/flash_image > /system/bin/flash_image
    cat /sdcard/flash_image > /system/bin/flash_image
    /sdcard/flash_image: No such file or directory

    ---------------
    Then I went back to good old http://forum.androidcentral.com/lg-o...-computer.html and did it in terminal emulator and bingo! Recovery installed!
    jmcgyver@gmail.com likes this.
    02-24-2011 03:29 PM
  25. jmcgyver@gmail.com's Avatar
    ***DISREGARD** I made the directories for the NAND and it worked.***

    what if I do not have any of the folders listed in that other post?

    "1) Unrar the above file and place the folder "BCDRS-20110213-2033" in the "clockworkmod/backup" or "nandroid/mem=477M" folder on your sdcard."
    02-24-2011 05:21 PM
262 ... 34567 ...
LINK TO POST COPIED TO CLIPBOARD