Android Central Sideload Wonder Machine v. 1.2

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
Read all of this. There may be a quiz.

Android Central Sideload Wonder Machine
The Android Central Sideload Wonder Machine (SWM) was designed to allow you to sideload applications to your Android device, without the need to install the Android SDK, or to use cumbersome command prompt commands. While specifically designed for phones where the ability to install from "Unknown Sources" has been disabled, this program will work with any Android device.

[note]This program only uses standard adb commands (Google approved) and isn't doing anything that will hurt your phone. It's also built using standard Windows tools and controls, and using the standard Windows api, so it isn't doing anything that will hurt your computer. It has been virus checked by Microsoft Security Essentials, with the latest definitions as of 04/11/2011.

That being said, if you use the Sideload Wonder Machine, it's at your own risk. Nobody is forcing it on you, and nobody is responsible for anything that happens. Especially me.

tl;dr -- Use at your own risk, but it really shouldn't be able to hurt anything.[/note]

What is 'sideloading'?
Sideloading refers to the practice of installing applications on your Android device that have not been downloaded from the official Android Market. Android developers may choose to have their application hosted elsewhere, and via a direct download and sideloading the applications can be used like any other application you have downloaded from the official Market. Normally, this can be done directly on the device, but this has been disabled on some Android phones.

Prerequisites:
  • An Android phone.
  • A computer running Microsoft Windows XP or later.
  • The Microsoft .Net 40 framework. Get that right here.
  • The USB driver from your device manufacturer.
[info]USB driver download links for popular devices:
[/info]
Setting up your phone
You will need to enable USB debugging in order for the SWM to communicate with your phone.

Open the development settings by pressing menu, then settings, applications, and finally development. Check the box marked USB debugging.

Installing the program

[tip]If you currently have the SWM installed, you'll need to uninstall it by renaming or removing the C:\AC_SWM folder. [/tip]

You now have two methods to install the Sideload Wonder Machine. There is an easy Windows installer, which places all the files just where they need to be, and creates a shortcut in your start menu and desktop. Download that version right here: SWM Installer

To use, simply run the downloaded file and the magic will happen.

There is also a standard zip file, which you can extract and place the AC_SWM folder in the root of your C:\ drive. Download that version right here: Zip file version


[warn]If you do not extract and copy the entire AC_SWM folder to the root of the C drive, the program will not work. And small children will point and laugh at you. [/warn]


The VS2010 source code is available here: AC_SWM 1.2 source

Usage

  • Plug your phone into a powered USB port on your computer, best to use ports on the back of computer. Using a hub may not work.
  • Ensure that your phone is set to "charge only" in the USB connections settings. See the documentation that came with your phone if you have any question.
  • Download an Android app to somewhere on your computer, like the desktop. Make sure this app is for the version of Android your phone is running.
  • Launch the SWM
  • When the program loads, click the button labeled "Choose APK". The standard Windows file chooser will open -- browse to the app you have downloaded, and click the "Open" button to choose it.
  • A small dialog will open to tell you the file is ready to install. Read it, and click "OK"
  • [tip]Now it's time to use your noggin. If the app you're installing is an update to something you already have installed on your phone, you need to check the box marked "Update existing app". If it's not, don't check it.[/tip]
  • Click the button marked "Install". Yes, it used to be disabled. You have to pick a file before you can use it.
  • A command line window will open. It may say things like "service not running". It's starting the parts we are using from the Android SDK to load your app. When it's done working, look and see what the output was. If there was an error, it will tell you (then you need to see the next section). If it doesn't tell you, there was no error.

Troubleshooting
The error messages the SWM returns are from the adb application, provided by Google. Sometimes they are helpful, sometimes not. So we added some troubleshooting functions to the app. Use them. Even if you can't fix what happened, you'll know what needs fixing. Then tell us, and we'll help you fix it.


