Go Back   Android Forums > Android Discussion > Android Lounge
Android Lounge A place for general Android discussion and questions.

test: Reply
 
LinkBack Thread Tools
Old September 8th, 2011, 07:27 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default How to configure 100's of androids automatically.

Hi,

I am about to assist in deploying a large amount of android device. The requirement is, that the devices (700+) need to be charged, configured and provisioned with the relevant applications for the end-users before delivery.

Device info:
Android 2.3.3
Samsung Galaxy SII

This is not windows mobile, so I am unsure if I can code/design a solution to avoid this enormous manual task.

Is it possible to code something for an sd-card that will be automatically triggered on insertion (as on WM)? This would then provision the device etc.

Is it possible to bypass the initial prompts - To my knowledge you will be prompted for entering the info for your google accounts?

If above is not possible, do I then need to create 700+ google accounts?

Hope someone can help

Brgds

Advertisements
odaugaard is offline  
Reply With Quote
sponsored links
Old September 8th, 2011, 07:41 AM   #2 (permalink)
B2L
Senior Member
 
B2L's Avatar
 
Join Date: Jan 2011
Location: Salt Lake City, UT
Posts: 1,835
 
Device(s): Galaxy S4, Galaxy Note
Carrier: Sprint

Thanks: 1,243
Thanked 662 Times in 440 Posts
Default

Welcome to AF! Personally I'm unsure of a way to configure multiple Android devices at the same time. I did quite a bit of searching around, and have found nothing that will do this. :/ I'll keep looking around, hopefully another user will have the answer you're looking for.
B2L is offline  
Reply With Quote
Old September 8th, 2011, 07:48 AM   #3 (permalink)
Senior Member
 
Join Date: Feb 2011
Posts: 2,925
 
Device(s):
Carrier: Not Provided

Thanks: 486
Thanked 1,870 Times in 1,300 Posts
Default

Make an update.zip for apps .Copy on SD card .Boot in recovery . Apply update.zip.
Tresezk is offline  
Reply With Quote
Old September 8th, 2011, 08:14 AM   #4 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by karandpr View Post
Make an update.zip for apps .Copy on SD card .Boot in recovery . Apply update.zip.
Can you direct me as to where I should look for guidance to make this update.zip? (I am new to Android)

Furthermore, we have looked at a protocol used for communication between computer and the device. Maybe it would be possible to biuld a program that can connect and configure devices on a network. As using an USB active sync connection or via WLAN. Any thoughts on this?

Thanks:-)
odaugaard is offline  
Reply With Quote
Old September 8th, 2011, 08:19 AM   #5 (permalink)
Hiding behind a mystery
 
Roze's Avatar
 
Join Date: Jan 2010
Location: Where the Sakura grows
Posts: 9,847
 
