[MOD] Camera supporting 60FPS 120FPS - Samsung Galaxy S 5 Unified Development

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.

Related

[ROM][6.0][Read OP!]Official nightly Cyanogenmod 13 for Peregrine

Please search the thread and read the OP before postings to reduce the numbers of unneeded reposting by everyone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0(MM), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Tips and notes:
When choosing a Gapps package ensure it can fit into /system when flashed. Micro gapps is recommend as it fits and provides everything in a base package you will need for gapps support you can install the other google apps from the store as want later on.
Remember nightly builds are experimental they can and will be broken from time to time. Always have a backup at hand.
Storage in Marshmallow is dynamically mounted. That means you will get a prompt at boot to mount as either portable storage or internal storage. Use portable storage to continue using it as like in previous versions of android.
To transfer file to PC when plugged in you will get the charging mode prompt status in the status bar click it to change from charging mode to transfer files.
TWRP cannot read internal formatted sdcards at the moment in order to flash a new nightly try one of these suggestions -
Adb sideloading - http://forum.xda-developers.com/showpost.php?p=64194455&postcount=398
USB OTG - http://forum.xda-developers.com/showpost.php?p=64194957&postcount=401
Using PC file manager to place the file where TWRP can see it - http://forum.xda-developers.com/showpost.php?p=64194157&postcount=397
TWRP 3 now supports internal formatted sdcards - http://forum.xda-developers.com/moto-g/4g-development/unofficial-twrp-3-0-0-0-moto-g-lte-t3310450
If you want to use Supersu see here for non-systemless root. For systemless root use a zip from the SuperSu page othwerwise inbuilt superuser from development settings works fine.
Having issues with Titanium Backup? This should help - https://www.youtube.com/watch?v=DrOuUtlqz9w&ab_channel=AbhinavSrivastava
Want to mount system as read write for apps like Adaway use this(For builds before 29 Nov 2015)
Builds 29Nov 2015+ from a terminal app use
Code:
su
mount -o rw,remount /system
then after changes use
Code:
mount -o ro,remount /system
to mount it back as read-only or reboot.
what doesn't work:
-You tell me as am not sure atm [emoji14]
Downloads:
Older Unofficial builds
Official builds nightly builds
Install instructions:
IMPORTANT! When coming from older builds to CM13 24 Nov+ builds if you have FCs with phone
LuK1337 said:
From now after flashing 20151121 build you will have to remove /data/data/com.android.providers.telephony/databases/telephony.db file due to db scheme updates. Otherwise com.android.phone crash will happen.
You can use TWRP file manager to do it.
Click to expand...
Click to collapse
Contrary to popular belief(me included) wiping between versions is not needed - https://plus.google.com/u/0/+DanPasanen/posts/GKnirTFjojg
Coming from an official CM12.1 rom
Reboot to recovery
Install Rom
Optional Gapps, Kernel, etc
Reboot
Make sure to install Gapps before booting are you will have FCs with Setup wizard.
Coming from a different rom or stock
Wipe data and cache
Flash the CM13zip
Install opengapps or any other perffered gapps if you want
Reboot
Profit
Changelog - http://www.cmxlog.com/13/peregrine/
Source:
base: https://github.com/CyanogenMod
kernel: https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-13.0
Device: https://github.com/CyanogenMod/android_device_motorola_msm8226-common/tree/cm-13.0, https://github.com/CyanogenMod/android_device_motorola_peregrine/tree/cm-13.0
Vendor: https://github.com/TheMuppets/proprietary_vendor_motorola/tree/cm-13.0
Rest of the stuff is all unmerged stuff from gerrit
Credits:- (not in a order)
AOSParadox team @h2o64
@luca020400 @LuK1337
@srisurya95 for helping me spot my error with compiling.
CM Team
Google
Motorola
And any one else that I forgot to mention [emoji14]
Thanks a lot for this, I'll test on weekend
Enviado desde mi XT1040 mediante Tapatalk
keep up the good work
Whoa, thank you! <3
First of all, thanks! Just installed it.
In the first boot, when cm confugration wizard started, I tried to change language, and system soft rebooted, never to boot up again. Tried it a couple of times with same result. Wiping data/cache solves the issue. So using it in english for now. I will report if more things come up!
Edit: After installing cm, installed gapps, and upon booting the "setup wizard had to close" (or similar xD) message appeared once and again. This happened the 2 times I tried.
gartzen said:
First of all, thanks! Just installed it.
In the first boot, when cm confugration wizard started, I tried to change language, and system soft rebooted, never to boot up again. Tried it a couple of times with same result. Wiping data/cache solves the issue. So using it in english for now. I will report if more things come up!
Edit: After installing cm, installed gapps, and upon booting the "setup wizard had to close" (or similar xD) message appeared once and again. This happened the 2 times I tried.
Click to expand...
Click to collapse
Same here
I have the same problem when i try to change language. Is someone also having a problem of fc with titanium backup ?
Nice work, the only issue i have ran into at the moment is when you go Under More in settings and go into Mobile networks you get an FC on com.android.phone posted the logcat below for you
Code:
10-22 20:06:34.340 646 656 I art : Background partial concurrent mark sweep GC freed 22291(1385KB) AllocSpace objects, 6(120KB) LOS objects, 33% free, 23MB/35MB, paused 2.507ms total 133.930ms
10-22 20:06:34.341 31441 31441 D AndroidRuntime: Shutting down VM
10-22 20:06:34.350 31441 31441 E AndroidRuntime: FATAL EXCEPTION: main
10-22 20:06:34.350 31441 31441 E AndroidRuntime: Process: com.android.phone, PID: 31441
10-22 20:06:34.350 31441 31441 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=13; index=13
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.ListPreference.getEntry(ListPreference.java:220)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.ListPreference.getSummary(ListPreference.java:165)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.Preference.onBindView(Preference.java:558)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.Preference.getView(Preference.java:495)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.PreferenceGroupAdapter.getView(PreferenceGroupAdapter.java:246)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.AbsListView.obtainView(AbsListView.java:2346)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.ListView.makeAndAddView(ListView.java:1875)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.ListView.fillDown(ListView.java:702)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.ListView.fillFromTop(ListView.java:763)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.ListView.layoutChildren(ListView.java:1684)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.AbsListView.onLayout(AbsListView.java:2148)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1732)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1497)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:493)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:670)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:606)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-22 20:06:34.356 646 1619 W ActivityManager: Force finishing activity com.android.phone/.MobileNetworkSettings
10-22 20:06:34.359 646 1619 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
10-22 20:06:34.365 8632 8632 I art : Starting a blocking GC Explicit
10-22 20:06:34.407 8632 8632 I art : Explicit concurrent mark sweep GC freed 2328(136KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 13MB/22MB, paused 708us total 41.399ms
10-22 20:06:34.414 646 882 I OpenGLRenderer: Initialized EGL, version 1.4
10-22 20:06:34.431 8632 8632 I art : Starting a blocking GC Explicit
10-22 20:06:34.466 8632 8632 I art : Explicit concurrent mark sweep GC freed 584(33KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 13MB/22MB, paused 594us total 34.252ms
10-22 20:06:34.466 8632 8632 I art : Starting a blocking GC Explicit
10-22 20:06:34.499 8632 8632 I art : Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 40% free, 13MB/22MB, paused 555us total 32.508ms
10-22 20:06:34.537 8632 8706 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb90366d0
10-22 20:06:34.538 8632 8706 D OpenGLRenderer: endAllStagingAnimators on 0xb9328d68 (ListView) with handle 0xb90440e0
10-22 20:06:34.860 646 663 W ActivityManager: Activity pause timeout for ActivityRecord{b1c66fa u0 com.android.phone/.MobileNetworkSettings t133 f}
10-22 20:06:35.004 8632 8632 D DashboardSummary: rebuildUI took: 88 ms
10-22 20:06:37.131 6307 6434 D audio_hw_primary: out_standby: enter: stream (0xb8446ac0) usecase(1: low-latency-playback)
10-22 20:06:37.182 6307 6434 D hardware_info: hw_info_append_hw_type : device_name = speaker-lite
10-22 20:06:38.408 253 367 I ThermalEngine: Sensor:xo_therm_pu2:25000 mC
• Camera crashes (Cannot connect to the camera error) right after you take a picture
• Facebook crashes as soon as you start to write your username on the login screen
• File Manager crashes (some kind of "no privileges" error)
I also don't have the option to set Google Now launcher as default launcher, like if it wasn't installed, but it works with Nova Launcher.
edit : problem solve after rebooting sorry
Camera has already been fixed on Falcon's build... so it's just a mater of time @Kayant merges it!
I have also seen the issues with camera, file manager, TB. Can't really say too much because my limited knowledge doesn't give me too much insight into what exactly is going on but am going through some logs and will see what I can understand from them. @ebol94 I already had the camera fix merged in but maybe is because I don't have an updated lib which is why it's not completed fixed? Will test that in a build later.
Kayant said:
I have also seen the issues with camera, file manager, TB. Can't really say too much because my limited knowledge doesn't give me too much insight into what exactly is going on but am going through some logs and will see what I can understand from them. @ebol94 I already had the camera fix merged in but maybe is because I don't have an updated lib which is why it's not completed fixed? Will test that in a build later.
Click to expand...
Click to collapse
You need to add this branch to your repo in order to use the new libs
Code:
<project path="external/sony/boringssl-compat" name="CyanogenMod/android_external_sony_boringssl-compat" revision="cm-13.0" />
By the way, I managed to get working data but not LTE on my build, but I'm not quite sure the state of yours since I haven't flashed it. Could anybody tell me? :silly:
Nevermind, LTE is working good here too . So far there's pretty much everything working, the only thing left is that I'm not having my sdcard partition mounted (at least on my build). Maybe it can be forced through terminal, I'll try later. How about on this build?
Regards!
beeeto said:
You need to add this branch to your repo in order to use the new libs
Code:
<project path="external/sony/boringssl-compat" name="CyanogenMod/android_external_sony_boringssl-compat" revision="cm-13.0" />
By the way, I managed to get working data but not LTE on my build, but I'm not quite sure the state of yours since I haven't flashed it. Could anybody tell me? :silly:
Nevermind, LTE is working good here too . So far there's pretty much everything working, the only thing left is that I'm not having my sdcard partition mounted (at least on my build). Maybe it can be forced through terminal, I'll try later. How about on this build?
Regards!
Click to expand...
Click to collapse
I already have the necessary things. The only thing that may have changed is h2o64's lib being newer than luk1337's one
There's how SDcard works in MM now because you can choose to use it as internal storage so how it mounts at boot has changed - http://source.android.com/devices/storage/config.html
You need to click the notification and choose which option you want.
Kayant said:
I already have the necessary things. The only thing that may have changed is h2o64's lib being newer than luk1337's one
There's how SDcard works in MM now because you can choose to use it as internal storage so how it mounts at boot has changed - http://source.android.com/devices/storage/config.html
You need to click the notification and choose which option you want.
Click to expand...
Click to collapse
My lib is based o, the 5.1 blobs, and Luk's one is based off 5.0.2.
So if you wanna use mine, you must have all the other libs from 5.1
PS : I like the "not in order" xD :justkidding:
h2o64 said:
My lib is based o, the 5.1 blobs, and Luk's one is based off 5.0.2.
So if you wanna use mine, you must have all the other libs from 5.1
PS : I like the "not in order" xD :justkidding:
Click to expand...
Click to collapse
Hey you should hunt srisurya95 down for that
Thanks for the heads up.
Great work guys! I love it
One quick question: is the mobile radio active bug still present? On Lollipop, Chrome and Google Play Services are killing my battery for no apparent reason.
I have a question, if I install this Alpha build on my Motorola Moto G when the nightly builds start would it be a case of simply upgrading to this from the device via Cyanogenmod updates?
also, what recovery did you guys use? I am currently running CM recovery but its very basic and no options for nandroid backup so looking to do this before trying out CM13
ceanth said:
also, what recovery did you guys use? I am currently running CM recovery but its very basic and no options for nandroid backup so looking to do this before trying out CM13
Click to expand...
Click to collapse
I am using the TWRP-v2.8.7.0 from here - http://forum.xda-developers.com/mot...ection-somcom3xs-experimental-corner-t2996266

App craches on AlertDialog .show()

Hello there!
I'm building an app but whenever it comes to the AlertDialog .show() it chrashes. I've reserached but couldn't find any solution.
Most of them were got their problem fixed by changing Context on
AlertDialog.Builder example = new AlertDialog.Builder(Context)
to
AlertDialog.Builder example = new AlertDialog.Builder(MyActivity.this);
But that's not my case, I've beeing using MyActivity.this all long and still crashes.
Here's my code:
ublic class MainActivity extends AppCompatActivity {
Button btMudaTela;
final Funcoes funcao = new Funcoes();
@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button btMudaTela = (Button) findViewById(R.id.btMudaTela);
//Ao clicar no botão outra activity será aberta (ActivityCadastro)
btMudaTela.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View v) {
AlertDialog.Builder adb = new AlertDialog.Builder(MainActivity.this);
adb.setTitle("teste");
adb.setMessage("ok");
adb.show();
funcao.mudaActivity(MainActivity.this, ActivityCadastro.class);
finish();
}
});
}
}
And here's my Logcat:
06-23 07:41:42.113 3303 3303 E AndroidRuntime: Process: com.example.teste.projetofinal, PID: 3303
06-23 07:41:42.113 3303 3303 E AndroidRuntime: at com.example.teste.projetofinal.MainActivity$1.onClick(MainActivity.java:46)
06-23 07:41:42.123 954 1367 W ActivityManager: Force finishing activity com.example.teste.projetofinal/.MainActivity
06-23 07:41:43.334 954 1602 I ActivityManager: Process com.example.teste.projetofinal (pid 3303) (adj 9) has died.
06-23 07:41:43.334 954 1454 I WindowState: WIN DEATH: Window{444ca450 u0 com.example.teste.projetofinal/com.example.teste.projetofinal.MainActivity}
06-23 07:50:39.406 6806 6806 W InstallAppProgress: Replacing package:com.example.teste.projetofinal
06-23 07:50:42.219 5389 5389 I Finsky : [1] com.google.android.finsky.verifier.impl.br.c(104): Verification complete: id=0, package_name=com.example.teste.projetofinal
06-23 07:50:42.960 954 1046 I PackageManager: Package com.example.teste.projetofinal codePath changed from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk; Retaining data and using new
06-23 07:50:43.921 954 1046 W PackageManager: Code path for pkg : com.example.teste.projetofinal changing from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk
06-23 07:50:43.921 954 1046 W PackageManager: Resource path for pkg : com.example.teste.projetofinal changing from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk
06-23 07:50:45.592 954 1036 I CrashAnrDetector: onPackageUpdateFinished : com.example.teste.projetofinal
06-23 07:50:46.073 6987 6987 E dalvikvm: >>>>> com.example.teste.projetofinal [ userId:0 | appId:10200 ]
06-23 07:50:47.444 6987 6987 E AndroidRuntime: Process: com.example.teste.projetofinal, PID: 6987
06-23 07:50:47.444 6987 6987 E AndroidRuntime: at com.example.teste.projetofinal.MainActivity$1.onClick(MainActivity.java:40)
06-23 07:50:47.444 954 1602 W ActivityManager: Force finishing activity com.example.teste.projetofinal/.MainActivity
06-23 07:50:48.806 954 1602 I WindowState: WIN DEATH: Window{433e3670 u0 com.example.teste.projetofinal/com.example.teste.projetofinal.MainActivity}
06-23 07:50:48.836 954 1545 I ActivityManager: Process com.example.teste.projetofinal (pid 6987) (adj 9) has died.
06-23 07:50:51.188 3939 3939 E SPPClientService: [PackageInfoChangeReceiver] [handlePkgRemovedEvent] PackageName : com.example.teste.projetofinal, true, false
06-23 07:50:54.531 5389 5389 I Finsky : [1] com.google.android.finsky.externalreferrer.d.run(9): Package state data is missing for com.example.teste.projetofinal
06-23 07:50:55.792 3498 7271 I FontsPackageChangeOp: Package com.example.teste.projetofinal has no metadata
I've found solution
Yeah!!!! After 2 days of digging on the Internet I finally found solution here:
https://stackoverflow.com/questions...der-when-android-suport-library-updated-to-24
You need to import this for your AlertDialog:
Code:
import android.app.AlertDialog;
instead of this:
Code:
import android.support.v7.app.AlertDialog;

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

