Sideload Wonder Machine

paolibulldog

New member
Oct 21, 2010
1
3
0
Visit site
I kept getting that error message "'loader.bat' is not recognized as an internal or external command, operable program or batch file." I found that by navigating within that DOS box back to the folder containing AC-SWM and then running loader.bat, everything works. Ir's a path issue, I guess.
 

demp_D-1417

Active member
Mar 2, 2010
29
0
0
Visit site
I created a folder in my documents and named it "Captivate" and this where I have the sideloading machine and any .apk files that I download. I haven't had any problems since doing this.
 

webdk4life

New member
Oct 24, 2010
1
0
0
Visit site
Amazing reply.. thank you.. fixed my problem

OK. I'm usually pretty good at this stuff, but this was stumping me for WAY TOO LONG and I thought my explanation below might help other folks having similar issues. (And FWIW, I HATE ATT for crippling my phone before I even got my hands on it!)

I'm running 32-bit WinXP SP3 on an Intel-core processor. I have the correct drivers installed for my Samsung Captivate. I installed the drivers from Samsung's Software page (The driver is called "SGH-i897_Captivate_USB_Drivers_5_02_0_2.zip".) With this, my phone appears in Device Manager as "ADB Interface > SAMSUNG Android Composite ADB Interface". I am able to connect my phone and once I mount my phone, I can move items via Mass Storage just fine. It does mount 2 drives (which looks like one is for the internal memory and one is for the SD card.) Everything appears A-OK here.

I was trying to sideload "Trillian.apk" with SWM. I was having all sorts of issues with the AndroidCentral Sideload Wonder Machine directory path and location of my selected *.apk. I figured out the workarounds, and managed to get my device ID number detected. When everything looked like it going to install A-OK, SWM would then crap out and give me an error about
Code:
pkg: payload\to_install.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

Given the error and the fact that I knew I had plenty of internal and external memory free, something else had to be the problem. A little trial-and-error ensued. Let me describe what I was doing WRONG (at the end, I tell you what worked CORRECTLY):
  1. I downloaded "AC-SWM-v1.0.zip" and extracted the files to my desktop (path "C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM").
  2. I setup my phone with the following settings:
    [*]Applications > USB Settings > Mass storage
    [*]Applications > Development > USB debugging​
  3. I plugged in my phone via the USB cable. Phone was detected and connected.
  4. On my phone, I opted to "Select to copy files to/from your computer" which in turn prompts me to mount my phone. This causes my windows computer to open two explorer windows for both the internal memory and SD card. Looked like so far, so good.
  5. I then double-click on "AndroidCentral-SWN.exe"
  6. I followed the YouTube instructions to select the "Trillian.apk" file (located on my desktop at C:\Documents and Settings\Main User\Desktop\). This resulted in the following error in SWM:
    Code:
    'loader.bat' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Documents and Settings\Main User\Desktop>
    I sensed a problem in the path for the loader.bat program, so I moved the "Trillian.apk" file into the payload folder (at "C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM\payload\") thinking that was where it needed to go. (Which was close, but not quite right as you can see in the output below.)

Code:
'loader.bat' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM\payload>cd ..

C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM>loader.bat
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Android Central Sideload Wonder Machine v. 1.1
Make sure your phone is plugged in, and
USB debugging is enabled on your phone
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

List of devices attached
I89786099b38    device

You should see the serial number of your Android
phone above. If so, continue.  If not, make sure
you have installed the USB driver for your phone,
and make sure that USB debugging is enabled.

Press any key to continue . . .
Installing application

1147 KB/s (0 bytes in 1065198.000s)
        pkg: payload\to_install.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

If you do not see an error, everything was
successful.  After exiting the program,
you may unplug your Android phone and
your application should be installed.
You will now be returned to the Android
Central Sideload Wonder Machine and can
install another app if you wish.
Press any key to continue . . .

Despite the error indicating a problem with memory, it was actually an issue with location of the *.apk file to be installed. To make AndroidCentral Sideload Wonder Machine work correctly on my computer and with my phone, ALL of my *.apk files MUST go into the same folder as the SWM files (at C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM"). Doing this small, simple thing made it so the the loader.bat (and everything else) would work perfectly. What I now (and hopefully hereafter) received on-screen after this simple change was:

Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Android Central Sideload Wonder Machine v. 1.1
Make sure your phone is plugged in, and
USB debugging is enabled on your phone
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

List of devices attached
I89786099b38    device

You should see the serial number of your Android
phone above. If so, continue.  If not, make sure
you have installed the USB driver for your phone,
and make sure that USB debugging is enabled.

Press any key to continue . . .
Installing application

1305 KB/s (0 bytes in 1065198.000s)
        pkg: /data/local/tmp/to_install.apk
Success

If you do not see an error, everything was
successful.  After exiting the program,
you may unplug your Android phone and
your application should be installed.
You will now be returned to the Android
Central Sideload Wonder Machine and can
install another app if you wish.
Press any key to continue . . .

I hope this will help others struggling with this. (Good luck!)
 

SwampDawg

New member
Nov 2, 2010
2
0
0
www.epochphotonow.biz
I appreciate you posting this. Been wrestling with this issue for a couple days now. Got the Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE] message to go away but now it appears to just hang while install the app. My setup passes the diags. *shrug* Guess I will just keep chuggin away until I get it.

Thanx again,

Dawg
 

AmsDiane

New member
Oct 7, 2010
4
5
0
amsdiane.blogspot.com
I'm glad I could help!

AmsDiane - thanks. You should be a professional technical writer or trainer, if you aren't already. It's clearly your forte.

Thanks, I actually have an English degree in Technical Writing and was a Java/C++ programmer during that same time. Since then (which was many years ago) I have been leading technology training, documentation, and Strategic Initiatives and Planning at Universities. I love learning about pedagogy and technology and I recently decided to go back to school for a Ph.D. combining those ... which means I have some time to actually comment on Forums now and then. :)

