[Q] Juicedefender keeps crashing after update to CM 12 lollipop - ONE Q&A, Help & Troubleshooting

Hi
I've been using Juicedefender Ultimate for over a year now, and have never experienced any problems with it. I've just a clean update to Lollipop CM 12 Nightly. Now Juicedefender Ultimate keeps crashing - both when i'm opening the app and wifi isn't activated (instant crash) and when i lock my phone and wifi disconnects (which is a setting i prefer in juicedefender). I can see from the log that they recommend that i reinstall, which i have tried both in play store and in root browser - same problem. I have tried to factory reset the phone, same result. I've come to a point where i don't know how to proceed, which is why i write to you.
I've got the crashlog here:
Code:
JuiceDefender version 3.9.4
Device: A0001
bacon/bacon-userdebug 5.0.2 LRX22G 47d780a5e7 test-keys/5.0.2/oneplus/bacon/A0001:4.4.2/KVT49L/XNPH25R:user/release-keys
Hash: 1523535328
EXCEPTION
java.lang.SecurityException: No permission to write APN settings
No permission to write APN settings
com.latedroid.juicedefender.bf.a(SourceFile:873)
com.latedroid.juicedefender.bj.i(SourceFile:7036)
com.latedroid.juicedefender.bj.e(SourceFile:7077)
com.latedroid.juicedefender.eh.handleMessage(SourceFile:3256)
com.latedroid.juicedefender.bj.run(SourceFile:5118)
Fatal error - JuiceDefender disabled!
The app package might be damaged. Please uninstall JuiceDefender, reboot, then reinstall it
------
Phone type: 1
Profile: 5
[data 3] data 5000ms avg (now: 1/2)
wifi autodisable 8000ms avg (now: 1/2)
sync ping
[bt]
------
battery 15 chrg ac
screen unlock
traffic 10/15(30)
sys: 5
------
00:40 ERROR The app package might be damaged. Please uninstall JuiceDefender, reboot, then reinstall it
00:40 ERROR Fatal error - JuiceDefender disabled!
00:40 ERROR com.latedroid.juicedefender.bj.run(SourceFile:5118)
00:40 ERROR com.latedroid.juicedefender.eh.handleMessage(SourceFile:3256)
00:40 ERROR com.latedroid.juicedefender.bj.e(SourceFile:7077)
00:40 ERROR com.latedroid.juicedefender.bj.i(SourceFile:7036)
00:40 ERROR com.latedroid.juicedefender.bf.a(SourceFile:873)
00:40 ERROR No permission to write APN settings
00:40 ERROR java.lang.SecurityException: No permission to write APN settings
00:40 ERROR EXCEPTION
00:40 Connected: mobile
00:40 Screen on (user present)
00:40 JuiceDefender v3.9.4 enabled: advanced profile - Data m3 WiFi Sync ping - Location training - Schedule Data WiFi 0m/15m, Night, AC Charger, Battery 15%, Traffic 10KB/15s 30s, Screen unlock Data WiFi
00:40 Radio control unavailable
00:40 ROM is not compatible with AOSP helper (band switch control is unavailable) - get CyanogenMod ;)
00:40 ERROR com.latedroid.juicedefender.App.onCreate(SourceFile:356)
00:40 ERROR com.latedroid.juicedefender.bu.a(SourceFile:236)
00:40 ERROR com.latedroid.juicedefender.bu.a(SourceFile:121)
00:40 ERROR open failed: EACCES (Permission denied)
00:40 ERROR com.latedroid.juicedefender.App.onCreate(SourceFile:356)
00:40 ERROR com.latedroid.juicedefender.bu.a(SourceFile:236)
00:40 ERROR com.latedroid.juicedefender.bu.a(SourceFile:121)
00:40 ERROR /data/system/packages.xml: open failed: EACCES (Permission denied)
00:40 ERROR java.io.FileNotFoundException: /data/system/packages.xml: open failed: EACCES (Permission denied)
00:40 ERROR EXCEPTION
00:40 Regular AOSP installation not possible on Android 2.3+
00:40 AOSP helper not found or outdated
00:40 3: Found interface
00:40 WARNING 2:Method not found!
00:40 The device is rooted
00:40 ---------------------------- (initialization)
00:27 ERROR The app package might be damaged. Please uninstall JuiceDefender, reboot, then reinstall it
00:27 ERROR Fatal error - JuiceDefender disabled!
00:27 ERROR com.latedroid.juicedefender.bj.run(SourceFile:5118)
00:27 ERROR com.latedroid.juicedefender.eh.handleMessage(SourceFile:3114)
00:27 ERROR com.latedroid.juicedefender.bj.a(SourceFile:2294)
00:27 ERROR com.latedroid.juicedefender.bj.c(SourceFile:2328)
00:27 ERROR com.latedroid.juicedefender.bj.e(SourceFile:7077)
00:27 ERROR com.latedroid.juicedefender.bj.i(SourceFile:7036)
00:27 ERROR com.latedroid.juicedefender.bf.a(SourceFile:873)
00:27 ERROR No permission to write APN settings
00:27 ERROR java.lang.SecurityException: No permission to write APN settings
00:27 ERROR EXCEPTION
00:27 Training for location "Munkenet-5GHz": 5% complete
00:27 Connected: mobile
00:26 WiFi disabled
00:26 Screen off
00:25 AutoSync ping
00:25 Screen on (user present)
00:25 Screen off
00:24 AutoSync ping
00:24 Screen on (user present)
00:23 Data traffic detected (45KB/45s), delaying disable
00:23 Data traffic detected (58KB/30s), delaying disable
00:22 Screen off
00:17 AutoSync ping
00:17 Schedule stop
00:16 Schedule start
00:13 Charger disconnected
00:09 AutoSync ping
00:08 Screen on (user present)
00:08 Screen off
00:04 Charger connected
00:04 Charger disconnected
00:04 AutoSync ping
00:03 Screen on (user present)
00:03 Screen off
00:03 Charger connected
00:03 Charger disconnected
00:01 Created location for network "Munkenet-5GHz": 20m (0s) - 56.14292,10.20297 - 20m (0s) - 56.14292,10.20297
00:01 AutoSync ping
00:01 Connected: WiFi
00:01 Screen on (user present)
00:01 JuiceDefender v3.9.4 enabled: advanced profile - Data m3 WiFi Sync ping - Location - Schedule Data WiFi 0m/15m, Night, AC Charger, Battery 15%, Traffic 10KB/15s 30s, Screen unlock Data WiFi
00:00 Root access granted
00:00 AutoSync ping
00:00 Connected: WiFi
00:00 Screen on (user present)
00:00 WiFi enabled by user
00:00 Mobile data is back to JD control
00:00 JuiceDefender v3.9.4 enabled: advanced profile - Data m3 WiFi Sync ping - - Schedule Data WiFi 0m/15m, Night, AC Charger, Battery 15%, Traffic 10KB/15s 15s, Screen unlock Data WiFi
00:00 Radio control unavailable
00:00 User had enabled AutoSync
00:00 Data enabled
00:00 User had changed WiFi sleep policy
00:00 User had changed screen brightness mode
00:00 User had changed screen timeout to 30
00:00 User had disabled airplane mode
00:00 JuiceDefender disabled, restoring previous state
00:00 WARNING JuiceDefender wasn't shut down properly!
00:00 Radio control unavailable
00:00 Checking license
00:00 ROM is not compatible with AOSP helper (band switch control is unavailable) - get CyanogenMod ;)
00:00 ERROR com.latedroid.juicedefender.App.onCreate(SourceFile:356)
00:00 ERROR com.latedroid.juicedefender.bu.a(SourceFile:236)
00:00 ERROR com.latedroid.juicedefender.bu.a(SourceFile:121)
00:00 ERROR open failed: EACCES (Permission denied)
00:00 ERROR com.latedroid.juicedefender.App.onCreate(SourceFile:356)
00:00 ERROR com.latedroid.juicedefender.bu.a(SourceFile:236)
00:00 ERROR com.latedroid.juicedefender.bu.a(SourceFile:121)
00:00 ERROR /data/system/packages.xml: open failed: EACCES (Permission denied)
00:00 ERROR java.io.FileNotFoundException: /data/system/packages.xml: open failed: EACCES (Permission denied)
00:00 ERROR EXCEPTION
00:00 Regular AOSP installation not possible on Android 2.3+
00:00 AOSP helper not found or outdated
00:00 3: Found interface
00:00 WARNING 2:Method not found!

