[FIX] Fix crashing setup wizard - Android Software/Hacking General [Developers Only]

For those who have a force closing/crash on first boot (setup wizard) because of GAPPS, have just to enable wifi manually via ADB.
This is a problem which cause a crash:
Code:
04-08 02:47:08.867 5272-5272/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.android.setupwizard, PID: 5272
java.lang.NoSuchMethodError: No interface method setWifiEnabled(Z)Z in class Landroid/net/wifi/IWifiManager; or its super classes (declaration of 'android.net.wifi.IWifiManager' appears in /system/framework/framework.jar)
at com.google.android.setupwizard.BaseActivity.tryEnablingWifi(BaseActivity.java:692)
at com.google.android.setupwizard.network.BaseWifiActivity.init(BaseWifiActivity.java:65)
at com.google.android.setupwizard.network.NetworkActivity.onCreate(NetworkActivity.java:222)
at android.app.Activity.performCreate(Activity.java:6682)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2634)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2742)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1489)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6178)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
04-08 02:47:08.873 874-900/? W/ActivityManager: Force finishing activity com.google.android.setupwizard/.network.NetworkActivity
04-08 02:47:08.903 874-900/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:877 com.android.server.am.AppErrors.crashApplicationInner:370 com.android.server.am.AppErrors.crashApplication:305 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:13554 com.android.server.am.ActivityManagerService.handleApplicationCrash:13536
04-08 02:47:08.906 874-900/? E/ActivityManager: Sending non-protected broadcast projekt.substratum.APP_CRASHED from system 874:system/1000 pkg android
java.lang.Throwable
at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:17973)
at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:18545)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:18636)
at android.app.ContextImpl.sendBroadcast(ContextImpl.java:881)
at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:370)
at com.android.server.am.AppErrors.crashApplication(AppErrors.java:305)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13554)
at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:13536)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1660)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2813)
at android.os.Binder.execTransact(Binder.java:565)
To fix an issue, connect your device to PC, open ADB and write this:
Code:
adb shell svc wifi enable
After that you'll pass the screen.
Cheers
Sent from my Nexus 5 using Tapatalk

i hope to get this problem soon or someday so i can test this ?
thanks for the solution tho Dani ?
Sent from my Nexus+5 using Tapatalk

How to access adb shell, if unable to enable USB debugging?
What am I missing?

truxartis said:
How to access adb shell, if unable to enable USB debugging?
What am I missing?
Click to expand...
Click to collapse
I have done process from above without USB debugging enabled.
Sent from my Nexus 5 using Tapatalk

Paget96 said:
... without USB debugging enabled.
Click to expand...
Click to collapse
Okay...I must be missing something basic:
Code:
X:\>adb devices
List of devices attached
X:\>adb shell svc wifi enable
error: no devices/emulators found
of course, because no devices listed from "abd devices", since I don't have USB debugging enabled.
Can you provide another hint?

truxartis said:
Okay...I must be missing something basic:
Code:
X:\>adb devices
List of devices attached
X:\>adb shell svc wifi enable
error: no devices/emulators found
of course, because no devices listed from "abd devices", since I don't have USB debugging enabled.
Can you provide another hint?
Click to expand...
Click to collapse
Check both answers one is how to enable it, second is about authorization. It worth trying.
http://android.stackexchange.com/questions/120394/can-i-enable-usb-debugging-using-adb
Sent from my Nexus 5 using Tapatalk

Paget96 said:
For those who have a force closing/crash on first boot (setup wizard) because of GAPPS, have just to enable wifi manually via ADB.
This is a problem which cause a crash:
Code:
04-08 02:47:08.867 5272-5272/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.android.setupwizard, PID: 5272
java.lang.NoSuchMethodError: No interface method setWifiEnabled(Z)Z in class Landroid/net/wifi/IWifiManager; or its super classes (declaration of 'android.net.wifi.IWifiManager' appears in /system/framework/framework.jar)
at com.google.android.setupwizard.BaseActivity.tryEnablingWifi(BaseActivity.java:692)
at com.google.android.setupwizard.network.BaseWifiActivity.init(BaseWifiActivity.java:65)
at com.google.android.setupwizard.network.NetworkActivity.onCreate(NetworkActivity.java:222)
at android.app.Activity.performCreate(Activity.java:6682)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2634)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2742)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1489)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6178)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
04-08 02:47:08.873 874-900/? W/ActivityManager: Force finishing activity com.google.android.setupwizard/.network.NetworkActivity
04-08 02:47:08.903 874-900/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:877 com.android.server.am.AppErrors.crashApplicationInner:370 com.android.server.am.AppErrors.crashApplication:305 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:13554 com.android.server.am.ActivityManagerService.handleApplicationCrash:13536
04-08 02:47:08.906 874-900/? E/ActivityManager: Sending non-protected broadcast projekt.substratum.APP_CRASHED from system 874:system/1000 pkg android
java.lang.Throwable
at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:17973)
at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:18545)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:18636)
at android.app.ContextImpl.sendBroadcast(ContextImpl.java:881)
at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:370)
at com.android.server.am.AppErrors.crashApplication(AppErrors.java:305)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13554)
at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:13536)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1660)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2813)
at android.os.Binder.execTransact(Binder.java:565)
To fix an issue, connect your device to PC, open ADB and write this:
Code:
adb shell svc wifi enable
After that you'll pass the screen.
Cheers
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
command executed but not working..
only shows setup wizard has stopped

