[Success!] Cyanogenmod porting thread - Galaxy Tab S General

Keeping a log of my development process for future posterity.
http://forum.xda-developers.com/gal...fficial-cyanogenmod-11-android-4-4-4-t2835170 for current versions

Do you have a link to a github repo ? Thank you

~/android/system/.repo/local_manifests/local_manifest.xml
---
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="eousphoros/android_hardware_samsung_slsi_exynos5420.git" path="hardware/samsung_slsi/exynos5420" remote="github" revision="cm-11.0"/>
<project name="eousphoros/android_kernel_samsung_exynos5420.git" path="kernel/samsung/exynos5420" remote="github" revision="cm-11.0"/>
<project name="eousphoros/android_device_samsung_klimtwifi.git" path="device/samsung/klimtwifi" remote="github" revision="cm-11.0"/>
</manifest>

Removed the CWM build for now, though you can easily build it using the git repos above. I will re-release when at the same time I release CM

Wow respect, I would like to be able to do the same for the 10.5 !
I know how to build from cm11 sources myself, but start for a new device I don't know how!

Orphee said:
Wow respect, I would like to be able to do the same for the 10.5 !
I know how to build from cm11 sources myself, but start for a new device I don't know how!
Click to expand...
Click to collapse
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
I started there and just started googling.

Good luck eousphoros!!
I also have a 8.4 tab s and I would love CM11

eousphoros said:
Just wanted to mention I posted a download link in the first post as well updated the screenshot to reflect the current build. No promises but I am now running down the futile path of getting CM 11 running on the Tab S 8.4. Wish me luck.
Click to expand...
Click to collapse
Is there yet a CyanogenMod version available for _any_ Exynos based device? My understanding is that it's not really possible without major reverse engineering due to the closed nature of the Exynos drivers. I for one would love a CM port for Tab S but my guess is we'll have to settle for some slimmed/themed mods based on the stock ROM.

qcjulle said:
Is there yet a CyanogenMod version available for _any_ Exynos based device? My understanding is that it's not really possible without major reverse engineering due to the closed nature of the Exynos drivers. I for one would love a CM port for Tab S but my guess is we'll have to settle for some slimmed/themed mods based on the stock ROM.
Click to expand...
Click to collapse
Nexus 10? http://wiki.cyanogenmod.org/w/Manta_Info

itzweber said:
Nexus 10? http://wiki.cyanogenmod.org/w/Manta_Info
Click to expand...
Click to collapse
Thank you for the link. I missed that in my first pass. Time to digg thru their git repos.

qcjulle said:
Is there yet a CyanogenMod version available for _any_ Exynos based device? My understanding is that it's not really possible without major reverse engineering due to the closed nature of the Exynos drivers. I for one would love a CM port for Tab S but my guess is we'll have to settle for some slimmed/themed mods based on the stock ROM.
Click to expand...
Click to collapse
You are probably right, like I said this effort maybe futile but I love a good challenge.

eousphoros said:
You are probably right, like I said this effort maybe futile but I love a good challenge.
Click to expand...
Click to collapse
Sounds like the Note 3 International edition has the same soc, and cm is being ported to it: http://www.cyanogenmod.org/blog/this-week-in-cm-apr-26-2014
Upcoming devices
Our maintainers are working on all of the new flagships, including the new HTC One, S5, Note 3 Exynos
Click to expand...
Click to collapse
Kernel source? http://www.androidpolice.com/2014/0...owered-galaxy-note-3-including-kernel-source/
Not sure how much any of that helps I guess

itzweber said:
Nexus 10? http://wiki.cyanogenmod.org/w/Manta_Info
Click to expand...
Click to collapse
Yeah, silly me forgetting the Nexus line. It looks as though the international version of the Galaxy S4 (I9500) also has CM11 and a bunch of other roms as well: http://forum.xda-developers.com/galaxy-s4/i9500-orig-develop.
And there are ROMs for the Note 3 Exynos version (N900) as well: http://forum.xda-developers.com/galaxy-note-3/galaxy-note-3-exynos-android-development
So maybe there is still hope, slim as it is I got badly burned with the Exynos4 in the Galaxy Tab 7.7 but Exynos5 might fare better.

Quick update, I posted a newer build of CWM (Notably the fonts are more readable and its coming out of my current CM port tree). Also I have CM booting; currently getting a black screen but adb is up and running, so there is that.

eousphoros said:
Quick update, I posted a newer build of CWM (Notably the fonts are more readable and its coming out of my current CM port tree). Also I have CM booting; currently getting a black screen but adb is up and running, so there is that.
Click to expand...
Click to collapse
Wow I really wish to get the best Android Tablet with the best Android Version (CM11)!!!!
The top of the top...... I would really like Google stops to let customers as Samsung, etc... to destroy the real, clean, fast, productive core of Android. For the moment I just un-installed as much crap I could but I would really love to use CM.
I have it on my Nexus 5 and love it so much..........
Just a note: don't u really think this 3D has to be moved to Original Development?
Many many thanks for your work!!!

About to head to my baby shower but wanted to toss another update. I think I've nailed down where its crashing on startup. Now I have a place to start drilling into.
07-27 00:10:55.720 3673 3673 I SurfaceFlinger: SurfaceFlinger is starting
07-27 00:10:55.720 3673 3673 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
07-27 00:10:55.735 3673 3673 D libEGL : loaded /vendor/lib/egl/libGLES_mali.so
07-27 00:10:55.740 3673 3673 I : PLATFORM VERSION : JB-MR-2
07-27 00:10:55.740 3673 3673 I gralloc : using (fd=19)
id =
xres = 1600 px
yres = 2560 px
xres_virtual = 1600 px
yres_virtual = 5120 px
bpp = 32
r = 16:8
g = 8:8
b = 0:8
07-27 00:10:55.740 3673 3673 I gralloc : width = 113 mm (359.646027 dpi)
height = 180 mm (361.244446 dpi)
refresh rate = 60.22 Hz
07-27 00:10:55.805 3673 3673 E SurfaceFlinger: hwcomposer module not found
07-27 00:10:55.805 3673 3673 W SurfaceFlinger: getting VSYNC period from fb HAL: 16606882
07-27 00:10:55.805 3673 3673 I SurfaceFlinger: EGL informations:
07-27 00:10:55.805 3673 3673 I SurfaceFlinger: vendor : Android
07-27 00:10:55.805 3673 3673 I SurfaceFlinger: version : 1.4 Android META-EGL
07-27 00:10:55.805 3673 3673 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable
07-27 00:10:55.805 3673 3673 I SurfaceFlinger: Client API: OpenGL_ES
07-27 00:10:55.805 3673 3673 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0xb8a76d24
07-27 00:10:55.815 3673 3673 I SurfaceFlinger: OpenGL ES informations:
07-27 00:10:55.815 3673 3673 I SurfaceFlinger: vendor : ARM
07-27 00:10:55.815 3673 3673 I SurfaceFlinger: renderer : Mali-T628
07-27 00:10:55.815 3673 3673 I SurfaceFlinger: version : OpenGL ES 3.0
07-27 00:10:55.815 3673 3673 I SurfaceFlinger: extensions: GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_o07-27 00:10:55.815 3673 3673 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 8192
07-27 00:10:55.815 3673 3673 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 8192
07-27 00:10:55.820 3673 3673 D mali_winsys: new_window_surface returns 0x300b
07-27 00:10:55.820 3673 3673 E libEGL : eglQuerySurface:599 error 300d (EGL_BAD_SURFACE)
07-27 00:10:55.820 3673 3673 E libEGL : eglQuerySurface:599 error 300d (EGL_BAD_SURFACE)
07-27 00:10:55.820 3673 3673 E libEGL : call to OpenGL ES API with no current context (logged once per thread)
07-27 00:10:55.820 3673 3673 D SurfaceFlinger: Screen acquired, type=0 flinger=0xb8a5a450
07-27 00:10:55.830 3673 3673 E libEGL : eglSwapBuffers:1060 error 300d (EGL_BAD_SURFACE)
07-27 00:10:55.830 3673 3673 F SurfaceFlinger: eglSwapBuffers(0x1, 0x0) failed with 0x0000300d
07-27 00:10:55.830 3673 3673 F libc : Fatal signal 6 (SIGABRT) at 0x00000e59 (code=-6), thread 3673 (surfaceflinger)

Thanks a lot!

Fixed the surfaceflinger crash, now the media server is having some issues. Man I haven't had this much fun installing Linux since the 90's. Reminds me of a time I spent a week installing Slackware. I'm learning a ton about android. The boot sequence itself is quiet interesting.

eousphoros said:
Fixed the surfaceflinger crash, now the media server is having some issues. Man I haven't had this much fun installing Linux since the 90's. Reminds me of a time I spent a week installing Slackware. I'm learning a ton about android. The boot sequence itself is quiet interesting.
Click to expand...
Click to collapse
Today has found the return of a crashing surfaceflinger due to moving to the slsi hwcomposer and gralloc. Though the big news is I created an image with several prop triggers that let me selectively enable and disable services using setprop that has accelerated my ability to test out code.

eousphoros said:
Today has found the return of a crashing surfaceflinger due to moving to the slsi hwcomposer and gralloc. Though the big news is I created an image with several prop triggers that let me selectively enable and disable services using setprop that has accelerated my ability to test out code.
Click to expand...
Click to collapse
I have no idea what all that means but AWESOME! Keep up the good work

Related

[Q] Nexus One - Blank screen

