Saturday 7 May 2016

Changing the lock screen wallpaper on CM12 or CM13

CYANOGENMOD provides a cool feature to apply themes system wide. But these themes have option to change the lock screen wallpaper too. After applying the theme, there is no way to revert back to the original lock screen wallpaper if it is deleted or applying another theme unless the new theme supports changing lock screen wallpaper.

The inbuilt theme doesn't have option to apply lock screen wallpaper, it uses the home screen wallpaper as lock screen wallpaper.

If you installed a theme and it had changed your lock screen wallpaper and you want to restore it, follow the simple steps below.



1. Go to Settings -> About Phone, tap build number continuously and enable developer options.
2. Go to Developer Options and enable the inbuilt terminal in the developer options.
3. You also need to have root access enabled in the developer options.
4. Open the terminal application visible in the launcher.



Type the below commands in the terminal application to restore the wallpaper.

1. su (This will prompt for root access or super user permission, give root access to terminal)
2. cd /data/system/users/0
3. rm keyguard_wallpaper
4. ln -s wallpaper keyguard_wallpaper
5. chown -h wallpaper keyguard_wallpaper

BOOM..!! Now you have set your current wallpaper to lock screen wallpaper, now enjoy your CYANOGENMOD like you were using previously.

This thing works not only on CM12 or CM13, it should work on any Android Phone with any version, but all you need is Root access in your phone.

Thanks :)