Created
April 1, 2018 12:58
-
-
Save pinetum/c7c933bc534f66cf11d3db37e58d9c29 to your computer and use it in GitHub Desktop.
change mi6 nfc id
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/system/bin/sh | |
su -c " | |
echo \"enter /system/etc\" &&\ | |
cd /system/etc &&\ | |
echo \"mount /system rw\" &&\ | |
mount -o rw,remount /system &&\ | |
echo \"patch nfc id\" &&\ | |
sed -i -e 's/33, 04, 01, 02, 03, 04,/33, 04, AA, AA, AA, AA,/g' libnfc-nxp.conf &&\ | |
echo \"mount /system ro\" &&\ | |
mount -o ro,remount /system &&\ | |
echo \"restart nfc\" &&\ | |
svc nfc disable &&\ | |
sleep 5 &&\ | |
svc nfc enable &&\ | |
echo \"done!\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment