Denial in question
*scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0
sepolicy fix
allow system_app ipa_dev:chr_file {read write};
| #!/bin/bash | |
| # | |
| # Copyright (C) 2020 Pig <pig.priv@gmail.com> | |
| # | |
| # Simple script to import/update kernel modules | |
| # Version 0.2 | |
| # | |
| # Aliases | |
| cai='git commit --amend --no-edit' |
| string="Copyright (C) $1 XiaoMi, Inc." | |
| while IFS= read -r file; do | |
| sed -i "/$string/d" "$file" || continue; | |
| done < <(grep -R "$string" . | cut -d ':' -f 1) |
| 02-10 01:15:28.015 25699 25699 D AndroidRuntime: Shutting down VM | |
| 02-10 01:15:28.016 25699 25699 E AndroidRuntime: FATAL EXCEPTION: main | |
| 02-10 01:15:28.016 25699 25699 E AndroidRuntime: Process: com.android.phone, PID: 25699 | |
| 02-10 01:15:28.016 25699 25699 E AndroidRuntime: java.lang.NoSuchMethodError: No virtual method getEssentialRecordsLoaded()Z in class Lcom/android/internal/telephony/uicc/IccRecords; or its super classes (declaration of 'com.android.internal.telephony.uicc.IccRecords' appears in /system/framework/telephony-common.jar) | |
| 02-10 01:15:28.016 25699 25699 E AndroidRuntime: at com.qualcomm.qti.internal.telephony.dataconnection.QtiDcTracker.onRecordsLoadedOrSubIdChanged(QtiDcTracker.java:82) | |
| 02-10 01:15:28.016 25699 25699 E AndroidRuntime: at com.android.internal.telephony.dataconnection.DcTracker$DctOnSubscriptionsChangedListener.onSubscriptionsChanged(DcTracker.java:412) | |
| 02-10 01:15:28.016 25699 25699 E AndroidRuntime: at android.telephony.SubscriptionManager$OnSubscriptions |
| #!/bin/bash | |
| set -e | |
| sed -i -e 's/^#\(en_US\|zh_CN\)\(\.UTF-8\)/\1\2/g' /etc/locale.gen | |
| locale-gen | |
| echo "LANG=en_US.UTF-8" > /etc/locale.conf | |
| ln -sf /usr/share/zoneinfo/Asia/New_York /etc/localtime | |
| hwclock --systohc |
Denial in question
*scontext=u:r:system_app:s0 tcontext=u:object_r:ipa_dev:s0 tclass=chr_file permissive=0
sepolicy fix
allow system_app ipa_dev:chr_file {read write};
| For msm | |
| Go into your kernel folder with a terminal and do | |
| git fetch https://source.codeaurora.org/quic/la/kernel/msm-xxx/ LA.UM.x.x.rx-0XXXX-xxxxxx.x | |
| Then to do the merge you just have to do | |
| git merge FETCH_HEAD | |
| Now just fix the conflicts if there and then do |