• 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
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

That is a fantastic thing.

Now, while in TWRP, and phone plugged in to Mac, please do:

./adb-mac devices

(that's a (spacebar) before devices ok)

Mine says -

List of devices attached
FA443SF03116 recovery


What does yours say?
 
That is a fantastic thing.

Now, while in TWRP, and phone plugged in to Mac, please do:

./adb-mac devices

(that's a (spacebar) before devices ok)

Mine says -




What does yours say?

Last login: Sun Jul 27 13:51:41 on ttys000
daniels-mbp-2:~ danielwinick$ ./adb-mac devices
-bash: ./adb-mac: No such file or directory
daniels-mbp-2:~ danielwinick$

Bad news.:(
 
Last login: Sun Jul 27 13:51:41 on ttys000
daniels-mbp-2:~ danielwinick$ ./adb-mac devices
-bash: ./adb-mac: No such file or directory
daniels-mbp-2:~ danielwinick$

Bad news.:(

Ok, I think the problem must be that you are closing your terminal window or doing something else because you're back in your home directory.

No big deal my friend. :)

If you want to work that way I think my Mac/Linux installer will help.

Please do this:

cd /sdk-tools
./sdk.sh

Close the terminal window.

Open a new one. And without doing anything else, this time just say:

adb devices
 
Gah, I can't type today.

The correct commands are:

cd /sdk-tools
./sdk.sh

Last login: Sun Jul 27 14:10:07 on ttys000
daniels-mbp-2:~ danielwinick$ cd /sdk-tools
daniels-mbp-2:sdk-tools danielwinick$ ./sdk.sh
Mini-SDK installation complete.
daniels-mbp-2:sdk-tools danielwinick$

Sorry, but when i copy & paste this stuff to you, the terminal closes.:p
 
Last login: Sun Jul 27 14:10:07 on ttys000
daniels-mbp-2:~ danielwinick$ cd /sdk-tools
daniels-mbp-2:sdk-tools danielwinick$ ./sdk.sh
Mini-SDK installation complete.
daniels-mbp-2:sdk-tools danielwinick$

Sorry, but when i copy & paste this stuff to you, the terminal closes.:p

Ah ah ah - I understand.

Ok, so - now in a new window, what does this do?

adb devices

And yes, I intentionally left off the ./ this time.
 
Ah ah ah - I understand.

Ok, so - now in a new window, what does this do?

adb devices

And yes, I intentionally left off the ./ this time.

Last login: Sun Jul 27 14:14:27 on ttys000
daniels-mbp-2:~ danielwinick$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
08a136569faa3699 recovery

daniels-mbp-2:~ danielwinick$

How's this?
 
Last login: Sun Jul 27 14:14:27 on ttys000
daniels-mbp-2:~ danielwinick$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
08a136569faa3699 recovery

daniels-mbp-2:~ danielwinick$

How's this?

You are now golden and about to get better.

Here are my revised notes from earlier, ignore the previous version.

Let's get your phone running! :)

~~~~~~~~~~~~~~

You have two choices.

I'm going to show you what TWRP has in Choice 1, then how I'm used to it in Choice 2.

Either one should work. They're totally different but ought to be fine either way.

Choice 1:


TWRP adb sideload will load and install a rom -

ADB Sideload | TeamWin

First get into sideload mode by going TWRP, Advanced, ADB Sideload, and swipe to get it ready.

Then you can just copy/move your rom zip file to your home folder using the Finder and just do this in a new Terminal Window:

adb sideload name-of-your-rom.zip

Watch the prompts on-screen, give it time, install rom, profit!

If you want to be sure of your rom zip name do this:

Open Finder, go to where you can see your rom zip file.

Open Terminal Window near Finder window.

In Terminal Window:

adb (spacebar) sideload (spacebar) {and now drag the rom zip file that you see in the Finder over to the Terminal Window and drop it - it will give a nice long name for it - and then just press return/enter}

Choice 2:

Personally, I prefer to do a push (because I know it better), see that the file got there and then just install normally in TWRP.

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 your home folder. Using the Finder and drag and drop, or command-c/command-v, is just fine for that.

Then in terminal window (and notice that 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 with a slash in front

And yes, for the name-of-your-rom.zip file, you can also do the Finder to Terminal Window drag and drop trick I mentioned earlier.

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!
 
You are now golden and about to get better.

Here are my revised notes from earlier, ignore the previous version.

Let's get your phone running! :)

~~~~~~~~~~~~~~

You have two choices.

I'm going to show you what TWRP has in Choice 1, then how I'm used to it in Choice 2.

Either one should work. They're totally different but ought to be fine either way.

Choice 1:


TWRP adb sideload will load and install a rom -

ADB Sideload | TeamWin

First get into sideload mode by going TWRP, Advanced, ADB Sideload, and swipe to get it ready.

Then you can just copy/move your rom zip file to your home folder using the Finder and just do this in a new Terminal Window:

adb sideload name-of-your-rom.zip

Watch the prompts on-screen, give it time, install rom, profit!

If you want to be sure of your rom zip name do this:

Open Finder, go to where you can see your rom zip file.

Open Terminal Window near Finder window.

In Terminal Window:

adb (spacebar) sideload (spacebar) {and now drag the rom zip file that you see in the Finder over to the Terminal Window and drop it - it will give a nice long name for it - and then just press return/enter}

Choice 2:

Personally, I prefer to do a push (because I know it better), see that the file got there and then just install normally in TWRP.

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 your home folder. Using the Finder and drag and drop, or command-c/command-v, is just fine for that.

Then in terminal window (and notice that 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 with a slash in front

And yes, for the name-of-your-rom.zip file, you can also do the Finder to Terminal Window drag and drop trick I mentioned earlier.

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!
Sideload looked easier, but this is what i got.
Last login: Sun Jul 27 14:19:42 on ttys000
daniels-mbp-2:~ danielwinick$ adb sideload name-of-your-rom.zip
* cannot read 'sideload' *
daniels-mbp-2:~ danielwinick$
 
Sideload looked easier, but this is what i got.
Last login: Sun Jul 27 14:19:42 on ttys000
daniels-mbp-2:~ danielwinick$ adb sideload name-of-your-rom.zip
* cannot read 'sideload' *
daniels-mbp-2:~ danielwinick$

OK, so "name-of-your-rom" means you need to fill in the exact name of your rom there.

Where is your rom zip file?

Is it in your download folder on your Mac?
 
OK, so "name-of-your-rom" means you need to fill in the exact name of your rom there.

Where is your rom zip file?

Is it in your download folder on your Mac?

Yes, it's in the "download" folder as rom.zip. Should i put back the original name?
 
So, using the Finder, get to where your rom zip file is.

Open Terminal Window and say the following but do not press enter yet:

adb (spacebar) sideload (spacebar)

And that's all.

Go to Finder, the Terminal Window should stay open.

Click and hold the rom zip file and drag it to the Terminal Window, let go when there. Just like using Android File Transfer but with the Terminal Window.

Now in Terminal Window, press enter.
 
And you might have to put the phone back into sideload mode for each try.

I'm not sure about that but it's probably the best way.

I notice that iowabowtech said probably not but with so many TWRP versions, I don't know how that works.

Always safe to go step by step.
 
It says...Updating partition details...Full Selinux is present. Starting adb sideload feature...

That's it. Nothing is happening.:(

Give it time, be very patient and don't do anything.

The copy is not going to be very fast.

Keep an eye on your phone for any messages.

If screen black, ok to just quickly tap power to wake it up. But just wait. :)
 
Give it time, be very patient and don't do anything.

The copy is not going to be very fast.

Keep an eye on your phone for any messages.

If screen black, ok to just quickly tap power to wake it up. But just wait. :)

How long before i see any movement?
 
How long before i see any movement?

How big is your rom file is part of the answer.

I wouldn't be surprised if this takes 3 times longer just for the copy compared to Android File Transfer.

And then it has to do the remote install.

You did have the phone back into sideload mode again after the first time didn't work?
 
How big is your rom file is part of the answer.

I wouldn't be surprised if this takes 3 times longer just for the copy compared to Android File Transfer.

And then it has to do the remote install.

You did have the phone back into sideload mode again after the first time didn't work?

I got an email in between the first and second tries. I think that i should cancel, and try again. Do i click and drag the rom.zip, or use the real rom's name when i put it into the terminal box?
 
I got an email in between the first and second tries. I think that i should cancel, and try again. Do i click and drag the rom.zip, or use the real rom's name when i put it into the terminal box?

The rom's real name right now is whatever the Finder says it is.

The original title is not sacred.

Please confirm that TWRP is confirming that it is in sideload mode before commanding from the Mac.
 
The rom's real name right now is whatever the Finder says it is.

The original title is not sacred.

Please confirm that TWRP is confirming that it is in sideload mode before commanding from the Mac.

Yes, it's in sideload mode, and i'll try again. Now, once i hit enter, should i see anything at all on the terminal?
 
Personally, I would just go to Choice 2.

Copy it to your phone:

adb push Downloads/rom.zip /sdcard

Verify that it is there.

Then just install it.

O.K. I'm trying sideload again. If there's no movement in 10 minutes, i'll try option two.:(
 
EarlyMon said:
adb push Downloads/rom.zip /sdcard

Highlight that line with your mouse.

Right click, copy.

New Terminal Window, right click, paste, and then enter.

If you didn't rename it again or move it from when we last talked, that should work just fine.

Do not be in sideload mode for adb push.

Then, install.
 
Back
Top Bottom