[Sony Xperia S, Acro S, Ion] Apology11:
Thanks. But I cant find the line :confused:

It sais:

mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "SEMC/LT26i_1257-4009/LT26i:4.0.4/6.1.A.0.452/O_5_zw:user/release-keys" ||
file_getprop("/system/build.prop", "ro.build.fingerprint") == "SEMC/LT26i_1257-4009/LT26i:4.0.4/6.1.A.0.452/O_5_zw:user/release-keys");

ui_print("Verifying current system...");
show_progress(0.100000, 0);
assert(apply_patch_check("/system/app/AntiSpam.apk", "6341c39b3fd05afbb3761c0d51abf98878415d34", "1fff75b67eec88590dd982245d3f60ec1c3aba0b"));
set_progress(0.002021);
assert(apply_patch_check("/system/app/Backup.apk", "d17f3aae2f327b4cb52e8237f681fae547e79d8e", "0ea915e4dd0868115b6c37510ad65b8d51251a6c"));
set_progress(0.008981);
assert(apply_patch_check("/system/app/Bluetooth.apk", "85ccd350cec88ef2e44504b81c75ee031748f2b7", "7aae10f3fbb87ba691028c1d41742aa9830b0324"));
set_progress(0.011406);
assert(apply_patch_check("/system/app/Browser.apk", "9ac6d2a5366097e6b644c77bcfb364a8215258ab", "f1392104262b0b31f598336a4fb22db7f438fe1d"));
set_progress(0.055751);
assert(apply_patch_check("/system/app/Calculator.apk", "6f3c0cd47eb62bd73a92ffb243d3f9453c78357a", "0cec9c6b5355c4de19c95e86149a2fe2d7e84171"));
set_progress(0.057846);
assert(apply_patch_check("/system/app/Calendar.apk", "6921d28ef668d3c3b4c044f27efde191700ae52d", "9247beba86415c9134fcf9bcd161f9d85de7faff"));
set_progress(0.069389);
assert(apply_patch_check("/system/app/CalendarProvider.apk", "954f380c85e7701a29798e1fbf34320e5f219b41", "295472a5c2cf04e2f2458d244d970fbb3b24948a"));
set_progress(0.071458);
assert(apply_patch_check("/system/app/CloudService.apk", "d4cde74e140e185346bd57e2d39f1328ed30ebab", "adeb734aedadc3968db550f4aa7754861f86b973"));
set_progress(0.072676);
assert(apply_patch_check("/system/app/Contacts.apk", "a4d10eddf687ece739c68c8b983e77000f38e331", "3d33753ed1266a1b264af8441993c20038a89c31"));
set_progress(0.108650);
assert(apply_patch_check("/system/app/ContactsProvider.apk", "2ab22c1920e7878b06b9cb8dbb2496d89785d593", "4123e6bdf29e20c8720ee1f3af4e82f549352513"));
set_progress(0.117191);
assert(apply_patch_check("/system/app/DownloadProvider.apk", "f36b8c3d45cc8a482455411859162113051cf654", "fa9863663a17a75314a2436e3706bcc0513ed4cc"));
set_progress(0.118776);
assert(apply_patch_check("/system/app/DownloadProviderUi.apk", "3250a8c06d5f94b4fa638741bedfc9aafa4d7b36", "d9540c48f9f71f013dd4de9c22655dd1fc40e826"));
set_progress(0.120805);
assert(apply_patch_check("/system/app/FileExplorer.apk", "f06469e0249794f1ebddfa2dfafdc03093b25780", "87c13af61e00f457118f36fd107ba9b722adc03b"));
set_progress(0.148174);
assert(apply_patch_check("/system/app/LatinIME.apk", "be94f8728f280b5aa83e092a63b4fa86fcf4e7a2", "1e63d2679029f1b7abc940c54c2ce40efb2d274c"));
set_progress(0.171939);
assert(apply_patch_check("/system/app/MiuiGallery.apk", "9edeb227552b0ce072748df5ec4bfee32b5bf16e", "43b883a101ec79103f48e68cab8dd86b7c259d53"));
set_progress(0.322547);
assert(apply_patch_check("/system/app/MiuiSystemUI.apk", "aefda6d638f884723b1a3a1b3345d1d16e3196df", "273932fe9b19249bd560915024b1c15b55c6de35"));
set_progress(0.349538);
assert(apply_patch_check("/system/app/Mms.apk", "3feac708b7212e194e531ee5dc87120d3643ab8d", "a906863ef1df6c34a03b4fe81cdf9b6f10f1377c"));
set_progress(0.419587);
assert(apply_patch_check("/system/app/Music.apk", "a74af829785108a0f3931eb9a17021510adffc43", "d88298cd8a5ca1f7c994ff8cbb576b63b6838512"));
set_progress(0.454384);
assert(apply_patch_check("/system/app/NetworkAssistant.apk", "29bf18d6046334ddb31077cd3c8aac134ed4bb86", "6ce5bd18ec2d418c1ffa1994683215138533c387"));
set_progress(0.459597);
assert(apply_patch_check("/system/app/NetworkLocation.apk", "b1382d7ac82ea8a76f3e6f4098c1d2a343430399", "8b6eee514f358c36d8411af9cef1621106e58bc1"));
set_progress(0.461574);
assert(apply_patch_check("/system/app/Notes.apk", "6f192a8e7956550b74735b6e86b5f6d433d31a5b", "9d3af6fa3951be8172aa3caf9e5cc89ce2afff9c"));
set_progress(0.476048);
assert(apply_patch_check("/system/app/PackageInstaller.apk", "91eec40a90cd87b3f8ad713923b0dfe10fb03329", "d723c339dd39dfa098cca4d64b1c6f7bf1e30c36"));
set_progress(0.476717);
assert(apply_patch_check("/system/app/Phone.apk", "51b7dd037b5321e0ea1241a35587c9136146d547", "7f9a8bde8b34a713c1169cd55918ace52359369f"));
set_progress(0.509162);
assert(apply_patch_check("/system/app/Provision.apk", "f93fff75cf925b088b9d4517734616d68cbe3026", "e6bb7e8d8c1179666d3e7f766168a2f964eb5b5d"));
set_progress(0.509227);
assert(apply_patch_check("/system/app/QuickSearchBox.apk", "e66fd66a9ea8ba15a232e5d53a7b602110e9d24d", "b7ca99c719fab4ff01b785b025d814eb4889e0d2"));
set_progress(0.515560);
assert(apply_patch_check("/system/app/Settings.apk", "ba11f8070acf3664f833b5cbd9bbf8b139c4edca", "2a9ff618eb5a3713c347db100136aca0aaef678d"));
set_progress(0.545527);
assert(apply_patch_check("/system/app/SettingsProvider.apk", "fa88e2b4155f74e1f4e766a269a8c5a3d52c83f0", "4a37de6e4f90197495816d2df2ed9b0275225281"));
set_progress(0.546282);
assert(apply_patch_check("/system/app/SoundRecorder.apk", "e10d772181d8dd1224837cfe7582a96583e067b4", "c53898f71d90554850776c5b4d526dc68958b870"));
set_progress(0.553988);
assert(apply_patch_check("/system/app/Stk.apk", "d66a1d5a3dc8cca9197e63e6c7f1dcceb57fcb05", "ebf8246338ecf1c38b8590e71072645a72706814"));
set_progress(0.554926);
assert(apply_patch_check("/system/app/SuperMarket.apk", "88a73f39e602bd32e2e7d0da62bb90b31f51554f", "10520e5756f0afce9c6ada38b72d906311123e49"));
set_progress(0.565435);
assert(apply_patch_check("/system/app/TelephonyProvider.apk", "3a35ba3ec514e393b1c475a67b4c2c96a92b770b", "8b02d605986134b01af5d3d2556ddc1102e05d4a"));
set_progress(0.566594);
assert(apply_patch_check("/system/app/TelocationProvider.apk", "f6c59bd0f6aac5d6b5ba3fb3f986f6ff3a1e0dcd", "96a1b7a50e27613270172e9725b7c98cb67bee82"));
set_progress(0.566848);
assert(apply_patch_check("/system/app/Updater.apk", "8095a14c6cf01de5e520701632e4e3636e18428f", "c93e144043657d76ed4d4b110784c66498d1ecd4"));
set_progress(0.579767);
assert(apply_patch_check("/system/app/WeatherProvider.apk", "71317f76b0c39e41c0a6be7222fab5fd25a12c56", "d0d04721f7b524c456872a2c0e0fe1bdca78c48b"));
set_progress(0.579935);
assert(apply_patch_check("/system/app/XiaomiServiceFramework.apk", "464b58be6a10281bf42f796b687c7ed0c7978ebc", "797c39ff3fb6bc331c18faf1415074af734d6361"));
set_progress(0.586486);
assert(apply_patch_check("/system/build.prop", "7617f8e841230a42a49fc62d5fd37180d0a0a91d", "2f00f97b0ef7b5dfd3f5ff256aa386ab4f86fa23"));
set_progress(0.586591);
assert(apply_patch_check("/system/framework/android.policy.jar", "4740ec759e47dc27db3f82f31670c781c4c801ee", "aab81d978a41b6472266476f7fde86b53289dafe"));
set_progress(0.591756);
assert(apply_patch_check("/system/framework/framework-miui-res.apk", "f6d0a16e3e3e0071df12e097ed54e546ac2c5bb5", "29e3b12b91b2e9b0ba036d8c1aeaf62ae6e1c72e"));
set_progress(0.612611);
assert(apply_patch_check("/system/framework/framework-res.apk", "b638512004c3ec4b6ccc510f89bd1ab7c06b914d", "3cec06195c91518294a04b04799d01fc5b9ef68c"));
set_progress(0.860171);
assert(apply_patch_check("/system/framework/framework.jar", "0c5f314b7fb308c501a503cc8a282bd5b56cce75", "8229f0bff76485d91381ceb7f486ec01cf438bf9"));
set_progress(0.941411);
assert(apply_patch_check("/system/framework/miui-framework.jar", "9e2b7689f6361c360d847a3e81133fed0192a553", "64a205ba209190a53d49380f0bd1097084bce740"));
set_progress(0.946873);
assert(apply_patch_check("/system/framework/services.jar", "8e22f9ed550f55063ee14265b7033521d7caa1fd", "2d1478496157effa545d00e82ae840331dc22d9d"));
set_progress(0.962704);
assert(apply_patch_check("/system/media/theme/default/icons", "fccd661fafdaed107791292db11c19a77527ac0f", "086b7475f666a3867d4c2986f693ef0bf5869d46"));
set_progress(1.000000);
assert(apply_patch_space(13806722));

