Building a G925W8 ROM - Galaxy S6 Edge Q&A, Help & Troubleshooting

I have been jumping all over the forums talking to several developers, trying to get my ROM to connect to WiFi, after the first boot.
I have 18 Revisions of my ROM so far and it is built with ArchiKitchen.
I compared several ROMs, their updater-scripts, default.prop's, build.prop's, and kernel ramdisk's as well.
Everything appears to be the same, yet every other ROM works and the one I have built just won't connect to WiFi..
I tried several build.prop hacks like secure storage = false and disabling DHCP. Nothing works..
Would anybody here on XDA be able to help me out, building this ROM? Or perhaps give me details on how other users made their ROM, perhaps I have made a mistake somewhere along the way. Any and all suggestions would be greatly appreciated.

I stopped being lazy and pulled a log from my ROM, also I found out the Kitchen DOES NOT root or busybox my ROM properly at all. I achieved root by changing the Superuser.apk and updating the binaries, then rebooting.
Interestingly enough, the Kitchen shows no errors at all when I enable root and even shows me the ROM is rooted with [yes] for confirmation.
Here is the log as well, I can't understand much of it, but I can see from all the errors that something important is missing. Probably due to inexperience, but hopefully I will learn from this struggle..
Hope someone can offer some insight on this:
Code:
06-06 16:26:07.126 E/WifiService(3719): SEC_COMMAND_ID_SET_WIFI_SCAN_WITH_P2P : Start scan, start assoc
06-06 16:26:07.166 E/WifiSettings(10237): updateWifiInternetServiceCheck() - WIFI_INTERNET_SERVICE_CHECK_ENABLED
06-06 16:26:08.176 E/WifiConfigStore(3719): Error parsing configuration: java.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
06-06 16:26:08.176 E/WifiConfigStore(3719): readNetworkHistory: No config file, revert to defaultjava.io.FileNotFoundException: /data/misc/wifi/networkHistory.txt: open failed: ENOENT (No such file or directory)
06-06 16:26:08.176 E/WifiConfigStore(3719): --- Begin wpa_supplicant.conf Contents ---
06-06 16:26:08.176 E/WifiConfigStore(3719): ctrl_interface=/data/misc/wifi/sockets
06-06 16:26:08.176 E/WifiConfigStore(3719): update_config=1
06-06 16:26:08.176 E/WifiConfigStore(3719): device_name=zeroltebmc
06-06 16:26:08.176 E/WifiConfigStore(3719): manufacturer=samsung
06-06 16:26:08.176 E/WifiConfigStore(3719): model_name=SM-G925W8
06-06 16:26:08.176 E/WifiConfigStore(3719): model_number=SM-G925W8
06-06 16:26:08.176 E/WifiConfigStore(3719): serial_number=04157df46b7b0810
06-06 16:26:08.176 E/WifiConfigStore(3719): device_type=10-0050F204-5
06-06 16:26:08.176 E/WifiConfigStore(3719): config_methods=physical_display virtual_push_button
06-06 16:26:08.176 E/WifiConfigStore(3719): p2p_disabled=1
06-06 16:26:08.176 E/WifiConfigStore(3719): bss_expiration_age=3600
06-06 16:26:08.176 E/WifiConfigStore(3719): hs20=1
06-06 16:26:08.176 E/WifiConfigStore(3719): interworking=1
06-06 16:26:08.176 E/WifiConfigStore(3719): auto_interworking=1
06-06 16:26:08.176 E/WifiConfigStore(3719): okc=1
06-06 16:26:08.176 E/WifiConfigStore(3719): external_sim=1
06-06 16:26:08.176 E/WifiConfigStore(3719): --- End wpa_supplicant.conf Contents ---
06-06 16:26:08.176 E/WifiConfigStore(3719): setLastSelectedConfiguration -1
06-06 16:26:08.176 E/WifiStateMachine(3719): skipWifiStateBroadcast:false, LastBroadcastedWifiState:1
06-06 16:26:08.196 E/WifiStateMachine(3719): BroadcastReceiver : WIFI_P2P_STATE_CHANGED_ACTION is : android.net.wifi.p2p.STATE_CHANGED
06-06 16:26:08.206 E/CSLegacyTypeTracker(3719): add() : Adding agent NetworkAgentInfo{ ni{[type: WIFI_P2P[] - WIFI_P2P, state: UNKNOWN/IDLE, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]} network{502} lp{{LinkAddresses: [] Routes: [] DnsAddresses: [] Domains: null MTU: 0 TcpBufferSizes: 524288,1048576,4525824,524288,1048576,4525824}} nc{[ Transports: WIFI Capabilities: WIFI_P2P&NOT_RESTRICTED&TRUSTED&NOT_VPN LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps]} Score{20} validated{false} created{false} explicitlySelected{false} } for legacy network type 13
06-06 16:26:08.256 E/WifiStateMachine(3719): skipWifiStateBroadcast:false, LastBroadcastedWifiState:3
06-06 16:26:08.306 E/WifiStateMachine(3719): DriverStatedState::CMD_SEC_STRING_API - inner msg [207]
06-06 16:26:08.306 E/WifiNative-wlan0(3719): invaild command id : 215
06-06 16:26:08.366 E/WifiSettings(10237): updateWifiInternetServiceCheck() - WIFI_INTERNET_SERVICE_CHECK_ENABLED
06-06 16:26:09.976 E/WifiDialog(10237): onWindowFocusChanged
06-06 16:26:16.416 E/WifiConfigStore(3719): addOrUpdateNetworkNative created netId=0
06-06 16:26:16.416 E/WiFiServiceImpl (3719): CONNECT nid=-1 uid=1000
06-06 16:26:16.456 E/WifiConfigStore(3719): created new config netId=0 uid=1000
06-06 16:26:16.456 E/WifiConfigStore(3719): will read network variables netId=0
06-06 16:26:16.496 E/WifiConfigStore(3719): Not a HS20
06-06 16:26:16.566 E/WifiStateMachine(3719): CONNECT_NETWORK id=0 config="TELUS4546" cnid=0 supstate=ScanState my state DisconnectedState uid = 1000
06-06 16:26:16.566 E/WifiConfigStore(3719): saveWifiConfigBSSID Setting BSSID for "TELUS4546"WPA_PSK to any
06-06 16:26:16.576 E/WifiConfigStore(3719): saveWifiConfigBSSID Setting BSSID for "TELUS4546"WPA_PSK to any
06-06 16:26:16.586 E/WifiAutoJoinController (3719): updateConfigurationHistory found 0 networks
06-06 16:26:16.586 E/WifiConfigStore(3719): setLastSelectedConfiguration 0
06-06 16:26:16.586 E/WifiConfigStore(3719): will read network variables netId=0
06-06 16:26:16.596 E/WifiConfigStore(3719): Not a HS20
06-06 16:26:16.706 E/WifiSettings(10237): updateWifiInternetServiceCheck() - WIFI_INTERNET_SERVICE_CHECK_ENABLED
06-06 16:26:16.766 E/WifiConfigStore(3719): saveWifiConfigBSSID Setting BSSID for "TELUS4546"WPA_PSK to any
06-06 16:26:16.816 E/WifiConfigStore(3719): saveWifiConfigBSSID Setting BSSID for "TELUS4546"WPA_PSK to any
06-06 16:26:16.836 E/WifiStateMachine(3719): Start Dhcp Watchdog 1
06-06 16:26:16.946 E/WifiNative-wlan0(3719): do suspend false
06-06 16:26:25.216 E/WifiService(3719): Start scan, start assoc

