Revert "Parts: add genuine validator"

This reverts commit 7ec4be432a9585833f48543a1fff859497e2b4ee.

Change-Id: Icbf810d932600891b0970c1bc9263fe6d1dbca2f
diff --git a/Android.mk b/Android.mk
index cee7a3a..12763b9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -3,9 +3,7 @@
 include $(CLEAR_VARS)
 
 LOCAL_PACKAGE_NAME := LineageParts
-LOCAL_SRC_FILES := $(call all-java-files-under, src) \
-    $(call all-java-files-under, genuine/src)
-
+LOCAL_SRC_FILES := $(call all-java-files-under, src)
 LOCAL_STATIC_JAVA_LIBRARIES := \
     android-support-v4 \
     android-support-v13 \
@@ -23,8 +21,7 @@
     frameworks/support/v7/preference/res \
     frameworks/support/v14/preference/res \
     frameworks/support/v7/appcompat/res \
-    frameworks/support/v7/recyclerview/res \
-    $(LOCAL_PATH)/genuine/res
+    frameworks/support/v7/recyclerview/res
 
 LOCAL_AAPT_FLAGS := --auto-add-overlay \
     --extra-packages android.support.v7.preference:android.support.v14.preference:android.support.v17.preference:android.support.v7.appcompat:android.support.v7.recyclerview
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index c6113f7..7cd4331 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -296,23 +296,5 @@
             </intent-filter>
         </activity>
 
-        <activity
-            android:name="inc.lingeage.companion.GenuineActivity"
-            android:theme="@style/GenuineTheme.Dialog" />
-
-        <service android:name="inc.lingeage.companion.GenuineService" />
-
-        <receiver
-            android:name="inc.lingeage.companion.GenuineReceiver"
-            android:enabled="true"
-            android:exported="true"
-            android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
-
-            <intent-filter>
-                <category android:name="android.intent.category.DEFAULT" />
-
-                <action android:name="android.intent.action.BOOT_COMPLETED" />
-            </intent-filter>
-        </receiver>
     </application>
 </manifest>