Paget96 said:
For those who have a force closing/crash on first boot (setup wizard) because of GAPPS, have just to enable wifi manually via ADB.
This is a problem which cause a crash:
Code:
04-08 02:47:08.867 5272-5272/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.android.setupwizard, PID: 5272
java.lang.NoSuchMethodError: No interface method setWifiEnabled(Z)Z in class Landroid/net/wifi/IWifiManager; or its super classes (declaration of 'android.net.wifi.IWifiManager' appears in /system/framework/framework.jar)
at com.google.android.setupwizard.BaseActivity.tryEnablingWifi(BaseActivity.java:692)
at com.google.android.setupwizard.network.BaseWifiActivity.init(BaseWifiActivity.java:65)
at com.google.android.setupwizard.network.NetworkActivity.onCreate(NetworkActivity.java:222)
at android.app.Activity.performCreate(Activity.java:6682)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2634)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2742)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1489)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6178)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
04-08 02:47:08.873 874-900/? W/ActivityManager: Force finishing activity com.google.android.setupwizard/.network.NetworkActivity
04-08 02:47:08.903 874-900/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:877 com.android.server.am.AppErrors.crashApplicationInner:370 com.android.server.am.AppErrors.crashApplication:305 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:13554 com.android.server.am.ActivityManagerService.handleApplicationCrash:13536
04-08 02:47:08.906 874-900/? E/ActivityManager: Sending non-protected broadcast projekt.substratum.APP_CRASHED from system 874:system/1000 pkg android
java.lang.Throwable
at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:17973)
at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:18545)
at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:18636)
at android.app.ContextImpl.sendBroadcast(ContextImpl.java:881)
at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:370)
at com.android.server.am.AppErrors.crashApplication(AppErrors.java:305)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13554)
at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:13536)
at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:1660)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2813)
at android.os.Binder.execTransact(Binder.java:565)
To fix an issue, connect your device to PC, open ADB and write this:
Code:
adb shell svc wifi enable
After that you'll pass the screen.
Cheers
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Genius!
Many thanks, worked first try.
Went to c:
Went to c: adb
Ran your command
Passed.

ydv21yash said:
command executed but not working..
only shows setup wizard has stopped
Click to expand...
Click to collapse
Send me a logcat, maybe it's something other.
Sent from my Nexus 5 using Tapatalk

ydv21yash said:
For those who have a force closing/crash on first boot (setup wizard) because of GAPPS, have just to enable wifi manually via ADB.
This is a problem which cause a crash:
To fix an issue, connect your device to PC, open ADB and write this:
command executed but not working..
only shows setup wizard has stopped
Click to expand...
Click to collapse
boot into recovery and delete folder in priv-apps.

Related

[Q] Having issues with my rom - ICS tablet mode will not engage.

So I'm at a point where this rom is perfect for my phone. It works just fine and has no crashes at all. The only problem is that when running a low enough DPI for tablet mode to work, SystemUI crashes out of nowhere.
I ran a logcat but I unfortunately can't read this very well, so I'm hoping someone else could chime in.
Code:
loading: class com.android.systemui.statusbar.tablet.TabletStatusBar
running: [email protected]
Resizing status bar plugged=false height=64 old=0
Shutting down VM
threadid=1: thread exiting with uncaught exception (group=0x40c0f1f8)
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XMI file line #19: Error inflating class com.android.systemui.statusbar.tablet.TabletStatusBarView
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2275)
at android.app.ActivityThread.access$1600(ActivityThread.java:127)
at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4507)
at java.lang.reflect.Method.invokeNative(Native Method)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1213)
at android.os.Handler.dispatchMessage(Handler.java:99)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XMI file line #19: Error inflating class com.android.systemui.statusbar.tablet.TabletStatusBarView
at android.view.LayoutInflater.createView(LayoutInflater.java:606) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
at android.view.LayoutInflater.inflate(LayoutInflater.java:466)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.view.View.inflate(View.java:13742)
at com.android.systemui.statusbar.tablet.TabletStatusBar.makeStatusBarView(TabletStatusBar.java:773)
at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:92) at com.android.systemui.statusbar.tablet.TabletStatusBar.start(TabletStatusBar.java:658)
at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2265)
... 10 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:586)
... 20 more
Caused by: android.content.res.Resources;NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x12/d=0x0 a=3 r=0x7f020173)
at android.content.res.Resources.loadDrawable(Resources.java:1899)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.<init>(View.java:2839)
at android.view.ViewOroup.<init>(ViewOroup.java:385)
at android.widget.FrameLayout.<init>(FrameLayout.java:99)
at android.widget.FrameLayout.<init>(FrameLayout.java:95)
at com.android.systemui.statusbar.tablet.TabletStatusBarView.<init>(TabletStatusBarView.java:40)
... 23 more
id=37 Removed android/com.android.internal.app.ResolverActivity idx=0 Map Size=2
id=37 Removed android/com.android.internal.app.ResolverActivity idx=-2 Map Size=2
[email protected] > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error Process com.andrcid.systemui has crashed ;co many times: killing!

(Update 5/02/2012 0.9.4) [APP][ICS4.0.3+]OpenVPN for ICS (no root/jailbreak required)

Note:
You can't install a pfx/p12 certification file which is not password protected, it is UNSAFE, android won't allow you do that
Please uninstall previous version first before install 0.9.0.
Due to Titanium Backup can't restore the permission to the keystore, if you are using Titanium Backup to backup/restore configurations, after a restore, please reconfigure your profile, repick the user certification to grant the permission to the keystore.
Features:
Compatible to all ICS device (NO ROOT REQUIRED, works on stock firmware)
Easy to use
Multiple VPN profile
Username/password authentication
Secure (Don't store your private key in App, but managed by Android system)
Open source
Limitation:
Only TUN mode, no TAP mode. (system API limitation)
One simultaneous connection only. (system API limitation)
ChangeLog:
5/02/2012 0.9.4
Fix redirect-gateway option
4/28/2012 0.9.3
Temporary fix tls-auth (Store tls key file in sdcard is insecure !!!)
Fix crash
4/27/2012 0.9.2
Add ns-cert-type option
Fix connection without user certification
4/25/2012 0.9.1
More error message
Fix extra arguments option
4/23/2012 0.9.0
Fix some crash
4/21/2012
Add username/password based authentication support. (Need to input password manually every time when connect)
Issues:
Connection interrupted if leave GUI while preparing/connecting. (It will be OK to leave once connected)
Won't work on JB, wait until google release openssl engine for system keystore
Screen Shots: Here
Download: Here
Source code: Here
Any feedback is welcome.
OpenVPN
Please don't retire this! people haven't stumbled on it but this is great!
The #1 reason most people root their phones even when they don't want to!
Thank you very much. I was using the one in cm7 and worked perfectly. Is there any plans to port it to cm9, this is the most missing feature for me in cm9. Thank you.
Waiting for password authentication.
Nice work anyway!
jcasares said:
Waiting for password authentication.
Nice work anyway!
Click to expand...
Click to collapse
Sure, I'm still working on it, it will be done soon. And I need to setup a test openvpn server first.
I can provide an OpenVPN connection (username and password) if required or it's too much work building a test server.
jcasares said:
I can provide an OpenVPN connection (username and password) if required or it's too much work building a test server.
Click to expand...
Click to collapse
I have already completed it, still thanks
Seems to be an issue with using the tls-auth option. It ignores the file even though the path is correct.
idmud said:
Seems to be an issue with using the tls-auth option. It ignores the file even though the path is correct.
Click to expand...
Click to collapse
I haven't test this feature before, maybe I should migrate this with the new keystore API.
can't select trusted CA
When I select my CA nothing changes so I'm not sure if it registers the certificate in the connection.
When I hit connect the icon flashes in the notification area and disappears.
I have tried the CA certificate in both .pem and .crt formats
Log says: No log.
Am running CM9 on AT&T Nexus S.
config request
Hi! Thanks for your great work!!!
Could you please add a simple checkbox in the connection settings to make the option "--ns-cert-type server" optional?
omriasta said:
When I select my CA nothing changes so I'm not sure if it registers the certificate in the connection.
When I hit connect the icon flashes in the notification area and disappears.
I have tried the CA certificate in both .pem and .crt formats
Log says: No log.
Am running CM9 on AT&T Nexus S.
Click to expand...
Click to collapse
Both .pem and .crt is pem format, where the content should be enclosed between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----", you can use any text editor like notepad to check it.
I'll make the error message more verbose and accurate. Before that, can you use `adb logcat` to check if there is any error message ?
zealot0630 said:
Both .pem and .crt is pem format, where the content should be enclosed between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----", you can use any text editor like notepad to check it.
I'll make the error message more verbose and accurate. Before that, can you use `adb logcat` to check if there is any error message ?
Click to expand...
Click to collapse
I know they are the same but for some reason the android store will only load .crt files.
The certificate begins and ends as mentioned.
I will try to run a logcat tomorrow.
Sent from my Nexus S using XDA
hamster79 said:
Hi! Thanks for your great work!!!
Could you please add a simple checkbox in the connection settings to make the option "--ns-cert-type server" optional?
Click to expand...
Click to collapse
I have fixed 'Extra arguments' option in 0.9.1, please update and you'll be able to specify custom options.
I have a working OpenVPN server with PCs and Android devices connecting to it.
Here is the situation with ICS.
I have installed this OpenVPN for a friend running ICS Midnote 3.3 for his Samsung Galaxy Note. Unfortunately, I can't get it to work, the logs does not display anything. It goes on stating its preparing and does not do anything else.
I tried forcing it to write any logs by supplying log /sdcard/openvpn/log.txt under the parameter section.
My currently VPN settings include.
Ca.crt, username and password. No keys are supplied.
To isolate things, I tried it with DroidVPN client, which works but is painstakingly slow.
You assistance is highly appreciated.
Thank you.
jaidee said:
I have a working OpenVPN server with PCs and Android devices connecting to it.
Here is the situation with ICS.
I have installed this OpenVPN for a friend running ICS Midnote 3.3 for his Samsung Galaxy Note. Unfortunately, I can't get it to work, the logs does not display anything. It goes on stating its preparing and does not do anything else.
I tried forcing it to write any logs by supplying log /sdcard/openvpn/log.txt under the parameter section.
My currently VPN settings include.
Ca.crt, username and password. No keys are supplied.
To isolate things, I tried it with DroidVPN client, which works but is painstakingly slow.
You assistance is highly appreciated.
Thank you.
Click to expand...
Click to collapse
Would you please try this one , see if it works
zealot0630 said:
Both .pem and .crt is pem format, where the content should be enclosed between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----", you can use any text editor like notepad to check it.
I'll make the error message more verbose and accurate. Before that, can you use `adb logcat` to check if there is any error message ?
Click to expand...
Click to collapse
Double checked and there were a few characters before "begin certificate ". Removed them and the certificate loads(the app should ignore any text before/after those words). Still wouldn't connect and nothing in the log.
Just tried 0.9.2 and the log now says:
1335355150,D,MANAGEMENT: CMD 'state on all'
1335355150,D,MANAGEMENT: CMD 'hold release'
1335355150,D,MANAGEMENT: CMD 'username 'Auth' "xxxxxx"'
1335355150,D,MANAGEMENT: CMD 'password [...]'
Sent from my Nexus S using XDA
It seems that it doesn't work and I'm not clear about what the issue is. I'm using user+password authentication.
Code:
W/info.kghost.android.openvpn.OpenVpnService( 3856): Error generate pkcs12
W/info.kghost.android.openvpn.OpenVpnService( 3856): java.lang.NullPointerException: alias == null
W/info.kghost.android.openvpn.OpenVpnService( 3856): at android.security.KeyChain.getPrivateKey(KeyChain.java:291)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at info.kghost.android.openvpn.OpenVpnService$Task.prepare(OpenVpnService.java:123)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at info.kghost.android.openvpn.OpenVpnService$Task.doInBackground(OpenVpnService.java:313)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at info.kghost.android.openvpn.OpenVpnService$Task.doInBackground(OpenVpnService.java:44)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at android.os.AsyncTask$2.call(AsyncTask.java:264)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
W/info.kghost.android.openvpn.OpenVpnService( 3856): at java.lang.Thread.run(Thread.java:856)
D/dalvikvm( 2108): GC_CONCURRENT freed 433K, 28% free 10263K/14151K, paused 2ms+3ms
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): alias == null
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): java.lang.NullPointerException: alias == null
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at android.security.KeyChain.getPrivateKey(KeyChain.java:291)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at info.kghost.android.openvpn.OpenVpnService$Task.prepare(OpenVpnService.java:123)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at info.kghost.android.openvpn.OpenVpnService$Task.doInBackground(OpenVpnService.java:313)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at info.kghost.android.openvpn.OpenVpnService$Task.doInBackground(OpenVpnService.java:44)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at android.os.AsyncTask$2.call(AsyncTask.java:264)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
F/info.kghost.android.openvpn.OpenVpnService$Task( 3856): at java.lang.Thread.run(Thread.java:856)
Maybe you know why the alias==null happens.
Seems there are still some problem when user certification is not set. I'll figure it out soon.
This is what I got now after installing the new version. The application doesn't stay in the notification bar as before and it seems there is no connection to the OpenVPN network.
Code:
D/PackageManager( 2000): New package installed in /mnt/asec/info.kghost.android.openvpn-1/pkg.apk
D/BackupManagerService( 2000): Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:info.kghost.android.openvpn flg=0x10000010 (has extras) }
I/ActivityManager( 2000): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=info.kghost.android.openvpn cmp=info.kghost.android.openvpn/.VpnSettings} from pid 12559
I/ActivityManager( 2000): Start proc info.kghost.android.openvpn for activity info.kghost.android.openvpn/.VpnSettings: pid=12965 uid=10087 gids={3003}
D/dalvikvm(12965): Trying to load lib /mnt/asec/info.kghost.android.openvpn-1/lib/libjni_openvpn.so 0x41357cc8
D/dalvikvm(12965): Added shared lib /mnt/asec/info.kghost.android.openvpn-1/lib/libjni_openvpn.so 0x41357cc8
D/dalvikvm(12965): No JNI_OnLoad found in /mnt/asec/info.kghost.android.openvpn-1/lib/libjni_openvpn.so 0x41357cc8, skipping init
I/ActivityManager( 2000): Displayed info.kghost.android.openvpn/.VpnSettings: +378ms
I/ActivityManager( 2000): START {cmp=info.kghost.android.openvpn/.VpnEditor (has extras)} from pid 12965
I/ActivityManager( 2000): Displayed info.kghost.android.openvpn/.VpnEditor: +263ms
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: real-time echo notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: END
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: real-time log notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367061,I,OpenVPN 2.2.2 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Apr 25 2012
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367061,,MANAGEMENT: unix domain socket listening on /data/data/info.kghost.android.openvpn/cache/manage
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367061,,Need hold release from management interface, waiting...
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367062,,MANAGEMENT: Client connected from /data/data/info.kghost.android.openvpn/cache/manage
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367062,D,MANAGEMENT: CMD 'echo on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367062,D,MANAGEMENT: CMD 'log on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: END
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >LOG:1335367062,D,MANAGEMENT: CMD 'state on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: real-time state notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367061,CONNECTING,,,
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: END
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >LOG:1335367062,D,MANAGEMENT: CMD 'hold release'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: hold release succeeded
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >LOG:1335367062,D,MANAGEMENT: CMD 'username 'Auth' "jcasares2"'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: 'Auth' username entered, but not yet verified
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >LOG:1335367062,D,MANAGEMENT: CMD 'password [...]'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: 'Auth' password entered, but not yet verified
I/ActivityManager( 2000): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=info.kghost.android.openvpn/.VpnSettings} from pid 2256
I/ActivityManager( 2000): Displayed info.kghost.android.openvpn/.VpnSettings: +205ms
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: real-time echo notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: END
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: real-time log notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367167,I,OpenVPN 2.2.2 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [eurephia] built on Apr 25 2012
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367167,,MANAGEMENT: unix domain socket listening on /data/data/info.kghost.android.openvpn/cache/manage
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367167,,Need hold release from management interface, waiting...
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367168,,MANAGEMENT: Client connected from /data/data/info.kghost.android.openvpn/cache/manage
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367168,D,MANAGEMENT: CMD 'echo on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367168,D,MANAGEMENT: CMD 'log on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: END
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >LOG:1335367168,D,MANAGEMENT: CMD 'state on all'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: real-time state notification set to ON
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: 1335367167,CONNECTING,,,
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: END
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >LOG:1335367168,D,MANAGEMENT: CMD 'hold release'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: hold release succeeded
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >LOG:1335367168,D,MANAGEMENT: CMD 'username 'Auth' "jcasares2"'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: 'Auth' username entered, but not yet verified
I/info.kghost.android.openvpn.OpenVpnService$Task(12965): >LOG:1335367168,D,MANAGEMENT: CMD 'password [...]'
W/info.kghost.android.openvpn.OpenVpnService$Task(12965): Unknown Command: SUCCESS: 'Auth' password entered, but not yet verified