Same problem here. Still no solution.

Same here, with a Storex "S'Phone QC 51" with stock Android 5.1.

Related

Juice defender does NOT work after root !

I have installed it from the Market, go inside the app, enable it and as soon as I exit the app is disables again. In log I have some errors, one for paused setup and one for installing. Second one says: Error installing squlite binary! (chmod).
Can someone tell me what could be the problem ? I have tried to use it with Superuser app allowing it to use root and denying it and it never works, I have no idea what could I do and I really use this app.
Thanks for any help
Here is the part of the log, he says error enabling data when the screen is off and it should DISABLE data:
JuiceDefender version Evolution 1.7.6beta
19:33 info Debug log sent to the developer
19:32 Wakelock released too early!
19:32 info 15925ms elapsed
19:32 info Data enabled
19:32 Warning [null]
19:32 Warning RemoteException!
19:32 Warning Error enabling data, retrying...
19:32 Warning [null]
19:32 Warning RemoteException!
19:32 Warning Error enabling data, retrying...
19:32 Stats for the last 48 hours: 100% (wifi 0% apn 0% 2g/3g 0% screen 0% cpu 0%)
19:32 Warning [null]
19:32 Warning RemoteException!
19:32 Warning Error enabling data, retrying...
19:32 Warning [null]
19:32 Warning RemoteException!
19:32 WiFi already enabled
19:32 Enable Data/Sync 3G WiFi - location, screen,
19:32 info Screen unlocked
19:32 Wakelock released too early!
19:32 info 15894ms elapsed
.
.
.

(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

messages has stopped

Hello,
I seem to be locked out of my native messages application where I can read sms and mms.
When i launch it, it loads up, i see for about a second the messages thread bu then i get fc.
Tried to do a sms backup and i still get an error.
Cleared cache and dalvik in recovery and no luck.
Thanks
Code:
Device: htc_europe HTCSensation (pyramid)
OS: 4.1.2
Kernel: 3.4.10-SebastianFM-1.0.4
Software: ViperS 5.2.1
Description: 3.19.401.101 CL157254 release-keys
Characteristics: default
App: 7.13
7:12:30: An Error has occurred during backup: not an error (code 0)
7:12:30: Releasing cpu wake lock
7:12:30: Count: 0
7:12:30: ERROR! Error Creating Backup File : not an error (code 0): android.database.sqlite.SQLiteException: not an error (code 0)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java)
at android.content.ContentProviderProxy.query(ContentProviderNative.java)
at android.content.ContentResolver.query(ContentResolver.java)
at android.content.ContentResolver.query(ContentResolver.java)
at com.riteshsahu.BackupRestoreCommon.BackupProcessor.saveXml(BackupProcessor.java:1322)
at com.riteshsahu.BackupRestoreCommon.BackupProcessor.createBackup(BackupProcessor.java:114)
at com.riteshsahu.BackupRestoreCommon.BackupProcessor.createBackup(BackupProcessor.java:143)
at com.riteshsahu.BackupRestoreCommon.TaskRunner.run(TaskRunner.java:294)
at java.lang.Thread.run(Thread.java)
7:12:30: Could not load Columns from contentUri, creating from mandatory columns : not an error (code 0): android.database.sqlite.SQLiteException: not an error (code 0)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java)
at android.content.ContentProviderProxy.query(ContentProviderNative.java)
at android.content.ContentResolver.query(ContentResolver.java)
at android.content.ContentResolver.query(ContentResolver.java)
at com.riteshsahu.BackupRestoreCommon.Common.loadColumnList(Common.java:136)
at com.riteshsahu.BackupRestoreCommon.BackupProcessor.saveXml(BackupProcessor.java:1317)
at com.riteshsahu.BackupRestoreCommon.BackupProcessor.createBackup(BackupProcessor.java:114)
at com.riteshsahu.BackupRestoreCommon.BackupProcessor.createBackup(BackupProcessor.java:143)
at com.riteshsahu.BackupRestoreCommon.TaskRunner.run(TaskRunner.java:294)
at java.lang.Thread.run(Thread.java)
7:12:30: External storage is ready
7:12:30: Trying to getExternalStorageState
7:12:30: Acquiring cpu wake lock
7:12:30: Creating new Backup File:/storage/sdcard0/SMSBackupRestore/sms-20140807071224.xml
7:12:30: Creating New Backup. File: /storage/sdcard0/SMSBackupRestore/sms-20140807071224.xml
7:11:6: AmazonAds failed to load: The configuration was unable to be loadedCODE]

[Q] WiFi connect possible, but no scanning?

