Wednesday, November 25, 2020

Tasker: Install on new phone then restore settings, permissions and configuration:

Tasker: Install on new phone and restore settings, permissions and configuration: including profiles, actions and settings. Some manual steps are involved + adb commands from PC. Assumes adb is setup from PC with basics of adb understood by user.

 

[Old Phone]


1. Backup Tasker apk
2. Backup config (backup.xml) using menu Tasker | Data | Export.
    - in my case I am backing up to a network drive.
    - new phone will access apk and backup.xml
    - result as follows:
        http://prntscr.com/vpo4uu
   
   

[New Phone]


3. Install apk on new phone       

4. Configure other task manager style apps to whitelist tasker
    e.g: "all-in-one toolbox" android
    "boot speedup"
    http://prntscr.com/vpnkqj

    Advanced Tasker White List
     http://prntscr.com/vpnkj3

5. Set Tasker Settings
    Tasker Settings:
    http://prntscr.com/vpnofj

    Task Settings: SD Card
    http://prntscr.com/vpnosg

5. Set Android Permissions
    Android Permissions
    http://prntscr.com/vpnzt3
    http://prntscr.com/vpo0b2
    http://prntscr.com/vpo0i6

6. Connect phone to PC, Run adb,  Set permissions via Adb

-- See below links
https://tasker.joaoapps.com/userguide/en/help/ah_adb_wifi.html
https://tasker.joaoapps.com/userguide/en/help/ah_read_logs_grant.html
https://www.reddit.com/r/tasker/comments/9u6fbr/tasker_storage_access/
https://tasker.joaoapps.com/knownissues.html

- Sample Command output
C:\WINDOWS\system32>adb devices
List of devices attached
LMV405TA76466767        device


C:\WINDOWS\system32>adb tcpip 5555
restarting in TCP mode port: 5555

C:\WINDOWS\system32>adb shell pm grant net.dinglisch.android.taskerm android.permission.READ_LOGS

C:\WINDOWS\system32>adb shell am force-stop net.dinglisch.android.taskerm

C:\WINDOWS\system32>adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS


7. Run test actions
    - File Copy
    - Turn Airplane Mode on and Off
    - Ect

No comments:

Post a Comment