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 | |