Hi,
problem:
i can´t see any wifi networks, that im not connected to
i´m able to add manuelly any wifi network without problems.. wifi on those manually added networks, works perfect
notification of open networks is enabled.. and i got a notification that there is an open wifi network in range.. so scanning itself seems to work? but my device doesn´t show any network but the one im connected to.
EDIT: "MotoTool AIO" shows me at "SysInfo" -> "wifi" a wifi scan... so this seems really a problem on just displaying the wifi scan results on the device?!?!?
tools like "wifi analyzer" don´t show ANY network
what i tried/looked for, without a positive result:
wifi_display_on has still value 0 in settings.db
file WCNSS_qcom_wlan_factory_nv.bin is existing in /persists (http://forum.xda-developers.com/showpost.php?p=49656627&postcount=3)
flashed stock baseband (http://forum.xda-developers.com/showthread.php?t=2649763)
i did more.. but can´t remember everything.. im sorry...
im on latest gapps.. latest cm12 nightly.. (problem exists since some nightly in the summer of 2014)
im on moto g XT1032
i did not a clean install.. i just upgraded via adb sideload in TWRP (and i don´t really want to do a clean install)
after fixing systemUI Crash and launcher3 crash on myself (look: http://forum.xda-developers.com/showpost.php?p=58316659&postcount=768) i just have this problem (also no GPS Signal, tried to fastboot erasing modemst1 and modemst2)
im really really interested in finding the problem instead of just do a clean install..
so i also take a look at logcat.. and found those errors:
the errors:
I/wpa_supplicant(4981): CTRL_IFACE: Detach monitor /data/misc/wifi/sockets/wpa_ctrl_774-5\x00 that cannot receive messages
E/WifiHW (774): Unable to open connection to supplicant on "@android:wpa_wlan0": No such file or directory
E/WifiHAL (774): wifi_error wifi_set_scanning_mac_oui(wifi_interface_handle, byte*): requestResponse Error:-95
E/WifiHAL (774): wifi_error wifi_get_gscan_capabilities(wifi_interface_handle, wifi_gscan_capabilities*): GSCAN is not supported by driver
more details:
I/wpa_supplicant(4981): CTRL_IFACE: Detach monitor /data/misc/wifi/sockets/wpa_ctrl_774-5\x00 that cannot receive messages
E/WifiHW (774): Unable to open connection to supplicant on "@android:wpa_wlan0": No such file or directory
I/wpa_supplicant(6513): Successfully initialized wpa_supplicant
I/wpa_supplicant(6513): rfkill: Cannot open RFKILL control device
E/WifiHW (774): Unable to open connection to supplicant on "@android:wpa_wlan0": No such file or directory
I/wpa_supplicant(6513): rfkill: Cannot open RFKILL control device
D/WifiConfigStore(774): Loading config and enabling all networks
I/wpa_supplicant(6513): wlan0: CTRL-EVENT-SCAN-STARTED
D/WifiNative-HAL(774): Setting external_sim to 1
D/WifiStateMachine(774): Setting OUI to DA-A1-19
I/WifiNative-HAL(774): startHal
D/wifi (774): setting scan oui 0x977ece20
I/WifiHAL (774): ******HexDump len:0*********
I/WifiHAL (774): ******HexDump End***********
E/WifiHAL (774): virtual int WifiVendorCommand::create() ifindex obtained:29
E/WifiHAL (774): virtual int WifiVendorCommand::set_iface_id(const char*) ifindex obtained:29
I/WifiHAL (774): MAC_OUI - da:a1:19
D/WifiHAL (774): virtual int WifiVendorCommand::requestResponse(): request a response
E/WifiHAL (774): wifi_error wifi_set_scanning_mac_oui(wifi_interface_handle, byte*): requestResponse Error:-95
D/RttService(774): SCAN_AVAILABLE : 3
D/WifiScanningService(774): SCAN_AVAILABLE : 3
D/RttService(774): DefaultState got{ when=-1ms what=160512 target=com.android.internal.util.StateMachine$SmHandler }
D/WifiScanningService(774): DefaultState got{ when=-1ms what=160006 target=com.android.internal.util.StateMachine$SmHandler }
I/WifiNative-HAL(774): startHal
D/wifi (774): getting scan capabilities on interface[0] = 0x977ece20
E/WifiHAL (774): wifi_error wifi_get_gscan_capabilities(wifi_interface_handle, wifi_gscan_capabilities*): GSCAN is not supported by driver
D/wifi (774): failed to get capabilities : -3
E/WifiScanningService(774): could not get scan capabilities
D/WifiMonitor(774): startMonitoring(p2p0) with mConnected = true
D/class com.mobisystems.wifi_direct.StartWifiDirectReceiver(6198): Wifi notification received.
D/class com.mobisystems.wifi_direct.StartWifiDirectReceiver(6198): WIFI State Changed.
Click to expand...
Click to collapse
added important info in first post!

[SOLVED][Q] WiFi won't turn on

All of a sudden, on Stock + Root TF700T, WiFi won't turn on. I highly doubt that this is related to my WiFi router ... the WiFi won't even enable on the tablet, and I can't even see a MAC address in About Tablet section.
I also did some digging and have some additional detail, but I cannot find a solution.
logcat:
Code:
E/WifiHW ( 122): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 122): Softap fwReload - failed: -1
E/WifiStateMachine( 489): Failed to reload STA firmware java.lang.IllegalStateException: command '43 softap fwreload wlan0 STA' failed with '400 43 Softap operation failed (No such file or directory)'
W/CommandListener( 122): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 122): Setting iface cfg
E/WifiStateMachine( 489): Unable to change interface settings: java.lang.IllegalStateException: command '45 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 45 Failed to set address (No such device)'
E/WifiHW ( 489): wpa_ctrl_open fail, retry again
I/wpa_supplicant( 2767): Successfully initialized wpa_supplicant
E/wpa_supplicant( 2767): nl80211: Could not add multicast membership for scan events: -2 (No such file or directory)
E/wpa_supplicant( 2767): Failed to initialize driver 'nl80211'
E/wpa_supplicant( 2767): wlan0: Unsupported driver 'nl80211'
D/dalvikvm( 1258): GC_CONCURRENT freed 427K, 14% free 3700K/4272K, paused 3ms+3ms, total 57ms
D/AsusBrightnessManager( 489): br transform : 35 -> 13
D/DockManagerService( 489): mLastAcOnline:false mAcOnline:false
D/LowBatteryService( 1487): onReceive:Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) }
D/LowBatteryService( 1487): mAcOnline = false, mDeviceBatteryLevel = 96, mDockBatteryLevel = 0, mDockBatteryStatus = 0
D/LowBatteryService( 1487): Battery level is higher than threshold, no need to apply
D/LowBatteryService( 1487): Battery level is good, no need to apply low battery config.
D/DockManagerService( 489): mLastAcOnline:false mAcOnline:false
D/LowBatteryService( 1487): onReceive:Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) }
D/LowBatteryService( 1487): mAcOnline = false, mDeviceBatteryLevel = 96, mDockBatteryLevel = 0, mDockBatteryStatus = 0
D/LowBatteryService( 1487): Battery level is higher than threshold, no need to apply
D/LowBatteryService( 1487): Battery level is good, no need to apply low battery config.
E/WifiHW ( 489): Supplicant not running, cannot connect
E/WifiHW ( 489): Supplicant not running, cannot connect
E/WifiHW ( 489): Supplicant not running, cannot connect
E/WifiHW ( 489): Supplicant not running, cannot connect
E/WifiHW ( 489): Supplicant not running, cannot connect
E/WifiHW ( 122): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 122): Softap fwReload - failed: -1
E/WifiStateMachine( 489): Failed to reload STA firmware java.lang.IllegalStateException: command '46 softap fwreload wlan0 STA' failed with '400 46 Softap operation failed (No such file or directory)'
E/WifiStateMachine( 489): Failed 6 times to start supplicant, unload driver
W/CommandListener( 122): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 122): Setting iface cfg
E/WifiStateMachine( 489): Unable to change interface settings: java.lang.IllegalStateException: command '48 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 48 Failed to set address (No such device)'
E/WifiHW ( 489): wpa_ctrl_open fail, retry again
I/wpa_supplicant( 2792): Successfully initialized wpa_supplicant
E/wpa_supplicant( 2792): nl80211: Could not add multicast membership for scan events: -2 (No such file or directory)
E/wpa_supplicant( 2792): Failed to initialize driver 'nl80211'
E/wpa_supplicant( 2792): wlan0: Unsupported driver 'nl80211'
D/dalvikvm( 1258): GC_CONCURRENT freed 427K, 14% free 3700K/4272K, paused 2ms+1ms, total 22ms
W/NvCpuClient( 489): Failed to bind to service
D/AsusBrightnessManager( 489): br transform : 35 -> 13
E/WifiHW ( 489): Supplicant not running, cannot connect
W/NvCpuClient( 489): Failed to bind to service
Also, output from netcfg:
Code:
[email protected]:/ # netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
dummy0 DOWN 0.0.0.0/0 0x00000082 76:ad:93:6b:c9:b7
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
And here is output of my wpa_supplicant.conf:
Code:
[email protected]:/ # cat /etc/wifi/wpa_supplicant.conf
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
And I searched the entire filesystem for "nl80211" and found nothing.
Does anyone have suggestions on where to go next? Did my driver somehow get deleted, or am I just not looking for the right thing?
Thanks.
I will use this question in the future as an example of how to ask for support properly. Unfortunately I don't have a solution for you, but you could check the files in your /data/misc/wifi, maybe you can find something unusual. Your MAC address should come from some file on the FAT filesystem on /dev/block/mmcblk0p5 - I'd recommend making an image of it as a backup and then analyze the image.
_that said:
I will use this question in the future as an example of how to ask for support properly.
Click to expand...
Click to collapse
I provide Enterprise-level support to software devs working in the Cloud and particularly on CentOS/RHEL Linux servers. This is why I know how to ask for help properly.
Well, since I can't find much, and there aren't any definitive answers here, my next thoughts are:
1) Something is seriously jacked up on the filesystem, possibly corrupted driver, possibly something worse. Hopefully, this is the case, because a software problem is possible to fix.
2) The WiFi radio is permanently damaged, or "burnt out".
In the hopes that it's something more like software, I'm going to reimage. I just need to decide what ROM to use. Not having network connectivity will make the prep for this a bit more challenging, but I can work through it using a MicroSD card.
If it's #2, well then I suppose I will have wasted my time reimaging and will be on the market for a new tablet ... and I need to get on that right away because I need to travel soon. Any suggestions are welcome ... I'd like a 9" or 10" tablet and it must have an HDMI out (micro preferred) and be able to handle 1080p video.
Thanks.
[SOLVED]
I am having a heckuva time even doing what I described above.
-I had never unlocked the bootloader before, so when I tried the ASUS unlock util v8, it gave error "INSTALL_FAILED_SHARED_USER_INCOMPATIBLE"
-I tried the ASUS unlock tool v7, and was finally able to install it but when I run and select Unlock I get an error that there is no network connection (FFS that's what I'm trying to resolve!)
-I can't get into recovery, I just get the Android guy with "ERROR!" when I enter fastboot and select "RCK".
My only option is to go back to Stock. So, I tried this:
http://forum.xda-developers.com/showthread.php?t=1833212
The steps in that post result in the same Android guy with the "ERROR!" screen ... not a very helpful error msg.
So, I tried this, and used the stock firmware from ASUS. (NOTE: I downloaded "ASUS Transformer Pad TF700T Firmware: V10.6.1.14.10 Only for US SKU (Android 4.2.1)" directly from ASUS after I read their notes on where to check for which one you need ([Settings]-->[About tablet]-->Build number).):
http://www.transformerforums.com/fo...e-firmware-tf700-tf701-tf300-tf101-tf201.html
From that post ^^ I did Method B: Flash from MicroSD. I extracted the .zip I downloaded from ASUS, and renamed the new zip EP201_768_SDUPDATE.zip per the GUIDE linked above.
I put in my MicroSD, went back into fastboot, and selected "RCK". It was at this point that I began typing the above. Total time to get to this point was about 90 minutes!
-----
FINALLY, for the first time, I saw a progress bar under the Android guy, and he had gears turning in his belly.
*INSERT SIGH OF RELIEF HERE*
As I was typing out all the above, progress bars were moving, and a few reboots happened. I expected that I would be fully back on Stock ROM, and that my data would have been wiped. I never ran a data wipe, I just assumed the ASUS installer would do that by default.
Well, it didn't wipe data. But, what it did do: restore all my device drivers!! After about 10 minutes, and 2-3 reboots, Android loaded with my existing desktop and settings, and the WiFi connected right away!!
So, this fixed it. I documented the above so anyone (even me, months from now) having a similar problem might be able to use these steps.
WOO HOO!
lost root
I should add that I lost root now. I think at this point, after all I've been through with this, I'm just going to press on and install CyanogenMod which is what I was planning to do anyway.
CaptainRewind said:
I should add that I lost root now. I think at this point, after all I've been through with this, I'm just going to press on and install CyanogenMod which is what I was planning to do anyway.
Click to expand...
Click to collapse
Just flash this to get root
http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
sbdags said:
Just flash this to get root
http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
Click to expand...
Click to collapse
Yep, I had to do that anyway because I wanted to do a full Titanium Backup first. Still, I'm moving to CM now.

Categories

Resources