Author Topic: Unable to gain shell in ADB [FIX]  (Read 2949 times)

0 Members and 2 Guests are viewing this topic.

Unable to gain shell in ADB [FIX]

« on: January 14, 2013, 03:51:25 AM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • NateDoggzTN

    Posts: 15
    User Rating: +1/-0
    • VIP Member
    • *
    • Jr. Member
    Every since the first time i attemted to root this phone (LGL35G), I have had issues with "adb shell". I could never get it to pull up the "#" icon. It would stay as "$". I ran a terminal emulator on the phone and used the "su" command. Gained # but was still unable to control the system directory via command line. I tried fix permissions under ClockWorkMod(installed from oneclick on this site). This did not help. I ran "su" through "adb shell" and it just froze for a second and didn't give me root. Below is how I solved this problem.

    All this is assuming that you have successfully rooted your phone via a custom nandroid or root script. My phone is rooted but I am still unable to run custom shell scripts due to permission errors. Also unable to get a root shell via ADB.

    The fix is rather easy and I am sure there are alternate methods. This is fool proof:

    1) Install You are not allowed to view links. Register or Login.

    2) Open ROM Toolbox Lite and move down to the 4th grey button "Scripter"

    3) Move down to the 4th option "Mount System R/W"

    4) Mount phone to computer through developer mode

    5) Open up "adb shell"

    6) Type in "su"

    7) Look on your phone and allow the adb client permission for Super User (or whatever app u chose)

    8) You will now have a root shell where you can begin to fully control your phone
    • Stock
    • lgl35g
    • Clock Work Mod

    Re: Unable to gain shell in ADB [FIX]

    « Reply #1 on: January 14, 2013, 08:46:32 AM »
  • Thank You
  • -Given: 0
  • -Receive: 3
  • kingmt01

    Posts: 401
    User Rating: +115/-3
    Rom Developer -- Beta Tester
    • Global Moderator
    • *
    • Hero Member
    Congrats. I just mounted my system as writable.

    Had problems with adb reboot recovery tho. installed Quick Boot & the adb reboot recovery started working.
    • Custom
    • ZTE Merit / LG LGL35G
    • Clock Work Mod
    • n/a
    If we have helped you please consider donating to the site so we will be here tomorrow to help the next guy or even you again.
    PAYPAL DIRECT EMAIL == You are not allowed to view links. Register or Login
    If I have helped you please hit the thanks button.

    Tags: adb shell root fix su super user 

    Related Topics

      Subject / Started by Replies Last post
    3 Replies
    Last post December 04, 2011, 01:36:02 PM
    by MaDk1oWn
    15 Replies
    Last post June 20, 2012, 02:18:11 PM
    by Leelouster
    21 Replies
    Last post January 09, 2013, 07:38:45 PM
    by TaterTot
    2 Replies
    Last post January 03, 2013, 04:30:58 PM
    by daddyzbadboy16
    10 Replies
    Last post June 11, 2014, 01:54:16 PM
    by 536slim