• CubitOom@infosec.pub
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 hours ago

    Edit: I suggest using obtainium so that if the app gets any new releases or updates you can easily get notifications and manage that. I also originally submitted a bad json code snippet which I have corrected and tested.

    After deleting googles safetycore, do the following to ensure Google doesn’t reinstall it.

    1. install the latest release of Obtainium
    1. Via Obtainium, install Safetycore-placeholder

    it might take some messing with Obtainiums settings to ensure that the latest version of the saftycore placeholder is installed so here is an export of my settings just for this app. Just copy the text and save it as a json to import the settings.

    {"apps":[{"id":"com.google.android.safetycore","url":"https://github.com/daboynb/Safetycore-placeholder","author":"daboynb","name":"com.google.android.safetycore","installedVersion":"v3.0","latestVersion":"v3.0","apkUrls":"[[\"Safetycore-placeholder.apk\",\"https://api.github.com/repos/daboynb/Safetycore-placeholder/releases/assets/232142109/"]]","otherAssetUrls":"[[\"v3.0.tar.gz\",\"https://api.github.com/repos/daboynb/Safetycore-placeholder/tarball/v3.0/"],[\"v3.0.zip\",\"https://api.github.com/repos/daboynb/Safetycore-placeholder/zipball/v3.0/"]]","preferredApkIndex":0,"additionalSettings":"{\"includePrereleases\":false,\"fallbackToOlderReleases\":false,\"filterReleaseTitlesByRegEx\":\"\",\"filterReleaseNotesByRegEx\":\"\",\"verifyLatestTag\":true,\"dontSortReleasesList\":false,\"useLatestAssetDateAsReleaseDate\":true,\"releaseTitleAsVersion\":true,\"trackOnly\":false,\"versionExtractionRegEx\":\"\",\"matchGroupToUse\":\"\",\"versionDetection\":false,\"releaseDateAsVersion\":false,\"useVersionCodeAsOSVersion\":true,\"apkFilterRegEx\":\"\",\"invertAPKFilter\":false,\"autoApkFilterByArch\":true,\"appName\":\"\",\"appAuthor\":\"\",\"shizukuPretendToBeGooglePlay\":false,\"allowInsecure\":false,\"exemptFromBackgroundUpdates\":false,\"skipUpdateNotifications\":false,\"about\":\"\",\"refreshBeforeDownload\":true}","lastUpdateCheck":1740803687541492,"pinned":false,"categories":[],"releaseDate":1740416435000000,"changeLog":"This release is signed, you need to uninstall the previuos version.","overrideSource":null,"allowIdChange":false}]}
    
    • CrayonRosary@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      15 hours ago

      This doesn’t load in Obtainium, and trying to validate the json gets the error below.

      It looks like the value should be a simple list of strings, but everything is escaped and it has double square brackets, and it’s enclosed in quotes.

      • CubitOom@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 hours ago

        Thanks, I’m on a phone and must have done something wrong but just fixed it, tested it this time and edited the original. It should work now.

          • CubitOom@infosec.pub
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            2 hours ago

            I didn’t use a validator, formatter or prettifyer since I just copied and pasted the json that obtainium exported. I was able to import it onto my work profiles obtainium using the exact data posted in the code snippet however. I wouldn’t mind seeing a diff to know what the difference is since it looks the same to me too. I’m not sure why your getting the error, I’ll just screen shot the settings.

            • CrayonRosary@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 hour ago

              Yeah, I only used the validator to find the error after Obtanium said “Invalid input”. I don’t know what the deal is. Thanks for the screenshots! I’ll try it tomorrow.