Ethan Yonker | 9ee045a | 2016-01-29 16:37:37 -0600 | [diff] [blame] | 1 | relink-binaries.sh |
| 2 | |
| 3 | Intended to "relink" or change the linker path for a linked binary. Normally |
| 4 | linked binaries are looking for the linker in /system/bin/linker (or |
| 5 | /system/bin/linker64 for 64 bit devices). In recovery, we want to avoid |
| 6 | mounting or using anything /system to allow us to install different |
| 7 | ROMs or firmware. This script will run various sed commands to update the |
| 8 | path to the linker to /sbin/linker64 or /sbin/linker which is sometimes |
| 9 | needed especially for qseecomd (decrypt) or in some cases with user space |
| 10 | touch screen binaries. Usage: |
| 11 | |
| 12 | ./relink-binaries.sh filename |
| 13 | |
| 14 | The script will leave the existing file untouched and make a new file |
| 15 | named filename-1-mod |
| 16 | |
| 17 | |
| 18 | |
| 19 | compare_xml.py |
| 20 | |
| 21 | Intended to compare two different language xml files to determine if any |
| 22 | strings do not match up between the two files. Sometimes we add or rename |
| 23 | or misspell string names. This script will help identify the discrepancies. |
| 24 | Usage: |
| 25 | |
| 26 | python compare_xml.py -o target.xml |
| 27 | |
Ethan Yonker | d946aa4 | 2016-03-30 13:06:18 -0500 | [diff] [blame] | 28 | |
| 29 | |
| 30 | language_helper.py |
| 31 | |
| 32 | This script reads the English and supplied other language files and |
| 33 | compares the 2 and reorders and rewrites the other language to a new |
| 34 | XML file such that all the strings are placed in the same order as |
| 35 | the English file. It will place commented out string lines for items |
| 36 | that are not present in the new file and will not include any strings |
| 37 | in the new file that are no longer present in the English source. |
| 38 | There is also a version tag that may be compared if present between |
| 39 | the English and other language in case a translation string changes. |
| 40 | |
| 41 | python language_helper.py -o ../gui/theme/common/languages/es.xml |