I am having very strange issues with my Nexus One. It seems to be having issues with later versions of Kernel and recoveries!! I have tried flashing almost all the custom ROM's and it ends up with a blank screen. Nothing gets displayed. But the touchscreen and phone itself works. Because I can get calls and I can see everything using android screencast program on my desktop.
To resolve the issue, I always flash 2.6.35.4_SVS-925mV_CFS_AXI_720p_1113MHz_082710 on top of any ROM I install. This has been the case with every ROM. Trust me, I have tried almost every ROM out there! I was running adb shell bugreport and found the below error (highlighted in bold). Is this what is causing the problem? Any ideas how to resolve it?
11-17 11:38:40.267 I/SurfaceFlinger( 174): SurfaceFlinger is starting
11-17 11:38:40.267 I/SurfaceFlinger( 174): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
11-17 11:38:40.277 I/qsd8k.gralloc( 174): using (fd=29)
11-17 11:38:40.277 I/qsd8k.gralloc( 174): id = msmfb
11-17 11:38:40.277 I/qsd8k.gralloc( 174): xres = 480 px
11-17 11:38:40.277 I/qsd8k.gralloc( 174): yres = 800 px
11-17 11:38:40.277 I/qsd8k.gralloc( 174): xres_virtual = 480 px
11-17 11:38:40.277 I/qsd8k.gralloc( 174): yres_virtual = 1600 px
11-17 11:38:40.277 I/qsd8k.gralloc( 174): bpp = 32
11-17 11:38:40.277 I/qsd8k.gralloc( 174): r = 0:8
11-17 11:38:40.277 I/qsd8k.gralloc( 174): g = 8:8
11-17 11:38:40.277 I/qsd8k.gralloc( 174): b = 16:8
11-17 11:38:40.277 I/qsd8k.gralloc( 174): width = 48 mm (254.000000 dpi)
11-17 11:38:40.277 I/qsd8k.gralloc( 174): height = 80 mm (254.000000 dpi)
11-17 11:38:40.277 I/qsd8k.gralloc( 174): refresh rate = 60.00 Hz
11-17 11:38:40.297 D/libEGL ( 174): loaded /system/lib/egl/libGLES_android.so
11-17 11:38:40.347 D/libEGL ( 174): loaded /system/lib/egl/libEGL_adreno200.so
11-17 11:38:40.457 D/libEGL ( 174): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
11-17 11:38:40.467 D/libEGL ( 174): loaded /system/lib/egl/libGLESv2_adreno200.so
11-17 11:38:40.627 E/libEGL ( 174): eglSetSwapRectangleANDROID:1909 error 3008 (EGL_BAD_DISPLAY)
11-17 11:38:40.627 I/SurfaceFlinger( 174): EGL informations:
11-17 11:38:40.627 I/SurfaceFlinger( 174): # of configs : 53
11-17 11:38:40.627 I/SurfaceFlinger( 174): vendor : Android
11-17 11:38:40.627 I/SurfaceFlinger( 174): version : 1.4 Android META-EGL
11-17 11:38:40.627 I/SurfaceFlinger( 174): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
11-17 11:38:40.627 I/SurfaceFlinger( 174): Client API: OpenGL ES
11-17 11:38:40.627 I/SurfaceFlinger( 174): EGLSurface: 8-8-8-8, config=0x9
11-17 11:38:40.627 I/SurfaceFlinger( 174): OpenGL informations:
11-17 11:38:40.627 I/SurfaceFlinger( 174): vendor : Qualcomm
11-17 11:38:40.627 I/SurfaceFlinger( 174): renderer : Adreno 200
11-17 11:38:40.627 I/SurfaceFlinger( 174): version : OpenGL ES-CM 1.1
11-17 11:38:40.627 I/SurfaceFlinger( 174): extensions: GL_AMD_compressed_3DC_texture GL_AMD_compressed_ATC_texture GL_OES_EGL_image GL_OES_blend_equation_separate GL_OES_blend_func_separate GL_OES_blend_subtract GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_framebuffer_object GL_OES_matrix_palette GL_OES_point_size_array GL_OES_point_sprite GL_OES_read_format GL_OES_stencil_wrap GL_OES_texture_cube_map GL_OES_texture_env_crossbar GL_OES_texture_mirrored_repeat
11-17 11:38:40.627 I/SurfaceFlinger( 174): GL_MAX_TEXTURE_SIZE = 4096
11-17 11:38:40.627 I/SurfaceFlinger( 174): GL_MAX_VIEWPORT_DIMS = 4096
11-17 11:38:40.627 I/SurfaceFlinger( 174): flags = 00000000
May not be the issue but I had some blank screen problems first time I rooted my N1 because I has accidentally flashed an AMOLED only recovery image on my SLCD N1.
Unlikely to be the fault as you sound like you know what you're doing but just in case I thought I'd tell you.
I saw this on another thread somewhere on the forum, someone who had the same problem as you. Now it's not to discourage you but I don't remember finding a solution :/ now that doesn't mean we can't try but unfortunately since you've tried a lot of ROMs the only thing I can think of other than a radio flash would be to try passimg to get back to stock.
Dude Random21 said:
I saw this on another thread somewhere on the forum, someone who had the same problem as you. Now it's not to discourage you but I don't remember finding a solution :/ now that doesn't mean we can't try but unfortunately since you've tried a lot of ROMs the only thing I can think of other than a radio flash would be to try passimg to get back to stock.
Click to expand...
Click to collapse
Probably it was me!!! I tried installing Gingerbread ROM some time back. It ended up with the same problem. I have been thinking if its really a hardware issue and just use whatever works..

Phone Stuck in Bootloop After Dead Battery