Click to test USB driver status
When you click this button, the program launches the ADB program, and it looks to see if it can communicate with your phone. If it can it will tell you by displaying your phone's serial number. It doesn't matter what the number is, only if one is there. If it is, all is well. If one is not displayed, your phone isn't communicating with your computer. There's three reasons why this may be:
  • You did not turn USB debugging on
  • Your USB driver is not configured correctly
  • You have a hardware issue. Either you're not using a full powered primary USB port, the USB "subsystem" on your computer is malfunctioning, or your cable is bad
[tip]If you jump phones a lot, and have several manufacturers USB drivers installed, your USB ports can stop working. Always uninstall old Android hardware drivers. Especially if they are some sort of "Driver Suite" bloatware.[/tip]

Click to test file locations
This will open an command window, and run a small script that checks to see if the essential files exist. If they do not, (you guessed it) you'll get an error. This is done via a shell script versus programmaticly (is that a word?) so you can run this even if the program won't load. If you don't get any errors, all the tasty bits are where they are supposed to be.

Click here to flush the SWM cache
Chances are you should never be using this button. If you follow the directions to choose and install files, you won't ever need it. It cleans up the SWM's cache when you've tried to install a file with a bad signature, and didn't overwrite it properly using the "Choose APK" button. This doesn't happen to everybody who copies files the wrong way, but it happens enough it needed addressed, especially since users of some computers actually CAUSE a bad signature if they copy files manually.

If and when you click this button, a second warning box will pop up asking if you're sure. Read it, and choose wisely. If you do flush it all clean, one of three things will happen:
  • Nothing -- the window will disappear and you'll be back at the program. This means you really DID need to use it, and things work normally. you're good to go.
  • Nothing -- the window closes, you're back at the SWM, but nothing about it works. You DIDN'T need to use it, and as a penalty you'll have to restart your computer. I could tell you a way to get things working, but restarting is much easier, and fixes it all.
  • You get a crash dialog. You DIDN'T need to flush things, and you made the SWM cry. Choose to quit everything, and when you restart the SWM all will be well.

This not done via a shell script. It's a very nasty and not recommended way to destroy data forever, without asking for a second chance. There's no way to add error handling either, so I have to let the program crash if it wants to crash. If you don't understand any of this, please don't use this button unless someone else tells you to.

About, and getting help

In the program is an About button. Click that, read the gpl stuff if that matters to you. But be sure to click the links at the bottom and thank those folks. There's also some handy link buttons at the top.

The Help button is there, too. It tells you the same things I explain above, in case you forgot something. There's a link to the SWM page, which will always have a link to the current thread. That could be useful too.

Downloads
I'm a sneaky old cuss. The download links are plainly marked in the appropriate place in this post. You'll have to find them, by reading it. Told you there may be a quiz.
 
Last edited by a moderator:

ilmostro11

Member
Mar 15, 2011
8
2
0
Visit site
This new version works fine with my WIN 7 64 bit puter and ATT Inspire phone.
I think some clarification is needed when uninstalling the old version of the SWM.

"If you currently have the SWM installed, you'll need to uninstall it by renaming or removing the C:\AC_SWM folder."

My system wouldn't allow me to rename or remove that folder since the adb was running so I had to ctrl-alt-del and start the "task manager" then go to "processes" tab and right click the "adb" and "end process".

This then allows that folder to be renamed and/or removed.

Thanks,
Bryan
 
  • Like
Reactions: dave357

NykaN

New member
Apr 11, 2011
0
0
0
Visit site
I have a windows 7 and a Xperia X8. I've had the phone for a week, and I'm new to this stuff. When I try to install the .apk, I get an error saying "device not found". I have no idea what to do. Maybe I don't have a driver, but I don't know how to install them...
 

DroidXcon

Well-known member
Oct 21, 2010
11,102
3,392
0
Visit site
I have a windows 7 and a Xperia X8. I've had the phone for a week, and I'm new to this stuff. When I try to install the .apk, I get an error saying "device not found". I have no idea what to do. Maybe I don't have a driver, but I don't know how to install them...

first make sure your phone is in debugging mode
settings>applications>developemnt

if your phone still is not recognized then yes you have a driver issue
don't quote me but i think you may need to install PC companion,
Sony Ericsson - Support - Softwaredownloads - Xperia™ X8
 

dave9851

