You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8.4 KiB

Modify Ring/Notification Tones

  1. CPS > Full Flash Report (Entire Flash) > 2025-ringtone-before-fullflashreport.s19

  2. ./moto-flash-data s19-tree -f 2025-ringtone-before-fullflashreport.s19

Example Output:

INF S19-Tree fileName=2025-ringtone-before-fullflashreport.s19
INF Reading file... fileSize=58451410
INF Index: 0, Start: 0x01000000, End: 0x0101EA33, Size: 125492 bytes, Slice: 0-3921
INF Index: 0, Media-ID: 0x00, Partition Size: 0x0001EA34 / 125492 bytes, Partition Tag: '1.13.5'
INF Index: 1, Start: 0x03000000, End: 0x03000107, Size: 264 bytes, Slice: 3922-3930
INF Index: 1, Media-ID: 0x43, Partition Size: 0x00000000 / 0 bytes, Partition Tag: 'Copyright 2019 Motorola Solution'
INF Index: 2, Start: 0x04000000, End: 0x0404B2CF, Size: 307920 bytes, Slice: 3931-13553
INF Index: 2, Media-ID: 0x10, Partition Size: 0x0004B2D0 / 307920 bytes, Partition Tag: '1.13.13-1'
INF Index: 3, Start: 0x04800000, End: 0x0484B2CF, Size: 307920 bytes, Slice: 13554-23176
INF Index: 3, Media-ID: 0x11, Partition Size: 0x0004B2D0 / 307920 bytes, Partition Tag: '1.13.13-2'
INF Index: 4, Start: 0x05000000, End: 0x0514281F, Size: 1320992 bytes, Slice: 23177-64457
INF Index: 4, Media-ID: 0x80, Partition Size: 0x00142820 / 1320992 bytes, Partition Tag: 'i34.000.94260   '
INF Index: 5, Start: 0x06000000, End: 0x060AF01F, Size: 716832 bytes, Slice: 64458-86858
INF Index: 5, Media-ID: 0x90, Partition Size: 0x000AF020 / 716832 bytes, Partition Tag: 'i34.000.94260   '
INF Index: 6, Start: 0x08000000, End: 0x08003FB1, Size: 16306 bytes, Slice: 86859-87368
INF Index: 6, Media-ID: 0xB0, Partition Size: 0x00003FB1 / 16305 bytes, Partition Tag: 'DATA_FILE1'
INF Index: 7, Start: 0x09000000, End: 0x0900001F, Size: 32 bytes, Slice: 87369-0
INF Index: 7, Media-ID: 0xC0, Partition Size: 0x00000020 / 32 bytes, Partition Tag: 'DATA_FILE2'
INF Index: 8, Start: 0x10000000, End: 0x1025FF0F, Size: 2490128 bytes, Slice: 87370-165186
INF Index: 8, Media-ID: 0x40, Partition Size: 0x0025FF10 / 2490128 bytes, Partition Tag: '2.6.34.6-1343AS '
INF Index: 9, Start: 0x11000000, End: 0x1154316F, Size: 5517680 bytes, Slice: 165187-337614
INF Index: 9, Media-ID: 0x20, Partition Size: 0x00543170 / 5517680 bytes, Partition Tag: 'R33.010.9426\0S'
INF Index: 10, Start: 0x13000000, End: 0x136C412F, Size: 7094576 bytes, Slice: 337615-559320
INF Index: 10, Media-ID: 0x50, Partition Size: 0x006C4130 / 7094576 bytes, Partition Tag: 'R34.000.94260S  '
INF Index: 11, Start: 0x14000000, End: 0x1429A29F, Size: 2728608 bytes, Slice: 559321-644589
INF Index: 11, Media-ID: 0x70, Partition Size: 0x0029A2A0 / 2728608 bytes, Partition Tag: 'HDCODEPLUG '
INF Index: 12, Start: 0x16000000, End: 0x160DA09F, Size: 893088 bytes, Slice: 644590-672498
INF Index: 12, Media-ID: 0x30, Partition Size: 0x000DA0A0 / 893088 bytes, Partition Tag: '1.13.96-1'
INF Index: 13, Start: 0x16800000, End: 0x168DA09F, Size: 893088 bytes, Slice: 672499-700407
INF Index: 13, Media-ID: 0x31, Partition Size: 0x000DA0A0 / 893088 bytes, Partition Tag: '1.13.96-2'
INF Index: 14, Start: 0x17000000, End: 0x1706F9DB, Size: 457180 bytes, Slice: 700408-714694
INF Index: 14, Media-ID: 0x10, Partition Size: 0x0006F9DC / 457180 bytes, Partition Tag: 'DUMMY_HEADER'
INF Index: 15, Start: 0x20000000, End: 0x20003123, Size: 12580 bytes, Slice: 714695-715088
INF Index: 15, Media-ID: 0x00, Partition Size: 0x00003124 / 12580 bytes, Partition Tag: ''
INF Index: 16, Start: 0x20800000, End: 0x2080D9BF, Size: 55744 bytes, Slice: 715089-716830
INF Index: 16, Media-ID: 0x00, Partition Size: 0x0000D9C0 / 55744 bytes, Partition Tag: ''
INF Index: 17, Start: 0x21000000, End: 0x21011CD7, Size: 72920 bytes, Slice: 716831-719109
INF Index: 17, Media-ID: 0x00, Partition Size: 0x00011CD8 / 72920 bytes, Partition Tag: ''
INF Index: 18, Start: 0x21800000, End: 0x21800547, Size: 1352 bytes, Slice: 719110-719152
INF Index: 18, Media-ID: 0x00, Partition Size: 0x00000548 / 1352 bytes, Partition Tag: ''
INF Index: 19, Start: 0x22000000, End: 0x22000547, Size: 1352 bytes, Slice: 719153-719195
INF Index: 19, Media-ID: 0x00, Partition Size: 0x00000548 / 1352 bytes, Partition Tag: ''
INF Index: 20, Start: 0x22800000, End: 0x228254EB, Size: 152812 bytes, Slice: 719196-723971
INF Index: 20, Media-ID: 0x00, Partition Size: 0x000254EC / 152812 bytes, Partition Tag: ''
INF Index: 21, Start: 0x23000000, End: 0x2300CFDF, Size: 53216 bytes, Slice: 723972-725634
INF Index: 21, Media-ID: 0x00, Partition Size: 0x0000CFE0 / 53216 bytes, Partition Tag: ''
INF Index: 22, Start: 0x23800000, End: 0x2380427B, Size: 17020 bytes, Slice: 725635-726166
INF Index: 22, Media-ID: 0x00, Partition Size: 0x0000427C / 17020 bytes, Partition Tag: ''
INF Index: 23, Start: 0x24000000, End: 0x2401B2B7, Size: 111288 bytes, Slice: 726167-729644
INF Index: 23, Media-ID: 0x00, Partition Size: 0x0001B2B8 / 111288 bytes, Partition Tag: ''
INF Index: 24, Start: 0x24800000, End: 0x24803A27, Size: 14888 bytes, Slice: 729645-730110
INF Index: 24, Media-ID: 0x00, Partition Size: 0x00003A28 / 14888 bytes, Partition Tag: ''
INF Index: 25, Start: 0x25000000, End: 0x25004337, Size: 17208 bytes, Slice: 730111-730648
INF Index: 25, Media-ID: 0x00, Partition Size: 0x00004338 / 17208 bytes, Partition Tag: ''