I gave up and called T-Mobile. They're sending me a replacement next-day air. Should I try to re-lock this one?
So a bit of background. I was running unlocked the latest stock 6.0.1 without root or custom kernels etc.
Last night I noticed my battery indicator was orange but my phone never entered battery saver. Went into battery saver to turn it back on; the toggle didn't work. I figure that's weird, but a reboot should fix it. I attempt reboot my device. It has been stuck in a bootloop since (at the dots animation). After giving up on it, I left it to charge overnight off (just incase it was some weird low battery thing). Try again this morning and still no luck.
Troubleshooting
Booted into stock recovery; wiped cache. No luck.
I snagged the latest images from Google and flashed boot and system. No luck.
I booted into stock recovery; wiped cache. No luck.
Downloaded TWRP and used the 'boot' command to boot into it without flashing. Used that to backup the contents of my internal storage.
Booted back into stock recovery. Did a factory rest and wiped cache. No luck.
I flashed the full image (radio, bootloader, boot, system, userdata, cache, recovery). No Luck.
Booted into stock recovery; wiped cache. No luck.
Booted into stock recovery. Did a factory rest and wiped cache. No luck.
I flashed the full image (radio, bootloader, boot, system, userdata, cache, recovery)(thinking maybe I missed an image last time). No Luck.
edit2:
Fastboot erased userdata and cache. No luck.
edit3:
Fastboot formatted userdata and cache. No luck.
Booted into stock recovery. Did a factory rest and wiped cache. (figured that might initialize the partitions if they were left blank)No luck.
Used the 'boot' command to boot into TWRP without flashing. Wiped /data, /cache, and dalvik cache in TWRP No luck.
I always gave it at least 5 minutes (once as long as 40 minutes) of booting before moving on to the next step. As you can see, I'm long past trying to preserve anything, I just want a useable phone again.
Edit: also weird. I can only turn the phone off via bootloader > power off. Holding the power button always causes a reboot instead of a power off.
Wait a minute... nobody's answered this?? I'm stuck in the EXACT SAME situation. The N6 was running a ROM AOK forever and once I tried powering it on after allowing it to completely drain its battery... NO LUCK
Were you able to get your unit working again? Does anyone have any idea outside what's in the OP?
skielbasa said:
I gave up and called T-Mobile. They're sending me a replacement next-day air. Should I try to re-lock this one?
So a bit of background. I was running unlocked the latest stock 6.0.1 without root or custom kernels etc.
Last night I noticed my battery indicator was orange but my phone never entered battery saver. Went into battery saver to turn it back on; the toggle didn't work. I figure that's weird, but a reboot should fix it. I attempt reboot my device. It has been stuck in a bootloop since (at the dots animation). After giving up on it, I left it to charge overnight off (just incase it was some weird low battery thing). Try again this morning and still no luck.
Troubleshooting
Booted into stock recovery; wiped cache. No luck.
I booted into stock recovery; wiped cache. No luck.
I flashed the full image (radio, bootloader, boot, system, userdata, cache, recovery). No Luck.
Booted into stock recovery. Did a factory rest and wiped cache. No luck.
Fastboot erased userdata and cache. No luck.
edit3:
Booted into stock recovery. Did a factory rest and wiped cache. (figured that might initialize the partitions if they were left blank)No luck.
Used the 'boot' command to boot into TWRP without flashing. Wiped /data, /cache, and dalvik cache in TWRP No luck.
I always gave it at least 5 minutes (once as long as 40 minutes) of booting before moving on to the next step. As you can see, I'm long past trying to preserve anything, I just want a useable phone again.
Edit: also weird. I can only turn the phone off via bootloader > power off. Holding the power button always causes a reboot instead of a power off.
Click to expand...
Click to collapse
Did you flash all partitions separately and erase command and then format? Are you using an official Nexus 6 cable?
biggiesmalls657 said:
Did you flash all partitions separately and erase command and then format? Are you using an official Nexus 6 cable?
Click to expand...
Click to collapse
lol, thats a question from 3 moths ago.. i highly doubt that they are waiting on an answer :angel:
simms22 said:
lol, thats a question from 3 moths ago.. i highly doubt that they are waiting on an answer :angel:
Click to expand...
Click to collapse
I didn't read the timestamp but maybe its lying around somewhere.
From SELinux Denials to Sensor Failure
biggiesmalls657 said:
Did you flash all partitions separately and erase command and then format? Are you using an official Nexus 6 cable?
Click to expand...
Click to collapse
I've flash each partition individually with 71.18 BL Stock & 71.21 BL N Preview Stock to no avail.
Mixing 71.18 & 71.21 Roms brought about a SeLinux issue but that was solved by getting the BLs and their appropriate Roms right.
Now I'm running into an odd sensor failure in my LogCat that I can't get around:
Code:
--------- beginning of main
02-09 20:45:15.323 245 245 W auditd : type=2000 audit(0.0:1): initialized
02-09 20:45:17.385 252 252 I /system/bin/tzdatacheck: tzdata file /data/misc/zoneinfo/current/tzdata does not exist. No action required.
--------- beginning of system
02-09 20:45:17.396 246 246 I vold : Vold 3.0 (the awakening) firing up
02-09 20:45:17.396 246 246 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
02-09 20:45:18.099 279 279 D QSEECOMD: : qseecom listener services process entry PPID = 1
02-09 20:45:18.099 279 279 E QSEECOMD: : Listener: index = 0, hierarchy = 0
02-09 20:45:18.099 277 277 I mdm_helper: 1 supported modem(s) found
02-09 20:45:18.099 277 277 I mdm_helper: Setting up mdm helper device structure
02-09 20:45:18.099 277 277 I mdm_helper: Found private data for MDM9x25
02-09 20:45:18.099 277 277 I mdm_helper: ESOC Details:
02-09 20:45:18.099 277 277 I mdm_helper: Name:MDM9x25
02-09 20:45:18.099 277 277 I mdm_helper: Port:/dev/esoc-0
02-09 20:45:18.099 277 277 I mdm_helper: Link:HSIC
02-09 20:45:18.099 277 277 I mdm_helper: Device configuration loaded
02-09 20:45:18.099 277 277 I mdm_helper: Starting MDM helper
02-09 20:45:18.099 277 277 I mdm_helper: Creating thread for MDM9x25
02-09 20:45:18.099 277 280 I mdm_helper: Starting MDM9x25
02-09 20:45:18.099 277 280 I mdm_helper: MDM9x25 : switching state to POWERUP
02-09 20:45:18.100 277 280 I mdm_helper: MDM9x25: Initializing environment
02-09 20:45:18.100 279 279 D QSEECOMD: : Init dlopen(librpmb.so, RTLD_NOW) succeeds
02-09 20:45:18.100 279 279 D QSEECOMD: : Init::Init dlsym(g_FSHandle rpmb_init_service) succeeds
02-09 20:45:18.100 279 279 I rpmb : RPMB Mult = 16384, Rel_sec_cnt = 1
02-09 20:45:18.100 279 279 E DrmLibRpmb: rpmb_init succeeded! with ret = 0
02-09 20:45:18.101 279 279 D QSEECOMD: : Init rpmb_init_service ret = 0
02-09 20:45:18.101 279 279 D QSEECOMD: : RPMB system services: init (Listener ID = 8192)
02-09 20:45:18.101 279 279 E QSEECOMD: : Listener: index = 1, hierarchy = 0
02-09 20:45:18.101 279 279 D QSEECOMD: : Init dlopen(libssd.so, RTLD_NOW) succeeds
02-09 20:45:18.101 279 279 D QSEECOMD: : Init::Init dlsym(g_FSHandle ssd_init_service) succeeds
02-09 20:45:18.101 279 279 E SSD : ssd_init_service succeeded!
02-09 20:45:18.101 279 279 D QSEECOMD: : Init ssd_init_service ret = 0
02-09 20:45:18.101 279 279 D QSEECOMD: : SSD system services: init (Listener ID = 12288)
02-09 20:45:18.102 279 279 D QSEECOMAPI: : QSEECom_get_handle sb_length = 0x400
02-09 20:45:18.102 279 279 D QSEECOMAPI: : App is not loaded in QSEE
02-09 20:45:18.107 274 274 I lowmemorykiller: Using in-kernel low memory killer interface
02-09 20:45:18.122 278 291 E Sensors : sns_fsa_la.c(78):realpath failed for directory name2
02-09 20:45:18.123 278 291 E Sensors : sns_reg_la.c(289):Error creating registry file
02-09 20:45:18.123 278 291 W Sensors : sns_reg_mr.c(370):File init failed 5
02-09 20:45:18.136 276 276 I SurfaceFlinger: SurfaceFlinger is starting
02-09 20:45:18.136 276 276 I SurfaceFlinger: SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
02-09 20:45:18.143 276 276 D libEGL : loaded /vendor/lib/egl/libEGL_adreno.so
02-09 20:45:18.176 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:18.176 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:18.252 276 276 D libEGL : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
02-09 20:45:18.260 276 276 D libEGL : loaded /vendor/lib/egl/libGLESv2_adreno.so
02-09 20:45:18.277 276 276 I Adreno : QUALCOMM build : 52af4d2, I8366cd0437
02-09 20:45:18.277 276 276 I Adreno : Build Date : 10/20/15
02-09 20:45:18.277 276 276 I Adreno : OpenGL ES Shader Compiler Version: XE031.05.13.02
02-09 20:45:18.277 276 276 I Adreno : Local Branch : M14
02-09 20:45:18.277 276 276 I Adreno : Remote Branch :
02-09 20:45:18.277 276 276 I Adreno : Remote Branch :
02-09 20:45:18.277 276 276 I Adreno : Reconstruct Branch :
02-09 20:45:18.584 279 279 D QSEECOMAPI: : Loaded image: APP id = 2
02-09 20:45:18.586 279 279 D QSEECOMD: : Parent qseecom daemon process paused!!
02-09 20:45:18.587 331 331 D QSEECOMD: : qseecom listener service threads starting!!!
02-09 20:45:18.587 331 331 D QSEECOMD: : Total listener services to start = 5
02-09 20:45:18.587 331 331 E QSEECOMD: : Listener: index = 0, hierarchy = 1
02-09 20:45:18.587 331 331 D QSEECOMD: : Init dlopen(librpmb.so, RTLD_NOW) succeeds
02-09 20:45:18.587 331 331 D QSEECOMD: : Init::Init dlsym(g_FSHandle rpmb_start) succeeds
02-09 20:45:18.587 331 331 D QSEECOMAPI: : QSEECom_register_listener 8192 sb_length = 0x5000
02-09 20:45:18.591 331 331 D QSEECOMD: : Init rpmb_start ret = 0
02-09 20:45:18.591 331 331 D QSEECOMD: : RPMB system services: Started (Listener ID = 8192)
02-09 20:45:18.591 331 331 E QSEECOMD: : Listener: index = 1, hierarchy = 1
02-09 20:45:18.591 331 331 D QSEECOMD: : Init dlopen(libssd.so, RTLD_NOW) succeeds
02-09 20:45:18.591 331 331 D QSEECOMD: : Init::Init dlsym(g_FSHandle ssd_start) succeeds
02-09 20:45:18.591 331 331 D QSEECOMAPI: : QSEECom_register_listener 12288 sb_length = 0x5000
02-09 20:45:18.592 331 331 D QSEECOMD: : Init ssd_start ret = 0
02-09 20:45:18.592 331 331 D QSEECOMD: : SSD system services: Started (Listener ID = 12288)
02-09 20:45:18.592 331 331 E QSEECOMD: : Listener: index = 2, hierarchy = 1
02-09 20:45:18.593 331 331 E QSEECOMD: : Init dlopen(libsecureui.so, RLTD_NOW) is failed....
02-09 20:45:18.593 331 331 E QSEECOMD: : Listener: index = 3, hierarchy = 1
02-09 20:45:18.599 331 331 D QSEECOMD: : Init dlopen(libdrmtime.so, RTLD_NOW) succeeds
02-09 20:45:18.599 331 331 D QSEECOMD: : Init::Init dlsym(g_FSHandle atime_start) succeeds
02-09 20:45:18.599 331 331 D DrmLibTime: QSEE Time Listener: atime_start
02-09 20:45:18.599 331 331 D QSEECOMAPI: : QSEECom_register_listener 11 sb_length = 0x5000
02-09 20:45:18.600 331 331 D DrmLibTime: registering fs service to QSEECom is done!
02-09 20:45:18.600 331 331 D DrmLibTime: begin to create a thread!
02-09 20:45:18.600 331 331 D DrmLibTime: Creating a pthread in atime_start is done! return 0
02-09 20:45:18.600 331 331 D QSEECOMD: : Init atime_start ret = 0
02-09 20:45:18.600 331 338 D DrmLibTime: QSEE Time Listener: dispatch
02-09 20:45:18.600 331 331 D QSEECOMD: : time services: Started (Listener ID = 11)
02-09 20:45:18.600 331 338 D DrmLibTime: before calling ioctl to read the next time_cmd
02-09 20:45:18.600 331 331 E QSEECOMD: : Listener: index = 4, hierarchy = 1
02-09 20:45:18.600 331 331 D QSEECOMD: : Init dlopen(libdrmfs.so, RTLD_NOW) succeeds
02-09 20:45:18.600 331 331 D QSEECOMD: : Init::Init dlsym(g_FSHandle fs_start) succeeds
02-09 20:45:18.600 331 331 D QSEECOMAPI: : QSEECom_register_listener 10 sb_length = 0x5000
02-09 20:45:18.601 331 331 D QSEECOMD: : Init fs_start ret = 0
02-09 20:45:18.601 331 331 D QSEECOMD: : file system services: Started (Listener ID = 10)
02-09 20:45:18.601 331 331 D QSEECOMD: : QSEECOM DAEMON RUNNING
02-09 20:45:18.711 276 276 I qdutils : PartialUpdate status: Enabled
02-09 20:45:18.711 276 276 I qdutils : Left Align: 8
02-09 20:45:18.712 276 276 I qdutils : Width Align: 8
02-09 20:45:18.712 276 276 I qdutils : Top Align: 1
02-09 20:45:18.712 276 276 I qdutils : Height Align: 1
02-09 20:45:18.712 276 276 I qdutils : Min ROI Width: 8
02-09 20:45:18.712 276 276 I qdutils : Min ROI Height: 1
02-09 20:45:18.712 276 276 I qdutils : Needs ROI Merge: 1
02-09 20:45:18.712 276 276 I qdutils : Left Split=720
02-09 20:45:18.712 276 276 I qdutils : Right Split=720
02-09 20:45:18.715 276 276 I qdhwcomposer: Initializing Qualcomm Hardware Composer
02-09 20:45:18.715 276 276 I qdhwcomposer: MDP version: 500
02-09 20:45:18.715 276 276 I SurfaceFlinger: Using composer version 1.5
02-09 20:45:18.715 276 276 I qdhwcomposer: hwc_registerProcs
02-09 20:45:18.715 276 276 I qdhwcomposer: Initializing UEVENT Thread
02-09 20:45:18.715 276 276 I qdhwcomposer: Initializing VSYNC Thread
02-09 20:45:18.716 276 342 I qdhwcomposer: vsync_loop: Reading event 0 for dpy 0 from /sys/class/graphics/fb0/vsync_event
02-09 20:45:18.716 276 276 D qdhwcomposer: hwc_getDisplayAttributes disp = 0, width = 1440
02-09 20:45:18.716 276 276 D qdhwcomposer: hwc_getDisplayAttributes disp = 0, height = 2560
02-09 20:45:18.717 276 276 I SurfaceFlinger: EGL information:
02-09 20:45:18.717 276 276 I SurfaceFlinger: vendor : Android
02-09 20:45:18.717 276 276 I SurfaceFlinger: version : 1.4 Android META-EGL
02-09 20:45:18.717 276 276 I SurfaceFlinger: extensions: EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_KHR_image EGL_KHR_image_base EGL_KHR_lock_surface EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable EGL_KHR_create_context_no_error
02-09 20:45:18.717 276 276 I SurfaceFlinger: Client API: OpenGL_ES
02-09 20:45:18.717 276 276 I SurfaceFlinger: EGLSurface: 8-8-8-8, config=0xb6a86978
02-09 20:45:18.718 276 342 I qdhwcomposer: vsync_loop: Reading event 1 for dpy 0 from /sys/class/graphics/fb0/show_blank_event
02-09 20:45:18.719 276 342 I qdhwcomposer: vsync_loop: Reading event 2 for dpy 0 from /sys/class/graphics/fb0/cec/rd_msg
02-09 20:45:18.721 276 342 E qdhwcomposer: vsync_loop:unable to open event node for dpy=0 event=2, No such file or directory
02-09 20:45:18.722 276 342 I qdhwcomposer: vsync_loop: Reading event 0 for dpy 1 from /sys/class/graphics/fb-1/vsync_event
02-09 20:45:18.722 276 342 I qdhwcomposer: vsync_loop: Reading event 1 for dpy 1 from /sys/class/graphics/fb-1/show_blank_event
02-09 20:45:18.723 276 342 I qdhwcomposer: vsync_loop: Reading event 2 for dpy 1 from /sys/class/graphics/fb-1/cec/rd_msg
02-09 20:45:18.726 276 276 I SurfaceFlinger: OpenGL ES informations:
02-09 20:45:18.726 276 276 I SurfaceFlinger: vendor : Qualcomm
02-09 20:45:18.726 276 276 I SurfaceFlinger: renderer : Adreno (TM) 420
02-09 20:45:18.726 276 276 I SurfaceFlinger: version : OpenGL ES 3.1 [email protected] ([email protected])
02-09 20:45:18.726 276 276 I SurfaceFlinger: extensions: GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_OES_texture_3D GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp GL_EXT_multisampled_render_to_texture GL_OES_shader_multisample_interpolation GL_EXT_texture_cube_map_arr
02-09 20:45:18.726 276 276 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 16384
02-09 20:45:18.726 276 276 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = 16384
02-09 20:45:18.730 276 276 D SurfaceFlinger: Set power mode=2, type=0 flinger=0xb6aa4000
02-09 20:45:18.730 276 276 D qdhwcomposer: hwc_setPowerMode: Setting mode 2 on display: 0
02-09 20:45:18.730 276 276 D qdhwcomposer: hwc_setPowerMode: Done setting mode 2 on display 0
02-09 20:45:18.730 276 342 I qdhwcomposer: handle_blank_event: dpy:0 panel power state: 1
02-09 20:45:18.841 344 346 D libEGL : loaded /vendor/lib/egl/libEGL_adreno.so
02-09 20:45:18.888 344 346 D libEGL : loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
02-09 20:45:18.896 344 346 D libEGL : loaded /vendor/lib/egl/libGLESv2_adreno.so
02-09 20:45:18.907 344 346 I Adreno : QUALCOMM build : 52af4d2, I8366cd0437
02-09 20:45:18.907 344 346 I Adreno : Build Date : 10/20/15
02-09 20:45:18.907 344 346 I Adreno : OpenGL ES Shader Compiler Version: XE031.05.13.02
02-09 20:45:18.907 344 346 I Adreno : Local Branch : M14
02-09 20:45:18.907 344 346 I Adreno : Remote Branch :
02-09 20:45:18.907 344 346 I Adreno : Remote Branch :
02-09 20:45:18.907 344 346 I Adreno : Reconstruct Branch :
02-09 20:45:18.923 344 346 E BootAnimation: couldn't find audio_conf.txt
02-09 20:45:19.617 276 276 D SurfaceFlinger: shader cache generated - 24 shaders in 267.772125 ms
02-09 20:45:19.637 276 276 D qdutils : DEBUG_CALC_FPS: 0
02-09 20:45:19.637 276 276 D qdutils : period: 10
02-09 20:45:19.637 276 276 D qdutils : ignorethresh_us: 500000
03-21 17:30:31.580 245 245 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
03-21 17:30:31.580 245 245 W auditd : type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
02-09 20:45:28.065 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.066 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.069 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.069 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.071 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.071 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.074 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.074 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.076 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.077 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.078 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.078 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.079 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.080 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.081 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.081 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.082 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.082 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.083 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.083 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.085 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.085 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.087 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.087 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.089 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.089 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.090 278 291 E Sensors : sns_reg.c(255):Invalid ID: 3040
02-09 20:45:28.091 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.091 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.093 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.093 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.094 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.094 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.096 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.096 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.097 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.097 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.098 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.098 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:28.099 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:28.099 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.108 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.108 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.109 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.109 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.111 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.111 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.111 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.111 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
02-09 20:45:38.111 278 291 E Sensors : sns_reg_la.c(91):reg_read: reg file not open
02-09 20:45:38.111 278 291 E Sensors : sns_reg.c(291):Received error from sns_reg_read/write 5
KLBrey said:
I've flash each partition individually with 71.18 BL Stock & 71.21 BL N Preview Stock to no avail.
Mixing 71.18 & 71.21 Roms brought about a SeLinux issue but that was solved by getting the BLs and their appropriate Roms right.
Now I'm running into an odd sensor failure in my LogCat that I can't get around:
Click to expand...
Click to collapse
Hardware. Are you using an official fastboot cable? Did you flash the binaries of the sensor drivers?
Can My Poor N6 Bounce-Back from Seeming Complete Sensor Failure??
biggiesmalls657 said:
Hardware. Are you using an official fastboot cable? Did you flash the binaries of the sensor drivers?
Click to expand...
Click to collapse
Since you're the 2nd to mention USB cable quality, I'll address that:
I have my OEM Turbo Charger and I'm sure I still have the OEM Cable that came with it, but I'm currently using an Amazon Basic Branded 5ft replacement to one my cat devoured. Since it seems that Cable Matters, I'll wrangle the one's I have with me when the Sun's is up.
The Immediate Worse Case S:
I'll have to wait until I return home Monday if none of the cables with me are The One*.
Flash Binaries of Sensor Drivers:
whaaa
[* thanks Moto, one more Must Match in my life]
[SOLVED] Bootloop with Major Sensor Failure
After looking into physical things like cable quality and low-level drivers provided to ROM bakers (neither were my particulate issue), I pieced together a diagnosis and resolution that worked for me:
Validating my /persist partition OR Creating a new ext4 one if it's currupt​I dropped to TWRP v3 recovery, opened an ADB Shell and checked which partitions were automatically mounted. Alas, /persist wasn't there... it was gone, baby, gone! So I tried to recover it using
Code:
e2fsck /dev/block/platform/msm_sdcc.1/by-name/persist
Which resulted in a Bad Superblock with no backups. Using an alternate Superblock (ie. e2fsck -b 8197) also failed. So I crossed fingers that my N6 retained specs about how /persist should be and created a fresh ext4 version
Code:
make_ext4fs /dev/block/platform/msm_sdcc.1/by-name/persist
That solved (nearly) everything. I was able to watch live logcat as my N6 successfully booted into 6.0.1 MM again. Everything seems AOK so far, but it's late and I'm about to crash. When the Sun's up again, I'll test it and post once more.