Related

[Q] Netflix/HBO/DRM protected content not playing

Hi,
I've been struggling to get Netflix and HBO Nordic working on my Galaxy S2 running Cyanogenmod 10.1 nightlies. I've tried Netflix 2.1.1 and 1.8.1, and a modded HBO 1.0 app bypassing the root check.
Here are some logcat (*:W) excerpts from the different apps.
HBO Nordic app, force closes upon pressing play:
Code:
W/AudioService( 2198): RemoteControlClient died
F/libc (26548): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 26548 (drmserver)
W/DrmManagerClientImpl(Native)(26554): DrmManager server died!
E/WVMExtractor(28011): Drm manager failed to initialize.
E/MediaPlayer(26554): error (1, -2147483648)
E/MediaPlayer(26554): Error (1,-2147483648)
W/dalvikvm(26554): threadid=1: thread exiting with uncaught exception (group=0x40f2f930)
E/AndroidRuntime(26554): FATAL EXCEPTION: main
E/AndroidRuntime(26554): java.lang.NullPointerException
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.finishWithError(VideoActivity.java:240)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity.access$2(VideoActivity.java:236)
E/AndroidRuntime(26554): at com.hbo.android.app.activity.VideoActivity$2.onMediaPlayerError(VideoActivity.java:108)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.PlayerBase.onError(PlayerBase.java:425)
E/AndroidRuntime(26554): at com.hbo.android.app.widget.video.player.internal.BaseVideoView$4.onError(BaseVideoView.java:372)
E/AndroidRuntime(26554): at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:2003)
E/AndroidRuntime(26554): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(26554): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(26554): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(26554): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime(26554): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime(26554): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2198): Force finishing activity com.hbo.android.app/.activity.VideoActivity
W/ActivityManager( 2198): Activity pause timeout for ActivityRecord{41d77aa8 u0 com.hbo.android.app/.activity.VideoActivity}
W/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 2198): channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '419febd8 com.hbo.android.app/com.hbo.android.app.activity.MainActivity (server)'
W/InputDispatcher( 2198): Attempted to unregister already unregistered input channel '41938168 com.hbo.android.app/com.hbo.android.app.activity.VideoActivity (server)'
E/Trace (28321): error opening trace file: No such file or directory (2)
E/Trace (28356): error opening trace file: No such file or directory (2)
Netflix 1.8.1, plays sound and shows subtitles, but no video:
Code:
W/ActivityManager( 2198): Scheduling restart of crashed service com.teamhacksung.tvout/.TvOutService in 5000ms
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
W/libc (27869): pthread_create sched_setscheduler call failed: Operation not permitted
E/Trace (28011): error opening trace file: No such file or directory (2)
E/SEC_COMP_REGS(28011): .
E/SEC_COMP_REGS(28011): ..
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28011): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28011): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28011): OMX_GetExtensionIndex failed
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/ ( 1864): egl_android_pixel_format* _egl_android_get_native_buffer_format(android_native_buffer_t*) unsupported native buffer format (0x13)
E/SurfaceTexture( 1864): [SurfaceView] error creating EGLImage: 0x3003
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Unknown error 2147483648 (-2147483648)
E/BufferQueue( 1864): [SurfaceView] acquireBuffer: max acquired buffer count reached: 2 (max=1)
E/SurfaceTexture( 1864): [SurfaceView] updateTexImage: acquire failed: Function not implemented (-38)
E/Trace (28196): error opening trace file: No such file or directory (2)
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver( 2198): Attempted to finish an input event but the input event receiver has already been disposed.
W/AudioFlinger(28011): session id 277 not found for pid 2198
E/BufferQueue( 1864): [SurfaceView] dequeueBuffer: SurfaceTexture has been abandoned!
E/ACodec (28011): dequeueBuffer failed.
E/BufferQueue( 1864): [SurfaceView] queueBuffer: SurfaceTexture has been abandoned!
E/SurfaceTextureClient(28011): queueBuffer: error queuing buffer to SurfaceTexture, -19
E/NuPlayer(28011): Received error from video decoder, aborting playback.
W/BufferQueue( 1864): [SurfaceView] cancelBuffer: BufferQueue has been abandoned!
W/AudioService( 2198): stream was not muted by this client
E/AudioService( 2198): Could not get client death handler for stream: 3
Netflix 2.1.1, stuck on loading screen:
Code:
W/dalvikvm(28732): method Lcom/netflix/mediaclient/android/widget/NetflixSeekBar;.onKeyChange incorrectly overrides package-private method with same name in Landroid/widget/AbsSeekBar;
E/SEC_COMP_REGS(28732): .
E/SEC_COMP_REGS(28732): ..
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.AVC.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Decoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.M4V.Encoder.so
E/SEC_COMP_REGS(28732): libOMX.SEC.WMV.Decoder.so
E/SEC_COMP_REGS(28732): Path & libName : /system/lib/omx/libOMX.SEC.WMV.Decoder.so
E/OMXNodeInstance(28732): OMX_GetExtensionIndex failed
E/NetflixTransport-JNI(28732): Java_com_netflix_mediaclient_javabridge_transport_NativeTransport_native_1setVOapi systemAndroid set VO API
E/NetflixTransport-JNI(28732): Custom params sw analytics params set
E/Trace (28929): error opening trace file: No such file or directory (2)
E/Trace (28959): error opening trace file: No such file or directory (2)
E/Trace (28976): error opening trace file: No such file or directory (2)
E/nf_service(28732): Unable to get instance of PlayerActivity, only pass stateChnage event to MP
Anyone have a clue what might be wrong? Is it a DRM decrypting process that doesn't work, as I suspect?

