You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NanoDroid/doc/Phonesky.diff

100 lines
13 KiB
Diff

diff -Nupr PS_13816.orig/AndroidManifest.xml PS_13816/AndroidManifest.xml
--- PS_13816.orig/AndroidManifest.xml 2019-03-01 15:31:42.177040270 +0100
+++ PS_13816/AndroidManifest.xml 2019-03-01 15:33:42.433726765 +0100
@@ -88,6 +88,7 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.REBOOT"/>
<uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
+ <uses-permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE"/>
<uses-feature android:name="android.hardware.location" android:required="false"/>
<uses-feature android:name="android.hardware.location.gps" android:required="false"/>
<uses-feature android:name="android.hardware.location.network" android:required="false"/>
@@ -118,6 +119,7 @@
<permission android:name="com.google.android.finsky.permission.ACCESS_INSTANT_APP_NOTIFICATION_ENFORCEMENT" android:protectionLevel="signature"/>
<permission android:description="@LEMON_transformed_from_string/perm_play_install_referrer_api_desc" android:label="@LEMON_transformed_from_string/perm_play_install_referrer_api_label" android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" android:protectionLevel="normal"/>
<application android:backupAgent="com.android.vending.VendingBackupAgent" android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher_play_store" android:killAfterRestore="false" android:label="@LEMON_transformed_from_string/app_long_name" android:name="com.google.android.finsky.application.classic.ClassicApplication" android:requiredForAllUsers="true" android:restoreAnyVersion="true" android:restoreNeedsApplication="true" android:restrictedAccountType="com.google" android:roundIcon="@mipmap/ic_round_launcher_play_store" android:supportsRtl="@bool/is_rtl_enabled">
+ <meta-data android:name="fake-signature" android:value="@string/fake_signature"/>
<activity android:name="com.google.android.finsky.expandeddescriptionactivity.ExpandedDescriptionActivity" android:theme="@style/FinskyOverlayTheme"/>
<provider android:authorities="com.google.android.finsky.instantapps.dna.PhoneskyArchiveProvider" android:enabled="@bool/instant_apps_supported" android:exported="true" android:name="com.google.android.finsky.instantapps.dna.PhoneskyArchiveProvider" android:process=":instant_app_installer"/>
<provider android:authorities="com.google.android.finsky.instantapps.HintApiContentProvider" android:enabled="@bool/instant_apps_supported" android:exported="true" android:name="com.google.android.finsky.instantapps.HintApiContentProvider" android:process=":instant_app_installer"/>
@@ -498,9 +500,7 @@
</intent-filter>
</activity>
<receiver android:name="com.google.android.finsky.boothandler.BootCompletedReceiver">
- <intent-filter>
- <action android:name="android.intent.action.BOOT_COMPLETED"/>
- </intent-filter>
+ <intent-filter/>
</receiver>
<receiver android:exported="false" android:name="com.google.android.finsky.rollbackmanager.RollbackReceiver"/>
<service android:exported="true" android:name="com.google.android.finsky.services.LicensingService" android:permission="com.android.vending.CHECK_LICENSE">
@@ -954,4 +954,4 @@
</activity>
<activity android:enabled="false" android:excludeFromRecents="true" android:icon="@mipmap/leak_canary_icon" android:label="@LEMON_transformed_from_string/leak_canary_storage_permission_activity_label" android:name="com.squareup.leakcanary.internal.RequestStoragePermissionActivity" android:process=":leakcanary" android:roundIcon="@mipmap/leak_canary_icon" android:taskAffinity="com.squareup.leakcanary.com.squareup.leakcanary" android:theme="@style/leak_canary_Theme.Transparent"/>
</application>
-</manifest>
\ Kein Zeilenumbruch am Dateiende.
+</manifest>
diff -Nupr PS_13816.orig/res/values/arrays.xml PS_13816/res/values/arrays.xml
--- PS_13816.orig/res/values/arrays.xml 2019-03-01 15:31:30.528971463 +0100
+++ PS_13816/res/values/arrays.xml 2019-03-01 15:34:04.021845831 +0100
@@ -1,7 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <style name="com_google_android_gms_fonts_certs" />
- <style name="com_google_android_gms_fonts_certs_dev" />
- <style name="com_google_android_gms_fonts_certs_prod" />
- <style name="debug_available_network_types" />
+ <array name="com_google_android_gms_fonts_certs">
+ <item>@array/com_google_android_gms_fonts_certs_prod</item>
+ </array>
+ <string-array name="com_google_android_gms_f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pt1TTcvZApxsdyxMJZ2JORland2qSGT2y5b+3JKkedxiLDmpHpDsz2WCbdxgxRczfey5YZnTJ4VZbH0xqWVW/8lGmPav5xVwnIiJS6HXk+BVKZF+JcWjAsb/GEuq/eFdpuzSqeYTcfi6idkyugwfYwXFU1+5fZKUaRKYCwkkFQVfcAs1fXA5V+++FGfvjJ/CxURaSxaBvGdGDhfXE28LWuT9ozCl5xw4Yq5OGazvV24mZVSoOO0yZ31j7kYvtwYK6NeADwbSxDdJEqO4k//0zOHKrUiGYXtqw/A0LFFtqoZKFjnkCAQOjgdkwgdYwHQYDVR0OBBYEFMd9jMIhF1Ylmn/Tgt9r45jk14alMIGmBgNVHSMEgZ4wgZuAFMd9jMIhF1Ylmn/Tgt9r45jk14aloXikdjB0MQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLR29vZ2xlIEluYy4xEDAOBgNVBAsTB0FuZHJvaWQxEDAOBgNVBAMTB0FuZHJvaWSCCQDC4IdGZEowjTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBAUAA4IBAQBt0lLO74UwLDYKqs6Tm8/yzKkEu116FmH4rkaymUIE0P9KaMftGlMexFlaYjzmB2OxZyl6euNXEsQH8gjwyxCUKRJNexBiGcCEyj6z+a1fuHHvkiaai+KL8W1EyNmgjmyy8AW7P+LLlkR+ho5zEHatRbM/YAnqGcFh5iZBqpknHf1SKMXFh4dd239FJ1jWYfbMDMy3NS5CTMQ2XFI1MvcyUTdZPErjQfTbQe3aDQsQcafEQPD+nqActifKZ0Np0IS9L9kR/wbNvyz6ENwPiTrjV2KRkEjH78ZMcUQXg0L3BYHJ3lc69Vs5Ddf9uUGGMYldX3WfMBEmh/9iFBDAaTCK</item>
+ </string-array>
+ <string-array name="debug_available_network_types">
+ <item>Disable Network Type Override</item>
+ </string-array>
</resources>
diff -Nupr PS_13816.orig/res/values/public.xml PS_13816/res/values/public.xml
--- PS_13816.orig/res/values/public.xml 2019-03-01 15:31:30.528971463 +0100
+++ PS_13816/res/values/public.xml 2019-03-01 15:34:41.714051013 +0100
@@ -11621,6 +11621,7 @@
<public type="string" name="zero_rating_watch_video_dialog_message" id="0x7f13095f" />
<public type="string" name="zero_rating_watch_video_dialog_title" id="0x7f130960" />
<public type="string" name="current_locale_sanity_check" id="0x7f130961" />
+ <public type="string" name="fake_signature" id="0x7f130962" />
<public type="style" name="AccountRow" id="0x7f140007" />
<public type="style" name="AccountRowBase" id="0x7f140008" />
<public type="style" name="AccountRowSubtitle" id="0x7f14000b" />
@@ -12938,4 +12939,4 @@
<public type="LEMON_transformed_from_string" name="update_subscription_instrument" id="0x7f19002c" />
<public type="LEMON_transformed_from_string" name="verify_app_chooser_label" id="0x7f19002d" />
<public type="LEMON_transformed_from_string" name="verify_app_install_scanning" id="0x7f19002e" />
-</resources>
\ Kein Zeilenumbruch am Dateiende.
+</resources>
diff -Nupr PS_13816.orig/res/values/strings.xml PS_13816/res/values/strings.xml
--- PS_13816.orig/res/values/strings.xml 2019-03-01 15:31:30.528971463 +0100
+++ PS_13816/res/values/strings.xml 2019-03-01 15:35:05.530178980 +0100
@@ -2187,4 +2187,5 @@ Check with your carrier for any limits o
<string name="zero_rating_watch_video_dialog_message">"Video streaming isn't included in free data for Play. Data charges will apply when you watch this video."</string>
<string name="zero_rating_watch_video_dialog_title">Watch video on mobile data?</string>
<string name="current_locale_sanity_check" />
+ <string name="fake_signature">308204433082032ba003020102020900c2e08746644a308d300d06092a864886f70d01010405003074310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e205669657731143012060355040a130b476f6f676c6520496e632e3110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964301e170d3038303832313233313333345a170d3336303130373233313333345a3074310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e205669657731143012060355040a130b476f6f676c6520496e632e3110300e060355040b1307416e64726f69643110300e06035504031307416e64726f696430820120300d06092a864886f70d01010105000382010d00308201080282010100ab562e00d83ba208ae0a966f124e29da11f2ab56d08f58e2cca91303e9b754d372f640a71b1dcb130967624e4656a7776a92193db2e5bfb724a91e77188b0e6a47a43b33d9609b77183145ccdf7b2e586674c9e1565b1f4c6a5955bff251a63dabf9c55c27222252e875e4f8154a645f897168c0b1bfc612eabf785769bb34aa7984dc7e2ea2764cae8307d8c17154d7ee5f64a51a44a602c249054157dc02cd5f5c0e55fbef8519fbe327f0b1511692c5a06f19d18385f5c4dbc2d6b93f68cc2979c70e18ab93866b3bd5db8999552a0e3b4c99df58fb918bedc182ba35e003c1b4b10dd244a8ee24fffd333872ab5221985edab0fc0d0b145b6aa192858e79020103a381d93081d6301d0603551d0e04160414c77d8cc2211756259a7fd382df6be398e4d786a53081a60603551d2304819e30819b8014c77d8cc2211756259a7fd382df6be398e4d786a5a178a4763074310b3009060355040613025553311330110603550408130a43616c69666f726e6961311630140603550407130d4d6f756e7461696e205669657731143012060355040a130b476f6f676c6520496e632e3110300e060355040b1307416e64726f69643110300e06035504031307416e64726f6964820900c2e08746644a308d300c0603551d13040530030101ff300d06092a864886f70d010104050003820101006dd252ceef85302c360aaace939bcff2cca904bb5d7a1661f8ae46b2994204d0ff4a68c7ed1a531ec4595a623ce60763b167297a7ae35712c407f208f0cb109429124d7b106219c084ca3eb3f9ad5fb871ef92269a8be28bf16d44c8d9a08e6cb2f005bb3fe2cb96447e868e731076ad45b33f6009ea19c161e62641aa99271dfd5228c5c587875ddb7f452758d661f6cc0cccb7352e424cc4365c523532f7325137593c4ae341f4db41edda0d0b1071a7c440f0fe9ea01cb627ca674369d084bd2fd911ff06cdbf2cfa10dc0f893ae35762919048c7efc64c7144178342f70581c9de573af55b390dd7fdb9418631895d5f759f30112687ff621410c069308a</string>
</resources>
diff -Nupr PS_13816.orig/smali_classes2/com/google/android/finsky/headless/GmsCoreUpdateService.smali PS_13816/smali_classes2/com/google/android/finsky/headless/GmsCoreUpdateService.smali
--- PS_13816.orig/smali_classes2/com/google/android/finsky/headless/GmsCoreUpdateService.smali 2019-03-01 15:31:30.884973573 +0100
+++ PS_13816/smali_classes2/com/google/android/finsky/headless/GmsCoreUpdateService.smali 2019-03-01 15:36:25.946602299 +0100
@@ -58,8 +58,6 @@
invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
.line 14
- invoke-virtual {p0, v0}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;
-
return-void
.end method