trying to adb sideload on a mac

Search This thread
Sep 9, 2009
11
1
After searching and searching and searching I need to post a few questions.

I "accidentally" wiped the internal storage on my HTC One, and I have been trying to side load a new rom for 3 hours with no luck at all.

I hit adb sideload in TWRP it just sits at starting adb side load feature... and does nothing.

On my mac I have ADB installed and it pops up as usual in a terminal window, but when I search for devices, it shows no devices found.

Any suggestions other than to search the forums, because I have had no luck.
 

xcrazydx

Senior Member
Feb 3, 2012
6,319
2,123
Hopefully this thread can be moved then.

Yes, I have the phone in recovery when searching.

that is really all I can do with the phone currently is boot to recovery.

I'm not familiar with Mac and what you need. Did adb work before on that Mac with your HTC one?

Sent from my HTC One using Tapatalk 4
 
Sep 9, 2009
11
1
I'm not familiar with Mac and what you need. Did adb work before on that Mac with your HTC one?

Sent from my HTC One using Tapatalk 4

I finally figured it out, and I can't tell you why this worked.

As I said I could not do anything with my device other than boot into recovery. So I started looking everywhere in TWRP in and out of the different menus, and for some reason decided to wipe the system again.

After I wiped the system again I connected my device to my mac, and punched a couple commands. Next thing I know I hit enter with my fingers crossed, and my serial number pops up.

after that happened I was able to side load a ROM, and I am now currently back up and running slightly ashamed, and fully aware never to check the system button on a device without an external SD slot.
 

xcrazydx

Senior Member
Feb 3, 2012
6,319
2,123
I finally figured it out, and I can't tell you why this worked.

As I said I could not do anything with my device other than boot into recovery. So I started looking everywhere in TWRP in and out of the different menus, and for some reason decided to wipe the system again.

After I wiped the system again I connected my device to my mac, and punched a couple commands. Next thing I know I hit enter with my fingers crossed, and my serial number pops up.

after that happened I was able to side load a ROM, and I am now currently back up and running slightly ashamed, and fully aware never to check the system button on a device without an external SD slot.

Glad it worked, I don't use Mac so I didn't know what all was needed to run adb or if you had it working previous to the wipe.

Sent from my HTC One using Tapatalk 4
 

nseriessaga

Senior Member
Dec 16, 2008
112
22
After searching and searching and searching I need to post a few questions.

I "accidentally" wiped the internal storage on my HTC One, and I have been trying to side load a new rom for 3 hours with no luck at all.

I hit adb sideload in TWRP it just sits at starting adb side load feature... and does nothing.

On my mac I have ADB installed and it pops up as usual in a terminal window, but when I search for devices, it shows no devices found.

Any suggestions other than to search the forums, because I have had no luck.

I doubt you will ever wipe your internals again after this experience, but its always good to have an OTG cable that you can buy online for like $3.. You can install from usb flash using this cable in twrp recovery like its an external sd card. Its also useful for other simple transfer type of work.
 

sns3j

New member
Oct 31, 2013
1
0
Help me

I finally figured it out, and I can't tell you why this worked.

As I said I could not do anything with my device other than boot into recovery. So I started looking everywhere in TWRP in and out of the different menus, and for some reason decided to wipe the system again.

After I wiped the system again I connected my device to my mac, and punched a couple commands. Next thing I know I hit enter with my fingers crossed, and my serial number pops up.

after that happened I was able to side load a ROM, and I am now currently back up and running slightly ashamed, and fully aware never to check the system button on a device without an external SD slot.

Hey man, I am on the same boat right now. Can you please tell me the exact steps you took to recover?

I am fairly new at this and kinda freaking out.

Thanks.
 

Danvid113

Senior Member
Dec 6, 2013
57
24
Good news, I just managed to do it!

So here is how it goes on Mac OS X (I personally use 10.7.5.).

Before you begin with your computer:
- go into recovery
- advanced
- reboot into recovery

If it reboots straightaway, you're ready to go. But it might wait, and offer you to root your phone. Do that, otherwise it won't work!
I would also restart the computer, just for a clean start. I also wiped my phone once again (factory reset).