Can you help me to fix some LogCat error???

Here the logcat...
i've no wifi connection
No gsensor
No sound
i thinks that all...
Code:
08:27:10.523 Error gralloc 88 UMP open failed
08:27:10.523 Error FramebufferNativeWindow 88 couldn't open framebuffer HAL (Operation not permitted)
08:27:10.523 Error gralloc 88 UMP open failed
08:27:10.523 Error FramebufferNativeWindow 88 couldn't open gralloc HAL (Operation not permitted)
08:27:10.523 Error SurfaceFlinger 88 Display subsystem failed to initialize. check logs. exiting...
08:27:10.524 Warning AudioFlinger 91 Thread AudioOut_1 cannot connect to the power manager service
08:27:10.527 Error SurfaceFlinger 142 couldn't find an EGLConfig matching the screen format
08:27:10.529 Warning AudioFlinger 91 Thread AudioOut_1 cannot connect to the power manager service
08:27:10.529 Error MediaPlayer 149 error (1, -2147483648)
08:27:10.529 Error MediaPlayer 149 start called in state 0
08:27:10.529 Warning Zygote 125 Class not found for preloading: android.media.AudioManager$2
08:27:10.530 Warning Zygote 125 Class not found for preloading: android.media.IRemoteControlClientDispatcher
08:27:10.530 Warning Zygote 125 Class not found for preloading: android.media.IRemoteControlClientDispatcher$Stub
08:27:10.530 Warning Zygote 125 Class not found for preloading: android.text.TextDirectionHeuristics$CharCount
08:27:10.530 Warning Zygote 125 Class not found for preloading: android.text.method.WordIterator$1
08:27:10.531 Warning Zygote 125 Class not found for preloading: android.widget.EdgeGlow
08:27:10.531 Error PhonePolicy 125 Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
08:27:10.531 Warning ICU 125 Error getting ICU latn number patterns value: U_MISSING_RESOURCE_ERROR
08:27:10.534 Error SensorService 166 couldn't open device for module sensors (Invalid argument)
08:27:10.535 Warning UsageStats 166 Usage stats version changed; dropping
08:27:10.535 Warning PackageManager 166 Running ENG build: no pre-dexopt!
08:27:10.535 Warning PackageManager 166 Library not found: /system/framework/com.android.nfc_extras.jar
08:27:10.535 Warning PackageManager 166 Library not found: /system/framework/com.qualcomm.location.vzw_library.jar
08:27:10.535 Warning PackageParser 166 No actions in intent filter at /system/app/Contacts.apk Binary XML file line #526
08:27:10.535 Warning ResourceType 166 Failure getting entry for 0x7f02004b (t=1 e=75) in package 0 (error -75)
08:27:10.535 Warning PackageManager 166 Signature mismatch for shared user : SharedUserSetting{40ff56f0 android.uid.system/1000}
08:27:10.535 Error PackageManager 166 Package com.sonyericsson.audioeffectservice has no signatures that match those in shared user android.uid.system; ignoring!
08:27:10.535 Warning ResourceType 166 Failure getting entry for 0x7f0d001e (t=12 e=30) in package 0 (error -75)
08:27:10.536 Warning PackageManager 166 Removing dangling permission: com.qualcomm.permission.ACCESS_LOCATION_API from package null
08:27:10.536 Warning PackageManager 166 Unknown permission com.sonyericsson.permission.FACEBOOK in package com.sonyericsson.xhome
08:27:10.536 Warning PackageManager 166 Unknown permission com.android.vending.permission.UPDATE_MARKET_FAILURE in package com.android.vending.updater
08:27:10.536 Warning PackageManager 166 Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
08:27:10.536 Warning PackageManager 166 Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.google.android.onetimeinitializer
08:27:10.536 Warning PackageManager 166 Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.google.android.onetimeinitializer
08:27:10.536 Warning PackageManager 166 Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch
08:27:10.536 Warning PackageManager 166 Unknown permission com.android.vending.billing.IBillingAccountService.BIND2 in package com.google.android.gsf.login
08:27:10.536 Warning PackageManager 166 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x9be45)
08:27:10.536 Warning PackageManager 166 Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.settings
08:27:10.536 Warning PackageManager 166 Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.settings
08:27:10.536 Warning PackageManager 166 Unknown permission android.permission.READ_EXTERNAL_STORAGE in package com.android.videoeditor
08:27:10.536 Warning PackageManager 166 Not granting permission com.google.android.gm.permission.READ_GMAIL to package com.google.android.apps.uploader (protectionLevel=2 flags=0x8be45)
08:27:10.536 Warning PackageManager 166 Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.panoramio in package com.google.android.apps.uploader
08:27:10.536 Warning PackageManager 166 Unknown permission android.permission.READ_EXTERNAL_STORAGE in package com.android.vending
08:27:10.536 Warning PackageManager 166 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.vending (protectionLevel=2 flags=0xabe45)
08:27:10.536 Warning PackageManager 166 Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0x8be45)
08:27:10.536 Warning PackageManager 166 Not granting permission android.permission.DEVICE_POWER to package com.android.facelock (protectionLevel=2 flags=0x8be45)
08:27:10.547 Warning StatusBarManager 166 warning: no STATUS_BAR_SERVICE
08:27:10.548 Error EventHub 166 could not get driver version for /dev/input/js0, Invalid argument
08:27:10.548 Warning InputManagerService 166 Couldn't create dir.: /data/system/inputmethod
08:27:10.548 Error EventHub 166 could not get driver version for /dev/input/mice, Not a typewriter
08:27:10.549 Error WifiP2pService 166 Failed to reload sta firmware java.lang.NullPointerException
08:27:10.549 Error CommandListener 86 Failed to open /proc/sys/net/ipv6/conf/wlan0/disable_ipv6: No such file or directory
08:27:10.549 Error WifiStateMachine 166 Failed to disable IPv6: java.lang.IllegalStateException: Unable to communicate to native daemon for disabling ipv6
08:27:10.549 Error MobileDataStateTracker 166 default: Ignoring feature request because could not acquire PhoneService
08:27:10.549 Error MobileDataStateTracker 166 default: Could not enable APN type "default"
08:27:10.551 Warning DockObserver 166 This kernel does not have dock station support
08:27:10.551 Error UsbDeviceManager 166 mDefaultFunctions=mass_storage,adb
08:27:10.551 Verbose UsbDeviceManager 166 now time is mars 12 08:22:19:1363072939 matin
08:27:10.551 Verbose UsbDeviceManager 166 now time is mars 12 08:22:19:1363072939 matin
08:27:10.551 Verbose BackupManagerService 166 Initializing package tracking
08:27:10.552 Verbose BackupManagerService 166 No ancestral data
08:27:10.552 Verbose BackupManagerService 166 addPackageParticipantsLocked: all
08:27:10.552 Verbose BackupManagerService 166 Registering transport android/com.android.internal.backup.LocalTransport = [email protected]
08:27:10.552 Verbose BackupManagerService 166 Starting with transport android/com.android.internal.backup.LocalTransport
08:27:10.552 Verbose BackupManagerService 166 Binding to Google transport
08:27:10.554 Verbose TransportControlView 166 Create TCV [email protected]
08:27:10.555 Warning ActivityManager 166 Permission Denial: broadcasting Intent { act=android.net.conn.TETHER_STATE_CHANGED flg=0x30000010 (has extras) } from null (pid=-1, uid=-1) requires android.permission.CONNECTIVITY_INTERNAL due to registered receiver BroadcastFilter{4115eea8 ReceiverList{4115ee30 166 system/1000 local:4115ebf8}}
08:27:10.556 Verbose LockScreen 166 updateResources(Context context)
08:27:10.556 Warning InputManagerService 166 Ignoring setImeWindowStatus of uid 1000 token: null
08:27:10.557 Warning ThrottleService 166 unable to find stats for iface rmnet0
08:27:10.557 Error WifiHW 86 wifi_change_fw_path: STA
08:27:10.558 Error CommandListener 86 Failed to open /proc/sys/net/ipv6/conf/wlan0/use_tempaddr: No such file or directory
08:27:10.558 Error WifiStateMachine 166 Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native daemon to set ipv6privacyextensions - com.android.server.NativeDaemonConnectorException: Cmd {interface ipv6privacyextensions wlan0 enable} failed with code 400 : {Failed to set ipv6 privacy extensions (No such file or directory)}
08:27:10.558 Warning TelephonyProvider 315 onCreate: confFile=/system/etc/apns-conf.xml oldCheckSum=-1
08:27:10.560 Warning GpsLocationProvider 166 Failed to enable location provider
08:27:10.561 Warning ResourceType 230 No package identifier when getting value for resource number 0x00000000
08:27:10.561 Warning PackageManager 230 Failure retrieving resources forcom.google.android.voicesearch: Resource ID #0x0
08:27:10.561 Verbose BackupManagerService 166 Connected to Google transport
08:27:10.561 Verbose BackupManagerService 166 Registering transport com.google.android.backup/.BackupTransportService = [email protected]
08:27:10.561 Error ActivityThread 294 Failed to find provider info for com.android.inputmethod.latin.dictionarypack
08:27:10.561 Error BinaryDictionaryGetter 294 Could not find a dictionary pack
08:27:10.561 Warning dalvikvm 335 VFY: unable to resolve virtual method 136: Landroid/appwidget/AppWidgetManager;.bindAppWidgetIdIfAllowed (ILandroid/content/ComponentName;)Z
08:27:10.604 Warning dalvikvm 335 VFY: unable to resolve virtual method 136: Landroid/appwidget/AppWidgetManager;.bindAppWidgetIdIfAllowed (ILandroid/content/ComponentName;)Z
08:27:10.605 Error ResourceType 335 Style contains key with bad package: 0x02010004
08:27:10.606 Warning ActivityManager 166 Unable to start service Intent { act=com.android.ussd.IExtendedNetworkService }: not found
08:27:10.606 Error ActivityThread 335 Failed to find provider info for com.sonyericsson.provider.customization
08:27:10.607 Warning CallNotifier 315 Got onMwiChanged() on non-voice-capable device! Ignoring...
08:27:10.607 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=76 txPackets=1 operations=0
08:27:10.607 Verbose SipBroadcastReceiver 315 SIP VOIP not supported: android.net.sip.SIP_SERVICE_UP
08:27:10.608 Verbose DevicePolicyManagerService 166 Sending password expiration notifications for action android.intent.action.BOOT_COMPLETED
08:27:10.610 Warning logwrapper 497 Unable to background process (No such file or directory)
08:27:10.610 Verbose WiredAccessoryObserver 166 init()
08:27:10.610 Warning WiredAccessoryObserver 166 This kernel does not have wired headset support
08:27:10.610 Warning WiredAccessoryObserver 166 This kernel does not have wired headset support
08:27:10.610 Warning WiredAccessoryObserver 166 This kernel does not have wired headset support
08:27:10.611 Error Vold 85 Filesystem check failed (unknown exit code 1)
08:27:10.611 Warning logwrapper 518 Unable to background process (No such file or directory)
08:27:10.611 Warning logwrapper 519 Unable to background process (No such file or directory)
08:27:10.611 Error Vold 85 Filesystem check failed (unknown exit code 1)
08:27:10.611 Warning logwrapper 520 Unable to background process (No such file or directory)
08:27:10.612 Warning PackageManager 166 Unknown permission com.sonyericsson.permission.FACEBOOK in package com.sonyericsson.xhome
08:27:10.612 Warning PackageManager 166 Unknown permission com.android.vending.permission.UPDATE_MARKET_FAILURE in package com.android.vending.updater
08:27:10.612 Warning PackageManager 166 Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
08:27:10.612 Warning PackageManager 166 Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.google.android.onetimeinitializer
08:27:10.612 Warning PackageManager 166 Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.google.android.onetimeinitializer
08:27:10.612 Warning PackageManager 166 Unknown permission com.google.android.apps.googlevoice.permission.AUTO_SEND in package com.google.android.voicesearch
08:27:10.612 Warning PackageManager 166 Unknown permission com.android.vending.billing.IBillingAccountService.BIND2 in package com.google.android.gsf.login
08:27:10.612 Warning PackageManager 166 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x9be45)
08:27:10.612 Warning PackageManager 166 Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.settings
08:27:10.612 Warning PackageManager 166 Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.settings
08:27:10.612 Warning PackageManager 166 Unknown permission android.permission.READ_EXTERNAL_STORAGE in package com.android.videoeditor
08:27:10.612 Warning PackageManager 166 Not granting permission com.google.android.gm.permission.READ_GMAIL to package com.google.android.apps.uploader (protectionLevel=2 flags=0x8be45)
08:27:10.612 Warning PackageManager 166 Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.panoramio in package com.google.android.apps.uploader
08:27:10.613 Warning PackageManager 166 Unknown permission android.permission.READ_EXTERNAL_STORAGE in package com.android.vending
08:27:10.613 Warning PackageManager 166 Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.vending (protectionLevel=2 flags=0xabe45)
08:27:10.613 Warning PackageManager 166 Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0x8be45)
08:27:10.613 Warning PackageManager 166 Not granting permission android.permission.DEVICE_POWER to package com.android.facelock (protectionLevel=2 flags=0x8be45)
08:27:10.613 Warning ResourceType 230 No known package when getting value for resource number 0x7f08007c
08:27:10.613 Verbose OtaStartupReceiver 315 onReceive: intent action=android.intent.action.BOOT_COMPLETED mOtaspMode=-1
08:27:10.613 Error DefaultVoicemailNotifier 501 No voicemails to notify about: clear the notification.
08:27:10.613 Verbose AlarmClock 564 AlarmInitReceiver finished
08:27:10.614 Warning ContentResolver 548 Failed to get type for: content://com.android.calendar (Unknown URL content://com.android.calendar)
08:27:10.614 Warning dalvikvm 616 VFY: unable to resolve virtual method 222: Landroid/app/Notification$Builder;.setSubText (Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
08:27:10.614 Warning dalvikvm 616 VFY: unable to resolve virtual method 222: Landroid/app/Notification$Builder;.setSubText (Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;
08:27:10.615 Warning Genie 649 Cache file not found: java.io.FileNotFoundException: /data/data/com.google.android.apps.genie.geniewidget/cache/genie_masfcache: open failed: ENOENT (No such file or directory)
08:27:10.615 Warning Genie 649 Cache file not found: java.io.FileNotFoundException: /data/data/com.google.android.apps.genie.geniewidget/cache/genie_iconcache: open failed: ENOENT (No such file or directory)
08:27:10.615 Verbose MediaScannerReceiver 282 receive ACTION_BOOT_COMPLETED intent.
08:27:10.615 Warning ActivityManager 166 Permission Denial: receiving Intent { act=android.intent.action.BOOT_COMPLETED flg=0x10 } to com.android.musicfx requires android.permission.RECEIVE_BOOT_COMPLETED due to sender null (uid 1000)
08:27:10.615 Verbose pt 388 language choose is close
08:27:10.615 Verbose OneTimeInitializerReceiver 710 OneTimeInitializerReceiver.onReceive
08:27:10.616 Verbose OneTimeService 710 OneTimeService.onHandleIntent
08:27:10.616 Verbose SystemUpdateService 371 onPostExecute: false
08:27:10.617 Warning ActivityManager 166 Permission Denial: receiving Intent { act=android.intent.action.BOOT_COMPLETED flg=0x10 } to com.google.android.youtube requires android.permission.RECEIVE_BOOT_COMPLETED due to sender null (uid 1000)
08:27:10.618 Error GTalkService 371 getAccountForAndroidId: get ANDROID_ID returned 0!
08:27:10.623 Verbose MediaScanner 282 pruneDeadThumbnailFiles... [email protected]
08:27:10.623 Verbose MediaScanner 282 /pruneDeadThumbnailFiles... [email protected]
08:27:10.623 Warning MediaScanner 282 Error opening directory '/mnt/sdcard/.android_secure/', skipping: Permission denied.
08:27:10.627 Verbose MediaScanner 282 pruneDeadThumbnailFiles... [email protected]
08:27:10.627 Verbose MediaScanner 282 /pruneDeadThumbnailFiles... [email protected]
08:27:10.627 Verbose LockScreen 166 onTrigger = 0
08:27:10.627 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.628 Error WifiStateMachine 166 IP configuration failed
08:27:10.628 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=308 txPackets=5 operations=0
08:27:10.628 Verbose PicasaContentProvider 817 querySettings: defaults: {sync_on_wifi_only=1, auto_upload_account_type=null, sync_on_battery=1, sync_picasa_on_wifi_only=1, auto_upload_enabled=0, video_upload_wifi_only=1, sync_on_roaming=0, auto_upload_account_name=null}
08:27:10.629 Verbose PicasaContentProvider 817 querySettings: defaults: {sync_on_wifi_only=1, auto_upload_account_type=null, sync_on_battery=1, sync_picasa_on_wifi_only=1, auto_upload_enabled=0, video_upload_wifi_only=1, sync_on_roaming=0, auto_upload_account_name=null}
08:27:10.630 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.630 Error WifiStateMachine 166 IP configuration failed
08:27:10.630 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
08:27:10.631 Warning ThrottleService 166 unable to find stats for iface rmnet0
08:27:10.631 Error libEGL 142 validate_display:188 error 3008 (EGL_BAD_DISPLAY)
08:27:10.631 Verbose TransportControlView 166 Create TCV [email protected]
08:27:10.631 Verbose LockScreen 166 updateResources(Context context)
08:27:10.631 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.631 Error WifiStateMachine 166 IP configuration failed
08:27:10.631 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
08:27:10.632 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.632 Error WifiStateMachine 166 IP configuration failed
08:27:10.632 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
08:27:10.640 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.640 Error WifiStateMachine 166 IP configuration failed
08:27:10.640 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
08:27:10.641 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.641 Error WifiStateMachine 166 IP configuration failed
08:27:10.641 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
08:27:10.643 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.643 Error WifiStateMachine 166 IP configuration failed
08:27:10.643 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
08:27:10.644 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.644 Error WifiStateMachine 166 IP configuration failed
08:27:10.644 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
08:27:10.645 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:10.645 Error WifiStateMachine 166 IP configuration failed
08:27:10.645 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
08:27:25.556 Error DhcpStateMachine 166 DHCP failed on wlan0: Timed out waiting for DHCP to finish
08:27:25.770 Error WifiStateMachine 166 IP configuration failed
08:27:25.804 Error WifiStateMachine 166 Failed 10 times, Disabling 0
08:27:25.931 Warning NetworkStats 166 dropping UID delta from unknown iface: iface=wlan0 uid=0 set=DEFAULT tag=0x0 rxBytes=0 rxPackets=0 txBytes=384 txPackets=6 operations=0
Try a factory reset.. And if that doesnt solve your problem, mention the device and OS details pls..
Factory doesen't resolv my prb wipe delvik ça ho do nothing... i'm withba lenco tab 1014 on ics 4.0.4 original rom... i've adb connection... thanks for help...
Envoyé depuis mon Desire HD avec Tapatalk
Hmmm.. then the only thing i can suggest flashing it with stock firmware.. I have tried to get a SW for you but i couldn't find one.. i have seen your other thread about this issue as well.. try contacting the manufacturer again or give it in an authorised service shop..
I'm on contact with us but they dont want sens to me anything i need to send my devices... and pay25€ but i dont want i thing i can't fix it... do you know if is possible toi fixe files permission with adb... or do you have you know any samedi devices configuration toi pick some fille for test...
Envoyé depuis mon Desire HD avec Tapatalk

Need help with display- memalloc/gralloc - logcat provided and explanation

Hello
I've compiled CM10 rom with 3.4 kernel for my Xperia and everything works except one thing:
Display doesn't work at all. It has backlight (it stays grey) but doesn't display any pixels.
Here is part of logcat which includes the error:
Code:
E/memalloc( 173): /dev/pmem: Failed to open pmem device: No such file or directory
E/memalloc( 173): /dev/pmem: failed to initialize pmem area
E/gralloc ( 173): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 173): alloc(480, 854, 2, 00000b03, 0 ...) failed -2 (No such file or directory)
E/SurfaceFlinger( 173): GraphicBufferAlloc::createGraphicBuffer(w=480, h=854) failed (No such file or directory), handle=0x0
E/BufferQueue( 173): [<pid_369>] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
W/Adreno200-EGLSUB( 369): <DequeueBuffer:420>: dequeue native buffer fail: No such file or directory
E/gralloc ( 173): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 173): alloc(480, 854, 2, 00000b03, 0 ...) failed -2 (No such file or directory)
E/SurfaceFlinger( 173): GraphicBufferAlloc::createGraphicBuffer(w=480, h=854) failed (No such file or directory), handle=0x0
E/BufferQueue( 173): [<pid_369>] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
W/Adreno200-EGLSUB( 369): <DequeueBuffer:420>: dequeue native buffer fail: No such file or directory
E/gralloc ( 173): gralloc failed err=No such file or directory
W/GraphicBufferAllocator( 173): alloc(480, 854, 2, 00000b03, 0 ...) failed -2 (No such file or directory)
E/SurfaceFlinger( 173): GraphicBufferAlloc::createGraphicBuffer(w=480, h=854) failed (No such file or directory), handle=0x0
E/BufferQueue( 173): [<pid_369>] dequeueBuffer: SurfaceComposer::createGraphicBuffer failed
W/Adreno200-EGLSUB( 369): <DequeueBuffer:420>: dequeue native buffer fail: No such file or directory
W/Adreno200-EGL( 369): <qeglDrvAPI_eglMakeCurrent:2850>: EGL_BAD_ALLOC
E/libEGL ( 369): eglMakeCurrent:536 error 3003 (EGL_BAD_ALLOC)
I understand only basics of those things, can anyone help me?
I've made following patches in my qcom_display:
1
2
3
4
but it didn't help. Screen stays black also in CWM. When I flash 3.0.8 kernel everthing works normally.
I'm using stock kernel source.
Do you think I should compare my defconfig with one used by FXP team?
lozohcum said:
Hello
....
I'm using stock kernel source.
Do you think I should compare my defconfig with one used by FXP team?
Click to expand...
Click to collapse
I know it has been a while but this turned up on google and I had a similar error.. I think the cause may be further up in the logcat, looks like pmem failed to initialize...
Nz
How can i reuse or reset gralloc register buffer memory in android rooted or non root
0 down vote favorite
I am building a player in which I have to run flash content, after some time my application crashes and give gralloc register buffer error, below is the complete description of my error
E/Gralloc-3X-ERROR: int gralloc_register_buffer(const gralloc_module_t*, buffer_handle_t):135 Failed to create UMP handle 0x0 E/Gralloc-3X-ERROR: int gralloc_register_buffer(const gralloc_module_t*, buffer_handle_t):135 Failed to create UMP handle 0x0 W/GraphicBufferMapper(14231): registerBuffer(0x7233a148) failed -22 (Invalid argument) W/GraphicBufferMapper(14231): registerBuffer(0x7233a148) failed -22 (Invalid argument) E/GraphicBuffer(14231): unflatten: registerBuffer failed: Invalid argument (-22) E/GraphicBuffer(14231): unflatten: registerBuffer failed: Invalid argument (-22) F/libc (14231): Fatal signal 11 (SIGSEGV) at 0x4570e000 (code=2), thread 14385 (FP_DoPlay) F/libc (14231): Fatal signal 11 (SIGSEGV) at 0x4570e000 (code=2), thread 14385 (FP_DoPlay)
Please help me in removing this error or can my app reuses or reset the same gralloc buffer for rendering the flash content
The problem is that the /dev filesystem hasn't been populated yet or never was populated.
I'm presuming udev or a non-functioning driver.
http://stackoverflow.com/questions/18175989/android-memalloc explains the predicament @lozohcum
Fixed it yet, @lozohcum?
Remember:
/dev/pmem => Physical Memory
BTW, is the M2 a good phone? I'm looking in to it.