Magisk keeps crashing

Ive tried doing a factory reset, changing roms (from lineage to aokp), it used to work but not anymore.. i even tried Going on old magisk versions, they all crash...
Logs or it didn't happen... And details. All the details.
Didgeridoohan said:
Logs or it didn't happen... And details. All the details.
Click to expand...
Click to collapse
Yeah sorry, I'm not sure what log to give, so ill leave one for the app only, and a full log:
Partial Log: https://jpst.it/11H8p
Full log: https://jpst.it/11H8b
And Details: Im Using systemless SuperSU, LineageOS 13, no xposed, device is Elephone P9000.
If any other details are needed, tell me.
Re-flash your kernel, flash magisk.. profit ?
fOmey said:
Re-flash your kernel, flash magisk.. profit ?
Click to expand...
Click to collapse
tried that already, still doesnt work
Ruben Craveiro said:
tried that already, still doesnt work
Click to expand...
Click to collapse
Which version of magisk are you flashing ? What version of magisk manager are you using ?
Look's like a memory fault ? Segmentation errors.. could be rom related.
fault addr 0xdeadbaad.. xD
Code:
07-17 23:36:06.537 F/DEBUG (399): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-17 23:36:06.537 F/DEBUG (399): LineageOS Version: '13.0-20170326-UNOFFICIAL-p9000'
07-17 23:36:06.537 F/DEBUG (399): Build fingerprint: 'Elephone/lineage_p9000/p9000:6.0.1/MOB31K/cb3922e3f0:userdebug/test-keys'
07-17 23:36:06.537 F/DEBUG (399): Revision: '0'
07-17 23:36:06.537 F/DEBUG (399): ABI: 'arm'
07-17 23:36:06.537 F/DEBUG (399): pid: 7710, tid: 7710, name: opjohnwu.magisk >>> com.topjohnwu.magisk <<<
07-17 23:36:06.537 F/DEBUG (399): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0xdeadbaad
07-17 23:36:06.556 F/DEBUG (399): Abort message: 'invalid address or address of corrupt block 0x29 passed to dlfree'
07-17 23:36:06.556 F/DEBUG (399): r0 00000000 r1 00000000 r2 00000000 r3 00000002
07-17 23:36:06.556 F/DEBUG (399): r4 00000029 r5 deadbaad r6 f6e89f38 r7 a610c000
07-17 23:36:06.556 F/DEBUG (399): r8 00000031 r9 ffc4fadc sl f6c5a8db fp f6c5a8e4
07-17 23:36:06.556 F/DEBUG (399): ip f6e845d8 sp ffc4f9c8 lr f6e55c85 pc f6e55c84 cpsr 600f0030
07-17 23:36:06.561 F/DEBUG (399):
07-17 23:36:06.561 F/DEBUG (399): backtrace:
07-17 23:36:06.561 F/DEBUG (399): #00 pc 00030c84 /system/lib/libc.so (dlfree+1287)
07-17 23:36:06.561 F/DEBUG (399): #01 pc 000157cd /system/lib/libandroidfw.so (_ZN7android13ResStringPool6uninitEv+38)
07-17 23:36:06.561 F/DEBUG (399): #02 pc 0001651d /system/lib/libandroidfw.so (_ZN7android10ResXMLTree6uninitEv+14)
07-17 23:36:06.562 F/DEBUG (399): #03 pc 0001653b /system/lib/libandroidfw.so (_ZN7android10ResXMLTreeD1Ev+4)
07-17 23:36:06.562 F/DEBUG (399): #04 pc 00013267 /system/lib/libandroidfw.so (_ZN7android12AssetManager10getPkgNameEPKc+258)
07-17 23:36:06.562 F/DEBUG (399): #05 pc 000132c3 /system/lib/libandroidfw.so (_ZN7android12AssetManager18getBasePackageNameEj+62)
07-17 23:36:06.562 F/DEBUG (399): #06 pc 00088943 /system/lib/libandroid_runtime.so
07-17 23:36:06.562 F/DEBUG (399): #07 pc 71e79c89 /data/dalvik-cache/arm/[email protected]@boot.oat (offset 0x1f7a000)
07-17 23:36:06.712 F/DEBUG (399):
07-17 23:36:06.712 F/DEBUG (399): Tombstone written to: /data/tombstones/tombstone_08
07-17 23:36:06.712 W/ActivityManager(685): Force finishing activity com.topjohnwu.magisk/.SplashActivity
07-17 23:36:06.712 E/DEBUG (399): AM write failed: Broken pipe
fOmey said:
Which version of magisk are you flashing ? What version of magisk manager are you using ?
fault addr 0xdeadbaad.. xD
Click to expand...
Click to collapse
Magisk manager version 5.0.5, version 13.2, ive also tried older versions, they dont work either
Ruben Craveiro said:
Magisk manager version 5.0.5, version 13.2, ive also tried older versions, they dont work either
Click to expand...
Click to collapse
For the sake of testing, change kernels if that doesn't work.. change rom's.. try isolate where the problem is.. your running unofficial nightly builds currently ? Try a stable build.
fOmey said:
For the sake of testing, change kernels if that doesn't work.. change rom's.. try isolate where the problem is.. your running unofficial nightly builds currently ? Try a stable build.
Click to expand...
Click to collapse
it is a stable build... ive changed the kernel, still doesnt work, and i already tested a different rom before (aokp)
Ruben Craveiro said:
it is a stable build... ive changed the kernel, still doesnt work, and i already tested a different rom before (aokp, and i think it used the same kernel as the lineage rom)
Click to expand...
Click to collapse
Sorry I cant be much more help, Give the magisk thread a search, might find some answers there.
Ruben Craveiro said:
Yeah sorry, I'm not sure what log to give, so ill leave one for the app only, and a full log:
Partial Log: https://jpst.it/11H8p
Full log: https://jpst.it/11H8b
Click to expand...
Click to collapse
Those logs looks like they have plenty of info. I'm not the one to help with that kind of stuff though. :laugh: Hopefully @topjohnwu can take a look at that. From what I can gather from a quick Google search is that it might have to do with memory allocation (or something similar, I'm unsure as to how it works).
And Details: Im Using systemless SuperSU, LineageOS 13, no xposed, device is Elephone P9000.
If any other details are needed, tell me.
Click to expand...
Click to collapse
Ruben Craveiro said:
Magisk manager version 5.0.5, version 13.2, ive also tried older versions, they dont work either
Click to expand...
Click to collapse
Now... Here I got curious.
Either your mixing it up because of trying different Magisk versions back and forth, or you've managed to do something... unintended. :laugh:
Magisk v13+ is no longer compatible with systemless SuperSU! If you've actually managed to install Magisk v13.2 and SuperSU together, try to start over with MagiskSU.
And there's a version 5.0.6 of the Manager you can try as well. You should get a notification in the Manager to download it (if you have Update Notifications enabled) or you can download it on GitHub.
Didgeridoohan said:
Ruben Craveiro said:
Yeah sorry, I'm not sure what log to give, so ill leave one for the app only, and a full log:
Partial Log: https://jpst.it/11H8p
Full log: https://jpst.it/11H8b
Those logs looks like they have plenty of info. I'm not the one to help with that kind of stuff though. :laugh: Hopefully @topjohnwu can take a look at that. From what I can gather from a quick Google search is that it might have to do with memory allocation (or something similar, I'm unsure as to how it works).
Now... Here I got curious.
Either your mixing it up because of trying different Magisk versions back and forth, or you've managed to do something... unintended. :laugh:
Magisk v13+ is no longer compatible with systemless SuperSU! If you've actually managed to install Magisk v13.2 and SuperSU together, try to start over with MagiskSU.
And there's a version 5.0.6 of the Manager you can try as well. You should get a notification in the Manager to download it (if you have Update Notifications enabled) or you can download it on GitHub.
Click to expand...
Click to collapse
So, when i go back to old version i allways go back to default boot.img first or run the uninstall zip. I've also tried installing it without SuperSU, ill try with MagiskSU, thats the one i havent tried yet.
I've installed the version you told me, and it still crashes.
Edit: Magisk used to work on android 7 (stock), but i downgraded back go Lineage 13 and thats when problems started to happend, it also force closes in AOKP, im gonna try installling a stock 6.0 rom and see if it boots
Click to expand...
Click to collapse
Magisk Manager, thr app by itself is able to open if the package isnt flashed, but if i flash the package, it starts force closing
I got a similar issue, but using LeEco Le 2 with Lineage 13.0.
I tried flashing Magisk various version. It didn't help. The app force closed very single time.
Attached the log for reference. Looks like it is due to memory issue as well.
arshum said:
I got a similar issue, but using LeEco Le 2 with Lineage 13.0.
I tried flashing Magisk various version. It didn't help. The app force closed very single time.
Attached the log for reference. Looks like it is due to memory issue as well.
Click to expand...
Click to collapse
Exact same issue as me.. im starting to think its a bug in Lineage13 roms
I gave up, and decided to just return to stock nougat, magisk works fine again...
I wanna add my log taken from last month. Same thing as OP, manager keeps crashing when giving su permissions to other apps.
Clearing app data helps and I can open manager, but when an app requests su, the manager crashes.
Code:
06-13 06:53:33.981 1559 3006 I ActivityManager: Start proc 8204:com.topjohnwu.magisk/u0a124 for activity com.topjohnwu.magisk/.superuser.RequestActivity
06-13 06:53:34.051 8204 8204 W asset : getBasePackageName in Asset, index=3, return 'com.topjohnwu.magisk'
06-13 06:53:34.051 8204 8204 W asset : getBasePackageName in cache, return 'com.topjohnwu.magisk'
06-13 06:53:34.051 8204 8204 I LoadedApk: No resource references to update in package androidzte
06-13 06:53:34.061 8204 8204 I FirebaseInitProvider: FirebaseApp initialization unsuccessful
06-13 06:53:34.071 8204 8204 W asset : getBasePackageName in cache, return 'com.topjohnwu.magisk'
06-13 06:53:34.081 8204 8204 D Typeface: fontPath:
06-13 06:53:34.081 1559 2882 D ActivityManager: --zc to bg, ProcessRecord{88fc9bf 8204:com.topjohnwu.magisk/u0a124} rx/tx = 5379 1098
06-13 06:53:34.101 8204 8204 W asset : getBasePackageName in cache, return 'com.topjohnwu.magisk'
06-13 06:53:34.111 8204 8204 D Typeface: fontPath:
06-13 06:53:34.111 8204 8221 D SQLiteConnection: enable sqlite enhance.
06-13 06:53:34.121 8204 8204 D Typeface: fontPath:
06-13 06:53:34.141 8204 8221 W asset : getBasePackageName in Asset, index=3, return 'com.sonelli.juicessh'
06-13 06:53:34.141 8204 8221 W asset : getBasePackageName in cache, return 'com.sonelli.juicessh'
06-13 06:53:34.151 8204 8222 E OpenGLRenderer: void android::uirenderer::renderthread::CanvasContext::setSurface(android::Surface *) to create EGLSurface com.topjohnwu.magisk/com.topjohnwu.magisk.superuser.SuRequestActivity
06-13 06:53:34.151 8204 8222 I Adreno : QUALCOMM build : c5b7903, Ic4cf336e0a
06-13 06:53:34.151 8204 8222 I Adreno : Build Date : 02/27/17
06-13 06:53:34.151 8204 8222 I Adreno : OpenGL ES Shader Compiler Version: XE031.09.00.04
06-13 06:53:34.151 8204 8222 I Adreno : Local Branch :
06-13 06:53:34.151 8204 8222 I Adreno : Remote Branch :
06-13 06:53:34.151 8204 8222 I Adreno : Remote Branch :
06-13 06:53:34.151 8204 8222 I Adreno : Reconstruct Branch :
06-13 06:53:34.161 8204 8222 I OpenGLRenderer: Initialized EGL, version 1.4
06-13 06:53:34.161 8204 8222 D OpenGLRenderer: Swap behavior 1
06-13 06:53:34.171 8204 8204 V IconPackHelper: read bmp packageName = com.sonelli.juicessh className = com.sonelli.juicessh.controllers.ApplicationClass path = /data/resource-cache/cache/icon-cache/icon/icon
06-13 06:53:34.171 8204 8204 V IconPackHelper: read bmp check path = /data/resource-cache/cache/icon-cache/icon/icon/com_sonelli_juicessh-com_sonelli_juicessh_controllers_ApplicationClass.png
06-13 06:53:34.171 8204 8204 E BitmapFactory: Unable to decode stream: java.io.FileNotFoundException: /data/resource-cache/cache/icon-cache/icon/icon/com_sonelli_juicessh.png (No such file or directory)
06-13 06:53:34.171 8204 8204 V IconPackHelper: read bmp path = /data/resource-cache/cache/icon-cache/icon/icon/com_sonelli_juicessh.png bmp = null
06-13 06:53:34.171 8204 8204 I IconPackHelper: translateBitMap bmp = [email protected]
06-13 06:53:34.171 8204 8204 E IconPackHelper: color = 0
06-13 06:53:34.171 8204 8204 E IconPackHelper: color = 65
06-13 06:53:34.181 8204 8204 I IconPackHelper: translateBitMap bgBmp = [email protected] maskBmp = [email protected]
06-13 06:53:34.181 8204 8204 I IconPackHelper: translateBitMap overlap = 0
06-13 06:53:34.181 8204 8204 D IconProcess: getBitmapRadiusInfo 50-38-42-38
06-13 06:53:34.201 8204 8222 E OpenGLRenderer: void android::uirenderer::renderthread::CanvasContext::setSurface(android::Surface *) to create EGLSurface com.topjohnwu.magisk/com.topjohnwu.magisk.superuser.SuRequestActivity
06-13 06:53:35.441 8204 8204 V BoostFramework: mAcquireFunc method = public int com.qualcomm.qti.Performance.perfLockAcquire(int,int[])
06-13 06:53:35.441 8204 8204 V BoostFramework: mReleaseFunc method = public int com.qualcomm.qti.Performance.perfLockRelease()
06-13 06:53:35.441 8204 8204 V BoostFramework: mAcquireTouchFunc method = public int com.qualcomm.qti.Performance.perfLockAcquireTouch(android.view.MotionEvent,android.util.DisplayMetrics,int,int[])
06-13 06:53:35.441 8204 8204 V BoostFramework: mIOPStart method = public int com.qualcomm.qti.Performance.perfIOPrefetchStart(int,java.lang.String)
06-13 06:53:35.441 8204 8204 V BoostFramework: mIOPStop method = public int com.qualcomm.qti.Performance.perfIOPrefetchStop()
06-13 06:53:35.451 8204 8204 V BoostFramework: BoostFramework() : mPerf = [email protected]
06-13 06:53:35.621 8204 8222 E OpenGLRenderer: void android::uirenderer::renderthread::CanvasContext::setSurface(android::Surface *) to create EGLSurface PopupWindow:755a77
06-13 06:53:37.401 1559 1947 D WifiQualifiedNetworkSelector:: "EDC_1":9 User Preferred BSSID:null FQDN:null NETWORK_SELECTION_ENABLED Disable account: 0 0 0 0 0 0 0 0 0 0 Connect Choice:"GeoTag"WPA_PSK set time:1495761508204
06-13 06:53:37.811 8204 8204 D SQLiteConnection: enable sqlite enhance.
06-13 06:53:37.831 1559 4702 D ActivityManager: --zc to bg, ProcessRecord{88fc9bf 8204:com.topjohnwu.magisk/u0a124} rx/tx = 5379 1098
06-13 06:53:37.921 8204 8222 D OpenGLRenderer: endAllActiveAnimators on 0xd3fa2c80 (RippleDrawable) with handle 0xd317f1a0
06-13 06:53:38.201 8204 8204 D SQLiteConnection: enable sqlite enhance.
06-13 06:53:38.201 8204 8204 D SQLiteConnection: enable sqlite enhance.
06-13 06:53:38.221 8204 8204 I Toast : makeText Toast for package com.topjohnwu.magisk opPackage com.topjohnwu.magisk
06-13 06:53:38.221 8204 8204 I Toast : show Toast for package com.topjohnwu.magisk opPackage com.topjohnwu.magisk
06-13 06:53:38.251 8204 8222 E OpenGLRenderer: void android::uirenderer::renderthread::CanvasContext::setSurface(android::Surface *) to create EGLSurface Toast
06-13 06:53:49.171 8204 8204 W asset : getBasePackageName in cache, return 'com.topjohnwu.magisk'
06-13 06:53:49.181 8204 8204 D Typeface: fontPath:
06-13 06:53:49.231 8204 8204 D SQLiteConnection: enable sqlite enhance.
06-13 06:53:49.231 8204 8204 E SQLiteLog: (14) cannot open file at line 32463 of [bda77dda96]
06-13 06:53:49.231 8204 8204 E SQLiteLog: (14) os_unix.c:32463: (13) open(/data/user/0/com.topjohnwu.magisk/databases/su.db-wal) -
06-13 06:53:49.231 8204 8204 E SQLiteLog: (14) unable to open database file
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: Failed to open database '/data/user/0/com.topjohnwu.magisk/databases/su.db'.
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:921)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:666)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:352)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:326)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:240)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:194)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:808)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:793)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:696)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:694)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:289)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at com.topjohnwu.magisk.b.b.b(Unknown Source)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at com.topjohnwu.magisk.MagiskManager.c(Unknown Source)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at com.topjohnwu.magisk.MagiskManager.a(Unknown Source)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at com.topjohnwu.magisk.SplashActivity.onCreate(Unknown Source)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.app.Activity.performCreate(Activity.java:6728)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2622)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2730)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.app.ActivityThread.-wrap12(ActivityThread.java)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.os.Handler.dispatchMessage(Handler.java:102)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.os.Looper.loop(Looper.java:179)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at android.app.ActivityThread.main(ActivityThread.java:6152)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at java.lang.reflect.Method.invoke(Native Method)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: Couldn't open su.db for writing (will try read-only):
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14): , while compiling: PRAGMA journal_mode
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:921)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnection.executeForString(SQLiteConnection.java:666)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnection.setJournalMode(SQLiteConnection.java:352)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnection.setWalModeFromConfiguration(SQLiteConnection.java:326)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:240)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:194)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:808)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:793)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:696)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:694)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:289)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at com.topjohnwu.magisk.b.b.b(Unknown Source)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at com.topjohnwu.magisk.MagiskManager.c(Unknown Source)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at com.topjohnwu.magisk.MagiskManager.a(Unknown Source)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at com.topjohnwu.magisk.SplashActivity.onCreate(Unknown Source)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.app.Activity.performCreate(Activity.java:6728)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2622)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2730)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.app.ActivityThread.-wrap12(ActivityThread.java)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1481)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.os.Handler.dispatchMessage(Handler.java:102)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.os.Looper.loop(Looper.java:179)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at android.app.ActivityThread.main(ActivityThread.java:6152)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at java.lang.reflect.Method.invoke(Native Method)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
06-13 06:53:49.231 8204 8204 E SQLiteOpenHelper: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
06-13 06:53:49.231 8204 8204 D SQLiteConnection: enable sqlite enhance.
06-13 06:53:49.231 8204 8204 E SQLiteLog: (14) cannot open file at line 32463 of [bda77dda96]
06-13 06:53:49.231 8204 8204 E SQLiteLog: (14) os_unix.c:32463: (13) open(/data/user/0/com.topjohnwu.magisk/databases/su.db-wal) -
06-13 06:53:49.231 8204 8204 E SQLiteLog: (14) statement aborts at 1: [PRAGMA user_version;] unable to open database file
06-13 06:53:49.231 8204 8204 D AndroidRuntime: Shutting down VM
06-13 06:53:49.231 8204 8204 E AndroidRuntime: FATAL EXCEPTION: main
06-13 06:53:49.231 8204 8204 E AndroidRuntime: Process: com.topjohnwu.magisk, PID: 8204
06-13 06:53:49.231 8204 8204 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.topjohnwu.magisk/com.topjohnwu.magisk.SplashActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14)
06-13 06:53:49.231 8204 8204 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityTh
otaconremo said:
I wanna add my log taken from last month. Same thing as OP, manager keeps crashing when giving su permissions to other apps.
Clearing app data helps and I can open manager, but when an app requests su, the manager crashes.
Click to expand...
Click to collapse
You have a different issue than the OP. But, let's address it anyway...
Your issue is that the Manager can't access the su database, which in turn leads to the Manager crashing:
Code:
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: Failed to open database '/data/user/0/com.topjohnwu.magisk/databases/su.db'.
Could you take a look in /data/user/0/com.topjohnwu.magisk/databases/ to see if you have the su.db file there? In recovery, of course...
Also, some details about your setup would be good. Device and ROM, kernel, Magisk and Manager versions, etc. And what version of Magisk and Manager was this log captured for and are you seeing the same issue today (since you say the log is from last month)?
Didgeridoohan said:
You have a different issue than the OP. But, let's address it anyway...
Your issue is that the Manager can't access the su database, which in turn leads to the Manager crashing:
Code:
06-13 06:53:49.231 8204 8204 E SQLiteDatabase: Failed to open database '/data/user/0/com.topjohnwu.magisk/databases/su.db'.
Could you take a look in /data/user/0/com.topjohnwu.magisk/databases/ to see if you have the su.db file there? In recovery, of course...
Also, some details about your setup would be good. Device and ROM, kernel, Magisk and Manager versions, etc. And what version of Magisk and Manager was this log captured for and are you seeing the same issue today (since you say the log is from last month)?
Click to expand...
Click to collapse
Ok, I replicated the error this time with the latest version 13.3 and manager 5.1.1.
My device is an axon 7 chinese unit, android 7.1.1, stock boot and stock kernel.
I checked the folder pointing to the error, I noticed that su.db is the only file. but then after a few seconds, su.db-shm and su.db-wal pops-out. I was using X-plore app to browse the files and I can have root permission usually on the first app requesting it after I cleared data from manager.
Thanks.
otaconremo said:
Ok, I replicated the error this time with the latest version 13.3 and manager 5.1.1.
My device is an axon 7 chinese unit, android 7.1.1, stock boot and stock kernel.
I checked the folder pointing to the error, I noticed that su.db is the only file. but then after a few seconds, su.db-shm and su.db-wal pops-out. I was using X-plore app to browse the files and I can have root permission usually on the first app requesting it after I cleared data from manager.
Thanks.
Click to expand...
Click to collapse
The -shm and -wal files are probably temporary files that are created when trying to access the database. Can you open the db file?
Since you only had the su.db file in there, what happens when you enter the Downloads section in the Magisk Manager? If there's no repo.db file in the /databases folder, the Manager would probably crash.