[Q] Force close on ALL applications when keyboard input is requested

This one is fun - I'm getting an FC every time an application requests keyboard input. If I hit the Google search icon on the top left of the home screen, it immediately FCs - that's what I'm using to test.
I downloaded aLogCat to the device via Google Play on my desktop, and ran it. Here is what I believe to be the relevant log section , from tapping the search icon, to re-entering aLogCat.
I believe the ClipboardEx service is causing the issue, possibly as an interference with another app I have installed - but I don't know what, or how to give you guys a list of apps installed without just typing each one.
This issue happened once to me, and a factory restore fixed it - two weeks later, and it's back. I'm not an experience Android guy, though I am a nerd and a developer. Surely this is something fixable. Does anyone have any thoughts on what could be causing this?
Code:
I/InputReader( 184): Touch event's action is 0x1 (deviceType=0) [pCnt=1, pending(waiting finished signal)=1, s=]
I/InputDispatcher( 184): Delivering touch to current input target: action: 0x1
I/InputDispatcher( 184): Delivering touch to current input target: action: 0x1
I/InputDispatcher( 184): Delivering touch to current input target: action: 0x1
I/ActivityManager( 184): START {intent.toShortString} from pid 383
D/PowerManagerService( 184): acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1008000 uid : 1000 pid : 184 tag : ActivityManager
W/ActivityManager( 184): mDVFSLock.acquire()
D/Launcher.HomeFragment( 383): onPause
D/Launcher( 383): onPause
V/TaskCloserActivity( 3234): TaskCloserActivity onReceive()
D/KeyguardViewMediator( 184): setHidden false
D/ActivityManager( 184): Trying to launch applicationName
D/ControlPanelRemoteService( 3246): onDestroy()
D/OpenGLRenderer( 383): Flushing caches (mode 1)
D/dalvikvm( 3157): GC_CONCURRENT freed 259K, 5% free 6784K/7111K, paused 2ms+3ms
D/KeyguardViewMediator( 184): setHidden false
D/STATUSBAR-StatusBarManagerService( 184): setSystemUiVisibility(0x0)
D/STATUSBAR-StatusBarManagerService( 184): manageDisableList what=0x0 pkg=WindowManager.LayoutParams
D/libEGL ( 3157): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL ( 3157): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL ( 3157): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/OpenGLRenderer( 3157): Enabling debug mode 0
E/ClipboardServiceEx( 3157): Had failed to obtaining clipboardEx service.
D/AndroidRuntime( 3157): Shutting down VM
W/dalvikvm( 3157): threadid=1: thread exiting with uncaught exception (group=0x40bb01f8)
E/AndroidRuntime( 3157): FATAL EXCEPTION: main
E/AndroidRuntime( 3157): java.lang.NullPointerException
E/AndroidRuntime( 3157): at android.sec.clipboard.ClipboardExManager.updateData(ClipboardExManager.java:241)
E/AndroidRuntime( 3157): at android.widget.EditText.onFocusChanged(EditText.java:134)
E/AndroidRuntime( 3157): at android.view.View.handleFocusGainInternal(View.java:3727)
E/AndroidRuntime( 3157): at android.view.View.requestFocus(View.java:5420)
E/AndroidRuntime( 3157): at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:2154)
E/AndroidRuntime( 3157): at android.view.ViewGroup.requestFocus(ViewGroup.java:2110)
E/AndroidRuntime( 3157): at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:2154)
E/AndroidRuntime( 3157): at android.view.ViewGroup.requestFocus(ViewGroup.java:2110)
E/AndroidRuntime( 3157): at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:2154)
E/AndroidRuntime( 3157): at android.view.ViewGroup.requestFocus(ViewGroup.java:2110)
E/AndroidRuntime( 3157): at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:2154)
E/AndroidRuntime( 3157): at android.view.ViewGroup.requestFocus(ViewGroup.java:2110)
E/AndroidRuntime( 3157): at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:2154)
E/AndroidRuntime( 3157): at android.view.ViewGroup.requestFocus(ViewGroup.java:2110)
E/AndroidRuntime( 3157): at android.view.ViewGroup.onRequestFocusInDescendants(ViewGroup.java:2154)
E/AndroidRuntime( 3157): at android.view.ViewGroup.requestFocus(ViewGroup.java:2113)
E/AndroidRuntime( 3157): at android.view.View.requestFocus(View.java:5370)
E/AndroidRuntime( 3157): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1598)
E/AndroidRuntime( 3157): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2459)
E/AndroidRuntime( 3157): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3157): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3157): at android.app.ActivityThread.main(ActivityThread.java:4514)
E/AndroidRuntime( 3157): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3157): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3157): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
E/AndroidRuntime( 3157): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E/AndroidRuntime( 3157): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 184): Force finishing activity com.google.android.googlequicksearchbox/.SearchActivity
E/android.os.Debug( 184): [email protected] > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error
I/dumpstate( 3272): begin
W/ActivityManager( 184): Activity pause timeout for ActivityRecord{423f3fe0 com.google.android.googlequicksearchbox/.SearchActivity}
W/PowerManagerService( 184): Timer 0x7->0x3|0x0
I/PowerManagerService( 184): Ulight 7->3|0
D/PowerManagerService( 184): setLightBrightness : mButtonLight : 0
E/lights ( 184): write_int failed to open /sys/class/sec/sec_touchkey/brightness
I/InputReader( 184): Touch event's action is 0x0 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=0.70 ]
E/lights ( 184): write_int failed to open /sys/class/sec/sec_touchkey/brightness
I/PowerManagerService( 184): Ulight 3->7|0
D/PowerManagerService( 184): setLightBrightness : mButtonLight : 140
I/InputReader( 184): Touch event's action is 0x1 (deviceType=0) [pCnt=1, pending(waiting finished signal)=0, s=]
D/VoldCmdListener( 89): asec list
D/VoldCmdListener( 89): CommandListener::AsecCmd::runCommand -> --
I/dumpstate( 3272): done
D/KeyguardViewMediator( 184): setHidden false
D/Launcher( 383): onResume
D/STATUSBAR-StatusBarManagerService( 184): setSystemUiVisibility(0x0)
D/STATUSBAR-StatusBarManagerService( 184): manageDisableList what=0x0 pkg=WindowManager.LayoutParams
D/myTest ( 383): [MonthTheme] onResume!!
D/KeyguardViewMediator( 184): setHidden false
D/myTest ( 383): firstDayOfWeek = -1
I/power ( 184): *** release_dvfs_lock : lockType : 1
D/myTest ( 383): [MonthView] updateView.mStartDay: 1
D/DEFERED_APP_VISIBILITY( 184): tweaking closing app
D/PowerManagerService( 184): releaseDVFSLockLocked : all DVFS_MIN_LIMIT are released
W/ActivityManager( 184): mDVFSLock.release()
D/Launcher.HomeFragment( 383): onResume
I've now removed all downloaded applications from my Tab. No dice.
I'm going to see if I can dig up any more logs, then reset it I guess.
I've discovered that copying something to the clipboard also causes the FC. This is definitely an issue with TouchWiz's clipboard as far as I can figure out.
Weird because I know I've copy pasted from the tab before
Sent from my SAMSUNG-SGH-I727 using xda premium
jamesd86 said:
Weird because I know I've copy pasted from the tab before
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
It works for me, too, until the whole thing starts crashing, lol.
I reset to factory and re-installed all my stuff; it seems to be working now. I guess it's Samsung's way of reminding me to keep regular backups...
My tab crashed and then this same exact thing started happening. The logs mentioned ClipboardServiceEx.
I am rooted, so I started an adb shell and found that /data/clipboard has all the persistent clipboard entries (I love that feature by the way).
I did this:
su
mv /data/clipboard /data/oldclipboard
mkdir /data/clipboard
chmod 775 /data/clipboard
chown system.system /data/clipboard
reboot
This fixed it, although it cleared all my "held" info in the clipboard. A small price to pay. If you really had to, you could probably fish in /data/oldclipboard for it. Of course, now I will go delete oldclipboard.
Hope that helps someone.
Thanks for that info, you never know!
Pp.
Transmitted from another galaxy with an Infected P-5113.
same thing happening to me. but i was prompted to update my device so i clicked yes thinking it would fix the problem now im stuck on the "use google location" page of the setup forms because when i click next i guess theres a keyboard involved so it crashes. only other button is a back arrow which does nothing.
i havent ever messed with this stuff but i guess ill have to find out how to factory reset through the usb cable.
unwanted pain in the butt
dorkmo said:
same thing happening to me. but i was prompted to update my device so i clicked yes thinking it would fix the problem now im stuck on the "use google location" page of the setup forms because when i click next i guess theres a keyboard involved so it crashes. only other button is a back arrow which does nothing.
i havent ever messed with this stuff but i guess ill have to find out how to factory reset through the usb cable.
unwanted pain in the butt
Click to expand...
Click to collapse
If you plan to root, just do that, boot into recovery, do an adb shell and clear the clipboard directory.
If you aren't going to install a custom recovery then yeah, wipe it out.
wd5gnr said:
If you plan to root, just do that, boot into recovery, do an adb shell and clear the clipboard directory.
If you aren't going to install a custom recovery then yeah, wipe it out.
Click to expand...
Click to collapse
ok newbie here with samsung tabs having same problem, how do you boot into recovery and do an adb shell ? can see above how to clear the clipboard directory and i dont want to factory reset too hard to reload all the crap on ....
thanks
I had the same problem, I do not want to root my device, but I like to use the standard key board from Sumsung. I send a a-mail to a lot of dutch companies (resellers) to tell them about the problem. I think that Sansung must make a firware update to solve this problem. I what to ask all people who have problems with the keyboard to e-mail Samsung and there reseller to put preasure on Samsung to make a firmware.
I use a work a round, I use a 3e party keyboard untill Samsung makes a firmware update.
wd5gnr said:
I did this:
su
mv /data/clipboard /data/oldclipboard
mkdir /data/clipboard
chmod 775 /data/clipboard
chown system.system /data/clipboard
reboot
Hope that helps someone.
Click to expand...
Click to collapse
YEZZZZZ THANK YOU VERY MUCH!!!:good::laugh:
This worked perfectly on my Samsung Galaxy Tab 2 10.1 (P5110)
Thanks wd5gnr for the solution, worked very well!
Regards.
Glad it helped. I noticed someone asked earlier for more details.
There are plenty of root tutorials here. As for installing ADB there are a few ways to go and it depends on your PC's OS and if you want to get someone's simplified package or not. Read: http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/ and the comments on that page too. If you google something like "installing ADB" you should find lots of help.
Once you have adb installed and can get to a shell, you should be good with my earlier instructions.