[Q] can not download whatsapp pic or save logcat or save camera pics

Guys please help me.
Today out of the blue following problem appeared.
I can not download pics on whatsapp - error : download failed.
Camera pics are not saved on sd card.
When I open quick pic app I get following error:
not an error code 0 : "could not open the database in read/write mode android"
I checked logcat but could not find problem even
Logcat log could not be saved on sd card, I can not even mail them
Can anyone tell me please how can I solve this problem
Thanks a lot!!
EDIT: copied relevent logcat
Code:
build.board: pico
build.bootloader: 1.03.0000
build.brand: HTC
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: pico
build.display: cm_pico-userdebug 4.4.4 KTU84Q 4b7901b027 test-keys
build.fingerprint: htc_europe/htc_pico/pico:4.4.4/KTU84Q/87995:user/release-keys
build.hardware: pico
build.host: Sachin-PC
build.id: KTU84Q
build.manufacturer: HTC
build.model: Explorer A310e
build.product: pico
build.radio: unknown
build.serial: SH1AWVN24323
build.tags: test-keys
build.time: 1413819092000
build.type: userdebug
build.user: sachinthomas
version.codename: REL
version.incremental: 4b7901b027
version.release: 4.4.4
version.sdk_int: 19
11-04 21:14:29.606 I/Gmail (6324): MainSyncRequestProto: lowestBkwdConvoId: 0, highestHandledServerOp: 234577, normalSync: true
11-04 21:14:29.616 I/Gmail (6324): lowestBackward conversation id 0
11-04 21:14:29.886 I/Gmail (6324): Sending provider changed intent: Intent { act=android.intent.action.PROVIDER_CHANGED dat=content://gmail-ls/unread/^sq_ig_i_personal (has extras) }
11-04 21:14:30.057 I/NotifUtils(6324): Validating Notification, mapSize: 1 getAttention: true ignoreUnobtrusive: true
11-04 21:14:30.497 I/NotifUtils(6324): Showing notification with unreadCount of 914 and unseenCount of 1
11-04 21:14:33.059 I/PeopleDatabaseHelper(6349): cleanUpNonGplusAccounts done.
11-04 21:14:33.840[COLOR="Red"] E/j (6110):[/COLOR] couldn't create new file
11-04 21:14:33.840 E/j (6110): java.io.IOException: open failed: ENOENT (No such file or directory)
11-04 21:14:33.840 E/j (6110): at java.io.File.createNewFile(File.java:946)
11-04 21:14:33.840 E/j (6110): at com.nolanlawson.logcat.b.j.a(Unknown Source)
11-04 21:14:33.840 E/j (6110): at com.nolanlawson.logcat.b.j.a(Unknown Source)
11-04 21:14:33.840 E/j (6110): at com.nolanlawson.logcat.q.doInBackground(Unknown Source)
11-04 21:14:33.840 E/j (6110): at android.os.AsyncTask$2.call(AsyncTask.java:288)
11-04 21:14:33.840 E/j (6110): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-04 21:14:33.840 E/j (6110): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
11-04 21:14:33.840 E/j (6110): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
11-04 21:14:33.840 E/j (6110): at java.lang.Thread.run(Thread.java:841)
11-04 21:14:33.840 E/j (6110): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
11-04 21:14:33.840 E/j (6110): at libcore.io.Posix.open(Native Method)
11-04 21:14:33.840 E/j (6110): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
11-04 21:14:33.840 E/j (6110): at java.io.File.createNewFile(File.java:939)
11-04 21:14:33.840 [COLOR="red"]E/j (6110):[/COLOR] ... 8 more
11-04 21:14:35.732 I/NotifUtils(6324): Account: -961567747 vibrate: false
11-04 21:14:35.732 I/NotifUtils(6324): New email in -961567747 vibrateWhen: false, playing notification: content://settings/system/notification_sound
11-04 21:14:37.424 I/ActivityManager(533): Killing 5460:com.speedsoftware.rootexplorer/u0a53 (adj 15): empty #5
11-04 21:14:38.134 V/Zygote (6396): Switching descriptor 31 to /dev/null
11-04 21:14:38.134 V/Zygote (6396): Switching descriptor 10 to /dev/null
11-04 21:14:38.144 I/ActivityManager(533): Start proc android.process.media for content provider com.android.providers.media/.MediaProvider: pid=6396 uid=10015 gids={50015, 1028, 1015, 1023, 1024, 2001, 3003, 3007}
11-04 21:14:38.355 D/ActivityThread(6396): handleBindApplication:android.process.media
11-04 21:14:38.355 D/ActivityThread(6396): setTargetHeapUtilization:0.75
11-04 21:14:38.355 D/ActivityThread(6396): setTargetHeapMinFree:524288

lineageOS: cannot use internal SD after factory reset: "Failed to find root"

lineageOS: cannot use internal SD after factory reset: "Failed to find root"
Hello all,
sorry for posting here, i'm not allowed to post at the peregrine forum section.
I have a Moto G 4G (LTE) peregrine which worked fine with the latest LineageOS 14.1. + twrp-3.1.1-0.
Then i made a factory reset because i wanted to gift it to my mother.
After that, no app could access the INTERNAL SD card for storing eg. pictures or downloads.
When you open the "Files" app, it crashes immediately.
Then logcat shows the output below.
I tried the following to no avail:
- reset with formating data, cache, etc (factory reset)
- reset with formating EVERYTHING, including /system, then reflashing lineage-14.1-20170811-nightly-peregrine-signed.zip and open_gapps-arm-7.1-nano-20170813.zip
- reset with formating EVERYTHING, including /system, then reflashing some other 7.1 ROM found here in the forum (cannot remember which)
- reset with formating EVERYTHING, including /system, then reflashing the original ROM XT1039_Retail_Germany_51_Untouched.zip
the original ROM was rather bad because the keyboard kept crashing and it was totally unusable. still no access to the internal SD card.
- messing with the directory structure:
/sdcard is a softlink to /storage/self/primary
/storage/self/primary is a softlink to /mnt/user/0/primary
/mnt/user/0/primary doesn't exist, it only goes as far as /mnt/user/0
so i tried different scripts from this thread https://forum.xda-developers.com/showthread.php?t=2211109 to create /mnt/user/0/primary at boot, which all didn't work.
it seems LOS 14.1 cannot run init scripts or user init scripts or whatever.
it didn't work.
also, the external SD card slot isn't reliable anymore, so that's out of the question as well.
I'm rather stuck!
can anybody help me?
any help is appreciated!
Thank you very much!
Code:
08-20 22:24:05.859 892 1873 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.documentsui/.LauncherActivity (has extras)} from uid 10028 on display 0
08-20 22:24:05.876 337 495 D audio_hw_primary: start_output_stream: enter: stream(0xb624e980)usecase(1: low-latency-playback) devices(0x2)
08-20 22:24:05.876 337 495 D audio_hw_primary: start_output_stream: enter: usecase(1: low-latency-playback) devices(0x2)
08-20 22:24:05.876 337 495 D audio_hw_primary: select_devices: out_snd_device(2: speaker) in_snd_device(0: )
08-20 22:24:05.876 337 495 W msm8974_platform: Codec backend bitwidth 16, samplerate 48000
08-20 22:24:05.876 337 495 D hardware_info: hw_info_append_hw_type : device_name = speaker-lite
08-20 22:24:05.876 337 495 I msm8974_platform: platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(14)
08-20 22:24:05.876 337 495 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 14, path = 0
08-20 22:24:05.876 337 495 D ACDB-LOADER: ACDB -> send_adm_topology
08-20 22:24:05.876 337 495 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
08-20 22:24:05.876 337 495 D ACDB-LOADER: ACDB -> send_audtable
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> send_audvoltable
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_VOL_CAL
08-20 22:24:05.877 337 495 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL
08-20 22:24:05.890 337 495 D audio_hw_primary: select_devices: done
08-20 22:24:05.948 892 929 W BroadcastQueue: Permission Denial: broadcasting Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } from com.cyanogenmod.trebuchet (pid=1909, uid=10028) requires com.google.android.launcher.permiss
ion.RECEIVE_LAUNCH_BROADCASTS due to receiver com.google.android.gms/.icing.proxy.ApplicationLauncherReceiver
08-20 22:24:05.963 892 1226 I ActivityManager: Start proc 4441:com.android.documentsui/u0a11 for activity com.android.documentsui/.LauncherActivity
08-20 22:24:05.965 892 929 W BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$GmsExternalReceiver requires com.androi
d.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.cyanogenmod.trebuchet (uid 10028)
08-20 22:24:06.064 4441 4441 I art : Starting a blocking GC AddRemoveAppImageSpace
08-20 22:24:06.066 4441 4441 W System : ClassLoader referenced unknown path: /system/priv-app/DocumentsUI/lib/arm
08-20 22:24:06.214 892 911 I ActivityManager: Start proc 4472:com.android.externalstorage/u0a12 for content provider com.android.externalstorage/.ExternalStorageProvider
08-20 22:24:06.222 892 1074 I ActivityManager: START u0 {dat=//com.android.documentsui.launchControl flg=0x10280000 cmp=com.android.documentsui/.FilesActivity} from uid 10011 on display 0
08-20 22:24:06.279 4472 4472 I art : Starting a blocking GC AddRemoveAppImageSpace
08-20 22:24:06.280 4472 4472 W System : ClassLoader referenced unknown path: /system/priv-app/ExternalStorageProvider/lib/arm
08-20 22:24:06.331 4472 4472 D ExternalStorage: After updating volumes, found 0 active roots
08-20 22:24:06.358 892 911 I ActivityManager: Start proc 4490:com.android.mtp/u0a10 for content provider com.android.mtp/.MtpDocumentsProvider
08-20 22:24:06.432 4490 4490 I art : Starting a blocking GC AddRemoveAppImageSpace
08-20 22:24:06.514 892 1074 D VoldConnector: SND -> {9 appfuse mount 10010 4490 MtpDocumentsProvider}
08-20 22:24:06.528 892 979 D VoldConnector: RCV <- {200 9 AppFuse command succeeded}
08-20 22:24:06.633 4441 4441 W RestoreRootTask: Failed to find root: content://com.android.externalstorage.documents/root/home
08-20 22:24:06.679 4441 4511 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/09/15, 6cbbf7d, I3193f6e94a
08-20 22:24:06.685 4441 4511 I OpenGLRenderer: Initialized EGL, version 1.4
08-20 22:24:06.685 4441 4511 D OpenGLRenderer: Swap behavior 1
08-20 22:24:06.690 892 1074 I WindowManager: Failed to capture screenshot of Token{e3bfe3f ActivityRecord{a0dca5e u0 com.android.documentsui/.FilesActivity t14 f}} appWin=Window{7ef870e u0 com.android.documentsui/com.android.documentsui.FilesActivi
ty} drawState=1
08-20 22:24:06.766 892 1873 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
The solution was to format /data with ext4 instead of f2fs:
connect with adb while in TRWP, get the device name for /data, umount it, format with ext4, mount it again
Code:
df -h
umount /data
make_ext4fs /dev/block/mmcblk0p36
mount /data/
Then reboot

Categories

Resources