Device(s): Moto Atrix [lovin'] Nexus One [Lost] LG Vu [Lost]
Carrier: Not Provided

Thanks: 809
Thanked 2,192 Times in 1,489 Posts
Default

Wow...700+ Android devices eh? O.O

Quote:
Originally Posted by odaugaard View Post

Is it possible to bypass the initial prompts - To my knowledge you will be prompted for entering the info for your google accounts?
Yes, you can use your phone without a Google account but that will limit you as you will be unable to access the market.
Quote:
Originally Posted by karandpr View Post
Make an update.zip for apps .Copy on SD card .Boot in recovery . Apply update.zip.
Don't you need to root for this?
__________________
Sign up with Dropbox using my referral and get an additional 1/2GB on top of the 2GB you get for signing up http://db.tt/YbULMZX

Many thanks,
Roze
Roze is offline  
Last edited by Roze; September 8th, 2011 at 08:22 AM.
Reply With Quote
Old September 8th, 2011, 09:05 AM   #6 (permalink)
Senior Member
 
Crashdamage's Avatar
 
Join Date: Feb 2011
Location: Kansas City, Mo.
Posts: 2,636
 
Device(s): Started with the original G1, currently Nexus 4, Nexus 5, Nexus 7
Carrier: T-Mobile, Google Fiber Internet

Thanks: 1,922
Thanked 649 Times in 526 Posts
Default

The suggestion to create an 'update.zip' or 'config.zip' file sounds about right and would not require root access. May even be possible to include automatic creation of Google accounts.

Try going to:
forum.xda-developers.com
and posting your question in the appropriate section there. Many active, experienced Android developers there who should be able to help. Some may even have prior experience in a multiple deployment like this.
__________________
Registered Linux user #266531 since 2001. Android user since v1.0.
Crashdamage is offline  
Last edited by Crashdamage; September 8th, 2011 at 09:17 AM.
Reply With Quote
The Following User Says Thank You to Crashdamage For This Useful Post:
Roze (September 8th, 2011)
Old September 8th, 2011, 09:21 AM   #7 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Already did: [Q] How to configure and deploy a large scale android installation (2.3.3.) - xda-developers

odaugaard is offline  
Reply With Quote
Old September 8th, 2011, 10:01 AM   #8 (permalink)
Senior Member
 
Join Date: Feb 2011
Posts: 2,925
 
Device(s):
Carrier: Not Provided

Thanks: 486
Thanked 1,870 Times in 1,300 Posts
Default

Quote:
Originally Posted by odaugaard View Post
Can you direct me as to where I should look for guidance to make this update.zip? (I am new to Android)

Furthermore, we have looked at a protocol used for communication between computer and the device. Maybe it would be possible to biuld a program that can connect and configure devices on a network. As using an USB active sync connection or via WLAN. Any thoughts on this?

Thanks:-)
There are blank update.zip's available .
You will need to create a folder structure first
for apps I think you will require
/system/app
/system/lib
/data/app
system apps will be locked to device .Data apps can be uninstalled .libs are required by some apps to run
After placing the relevant files you will need to create a relevant unix script.
x-x-x-x-x-x-x-x-x-x--x-x-x-x-x-x-x-x--x-x-x-x-
Another method I use is a fairly simple one
  • install android sdk on a computer
  • create the list of apps in notepad
  • add adb install in front of each apk
  • save the file as a batch script like a.bat
  • Connect a phone
  • Run the script .
voila
mass app install in seconds or minutes
e.g
Lets say I have 1.apk ,2.apk , 3.apk,4.apk in folder C:\apps,which I want to install on phone

my notepad install.bat file should look like

echo it begins
adb wait-for-device
adb install C:\apps\1.apk
adb install C:\apps\2.apk
adb install C:\apps\3.apk
adb install C:\apps\4.apk
echo it ends

adb wait-for-device waits for usb connection .I
This will actually install apps rapidly .(I have my backup script of 45 test apps)
It's same for linux except it will be a bash script

Now connect a device
Run install.bat


Done .One click customisation.

And the most important thing use this method only on legitimate apks .
This method shouldn't be used to evade licensed apps or warez .
Tresezk is offline  
Last edited by Tresezk; September 8th, 2011 at 10:36 AM.
Reply With Quote
The Following 6 Users Say Thank You to Tresezk For This Useful Post:
Crashdamage (September 9th, 2011), El Presidente (September 8th, 2011), Haggistech (September 8th, 2011), lunatic59 (February 14th, 2012), Roze (September 8th, 2011), Unforgiven (January 28th, 2012)
Old September 8th, 2011, 10:13 AM   #9 (permalink)
Hiding behind a mystery
 
Roze's Avatar
 
Join Date: Jan 2010
Location: Where the Sakura grows
Posts: 9,847
 
