I've just tried to dirty flash an update, which failed, so restored a backup I made prior, restoring system, vendor, data and boot partitions. Now the phone doesn't boot properly and after looking at the boot logcat it looks like the cause is that the decryption fails-
Code:
06-25 21:03:43.257 2128 2152 D StorageManagerService: unlockUserKey: 0 isFileEncryptedNativeOrEmulated: true hasToken: false hasSecret: false
06-25 21:03:43.257 602 602 D vold : fscrypt_unlock_user_key 0 serial=0 token_present=0
06-25 21:03:43.259 602 602 D vold : Skipping non-key .
06-25 21:03:43.259 602 602 D vold : Skipping non-key ..
06-25 21:03:43.259 602 602 D vold : Trying user CE key /data/misc/vold/user_keys/ce/0/current
06-25 21:03:43.253 0 0 I init : processing action (sys.boot_completed=1) from (/system/etc/init/hw/init.rc:978)
06-25 21:03:43.253 0 0 I init : starting service 'exec 25 (/bin/rm -rf /data/per_boot)'...
06-25 21:03:43.256 0 0 I init : SVC_EXEC service 'exec 25 (/bin/rm -rf /data/per_boot)' pid 3944 (uid 1000 gid 1000+0 context default) started; waiting...
06-25 21:03:43.264 577 577 I hwservicemanager: getTransport: Cannot find entry [email protected]::IKeymasterDevice/default in either framework or device manifest.
06-25 21:03:43.264 602 602 I vold : List of Keymaster HALs found:
06-25 21:03:43.264 602 602 I vold : Keymaster HAL #1: Keymaster HAL: 4 from QTI SecurityLevel: TRUSTED_ENVIRONMENT HAL: [email protected]::IKeymasterDevice/default
06-25 21:03:43.264 602 602 I vold : Using Keymaster HAL: 4 from QTI for encryption. Security level: TRUSTED_ENVIRONMENT, HAL: [email protected]::IKeymasterDevice/default
06-25 21:03:43.264 602 602 E vold : Failed to read from /data/misc/vold/user_keys/ce/0/current/keymaster_key_blob: No such file or directory
06-25 21:03:43.264 602 602 E vold : Failed to find working ce key for user 0
06-25 21:03:43.264 602 602 E vold : Couldn't read key for 0
06-25 21:03:43.265 2128 2152 E StorageManagerService: android.os.ServiceSpecificException: (code 0)
Strangely though, twrp can decrypt the data partition just fine.
And also, I don't really get why after restoring from a backup this would happen, I thought that essentially the phone state would basically be the same as before I did the backup after restoring, provided I don't format data or mess with the fs in any other way. Does anyone know why this might happen and could explain to me?
Related
Hi,everyone! I got into trouble when I tried to build AOSPA 4+ for mi3 tegra endtion.I successfully complied a *.zip,and successfully flash it to my device,but it always show the boot animation can not get into launcher.I have got logcat,but I am a beginner and have no knowledge about JAVA.
There is a part of locat
Code:
--------- beginning of /dev/log/main
E/nvaudio_modem(25458): Failed to get phone service!
W/AudioFlinger(25458): Thread AudioOut_2 cannot connect to the power manager service
E/AudioFlinger(25458): no wake lock to update!
I/r_submix(25458): adev_open(name=audio_hw_if)
I/r_submix(25458): adev_init_check()
I/AudioFlinger(25458): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 3
I/AudioPolicyService(25458): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
E/memtrack(25457): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug(25457): failed to load memtrack module: -2
I/SamplingProfilerIntegration(25457): Profiling disabled.
I/Zygote (25457): Preloading classes...
D/idmap (25596): error: no read access to /vendor/overlay: No such file or directory
D/TextLayoutCache(25457): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm(25457): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI(25457): register_android_mtp_MtpDevice
I/dalvikvm(25457): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm(25457): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm(25457): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
E/EmojiFactory_jni(25457): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
V/NatController(25456): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController(25456): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController(25456): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController(25456): runCmd(/system/bin/ip route flush cache) res=0
V/NatController(25456): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=0
I/LibraryLoader(25457): Loading: webviewchromium
E/dalvikvm(25457): dlopen("/system/lib/libwebviewchromium.so") failed: dlopen failed: empty/missing DT_HASH in "libwebviewchromium.so" (built with --hash-style=gnu?)
W/WebViewFactory(25457): error preloading provider
W/WebViewFactory(25457): java.lang.RuntimeException: Cannot load WebView
W/WebViewFactory(25457): at com.android.org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:31)
W/WebViewFactory(25457): at com.android.webview.chromium.WebViewChromiumFactoryProvider.<init>(WebViewChromiumFactoryProvider.java:87)
W/WebViewFactory(25457): at java.lang.Class.newInstanceImpl(Native Method)
W/WebViewFactory(25457): at java.lang.Class.newInstance(Class.java:1208)
W/WebViewFactory(25457): at android.webkit.WebViewFactory$Preloader.<clinit>(WebViewFactory.java:43)
W/WebViewFactory(25457): at java.lang.Class.classForName(Native Method)
W/WebViewFactory(25457): at java.lang.Class.forName(Class.java:251)
W/WebViewFactory(25457): at java.lang.Class.forName(Class.java:216)
W/WebViewFactory(25457): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:307)
W/WebViewFactory(25457): at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:247)
W/WebViewFactory(25457): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:581)
W/WebViewFactory(25457): at dalvik.system.NativeStart.main(Native Method)
W/WebViewFactory(25457): Caused by: com.android.org.chromium.content.common.ProcessInitException
W/WebViewFactory(25457): at com.android.org.chromium.content.app.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:135)
W/WebViewFactory(25457): at com.android.org.chromium.content.app.LibraryLoader.loadNow(LibraryLoader.java:87)
W/WebViewFactory(25457): at com.android.org.chromium.android_webview.AwBrowserProcess.loadLibrary(AwBrowserProcess.java:29)
W/WebViewFactory(25457): ... 11 more
W/WebViewFactory(25457): Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH in "libwebviewchromium.so" (built with --hash-style=gnu?)
W/WebViewFactory(25457): at java.lang.Runtime.loadLibrary(Runtime.java:386)
W/WebViewFactory(25457): at java.lang.System.loadLibrary(System.java:526)
W/WebViewFactory(25457): at com.android.org.chromium.content.app.LibraryLoader.loadAlreadyLocked(LibraryLoader.java:123)
W/WebViewFactory(25457): ... 13 more
V/NatController(25456): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=0
V/NatController(25456): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
W/Zygote (25457): Class not found for preloading: java.lang.UnsafeByteSequence
I/System (25457): Loaded time zone names for "" in 35ms (32ms in ICU)
E/Netd (25456): Unable to create netlink socket: Protocol not supported
E/Netd (25456): Unable to open quota2 logging socket
D/MDnsDS (25456): MDnsSdListener::Hander starting up
D/MDnsDS (25456): MDnsSdListener starting to monitor
D/MDnsDS (25456): Going to poll with pollCount 1
I/System (25457): Loaded time zone names for "en_US" in 22ms (18ms in ICU)
I/Zygote (25457): ...preloaded 2777 classes in 775ms.
I/dalvikvm(25457): System server process 25738 has been created
I/Zygote (25457): Accepting command socket connections
D/SensorService(25738): nuSensorService starting...
I/Sensors (25738): path open /dev/input/event1
I/Sensors (25738): path open /dev/input/event0
I/Sensors (25738): path open /dev/input/event6
I/Sensors (25738): path open /dev/input/event5
E/Sensors (25738): HAL:could not open trigger name
E/Sensors (25738): HAL:could not open current trigger
I/MPL-storeload(25738): Bytes read = 4340
V/Sensors (25738): HAL:MPL:inv_compass_was_turned_off
I/Sensors (25738): path open /dev/input/event1
I/Sensors (25738): path open /dev/input/event0
I/Sensors (25738): path open /dev/input/event6
I/Sensors (25738): path open /dev/input/event5
I/Sensors (25738): path open /dev/input/event4
I/Sensors (25738): path open /dev/input/event3
I/Sensors (25738): path open /dev/input/event1
I/Sensors (25738): path open /dev/input/event0
I/Sensors (25738): path open /dev/input/event6
I/Sensors (25738): path open /dev/input/event5
I/Sensors (25738): path open /dev/input/event4
I/Sensors (25738): path open /dev/input/event1
I/Sensors (25738): path open /dev/input/event0
I/Sensors (25738): path open /dev/input/event6
I/Sensors (25738): path open /dev/input/event5
I/Sensors (25738): path open /dev/input/event4
I/Sensors (25738): path open /dev/input/event3
I/Sensors (25738): path open /dev/input/event2
I/SensorService(25738): Ambient Light Sensor
I/SensorService(25738): Proximity Sensor
I/SensorService(25738): Barometer Sensor
I/SensorService(25738): Temperature Sensor
I/SensorService(25738): Gyroscope Sensor
I/SensorService(25738): Raw Gyroscope Sensor
I/SensorService(25738): Accelerometer Sensor
I/SensorService(25738): Magnetic Field Sensor
I/SensorService(25738): Orientation Sensor
I/SensorService(25738): Rotation Vector Sensor
I/SensorService(25738): Linear Acceleration Sensor
I/SensorService(25738): Gravity Sensor
D/SensorService(25738): Max socket buffer size 1048576
D/SensorService(25738): nuSensorService thread starting...
E/Sensors (25738): HAL:ERR Full data packet was not read
E/Sensors (25738): HAL:ERR Full data packet was not read
I/installd( 201): new connection
I/powerHAL::common(25738): input device id:0 present with name:tegra-kbc
I/powerHAL::common(25738): input device id:1 present with name:atmel-maxtouch
I/powerHAL::common(25738): input device id:2 present with name:bmp180
I/powerHAL::common(25738): input device id:3 present with name:lightsensor
I/powerHAL::common(25738): input device id:4 present with name:proximity
I/powerHAL::common(25738): input device id:5 present with name:compass
I/powerHAL::common(25738): input device id:6 present with name:fsa8108_sw
D/PackageManager(25738): No files in app dir /vendor/overlay
W/ResourceType(25738): Failure getting entry for 0x7f050000 (t=4 e=0) in package 0 (error -75)
W/Resources(25738): Converting to boolean: TypedValue{t=0x3/d=0x1a9a "false" a=2 r=0x7f120876}
W/ResourceType(25738): Failure getting entry for 0x7f0d01bf (t=12 e=447) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f0d01bf (t=12 e=447) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f130310 (t=18 e=784) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f130310 (t=18 e=784) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f1302f3 (t=18 e=755) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f04000f (t=3 e=15) in package 0 (error -75)
W/ResourceType(25738): Failure getting entry for 0x7f04000f (t=3 e=15) in package 0 (error -75)
D/PackageManager(25738): No files in app dir /vendor/app
V/tspdrv (25738): opened device /dev/tspdrv
V/tspdrv (25738): TSPDRV_MAGIC_NUMBER success
V/tspdrv (25738): TSPDRV_GET_NUM_ACTUATORS success, actuators = 1
V/tspdrv (25738): TSPDRV_SET_DEVICE_PARAMETER success
V/tspdrv (25738): timeout_ms: 0
V/tspdrv (25738): TSPDRV_DISABLE_AMP success
E/ConsumerIrService(25738): Can't open consumer IR HW Module, error: -2
W/libsuspend(25738): Error writing 'on' to /sys/power/state: Invalid argument
I/libsuspend(25738): Selected autosleep
I/powerHAL::common(25738): Enabling input device:1
I/powerHAL::common(25738): Enabling input device:2
I/powerHAL::common(25738): Enabling input device:3
I/powerHAL::common(25738): Enabling input device:4
I/powerHAL::common(25738): Enabling input device:5
I/powerHAL::common(25738): Enabling input device:6
I/powerHAL::pisces(25738): average current for last screen off is 206971
D/SurfaceFlinger( 196): Screen acquired, type=0 flinger=0xc0b450
D/SurfaceFlinger( 196): screen was previously acquired
D/EventHub(25738): No input device configuration file found for device 'atmel-maxtouch'.
D/BluetoothManagerService(25738): Loading stored name and address
D/BluetoothManagerService(25738): Stored bluetooth Name=null,Address=null
W/EventHub(25738): Unable to disable kernel key repeat for /dev/input/event1: Function not implemented
I/EventHub(25738): New device: id=1, fd=135, path='/dev/input/event1', name='atmel-maxtouch', classes=0x15, configuration='', keyLayout='/system/usr/keylayout/atmel-maxtouch.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
D/EventHub(25738): No input device configuration file found for device 'tegra-kbc'.
W/EventHub(25738): Unable to disable kernel key repeat for /dev/input/event0: Function not implemented
I/EventHub(25738): New device: id=2, fd=136, path='/dev/input/event0', name='tegra-kbc', classes=0x1, configuration='', keyLayout='/system/usr/keylayout/tegra-kbc.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
D/EventHub(25738): No input device configuration file found for device 'fsa8108_sw'.
W/EventHub(25738): Unable to disable kernel key repeat for /dev/input/event6: Function not implemented
I/EventHub(25738): New device: id=3, fd=138, path='/dev/input/event6', name='fsa8108_sw', classes=0x81, configuration='', keyLayout='/system/usr/keylayout/fsa8108_sw.kl', keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, usingSuspendBlockIoctl=true, usingClockIoctl=false
D/EventHub(25738): No input device configuration file found for device 'compass'.
D/EventHub(25738): No input device configuration file found for device 'proximity'.
D/EventHub(25738): No input device configuration file found for device 'lightsensor'.
D/EventHub(25738): No input device configuration file found for device 'bmp180'.
I/InputReader(25738): Device added: id=-1, name='Virtual', sources=0x00000301
I/InputReader(25738): Device added: id=3, name='fsa8108_sw', sources=0x80000101
I/InputReader(25738): Device added: id=2, name='tegra-kbc', sources=0x00000101
I/InputReader(25738): Touch device 'atmel-maxtouch' could not query the properties of its associated display. The device will be inoperable until the display size becomes available.
I/InputReader(25738): Device added: id=1, name='atmel-maxtouch', sources=0x00001103
I/InputReader(25738): Reconfiguring input devices. changes=0x00000004
I/InputReader(25738): Device reconfigured: id=1, name='atmel-maxtouch', size 1080x1920, orientation 0, mode 1, display id 0
I/PackageManager(25738): No secure containers on sdcard
D/WifiController(25738): isAirplaneModeOn = false, isWifiEnabled = false, isScanningAvailable = false
D/BluetoothTethering(25738): startMonitoring: target: Handler (com.android.server.ConnectivityService$NetworkStateTrackerHandler) {41d2e7e0}
D/BluetoothTethering(25738): startMonitoring: mCsHandler: Handler (com.android.server.ConnectivityService$NetworkStateTrackerHandler) {41d2e7e0}
D/BluetoothManagerService(25738): Message: 20
D/BluetoothManagerService(25738): Added callback: [email protected]:true
D/BluetoothManagerService(25738): Message: 30
D/Tethering(25738): Exception adding default nw to upstreamIfaceTypes: java.lang.NullPointerException
I/VolumePanel(25738): changeOverlayStyle : 1
V/nvaudio_hw(25458): nvaudio_dev_set_voice_volume : vol 0.800000
D/nvaudio_hw(25458): send volume to telephony:0.800000
D/nvaudio_modem(25458): Set modem volume to 0.800000
E/nvaudio_modem(25458): Failed to get phone service!
E/SELinux (25738): SELinux: Loaded file_contexts from /file_contexts
D/Atlas (25738): Computing best atlas configuration...
D/Atlas (25738): Running Atlas Worker #1
D/Atlas (25738): Running Atlas Worker #2
D/Atlas (25738): Running Atlas Worker #3
I/com.android.server.ThemeService(25738): Spawned worker thread
I/WindowManager(25738): SAFE MODE not enabled
V/tspdrv (25738): opened device /dev/tspdrv
V/tspdrv (25738): TSPDRV_MAGIC_NUMBER success
V/tspdrv (25738): TSPDRV_GET_NUM_ACTUATORS success, actuators = 1
F/libc (25738): invalid address or address of corrupt block 0xbed47420 passed to dlfree
F/libc (25738): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 25738 (system_server)
I forgot to filter the log ,sorry...
And when I am building,it always showed that: The API version is out of date,use Xlint to recomplie(In fact I am a Chinese and the massage is in Chinese,I translate it you to understand it),but the JDK version is 1.6.0.33,it is suitable to build kitkat,right?
I hope you answer,please.
Hello,
I'm using Magisk 14.0 on Marshmallow (Nvidia Shield tablet).
Some apk refuse to install: from the logcat, the vold is unable to create the secure container (asec) on the SD card.
When I enable the SELinux Permissive script, it then can install the apk (creating the .asec in /mnt/secure/asec I think), but then I don't pass safetynet.
Apparently, the vold (or another component related to the ASEC thing) doesn't have the correct contexts, I get access denied in logcat.
Code:
0-09 14:26:11.505 862 898 D VoldConnector: SND -> {10 asec create smdl1636995937.tmp 98 ext4 [scrubbed] 10005 1}
10-09 14:26:11.510 182 210 E Vold : Error creating imagefile (Permission denied)
10-09 14:26:11.510 182 210 E Vold : ASEC image file creation failed (Permission denied)
10-09 14:26:11.510 182 210 W Vold : Returning OperationFailed - no handler for errno 13
10-09 14:26:11.510 862 1714 D VoldConnector: RCV <- {400 10 asec operation failed (Permission denied)}
10-09 14:26:11.513 7320 7331 E PackageHelper: Failed to create secure container smdl1636995937.tmp
Anyone experienced it also ?
Laurent
For what it worths, I tested Magisk 14 on Lollipop (still on Nvidia Shield), and the "Move to SD" works as expected.
I'm wondering if the "Move to SD" is not broken on MarshMallow and Nougat.: but I've no clue why it tries to install the app on SDcard anyway.
As a workaround, I'd be interested in knowing if "install to external" can be completely disabled, so that even if the apk supports move to sd, it will still install on internal.
Any hint ?
Yesterday SuperSU & suhide suddenly disappears from my app drawer. I tried to reinstall both, with no errors, but both still vanished...
Then I restored a (quite old) data backup of and then it worked again. But after updating the apps both disappears again.
Every time I boot I get these kind of messages in logcat:
Code:
01-29 20:40:08.609 749 749 W installd: Ignoring /data/data/eu.chainfire.supersu/requests with unexpected GID 0 instead of 10087
01-29 20:40:08.609 749 749 W installd: Ignoring /data/data/eu.chainfire.supersu/requests with unexpected GID 0 instead of 10087
01-29 20:40:08.609 749 749 W installd: Ignoring /data/data/eu.chainfire.supersu/logs with unexpected GID 0 instead of 10087
01-29 20:40:08.614 749 749 W installd: Ignoring /data/data/eu.chainfire.supersu/logs with unexpected GID 0 instead of 10087
01-29 20:40:08.807 749 749 W installd: Ignoring /data/user_de/0/eu.chainfire.supersu/requests with unexpected GID 0 instead of 10087
01-29 20:40:08.807 749 749 W installd: Ignoring /data/user_de/0/eu.chainfire.supersu/requests with unexpected GID 0 instead of 10087
01-29 20:40:08.807 749 749 W installd: Ignoring /data/user_de/0/eu.chainfire.supersu/logs with unexpected GID 0 instead of 10087
01-29 20:40:08.811 749 749 I installd: Fixing /data/user_de/0/eu.chainfire.supersu/logs/L15172305400000.GRANTED.dev.ukanth.ufirewall with unexpected GID 0 instead of 10087
01-29 20:40:08.811 749 749 I installd: Fixing /data/user_de/0/eu.chainfire.supersu/logs/L15172305410000.GRANTED.com.grarak.kerneladiutor with unexpected GID 0 instead of 10087
01-29 20:40:08.812 749 749 W installd: Ignoring /data/user_de/0/eu.chainfire.supersu/logs with unexpected GID 0 instead of 10087
01-29 20:40:09.466 968 968 E RankingHelper: createDefaultChannelIfNeeded - Exception: android.content.pm.PackageManager$NameNotFoundException: eu.chainfire.suhide
01-29 20:40:09.466 968 968 E RankingHelper: deleteDefaultChannelIfNeeded - Exception: android.content.pm.PackageManager$NameNotFoundException: eu.chainfire.suhide
01-29 20:40:09.466 968 968 E RankingHelper: createDefaultChannelIfNeeded - Exception: android.content.pm.PackageManager$NameNotFoundException: eu.chainfire.suhide
01-29 20:40:09.466 968 968 E RankingHelper: deleteDefaultChannelIfNeeded - Exception: android.content.pm.PackageManager$NameNotFoundException: eu.chainfire.suhide
01-29 20:40:17.980 968 982 I BackupManagerService: Package eu.chainfire.suhide not installed; dropping from full backup
I suspect that maybe Google is blacklisting SuperSU & suhide apks from being installed...
Curiously all the apps that I gave root permission before this mess were still working with root privileges. So SuperSu and suhide apks are killed but su is still working as supposed.
Am I the only one blessed with this problem? My system data is in my signature under Nexus 5x section.
More info: when I install suhide from zip in recovery, here is what I get on next boot:
Code:
01-29 20:58:03.565 980 1005 I ActivityManager: Force stopping eu.chainfire.suhide appid=10297 user=-1: deletePackageX
01-29 20:58:03.794 980 980 W PackageManager: Destroying orphaned/data/app/eu.chainfire.suhide-L7XE6XF32M8cUz9PEhRN1A==
01-29 20:58:03.896 980 1023 I ActivityManager: Force stopping eu.chainfire.suhide appid=10297 user=0: pkg removed
01-29 20:58:05.350 980 980 I ConditionProviders: Disallowing condition provider eu.chainfire.suhide
01-29 20:58:14.169 980 1004 I ActivityManager: Start proc 3462:com.android.keychain/1000 for service com.android.keychain/.KeyChainService
01-29 20:58:23.158 4069 4069 I dex2oat : /system/bin/dex2oat --input-vdex-fd=-1 --output-vdex-fd=14 --compiler-filter=quicken -j4 --classpath-dir=/data/app/eu.chainfire.suhide-53wHVYknxTCQ9p5y4EC5Eg== --class-loader-context=PCL[]
01-29 20:58:24.306 980 1023 V BackupManagerService: restoreAtInstall pkg=eu.chainfire.suhide token=1 restoreSet=0
01-29 20:58:24.315 1232 1232 I Pm : Package eu.chainfire.suhide installed in 17494 ms
01-29 20:58:24.426 1462 1462 D ImsResolver: maybeAddedImsService, packageName: eu.chainfire.suhide
Now suhide apk is installed but without root granted...
I have the same issue on Oreo 8.1 on my Nexus 5X
Any solution so far?
Hi,
when I start the data encryption, the green droid appears for a second, then the UI restarts and everything is like before - unencrypted.
I've got this output in logcat:
Code:
07-10 23:24:55.200 5357 6475 I ActivityTaskManager: START u0 {cmp=com.android.settings/.CryptKeeperConfirm$Blank (has extras)} from uid 1000
07-10 23:24:55.201 5039 5082 W ANDR-PERF-LM: FeatureState: readState() 149: warning: appName is NULL, returning default State
07-10 23:24:55.201 5039 5082 I chatty : uid=0(root) lmCoreThread identical 1 line
07-10 23:24:55.201 5039 5082 W ANDR-PERF-LM: FeatureState: readState() 149: warning: appName is NULL, returning default State
07-10 23:24:55.206 6014 6014 W ActivityThread: handleWindowVisibility: no activity for token [email protected]
07-10 23:24:55.211 5734 5734 D StatusBar: disable<E!I!A!S!B!H!R!c S!> disable2<q i n >
07-10 23:24:55.211 5734 5734 V StatusBar: mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{2395e09 V.E...... ........ 0,0-1080,96} canPanelBeCollapsed(): false
07-10 23:24:55.211 5734 5734 D InterruptionStateProvider: heads up is disabled
07-10 23:24:55.211 5734 5734 D InterruptionStateProvider: dismissing any existing heads up notification on disable event
07-10 23:24:55.234 5152 7579 D audio_hw_primary: start_output_stream: pcm_prepare
07-10 23:24:55.234 5152 7579 D audio_hw_primary: start_output_stream: exit
07-10 23:24:55.234 5152 7579 D audio_hw_primary: check_and_set_karaok_parameters: is karaok rx device 0, is karaok tx device 0
07-10 23:24:55.234 5152 7579 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
07-10 23:24:55.234 5152 7579 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 12 snd_dev 2
07-10 23:24:55.234 5152 7579 W qc_adm : margin check: adm_request_focus_v2_1(p) failed diff -1296
07-10 23:24:55.234 5152 7579 W qc_adm : margin check: adm_abandon_focus(p) failed diff -1296
07-10 23:24:55.402 5039 5039 W /vendor/bin/hw/[email protected]: type=1400 audit(0.0:806): avc: denied { search } for comm=41646170744C61756E636820566D name="5385" dev="proc" ino=76201 scontext=u:r:hal_perf_default:s0 tcontext=u:r:system_server:s0 tclass=dir permissive=0
07-10 23:24:55.402 5039 5039 W /vendor/bin/hw/[email protected]: type=1400 audit(0.0:807): avc: denied { search } for comm=41646170744C61756E636820566D name="5384" dev="proc" ino=76199 scontext=u:r:hal_perf_default:s0 tcontext=u:r:system_server:s0 tclass=dir permissive=0
07-10 23:24:55.913 634 2525 D vold : fdeEnable(3, *, 0)
07-10 23:24:55.914 634 2525 D vold : !fscrypt_is_native, spawning fdeEnableInternal
07-10 23:24:55.915 634 8102 E Cryptfs : Unexpected value for crypto key location
07-10 23:24:55.915 634 8102 E Cryptfs : Cannot get size of block device
I tried several roms (AICP, OmniRom, BlissRom), all of them crash with the same error from cryptfs.
Before installing the first rom (coming from Stock MIUI 11.0.6 European) I deleted the data partition (not just wipe) using twrp-3.4.0-0-raphael-mauronofrio.img. After that I had to flash a new vendor image fw-vendor_raphael_miui_RAPHAELEEAGlobal_V12.0.1.0.QFKEUXM_68e06ebeaa_10.0.zip in order to be able to install AICP.
All three roms seem to be working so far, but all three of them without encryption.
Because I read somewhere that there have been error with the correct size of the data partition, maybe someone with working encryption can get me his block count with tune2fs from sda31. Mine is 29136891.
Any suggestions on how to fix this problem are highly welcome.
Regards,
Daniel
Hi guys
Using 47.1.A.2.324 / 47.1.A.16.20 (stock oreo) android works correct -> after enabled "developer -> usb-debugging" the device asks me to allow the remote-computer...
But, if i flash 47.2.A.11.228 i get adb access DIRECT at the first boot (usb-debugging is on without enabling developer-settings).
Flushing the "stored keys" dont help...this is a major security-problem and of course.. TWRP isnt working because it cant find the keys.
JFI: i dont see the "Debugging-Notification"-Switch to enable the verification-dialog in the settings
Flashing it back to oreo and it works again (just for oreo).
A "adb logcat |grep adb" gets:
Spoiler: use-keys
01-18 04:51:42.479 929 929 E Diag_Lib: QMID : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
01-18 04:51:42.488 911 945 I adbd : initializing functionfs
01-18 04:51:42.488 911 945 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0
02-05 16:07:44.459 930 930 E Diag_Lib: bLogRTPMSgs =0,rtpdata=0,adblog=0
02-05 16:07:44.568 911 945 I adbd : functionfs successfully initialized
02-05 16:07:44.568 911 945 I adbd : registering usb transport
02-05 16:07:44.746 1166 1166 E Diag_Lib: DATAD : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
02-05 16:07:45.878 911 911 I adbd : Calling send_auth_request...
02-05 16:07:45.883 911 911 I adbd : Loading keys from /data/misc/adb/adb_keys
02-05 16:07:45.885 911 911 I adbd : adb client authorized
Spoiler: dont-use-keys
04-09 05:42:14.068 1140 1140 E Diag_Lib: QMID : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-09 05:42:14.068 1140 1140 E Diag_Lib: QMID : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0
04-09 05:42:14.238 1141 1141 E Diag_Lib: bLogRTPMSgs =0,rtpdata=0,adblog=0
04-09 05:42:14.355 1358 1369 I adbd : initializing functionfs
04-09 05:42:14.355 1358 1369 I adbd : opening control endpoint /dev/usb-ffs/adb/ep0
04-09 05:42:14.361 1358 1369 I adbd : functionfs successfully initialized
04-09 05:42:14.361 1358 1369 I adbd : registering usb transport
So i ask myself "where is the key stored, or if he isnt stored, why the devices dont ask my to allow/store the new remote-computer".
And it doesnt matter which stock-rom i flash... i used "emma" and "newflasher" with different pie-roms.
Strange...