# ---- start making changes here ----

ui_print("Removing unneeded files...");
delete("/system/lib/liblocSDK_2.5OEM.so", "/system/lib/liblocSDK_2.2.so",
"/system/lib/libnetworklocation.so",
"/system/recovery.img");
show_progress(0.800000, 0);
ui_print("Patching system files...");
apply_patch("/system/app/AntiSpam.apk", "-",
6341c39b3fd05afbb3761c0d51abf98878415d34, 112710,
1fff75b67eec88590dd982245d3f60ec1c3aba0b, package_extract_file("patch/system/app/AntiSpam.apk.p"));
set_progress(0.002023);
apply_patch("/system/app/Backup.apk", "-",
d17f3aae2f327b4cb52e8237f681fae547e79d8e, 388549,
0ea915e4dd0868115b6c37510ad65b8d51251a6c, package_extract_file("patch/system/app/Backup.apk.p"));
set_progress(0.008997);
apply_patch("/system/app/Bluetooth.apk", "-",
85ccd350cec88ef2e44504b81c75ee031748f2b7, 135250,
7aae10f3fbb87ba691028c1d41742aa9830b0324, package_extract_file("patch/system/app/Bluetooth.apk.p"));
set_progress(0.011425);
apply_patch("/system/app/Browser.apk", "-",
9ac6d2a5366097e6b644c77bcfb364a8215258ab, 2473170,
f1392104262b0b31f598336a4fb22db7f438fe1d, package_extract_file("patch/system/app/Browser.apk.p"));
set_progress(0.055817);
apply_patch("/system/app/Calculator.apk", "-",
6f3c0cd47eb62bd73a92ffb243d3f9453c78357a, 116858,
0cec9c6b5355c4de19c95e86149a2fe2d7e84171, package_extract_file("patch/system/app/Calculator.apk.p"));
set_progress(0.057915);
apply_patch("/system/app/Calendar.apk", "-",
6921d28ef668d3c3b4c044f27efde191700ae52d, 643950,
9247beba86415c9134fcf9bcd161f9d85de7faff, package_extract_file("patch/system/app/Calendar.apk.p"));
set_progress(0.069473);
apply_patch("/system/app/CalendarProvider.apk", "-",
954f380c85e7701a29798e1fbf34320e5f219b41, 115392,
295472a5c2cf04e2f2458d244d970fbb3b24948a, package_extract_file("patch/system/app/CalendarProvider.apk.p"));
set_progress(0.071545);
apply_patch("/system/app/CloudService.apk", "-",
d4cde74e140e185346bd57e2d39f1328ed30ebab, 67886,
adeb734aedadc3968db550f4aa7754861f86b973, package_extract_file("patch/system/app/CloudService.apk.p"));
set_progress(0.072763);
apply_patch("/system/app/Contacts.apk", "-",
a4d10eddf687ece739c68c8b983e77000f38e331, 2006325,
3d33753ed1266a1b264af8441993c20038a89c31, package_extract_file("patch/system/app/Contacts.apk.p"));
set_progress(0.108776);
apply_patch("/system/app/ContactsProvider.apk", "-",
2ab22c1920e7878b06b9cb8dbb2496d89785d593, 477259,
4123e6bdf29e20c8720ee1f3af4e82f549352513, package_extract_file("patch/system/app/ContactsProvider.apk.p"));
set_progress(0.117342);
apply_patch("/system/app/DownloadProvider.apk", "-",
f36b8c3d45cc8a482455411859162113051cf654, 88506,
fa9863663a17a75314a2436e3706bcc0513ed4cc, package_extract_file("patch/system/app/DownloadProvider.apk.p"));
set_progress(0.118931);
apply_patch("/system/app/DownloadProviderUi.apk", "-",
3250a8c06d5f94b4fa638741bedfc9aafa4d7b36, 114371,
d9540c48f9f71f013dd4de9c22655dd1fc40e826, package_extract_file("patch/system/app/DownloadProviderUi.apk.p"));
set_progress(0.120984);
apply_patch("/system/app/FileExplorer.apk", "-",
f06469e0249794f1ebddfa2dfafdc03093b25780, 1472941,
87c13af61e00f457118f36fd107ba9b722adc03b, package_extract_file("patch/system/app/FileExplorer.apk.p"));
set_progress(0.147423);
apply_patch("/system/app/LatinIME.apk", "-",
be94f8728f280b5aa83e092a63b4fa86fcf4e7a2, 1325434,
1e63d2679029f1b7abc940c54c2ce40efb2d274c, package_extract_file("patch/system/app/LatinIME.apk.p"));
set_progress(0.171213);
apply_patch("/system/app/MiuiGallery.apk", "-",
9edeb227552b0ce072748df5ec4bfee32b5bf16e, 8401683,
43b883a101ec79103f48e68cab8dd86b7c259d53, package_extract_file("patch/system/app/MiuiGallery.apk.p"));
set_progress(0.322020);
apply_patch("/system/app/MiuiSystemUI.apk", "-",
aefda6d638f884723b1a3a1b3345d1d16e3196df, 1505192,
273932fe9b19249bd560915024b1c15b55c6de35, package_extract_file("patch/system/app/MiuiSystemUI.apk.p"));
set_progress(0.349037);
apply_patch("/system/app/Mms.apk", "-",
3feac708b7212e194e531ee5dc87120d3643ab8d, 3907166,
a906863ef1df6c34a03b4fe81cdf9b6f10f1377c, package_extract_file("patch/system/app/Mms.apk.p"));
set_progress(0.419169);
apply_patch("/system/app/Music.apk", "-",
a74af829785108a0f3931eb9a17021510adffc43, 1940646,
d88298cd8a5ca1f7c994ff8cbb576b63b6838512, package_extract_file("patch/system/app/Music.apk.p"));
set_progress(0.454003);
apply_patch("/system/app/NetworkAssistant.apk", "-",
29bf18d6046334ddb31077cd3c8aac134ed4bb86, 291454,
6ce5bd18ec2d418c1ffa1994683215138533c387, package_extract_file("patch/system/app/NetworkAssistant.apk.p"));
set_progress(0.459234);
apply_patch("/system/app/NetworkLocation.apk", "-",
b1382d7ac82ea8a76f3e6f4098c1d2a343430399, 91366,
8b6eee514f358c36d8411af9cef1621106e58bc1, package_extract_file("patch/system/app/NetworkLocation.apk.p"));
set_progress(0.460874);
apply_patch("/system/app/Notes.apk", "-",
6f192a8e7956550b74735b6e86b5f6d433d31a5b, 811094,
9d3af6fa3951be8172aa3caf9e5cc89ce2afff9c, package_extract_file("patch/system/app/Notes.apk.p"));
set_progress(0.475433);
apply_patch("/system/app/PackageInstaller.apk", "-",
91eec40a90cd87b3f8ad713923b0dfe10fb03329, 37333,
d723c339dd39dfa098cca4d64b1c6f7bf1e30c36, package_extract_file("patch/system/app/PackageInstaller.apk.p"));
set_progress(0.476103);
apply_patch("/system/app/Phone.apk", "-",
51b7dd037b5321e0ea1241a35587c9136146d547, 1804402,
7f9a8bde8b34a713c1169cd55918ace52359369f, package_extract_file("patch/system/app/Phone.apk.p"));
set_progress(0.508491);
apply_patch("/system/app/Provision.apk", "-",
f93fff75cf925b088b9d4517734616d68cbe3026, 3598,
e6bb7e8d8c1179666d3e7f766168a2f964eb5b5d, package_extract_file("patch/system/app/Provision.apk.p"));
set_progress(0.508556);
apply_patch("/system/app/QuickSearchBox.apk", "-",
e66fd66a9ea8ba15a232e5d53a7b602110e9d24d, 353183,
b7ca99c719fab4ff01b785b025d814eb4889e0d2, package_extract_file("patch/system/app/QuickSearchBox.apk.p"));
set_progress(0.514895);
apply_patch("/system/app/Settings.apk", "-",
ba11f8070acf3664f833b5cbd9bbf8b139c4edca, 1671335,
2a9ff618eb5a3713c347db100136aca0aaef678d, package_extract_file("patch/system/app/Settings.apk.p"));
set_progress(0.544895);
apply_patch("/system/app/SettingsProvider.apk", "-",
fa88e2b4155f74e1f4e766a269a8c5a3d52c83f0, 42102,
4a37de6e4f90197495816d2df2ed9b0275225281, package_extract_file("patch/system/app/SettingsProvider.apk.p"));
set_progress(0.545651);
apply_patch("/system/app/SoundRecorder.apk", "-",
e10d772181d8dd1224837cfe7582a96583e067b4, 429763,
c53898f71d90554850776c5b4d526dc68958b870, package_extract_file("patch/system/app/SoundRecorder.apk.p"));
set_progress(0.553365);
apply_patch("/system/app/Stk.apk", "-",
d66a1d5a3dc8cca9197e63e6c7f1dcceb57fcb05, 52336,
ebf8246338ecf1c38b8590e71072645a72706814, package_extract_file("patch/system/app/Stk.apk.p"));
set_progress(0.554304);
apply_patch("/system/app/SuperMarket.apk", "-",
88a73f39e602bd32e2e7d0da62bb90b31f51554f, 586719,
10520e5756f0afce9c6ada38b72d906311123e49, package_extract_file("patch/system/app/SuperMarket.apk.p"));
set_progress(0.564835);
apply_patch("/system/app/TelephonyProvider.apk", "-",
3a35ba3ec514e393b1c475a67b4c2c96a92b770b, 64640,
8b02d605986134b01af5d3d2556ddc1102e05d4a, package_extract_file("patch/system/app/TelephonyProvider.apk.p"));
set_progress(0.565996);
apply_patch("/system/app/TelocationProvider.apk", "-",
f6c59bd0f6aac5d6b5ba3fb3f986f6ff3a1e0dcd, 14162,
96a1b7a50e27613270172e9725b7c98cb67bee82, package_extract_file("patch/system/app/TelocationProvider.apk.p"));
set_progress(0.566250);
apply_patch("/system/app/Updater.apk", "-",
8095a14c6cf01de5e520701632e4e3636e18428f, 720502,
c93e144043657d76ed4d4b110784c66498d1ecd4, package_extract_file("patch/system/app/Updater.apk.p"));
set_progress(0.579183);
apply_patch("/system/app/WeatherProvider.apk", "-",
71317f76b0c39e41c0a6be7222fab5fd25a12c56, 9359,
d0d04721f7b524c456872a2c0e0fe1bdca78c48b, package_extract_file("patch/system/app/WeatherProvider.apk.p"));
set_progress(0.579351);
apply_patch("/system/app/XiaomiServiceFramework.apk", "-",
464b58be6a10281bf42f796b687c7ed0c7978ebc, 365375,
797c39ff3fb6bc331c18faf1415074af734d6361, package_extract_file("patch/system/app/XiaomiServiceFramework.apk.p"));
set_progress(0.585909);
apply_patch("/system/framework/android.policy.jar", "-",
4740ec759e47dc27db3f82f31670c781c4c801ee, 288046,
aab81d978a41b6472266476f7fde86b53289dafe, package_extract_file("patch/system/framework/android.policy.jar.p"));
set_progress(0.591079);
apply_patch("/system/framework/framework-miui-res.apk", "-",
f6d0a16e3e3e0071df12e097ed54e546ac2c5bb5, 1168813,
29e3b12b91b2e9b0ba036d8c1aeaf62ae6e1c72e, package_extract_file("patch/system/framework/framework-miui-res.apk.p"));
set_progress(0.612059);
apply_patch("/system/framework/framework-res.apk", "-",
b638512004c3ec4b6ccc510f89bd1ab7c06b914d, 13807442,
3cec06195c91518294a04b04799d01fc5b9ef68c, package_extract_file("patch/system/framework/framework-res.apk.p"));
set_progress(0.859896);
apply_patch("/system/framework/framework.jar", "-",
0c5f314b7fb308c501a503cc8a282bd5b56cce75, 4531154,
8229f0bff76485d91381ceb7f486ec01cf438bf9, package_extract_file("patch/system/framework/framework.jar.p"));
set_progress(0.941228);
apply_patch("/system/framework/miui-framework.jar", "-",
9e2b7689f6361c360d847a3e81133fed0192a553, 304714,
64a205ba209190a53d49380f0bd1097084bce740, package_extract_file("patch/system/framework/miui-framework.jar.p"));
set_progress(0.946698);
apply_patch("/system/framework/services.jar", "-",
8e22f9ed550f55063ee14265b7033521d7caa1fd, 883676,
2d1478496157effa545d00e82ae840331dc22d9d, package_extract_file("patch/system/framework/services.jar.p"));
set_progress(0.962559);
apply_patch("/system/media/theme/default/icons", "-",
fccd661fafdaed107791292db11c19a77527ac0f, 2080040,
086b7475f666a3867d4c2986f693ef0bf5869d46, package_extract_file("patch/system/media/theme/default/icons.p"));
set_progress(0.999895);
show_progress(0.100000, 10);
ui_print("Unpacking new files...");
package_extract_dir("system", "/system");
ui_print("Symlinks and permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 1000, 0750, "/system/bin/iptables");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 0, 0644, "/system/bin/recovery");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(0, 1000, 0750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm_recursive(1000, 1000, 0750, 0440, "/system/etc/customization/applications");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/camera");
set_perm(0, 2000, 0755, "/system/vendor/etc");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/pittpatt");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-r0-ri30.4a/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rn30-ri30.5/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rp30-ri30.5/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N/full_model.bin");
set_perm_recursive(0, 0, 0755, 06755, "/system/xbin");
set_perm(0, 2000, 0755, "/system/xbin");
set_perm(0, 2000, 0755, "/system/xbin/dexdump");
ui_print("Patching remaining system files...");
apply_patch("/system/build.prop", "-",
7617f8e841230a42a49fc62d5fd37180d0a0a91d, 5856,
2f00f97b0ef7b5dfd3f5ff256aa386ab4f86fa23, package_extract_file("patch/system/build.prop.p"));
set_perm(0, 0, 0644, "/system/build.prop");
unmount("/system");