Skip to content

Instantly share code, notes, and snippets.

View Rashed97's full-sized avatar

Rashed Abdel-Tawab Rashed97

  • Northern Virginia, United States
View GitHub Profile
VENDOR_SEPOL_PATH="${1}"
OUT_DIR="${2}"
rm -rf contexts contexts-sorted vendor-contexts ${OUT_DIR}
mkdir -p ${OUT_DIR}/vendor
context_files="file_contexts hwservice_contexts property_contexts seapp_contexts"
for context_file in $context_files; do
while read context_line; do
if ! grep -Frq "`echo "${context_line}" | cut -f1`" ../../../device/qcom/sepolicy/ ../../../system/sepolicy/ --exclude-dir=prebuilts --exclude-dir=compat; then
VENDOR_SEPOL_PATH="${1}"
OUT_DIR="${2}"
rm -rf contexts contexts-sorted vendor-contexts ${OUT_DIR}
mkdir -p ${OUT_DIR}/vendor
context_files="file_contexts hwservice_contexts property_contexts seapp_contexts"
for context_file in $context_files; do
while read context_line; do
if ! grep -Frq "`echo "${context_line}" | cut -f1`" ../../../device/qcom/sepolicy/ ../../../system/sepolicy/ --exclude-dir=prebuilts --exclude-dir=compat; then
Binary files out/target/product/gts4lvwifi/vendor/app/ConnectionSecurityService/ConnectionSecurityService.apk and /home/rashed/storage/dumps/t720/images/AP/vendor/app/ConnectionSecurityService/ConnectionSecurityService.apk differ
Binary files out/target/product/gts4lvwifi/vendor/app/SSGTelemetryService/SSGTelemetryService.apk and /home/rashed/storage/dumps/t720/images/AP/vendor/app/SSGTelemetryService/SSGTelemetryService.apk differ
Binary files out/target/product/gts4lvwifi/vendor/app/TimeService/TimeService.apk and /home/rashed/storage/dumps/t720/images/AP/vendor/app/TimeService/TimeService.apk differ
Binary files out/target/product/gts4lvwifi/vendor/app/TrustZoneAccessService/TrustZoneAccessService.apk and /home/rashed/storage/dumps/t720/images/AP/vendor/app/TrustZoneAccessService/TrustZoneAccessService.apk differ
Binary files out/target/product/gts4lvwifi/vendor/bin/acpi and /home/rashed/storage/dumps/t720/images/AP/vendor/bin/acpi differ
Binary files out/target/product/gts4lvwifi/vendor/bin/awk and /home/
Binary files out/target/product/gts4lvwifi/vendor/app/ConnectionSecurityService/ConnectionSecurityService.apk and /home/rashed/storage/dumps/t720/images/AP/vendor/app/ConnectionSecurityService/ConnectionSecurityService.apk differ
Binary files out/target/product/gts4lvwifi/vendor/app/SSGTelemetryService/SSGTelemetryService.apk and /home/rashed/storage/dumps/t720/images/AP/vendor/app/SSGTelemetryService/SSGTelemetryService.apk differ
Binary files out/target/product/gts4lvwifi/vendor/app/TimeService/TimeService.apk and /home/rashed/storage/dumps/t720/images/AP/vendor/app/TimeService/TimeService.apk differ
Binary files out/target/product/gts4lvwifi/vendor/app/TrustZoneAccessService/TrustZoneAccessService.apk and /home/rashed/storage/dumps/t720/images/AP/vendor/app/TrustZoneAccessService/TrustZoneAccessService.apk differ
Binary files out/target/product/gts4lvwifi/vendor/bin/acpi and /home/rashed/storage/dumps/t720/images/AP/vendor/bin/acpi differ
Binary files out/target/product/gts4lvwifi/vendor/bin/awk and /home/
/*
* Copyright 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@Rashed97
Rashed97 / commands.txt
Created March 2, 2017 04:50
Command listing for rowbot@chat.freenode.net
8BALL 8ball
ADMIN save quit msg part me join set mode
ADMINCHANNEL unquiet topic kickban kick tmask showmask quiet
unban ban
ANNOUNCE announce
CALC py c
@Rashed97
Rashed97 / commands.txt
Created February 25, 2017 06:06
Command listing for rowbot@chat.freenode.net
8BALL 8ball
ADMIN save quit msg part me join set mode
ADMINCHANNEL unquiet topic kickban kick tmask showmask quiet
unban ban
ANNOUNCE announce
CALC py c
@Rashed97
Rashed97 / commands.txt
Created February 22, 2017 03:12
Command listing for rowbot@chat.freenode.net
8BALL 8ball
ADMIN save quit msg part me join set mode
ADMINCHANNEL unquiet topic kickban kick tmask showmask quiet
unban ban
ANNOUNCE announce
CALC py c
@Rashed97
Rashed97 / commands.txt
Created February 21, 2017 03:45
Command listing for rowbot@chat.freenode.net
8BALL 8
ADMIN save quit msg part me join set mode
ADMINCHANNEL unquiet topic kickban kick tmask showmask quiet
unban ban
ANNOUNCE announce
CALC py c
@Rashed97
Rashed97 / commands.txt
Created February 21, 2017 01:47
Command listing for rashed-bot@chat.freenode.net
8BALL 8
ADMIN save quit msg part me join set mode
ADMINCHANNEL unquiet topic kickban kick tmask showmask quiet
unban ban
ANNOUNCE announce
CALC py c