Google added a new customisation to lock screen shortcuts in Android O Developer Beta version. It allows a user to replace default app icons of Google Assistance and Camera App with any app you want to access quickly. With the final version of Android 8 Oreo that feature was removed. Well, many users still want that feature to customise the lock screen on their Android Device. But How?
We are here with a hack that can help to get that feature back. With a customisation, you can choose and can replace default lock screen apps with the apps you like. The process is straightforward, and there is no need to root the device. Let us have a look at the method to set a custom lock screen shortcuts on Android Oreo without rooting a device.
How to Set Custom Lock Screen Shortcuts in Android Oreo Without Root
Before heading to the step, download and install Minimal ADB and Fastboot drivers from here.
Step #1. First off, go to Settings → System → Developer Options and turn on the toggle next to “USB Debugging”.
If don’t see this option, then go to Settings → About Phone → tap “Build Number” for 7-8 times to activate Developer Mode.
Step #2. Download and install “Package Name Viewer 2.0” from the Google Play Store.
Step #3. Open the app and it will show you the list of all installed app. Note the package and activity name of the app you want to add on the lock screen app. Here we are taking Instagram App:
Package Name – com.instagram.android
Activity Name – com.instagram.android.activity.MainTabActivity
Step #4. Connect your smartphone to PC via USB and launch Minimal ADB and Fastboot.
Step #5. Once you open Minimal ADB and Fastboot tool, you will see a command window. Type the following command as per your desire:
To change the left-side shortcut:
adb shell settings put secure sysui_keyguard_left "PACKAGE NAME/ACTIVITY NAME"
To change the right-side shortcut:
settings put secure sysui_keyguard_right "PACKAGE NAME/ACTIVITY NAME"
Here we are replacing the right side shortcut with the Instagram App:
adb shell settings put secure sysui_keyguard_right "com.instagram.android/com.instagram.android.activity.MainTabActivity"
Once it was done, you will see the newly added app on the lock screen shortcuts on your Android phone running Oreo 8.0.
Step 6. You can also revert your lock screen shortcuts in Android Oreo back to stock settings:
For resetting the left-side shortcut:
adb shell settings delete secure sysui_keyguard_left
For resetting the right-side shortcut:
adb shell settings delete secure sysui_keyguard_right
This is how you can customize lock screen shortcuts in Android Oreo 8.0. So, now you can add your favorite apps such are WhatsApp, new Chrome app, quick settings and more on your lock screen on your device running latest Android O aka Android 8.