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