Reverse Tethering.

Hey Guyz.!
I know this questions has many answer but I cant get them work.
I tried Reverse Tether paid app from market. Android Reverse Tethering
So any help?
I actually want to use whats app. So plz help
http://forum.xda-developers.com/showthread.php?t=1371345
i use it everyday.
REVERSE TETHERING HELP from amit
-------------------------YOUR PHONE MUST BE ROOTED--------------------------
Hey man!!!!!!!!! i think that you are having trouble to use reverse tethering . just follow the steps bellow:-
1) go to filecrop and type reverse tethering 2.26(11mb) n download it.(i'm not able to post the direct link because i'm a new comer, please understand)
2)now extract it and open it
3)there you will see a file "android tool", run it.
4)Now connect your device make sure that usb debugging is enabled in your device if not, do this:-
menu>settings>developer tools>usb debugging ,just enable it.
5)after that, in the android tool click the refresh device button and after that click on connect.
6)super user may ask you to grant request, allow.
7)ENJOYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
reverse thether
blade8686 said:
-------------------------YOUR PHONE MUST BE ROOTED--------------------------
Hey man!!!!!!!!! i think that you are having trouble to use reverse tethering . just follow the steps bellow:-
1) go to filecrop and type reverse tethering 2.26(11mb) n download it.(i'm not able to post the direct link because i'm a new comer, please understand)
2)now extract it and open it
3)there you will see a file "android tool", run it.
4)Now connect your device make sure that usb debugging is enabled in your device if not, do this:-
menu>settings>developer tools>usb debugging ,just enable it.
5)after that, in the android tool click the refresh device button and after that click on connect.
6)super user may ask you to grant request, allow.
7)ENJOYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Click to expand...
Click to collapse
I am getting connection problem
01-27 12:00:42:402 W/I Connecting to device...
01-27 12:02:36.68 A/D [BL] enqueueNotificationInternal - START, service.tracetool / 10002 / 10824 / null / 1 / Notification(vibrate=null,sound=null,defaults=0x0,flags=0x42)
01-27 12:00:46:031 L/I Reverse tethering started. Process id is 10824
01-27 12:02:36.68 A/I SocketService.onStartCommand. Action = TTServiceStart
01-27 12:02:36.68 A/I UsbThread9.run() needToBeClosed is true
01-27 12:02:36.69 A/I UsbThread : thread main : wait current UsbThread to terminate 0
01-27 12:00:46:222 W/I Wait for android connection ready. If nothing happens now, close the program and retry
01-27 12:00:46:333 W/I waiting android server connection ... 1
01-27 12:02:37.33 A/I UsbThread9 : thread stopped
01-27 12:02:37.69 A/I TunnelController : thread started
01-27 12:02:37.69 A/I UsbThread10 : thread started
01-27 12:02:37.69 A/I UsbThread10 : Create usb socket
01-27 12:02:37.69 A/I UsbThread10 : usbServerSocket : Waiting for the host to connect
01-27 12:00:47:360 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:48:370 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:49:383 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:50:397 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:51:409 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:52:425 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:53:436 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:54:450 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:55:465 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:56:479 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:57:494 W/E connect exception : Socket Error # 10013
Access denied.
01-27 12:00:58:507 W/E connect exception : Socket Error # 10013
Access denied.
Server List
DNS List
192.168.1.1[default]

