I have a situation that we have to provide devices (android) to classes and we have a master phone that need to cloned to other phones.
We have setup google account for each devices with same ID.
using this method is good so we can install it and choose which devices we want to install an application. But for mirroring apps to other phone, we need other method that need less interaction, so I can do other work.
Solution is using ADB for installing the apps through linux terminal.
We are using lineageOS so it more faster and less bloatware.
Backup apk file from master android phones
install amaze file manager from google play
swipe left side to show menus > App Manager
tap 3 dot on apps you want to backup > choose Backup
copy folder app_backup to your computer
make sure the file is without space, if yes, do this
rename 's/ /_/g' *.apk
Connect Phones to Linux computer – more
— Enable USB debugging – more
— First attempt I have an error when typing adb devices
List of devices attached ???????????? ->
$ sudo adb kill-server; sudo adb start-server – more
— check connection
— install apps
$ for file in *.apk; do adb install $file; done
Tips bekerja secara wireless – more
Anda bisa juga menggunakan adb wifi untuk mempush packet yang besar.
hubungkan kabel usb untuk debugging kemudian centang always remember
$sudo adb tcpip 5555
cabut kabel usb
view android ip dari wifi address atau about phone
konek dari linux dengan
$sudo adb connect 192.168.x.x