Well-known member
Nov 1, 2010
152
21
0
Visit site
How do we get these apks on our computer to sideload? For example, if I was using an adult app store, which installs apps directly on your phone, how do I get those apks on my computer to install using the sideloader?
 

ReuvenNY

Well-known member
Dec 19, 2008
164
0
0
Visit site
I have the old version and it works fine. Is there any reason I should replace it with the new version? What are the improvements?

Another question: I successfully installed Amazon Apps store and some Amazon apps with Sideload Wonder Machine . Now Amazon came with an update to their "market" app as well as some updates to apps I downloaded from them.
When I try to install those updates, I gen an error message telling me the app is already installed.
How do we deal with this?
 

DroidXcon

Well-known member
Oct 21, 2010
11,102
3,392
0
Visit site
I have the old version and it works fine. Is there any reason I should replace it with the new version? What are the improvements?

Another question: I successfully installed Amazon Apps store and some Amazon apps with Sideload Wonder Machine . Now Amazon came with an update to their "market" app as well as some updates to apps I downloaded from them.
When I try to install those updates, I gen an error message telling me the app is already installed.
How do we deal with this?
there is a box next to the install button , make sure its checked
 

atlasdc

Member
Jan 22, 2011
5
1
0
Visit site
I am new to this but first THANKS for the new version it now recognizes .apk's to load. My questions is , I get, 'adb' is not recognized as an internal or external command, when I click the Install button. Any help with this? Thanks
 

DroidXcon

Well-known member
Oct 21, 2010
11,102
3,392
0
Visit site
I am new to this but first THANKS for the new version it now recognizes .apk's to load. My questions is , I get, 'adb' is not recognized as an internal or external command, when I click the Install button. Any help with this? Thanks

are you running windows XP service pack 3 by any chance?
 
  • Like
Reactions: pcheena

Jerry Hildenbrand

Space Cowboy
Staff member
Oct 11, 2009
5,569
2,797
113
Visit site
Just fixed it.

If you're windows savvy enough to fix by hand:

Open C:\AC_SWM\loader.bat in notepad
line eleven says:
Code:
adb install C:\AC_SWM\payload\to_install.apk
Change that to:
Code:
C:\AC_SWM\adb install C:\AC_SWM\payload\to_install.apk

Open C:\AC_SWM\reloader.bat in notepad
line eleven says:
Code:
adb install -r C:\AC_SWM\payload\to_install.apk
Change that to:
Code:
C:\AC_SWM\adb install -r C:\AC_SWM\payload\to_install.apk

I referenced the wrong script folder when I built the installer.

If you don't feel comfortable changing those two lines by hand, I'll have a new package up in under an hour. You can just uninstall, and reinstall the new one.

EDIT: New (and correct) versions have been uploaded. The files in the first post are all good now. Apologies :p
 
  • Like
Reactions: ReuvenNY

NykaN

New member
Apr 11, 2011
0
0
0
Visit site
I installed the PC companion, and now I got something like:

*Daemon starting
Daemon started*

error: device not found

I have the debug setting activated, and I got the USB on charge.
 

DroidXcon

Well-known member
Oct 21, 2010
11,102
3,392
0
Visit site
I installed the PC companion, and now I got something like:

*Daemon starting
Daemon started*

error: device not found

I have the debug setting activated, and I got the USB on charge.

What phone. Do you have the proper drivers installed

Sent from my ADR6400L using Tapatalk
 

DroidXcon

Well-known member
Oct 21, 2010
11,102
3,392
0
Visit site
Sony Ericsson Xperia X8.
I think I have the proper drivers installed. As I said I installed the PC companion.

well its def a connection problem, check the cable, try a different usb cable and port , restart the phone try to reinstall companion, etc.... device not found is not a wonder machine specific error so its def the phone.

if you want to verify that hit the troubleshoot button and use the check drivers tool. if you dont see a serial number you are not connected
 
Last edited:

djsmom

Member
Feb 12, 2011
7
1
0
Visit site
Any reason why my Norton is finding a threat and removing the .exe file immediately after download? This is on my XP sp3 machine.

Thx