diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1062418 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/ +*.iml diff --git a/README.md b/README.md new file mode 100644 index 0000000..e747058 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +## Repository containing the configuration of FAQ of the r/oneplus Discord server + +[Guide](https://gist.github.com/Sheldan/4d906b86339c76cc1551a14e138d78c5) how the configuration file works. + +A [json schema](https://json-schema.org/) on how the configuration needs to look like then uploading can be found [here](https://raw.githubusercontent.com/Sheldan/OnePlusBot/master/application/oneplus-bot-modules/faq/src/main/resources/validation/createScheme.json). \ No newline at end of file diff --git a/configuration.json b/configuration.json new file mode 100644 index 0000000..01cb38e --- /dev/null +++ b/configuration.json @@ -0,0 +1,1371 @@ +[ + { + "faqCommandName": "repair", + "global": false, + "aliases": [ + "repairing", + "repairprices" + ], + "responses": [ + { + "channelGroupName": "op7", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus 7: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d10\u003e \nRepair prices for the OnePlus 7 Pro: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d11\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op6", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus 6: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d8\u003e \nRepair prices for the OnePlus 6T: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d9\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op5", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus 5: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d5\u003e \nRepair prices for the OnePlus 5T: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d7\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op7t", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus 7T: https://www.oneplus.com/support/repair-pricing/details?code\u003d22\nRepair prices for the OnePlus 7T Pro: https://www.oneplus.com/support/repair-pricing/details?code\u003d23", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "social", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for all OnePlus-devices: \u003chttps://www.oneplus.com/support/repair-pricing\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "legacy", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus 3: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d4\u003e \nRepair prices for the OnePlus 3T: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d6\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op8", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus 8: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d24\u003e\nRepair prices for the OnePlus 8 Pro: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d25\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "opnord", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus Nord: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d27\u003e\r\nRepair prices for the OnePlus Nord N10 5G: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d30\u003e\r\nRepair prices for the OnePlus Nord N100: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d31\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op8t", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus 8T: https://www.oneplus.com/support/repair-pricing/details?code\u003d28", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "opn10n100", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus Nord N10 5G: https://www.oneplus.com/support/repair-pricing/details?code\u003d30\nRepair prices for the OnePlus Nord N100: https://www.oneplus.com/support/repair-pricing/details?code\u003d31", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op9", + "messages": [ + { + "position": 0, + "embed": { + "description": "Repair prices for the OnePlus 9: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d32\u003e\nRepair prices for the OnePlus 9 Pro: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d33\u003e\nRepair prices for the OnePlus 9 R: \u003chttps://www.oneplus.com/support/repair-pricing/details?code\u003d34\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "blu_spark", + "global": false, + "aliases": [ + "bluspark" + ], + "responses": [ + { + "channelGroupName": "op7", + "messages": [ + { + "position": 0, + "embed": { + "description": "blu_spark XDA thread for OnePlus 7 Pro: \u003chttps://forum.xda-developers.com/oneplus-7-pro/development/kernel-t3944179/\u003e\nblu_spark XDA thread for OnePlus 7: \u003chttps://forum.xda-developers.com/oneplus-7/development/kernel-t3944855\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "helpers", + "global": true, + "aliases": [ + "help", + "helper" + ], + "responses": [ + { + "channelGroupName": "global", + "messages": [ + { + "position": 0, + "embed": { + "description": "We have a special kind of volunteer position in this guild, a squad of helpers ready to help you with any issue to the best of their abilities!\nYou can summon them by writing `@Helper`. Don\u0027t abuse this, they\u0027re volunteers and only want to be pinged if you need help 🙂", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "ask", + "global": true, + "responses": [ + { + "channelGroupName": "global", + "messages": [ + { + "position": 0, + "embed": { + "imageUrl": "https://i.imgur.com/93qXFd0.png", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "gcam", + "global": false, + "aliases": [ + "Google Camera", + "googlecam", + "google camera", + "gcam port", + "GCAM", + "GCam", + "GoogleCamera", + "googlecamera" + ], + "responses": [ + { + "channelGroupName": "legacy", + "messages": [ + { + "position": 0, + "additionalMessage": "Google Camera for 3 \u0026 3T: \u003chttps://forum.xda-developers.com/oneplus-3/how-to/modded-google-camera-hdr-60fps-video-t3658552\u003e \nFor all device APKs, please visit: \u003chttps://www.celsoazevedo.com/files/android/google-camera\u003e\n\nOnePlus 2 and before: Google Camera only supports 64 bit devices. Sorry." + } + ] + }, + { + "channelGroupName": "op5", + "messages": [ + { + "position": 0, + "embed": { + "description": "The Google Camera port offers generally more detail, more accurate colours and better HDR. You can download this for the 5 and 5T here: \u003chttps://www.celsoazevedo.com/files/android/p/gcam-oneplus-5-5t/\u003e. See here how to install the APK: \u003chttps://www.celsoazevedo.com/files/android/how-to-install-apk-file/\u003e and here how to load config files: \u003chttps://www.celsoazevedo.com/files/android/google-camera/f/settings09/\u003e.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op6", + "messages": [ + { + "position": 0, + "embed": { + "description": "The Google Camera port offers generally more detail, more accurate colours and better HDR. You can download this for the 6 and 6T here: \u003chttps://www.celsoazevedo.com/files/android/p/gcam-oneplus-6-6t/\u003e. See here how to install the APK: \u003chttps://www.celsoazevedo.com/files/android/how-to-install-apk-file/\u003e and here how to load config files: \u003chttps://www.celsoazevedo.com/files/android/google-camera/f/settings09/\u003e.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op7", + "messages": [ + { + "position": 0, + "embed": { + "description": "The Google Camera port offers generally more detail, more accurate colours and better HDR. You can download this for the 7 and 7 Pro here: \u003chttps://www.celsoazevedo.com/files/android/p/gcam-oneplus-7-t-pro/\u003e. See here how to install the APK: \u003chttps://www.celsoazevedo.com/files/android/how-to-install-apk-file/\u003e and here how to load config files: \u003chttps://www.celsoazevedo.com/files/android/google-camera/f/settings09/\u003e.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op7t", + "messages": [ + { + "position": 0, + "embed": { + "description": "The Google Camera port offers generally more detail, more accurate colours and better HDR. You can download this for the 7T and 7T Pro here: \u003chttps://www.celsoazevedo.com/files/android/p/gcam-oneplus-7-t-pro/\u003e. See here how to install the APK: \u003chttps://www.celsoazevedo.com/files/android/how-to-install-apk-file/\u003e and here how to load config files: \u003chttps://www.celsoazevedo.com/files/android/google-camera/f/settings09/\u003e.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op8", + "messages": [ + { + "position": 0, + "embed": { + "description": "The Google Camera port offers generally more detail, more accurate colours and better HDR. You can download this for the 8 and 8 Pro here: \u003chttps://www.celsoazevedo.com/files/android/p/google-camera-oneplus-8-series/\u003e. See here how to install the APK: \u003chttps://www.celsoazevedo.com/files/android/how-to-install-apk-file/\u003e and here how to load config files: \u003chttps://www.celsoazevedo.com/files/android/google-camera/f/settings09/\u003e.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "opnord", + "messages": [ + { + "position": 0, + "embed": { + "description": "The Google Camera port offers generally more detail, more accurate colours and better HDR. You can download this for the Nord here: \u003chttps://www.celsoazevedo.com/files/android/p/google-camera-oneplus-nord/\u003e. See here how to install the APK: \u003chttps://www.celsoazevedo.com/files/android/how-to-install-apk-file/\u003e and here how to load config files: \u003chttps://www.celsoazevedo.com/files/android/google-camera/f/settings09/\u003e.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op8t", + "messages": [ + { + "position": 0, + "embed": { + "description": "The Google Camera port offers generally more detail, more accurate colours and better HDR. You can download this for the 8T here: \u003chttps://www.celsoazevedo.com/files/android/p/google-camera-oneplus-8-series/\u003e. See here how to install the APK: \u003chttps://www.celsoazevedo.com/files/android/how-to-install-apk-file/\u003e and here how to load config files: \u003chttps://www.celsoazevedo.com/files/android/google-camera/f/settings09/\u003e.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op9", + "messages": [ + { + "position": 0, + "embed": { + "description": "The Google Camera port offers generally more detail, more accurate colours and better HDR. You can download this for the 9-series here: \u003chttps://t.me/gcam_OP9\u003e. See here how to install the APK: \u003chttps://www.celsoazevedo.com/files/android/how-to-install-apk-file/\u003e and here how to load config files: \u003chttps://www.celsoazevedo.com/files/android/google-camera/f/settings09/\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "edl", + "global": false, + "aliases": [ + "9008", + "9008mode" + ], + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "To enter in Qualcomm EDL mode, you can use `adb reboot edl` or use any version of blu_spark TWRP based on TWRP 3.3.0 or later by clicking on `Reboot to EDL`. An alternative way is using `reboot edl` command in a rooted terminal emulator on your device. You can also power off your device, wait 10 seconds and maintain volume up and down keys.\nIf you want to exit EDL mode, maintain power button during at least 10 seconds.\nYou can use a generic USB-C cable however, OnePlus official cables are preferable", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "sahara", + "global": false, + "aliases": [ + "saharacommunication", + "saharaerror", + "saharacommunicationfailed" + ], + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "If when using msm tool you have the error `Sahara communication failed`, follow this procedure to get rid of it.\nPress Stop button in MSM tool interface\nUnplug your phone, maintain power button and any volume button to get it out of EDL mode until you feel a vibration.\nWait 15 seconds.\nMaintain power button for 10 seconds.\nGet back in EDL mode, plug your phone to your computer, click on Enum button and click on Start button", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "smt", + "global": false, + "aliases": [ + "smtdownloadmode" + ], + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "If you\u0027re reading this, stop what you are doing. Please.\nThe reason why aftersales support of OnePlus use Upgrade Mode in MSM tool during remote assistance sessions rather than SMT mode is that it is meant for factory only as it wipes NV (non volatile) items such as IMEI (source \u003chttps://forum.xda-developers.com/showpost.php?p\u003d77937552\u0026postcount\u003d90\u003e)\nYou will also lose your Widevine L1 certificate.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "updateschedule", + "global": false, + "aliases": [ + "softwaremaintenanceschedule", + "updatewhensir", + "updatewhen" + ], + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "If you want to skip the incremental roll-out from OnePlus, you can use Oxygen Updater to receive updates quicker: https://play.google.com/store/apps/details?id\u003dcom.arjanvlek.oxygenupdater. OnePlus software maintenance schedule is described at \u003chttps://forums.oneplus.com/threads/oneplus-software-maintenance-schedule.862347/\u003e", + "imageUrl": "https://forums.oneplus.com/attachments/806308", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "oneplus", + "messages": [ + { + "position": 0, + "embed": { + "description": "If you want to skip the incremental roll-out from OnePlus, you can use Oxygen Updater to receive updates quicker: https://play.google.com/store/apps/details?id\u003dcom.arjanvlek.oxygenupdater. OnePlus software maintenance schedule is described at \u003chttps://forums.oneplus.com/threads/oneplus-software-maintenance-schedule.862347/\u003e", + "imageUrl": "https://forums.oneplus.com/attachments/806308", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "fastboot", + "global": false, + "aliases": [ + "adbfastboot", + "fastbootpath", + "adbfastbootpath", + "adb", + "adbpath", + "platformtools" + ], + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "To use ADB and fastboot tools, download them from \u003chttps://dl.google.com/android/repository/platform-tools-latest-windows.zip\u003e (source \u003chttps://developer.android.com/studio/releases/platform-tools\u003e ) and unzip them. If you wish to add them to your PATH (meaning being able to use them without having to navigate to the folder they\u0027\u0027re stored first), search in Start Menu for `Environment variables` and click on `Modify system environment variables`. On the next window click on `Environment variables`. Go to `System variables`, select `Path` and click on `Edit`. Click on `New` and input the location of where you unzipped `platform-tools` folder.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "oneplusswitch", + "global": false, + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can use OnePlus Switch \u003chttps://play.google.com/store/apps/details?id\u003dcom.oneplus.backuprestore\u003e to backup and restore your data. Most of applications data will be backed up as \nIf you want to avoid data of a specific application to be restored, you can get in `MobileBackup --\u003e App` in `opbackup` folder to delete the .tar file associated to the app (eg: `com.whatsapp.tar` for data of WhatsApp)", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "readback", + "global": false, + + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can use readback function of MSM tool to dump your device partitions. They will be stored at the root of your system drive and have .img as file extension. For that, get in EDL mode, open MSM tool, press F8, tick partitions you want to dump, input `oneplus` as password, press `ok` and click on Readback button\nDumped partitions are flashable by fastboot.\nDo **NOT** share the following partitions: `dynamic_nvbk.bin`, `static_nvbk.bin`, `misc.bin`, `keystore.bin`, `config.bin`, `devinfo.bin` and `devcfg.mbn` as they contain informations such as your IMEI and your MAC adress (source \u003chttps://forum.xda-developers.com/showpost.php?p\u003d78229476\u0026postcount\u003d96\u003e ).", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "qualcommdiagnostics", + "global": false, + "aliases": [ + "whiteled" + ], + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "If you have a persistent white LED while trying to boot your phone and a black screen, it means that your device is stuck in Qualcomm Diagnostics mode.\nYou can turn off your phone by maintaining power button during at least 10 seconds and then use MSM tool to recover it to a working stateTo use MSM tool, you will need to enter in EDL mode. Information on how to do so can be obtained by sending the command `;faq edl`", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "itdepends", + "global": true, + + "responses": [ + { + "channelGroupName": "global", + "messages": [ + { + "position": 0, + "embed": { + "imageUrl": "https://images-ext-2.discordapp.net/external/dR44f3v_7PILlf9BVP-YUFo8eSZ7vyRc15ExKNvnAUY/https/i.imgur.com/1niu5wN.jpg?width\u003d549\u0026height\u003d720", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "unbloat", + "global": true, + "aliases": [ + "adbunbloat" + ], + "responses": [ + { + "channelGroupName": "global", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can remove any pre-installed system application by using`adb shell pm uninstall -k --user 0 \u003cname of package\u003e` from a computer with ADB installed on it.\n\nExample: `adb shell pm uninstall -k --user 0 com.netflix.mediaclient`\n\nSource \u003chttps://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "conversion", + "global": false, + + "responses": [ + { + "channelGroupName": "op7", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can convert OnePlus 7 Pro sold via T-Mobile to international variant by using rebrand tool present in \u003c#451373145010470912\u003e .\r\nGet your device in EDL mode, launch msm tool, uncheck box next to SHA-256 check, press Start button and wait until process finish (shouldn\u0027\u0027t take less than 300 seconds).\r\n\r\nSource \u003chttps://forum.xda-developers.com/oneplus-7-pro/how-to/how-to-convert-tmobile-op7-to-t3935947\u003e\r\n\r\nIf you have the OnePlus 7 Pro 5G sold via Sprint, you can convert it to 5G EU variant by using same procedure\r\n\r\nSource \u003chttps://forum.xda-developers.com/t/debrand-conversion-sprint-oneplus-7-pro-5g-to-european-fw.4042583/\u003e\r\n", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op6", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can convert OnePlus 6T sold via T-Mobile to international variant by using rebrand tool present in \u003c#451373145010470912\u003e .\nGet your device in EDL mode, launch MsmDownloadTool V4.0_factory_patched.exe , press Start button and wait until process finish (shouldn\u0027\u0027t take less than 300 seconds).\n\nSource \u003chttps://forum.xda-developers.com/oneplus-6t/how-to/t-mobile-6t-to-international-t3888307\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "feedback", + "global": true, + "aliases": [ + "bugreport", + "suggestion" + ], + "responses": [ + { + "channelGroupName": "global", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can send bug reports and suggestions regarding OxygenOS directly to OnePlus by posting on their feedback forum at https://forums.oneplus.com/feedback/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "unbrick", + "global": false, + "aliases": [ + "unbrick tool", + "msmtool", + "unbricktool", + "MSM", + "msm tool", + "brick", + "Unbrick Tool" + ], + "responses": [ + { + "channelGroupName": "op5", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\r\n\r\nXDA threads for reference and flashing instructions:\r\n\r\n**OnePlus 5:** \u003chttps://forum.xda-developers.com/oneplus-5/how-to/op5-collection-unbrick-tools-t3898870\u003e\r\n\r\n**OnePlus 5T:** \u003chttps://forum.xda-developers.com/oneplus-5t/how-to/op5t-collection-unbrick-tools-t3898890\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "legacy", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\r\n\r\nXDA threads for reference and flashing instructions:\r\n\r\n**OnePlus 2:** \u003chttps://forum.xda-developers.com/oneplus-2/general/guide-unbrick-recover-oneplus-2-to-t3269543\u003e\r\n\r\n**OnePlus 3:** \u003chttps://forum.xda-developers.com/oneplus-3/how-to/op3-collection-unbrick-tools-t3896722\u003e\r\n\r\n**OnePlus 3T:** \u003chttps://forum.xda-developers.com/oneplus-3t/how-to/op3t-collection-unbrick-tools-t3896765\u003e \r\n\r\n**OnePlus 5:** \u003chttps://forum.xda-developers.com/oneplus-5/how-to/op5-collection-unbrick-tools-t3898870\u003e\r\n\r\n**OnePlus 5T:** \u003chttps://forum.xda-developers.com/oneplus-5t/how-to/op5t-collection-unbrick-tools-t3898890\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op6", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\r\n\r\nXDA threads for reference and flashing instructions:\r\n\r\n**OnePlus 6:** \u003chttps://forum.xda-developers.com/oneplus-6/how-to/op6-collection-unbrick-tools-t3914109\u003e\r\n\r\n**OnePlus 6T:** \u003chttps://forum.xda-developers.com/oneplus-6t/how-to/op6t-collection-unbrick-tools-t3914746\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op7t", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\r\n\r\nXDA threads for reference and flashing instructions:\r\n\r\n**OnePlus 7T:** \u003chttps://forum.xda-developers.com/oneplus-7t/how-to/op7t-unbrick-tool-to-restore-device-to-t3994835\u003e\r\n\r\n**OnePlus 7T T-Mobile:** \u003chttps://forum.xda-developers.com/oneplus-7t/how-to/op7t-t-mobile-unbrick-tool-to-restore-t4004005\u003e\r\n\r\n**OnePlus 7T Pro:** \u003chttps://forum.xda-developers.com/7t-pro/how-to/op7tpro-unbrick-tool-to-restore-device-t4002909\u003e\r\n\r\n**OnePlus 7T Pro T-Mobile 5G:** \u003chttps://forum.xda-developers.com/7t-pro-mclaren/how-to/op7tpro-tmo-5g-unbrick-tool-to-restore-t4043925\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op7", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\r\n\r\nXDA threads for reference and flashing instructions:\r\n\r\n**OnePlus 7:** \u003chttps://forum.xda-developers.com/oneplus-7/how-to/op7-unbrick-tool-to-restore-device-to-t3954325\u003e\r\n\r\n**OnePlus 7 Pro** \u003chttps://forum.xda-developers.com/oneplus-7-pro/how-to/op7pro-collection-unbrick-tools-t3956595\u003e\r\n\r\n**OnePlus 7 Pro 5G EU:** \u003chttps://forum.xda-developers.com/oneplus-7-pro/how-to/op7pro-5g-eu-unbrick-tool-to-restore-t4078827\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "opnord", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\r\n\r\n**OnePlus Nord:** XDA threads for reference and flashing instructions:\u003chttps://forum.xda-developers.com/oneplus-nord/how-to/opnord-unbrick-tool-to-restore-device-t4148415\u003e\r\n\r\n**OnePlus Nord N10 5G:** https://forum.xda-developers.com/t/opn105g-oos-86aa-89ba-unbrick-tool-to-restore-your-device-to-oxygenos.4204445/\r\n\r\n**OnePlus Nord N10 5G T-Mobile:** https://forum.xda-developers.com/t/opn105g-oos-tmo-be88cb-unbrick-tool-to-restore-your-device-to-oxygenos.4245455/\r\n\r\n**OnePlus Nord N10 5G Metro by T-Mobile:** https://forum.xda-developers.com/t/opn105g-oos-metro-be88cf-unbrick-tool-to-restore-your-device-to-oxygenos.4245461/\r\n\r\n**OnePlus Nord N100:** https://forum.xda-developers.com/t/opn100-oos-81aa-83ba-unbrick-tool-to-restore-your-device-to-oxygenos.4217855/\r\n\r\n**OnePlus Nord N100 T-Mobile:** https://forum.xda-developers.com/t/opn100-oos-tmo-be82cb-unbrick-tool-to-restore-your-device-to-oxygenos.4245495/\r\n\r\n**OnePlus Nord N100 Metro by T-Mobile:** https://forum.xda-developers.com/t/opn100-oos-metro-be82cf-unbrick-tool-to-restore-your-device-to-oxygenos.4245499/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op8t", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\r\n\r\nXDA threads for reference and flashing instructions:\r\n\r\n**OnePlus 8T:** https://forum.xda-developers.com/oneplus-8t/how-to/op8t-unbrick-tool-to-restore-device-to-t4180837\r\n\r\n**OnePlus 8T T-Mobile (also known as OnePlus 8T + 5G):** https://forum.xda-developers.com/oneplus-8t/how-to/op8t-unbrick-tool-to-restore-device-to-t4180981/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "opn10n100", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\n\nXDA threads for reference and flashing instructions:\n\n**OnePlus Nord N10 5G:** https://forum.xda-developers.com/t/opn105g-oos-86aa-89ba-unbrick-tool-to-restore-your-device-to-oxygenos.4204445/\n\n**OnePlus Nord N10 5G T-Mobile:** https://forum.xda-developers.com/t/opn105g-oos-tmo-be88cb-unbrick-tool-to-restore-your-device-to-oxygenos.4245455/\n\n**OnePlus Nord N10 5G Metro by T-Mobile:** https://forum.xda-developers.com/t/opn105g-oos-metro-be88cf-unbrick-tool-to-restore-your-device-to-oxygenos.4245461/\n\n**OnePlus Nord N100:** https://forum.xda-developers.com/t/opn100-oos-81aa-83ba-unbrick-tool-to-restore-your-device-to-oxygenos.4217855/\n\n**OnePlus Nord N100 T-Mobile:** https://forum.xda-developers.com/t/opn100-oos-tmo-be82cb-unbrick-tool-to-restore-your-device-to-oxygenos.4245495/\n\n**OnePlus Nord N100 Metro by T-Mobile:** https://forum.xda-developers.com/t/opn100-oos-metro-be82cf-unbrick-tool-to-restore-your-device-to-oxygenos.4245499/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op8", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download:** Check out https://www.onepluscommunityserver.com/ for recent versions of unbrick Tools for OnePlus phones.\n\nXDA threads for reference and flashing instructions:\n\n**OnePlus 8:** https://forum.xda-developers.com/oneplus-8/how-to/op8-unbrick-tool-to-restore-device-to-t4085877\n\n**OnePlus 8 T-Mobile:** https://forum.xda-developers.com/oneplus-8/how-to/op8-unbrick-tool-to-restore-device-to-t4093043\n\n**OnePlus 8 Verizon:** https://forum.xda-developers.com/t/op8-oos-vzw-67cd-unbrick-tool-to-restore-your-device-to-oxygenos.4191723/\n\n**OnePlus 8 Visible:** https://forum.xda-developers.com/t/op8-oos-vis-68ce-unbrick-tool-to-restore-your-device-to-oxygenos.4203017/\n\n**OnePlus 8 Pro:** https://forum.xda-developers.com/oneplus-8-pro/how-to/op8pro-unbrick-tool-to-restore-device-t4084953", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "slots", + "global": false, + "aliases": [ + "fastbootslots" + ], + "responses": [ + { + "channelGroupName": "abDevices", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can use `fastboot getvar current-slot` to know the current bootable slot of your device and `fastboot --set-active\u003dother` to switch of bootable slot.\n\nSee \u003chttps://source.android.com/devices/tech/ota/ab/ab_implement#kernel-slot-arguments\u003e for more information about the topic.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "stockbootimg", + "global": false, + "aliases": [ + "bootimg" + ], + "responses": [ + { + "channelGroupName": "abDevices", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can use payload dumper from \u003chttps://androidfilehost.com/?fid\u003d818070582850510260\u003e (Windows) or \u003chttps://androidfilehost.com/?fid\u003d673956719939837166\u003e (Linux) to extract stock boot.img for your device.\nPlease refer to \u003c#451373145010470912\u003e to find links to stock firmware you can extract boot.img from.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "diagnostic", + "global": false, + "aliases": [ + "batteryhealth", + "opdiagnostic", + "OnePlusDiagnostic" + ], + "responses": [ + { + "channelGroupName": "OnePlusDiagnostic", + "messages": [ + { + "position": 0, + "embed": { + "description": "**Fast download**: Check out https://www.onepluscommunityserver.com/. Alternative download: \u003chttps://www.apkmirror.com/apk/oneplus-ltd/oneplus-diagnostic/\u003e.\r\n\r\n**Note:** this app does NOT work on 8-series and Nord devices (battery health is being displayed incorrectly).", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "permissiveselinux", + "global": true, + "aliases": [ + "permissive", + "selinuxpermissive", + "selinux" + ], + "responses": [ + { + "channelGroupName": "global", + "messages": [ + { + "position": 0, + "embed": { + "description": "**A disclaimer about kernels and modules that require setting SeLinux to *permissive* mode**\n\nSetting SELinux to *permissive* heavily compromises your device\u0027s security model. When SELinux is set to *permissive* mode, all access requests a process makes will be granted. If those access requests were against security policies they will not be blocked but only logged, whilst *enforcing* mode blocks and logs access requests which goes against security policies. On Android 10+, this can lead to situations where an app would be able to root your device without you knowing if SeLinux on your device was set to *permissive* mode. **This means that if your device SeLinux state is set to *permissive*, you must not install any apps that you do not fully trust.**\n\nHere is an XDA article that talks about this in further detail while keeping it in layman\u0027s terms:\n\u003chttps://www.xda-developers.com/permissive-selinux-dangers-exploits/\u003e\n\nFor the more technically oriented, here is topjohnwu\u0027s (Magisk creator and developer) explanation:\n\u003chttps://www.reddit.com/r/Android/comments/lfye5r/selinux_permissive_romskernels_are_very_bad/gmoi05a/\u003e\n\nProof of Concept of privilege escalation attacks: \n\u003chttps://github.com/vvb2060/Magica\u003e", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "patience", + "global": true, + + "responses": [ + { + "channelGroupName": "global", + "messages": [ + { + "position": 0, + "embed": { + "description": "Please don't ping people or ask for those active in another channel to jump in whilst waiting for help. You are however allowed to ping helper role if required, more info about it by querying `;faq helper`", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "root", + "global": false, + + "responses": [ + { + "channelGroupName": "device", + "messages": [ + { + "position": 0, + "embed": { + "description": "Please refer to Magisk installation instructions available at https://topjohnwu.github.io/Magisk/install.html to root your device.\n\nNote that you will likely want to patch your device boot.img \nFor reference purposes, you can unlock your device bootloader by using `fastboot oem unlock`.", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + }, + { + "faqCommandName": "oxygenos", + "global": false, + + "responses": [ + { + "channelGroupName": "op7", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can find official OxygenOS zips for the OnePlus 7 and 7 Pro at https://forum.xda-developers.com/t/oneplus-7-rom-ota-oxygen-os-repo-of-oxygen-os-builds.3937152/ and https://forum.xda-developers.com/t/oneplus-7-pro-5g-rom-ota-oxygen-os-repo-of-oxygen-os-builds.3930585/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op6", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can find official OxygenOS zips for the OnePlus 6 and 6T at https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244 and https://forum.xda-developers.com/oneplus-6t/how-to/oneplus-6t-global-repo-oxygen-os-builds-t3865396", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op7t", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can find official OxygenOS zips for the OnePlus 7T and Oneplus 7T Pro at https://forum.xda-developers.com/oneplus-7t/how-to/oneplus-7t-repo-oxygen-os-builds-t3997037 and https://forum.xda-developers.com/7t-pro/how-to/oneplus-7t-pro-repo-oxygen-os-builds-t4003455", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op8", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can find official OxygenOS zips for the OnePlus 8 and Oneplus 8 Pro at https://forum.xda-developers.com/oneplus-8/how-to/oneplus-8-repo-oxygen-os-builds-t4084233 and https://forum.xda-developers.com/oneplus-8-pro/how-to/oneplus-8-pro-repo-oxygen-os-builds-t4084315/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op8t", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can find official OxygenOS zips for the OnePlus 8T at https://forum.xda-developers.com/oneplus-8t/how-to/oneplus-8t-repo-oxygen-os-builds-t4193183", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "opn10n100", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can find official OxygenOS zips for the OnePlus N10 5G and OnePlus Nord N100 at https://forum.xda-developers.com/t/root-n10-using-magisk.4197369/ and https://forum.xda-developers.com/t/oneplus-nord-n100-rom-ota-oxygenos-repo-of-oxygenos-builds.4253501/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "op9", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can find official OxygenOS zips for the OnePlus 9, OnePlus 9 Pro and OnePlus 9R at https://forum.xda-developers.com/t/oneplus-9-rom-ota-oxygen-os-repo-of-oxygen-os-builds.4254579/, https://forum.xda-developers.com/t/oneplus-9-pro-rom-ota-oxygen-os-repo-of-oxygen-os-builds.4254587/ and https://forum.xda-developers.com/t/oneplus-9r-rom-ota-oxygen-os-repo-of-oxygen-os-builds.4262715/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + }, + { + "channelGroupName": "opnord", + "messages": [ + { + "position": 0, + "embed": { + "description": "You can find official OxygenOS zips for the OnePlus N10 5G and OnePlus Nord N100 at https://forum.xda-developers.com/t/root-n10-using-magisk.4197369/ and https://forum.xda-developers.com/t/oneplus-nord-n100-rom-ota-oxygenos-repo-of-oxygenos-builds.4253501/", + "color": { + "red": 0, + "green": 0, + "blue": 0 + }, + "author": { + "useBot": true + } + } + } + ] + } + ] + } +] \ No newline at end of file