Fix incomplete logs

This commit is contained in:
solohsu 2019-03-11 00:32:38 +08:00
parent 39109e27f1
commit 3097077261
1 changed files with 0 additions and 11 deletions

View File

@ -24,14 +24,6 @@ supolicy --live "attradd {system_app platform_app} mlstrustedsubject"
supolicy --live "allow zygote apk_data_file * *"
# beginning of Log Catcher
msg[0]="Now just a little more only just a little more..."
msg[1]="It's not a right that I'm due, my duty that is must have been kept..."
msg[2]="Since one day you will disappear, I'll keep every part of you..."
msg[3]="Yes we are time fliers scaling the walls of time climbers, tired of playing hide and seek with time..."
msg[4]="Wherever you are in the world, I'll search for you..."
msg[5]="Mitsuha. Mitsuha. Mitsuha, your name is Mitsuha..."
msg[6]="Someone dear to me. I don't want to forget. I shouldn't forget!"
time=$(date +%Y-%m-%d-%H-%M-%S)
android_sdk=`getprop ro.build.version.sdk`
if [[ ${android_sdk} -ge 24 ]]
then
@ -40,8 +32,6 @@ else
path=/data/data/com.solohsu.android.edxp.manager/log
fi
file=${path}/error.log
num=$(($RANDOM+100000000))
rand=$(($num%7))
build_desc=`getprop ro.build.description`
product=`getprop ro.build.product`
manufacturer=`getprop ro.product.manufacturer`
@ -59,7 +49,6 @@ echo "--------- beginning of head">>${file}
echo "EdXposed Log">>${file}
echo "Powered by Log Catcher">>${file}
echo "QQ chat group 855219808">>${file}
echo ${msg[$rand]}>>${file}
echo "--------- beginning of system info">>${file}
echo "Android version: ${android}">>${file}
echo "Android sdk: ${android_sdk}">>${file}