[HOWTO Android] Save melodies on Contacts after firmware update

xyyx

Senior Member
Sep 3, 2013
2,606
8,293
193
Irkutsk
If you copied melodies to system folder and you want to save it on all contacts after update firmware you need:

1. Make text file and save it as melody.sh with this text:

Code:
#!/bin/sh
cp ring/alarms/* /system/media/audio/alarms
cp ring/ringtones/* /system/media/audio/ringtones
cp ring/notifications/* /system/media/audio/notifications
chmod 644 /system/media/audio/alarms/*
chmod 644 /system/media/audio/ringtones/*
chmod 644 /system/media/audio/notifications/*
2. Make folder with name ring on your internal or external sdcard and copy melody.sh near this folder
3. Make in this folder empty .nomedia file to prevent melody's duplicate
4. Make also folders alarms, ringtones, notifications.
5. After update firmware in TWRP-Advanced-Terminal Command, select your sdcard . Write sh melody.sh
6. All done.