From 9ee045a21c661dc38696b8425419cbbc32d8e85c Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Fri, 29 Jan 2016 16:37:37 -0600 Subject: Add compare xml script and move/update relink-binaries.sh Add script to compare string values between 2 language xml files which will make it easier to identify strings that are missing between the 2 files. Move relink-binaries.sh to scripts folder and update it to handle relinking 64 bit binaries. Change-Id: Ia7a8bdbeea02256b3b864ab77e15912795275d33 --- scripts/README | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 scripts/README (limited to 'scripts/README') diff --git a/scripts/README b/scripts/README new file mode 100644 index 000000000..ff8b36621 --- /dev/null +++ b/scripts/README @@ -0,0 +1,27 @@ +relink-binaries.sh + +Intended to "relink" or change the linker path for a linked binary. Normally +linked binaries are looking for the linker in /system/bin/linker (or +/system/bin/linker64 for 64 bit devices). In recovery, we want to avoid +mounting or using anything /system to allow us to install different +ROMs or firmware. This script will run various sed commands to update the +path to the linker to /sbin/linker64 or /sbin/linker which is sometimes +needed especially for qseecomd (decrypt) or in some cases with user space +touch screen binaries. Usage: + +./relink-binaries.sh filename + +The script will leave the existing file untouched and make a new file +named filename-1-mod + + + +compare_xml.py + +Intended to compare two different language xml files to determine if any +strings do not match up between the two files. Sometimes we add or rename +or misspell string names. This script will help identify the discrepancies. +Usage: + +python compare_xml.py -o target.xml + -- cgit v1.2.3