Android System WebView Tweak

Discussion in 'Android' started by NST_Adventure, Feb 20, 2021.

  1. NST_Adventure

    NST_Adventure MDL Addicted

    Jun 1, 2019
    896
    195
    30
    #1 NST_Adventure, Feb 20, 2021
    Last edited: Feb 20, 2021
    Android System WebView Is Tool To Display Web Content On App That Are Not A Browser

    But Yes It's Developed By Google
    Changing Android System Webview Required Rooted Phone

    But We Still Can Use Official Android System WebView And Tweak Them For Privacy Without Change Or Replace Them:

    -Phone With Android 7+
    -ADB FIle (use portable or grab from official website)
    -Understand What Is App Ops And Why Is Really Dangerous For Newbie To Change app ops


    Once You Prepare the phone and pc connected each other with ADB Enabled
    You Can Start Tweaking :)


    1. Open Up ADB Via CMD
    2. Change App Ops Permission From System Webview By Type This Command:
    cmd appops set <package_name> <app-ops> <flag>

    cmd appops set <com.google.android.webview> <app ops>
    <flag>
    And for app ops and (flag):
    WRITE_EXTERNAL_STORAGE (Deny)
    WRITE_SMS (Deny)
    RUN_IN_BACKGROUND (Deny)
    RUN_ANY_IN_BACKGROUND (Deny)
    READ_EXTERNAL_STORAGE (Deny)

    After doing these you may restart Android System WebView By Force Stop It

    And You Are Done
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...