On your Mac:
- make sure your rom (*.zip) is inside the platform-tools folder (this is inside the android sdk, where adb is)
- your phone should be disconnected and in recovery mode

1. open Terminal
2. type: cd (press space)
3. pull the platform-tools folder onto the terminal, press enter (this is here: /android/sdk/platform-tools)
4. type: ./adb kill-server (enter)
5. type: ./adb usb (enter) -> now it should say that "error: device not found"
6. connect your phone to the computer with the usb
7. type: ./adb devices -> it should show your phone, recovery mode
8. in your phone enter sideload mode (either in advanced, or in install zip option)
9. type: ./adb devices -> check if your phone is connected in sideload mode
10. type: ./adb sideload + <full name of the rom, including .zip, without brackets>

It should work, for me everything went perfectly.
Press thanks if it helped! Good luck :good:

*edit: Don't forget to logout in the end (just type logout and hit enter)
If the Terminal keeps saying that daemon can't be started, restart the computer and it should work.
 
Last edited:

lankyboy29

Senior Member
Dec 21, 2012
86
5
baton rouge
Good news, I just managed to do it!

So here is how it goes on Mac OS X (I personally use 10.7.5.).

Before you begin with your computer:
- go into recovery
- advanced
- reboot into recovery

If it reboots straightaway, you're ready to go. But it might wait, and offer you to root your phone. Do that, otherwise it won't work!
I would also restart the computer, just for a clean start. I also wiped my phone once again (factory reset).


On your Mac:
- make sure your rom (*.zip) is inside the platform-tools folder (this is inside the android sdk, where adb is)
- your phone should be disconnected and in recovery mode

1. open Terminal
2. type: cd (press space)
3. pull the platform-tools folder onto the terminal, press enter (this is here: /android/sdk/platform-tools)
4. type: ./adb kill-server (enter)
5. type: ./adb usb (enter) -> now it should say that "error: device not found"
6. connect your phone to the computer with the usb
7. type: ./adb devices -> it should show your phone, recovery mode
8. in your phone enter sideload mode (either in advanced, or in install zip option)
9. type: ./adb devices -> check if your phone is connected in sideload mode
10. type: ./adb sideload + <full name of the rom, including .zip, without brackets>

It should work, for me everything went perfectly.
Press thanks if it helped! Good luck :good:

*edit: Don't forget to logout in the end (just type logout and hit enter)
If the Terminal keeps saying that daemon can't be started, restart the computer and it should work.

PHP:
Having same problem.  Did you have to install eclipse or can i just install sdk?
 

lankyboy29

Senior Member
Dec 21, 2012
86
5
baton rouge
Just the sdk. At least for me it worked ok

PHP:
ok i got through the side load steps.  I did the side load yet on my phone it does nothing while in side load mode that is. Does it supposed to say anything once I side load the .zip or do I just hit cancel after and reboot.
Thanks.


---------- Post added at 01:52 PM ---------- Previous post was at 01:39 PM ----------

Do you know what mount does? because only data and cache were selected. do i need system checked as well?
 

Danvid113

Senior Member
Dec 6, 2013
57
24
ok i got through the side load steps. I did the side load yet on my phone it does nothing while in side load mode that is. Does it supposed to say anything once I side load the .zip or do I just hit cancel after and reboot.
Thanks.

ok, so what should happen is that your computer shows that it is transferred. After it is done, your phone should install the program. Sometimes it doesn't show anything for me. These times i just wait until something happens, if still nothing either hit cancel or back. It worked for me every time; if you still have problems, you should upload a video of the whole procedure, so I can have some idea of what is going wrong (send a youtube link in pm)
 

vance74

Senior Member
Nov 20, 2012
347
67
Toronto
Good news, I just managed to do it!

So here is how it goes on Mac OS X (I personally use 10.7.5.).

Before you begin with your computer:
- go into recovery
- advanced
- reboot into recovery

