In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
Agree

GeekLab

[Tips & Guides] [MIUI with Tom #6] How to change Lock and Unlock sound on MIUI without ROOT!

2019-12-21 14:03:37
5084 43

Hello Dear MIUI Fan's!
Today I'll show you How To change Lock and Unlock sound on your device without ROOT!
But take a NOTE: You can't use third-party sound, only sound what you already have on system folder!

You will need:
ADB Driver: Google Drive
Platform Tools: Google Drive

Enable USB Debugging and USB Debigging (secure settings in developer options)
After connect device to pc and open Platform-tools: unzip it to the root drive C:/


Charge  Device to 100% reboot and connect to PC
After open Command line from this folder and write command: adb devices - for recognizing connected device.


If all fine! Download MT Manager and open system folder: Google Drive
Path to the system sound folder
system/media/audio

You can use only all this sound
After choose sound from any folder(sound what you like)

In CMD command line write next  command:
for exaple i choose  charging sound when i lock my device, than command looks like this one:
adb shell settings put global lock_sound /system/media/audio/ui/charging.ogg

The designation of what is displayed in the command:
  • adb shell settings put  global - this is command change values in device data base.
  • lock_sound - here you set what values you change.
  • /system/media/audio/ui/charging.ogg - this is path to the sound what you choose.

If you want set other sound from audio folder than command must have original path to the sound folder and sound name.
For example:
I want sound from notifications:
adb shell settings put global lock_sound /system/media/audio/notifications/xxxx.ogg

/xxxx - sound name what you choose.

Lock - don't write this
adb shell settings put global lock_sound /system/media/audio/ui/Lock.ogg

Unlock - don't write this
adb shell settings put global unlock_sound /system/media/audio/ui/Lock.ogg

If you want disable lock or unlock sound: just write mp3 and values Lock or Unlock
adb shell settings put global unlock_sound /system/media/audio/ui/Lock.mp3

After just reboot your device, and check!)

Video guide.
Thanks to all!
Also thanks to Admin for posting this thread!)

Rate

Number of participants 2 Experience +35 Pack Reason

View Rating Log

2019-12-21 14:03:37
Favorites41 RateRate
Another amazing MAGIC from Mi Community WIZARD, Thanks forever for sharing my friend
2019-12-21 14:10:39
Mohammed Abdalfattah replied at 2019-12-21 21:10:39
Another amazing MAGIC from Mi Community WIZARD, Thanks forever for sharing my friend

Your welcome Mate)
2019-12-21 14:19:28

Pro Bunny

Tsongming | from MI 8

#3

Excellent 👍
2019-12-21 15:47:41
I need to get back to work now.
Because when I stop rowing, the slave ship just goes in circles.   

Master Bunny

m@soud | from Redmi Note 5

#4

Thanks for info
2019-12-21 16:22:28

Beta Team-Global

georan. | from Redmi K20 Pro

#5

thanks for the information
2019-12-21 16:26:54

Rookie Bunny

6276256920 | from app

#6

i can't remember miui's password, i gave it to factory reset, now i'm looking for the code and it doesn't open, what should i do?
2019-12-21 18:22:37

Master Bunny

p.chandra | from app

#7

excellent
2019-12-21 19:24:55

Master Bunny

p.chandra | from app

#8

thanks bro
2019-12-21 19:25:15

Master Bunny

Ammukutty1965 | from app

#9

Thanks for your information
2019-12-21 21:38:27

Wizard Bunny

Ian Adoe | from Redmi Note 5A Prime

#10

Great as always... 👍👍👍
2019-12-21 21:52:49
please sign in to reply.
Sign In Sign Up

TomHenson

Super Moderador

Check-in 3 jours
Check-in 7 jours
Check-in 21 jours
Check-in 40 jours
Check-in 70 jours
Newbie Member
100 Коментарів
100 Тем
New Home
10k Mi Fans
Redmi Note 7
Cast Away
20K Mi Fans
Mi Love U & I
Bunny Winner
20K Mi Fans
Best Mi
Android Q
50K Mi Fans
Mobile Photography Lover
70K Mi Fans
Challenger
Eid ul-Fitr Mubarak
Brain Teaser
100K Mi Fans
Selfie Day
Mi 9T
Global Fans
My Country My Pride
Like
Check in
Reply
Favorites
Post
Profile Medal
MIUI 9th Birthday
Global Community
500
Redmi 7A
better together slogan
Global Community
games discuss
Mid-Autumn Festival
200K Mi Fans
400K Mi Fans
300K Mi Fans
2020
MIUI 11
close up
Halloween
Best Photo

Read moreGet new
Copyright©2010-2020 Xiaomi.com, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list