look for Partition 4-5 (4 = Short Tones, 5 = Ringtones)

  1. Extract the specified Partition into a seperate file.

./moto-flash-data s19-isolate-part -f 2025-ringtone-before-fullflashreport.s19 -i 5 -o mtp3250-part5.mpar

  1. List Partition PAX Contents:

./moto-flash-data mpar-pax-list -f mtp3250-part5.mpar

Example Output:

INF Reading raw file... fileSize=716832
INF Media-ID: 0x90, Partition Size: 0x000AF020 / 716832 bytes, Partition Tag: i34.000.94260   
INF Original-Full-Header-Hex: 9032f60c20f00a0000000000000000006933342e3030302e3934323630202020
&{48 RingTone4-1.wav  39244 509 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone3.wav  45714 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone1-1.wav  49644 509 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone5.wav  38716 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone6-1.wav  69814 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 DuplexVolumeSet-1.wav  31788 509 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone2.wav  41802 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 SimplexVolumeSet-1.wav  16408 509 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone3-1.wav  70124 509 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone5-1.wav  80844 509 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone2-1.wav  54380 509 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone4.wav  39382 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone1.wav  42456 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 RingTone6.wav  69814 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 DuplexVolumeSet.wav  5590 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
&{48 SimplexVolumeSet.wav  5164 436 0 0   2019-12-19 05:08:30 +0100 CET 0001-01-01 00:00:00 +0000 UTC 0001-01-01 00:00:00 +0000 UTC 0 0 map[] map[] GNU}
  1. Extract a specific Sound-File ./moto-flash-data mpar-pax-extract -m mtp3250-part5.mpar -f RingTone2.wav

  2. Modify the File as you wish.

  3. Replace the File in the Partition with a new version ./moto-flash-data mpar-pax-replace -m mtp3250-part5.mpar -f RingTone1.wav -r RingTone1.skype.wav -o mtp3250-part5-mod.mpar

  4. Create a new S19 File for the CPS ./moto-flash-data s19-from-mpar -a 0x06000000 -f mtp3250-part5-mod.mpar -o mtp3250-part5-mod.s19