Strange problem with supersu

The problem
situation1:
- SuperSU app is active on the foreground
- When I su from adb shell i get the confirmation prompt and get root without any problems
situation2:
- SuperSU app is not running
- When I su from adb shell
sometimes it keeps waiting indefinite but SuperSU. app never starts and therefore never asks confirmation.
other times it works like expected
situation3
- SuperSU app is not running
- Start rootexplorer it waits indefinite (super supersu app never starts)
- If i manually start SuperSU then it sometimes ask for permission for rootexplorer
Device & Rooting info
DEVICE: wiko sunny2 [v2510]
OS: Android 6.0 [MRA58K]
SuperSU version: 2.79
Rooting: Installed official SUinstaller zip version 2.79 from twrp recovery
- installation proceeded without any errors
Parts of logcat
logcat extract of situation 1
Code:
03-13 13:32:00.094 1461 10939 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{c86c211 u-1 android.intent.action.TIME_TICK}, [foreground], remain = 0
03-13 13:32:00.096 1461 1461 D AlarmManager: onSendFinished begin
03-13 13:32:00.886 540 626 D phoneserver: rsrp[0]=6,rscp[0]=0,rxlev[0]=0 ind_str= M
03-13 13:32:00.886 540 626 D phoneserver: +CSQ: 6,0M
03-13 13:32:01.743 535 784 D WCND : is_cp2_alive_ok: open polling interface: /dev/spipe_wcn0, fd = 13
03-13 13:32:01.744 535 784 D WCND : is_cp2_alive_ok: loop: /dev/spipe_wcn0 is OK
03-13 13:32:03.551 16049 16049 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
03-13 13:32:03.562 16049 16049 D AndroidRuntime: CheckJNI is OFF
03-13 13:32:03.559 16049 16049 W app_process: type=1400 audit(0.0:496): avc: denied { write } for name="[email protected]@boot.art" dev="mmcblk0p23" ino=14597 scontext=u:r:shell:s0 tcontext=u:object_r:dal
03-13 13:32:03.570 16049 16049 W art : 707e5000-71201000 rw-p 00000000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:32:03.570 16049 16049 W art : b11f3000-b31cb000 r--p 00000000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b31cb000-b49dd000 r-xp 01fd8000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b49dd000-b49de000 rw-p 037ea000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b49de000-b49fc000 r--p 00a1c000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:32:03.570 16049 16049 W art : b49fc000-b49fd000 rw-p 00000000 00:00 0 [anon:linker_alloc_vector]
{....full callstack removed...}
03-13 13:32:03.581 16049 16049 W art : b6f9b000-b6f9c000 rw-p 00000000 00:00 0
03-13 13:32:03.581 16049 16049 W art : b8e2b000-b8e5d000 rw-p 00000000 00:00 0 [heap]
03-13 13:32:03.581 16049 16049 W art : be7e4000-be805000 rw-p 00000000 00:00 0 [stack]
03-13 13:32:03.581 16049 16049 W art : ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
03-13 13:32:03.581 16049 16049 W art :
03-13 13:32:03.646 16049 16049 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-13 13:32:03.659 16049 16049 W main : type=1400 audit(0.0:497): avc: denied { write } for name="arm" dev="mmcblk0p23" ino=14595 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tcl
03-13 13:32:03.707 16049 16049 E memtrack: Couldn't load memtrack module (No such file or directory)
03-13 13:32:03.707 16049 16049 E android.os.Debug: failed to load memtrack module: -2
03-13 13:32:03.712 16049 16049 I Radio-JNI: register_android_hardware_Radio DONE
03-13 13:32:03.753 16049 16049 D AndroidRuntime: Calling main entry com.android.commands.am.Am
03-13 13:32:03.749 16059 16059 W Binder_1: type=1400 audit(0.0:498): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16059 16059 W Binder_1: type=1400 audit(0.0:499): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16060 16060 W Binder_2: type=1400 audit(0.0:500): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16060 16060 W Binder_2: type=1400 audit(0.0:501): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.761 1461 1471 D BroadcastQueue: Add broadcastBroadcastRecord{ea7ff76 u0 eu.chainfire.supersu.NativeAccess} into (background/order), now header = BroadcastRecord{ea7ff76 u0 eu.chainfire.s
03-13 13:32:03.773 1461 1474 I ActivityManager: Start proc 16061:eu.chainfire.supersu/u0a104 for broadcast eu.chainfire.supersu/.NativeAccessReceiver
03-13 13:32:03.813 16061 16061 E linker : readlink('') failed: No such file or directory [fd=17]
03-13 13:32:03.813 16061 16061 E linker : warning: unable to get realpath for the library "/data/app/eu.chainfire.supersu-1/oat/arm/base.odex". Will use given name.
03-13 13:32:03.815 16061 16061 W System : ClassLoader referenced unknown path: /data/app/eu.chainfire.supersu-1/lib/arm
03-13 13:32:04.152 1461 10941 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x50840000 cmp=eu.chainfire.supersu/.PromptActivity (has extras)} from uid 10104 on display 0
03-13 13:32:04.152 1461 10941 D ActivityManager: DEBUG_POWER_HINT start activityh
03-13 13:32:04.169 1461 10941 V WindowManager: Pausing WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:32:04.181 501 501 D gralloc.sc8830: fb_post fps = 0.728464
03-13 13:32:04.181 1461 10941 D WindowManager: Input focus has changed to null
03-13 13:32:04.182 1461 10941 D ActivityManager: startActivityUncheckedLocked return : 0
03-13 13:32:04.183 1461 1781 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{ea7ff76 u0 eu.chainfire.supersu.NativeAccess}, [background], remain = 0
03-13 13:32:04.185 16049 16049 D AndroidRuntime: Shutting down VM
03-13 13:32:04.196 1461 10940 V WindowManager: Resuming WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:32:04.209 16061 16061 D AccessibilityManager: getInstance() new sInstance = [email protected], context = [email protected], userId
03-13 13:32:04.299 16061 16117 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
03-13 13:32:04.302 16061 16061 E linker : readlink('') failed: No such file or directory [fd=25]
03-13 13:32:04.302 16061 16061 E linker : warning: unable to get realpath for the library "/system/lib/hw/gralloc.sc8830.so". Will use given name.
03-13 13:32:04.308 1461 1616 V WindowManager: addWindow: New client [email protected]: window=Window{53e1a05 u0 eu.chainfire.supersu/eu.chainfire.supersu.PromptActivity} Callers=com.androi
03-13 13:32:04.329 1461 2231 D WindowManager: Input focus has changed to Window{53e1a05 u0 eu.chainfire.supersu/eu.chainfire.supersu.PromptActivity}
03-13 13:32:04.350 16061 16117 I OpenGLRenderer: Initialized EGL, version 1.4
03-13 13:32:04.421 1461 1491 I ActivityManager: Displayed eu.chainfire.supersu/.PromptActivity: +233ms
logcat extract of situation 2
Code:
03-13 13:19:41.861 13245 13245 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
03-13 13:19:41.872 13245 13245 D AndroidRuntime: CheckJNI is OFF
03-13 13:19:41.865 13245 13245 W app_process: type=1400 audit(0.0:412): avc: denied { write } for name="[email protected]@boot.art" dev="mmcblk0p23" ino=14597 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0
03-13 13:19:41.879 13245 13245 W art : 707e5000-71201000 rw-p 00000000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:19:41.880 13245 13245 W art : b123b000-b3213000 r--p 00000000 b3:11 1176 /system/framework/arm/boot.oat
{....full callstack removed...}
03-13 13:19:41.891 13245 13245 W art : b6fd9000-b6fdb000 rw-p 0001f000 b3:11 522 /system/bin/linker
03-13 13:19:41.891 13245 13245 W art : b6fdb000-b6fdd000 rw-p 00000000 00:00 0
03-13 13:19:41.891 13245 13245 W art : b6fdd000-b6fe2000 r-xp 00000000 b3:11 398 /system/bin/app_process32
03-13 13:19:41.891 13245 13245 W art : b6fe2000-b6fe3000 r--p 00004000 b3:11 398 /system/bin/app_process32
03-13 13:19:41.891 13245 13245 W art : b6fe3000-b6fe4000 rw-p 00000000 00:00 0
03-13 13:19:41.891 13245 13245 W art : b8337000-b8369000 rw-p 00000000 00:00 0 [heap]
03-13 13:19:41.891 13245 13245 W art : beadd000-beafe000 rw-p 00000000 00:00 0 [stack]
03-13 13:19:41.891 13245 13245 W art : ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
03-13 13:19:41.891 13245 13245 W art :
03-13 13:19:41.952 13245 13245 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-13 13:19:41.955 13245 13245 W main : type=1400 audit(0.0:413): avc: denied { write } for name="arm" dev="mmcblk0p23" ino=14595 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
03-13 13:19:42.017 13245 13245 E memtrack: Couldn't load memtrack module (No such file or directory)
03-13 13:19:42.017 13245 13245 E android.os.Debug: failed to load memtrack module: -2
03-13 13:19:42.023 13245 13245 I Radio-JNI: register_android_hardware_Radio DONE
03-13 13:19:42.067 13245 13245 D AndroidRuntime: Calling main entry com.android.commands.am.Am
03-13 13:19:42.055 13255 13255 W Binder_1: type=1400 audit(0.0:414): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13255 13255 W Binder_1: type=1400 audit(0.0:415): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13256 13256 W Binder_2: type=1400 audit(0.0:416): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13256 13256 W Binder_2: type=1400 audit(0.0:417): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
--------- beginning of system
03-13 13:19:42.077 1461 3330 D BroadcastQueue: Add broadcastBroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess} into (background/order), now header = BroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess}, size = 1
03-13 13:19:42.093 1461 1474 I ActivityManager: Start proc 13257:eu.chainfire.supersu/u0a104 for broadcast eu.chainfire.supersu/.NativeAccessReceiver
03-13 13:19:42.145 13257 13257 E linker : readlink('') failed: No such file or directory [fd=17]
03-13 13:19:42.145 13257 13257 E linker : warning: unable to get realpath for the library "/data/app/eu.chainfire.supersu-1/oat/arm/base.odex". Will use given name.
03-13 13:19:42.149 13257 13257 W System : ClassLoader referenced unknown path: /data/app/eu.chainfire.supersu-1/lib/arm
03-13 13:19:42.497 1461 3692 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x50840000 cmp=eu.chainfire.supersu/.PromptActivity (has extras)} from uid 10104 on display 0
03-13 13:19:42.497 1461 3692 D ActivityManager: DEBUG_POWER_HINT start activityh
03-13 13:19:42.504 1461 3692 V WindowManager: Pausing WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:19:42.508 1461 3692 D WindowManager: Input focus has changed to null
03-13 13:19:42.509 1461 3692 D ActivityManager: startActivityUncheckedLocked return : 0
03-13 13:19:42.513 1461 2242 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess}, [background], remain = 0
03-13 13:19:42.506 13255 13255 W Binder_1: type=1400 audit(0.0:418): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.515 13245 13245 D AndroidRuntime: Shutting down VM
Questions/Remarks
It looks like app_process (app_process32) is started in the wrong context
Any hints or tips on how to proceed ?
Reflashed stock and twrp and installed SuperSU the classic way (on /system)
Now everything works as expected