diff --git a/genuine/res/drawable/ic_error.xml b/genuine/res/drawable/ic_error.xml
deleted file mode 100644
index 2ebac39..0000000
--- a/genuine/res/drawable/ic_error.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
-        android:width="24dp"
-        android:height="24dp"
-        android:viewportWidth="24.0"
-        android:viewportHeight="24.0">
-    <path
-        android:fillColor="@color/genuine_error"
-        android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13,17h-2v-2h2v2zM13,13h-2L11,7h2v6z"/>
-</vector>
diff --git a/genuine/res/values-de/values.xml b/genuine/res/values-de/values.xml
deleted file mode 100644
index ea526c3..0000000
--- a/genuine/res/values-de/values.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"Validierungsfehler"</string>
-    <string name="genuine_notification_message">"Sie könnten Opfer einer Softwarefälschung sein. Tippen Sie hier, um mehr darüber zu erfahren"</string>
-    <string name="genuine_notification_grief">"Sie könnten ein Opfer von Softwarefälschungen sein"</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">Dieses Gerät ist nicht zertifiziert und hat die Validierung nicht bestanden.\nUm eine schadhafte Nutzung der Geräteressourcen zu vermeiden, werden LOSCoins auf diesem Gerät generiert.</string>
-    <string name="genuine_dialog_anger_message">"Der Test ergab den Fehler 0x00D6A%1$d (was sehr, sehr schlecht ist!)"</string>
-    <string name="genuine_dialog_bargaining_message">"Sie können einen neuen zertifizierten Build erhalten, indem Sie ihn mit Br0Zip PRO kompilieren. Die Lizenz kann im LOSCoin Store erworben werden"</string>
-    <string name="genuine_toast_depression_message">"😭😭😭"</string>
-
-    <string name="genuine_dialog_acceptance">"KK"</string>
-    <string name="genuine_dialog_anger">"Mehr erfahren"</string>
-    <string name="genuine_dialog_denial">"Nein"</string>
-    <string name="genuine_dialog_bargaining">"Auf keinen Fall"</string>
-    <string name="genuine_dialog_depression">"TRAURIG"</string>
-</resources>
diff --git a/genuine/res/values-el/values.xml b/genuine/res/values-el/values.xml
deleted file mode 100644
index b7a3575..0000000
--- a/genuine/res/values-el/values.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"Σφάλμα επικύρωσης"</string>
-    <string name="genuine_notification_message">"Ενδέχεται να έχετε πέσει θύμα πειρατείας λογισμικού. Πατήστε για να ανακαλύψετε περισσότερα σχετικά με αυτό"</string>
-    <string name="genuine_notification_grief">"Ενδέχεται να έχετε πέσει θύμα πειρατείας λογισμικού"</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">"Αυτή η συσκευή δεν έχει πιστοποιηθεί και δεν πέρασε την επικύρωση.\nΓια να αποφευχθεί η κακόβουλη χρήση των πόρων της συσκευής, LOSCoins θα εξορύσσονται σε αυτήν τη συσκευή."</string>
-    <string name="genuine_dialog_anger_message">"Η δοκιμή επέστρεψε σφάλμα 0x00D6A%1$d (πράγμα που είναι πολύ πολύ πολύ κακό)"</string>
-    <string name="genuine_dialog_bargaining_message">"Μπορείτε να αποκτήσετε μια νέα πιστοποιημένη έκδοση χρησιμοποιώντας το Br0Zip PRO. Η άδεια μπορεί να αγοραστεί στο κατάστημα LOSCoin"</string>
-    <string name="genuine_toast_depression_message">"😭😭😭"</string>
-
-    <string name="genuine_dialog_acceptance">"Αποδοχή"</string>
-    <string name="genuine_dialog_anger">"Μάθετε περισσότερα"</string>
-    <string name="genuine_dialog_denial">"Όχι"</string>
-    <string name="genuine_dialog_bargaining">"Αποκλείεται"</string>
-    <string name="genuine_dialog_depression">"ΚΡΙΜΑ"</string>
-</resources>
-
diff --git a/genuine/res/values-en-rAU/values.xml b/genuine/res/values-en-rAU/values.xml
deleted file mode 100644
index 1978e84..0000000
--- a/genuine/res/values-en-rAU/values.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"Ahoy there matey"</string>
-    <string name="genuine_notification_message">"Shiver me timbers! Yer phone's booty be hornswaggled, matey! Heave ho t' peer into the depths"</string>
-    <string name="genuine_notification_grief">"Ye be on the way to Davy Jones' Locker, me hearties"</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">"Yer device is a landlubber - it aint\'t got its sea legs.\nShe'll be weighing anchor and mining LOSCoins t' protect yer from th' scallywags!"</string>
-    <string name="genuine_dialog_anger_message">"Sink me! 0x00D6A%1$d ho! (Arr, she'll be walkin' the plank smartly)"</string>
-    <string name="genuine_dialog_bargaining_message">"Ye can find the booty ye be after by walking the plank with Br0Zip PRO. Ye can crimp that from LOSCoin store"</string>
-    <string name="genuine_toast_depression_message">😭😭😭</string>
-
-    <string name="genuine_dialog_acceptance">"Aye"</string>
-    <string name="genuine_dialog_anger">"Peer into the depths"</string>
-    <string name="genuine_dialog_denial">"Belay that"</string>
-    <string name="genuine_dialog_bargaining">"Blow the man down"</string>
-    <string name="genuine_dialog_depression">"Dead men tell no tales"</string>
-</resources>
diff --git a/genuine/res/values-fr/values.xml b/genuine/res/values-fr/values.xml
deleted file mode 100644
index 71826e8..0000000
--- a/genuine/res/values-fr/values.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"Erreur de validation"</string>
-    <string name="genuine_notification_message">"Vous êtes victime d\'une contrefaçon logicielle. Cliquez pour en savoir plus"</string>
-    <string name="genuine_notification_grief">"Vous pourriez être victime d'une contrefaçon logicielle"</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">"Cet appareil n\'est pas certifié and n\'a pas passé de validation.\nAfin d\'éviter une utilisation malveillante des resources présentes, des LOSCoins vont être minés sur cet appareil."</string>
-    <string name="genuine_dialog_anger_message">"Le test a retourné une erreur 0x00D6A%1$d (ce qui est vraiment vraiment mauvais)"</string>
-    <string name="genuine_dialog_bargaining_message">"Vous pouvez obtenir une nouvelle build certifiée en compilant avec Br0Zip PRO. Une license peut être achetée sur le LOSCoin store"</string>
-    <string name="genuine_toast_depression_message">"😭😭😭"</string>
-
-    <string name="genuine_dialog_acceptance">"Accepter"</string>
-    <string name="genuine_dialog_anger">"En savoir plus"</string>
-    <string name="genuine_dialog_denial">"Non"</string>
-    <string name="genuine_dialog_bargaining">"Jamais!"</string>
-    <string name="genuine_dialog_depression">"TRISTE"</string>
-</resources>
-
diff --git a/genuine/res/values-it/values.xml b/genuine/res/values-it/values.xml
deleted file mode 100644
index bf2c4fc..0000000
--- a/genuine/res/values-it/values.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">Errore di validazione</string>
-    <string name="genuine_notification_message">"Potresti essere vittima di software contraffatto. Tocca per saperne di più"</string>
-    <string name="genuine_notification_grief">Potresti essere vittima di software contraffatto</string>
-
-    <string name="genuine_dialog_title">LineaGenuine</string>
-    <string name="genuine_dialog_grief_message">"Questo dispositivo non è certificato e non ha passato la validazione.\nAl fine di evitare utilizzi impropri delle risorse sul dispositivo, verranno minati LOSCoin.</string>
-    <string name="genuine_dialog_anger_message">"Il test ha riportato l'errore 0x00D6A%1$d (il che è veramente una brutta cosa)"</string>
-    <string name="genuine_dialog_bargaining_message">"È possibile ottenere una build certificata utilizzando Br0Zip PRO. La licenza è acquistabile nello store dei LOSCoin"</string>
-    <string name="genuine_toast_depression_message">😭😭😭</string>
-
-    <string name="genuine_dialog_acceptance">Accetto</string>
-    <string name="genuine_dialog_anger">Ulteriori info</string>
-    <string name="genuine_dialog_denial">No</string>
-    <string name="genuine_dialog_bargaining">Assolutamente no</string>
-    <string name="genuine_dialog_depression">MALE</string>
-</resources>
\ No newline at end of file
diff --git a/genuine/res/values-ro/values.xml b/genuine/res/values-ro/values.xml
deleted file mode 100644
index bb1dbe2..0000000
--- a/genuine/res/values-ro/values.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"Eroare de validare"</string>
-    <string name="genuine_notification_message">"S-ar putea să fii victima unui software contrafăcut. Apasă pentru a afla mai multe"</string>
-    <string name="genuine_notification_grief">"S-ar putea să fii victima unui software contrafăcut"</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">"Acest dispozitiv nu este certificat și nu a trecut de etapa de validare.\nPentru a evita utilizarea malițioasă a resurselor acestui dispozitiv, pe el vor fi minate LOSCoin-uri"</string>
-    <string name="genuine_dialog_anger_message">"Testul s-a terminat cu eroarea 0x00D6A%1$d (este foarte foarte foarte grav)"</string>
-    <string name="genuine_dialog_bargaining_message">"Poți obține o imagine certificată prin compilarea cu Br0Zip PRO. Licența poate fi cumpărată în magazinul LOSCoin"</string>
-    <string name="genuine_toast_depression_message">"😭😭😭"</string>
-
-    <string name="genuine_dialog_acceptance">"Acceptă"</string>
-    <string name="genuine_dialog_anger">"Mai multe informații"</string>
-    <string name="genuine_dialog_denial">"Nu"</string>
-    <string name="genuine_dialog_bargaining">"În niciun caz"</string>
-    <string name="genuine_dialog_depression">"TRIST"</string>
-</resources>
-
diff --git a/genuine/res/values-ru/values.xml b/genuine/res/values-ru/values.xml
deleted file mode 100644
index 7bf9292..0000000
--- a/genuine/res/values-ru/values.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"Ошибка проверки"</string>
-    <string name="genuine_notification_message">"Возможно, вы стали жертвой подделки программного обеспечения. Нажмите, чтобы узнать больше."</string>
-    <string name="genuine_notification_grief">Возможно, вы стали жертвой подделки программного обеспечения</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">"Это устройство несертифицированно и не прошло проверку.\nЧтобы предотвратить использование ресурсов устройства во вредоносных целях, оно будет использовано для майнинга LOSCoins."</string>
-    <string name="genuine_dialog_anger_message">"Тестирование возвратило ошибку 0x00D6A%1$d (и это очень очень плохо)"</string>
-    <string name="genuine_dialog_bargaining_message">"Вы можете собрать новый сертифицированный билд при помощи Br0Zip PRO. Лицензия может быть куплена в магазине LOSCoin"</string>
-    <string name="genuine_toast_depression_message">"😭😭😭"</string>
-
-    <string name="genuine_dialog_acceptance">"Принять"</string>
-    <string name="genuine_dialog_anger">"Узнать больше"</string>
-    <string name="genuine_dialog_denial">"Нет"</string>
-    <string name="genuine_dialog_bargaining">"Никак нет"</string>
-    <string name="genuine_dialog_depression">"Печаль"</string>
-</resources>
-
diff --git a/genuine/res/values-zh-rCN/values.xml b/genuine/res/values-zh-rCN/values.xml
deleted file mode 100644
index 4b265a3..0000000
--- a/genuine/res/values-zh-rCN/values.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"验证错误"</string>
-    <string name="genuine_notification_message">"您可能是盗版软件的受害者。点此以查看更多相关信息。"</string>
-    <string name="genuine_notification_grief">"您可能是盗版软件的受害者"</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">"该设备未经认证,且未通过验证。\n为了避免对设备资源的恶意使用, 该设备会被用来开采LOS币。"</string>
-    <string name="genuine_dialog_anger_message">"测试返回错误 0x00D6A%1$d (这真的非常非常非常糟糕)"</string>
-    <string name="genuine_dialog_bargaining_message">"您可以使用Br0Zip PRO编译一个新的经过认证的版本。许可证可以在LOS币商店购买。"</string>
-    <string name="genuine_toast_depression_message">"😭😭😭"</string>
-
-    <string name="genuine_dialog_acceptance">"同意"</string>
-    <string name="genuine_dialog_anger">"了解更多"</string>
-    <string name="genuine_dialog_denial">"拒绝"</string>
-    <string name="genuine_dialog_bargaining">"不可能"</string>
-    <string name="genuine_dialog_depression">"悲伤"</string>
-</resources>
-
diff --git a/genuine/res/values-zh-rHK/values.xml b/genuine/res/values-zh-rHK/values.xml
deleted file mode 100644
index d839e89..0000000
--- a/genuine/res/values-zh-rHK/values.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"驗證錯誤"</string>
-    <string name="genuine_notification_message">"您可能是仿冒軟體的受害者。點此以發現更多相關信息。"</string>
-    <string name="genuine_notification_grief">"您可能是仿冒軟體的受害者"</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">"該設備未經認證,且未通過驗證。\n為了避免對設備資源的惡意使用, 該設備會被用來開採LOS幣。"</string>
-    <string name="genuine_dialog_anger_message">"測試返回錯誤 0x00D6A%1$d (這真的非常非常非常糟糕)"</string>
-    <string name="genuine_dialog_bargaining_message">"您可以使用Br0Zip PRO編譯一個新的經過認證的版本。許可證可以在LOS幣商店購買。"</string>
-    <string name="genuine_toast_depression_message">"😭😭😭"</string>
-
-    <string name="genuine_dialog_acceptance">"同意"</string>
-    <string name="genuine_dialog_anger">"了解更多"</string>
-    <string name="genuine_dialog_denial">"拒絕"</string>
-    <string name="genuine_dialog_bargaining">"不可能"</string>
-    <string name="genuine_dialog_depression">"悲傷"</string>
-</resources>
\ No newline at end of file
diff --git a/genuine/res/values-zh-rTW/values.xml b/genuine/res/values-zh-rTW/values.xml
deleted file mode 100644
index d839e89..0000000
--- a/genuine/res/values-zh-rTW/values.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<resources>
-    <string name="genuine_notification_title">"驗證錯誤"</string>
-    <string name="genuine_notification_message">"您可能是仿冒軟體的受害者。點此以發現更多相關信息。"</string>
-    <string name="genuine_notification_grief">"您可能是仿冒軟體的受害者"</string>
-
-    <string name="genuine_dialog_title">"LineaGenuine"</string>
-    <string name="genuine_dialog_grief_message">"該設備未經認證,且未通過驗證。\n為了避免對設備資源的惡意使用, 該設備會被用來開採LOS幣。"</string>
-    <string name="genuine_dialog_anger_message">"測試返回錯誤 0x00D6A%1$d (這真的非常非常非常糟糕)"</string>
-    <string name="genuine_dialog_bargaining_message">"您可以使用Br0Zip PRO編譯一個新的經過認證的版本。許可證可以在LOS幣商店購買。"</string>
-    <string name="genuine_toast_depression_message">"😭😭😭"</string>
-
-    <string name="genuine_dialog_acceptance">"同意"</string>
-    <string name="genuine_dialog_anger">"了解更多"</string>
-    <string name="genuine_dialog_denial">"拒絕"</string>
-    <string name="genuine_dialog_bargaining">"不可能"</string>
-    <string name="genuine_dialog_depression">"悲傷"</string>
-</resources>
\ No newline at end of file
diff --git a/genuine/res/values/values.xml b/genuine/res/values/values.xml
deleted file mode 100644
index 5bd1dea..0000000
--- a/genuine/res/values/values.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<resources>
-    <!-- Colors -->
-    <color name="genuine_error">#FF5630</color>
-
-    <!-- Strings -->
-    <string name="genuine_notification_title">Validation error</string>
-    <string name="genuine_notification_message">You might be a victim of software counterfeiting. Tap to discover more about this</string>
-    <string name="genuine_notification_grief">You might be a victim of software counterfeiting</string>
-
-    <string name="genuine_dialog_title">LineaGenuine</string>
-    <string name="genuine_dialog_grief_message">This device is uncertified and it didn\'t pass the validation.\nIn order to avoid malicious usage of the device\'s resources, LOSCoins will be mined on this device.</string>
-    <string name="genuine_dialog_anger_message">The test returned error 0x00D6A%1$d (which is really really really bad)</string>
-    <string name="genuine_dialog_bargaining_message">You can get a new certified build by compiling one using Br0Zip PRO. License can be purchased in the LOSCoin store</string>
-    <string name="genuine_toast_depression_message">😭😭😭</string>
-
-    <string name="genuine_dialog_acceptance">Accept</string>
-    <string name="genuine_dialog_anger">Learn more</string>
-    <string name="genuine_dialog_denial">No</string>
-    <string name="genuine_dialog_bargaining">No way</string>
-    <string name="genuine_dialog_depression">SAD</string>
-
-    <!-- Styles -->
-    <style name="GenuineTheme" parent="@android:style/Theme.DeviceDefault" />
-
-    <style name="GenuineTheme.Dialog" parent="@android:style/Theme.DeviceDefault.Dialog">
-        <item name="android:windowFrame">@null</item>
-        <item name="android:windowIsFloating">true</item>
-        <item name="android:windowIsTranslucent">true</item>
-        <item name="android:windowNoTitle">true</item>
-        <item name="android:backgroundDimEnabled">true</item>
-        <item name="android:windowCloseOnTouchOutside">false</item>
-    </style>
-</resources>
diff --git a/genuine/src/inc/lingeage/companion/GenuineActivity.java b/genuine/src/inc/lingeage/companion/GenuineActivity.java
deleted file mode 100644
index bdeff66..0000000
--- a/genuine/src/inc/lingeage/companion/GenuineActivity.java
+++ /dev/null
@@ -1,85 +0,0 @@
-package inc.lingeage.companion;
-
-import android.app.Activity;
-import android.app.AlertDialog;
-import android.content.Intent;
-import android.content.SharedPreferences;
-import android.net.Uri;
-import android.os.Bundle;
-import android.preference.PreferenceManager;
-import android.widget.Toast;
-
-import org.lineageos.lineageparts.R;
-
-import java.security.SecureRandom;
-
-public class GenuineActivity extends Activity {
-
-    private AlertDialog mCurrentDialog;
-    private SharedPreferences mPrefs;
-
-    @Override
-    protected void onCreate(Bundle savedInstance) {
-        super.onCreate(savedInstance);
-        mPrefs = PreferenceManager.getDefaultSharedPreferences(this);
-
-        // From now on the user shall go through the 5 steps of grief
-        mCurrentDialog = new AlertDialog.Builder(this)
-                .setTitle(R.string.genuine_dialog_title)
-                .setMessage(R.string.genuine_dialog_grief_message)
-                .setPositiveButton(R.string.genuine_dialog_acceptance, (d, i) -> acceptance())
-                .setNegativeButton(R.string.genuine_dialog_denial, (d, i) -> denial())
-                .setNeutralButton(R.string.genuine_dialog_anger, (d, i) -> anger())
-                .setCancelable(false)
-                .show();
-    }
-
-    private void denial() {
-        if (mCurrentDialog != null) {
-            mCurrentDialog.dismiss();
-        }
-
-        mCurrentDialog = new AlertDialog.Builder(this)
-                .setTitle(R.string.genuine_dialog_title)
-                .setMessage(getString(R.string.genuine_dialog_anger_message, getErrorVal()))
-                .setPositiveButton(R.string.genuine_dialog_acceptance, (d, i) -> acceptance())
-                .setNegativeButton(R.string.genuine_dialog_bargaining, (d, i) -> bargaining())
-                .setCancelable(false)
-                .show();
-    }
-
-    private void anger() {
-        Intent intent = new Intent("android.intent.action.VIEW");
-        intent.setData(GenuineService.FOOL_URL);
-        startActivity(intent);
-        acceptance();
-    }
-
-    private void bargaining() {
-        if (mCurrentDialog != null) {
-            mCurrentDialog.dismiss();
-        }
-        mCurrentDialog = new AlertDialog.Builder(this)
-                .setTitle(R.string.genuine_dialog_title)
-                .setMessage(R.string.genuine_dialog_bargaining_message)
-                .setPositiveButton(R.string.genuine_dialog_acceptance, (d, i) -> acceptance())
-                .setNegativeButton(R.string.genuine_dialog_depression, (d, i) -> depression())
-                .setCancelable(false)
-                .show();
-    }
-
-    private void depression() {
-        Toast.makeText(this, R.string.genuine_toast_depression_message, Toast.LENGTH_LONG).show();
-        acceptance();
-    }
-
-    private void acceptance() {
-        mPrefs.edit().putBoolean("grief", true).apply();
-        startService(new Intent(this, GenuineService.class));
-        finish();
-    }
-
-    private int getErrorVal() {
-        return new SecureRandom().nextInt(21);
-    }
-}
diff --git a/genuine/src/inc/lingeage/companion/GenuineReceiver.java b/genuine/src/inc/lingeage/companion/GenuineReceiver.java
deleted file mode 100644
index 533bd51..0000000
--- a/genuine/src/inc/lingeage/companion/GenuineReceiver.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package inc.lingeage.companion;
-
-import android.content.BroadcastReceiver;
-import android.content.Context;
-import android.content.Intent;
-import android.util.Log;
-
-public class GenuineReceiver extends BroadcastReceiver {
-
-    @Override
-    public void onReceive(Context context, Intent intent) {
-        Log.d("OHAI", "Genuine triggered");
-        if (context != null) {
-            context.startService(new Intent(context, GenuineService.class));
-        }
-    }
-}
diff --git a/genuine/src/inc/lingeage/companion/GenuineService.java b/genuine/src/inc/lingeage/companion/GenuineService.java
deleted file mode 100644
index e7ff622..0000000
--- a/genuine/src/inc/lingeage/companion/GenuineService.java
+++ /dev/null
@@ -1,86 +0,0 @@
-package inc.lingeage.companion;
-
-import android.app.Notification;
-import android.app.NotificationChannel;
-import android.app.NotificationManager;
-import android.app.PendingIntent;
-import android.app.Service;
-import android.content.Context;
-import android.content.Intent;
-import android.net.Uri;
-import android.os.Build;
-import android.os.IBinder;
-import android.os.SystemProperties;
-import android.preference.PreferenceManager;
-
-import org.lineageos.lineageparts.R;
-
-public class GenuineService extends Service {
-    public static final Uri FOOL_URL = Uri.parse("https://lineageos.org/Changelog-17");
-    private static final String CHANNEL = "grief_info";
-
-    public int onStartCommand( Intent intent, int flags, int startId) {
-        work(this);
-        return START_STICKY;
-    }
-
-    @Override
-    public IBinder onBind(Intent intent) {
-        return null;
-    }
-
-    static void work(Context context) {
-        NotificationManager manager = context.getSystemService(NotificationManager.class);
-        if (manager == null) {
-            return;
-        }
-
-        if (isDisabledFromProp()) {
-            return;
-        }
-
-        boolean hasGoneThrough5GriefSteps = checkStatus(context);
-
-        Intent intent;
-        if (hasGoneThrough5GriefSteps) {
-            intent = new Intent("android.intent.action.VIEW");
-            intent.setData(GenuineService.FOOL_URL);
-        } else {
-            intent = new Intent(context, GenuineActivity.class);
-        }
-        PendingIntent pIntent = PendingIntent.getActivity(context, 0, intent, 0);
-
-        Notification.Builder notification = Build.VERSION.SDK_INT >= 26 ?
-                new Notification.Builder(context, CHANNEL) : new Notification.Builder(context);
-
-        notification.setSmallIcon(R.drawable.ic_error)
-                .setColor(context.getColor(R.color.genuine_error))
-                .setContentIntent(pIntent)
-                .setOngoing(true);
-        if (hasGoneThrough5GriefSteps) {
-            notification.setContentTitle(context.getString(R.string.genuine_notification_grief));
-        } else {
-            notification.setContentTitle(context.getString(R.string.genuine_notification_title))
-                    .setContentText(context.getString(R.string.genuine_notification_message))
-                    .setStyle(new Notification.BigTextStyle()
-                    .bigText(context.getString(R.string.genuine_notification_message)))
-                    .setAutoCancel(true);
-        }
-
-        if (Build.VERSION.SDK_INT >= 26 && manager.getNotificationChannel(CHANNEL) == null) {
-            manager.createNotificationChannel(new NotificationChannel(CHANNEL,
-                    "LineaGenuine info", NotificationManager.IMPORTANCE_DEFAULT));
-        }
-
-        manager.notify(151, notification.build());
-    }
-
-    private static boolean checkStatus(Context context) {
-        return PreferenceManager.getDefaultSharedPreferences(context)
-                .getBoolean("grief", false);
-    }
-
-    private static boolean isDisabledFromProp() {
-        return SystemProperties.getBoolean("persist.lineage.nofool", false);
-    }
-}