Q&A for [APP/FRAMEWORK] NOGAPPS Project (NetworkLocation, MapsAPI, Blank Store)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [APP/FRAMEWORK] NOGAPPS Project (NetworkLocation, MapsAPI, Blank Store). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
NetworkLocation from NOGAPPS Project
Hi,
http://forum.xda-developers.com/showthread.php?t=1715375
I try to install Network Location but it crashes at startup, everytime.
My phone is a Samsung Galasy S3 Mini (GT-I8190) with CM11
I have this log :
Code:
adb logcat |grep location
I/ActivityManager( 2149): Start proc com.google.android.gms for service com.google.android.gms/com.google.android.location.NetworkLocationService: pid=2466 uid=10063 gids={50063, 1028, 3003, 1015}
I/FusedLocation( 2149): engine started (com.android.location.fused)
E/AndroidRuntime( 2466): at org.microg.networklocation.platform.CellSpecRetriever.retrieveCellSpecs(CellSpecRetriever.java:92)
E/AndroidRuntime( 2466): at org.microg.networklocation.data.LocationCalculator.getCurrentCells(LocationCalculator.java:106)
E/AndroidRuntime( 2466): at org.microg.networklocation.data.LocationCalculator.getCurrentCellLocation(LocationCalculator.java:91)
E/AndroidRuntime( 2466): at org.microg.networklocation.data.LocationCalculator.getCurrentLocation(LocationCalculator.java:110)
E/AndroidRuntime( 2466): at org.microg.networklocation.NetworkLocationThread.run(NetworkLocationThread.java:121)
W/LocationProviderProxy( 2149): at com.android.internal.location.ILocationProvider$Stub$Proxy.setRequest(ILocationProvider.java:215)
W/LocationProviderProxy( 2149): at com.android.server.location.LocationProviderProxy$1.run(LocationProviderProxy.java:128)
W/ActivityManager( 2149): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.NetworkLocationService in 1000ms
I/ActivityManager( 2149): Start proc com.google.android.gms for service com.google.android.gms/com.google.android.location.NetworkLocationService: pid=3013 uid=10063 gids={50063, 1028, 3003, 1015}
E/AndroidRuntime( 3013): at org.microg.networklocation.platform.CellSpecRetriever.retrieveCellSpecs(CellSpecRetriever.java:92)
E/AndroidRuntime( 3013): at org.microg.networklocation.data.LocationCalculator.getCurrentCells(LocationCalculator.java:106)
E/AndroidRuntime( 3013): at org.microg.networklocation.data.LocationCalculator.getCurrentCellLocation(LocationCalculator.java:91)
E/AndroidRuntime( 3013): at org.microg.networklocation.data.LocationCalculator.getCurrentLocation(LocationCalculator.java:110)
E/AndroidRuntime( 3013): at org.microg.networklocation.NetworkLocationThread.run(NetworkLocationThread.java:121)
W/ActivityManager( 2149): Service crashed 2 times, stopping: ServiceRecord{422566c8 u0 com.google.android.gms/com.google.android.location.NetworkLocationService}
What I did :
- copy NetworkLocation-gms.apk to /system/priv-app/NetworkLocation.apk and clean dalvik-cache
- chmod 644 /system/priv-app/NetworkLocation.apk
- copy cells-europe.db (also try with cells-world.db) to /sdcard/.nogapps/cells.db
Thanks for your help
up
The logcat is incomplete, what tool did you use to create it?
Do you use any privacy tools like Xprivacy and do you have a sim card inserted?
I tried to have a complet logcat with this command adb logcat | grep -i location (as you said here http://forum.xda-developers.com/showpost.php?p=29768168&postcount=93). I ran it just after booting the phone, before typing my sim code.
Code:
[email protected]:/ $ logcat | grep -i location
W/PackageManager( 2146): Unknown permission android.permission.LOCATION in package eu.kernodis.TraficAlert
W/PackageManager( 2146): Unknown permission android.permission.LOCATION in package eu.kernodis.TraficAlert
I/SystemServer( 2146): Location Manager
W/PackageManager( 2146): Unknown permission android.permission.LOCATION in package eu.kernodis.TraficAlert
I/ActivityManager( 2146): Start proc com.google.android.gms for service com.google.android.gms/com.google.android.location.NetworkLocationService: pid=2454 uid=10092 gids={50092, 1028, 3003, 1015}
E/LocationManagerService( 2146): No FusedProvider found.
E/LocationManagerService( 2146): no geofence provider found
D/GpsLocationProvider( 2146): set_capabilities_callback: 6u
E/JavaBinder( 2146): at android.location.ICountryDetector$Stub.onTransact(ICountryDetector.java:69)
I/FusedLocation( 2146): engine started (com.android.location.fused)
E/AndroidRuntime( 2454): at org.microg.networklocation.platform.CellSpecRetriever.retrieveCellSpecs(CellSpecRetriever.java:92)
E/AndroidRuntime( 2454): at org.microg.networklocation.data.LocationCalculator.getCurrentCells(LocationCalculator.java:106)
E/AndroidRuntime( 2454): at org.microg.networklocation.data.LocationCalculator.getCurrentCellLocation(LocationCalculator.java:91)
E/AndroidRuntime( 2454): at org.microg.networklocation.data.LocationCalculator.getCurrentLocation(LocationCalculator.java:110)
E/AndroidRuntime( 2454): at org.microg.networklocation.NetworkLocationThread.run(NetworkLocationThread.java:121)
D/GpsLocationProvider( 2146): NTP server returned: 1414973347740 (Mon Nov 03 01:09:07 CET 2014) reference: 30213 certainty: 14 system time offset: -10690
W/ActivityManager( 2146): Scheduling restart of crashed service com.google.android.gms/com.google.android.location.NetworkLocationService in 1000ms
I/ActivityManager( 2146): Start proc com.google.android.gms for service com.google.android.gms/com.google.android.location.NetworkLocationService: pid=3192 uid=10092 gids={50092, 1028, 3003, 1015}
E/AndroidRuntime( 3192): at org.microg.networklocation.platform.CellSpecRetriever.retrieveCellSpecs(CellSpecRetriever.java:92)
E/AndroidRuntime( 3192): at org.microg.networklocation.data.LocationCalculator.getCurrentCells(LocationCalculator.java:106)
E/AndroidRuntime( 3192): at org.microg.networklocation.data.LocationCalculator.getCurrentCellLocation(LocationCalculator.java:91)
E/AndroidRuntime( 3192): at org.microg.networklocation.data.LocationCalculator.getCurrentLocation(LocationCalculator.java:110)
E/AndroidRuntime( 3192): at org.microg.networklocation.NetworkLocationThread.run(NetworkLocationThread.java:121)
I/ActivityManager( 2146): Delaying start of: ServiceRecord{42bb0928 u0 com.spotify.music/.internal.service.DeleteOldCacheLocationsService}
W/ActivityManager( 2146): Service crashed 2 times, stopping: ServiceRecord{42b2dee8 u0 com.google.android.gms/com.google.android.location.NetworkLocationService}
I/ActivityManager( 2146): Start proc com.spotify.music:intentservice for service com.spotify.music/.internal.service.DeleteOldCacheLocationsService: pid=3537 uid=10099 gids={50099, 3003, 1028, 1015}
I suppose there is something wrong with this lines
Code:
E/LocationManagerService( 2146): No FusedProvider found.
E/LocationManagerService( 2146): no geofence provider found
But I don't know what to do :/
I don't use any privacy tool and I have a sim card.
Thanks.
Didou3094 said:
I suppose there is something wrong with this lines
Code:
E/LocationManagerService( 2146): No FusedProvider found.
E/LocationManagerService( 2146): no geofence provider found
Click to expand...
Click to collapse
That's the right behavior, nothing to worry about.
Didou3094 said:
before typing my sim code.
Click to expand...
Click to collapse
Apparently this is a bug in the Samsung modem/firmware. I'll add a work-around for that in the next release. Consider using the UnifiedNlp pre-release from here https://github.com/microg/android_packages_apps_UnifiedNlp until then.
Ok, I tried to use the NetworkLocation.apk found here (github.com/microg/android_packages_apps_UnifiedNlp/releases) but I not sure about what to do with the UnifiedNlp.apk. I also installed it in /system/priv-app/ and by this way NetworkLocation doesn't crash at startup anymore but it doesn't seem to work by the way, I have not result on html5demos.com/geo
Anyway, I'll wait for your next release.
Thank you very much for you help and for this project (and sorry for my english).
Sadly it does not work for me with SlimICS on a Samsung Galaxy S i9000.
When Android starts it greets me with following:
"Sadly NetworkLocation has been ended." or something...
And inside I won't get a fix. I don't know I followed your tutorial and even fixed the permissions like the other files in /system/app ...
thank you
Backend for NLP
I've created a GMS cell tower backend for NLP at https://github.com/n76/Local-GSM-Backend and have used a naming structure based on a domain I own. Because it is code specifically for the microG project can I and should I change to use org.microg.[something]?
Further, would it be advantageous (more likely for other developers/users to find use and fix/enhance it) to move the source tree into microG's github account rather than leaving it in mine?
Are there any ROMs with microG built in?
I've been using CyanogenMod and the adding the bits of microG/nogapps that make my life a lot easier. But it would be even easier for me if I could use another distribution/ROM that has microG already integrated into it. Are there any?
help.me!
app fc. please help me.
my logcat
--------- beginning of /dev/log/system
E/AndroidRuntime( 1162): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 1162): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 1162): at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime( 1162): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime( 1162): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime( 1162): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime( 1162): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime( 1162): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/AndroidRuntime( 1162): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime( 1162): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime( 1162): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 1162): Caused by: com.gc.android.market.api.LoginException: The login request used a username or password that is not recognized.
E/AndroidRuntime( 1162): at com.gc.android.market.api.MarketSession.login(MarketSession.java:384)
E/AndroidRuntime( 1162): at com.gc.android.market.api.MarketSession.login(MarketSession.java:334)
E/AndroidRuntime( 1162): at com.android.vending.google.GooglePlayConnection.openConnectionSynced(GooglePlayConnection.java:131)
E/AndroidRuntime( 1162): at com.android.vending.google.DefaultGooglePlayConnection.requestAppsSynced(DefaultGooglePlayConnection.java:309)
E/AndroidRuntime( 1162): at com.android.vending.google.DefaultGooglePlayConnection.requestApps(DefaultGooglePlayConnection.java:302)
E/AndroidRuntime( 1162): at com.android.vending.google.DefaultGooglePlayConnection.queryAppList(DefaultGooglePlayConnection.java:199)
E/AndroidRuntime( 1162): at com.android.vending.tasks.AppListTask.doInBackground(AppListTask.java:62)
E/AndroidRuntime( 1162): at com.android.vending.tasks.AppListTask.doInBackground(AppListTask.java:10)
E/AndroidRuntime( 1162): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AndroidRuntime( 1162): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime( 1162): ... 5 more
E/AppErrorDialog( 362): Failed to get ILowStorageHandle instance
E/VoldCmdListener( 92): CommandListener::VolumeCmd::runCommand --> shared
PHP:
[PHP][PHP]
[/PHP][/PHP]
In response to http://forum.xda-developers.com/showpost.php?p=57374522&postcount=948
(Maybe I can get to 10 posts so I can actually post on that thread)
I've created a local gsm backend for the unified NLP that can create its own cells.db from both Mozilla and OpenCellID at https://github.com/n76/Local-GSM-Backend
If you want to use both Mozilla and OpenCellID data with an off line generated script, I've got one at https://github.com/n76/lacells-creator
Keep Alternative:
OmniNotes (https://github.com/federicoiosue/Omni-Notes/)
I really can recommend this one. Use a Play-APK-Downloader to get it
Fail to creat an Android ID for Blank Store (NOGAPPS PROJECT)
Hi everywone,
I'm trying to follow this steps to generate an android id but I've this error : " Exception in thread "main" java.lang.NoClassDefFoundError [...]"
See the screenshot here :
Have an idea ?
Thanks
victo24dord said:
Hi everywone,
I'm trying to follow this steps to generate an android id but I've this error : " Exception in thread "main" java.lang.NoClassDefFoundError [...]"
See the screenshot here :
Have an idea ?
Thanks
Click to expand...
Click to collapse
Try use a different procedure. The most easy one is probably downloading a AndroidID app.
Btw: Ypi aren't generating one, you are just displaying it. It get's generated on first start
I just tried BlankStore for the first time and, initially, was greeted with the following error upon creating the Android ID:
Code:
$ java -jar android-checkin-1.0.jar <email> <password>
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/HttpEntity
at com.android.checkin.Main.main(Main.java:17)
Caused by: java.lang.ClassNotFoundException: org.apache.http.HttpEntity
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
... 1 more
Obviously, and as was already pointed out, I was missing some dependencies. For me, however, there was a trick involved:
Since the android-checkin-1.0.jar's MANIFEST.ML file named the following dependencies (and versions!):
Code:
Class-Path: protobuf-java-2.4.1.jar httpclient-4.2.2.jar httpcore-4.2.
2.jar commons-logging-1.1.1.jar commons-codec-1.6.jar
…I needed these exact file names, too. So, I downloaded the jars from http://mvnrepository.com/artifact/com.google.protobuf/protobuf-java/2.4.1 and https://hc.apache.org/downloads.cgi, placed them in the same directory as the android-checkin-1.0.jar and – out of laziness because I didn't download the correct versions – renamed them accordingly. Worked!
However, now that I have BlankStore installed, it always force closes as soon as I search for an app. I know BlankStore was discontinued but has anyone else experienced the same issue? I just entered the Android ID I generated earlier (along with my Google credentials) when I was asked for it by the BlankStore APK. Any mistakes here? The credentials are definitely correct. Also, I'm running Cyanogenmod 11 with XPrivacy installed but I enabled access to the app list and to the internet.
Logcat output:
Code:
W/dalvikvm( 6169): threadid=11: thread exiting with uncaught exception (group=0x41606ce0)
E/AndroidRuntime( 6169): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 6169): Process: com.android.vending, PID: 6169
E/AndroidRuntime( 6169): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 6169): at android.os.AsyncTask$3.done(AsyncTask.java:300)
E/AndroidRuntime( 6169): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
E/AndroidRuntime( 6169): at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
E/AndroidRuntime( 6169): at java.util.concurrent.FutureTask.run(FutureTask.java:242)
E/AndroidRuntime( 6169): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
E/AndroidRuntime( 6169): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/AndroidRuntime( 6169): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/AndroidRuntime( 6169): at java.lang.Thread.run(Thread.java:841)
E/AndroidRuntime( 6169): Caused by: com.gc.android.market.api.LoginException: The login request used a username or password that is not recognized.
E/AndroidRuntime( 6169): at com.gc.android.market.api.MarketSession.login(MarketSession.java:384)
E/AndroidRuntime( 6169): at com.gc.android.market.api.MarketSession.login(MarketSession.java:334)
E/AndroidRuntime( 6169): at com.android.vending.google.GooglePlayConnection.openConnectionSynced(GooglePlayConnection.java:131)
E/AndroidRuntime( 6169): at com.android.vending.google.DefaultGooglePlayConnection.requestAppsSynced(DefaultGooglePlayConnection.java:309)
E/AndroidRuntime( 6169): at com.android.vending.google.DefaultGooglePlayConnection.requestApps(DefaultGooglePlayConnection.java:302)
E/AndroidRuntime( 6169): at com.android.vending.google.DefaultGooglePlayConnection.queryAppList(DefaultGooglePlayConnection.java:199)
E/AndroidRuntime( 6169): at com.android.vending.tasks.AppListTask.doInBackground(AppListTask.java:62)
E/AndroidRuntime( 6169): at com.android.vending.tasks.AppListTask.doInBackground(AppListTask.java:10)
E/AndroidRuntime( 6169): at android.os.AsyncTask$2.call(AsyncTask.java:288)
E/AndroidRuntime( 6169): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/AndroidRuntime( 6169): ... 4 more
W/ActivityManager( 807): Force finishing activity com.android.vending/.BlankActivity
For Meizu MX4?
How to this on MX4? I'm not a dev or even technically educated but have used a rooted phone before and even MX4 is rooted. I recently installed playstore using google installer for mx4 only because some apps won't run until i had google play services. How can i make them work without having google stuff on my phone. I don't use any google stuff. Of course many apps are available only on playstore but then i used a chrome addon to download apks and installed them but they won't run until google play services was installed.
There's an LBE security app built in mx4 system and i can stop playstore from getting my info but because of the google installer available for mx4 google play services showing up in launcher as google settings app, is embedded in the system and there's no way to control it. I'd like to use this alternate method to use playstore and trick apps that google play services exists without having to let google have my info. I want to have a fully google free android. BTW i don't use chrome on pc either. I had to use it to download apks as firefox addon wasn't available for that function.
BlankStore and paid apps
I try to get rid of Google on my Android devices. Unfortunately, I still use apps from Google Play store. So currently I install minimal Gapps on my (CM-) devices and restrict them as far as possible. Generally, the only Google feature I need is the play store... so I'd like to switch to BlankStore. However, I'm not quite sure about the current features especially concerning paid apps:
Can I keep my current Google ID with BlankStore (yes, it is adviced not to do so, but I'd like to keep purchased apps)?
In this case, are apps which I purchased with the original PlayStore still available to me?
How about apps which contain the "verify license with Google Play" permission (i.e. Greenify, 3C Toolbox, Apex Launcher, etc.)
Thanks in advance, and keep up the good work with this project!
android-checkin trouble
First of all: much thx to the developer!
trying to checkin...
Second, not having to google for the missing java components explanation would save much time Maybe add a small instruction for those not familiar with java together with those components needed?
Third:
Email:.............
Password:..............
Fetching auth (google service)...
Error=BadAuthentication
java.io.IOException: Can't find Auth // HTTP/1.1 403 Forbidden
at com.android.checkin.Checkin.postFormFetchValue(Checkin.java:108)
at com.android.checkin.Checkin.fetchAuthGsf(Checkin.java:77)
at com.android.checkin.Checkin.checkin(Checkin.java:54)
at com.android.checkin.Main.main(Main.java:17)
Any idea? Thx in advance.
mmm.. Or do I need to have google account before using this application? Cos that is not really evident from the instruction.
Related
this is logcat from installing Titanium Backup for example:
Code:
W/ActivityManager( 328): No content provider found for: null
W/dalvikvm( 328): threadid=12: thread exiting with uncaught exception (group=0x2aac8578)
E/PackageManager( 328): Couldn't create temp file for downloaded package file.
E/AndroidRuntime( 328): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager
E/AndroidRuntime( 328): java.lang.NullPointerException
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$FileInstallArgs.c
reateCopyFile(PackageManagerService.java:5011)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$FileInstallArgs.c
opyApk(PackageManagerService.java:5019)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$InstallParams.han
dleStartCopy(PackageManagerService.java:4815)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$HandlerParams.sta
rtCopy(PackageManagerService.java:4666)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$PackageHandler.do
HandleMessage(PackageManagerService.java:496)
E/AndroidRuntime( 328): at com.android.server.PackageManagerService$PackageHandler.ha
ndleMessage(PackageManagerService.java:441)
E/AndroidRuntime( 328): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 328): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 328): at android.os.HandlerThread.run(HandlerThread.java:60)
cleaning dalvik cache didn't help... i was deleting a few system apps, maby thats a problem's reason? Which app if yes?
did you solve the problem? I've the same one!
Gents
Under "Accounts & Sync" I choose Add, then I select "Microsoft Exchange", enter mailaddress and PW, proceed to next screen where I can choose Client-Certificate. When I tap on "Choose" the app crashes always and I see "Email was closed" OK.
I do have imported my client certificate previously with success (btw. where can I manage certs, not CA certs?).
logcat gives this
Code:
E/EmbeddedLogger( 316): App crashed! Process: com.android.email
E/EmbeddedLogger( 316): App crashed! Package: com.android.email v410000 (4.1)
E/EmbeddedLogger( 316): Application Label: Email
E/AndroidRuntime( 4018): FATAL EXCEPTION: main
E/AndroidRuntime( 4018): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=com.android.emailcommon.REQUEST_CERT dat=eas://com.android.emailcommon/certrequest }
E/AndroidRuntime( 4018): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1638)
E/AndroidRuntime( 4018): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1608)
E/AndroidRuntime( 4018): at android.app.Activity.startActivityFromFragment(Activity.java:3561)
E/AndroidRuntime( 4018): at android.app.Fragment.startActivityForResult(Fragment.java:1072)
E/AndroidRuntime( 4018): at com.android.email.activity.setup.AccountSetupExchangeFragment.onCertificateRequested(AccountSetupExchangeFragment.java:441)
E/AndroidRuntime( 4018): at com.android.email.view.CertificateSelector.onClick(CertificateSelector.java:115)
E/AndroidRuntime( 4018): at android.view.View.performClick(View.java:3538)
E/AndroidRuntime( 4018): at android.view.View$PerformClick.run(View.java:14319)
E/AndroidRuntime( 4018): at android.os.Handler.handleCallback(Handler.java:608)
E/AndroidRuntime( 4018): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4018): at android.os.Looper.loop(Looper.java:156)
E/AndroidRuntime( 4018): at android.app.ActivityThread.main(ActivityThread.java:5099)
E/AndroidRuntime( 4018): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4018): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 4018): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 4018): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 4018): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 316): Force finishing activity com.android.email/.activity.setup.AccountSetupExchange
D/ViewRootImpl( 316): @@@- disable SystemServer HW acceleration
W/ActivityManager( 316): Activity pause timeout for ActivityRecord{41b47a08 com.android.email/.activity.setup.AccountSetupExchange}
How could this be resolved?
I run Fulmix ROM v1.0.
Cheers
alph
Try running 'Fix Permissions' in recovery.
doctrines ofischos
Hi vogonpoetlaureate
ok I just tried this. I run fix permissions two times, then rebooted and tried the same steps again. But it behaves still exactly the same and crashes
alphalz said:
Hi vogonpoetlaureate
ok I just tried this. I run fix permissions two times, then rebooted and tried the same steps again. But it behaves still exactly the same and crashes
Click to expand...
Click to collapse
OK, next thing I'd try is to go to Settings -> Apps -> Mail and then 'Clear Data'.
Clearing Data of the Mail app also doesn't help.
In the meantime I managed to get it work using an application called SMail, which perfectly integrates (separate Mail view, calendar and contacts integrated in the respective app). Under "Accounts & Sync" this is also listed as "Exchange Account (SMail)".
Hi,
I've been trying to implement a toggle for my Galaxy Ace II X (running ICS 4.0.4). I wish for the toggle to allow the enabling of the "config_unplugTurnsOnScreen" boolean. I used this DIFF guide for reference (yes, I DID sort through the several mods in the DIFF guide) because I previously had success with the CRT animation toggle on that same page. (I substituted a lot of the AOSP lockscreen code for Unplug Screen On code) Instead of referencing to /system/framework/services.jar/smali/com/android/server/PowerManagerService$BrightnessState.smali, I referenced to the PowerManagerService$BatteryReceiver.smali in the same directory (because it is the only smali I could find that mentioned "mUnplugTurnsOnScreen"). I first modded the services.jar, and I used $3100 for the access (I compared the access used for the CRT animation with the rest of the services.jar and I got found a common factor, so I searched for the factor in my services.jar and I found the access I was looking for). It booted fine, no problems at all. Then I modded the SecSettings.apk. I thought I did a pretty good job with it. Pushed it to my device. When I opened the Display Settings and clicked on the toggle, Settings FCed. Same happened with the CRT animation toggle that I had previously implemented. Logcats revealed this:
E/AndroidRuntime( 2805): FATAL EXCEPTION: main
E/AndroidRuntime( 2805): java.lang.NoSuchFieldError: com.android.settings.DisplaySettings.mUnplugScreenOn
E/AndroidRuntime( 2805): at com.android.settings.DisplaySettings.onPreferenceTreeClick(DisplaySettings.java:773)
E/AndroidRuntime( 2805): at android.preference.Preference.performClick(Preference.java:949)
E/AndroidRuntime( 2805): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
E/AndroidRuntime( 2805): at android.widget.AdapterView.performItemClick(AdapterView.java:292)
E/AndroidRuntime( 2805): at android.widget.AbsListView.performItemClick(AbsListView.java:1394)
E/AndroidRuntime( 2805): at android.widget.AbsListView$PerformClick.run(AbsListView.java:3024)
E/AndroidRuntime( 2805): at android.widget.AbsListView$1.run(AbsListView.java:3830)
E/AndroidRuntime( 2805): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime( 2805): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 2805): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2805): at android.app.ActivityThread.main(ActivityThread.java:4517)
E/AndroidRuntime( 2805): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2805): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2805): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
E/AndroidRuntime( 2805): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
E/AndroidRuntime( 2805): at dalvik.system.NativeStart.main(Native Method)
E/android.os.Debug( 1523): [email protected] > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error
Click to expand...
Click to collapse
I don't know what to do. I tried modifying all the code related to mUnplugScreenOn, but I'm dumbfounded. Somebody please help me out here. Or at least, lead me in the right direction. Though, I would prefer the first choice. Anyways, here are my SecSettings.apk and services.jar decompiled and zipped up. They might be a bit messy because I have numerous mods applied to them. This is my first real mod I've tried doing without any other guides or threads related to it. I would really appreciate the help. I think if I could knock down this mod, I discover a whole new realm of modding.
Q&A for [2014.11.10][ROOT] adbd Insecure v2.00
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [2014.11.10][ROOT] adbd Insecure v2.00. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
It's useful. Thanks for your sharing
Never mind got my own.
Sent from my i700 using Tapatalk
Autostart
Nice tool, but let off the autostart (-> BootCompleteService) if "Enable at boot" is disabled!
My RAM is already full enough!
ADB insecure app won’t let me set the adb insecure option
I have been using the ADB insecure App ver 2.0 particularly for devices that cause the ADB root command to stipulate “ADBd cannot run as root in production builds”. This lets the ADB daemon run in root mode so devices that have ALREADY been rooted can have their system information (files and folders) accessed by the ADB or ADB GUI programs that use the ADB.
I have been able to do this successfully with over fifteen different android devices by opening the ADB insecure app and enabling the insecure ADBd option.
My issue is that I have an android phone “ZTE N800” with version 4.1.2 (very generic phone that is rooted and basically every app that requires root access works well with this phone) in which at every attempt to open the abd insecure app causes it to momentarily open but then immediately closes (actually still open when recent open apps are viewed) and does not let me set the adbd insecure setting.
Has anybody run into this and can explain why this is happening? Thanks
Question (Riv Mobile XL)
I have a Riv Mobile XL phone and I did a factory reset on the phone. When it finished and turn back on it said the the setup wizard has stopped working. Then the screen was blank with no icons. I could however get into the settings. I tried to reset the phone, pull the battery, and even tried a hard reset. After, now I get the Riv Mobile XL screen when I turn it on and that is it. It will stay like that till the battery runs out. What are my options and can you help me. Any help is much appreciated. Thank you!
Hello there!
I have android 5.0.1 with "ro.secure=0" in boot.img
The apk does not work properly =(
does not work on Lillipop
LG Watch R crash - stack trace provided here
I have a rooted LG Watch R and I need to write files with adb shell to /sdcard, hence the need for this very promising apk
I installed, but crashed upon launch with this logcat :
Code:
I/ActivityManager( 628): START u0 {act=android.intent.action.MAIN flg=0x10200000 cmp=eu.chainfire.adbd/.MainActivity} from uid 10002 on display 0
V/WindowManager( 628): addAppToken: AppWindowToken{2b806b49 token=Token{2e5efd50 ActivityRecord{294a0713 u0 eu.chainfire.adbd/.MainActivity t167}}} to stack=1 task=167 at 0
W/IsClosedInputStream( 826): tried to close more than once
I/SystemUpdateService( 1000): receiver: Intent { act=android.os.UpdateLock.UPDATE_LOCK_CHANGED flg=0x4000010 cmp=com.google.android.gms/.update.SystemUpdateService$ActiveReceiver (has extras) }
I/AudioFlinger( 193): AudioFlinger's thread 0xb5677008 ready to run
D/SystemUpdateService( 1000): onCreate
I/ActivityManager( 628): Start proc 713:eu.chainfire.adbd/u0a40 for activity eu.chainfire.adbd/.MainActivity
V/DataItems( 911): updated local seqId: node=5bd7c559, seqId=6331
D/SystemUpdateService( 1000): onStartCommand: intent: Intent { cmp=com.google.android.gms/.update.SystemUpdateService }
I/SystemUpdateService( 1000): active receiver: enabled
D/SystemUpdateService( 1000): onDestroy
I/ActivityManager( 628): Process android.process.acore (pid 1246) has died
D/AndroidRuntime( 713): Shutting down VM
E/AndroidRuntime( 713): FATAL EXCEPTION: main
E/AndroidRuntime( 713): Process: eu.chainfire.adbd, PID: 713
E/AndroidRuntime( 713): java.lang.RuntimeException: Unable to start activity ComponentInfo{eu.chainfire.adbd/eu.chainfire.adbd.MainActivity}: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
E/AndroidRuntime( 713): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
E/AndroidRuntime( 713): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
E/AndroidRuntime( 713): at android.app.ActivityThread.access$800(ActivityThread.java:151)
E/AndroidRuntime( 713): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
E/AndroidRuntime( 713): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 713): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 713): at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 713): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 713): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 713): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 713): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime( 713): Caused by: android.util.AndroidRuntimeException: You cannot combine swipe dismissal and the action bar.
E/AndroidRuntime( 713): at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:324)
E/AndroidRuntime( 713): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3374)
E/AndroidRuntime( 713): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3675)
E/AndroidRuntime( 713): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:370)
E/AndroidRuntime( 713): at android.app.Activity.setContentView(Activity.java:2145)
E/AndroidRuntime( 713): at android.preference.PreferenceActivity.onCreate(PreferenceActivity.java:550)
E/AndroidRuntime( 713): at eu.chainfire.adbd.MainActivity.onCreate(Unknown Source)
E/AndroidRuntime( 713): at android.app.Activity.performCreate(Activity.java:5990)
E/AndroidRuntime( 713): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
E/AndroidRuntime( 713): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
E/AndroidRuntime( 713): ... 10 more
W/ActivityManager( 628): Force finishing activity 1 eu.chainfire.adbd/.MainActivity
Hi,
It appears I've gotten myself into a little predicament. As the title indicates, after restarting my Galaxy S4 last night, everything crashes, basically rendering the device useless. The launcher is stuck in a crash loop, as well as any app I open via adb. I am currently running a rooted android 4.2.2 on the stock TouchWiz ROM which I believe is the MI1 build for my GS4.
I do have access to adb as well as su, so hopefully someone can help me through this.
A little more info on the things I've tried:
My initial thought as to why this was happening was because I froze some bloatware via App Quarantine. During this process, I disabled a few keyboards since SwiftKey would never be the default when I restarted Android, hoping that it would just eventually just default to SwiftKey. However, I also recently put a magnet on the back of my phone for use with a magnetic car mount, but I don't believe this is causing the issue.
I first tried disabling Xposed, this had no effect.
Next, I tried to install another keyboard through adb.
I tried to install an alternative launcher, this crashed as well.
I booted into safe mode, still no luck.
I tried launching apps through the monkey command, they crashed after a few seconds as well.
I believe my logcat points to the following error whenever anything crashes, however I cannot be certain.
Code:
E/AndroidRuntime( 8123): FATAL EXCEPTION: main
E/AndroidRuntime( 8123): java.lang.NullPointerException
E/AndroidRuntime( 8123): at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:1203)
E/AndroidRuntime( 8123): at android.view.inputmethod.InputMethodManager.onWindowFocus(InputMethodManager.java:1411)
E/AndroidRuntime( 8123): at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3298)
E/AndroidRuntime( 8123): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8123): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 8123): at android.app.ActivityThread.main(ActivityThread.java:5329)
E/AndroidRuntime( 8123): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8123): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 8123): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
E/AndroidRuntime( 8123): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
E/AndroidRuntime( 8123): at dalvik.system.NativeStart.main(Native Method)
Based on the presumed error, I made one last attempt and tried to change the keyboard via adb but I got the following error:
Code:
>adb shell ime list
Error: Could not access the Input Method Manager. Is the system running?
I have attached my error logcat, as well as the verbose logcat.
I'm basically at a loss here. I do have most of the bare-minimum, important data backed up with Titanium Backup, but I really don't want it to come to the point where I have to wipe my phone. Any help is appreciated.
Thanks.
Have you tried the No-Wipe Stock Image for odin?
bamige1 said:
Have you tried the No-Wipe Stock Image for odin?
Click to expand...
Click to collapse
I have not tried this yet. I had completely forgotten about those. I'll give it a shot and report back.
bamige1 said:
Have you tried the No-Wipe Stock Image for odin?
Click to expand...
Click to collapse
I just went ahead with the no wipe image and the problem still persists. I'm at a complete loss as of what to do next.
EDIT:
The logcat is giving this error as well:
Code:
E/ViewRootImpl( 875): sendUserActionEvent() mView == null
E/AndroidRuntime( 9913): FATAL EXCEPTION: main
E/AndroidRuntime( 9913): java.lang.NullPointerException
E/AndroidRuntime( 9913): at android.view.inputmethod.InputMethodManager.s
tartInputInner(InputMethodManager.java:1203)
E/AndroidRuntime( 9913): at android.view.inputmethod.InputMethodManager.o
nWindowFocus(InputMethodManager.java:1411)
E/AndroidRuntime( 9913): at android.view.ViewRootImpl$ViewRootHandler.han
dleMessage(ViewRootImpl.java:3298)
E/AndroidRuntime( 9913): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 9913): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 9913): at android.app.ActivityThread.main(ActivityThrea
d.java:5329)
E/AndroidRuntime( 9913): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 9913): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 9913): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:1102)
E/AndroidRuntime( 9913): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:869)
E/AndroidRuntime( 9913): at dalvik.system.NativeStart.main(Native Method)