I have the task of setting up 50+ tablets (Binatone Homesurf 744, Yes cheap & cheerful!), which all need the same App installed and same wireless settings entered but require different configuration files (config files stored on SD card).
I was hoping there might be a solution which I can set up each of the tablets via ADB or a script without root access if possible (as this would an additional step and take more time). The tablets so far have come out the box with debugging mode already enabled. If I access the tablet via ADB and type "su", it does give me some kind of root access as the symbol changes from "$" to "#" but I'm unable to remount the /system a rw.
The process I would like to do is as follows:-
- Start Tablet and plug in via USB cable to the PC for ADB access
- Automatically Disable/Skip "Welcome" screen (Initial Setup Wizard)
- Install Wireless Settings
- Install Required APK
- Push Required Configuration Files
- Restart Tablet if Required
I think I may have answered the question about disabling\skipping the "welcome" screen after a bit of research. This I believe requires full root or rw access to modify system files (ro.setupwizard.mode=DISABLED, I believe?).
With regard to the wireless settings, I'm able to add the wireless settings manually in ADB shell via the following command after switching to the "wifi" user (issuing "su wifi"):-
echo 'network={\nssid="Wireless"\npsk="i*********m"\nkey_mgmt=WPA-PSK\npriority=1\n}' >> /data/misc/wifi/wpa_supplicant.conf
After restarting the wireless via ADB, the tablet happily connects to the newly added wireless.
I can install the required APK and "push" the required configuration files manually or via a batch script on windows.
Any help would be appreciated on automating this and making things as simple as possible.
Thanks in advance!
/data/misc
are usually not writable by anone but a system user. I don't think there's a way to automatically skip the wizard (and no app can plug in the cable for you), but everything else should be easily possible. One thing I need to know before being able to answer: What OS is running on your computer? I can setup an answer for Linux, if that's acceptable (which should also work on a Mac, and could be adapted to Windows).