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

Root [AT&T] total wipe-out

  • Thread starter Thread starter Deleted User
  • Start date Start date
  • Tags Tags
    lg g2
D

Deleted User

Guest
Completely wiped my phone while installing new rom. I still have TWRP recovery, but can't put any recovery rom into TWRP. I guess it's time to buy some USB-OTG-Y cables and a flash drive. Hard lesson learned.:p

WHEN YOU WIPE YOUR DALVIK CACHE IN TWRP, NEVER, NEVER TAP ON "ADVANCED WIPE".
 
If you're near a computer, you could use adb to push or sideload a rom to the sdcard. But yeah, not so much for mobile flashing.
 
If you're near a computer, you could use adb to push or sideload a rom to the sdcard. But yeah, not so much for mobile flashing.

I am near a MacBook Pro. This is what was on my phone when i rooted it. Build#KOT491.D80020u Kernel#3.4.0 Rom Optimus G3 v1.2

I've sent away for a USB-OTG-Y cable, and a flash drive, and i've never typed commands from the "terminal", but i'm willing to give it a try. Any help is greatly appreciated.:p
 
Sure. If you have the sdk on your mac (or you can use our forum's mini sdk in the FAQ section), you can use adb. Boot into recovery using the phone's external keys. Probably easist to rename the rom to "rom.zip". Then place the rom zip into the platform-tools folder of the sdk. Then open terminal, change directory to the platform-tools folder, and issue the command adb push rom.zip /data/media/.

If its your first time using adb on that machine, youll need to watch for an authentication popup on the phone the first time. There'll be a checkbox on that screen to "always allow". Check that.

Pretty much it. Let me know if any questions.
 
Btw, when you enter recovery, you dont need to select a menu item for the purpose of adb push. Just being in recovery is all that's needed. That trips people up sometimes.
 
O.K. You are on a level way above me. Here's how i download a rom. I put the zip file of the rom on my desktop. Plug in the phone to the Mac, and android file transfer opens up. I drag the zip file over to the downloads folder from the phone, and it goes right in. Then i go into recovery mode, tap on install, tap on the zip file, and i'm done. That's the extent of my knowledge. Right now, i have the zip file on my desktop, the phone is plugged into the computer, and that's it. If there's anyway to put this zip file onto the phone, please walk me through the procedure. Thanks.:confused:
 
Btw, when you enter recovery, you dont need to select a menu item for the purpose of adb push. Just being in recovery is all that's needed. That trips people up sometimes.

Followed the guide, but Mac doesn't recognize terminal commands. This phone is really wiped. When i start to get into recovery mode, i see a screen that says "Factory Hard Reset". After i do that, i get the TWRP recovery screen, but a message comes up for about a second saying that i'm not rooted. WTF is going on? I'm completely lost.:confused:
 
Followed the guide, but Mac doesn't recognize terminal commands. This phone is really wiped. When i start to get into recovery mode, i see a screen that says "Factory Hard Reset". After i do that, i get the TWRP recovery screen, but a message comes up for about a second saying that i'm not rooted. WTF is going on? I'm completely lost.:confused:

I was not aware TWRP checked for the presence of root but evidently it does. It would be lacking the SU binary in its fully wiped state so that's not surprising. Did you wipe the sdcard when doing the advanced wipe? If not, any chance you made a nandroid backup while in recovery previously?
 
I was not aware TWRP checked for the presence of root but evidently it does. It would be lacking the SU binary in its fully wiped state so that's not surprising. Did you wipe the sdcard when doing the advanced wipe? If not, any chance you made a nandroid backup while in recovery previously?

I believe that everything got wiped out, but i'm not sure. I did have a nandroid back-up. I'm waiting on some USB-OTG-Y cables. If that doesn't work, i'll have to send it to LG.:(
 
I believe that everything got wiped out, but i'm not sure. I did have a nandroid back-up. I'm waiting on some USB-OTG-Y cables. If that doesn't work, i'll have to send it to LG.:(

So you've already tried the "restore" option in TWRP then and your backup was gone? In any event, you have other options before sending to LG. We can continue to try and get adb working or worst case you can reflash it to stock using download mode. Although you would need to use a windows machine for that.
 
So you've already tried the "restore" option in TWRP then and your backup was gone? In any event, you have other options before sending to LG. We can continue to try and get adb working or worst case you can reflash it to stock using download mode. Although you would need to use a windows machine for that.

It really irritates me that 99.99% of "android" people use a PC. I have a MacBook Pro 17", and i love it. I'm not an iPhone person, although the rest of my family is. Now that i've gotten that off my chest, here's how it stands. About a year ago, i partitioned my Mac, leaving 400gbs. on the Mac side, and putting 100gbs. on the Windows7 side. The Windows7 that i used, from a friend, was pirated off the internet. So, i wouldn't attempt to use it for something as important as this. I'm still debating whether to erase the Windows7 side, or spend $100.00 and get an official copy of it. I did try to reflash it to stock, but the Windows7 started acting funny, throwing up ads and websites, so i backed off. I can't get the Mac to acknowledge my terminal commands, so unless you feel like coming here to SW Florida, i'll have to wait for my USB-OTG-Y cable to arrive. Someone on a different website has assured me that the cable will get me up and running, as he had the exact same problem that i have. Someone else has told me that they actually use that cable to completely wipe the phone, every time that they flash a rom. Something about getting rid of the "residual" junk left behind when you flash. So, that's it for now. Thanks again for all your help.:p
 
Just a minute.

I've been rooting with Macs for four years - and I'm the guy that posted our Mini-SDK. :D :p

Let me get to my Mac (I'm on the phone right now) and let's see if I can help some.

Macs work great for rooting - much better than Windows.
 
Ok, sorry for the delay, let's get started.

I'm going to hang with you here until we get this sorted.

Let's start with adb.

Which did you install - our Mini-SDK or the big one?

Do you have a terminal window open?

BTW - I take to heart that adb is a new deal, but once we get past the idiosyncrasies, I think you'll be comfortable.

Also - we could hit some snags thanks to any differences between your TWRP and mine. Those guys are always changing things.

But - because yours detects whether root is present or not, I'm using a version that does the same, so I'll bet we'll be ok. Just be patient with me until we hit the groove.

So -

Which adb and do you have a terminal window open? :)
 
While you're getting ready, I'm just going to type some notes up in here.

TWRP adb sideload will load and install a rom -

ADB Sideload | TeamWin

Personally, I prefer to do a push, see that the file got there and then just install normally in TWRP.

First, make sure that adb is ok and connected - go into TWRP, then plug in to USB (not USB 3 port) and then in terminal window:

./adb devices

Verify that it gives an output for the phone. Yours will be different, but mine is -

List of devices attached
FA443SF03116 recovery

When successful, from TWRP main screen, choose Mount. At the bottom, you'll have a thing that looks like a label - but it's really a button - that says something like Internal Storage.

Tap that. Decide which storage you want to use, internal or sd card.

Back button on lower right to main TWRP screen.

Now - Advanced, File Manager

Look around and see how your storage areas are named by TWRP. Mine are named sdcard (that is really the internal storage lol) and external_sd (that is really the sd card). Go ahead and surf into either so you're comfortable.

Note the name of the one you want to use for your rom zip file.

OK.

Now move or copy the rom zip file over to where you have adb. Using the Finder and drag and drop, or command-c/command-v, is just fine for that.

Then in terminal window (and note my example uses my external sd, by its TWRP name, you need to make the last bit match your needs:

./adb push name-of-your-rom.zip /external_sd

So, let's make sure that the syntax is showing up ok on your browser. I said:

./adb (spacebar) file-I-want-on-phone (spacebar) name of storage folder according to TWRP

When complete (and expect it to take some time), back out of File Manager to Advanced menu, and back in to File Manager - and now surf there to ensure that your copy was really ok.

Back out until main TWRP window, Install, profit!
 
Imput into terminal went o.k. Hit "enter" and it says...no such file or directory.

I need you to go really slow so I can picture your setup.

So, let's do this:

You have our Mini-SDK unzipped then, into a folder called sdk-tools, under your Home area?

Or -

Is it a different situation? (That's ok, I just need to know which one)
 
It really irritates me that 99.99% of "android" people use a PC.

I understand completely and I'm afraid my Mac knowledge is lacking. However, EarlyMon can make them sing and dance so stick with him...he WILL get you to home plate on this if you follow his lead. Thanks for helping EM! :thumbup:
 
I need you to go really slow so I can picture your setup.

So, let's do this:

You have our Mini-SDK unzipped then, into a folder called sdk-tools, under your Home area?

Or -

Is it a different situation? (That's ok, I just need to know which one)

Upper right-hand corner of desktop has an icon of my hard-drive. I clicked on that, and when it opened i saw some folders, so that's where i put the sdk-tools folder.
 
Upper right-hand corner of desktop has an icon of my hard-drive. I clicked on that, and when it opened i saw some folders, so that's where i put the sdk-tools folder.

Ok, so no problem.

Let's test my understanding.

Please copy and paste these two lines exactly into your terminal window and let's see what we get.

cd /sdk-tools

./adb-mac devices
 
Ok, so no problem.

Let's test my understanding.

Please copy and paste these two lines exactly into your terminal window and let's see what we get.

cd /sdk-tools

./adb-mac devices

WE get "no such file or directory". The terminal and the phone are not talking to each other.
 
WE get "no such file or directory". The terminal and the phone are not talking to each other.

Actually, it means that we're in the wrong folder or that the command is not there - we haven't gotten to the phone yet.

In your terminal window, please do:

pwd

And then do:

ls -l

(both of those are lowercase L)

And copy/paste the output to me here.

PS - Sorry about the "we" language, I don't mean anything by it, it's just how I post normally. I imagine in these cases that we're sitting together, working together, so "we" comes naturally to me. :D
 
Actually, it means that we're in the wrong folder or that the command is not there - we haven't gotten to the phone yet.

In your terminal window, please do:

pwd

And then do:

ls -l

(both of those are lowercase L)

And copy/paste the output to me here.

PS - Sorry about the "we" language, I don't mean anything by it, it's just how I post normally.

Last login: Sun Jul 27 13:34:44 on ttys000
daniels-mbp-2:~ danielwinick$ pwd
/Users/danielwinick
daniels-mbp-2:~ danielwinick$ ls-l
-bash: ls-l: command not found
daniels-mbp-2:~ danielwinick$

Here it is. I hope that i did it right.
 
Last login: Sun Jul 27 13:34:44 on ttys000
daniels-mbp-2:~ danielwinick$ pwd
/Users/danielwinick
daniels-mbp-2:~ danielwinick$ ls-l
-bash: ls-l: command not found
daniels-mbp-2:~ danielwinick$

Here it is. I hope that i did it right.

Ok, no problem.

The command was not found because of no space between ls and -l

But - you're still in your "home" directory.

Please first do:

cd /sdk-tools

(that's cd (spacebar) /sdtools there)

And then do:

ls -l

(ls (spacebar) -l there)
 
Ok, no problem.

The command was not found because of no space between ls and -l

But - you're still in your "home" directory.

Please first do:

cd /sdk-tools

(that's cd (spacebar) /sdtools there)

And then do:

ls -l

(ls (spacebar) -l there)


Last login: Sun Jul 27 13:40:45 on ttys000
daniels-mbp-2:~ danielwinick$ cd /sdk-tools
daniels-mbp-2:sdk-tools danielwinick$ ls -l
total 7872
-rwxr-xr-x@ 1 danielwinick staff 96256 13 Feb 2013 AdbWinApi.dll
-rwxr-xr-x@ 1 danielwinick staff 60928 13 Feb 2013 AdbWinUsbApi.dll
-rw-r--r--@ 1 danielwinick staff 43 20 May 2013 Version.txt
-rwxr-xr-x@ 1 danielwinick staff 1226659 13 Feb 2013 adb-linux
-rwxr-xr-x@ 1 danielwinick staff 1256228 13 Feb 2013 adb-mac
-rwxr-xr-x@ 1 danielwinick staff 815104 13 Feb 2013 adb.exe
-rwxr-xr-x@ 1 danielwinick staff 176550 13 Feb 2013 fastboot-linux
-rwxr-xr-x@ 1 danielwinick staff 189440 13 Feb 2013 fastboot-mac
-rwxr-xr-x@ 1 danielwinick staff 157184 13 Feb 2013 fastboot.exe
-rwxr-xr-x@ 1 danielwinick staff 28160 26 Aug 2011 md5sums.exe
drwxr-xr-x 4 danielwinick staff 136 27 Jul 11:36 platform-tools
-rwxr-xr-x@ 1 danielwinick staff 1414 18 May 13:16 sdk.sh
daniels-mbp-2:sdk-tools danielwinick$

Now i get this. Is this a good thing?:p
 
Back
Top Bottom