Device(s): Moto Atrix [lovin'] Nexus One [Lost] LG Vu [Lost]
Carrier: Not Provided

Thanks: 809
Thanked 2,192 Times in 1,489 Posts
Default

Great step by step Karandpr <3

Quote:
Originally Posted by karandpr View Post

And the most important thing use this method only on legitimate apks .
This method shouldn't be used to evade licensed apps or warez .
^--*puts lots of emphasis on this

Please support our beloved developers. Without them, Android wouldn't be where Android is today
Roze is offline  
Reply With Quote
Old September 9th, 2011, 02:48 AM   #10 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

@Karandpr

Thank you so very very much! This is definitely the direction I was aiming for. I will start fetching the SDK and start testing it.

This is like an enterprise implementation, so there will absolutely positively be no evading of licensing etc. This is basically because the end-users need the device for work, but they might not even know what the Android market is. Thus it is a requirement that the Android phones are delivered with everything installed.

Question 1: Would it be possible to connect multiple devices and deploy via ADB connection. Via like a USB hub ?

Question 2: It might be obvious, but I just need to make sure. Does this method bypass the google account registration?

Thanks again:-)
odaugaard is offline  
Reply With Quote
sponsored links
Old September 9th, 2011, 07:01 AM   #11 (permalink)
Senior Member
 
Join Date: Feb 2011
Posts: 2,925
 
Device(s):
Carrier: Not Provided

Thanks: 486
Thanked 1,870 Times in 1,300 Posts
Default

Answer for question 2.

Yes it totally bypasses the need for market account .
You install .apk files directly like an installer file (But quicker )
Some developers Have their .apks available for download on their website or you can contact them individually for .apk file .
Open source .apks are usually freely available .
By installing .apk you are agreeing to their terms and conditions and you have provided permissions relevant to each app installed .
Or .apk is obtained when you backup a certain app after installing it from market with a File Explorer like ES File explorer/Filexpert/Super manager.
You will still need to contact the author for his rules regarding mass install .

It's wise to read about permissions before your mass deployment
Here is alostpackets' quick guide to permissions
http://androidforums.com/android-applications/36936-how-safe-find-trusted-apps-avoid-viruses-guide-those-new-android.html

Answer Question 1 :
No and yes
adb install can only work on one device at one time .
In fact if you say connect three devices at once ,you will get a multiple device error .
Then you will have to specify the target device and use
adb -s <serialNumber> install

But you can automate the process by looping and some clever scripting .
adb devices gives you the devices attached to the Hub
e.g .
say you have three devices attached to hub
adb devices will give you

I91002152652562 device
I91002152652563 device
I91002152652564 device

now make the script so that the commands are directly automated to
adb -s I91002152652562 install C:\apps\1.apk
.....
adb -s I91002152652562 install C:\apps\11.apk
echo 1 over 2 next
adb -s I91002152652563 install C:\apps\1.apk
....
adb -s I91002152652563 install C:\apps\11.apk
echo 2 over 3 next
adb -s I91002152652564 install C:\apps\11.apk
....
adb -s I91002152652564 install C:\apps\1.apk
echo 3 over


It actually depends on how much imagination you will use while scripting .
Tresezk is offline  
Reply With Quote
The Following 3 Users Say Thank You to Tresezk For This Useful Post:
Crashdamage (September 9th, 2011), odaugaard (September 13th, 2011), Roze (September 9th, 2011)
Old September 13th, 2011, 03:45 AM   #12 (permalink)
New Member
Thread Author (OP)
 
Join Date: Sep 2011
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Again you've been very helpful. Thanks
odaugaard is offline  
Reply With Quote
Old January 28th, 2012, 09:10 AM   #13 (permalink)
Junior Member
 
Join Date: Feb 2011
Location: Central Illinois
Posts: 76
 
Device(s): VM Optimus Elite, Ting Mach, Ting SG3
Carrier: Not Provided

Thanks: 25
Thanked 10 Times in 9 Posts
Default

Cross post from XDA for those that don't frequent there:
Similar situation here and am fielding any suggestions or ideas if things have changed in the last several months regarding deployment.