Consider my posts as payback to the community, because almost everything I've learned (that is not school-related) about how to do/fix something was from reading forums or watching YouTube. I'm glad if can do the same for others!

Sincerely,
Amber D. Evans (AmsDiane)
 
Last edited:

SwampDawg

New member
Nov 2, 2010
2
0
0
www.epochphotonow.biz
Woooo Hoooooo!!!! Finally got it! Reread your post and decided to check and make sure mass storage was selected. It wasn't. Selected, ran again. Installed my app like a champ. Once again, thank you so much for posting this information.

Dawg
 

myk26

Well-known member
Oct 22, 2010
68
0
0
Visit site
Consider my posts as payback to the community, because almost everything I've learned (that is not school-related) about how to do/fix something was from reading forums or watching YouTube. I'm glad if can do the same for others!

Sincerely,
Amber D. Evans (AmsDiane)

I know exactly what you mean Ams!

And I just wanted to be another to thank you for spelling it out in such a great way like you did.

It's people like you that will keep me coming back here knowing that this place has the knowledge and background to show me a few things.
 

mrgodlike

New member
Jul 1, 2011
3
0
0
Visit site
Re: Stuck on "Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]" but

OK. I'm usually pretty good at this stuff, but this was stumping me for WAY TOO LONG and I thought my explanation below might help other folks having similar issues. (And FWIW, I HATE ATT for crippling my phone before I even got my hands on it!)

I'm running 32-bit WinXP SP3 on an Intel-core processor. I have the correct drivers installed for my Samsung Captivate. I installed the drivers from Samsung's Software page (The driver is called "SGH-i897_Captivate_USB_Drivers_5_02_0_2.zip".) With this, my phone appears in Device Manager as "ADB Interface > SAMSUNG Android Composite ADB Interface". I am able to connect my phone and once I mount my phone, I can move items via Mass Storage just fine. It does mount 2 drives (which looks like one is for the internal memory and one is for the SD card.) Everything appears A-OK here.