[MOD] Camera supporting 60FPS 120FPS

About:
This is a modification of the LineageOS camera wrapper, Snapdragon Camera app, libstagefright, and media profiles to allow recording video at 60FPS and 120FPS with stereo audio at 256kbps, also allows recording files over 4GB (the selected storage filesystem must support files larger than 4GB), and the ability to change AV bitrates/codecs on the fly. Album preference has been added in 1.3.
Q Users: Backup before install!
/system/lib/libstagefright.so
/system/product/priv-app/Snap/Snap.apk
/system/product/priv-app/Snap/oat/arm/Snap.odex
/system/product/priv-app/Snap/oat/arm/Snap.vdex
/system/vendor/etc/media_profiles_V1_0.xml
/system/vendor/lib/hw/camera.msm8974.so
P/O Users: Backup before install!
/system/lib/libstagefright.so
/system/priv-app/Snap/Snap.apk
/system/priv-app/Snap/oat/arm/Snap.odex
/system/priv-app/Snap/oat/arm/Snap.vdex
/system/vendor/etc/media_profiles_V1_0.xml (or /system/etc/media_profiles.xml)
/system/vendor/lib/hw/camera.msm8974.so
N Users: Backup before install!
/system/etc/media_profiles.xml
/system/lib/libstagefright.so
/system/lib/hw/camera.msm8974.so
/system/priv-app/Snap/Snap.apk
Download ZIP:
If you experience bugs or crashes please attach the adb log file, also include your mod version, OS, and device model in the post!
Q v1.3, TWRP 3.3.1: https://drive.google.com/file/d/1T3d6tIj_aM_zcfS7Q-RNNrT2IkvMwwvf/view?usp=sharing
P v1.3, TWRP 3.3.1: https://drive.google.com/file/d/1MPOfu7UXV-1RfWbW4EBJfSwmbVSnPXkC/view?usp=sharing
----------------
Q v1.2: https://drive.google.com/file/d/1wL5QeTFPaBGhbT3l3x4J52Q6f-fF9w8-/view?usp=sharing
P v1.2: https://drive.google.com/file/d/1Pjzu_Y5L0H8qqszYzwHJptD3uESvFKkB/view?usp=sharing
----------------
O v0.6: https://drive.google.com/open?id=1fM-SMDZT2iYxaX3AoYWCRegu918PqRFp
N v0.6: https://drive.google.com/open?id=1t2HalWYSObez0Xar0MOfk7opcLaSf0AD
----------------
Old versions: https://drive.google.com/drive/folders/1oFLPaoDmfDJlD8FAoRVhAk2haETI_dH6
v1.3 Changelog:
snap: Album preference: This will store media into subdirectories: Default, Date, Custom, Hidden.
snap: Media is now stored using the MediaStore API for Android 10 / LOS 17.1 builds.
Past Changelogs:
v1.2 Changelog:
snap: Merge upstream
snap: PiP and Multi-Window Removed (Bugs)
stagefright: Merge upstream
v1.1 Changelog:
snap: Added Picture-in-Picture support
snap: Fixed Multi-Window handling
profiles: Updated to proper location (again)
v0.9 Changelog:
snap: Merge upstream
stagefright: Merge upstream
profiles: Set all audio channels to stereo
v0.8-2 Changelog:
profiles: Updated path from upstream change, moved from /system/etc/media_profiles.xml to /system/vendor/etc/media_profiles_V1_0.xml
v0.8 Changelog:
snap: Upstream change now saves files in /Android/data/org.lineageos.snap/files instead of /DCIM/Camera
v0.7 Changelog:
snap: Fix compilation for Pie
v0.6 Changelog:
snap: Added new advanced video preferences: Video bitrate, Audio bitrate
To access these preferences, tap the "Bright screen" preference until it enables advanced camera preferences
Auto: Run the original code.
Profile: Use bitrate found in media profile, no scaling.
Manual: Set custom bitrate with slider dialog, based on the minimum and maximum bitrate caps, saving the preference for each codec.
Max: Set maximum bitrate from the encoder cap.
snap: Disabled 4GB file size limit
snap: Separate video denoise and photo denoise preferences
stagefright: Disabled 4GB file size limit
profiles: Cleanup
v0.5-3 Changelog:
wrapper: Fix quick settings flash
wrapper: Fix flash "On" photo mode
v0.5 Changelog:
wrapper: Fix hang during selfie shot
profiles: Increase audio bitrates in media_profiles.xml
v0.4 Changelog:
snap: Added "Denoise" setting to Video menu
wrapper: Restart flash during preview changes
wrapper: Removed focus modes from previous versions
wrapper: Code optimizations
profiles: Cleanup
v0.3 Changelog:
snap: Handle resource error
wrapper: Fix flash mode "On" in photo mode
v0.2 Changelog:
snap: Enabled advanced settings by default
wrapper: If torch is set, turn back on once recording in 60FPS
Known Bugs:
Camera name becomes assigned to a different resource ID on Android 9 and below. Android 10 does not have this issue.
On certain devices, front camera does not load or fails to save pictures.
1.2 Q is not parsing Snaps external storage, the files exist but they will not appear in the Gallery. In 1.3 this is fixed.
Android 9 still has the sdcard deletion bug.. if you do your own builds you can fix it with the commits below:
https://github.com/tomm1e/android_vendor_lineage/commit/6ad07dee60e26bdf88d9ac07face4d7a0fbe5610
https://github.com/tomm1e/android_p...mmit/7cad0838a254f6422343d17d5a578d2e09382359
https://github.com/LineageOS/android_frameworks_base/commit/c3f4b30d8e15228a12ca6bd1f4037d5c69dda6ea
Notes:
To access the Advanced camera preferences in Snap, tap the "Bright screen" preference until it enables.
Bitrates can be changed in media_profiles.xml. To reload them, clear the camera out of recent apps.
O+ users should force rebuild of dalvik cache after installing or upgrading: adb shell cmd package compile -m speed -f org.lineageos.snap
P and below should clear Data after upgrading so the Camera name does not get reassigned.
Source Code:
All of my changes can be found at Github:
https://github.com/tomm1e/android_device_samsung_klte-common
https://github.com/tomm1e/android_packages_apps_Snap
https://github.com/tomm1e/android_frameworks_av
Thanks to everyone at LOS and XDA! :good:
-Tom
Why to buy a new phone when we have a huge ,great support for our old S5 ,with Dev's like you ?
S5 Resurrected!
This is great! Im gonna test it
Does it works with Klte?
razor17 said:
Does it works with Klte?
Click to expand...
Click to collapse
Duh.. Read the op.
Sent from my SM-G900V using XDA Labs
Tested on klte + dotOS 2.3, does not work:
06-26 22:14:06.422 470 3336 I ActivityManager: Start proc 17888rg.lineageos.snap/u0a26 for activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:06.406 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:06.473 470 8663 I OpenGLRenderer: Initialized EGL, version 1.4
06-26 22:14:06.473 470 8663 D OpenGLRenderer: Swap behavior 1
06-26 22:14:06.487 470 8663 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:06.530 470 707 W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
06-26 22:14:06.563 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_VGA
06-26 22:14:06.563 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_TIME_LAPSE_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_TIME_LAPSE_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_TIME_LAPSE_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_TIME_LAPSE_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_CIF
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_CIF
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_4KDCI
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_QHD
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_QHD
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_2k
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_2k
06-26 22:14:06.569 377 822 W QCamera2Factory: getCameraInfo: E, camera_id = 0
06-26 22:14:06.569 377 822 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.569 377 822 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.570 377 5565 W QCamera2Factory: getCameraInfo: E, camera_id = 1
06-26 22:14:06.570 377 5565 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.570 377 5565 W QCamera2HWI: __dbg: info->orientation : 270 rc = 0
06-26 22:14:06.570 377 5565 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.571 17888 17888 I CameraManagerGlobal: Connecting to camera service
06-26 22:14:06.574 377 822 W QCamera2Factory: getCameraInfo: E, camera_id = 0
06-26 22:14:06.574 377 822 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.574 377 822 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.594 17888 17888 D SnapCam_SettingsManager: cameraIdList size =2
06-26 22:14:06.601 377 377 W QCamera2Factory: getCameraInfo: E, camera_id = 1
06-26 22:14:06.601 377 377 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.601 377 377 W QCamera2HWI: __dbg: info->orientation : 270 rc = 0
06-26 22:14:06.601 377 377 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.608 17888 17888 D SnapCam_SettingsManager: cameraIdList size =2
06-26 22:14:06.613 17888 17888 W ResourceType: No known package when getting value for resource number 0x3f080009
06-26 22:14:06.614 17888 17888 D AndroidRuntime: Shutting down VM
06-26 22:14:06.614 17888 17888 E AndroidRuntime: FATAL EXCEPTION: main
06-26 22:14:06.614 17888 17888 E AndroidRuntime: Process: org.lineageos.snap, PID: 17888
06-26 22:14:06.614 17888 17888 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.android.camera.app.CameraApp: android.content.res.Resources$NotFoundException: Resource ID #0x3f080009
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5774)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6525)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x3f080009
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:215)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.content.res.Resources.getInteger(Resources.java:1083)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.camera.util.CameraUtil.initialize(CameraUtil.java:247)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.camera.app.CameraApp.onCreate(CameraApp.java:47)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5771)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: ... 8 more
06-26 22:14:06.616 470 2724 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:06.622 470 486 I ActivityManager: Showing crash dialog for package org.lineageos.snap u0
06-26 22:14:06.656 470 8663 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:06.661 470 8663 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.119 470 485 W ActivityManager: Activity pause timeout for ActivityRecord{3c30b0 u0 org.lineageos.snap/com.android.camera.CameraActivity t5012 f}
06-26 22:14:07.155 1519 8622 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:07.170 1519 8622 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.173 1430 1566 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:07.186 1430 1566 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.203 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:07.203 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:07.210 1519 1519 W StaticLayout: maxLineHeight should not be -1. maxLines:2 lineCount:2
06-26 22:14:07.237 470 2724 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:07.227 1519 1519 I chatty : uid=10040 com.google.android.googlequicksearchbox:search identical 6 lines
Inviato dal mio SM-G900F utilizzando Tapatalk
cinghio71 said:
Tested on klte + dotOS 2.3, does not work
No known package when getting value for resource number 0x3f080009
Click to expand...
Click to collapse
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
socialentry said:
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
Click to expand...
Click to collapse
G900F AEX v5.6 works like a charm ,test video record 720p/120fps slow motion ,perfect .
The Camera name changed to "enable" ,can you change to default name "Camera".
Thanks ! :good:
Edit :screenshot is set to 1080p ,just to show the active slow motion FPS .
Bosket said:
G900F AEX v5.6 works like a charm ,test video record 720p/120fps slow motion ,perfect .
The Camera name changed to "enable" ,can you change to default name "Camera".
Thanks ! :good:
Edit :screenshot is set to 1080p ,just to show the active slow motion FPS .
Click to expand...
Click to collapse
Awesome, does the High Speed work as well?
I'll look into that app name problem
Tested on lineage 15.1 klte build (SM-G900P model)
Everything works well, one bug i noticed was it doesn't work without flash, its not concerning but I'd like to point it out as a bug.
But I'd like to personally thank you so much for working on this mod as 60fps recording was one of the reasons I switched back and forth from AOSP to stock as I use this feature alot, I'm happy to know awesome devs like you are finally working on this, I wish you all the best with this project and I will keep testing and report back accordingly
rulex231 said:
Tested on lineage 15.1 klte build (SM-G900P model)
Everything works well, one bug i noticed was it doesn't work without flash, its not concerning but I'd like to point it out as a bug.
But I'd like to personally thank you so much for working on this mod as 60fps recording was one of the reasons I switched back and forth from AOSP to stock as I use this feature alot, I'm happy to know awesome devs like you are finally working on this, I wish you all the best with this project and I will keep testing and report back accordingly
Click to expand...
Click to collapse
Thank you!
With flash or without? I noticed it turned the torch off once recording starts, for now I made it so torch turns back on if it was set. New links in the OP. More changes are needed to properly switch into 60FPS after selecting it from the menu, that way the torch won't turn off.
socialentry said:
Awesome, does the High Speed work as well?
I'll look into that app name problem
Click to expand...
Click to collapse
Yes ,high speed work as well.
Camera name is not a problem ,just a suggestion.
socialentry said:
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
Click to expand...
Click to collapse
Tested, works perfectly. Thanks.
Inviato dal mio SM-G900F utilizzando Tapatalk
Thanks, big biproject.
Does the front camera work?
I have not worked in my klte.
Using a KTLE S5. The front camera doesn't work instead the camera app crashes. Highspeed and Slow-mo both seemed to working great. Would love to see the front camera get fixed. Thanks
Delete
tomm1e said:
Thank you!
With flash or without? I noticed it turned the torch off once recording starts, for now I made it so torch turns back on if it was set. New links in the OP. More changes are needed to properly switch into 60FPS after selecting it from the menu, that way the torch won't turn off.
Click to expand...
Click to collapse
Installed it this morning, works great now thank you, even the front camera works regardless as well.
So, whats the difference between the LOS and Others?? What am asking is, which one should i install in example, Resurrection Remix?? Sorry if its a dumb question, i just thought since RR is based on LOS......
Also, what are the exact bugs?
Ano01 said:
So, whats the difference between the LOS and Others?? What am asking is, which one should i install in example, Resurrection Remix?? Sorry if its a dumb question, i just thought since RR is based on LOS......
Also, what are the exact bugs?
Click to expand...
Click to collapse
I'm not sure if RR uses lineageos resource names, if LOS doesn't work the Others one should work. Only difference in those LOS versions is that Snap requests a resource from LOS configuration during startup, specifically which hardware keys are present for the camera, like home/back/menu, those will crash if you are not on lineageos. Others just keep a default hardware key set so no crash should happen in any android. Future versions will just handle the error, it will go back to one release if it still works across all android builds.
Bugs? Nothing major, currently the flash/torch has to restart when switching into 60fps. Maybe there should be a preference to keep the camera displaying 60fps while recording or not, to save battery. Trying to rewrite the wrapper to do this currently. Some say their front camera isn't working but I think that is only for certain variants, I need their logs to see what's going on.
On my S5 G9008W (kltechnduo), with LOS 15.1, this just makes snap crash.

Categories

Resources