Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Daniil Appendme

🏠
Working from home
  • Russia, Tomsk
View GitHub Profile
View vscode-uppercase path
-------- Diagnostics - 08.07.2019, 0:41:26
Version: 0.24.0
Current Configuration:
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
View iMod ota crash
--------- beginning of crash
E/AndroidRuntime( 7891): FATAL EXCEPTION: main
E/AndroidRuntime( 7891): Process: com.vk.imod, PID: 7891
E/AndroidRuntime( 7891): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
E/AndroidRuntime( 7891): at android.app.ContextImpl.startActivity(ContextImpl.java:1269)
E/AndroidRuntime( 7891): at android.app.ContextImpl.startActivity(ContextImpl.java:1256)
E/AndroidRuntime( 7891): at android.content.ContextWrapper.startActivity(ContextWrapper.java:329)
E/AndroidRuntime( 7891): at com.vk.imod.fragments.ImodOtaUpdater$GetTask$1$1.onClick(ImodOtaUpdater.java:98)
E/AndroidRuntime( 7891): at android.support.v7.app.AlertController$b.handleMessage(AlertController.java:166)
E/AndroidRuntime( 7891): at android.os.Handler.dispatchMessage(Handler.java:102)
View string reverse
#include <iostream>
#include <fstream>
#include <vector>
int main()
{
std::ifstream input("input.txt");
std::vector<std::string> strings;
std::string temp;
while (input >> temp)
View TFA9890
D : Tfa98xx: +MTK_Tfa98xx_SetSampleRate, samplerate=44100
I TFA9890 : tfa9890_setSamplerate samplerate:44100 +
I TFA9890 : tfa9890_setSamplerate -
D : Tfa98xx: -MTK_Tfa98xx_SetSampleRate
D : Tfa98xx: +MTK_Tfa98xx_SetEQ, mode=0
I TFA9890 : tfa9890_EQset mode: 0 -> 0+
I TFA9890 : tfa9890_EQset -
D : Tfa98xx: -MTK_Tfa98xx_SetEQ
D : Tfa98xx: +MTK_Tfa98xx_SpeakerOn, nxp_init_flag= 0
D : Tfa98xx: +MTK_Tfa98xx_Init
View gist:bea94933925038f4b651bc144aedfd59
--------- beginning of system
I/auditd ( 250): Starting up
I/audit_log( 250): Previous audit logfile not detected
E/audit_rules( 250): Could not read audit rules /data/misc/audit/audit.rules: No such file or directory
I/Vold ( 234): Vold 2.1 (the revenge) firing up
D/Vold ( 234): Volume sdcard0 state changing -1 (Initializing) -> 0 (No-Media)
I/Cryptfs ( 234): Check if PFE is activated on Boot
E/Cryptfs ( 234): Bad magic for real block device /dev/block/platform/mtk-msdc.0/by-name/userdata
E/Cryptfs ( 234): Error getting crypt footer and key
W/DirectVolume( 234): Deprecated implied prefix pattern detected, please use '/devices/mtk-msdc.0/11230000.MSDC0*' instead
View ccci_mdinit
03-24 24 09:10:10.617 248 248 I : (6)[248:ccci_mdinit][ccci0/util]security is on!
03-24 09:10:10.617 248 248 I : (6)[248:ccci_mdinit][ccci1/mcd]CLDMA modem is starting
03-24 09:10:10.617 248 248 I : (6)[248:ccci_mdinit][ccci1/plat]Clear MD region protect...
03-24 09:10:10.617 248 248 I : (6)[248:ccci_mdinit][ccci1/plat]Clear MPU protect MD ROM region<4>
03-24 09:10:10.617 248 248 I : (6)[248:ccci_mdinit][ccci1/plat]Clear MPU protect MD R/W region<5>
03-24 09:10:10.617 248 248 E : (6)[248:ccci_mdinit][ccci1/util]MD1 image postfix=1_ltg_n
03-24 09:10:10.617 248 248 E : (6)[248:ccci_mdinit][ccci1/util]MD1 image postfix=1_ltg_n_E1
03-24 09:10:10.617 248 248 I : (6)[248:ccci_mdinit][ccci1/util]Find img @CIP
03-24 09:10:10.617 248 248 I : (6)[248:ccci_mdinit][ccci1/util]try to open modem_1_ltg_n.img
03-24 09:10:10.617 248 248 I : (6)[248:ccci_mdinit][ccci1/util]try to open modem_1_ltg_n_E1.img
View permission_check
x2eu:/ # permission_check
permission_check
chmod: /data/nvram/md/NVRAM/IMPORTNT: No such file or directory
chmod: /data/nvram/md/NVRAM/NVD_CORE: No such file or directory
chmod: /data/nvram/md/NVRAM/NVD_DATA: No such file or directory
chmod: /data/nvram/md/NVRAM/IMPORTNT/*: No such file or directory
chmod: /data/nvram/md/NVRAM/NVD_CORE/*: No such file or directory
chmod: /data/nvram/md/NVRAM/NVD_DATA/*: No such file or directory
chmod: /data/mdl: No such file or directory
chmod: /data/mdl/*: No such file or directory
View EGL_BAD_DISPLAY
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
LineageOS Version: '14.1-20170226-UNOFFICIAL-For_EU'
Build fingerprint: 'Lenovo/lineage_x2eu/x2eu:7.1.1/NMF26V/fad900a7bc:userdebug/test-keys'
Revision: '0'
ABI: 'arm'
pid: 2944, tid: 3620, name: Chrome_InProcGp >>> com.google.android.gms.ui <<<
signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0xa1490a14
r0 96100f1c r1 b3e17cb6 r2 b3e17cb6 r3 00000000
r4 b46b8008 r5 96100f1c r6 96100f20 r7 aa40bcc0
r8 000000a2 r9 00000000 sl 000000a2 fp 00000000
View gist:eaf121e2dd48e09d12e7671346c51756
02-26 18:17:22.388 2826 2826 D AndroidRuntime: Shutting down VM
02-26 18:17:22.389 2826 2826 E AndroidRuntime: FATAL EXCEPTION: main
02-26 18:17:22.389 2826 2826 E AndroidRuntime: Process: com.android.settings, PID: 2826
02-26 18:17:22.389 2826 2826 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings$WirelessSettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.PersistableBundle.getBoolean(java.lang.String)' on a null object reference
02-26 18:17:22.389 2826 2826 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
02-26 18:17:22.389 2826 2826 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
02-26 18:17:22.389 2826 2826 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
02-26 18:17:22.389 2826 2826 E AndroidRuntime: at android.app.ActivityThread
View gist:b2a8c969ae18feed1c57e2d77bc211f6
11-19 16:40:21.731 12888 12888 W System : ClassLoader referenced unknown path: /data/app/com.valvesoftware.android.steam.community-1/lib/arm
11-19 16:40:21.927 12888 12888 I WebViewFactory: Loading com.google.android.webview version 54.0.2840.85 (code 284008500)
11-19 16:40:22.015 12888 12888 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
11-19 16:40:22.015 12888 12888 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
11-19 16:40:22.018 12888 12888 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
11-19 16:40:22.018 12888 12888 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
11-19 16:40:22.037 12888 12888 I cr_LibraryLoader: Time to load native libraries: 10 ms (timestamps 3173-318
You can’t perform that action at this time.