If it reboots straightaway, you're ready to go. But it might wait, and offer you to root your phone. Do that, otherwise it won't work!
I would also restart the computer, just for a clean start. I also wiped my phone once again (factory reset).


On your Mac:
- make sure your rom (*.zip) is inside the platform-tools folder (this is inside the android sdk, where adb is)
- your phone should be disconnected and in recovery mode

1. open Terminal
2. type: cd (press space)
3. pull the platform-tools folder onto the terminal, press enter (this is here: /android/sdk/platform-tools)
4. type: ./adb kill-server (enter)
5. type: ./adb usb (enter) -> now it should say that "error: device not found"
6. connect your phone to the computer with the usb
7. type: ./adb devices -> it should show your phone, recovery mode
8. in your phone enter sideload mode (either in advanced, or in install zip option)
9. type: ./adb devices -> check if your phone is connected in sideload mode
10. type: ./adb sideload + <full name of the rom, including .zip, without brackets>

It should work, for me everything went perfectly.
Press thanks if it helped! Good luck :good:

*edit: Don't forget to logout in the end (just type logout and hit enter)
If the Terminal keeps saying that daemon can't be started, restart the computer and it should work.

Thank you so much for this ,,i tried everything with no success. This worked for me.You are the best. Im bookmarking this so if it happens again. Bang I know where to look.
 
Sep 6, 2008
17
1
SFO
I'm also using Mac (10.9.x) and had the same problem - accidentally wiped my HTC One sdcard and had no ROM, nothing and sideload didn't work (when I give the adb sideload command in terminal, it exits within a few secs and nothing changes on the phone).
The quickest solution for me was to just stay in TWRP with USB connected and....
1) Manually copy the ROM binary in terminal ie. :
adb push <path_to_ROM> /sdcard/

2) After above completes, in TWRP, just select "Install zip from sdcard" and select the file copied above from /sdcard/
 
  • Like
Reactions: jayehwhy

dawndesman

New member
Sep 2, 2015
2
0
Your description worked for me. Thanks you!
But I also had issues with adb . If anyone ever looking for a solution go to stackoverflow and search "Installing ADB on MAC OS X"
and then apply Danvid113s solution.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Good news, I just managed to do it!

    So here is how it goes on Mac OS X (I personally use 10.7.5.).

    Before you begin with your computer:
    - go into recovery
    - advanced
    - reboot into recovery

    If it reboots straightaway, you're ready to go. But it might wait, and offer you to root your phone. Do that, otherwise it won't work!
    I would also restart the computer, just for a clean start. I also wiped my phone once again (factory reset).


    On your Mac:
    - make sure your rom (*.zip) is inside the platform-tools folder (this is inside the android sdk, where adb is)
    - your phone should be disconnected and in recovery mode

    1. open Terminal
    2. type: cd (press space)
    3. pull the platform-tools folder onto the terminal, press enter (this is here: /android/sdk/platform-tools)
    4. type: ./adb kill-server (enter)
    5. type: ./adb usb (enter) -> now it should say that "error: device not found"
    6. connect your phone to the computer with the usb
    7. type: ./adb devices -> it should show your phone, recovery mode
    8. in your phone enter sideload mode (either in advanced, or in install zip option)
    9. type: ./adb devices -> check if your phone is connected in sideload mode
    10. type: ./adb sideload + <full name of the rom, including .zip, without brackets>

    It should work, for me everything went perfectly.
    Press thanks if it helped! Good luck :good:

    *edit: Don't forget to logout in the end (just type logout and hit enter)
    If the Terminal keeps saying that daemon can't be started, restart the computer and it should work.
    1
    I'm also using Mac (10.9.x) and had the same problem - accidentally wiped my HTC One sdcard and had no ROM, nothing and sideload didn't work (when I give the adb sideload command in terminal, it exits within a few secs and nothing changes on the phone).
    The quickest solution for me was to just stay in TWRP with USB connected and....
    1) Manually copy the ROM binary in terminal ie. :
    adb push <path_to_ROM> /sdcard/

    2) After above completes, in TWRP, just select "Install zip from sdcard" and select the file copied above from /sdcard/