I was trying to sideload "Trillian.apk" with SWM. I was having all sorts of issues with the AndroidCentral Sideload Wonder Machine directory path and location of my selected *.apk. I figured out the workarounds, and managed to get my device ID number detected. When everything looked like it going to install A-OK, SWM would then crap out and give me an error about
Code:
pkg: payload\to_install.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

Given the error and the fact that I knew I had plenty of internal and external memory free, something else had to be the problem. A little trial-and-error ensued. Let me describe what I was doing WRONG (at the end, I tell you what worked CORRECTLY):
  1. I downloaded "AC-SWM-v1.0.zip" and extracted the files to my desktop (path "C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM").
  2. I setup my phone with the following settings:
    [*]Applications > USB Settings > Mass storage
    [*]Applications > Development > USB debugging​
  3. I plugged in my phone via the USB cable. Phone was detected and connected.
  4. On my phone, I opted to "Select to copy files to/from your computer" which in turn prompts me to mount my phone. This causes my windows computer to open two explorer windows for both the internal memory and SD card. Looked like so far, so good.
  5. I then double-click on "AndroidCentral-SWN.exe"
  6. I followed the YouTube instructions to select the "Trillian.apk" file (located on my desktop at C:\Documents and Settings\Main User\Desktop\). This resulted in the following error in SWM:
    Code:
    'loader.bat' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Documents and Settings\Main User\Desktop>
    I sensed a problem in the path for the loader.bat program, so I moved the "Trillian.apk" file into the payload folder (at "C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM\payload\") thinking that was where it needed to go. (Which was close, but not quite right as you can see in the output below.)

Code:
'loader.bat' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM\payload>cd ..

C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM>loader.bat
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Android Central Sideload Wonder Machine v. 1.1
Make sure your phone is plugged in, and
USB debugging is enabled on your phone
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

List of devices attached
I89786099b38    device

You should see the serial number of your Android
phone above. If so, continue.  If not, make sure
you have installed the USB driver for your phone,
and make sure that USB debugging is enabled.

Press any key to continue . . .
Installing application

1147 KB/s (0 bytes in 1065198.000s)
        pkg: payload\to_install.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

If you do not see an error, everything was
successful.  After exiting the program,
you may unplug your Android phone and
your application should be installed.
You will now be returned to the Android
Central Sideload Wonder Machine and can
install another app if you wish.
Press any key to continue . . .

Despite the error indicating a problem with memory, it was actually an issue with location of the *.apk file to be installed. To make AndroidCentral Sideload Wonder Machine work correctly on my computer and with my phone, ALL of my *.apk files MUST go into the same folder as the SWM files (at C:\Documents and Settings\Main User\Desktop\AC-SWM-v1.0\AC-SWM"). Doing this small, simple thing made it so the the loader.bat (and everything else) would work perfectly. What I now (and hopefully hereafter) received on-screen after this simple change was:

Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Android Central Sideload Wonder Machine v. 1.1
Make sure your phone is plugged in, and
USB debugging is enabled on your phone
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

List of devices attached
I89786099b38    device

You should see the serial number of your Android
phone above. If so, continue.  If not, make sure
you have installed the USB driver for your phone,
and make sure that USB debugging is enabled.

Press any key to continue . . .
Installing application

1305 KB/s (0 bytes in 1065198.000s)
        pkg: /data/local/tmp/to_install.apk
Success

If you do not see an error, everything was
successful.  After exiting the program,
you may unplug your Android phone and
your application should be installed.
You will now be returned to the Android
Central Sideload Wonder Machine and can
install another app if you wish.
Press any key to continue . . .

I hope this will help others struggling with this. (Good luck!)
I had to copy the whole folder directly to my c drive and access it from there to work. Try that if your still not able to run the poot.
 

Forum statistics

Threads
943,149
Messages
6,917,527
Members
3,158,850
Latest member
kerokekerol