[T710/T715] LineageOS 15.1 (Experimental stuff)

These are my experimental builds. They are not pretend to be stable and have a lot of issues. Flash it if you know how to restore your tablet from brick. This stuff is not for daily usage. Just for testing and helping me to find bugs.
Feel free to write your feedback about builds.
I will upload roms for t710 and t715 only. Don't ask about t81x roms here please.
if you don't know how to flash recovery or flash rom, this topic is not for you.
compatible twrp:
T710: https://drive.google.com/open?id=1F-RA6OEXpWSJx2LgxsRKum2KoROGrIhd
T715: https://drive.google.com/open?id=1Icux5fPJqxDveYAjvMWASnfUpfWzO4xj
rom:
t710 only: https://drive.google.com/open?id=1-abtJDh5CbnC2ijCoAL8AdVHzP47hfCe
I'm trying to make compatibility with phh gsi builds., but for now I have error with composer. To run his builds is dirty hack: replace /system/lib/libsurcafeflinger*.so two libs from my working build.
sources:
http://github.com/bonuzzz
one more build for today
https://drive.google.com/open?id=1cIV5WN-VZUngamcNCQCNZfHS_BDIMO_W
this universal build for both models (t710 and t715)
modem stuff doesn't work here. I haven't included in config yet, but all sensors should work.
bonuzzz said:
one more build for today
https://drive.google.com/open?id=1cIV5WN-VZUngamcNCQCNZfHS_BDIMO_W
this universal build for both models (t710 and t715)
modem stuff doesn't work here. I haven't included in config yet, but all sensors should work.
Click to expand...
Click to collapse
Hello, thanks for those builds! I've been trying your lineage 15.1 ROM and I think everything is working there already. So I'll start testing these ones now... Is there something in particular you want me to logcat?
Sent from my Aquaris M5 using Tapatalk
So like these build are treble enabled? @ripee and @bonuzzz
mtnez.david said:
Hello, thanks for those builds! I've been trying your lineage 15.1 ROM and I think everything is working there already. So I'll start testing these ones now... Is there something in particular you want me to logcat?
Sent from my Aquaris M5 using Tapatalk
Click to expand...
Click to collapse
if you want something to test, there is new build https://drive.google.com/open?id=1Mu-XjXbskSXzft11onGL3mrY_I1llVKX
bonuzzz said:
if you want something to test, there is new build https://drive.google.com/open?id=1Mu-XjXbskSXzft11onGL3mrY_I1llVKX
Click to expand...
Click to collapse
Downloading again then
Sent from my Aquaris M5 using Tapatalk
mtnez.david said:
Downloading again then
Sent from my Aquaris M5 using Tapatalk
Click to expand...
Click to collapse
Hi, I am getting an error while trying to flash this rom... what does the script /tmp/install/bin/custom_t710.sh test?
mtnez.david said:
Hi, I am getting an error while trying to flash this rom... what does the script /tmp/install/bin/custom_t710.sh test?
Click to expand...
Click to collapse
no. it replaces some parameters in build.prop
will check later
bonuzzz said:
no. it replaces some parameters in build.prop
will check later
Click to expand...
Click to collapse
ok, so you are writing into the /system/build.prop my device atributes (model, device name, stuff ...). I guess you do that there in order to have same build for both t710 and t715, am i right?
---------- Post added at 01:10 PM ---------- Previous post was at 12:51 PM ----------
bonuzzz said:
no. it replaces some parameters in build.prop
will check later
Click to expand...
Click to collapse
So in this line:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys/' /system/build.prop
I suppose you're trying to replace the "ro.build.fingerprint=samsung/lineage ... " with "ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys" but I think sed can not understand that ... don't you have to scape the "/" stuff on your string there?
---------- Post added at 01:21 PM ---------- Previous post was at 01:10 PM ----------
in any case the '/' in the substituting expression crashes, I just tested it
Sent from my Aquaris M5 using Tapatalk
---------- Post added at 01:41 PM ---------- Previous post was at 01:21 PM ----------
mtnez.david said:
ok, so you are writing into the /system/build.prop my device atributes (model, device name, stuff ...). I guess you do that there in order to have same build for both t710 and t715, am i right?
---------- Post added at 01:10 PM ---------- Previous post was at 12:51 PM ----------
So in this line:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys/' /system/build.prop
I suppose you're trying to replace the "ro.build.fingerprint=samsung/lineage ... " with "ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys" but I think sed can not understand that ... don't you have to scape the "/" stuff on your string there?
---------- Post added at 01:21 PM ---------- Previous post was at 01:10 PM ----------
in any case the '/' in the substituting expression crashes, I just tested it
Sent from my Aquaris M5 using Tapatalk
Click to expand...
Click to collapse
So this works:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung\/gts28wifixx\/gts28wifi:7.0\/NRD90M\/T710XXU2DRB1:user\/release-keys/' /system/build.prop
sed -i 's/.*ro.vendor.build.fingerprint.*/ro.build.fingerprint=samsung\/gts28wifixx\/gts28wifi:7.0\/NRD90M\/T710XXU2DRB1:user\/release-keys/' /system/vendor/build.prop
mtnez.david said:
ok, so you are writing into the /system/build.prop my device atributes (model, device name, stuff ...). I guess you do that there in order to have same build for both t710 and t715, am i right?
Yes. You're right.
---------- Post added at 01:10 PM ---------- Previous post was at 12:51 PM ----------
So in this line:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys/' /system/build.prop
I suppose you're trying to replace the "ro.build.fingerprint=samsung/lineage ... " with "ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys" but I think sed can not understand that ... don't you have to scape the "/" stuff on your string there?
---------- Post added at 01:21 PM ---------- Previous post was at 01:10 PM ----------
in any case the '/' in the substituting expression crashes, I just tested it
Sent from my Aquaris M5 using Tapatalk
---------- Post added at 01:41 PM ---------- Previous post was at 01:21 PM ----------
So this works:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung\/gts28wifixx\/gts28wifi:7.0\/NRD90M\/T710XXU2DRB1:user\/release-keys/' /system/build.prop
sed -i 's/.*ro.vendor.build.fingerprint.*/ro.build.fingerprint=samsung\/gts28wifixx\/gts28wifi:7.0\/NRD90M\/T710XXU2DRB1:user\/release-keys/' /system/vendor/build.prop
Click to expand...
Click to collapse
I haven't checked this script on t710 yet. Working mostly on t715 tablet. Thanks for fix.
bonuzzz said:
I haven't checked this script on t710 yet. Working mostly on t715 tablet. Thanks for fix.
Click to expand...
Click to collapse
You're welcome, that's what this thread is about ... :good:
new build with fixed install script for t710 and some more things. one issue with lock screen (mobicore/keystore stuff) left. at least what I know
https://drive.google.com/open?id=1Uk3YISTssJ9h2-C8-K-XwlpGP3tpyMnk
Ok, im installing it real quick
bonuzzz said:
new build with fixed install script for t710 and some more things. one issue with lock screen (mobicore/keystore stuff) left. at least what I know
https://drive.google.com/open?id=1Uk3YISTssJ9h2-C8-K-XwlpGP3tpyMnk
Click to expand...
Click to collapse
Enviado desde mi Aquaris M5 mediante Tapatalk
---------- Post added at 10:46 PM ---------- Previous post was at 10:02 PM ----------
fingerprint settings is crashing:
Code:
08-04 00:50:45.441 7591 7591 E AndroidRuntime: FATAL EXCEPTION: main
08-04 00:50:45.441 7591 7591 E AndroidRuntime: Process: com.android.settings, PID: 7591
08-04 00:50:45.441 7591 7591 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=android:fragment:0, request=100, result=-1, data=null} to activity {com.android.settings/com.android.settings.password.ChooseLockGeneric}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4268)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.handleSendResult(ActivityThread.java:4312)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.-wrap19(Unknown Source:0)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at com.android.settings.password.ChooseLockGeneric$ChooseLockGenericFragment.onActivityResult(ChooseLockGeneric.java:344)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.Activity.dispatchActivityResult(Activity.java:7303)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4264)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: ... 9 more
08-04 00:50:45.448 3604 4687 W ActivityManager: Force finishing activity com.android.settings/.password.ChooseLockGeneric
08-04 00:50:45.458 3604 4687 W ActivityManager: Force finishing activity com.android.settings/.fingerprint.FingerprintEnrollIntroduction
08-04 00:50:45.466 3604 3620 I ActivityManager: Showing crash dialog for package com.android.settings u0
---------- Post added at 10:59 PM ---------- Previous post was at 10:46 PM ----------
screen lock as well:
Code:
08-04 00:57:44.415 4955 4955 D SubSettings: Launching fragment com.android.settings.password.ChooseLockGeneric$ChooseLockGenericFragment
08-04 00:57:44.423 3594 3786 I ActivityManager: START u0 {cmp=com.android.settings/.password.ConfirmLockPattern$InternalActivity (has extras)} from uid 1000
08-04 00:57:44.457 4955 5043 W TileUtils: Found com.android.settings.backup.BackupSettingsActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
08-04 00:57:44.460 4955 5043 W TileUtils: Found org.lineageos.lineageparts.trust.TrustPreferences for intent Intent { act=org.lineageos.lineageparts.action.SETTINGS pkg=org.lineageos.lineageparts } missing metadata
08-04 00:57:44.474 4955 4979 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1536x2048]-format:1
08-04 00:57:44.474 4955 4955 E RecyclerView: No adapter attached; skipping layout
08-04 00:57:44.476 4955 5044 D Settings: No enabled state changed, skipping updateCategory call
08-04 00:57:44.643 4955 4955 D AndroidRuntime: Shutting down VM
--------- beginning of crash
08-04 00:57:44.643 4955 4955 E AndroidRuntime: FATAL EXCEPTION: main
08-04 00:57:44.643 4955 4955 E AndroidRuntime: Process: com.android.settings, PID: 4955
08-04 00:57:44.643 4955 4955 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=android:fragment:0, request=100, result=-1, data=null} to activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4268)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.handleSendResult(ActivityThread.java:4312)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.-wrap19(Unknown Source:0)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at com.android.settings.password.ChooseLockGeneric$ChooseLockGenericFragment.onActivityResult(ChooseLockGeneric.java:344)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.Activity.dispatchActivityResult(Activity.java:7303)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4264)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: ... 9 more
08-04 00:57:44.647 3594 3786 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
08-04 00:57:44.651 3594 3786 W ActivityManager: Force finishing activity com.android.settings/.Settings$SecuritySettingsActivity
08-04 00:57:44.661 3594 3610 I ActivityManager: Showing crash dialog for package com.android.settings u0
@mtnez.david I said about it in previous message
I confirm it then. I'll see if I find something else
Enviado desde mi Aquaris M5 mediante Tapatalk
today's build
https://drive.google.com/open?id=1yJQ8Pu1VnZddFr7YMeX9n7NQ_M5DkBE6
I haven't got any crash today in today's build, I've been installing apps, not games, all seem to work properly. I could install nexflix from play store but I got the apk and it works fine.
Is there something specific that is supposed not to work?
Sent from my Aquaris M5 using Tapatalk
@mtnez.david no. everything should work
Is it supposed to be treble enabled?
Sent from my SM-T710 using Tapatalk
@mtnez.david no, only build in first post was treble enabled. I have broken camera and I don't want to upload new builds until I fix it. But I'm not even sure I will fix it.

Categories

Resources