Skip to content

Commit

Permalink
logcat?
Browse files Browse the repository at this point in the history
  • Loading branch information
JabLuszko authored Nov 11, 2023
1 parent 6d7dbe7 commit 160e0b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion update_mad_a9.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/system/bin/sh
# update mad
# version 9.0
# version 9.0.1
# created by GhostTalker, hijaked by krz
#
# adb connect %1:5555
Expand All @@ -15,13 +15,16 @@ pdconf="/data/data/com.mad.pogodroid/shared_prefs/com.mad.pogodroid_preferences.
log(){
line="`date +'[%Y-%m-%dT%H:%M:%S %Z]'` $@"
echo "$line"
/system/bin/log -p v -t "MAD-ATV" "$@"
}

remount_ro(){
log "Remouting / as RO"
mount -o remount,ro /
}

remount_rw(){
log "Remouting / as RW"
mount -o remount,rw /
}

Expand Down

0 comments on commit 160e0b4

Please sign in to comment.