Go to file
Xmader ade45992fc README 2020-05-17 17:25:58 -04:00
.gitignore initial commit 2019-12-07 17:03:01 -05:00
README.md README 2020-05-17 17:25:58 -04:00
com.google.android.apps.recorder.10026203.apk initial commit 2019-12-07 17:03:01 -05:00
com.google.android.apps.recorder.11000903.apk v1.1.284933798 2020-01-12 17:49:01 -05:00
com.google.android.apps.recorder.11007013.apk v1.1.289058594 2020-05-09 01:07:31 -04:00
patch.sh v1.1.289058594 2020-05-09 01:07:31 -04:00

README.md

Xmader/google-recorder

Get the powerful Google Recorder app run on any Android device (Android >= 9).
Fuck off, device restrictions.

Google Recorder is only officially available for Pixel >=2 phones currently.

Requirements

Usage

export KEYSTORE_FILE=<path to your keystore file>
export KEYSTORE_ALIAS=<your keystore alias>

./patch.sh

How

Google added some restrictions if you want to sideload the app to install it on other Android devices.

The Google Recorder app checks for the com.google.android.feature.PIXEL_2017_EXPERIENCE system feature to ensure that it is running on Pixel 2 or later phones.

If the system feature doesn't exist, it throws an error and the app exits immediately.

  • pseudocode by decompiling / analysing the com/google/android/apps/recorder/ui/application/RecorderApplication.java file
package com.google.android.apps.recorder.ui.application;

import android.app.Application;

public class RecorderApplication extends Application {
    // …
    public void onCreate() {
        super.onCreate();
        if (isDevBuild() || getPackageManager().hasSystemFeature("com.google.android.feature.PIXEL_2017_EXPERIENCE")) {
            // …
            return;
        }
        throw new IllegalStateException("Cannot start Recorder on unsupported device");
    }
    // …
}

This patch replaces the com.google.android.feature.PIXEL_2017_EXPERIENCE string with android.hardware.microphone that every phone / Android device should have this system feature if the device can record audio,
so that the patched app will only check for the android.hardware.microphone system feature, and won't exit immediately.

STR1="com.google.android.feature.PIXEL_2017_EXPERIENCE"
STR2="android.hardware.microphone"
sed -i "s/$STR1/$STR2/" $FILE_TO_PATCH_0

Download Artifacts

Github Release

License

MIT