Scenerio:
Deploying approx 200 Asus Transformers in an educational setting

Wish List:
Setup all units using the same Google account, populate static name on the lockscreen, install 3 specific apps on each and the ability to identify each one individually on the market for individual app install by an "administrator".

Currently we are doing each unit manually and then having to wait a few minutes for the Market to populate the new unit and then changing the nickname to the bldg/room number. If we don't wait for the Market to refresh for the new device they will all show as Asus Transformer TF101 and obviously we will not know which device to send specific apps to when they are requested.

There just has to be a better way! I checked out SureMDM and it has a lot of features that we really don't need and it doesn't appear to accomplish what we do need.

Any suggestions or comments would be greatly appreciated!
atraum is offline  
Reply With Quote
Old January 28th, 2012, 09:36 AM   #14 (permalink)
=Luceat Lux Vestra=
 
Frisco's Avatar
 
Join Date: Jan 2010
Gender: Male
Posts: 22,490
 
Device(s): Samsung Galaxy S5, Galaxy Tab 7" 2
Carrier: Verizon

Thanks: 7,156
Thanked 9,265 Times in 5,119 Posts
Default

Hmmm... hoping you'll get some informed responses to that, atraum. I'm wondering if Google Support has seen queries about deploying multiple devices with the same account.

Contact Google
__________________



Frisco is offline  
Reply With Quote
Old June 22nd, 2012, 09:45 AM   #15 (permalink)
New Member
 
Weaksid's Avatar
 
Join Date: Jun 2012
Location: Altoona, PA - USA
Posts: 11
 
Device(s): Droid X 1st Gen, Motorola XYBoard 10.1
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default

I'm currently looking too for a good solution for mass droid roll outs. I work for a school district and it's a Apple Vs Droid thing right now and Droids aren't rolling out too well. iPads are taking over and they are hitting big for Special Education and administration is sneaking in even in the elementary level. Two of our techs have already gone to several Apple trainings and they came back with so much they can do with the iPads. Now my job since I'm a droid person is to see if I can do the same thing or do it better with the droid. I didn't want to make a separate thread since this thread deals with one of my issues.

Apple has two tools called, Apple Configurator and MDM. They will push down configurations and images automatically, plus rename if set to do so. Trying to find something that will do something similar if possible.

It seems like several people in this thread are looking for basically the same thing I am.

Tresezk, your suggestion looks very promising at installing just apps in mass. The one big issue I see this way is that you would still have to set up each device individually.

Like the tools above from Apple, it will give it the image, rename, and configure the devices the way you want through a client software. Another thing to compare to is like we currently use Symantic Ghost for our PCs and looking into Fog right now to roll out images. It would be so nice to do the same on the droids and I think this is what several of the other members are looking for too.

Simple and Automatic are the two biggest factors into looking for the solution.

odaugaard and atraum, did any of you two find the solutions you were looking for?
Weaksid is offline  
Reply With Quote
Old December 10th, 2012, 07:02 PM   #16 (permalink)
New Member
 
Join Date: Dec 2012
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Update on quantity roll outs?

I too have been tasked with deploying numerous stock ICS devices with three profiles - essentially a basic with three minor tweaks to meet the needs of 3 slightly different user groups.

This is about 25 units per group for this volunteer association. I need to remove the bloatware and leave a basic/minimal footprint preferably linked to a designated service GMail account for each and the devices in these groups would remain like-configured although different data sets might be pushed to members of the same group.

So the differences would be: different data set; and, one specific app would have a device specific key. The data and the app would need to be left alone rather than 'sync'd or backed up' and potentially removing these two unique bits of this configuration.

Insight?

It seems that there were a few requests here but the thread may have gone stale before a resolve was found...

Suggestions?
ICSfan is offline  
Last edited by ICSfan; December 10th, 2012 at 07:08 PM. Reason: a quick additional piece of info.
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Lounge
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:31 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.