I
I
ivan_seby2017-01-24 17:58:32
Automation
ivan_seby, 2017-01-24 17:58:32

How to automate the first launch and installation + software configuration on Android devices?

Good day.
There is the following problem: there are n android devices ( where n>100). Devices only from boxes. All of them will be linked to one Google account. I will explain what is required and how I see it, and if possible, tell me if I am digging in the right direction and there are any ready-made solutions for these tasks. Thanks in advance.
And so, it is necessary:
​​1) to automate the process of the first launch (namely, the choice of language, wireless network, authorization in a google account)
As far as I understand, this can be done using
a) a script (although I am a complete zero in this, and not only)
b ) Some program on the PC, to simulate pressing and typing, well, a clicker that transfers information from the peki to the phone via usb, roughly speaking
c) When performing the first launch, information about this should be stored somewhere in memory, and provided that all devices are the same, then it is possible to simply throw them into the phone initially and bypass these tedious actions
2) Installing several applications
With this, as I understand it, with Simple scripts do a brilliant job, like taking an apk and unpacking it there. So?
3) One of these applications must be pre-installed (In short - the application screams furiously when a notification is received until it is read) The question is - is it possible to modify this apk so that when it is installed it has a preset installed by me? More specifically, then sounds, periodicity, duration are set there.
a) I searched a little and sort of stumbled upon a way to save settings through a titanium backup. As far as I understand, he backs up the entire application, then just upload it to the next device and restore it, but I think this is a so-so option
b) Modifying the apk - by changing the default settings
4) The last and most terrible.
There is an application in which you need to authorize different accounts. What pleases - accounts are acc1, acc2, etc.
a) Script? The devil knows how, but I think it is possible to write something that is not very difficult, which will either highlight tap to the desired point and drive in a loop with 2 variables.
Alya x=0
for i= 1 to 100 do
in the first field drive
acc(x+1)
in the second password (let there be a static password for everyone, well, for example)
end
No more ideas how to do it. Sorry for possible punctuation and grammatical errors. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sisn, 2017-01-24
@sisn

From
https://support.google.com/a/answer/1734200?hl=en

A
Andrey Nikolaev, 2017-08-08
@gromdron

If: $date and $path are your user data, then in addition to this argument, I would also check:
1) $date is an existing archive in which only simple types (required for the job, preferably only text)
2) $path - I would set it myself from the name of the archive, and not from (for example, in your case, "../tmp" in the full line corresponds to "/home/ranger/../tmp", which corresponds to '/home/tmp'), well, accordingly, I would swear at two dots in a row
3) The /home/ranger/$path folder does NOT process scripts, but only gives data.
PS On the arguments of escapeshellarg , and escapeshellcmd on the whole command

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question