[OnePlus 7, 7 Pro Cross Device Themes, Apps & Mods] lucfig:
Really? So you are suggesting to use shell commands instead of Tasker built in Custom Settings. Is that it?

If you mind taking a look at the task below and check if it is similar to what your app does, please?

Accent Colors 2 (408)
A1: Custom Setting [ Type:System Name:oem_black_mode_accent_color Value:%vibrant Use Root:eek:ff Read Setting To: ]
A2: Custom Setting [ Type:System Name:oem_black_mode_accent_color_index Value:-1 Use Root:eek:n Read Setting To: ]
A3: Custom Setting [ Type:System Name:oem_white_mode_accent_color Value:%vibrant Use Root:eek:ff Read Setting To: ]
A4: Custom Setting [ Type:System Name:oem_white_mode_accent_color_index Value:-1 Use Root:eek:n Read Setting To: ]
A5: Custom Setting [ Type:System Name:oneplus_accent_color Value:%vibrant Use Root:eek:ff Read Setting To: ]
A6: Variable Section [ Name:%vibrant From:4 Length:100 Adapt To Fit:eek:ff Store Result In: ]
A7: Run Shell [ Command:su -c setprop persist.sys.theme.accentcolor %vibrant Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A8: Run Shell [ Command:settings put system oem_black_mode 1 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A9: Run Shell [ Command:setprop persist.sys.theme.status 1 Timeout (Seconds):0 Use Root:eek:n Store Output In: Store Errors In: Store Result In: ]
A10: Java Function [ Return:map Class Or Object:HashMap Function:new
{HashMap} () Param: Param: Param: Param: Param: Param: Param: ]
A11: Java Function [ Return: Class Or Object:map Function:put
{Object} (Object, Object) Param:"oneplus_basiccolor" Param:"white" Param: Param: Param: Param: Param: ]
A12: Java Function [ Return:intent Class Or Object:Intent Function:new
{Intent} (String) Param:"android.settings.oneplus_theme_disable" Param: Param: Param: Param: Param: Param: ]
A13: Java Function [ Return: Class Or Object:intent Function:putExtra
{Intent} (String, Serializable) Param:"category_map" Param:map Param: Param: Param: Param: Param: ]
A14: Java Function [ Return: Class Or Object:intent Function:addFlags
{Intent} (int) Param:268435456 Param:map Param: Param: Param: Param: Param: ]
A15: Java Function [ Return: Class Or Object:CONTEXT Function:sendBroadcast
{} (Intent) Param:intent Param:"android.settings.oneplus_theme_disable Param: Param: Param: Param: Param: ]
A16: Java Function [ Return:map2 Class Or Object:map Function:clear
{} () Param: Param: Param: Param: Param: Param: Param: ]
A17: Java Function [ Return: Class Or Object:map Function:put
{Object} (Object, Object) Param:"oneplus_basiccolor" Param:"black" Param: Param: Param: Param: Param: ]
A18: Java Function [ Return:intent2 Class Or Object:Intent Function:new
{Intent} (String) Param:"android.settings.oneplus_theme_enable" Param: Param: Param: Param: Param: Param: ]
A19: Java Function [ Return: Class Or Object:intent2 Function:putExtra
{Intent} (String, Serializable) Param:"category_map" Param:map Param: Param: Param: Param: Param: ]
A20: Java Function [ Return: Class Or Object:intent2 Function:addFlags
{Intent} (int) Param:268435456 Param:map Param: Param: Param: Param: Param: ]
A21: Java Function [ Return: Class Or Object:CONTEXT Function:sendBroadcast
{} (Intent) Param:intent2 Param:"android.settings.oneplus_theme_disable Param: Param: Param: Param: Param: ]
A22: Dark Mode [ Set:eek:n ]

Also attached if you prefer importing in Tasker.View attachment Accent_Colors_2.tsk.xml

Enviado de meu HD1903 usando o Tapatalk