How to fix "Google Service Framework lacks android.permission.MANAGE_USERS" problem

How to fix "Google Service Framework lacks android.permission.MANAGE_USERS" problem
Hi,
I am trying to install Google Service Framework and Google Apps on Mate 30 Pro following instructions in this thread: https://forum.xda-developers.com/ma...o-install-google-t3979091/page21#post80789091
And I failed to login the Google Play Store after following the steps that other users have had proved working. I traced the log and found it might be due to this error:
AndroidRuntime: Process: com.google.process.gapps, PID: 13709
AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.google.android.gsf.settings.GoogleSettingsProv ider: java.lang.SecurityException: You need MANAGE_USERS permission to: get the profile parent
AndroidRuntime: at com.google.android.gsf.settings.GoogleSettingsProv ider.onCreate(GoogleSettingsProvider.java:158)
Click to expand...
Click to collapse
It seems Google Service Framework(gsf) needs this permission: MANAGE_USERS.
I have tried
Code:
adb shell pm grant com.google.android.gsf android.permission.MANAGE_USERS
to enable this permission for it, but it failed:
Security exception: Permission android.permission.MANAGE_USERS requested by com.google.android.gsf is not a changeable permission type
Click to expand...
Click to collapse
Any help or suggestion? Thanks.
Anyone?

Categories

Resources