ART Explained - Nexus 5 General

ART Explained http://source.android.com/devices/tech/dalvik/art.html
ART Features
Ahead-of-time (AOT) compilation
Improved garbage collection
Development and debugging improvements
Known Issues
Fixed issues
Enabling ART in Android Build
Reporting Problems
See also
Verifying App Behavior on the Android Runtime (ART)
ART is a new Android runtime being introduced experimentally in the 4.4 release. This is a preview of work in progress in KitKat that can be turned on in Settings > developer options. This is available for the purpose of obtaining early developer and partner feedback.
Important: Dalvik must remain the default runtime or you risk breaking your Android implementations and third-party applications.
Most existing apps should just work when running with ART. However, some techniques that work on Dalvik do not work on ART. For information about the most important issues, see Verifying App Behavior on the Android Runtime (ART).
ART Features
Here are some of the major new features implemented by ART.
Ahead-of-time (AOT) compilation
ART introduces ahead-of-time (AOT) compilation, which can improve app performance. ART also has tighter install-time verification than Dalvik.
At install time, ART compiles apps using the on-device dex2oat tool. This utility accepts DEX files as input and generates a compiled app executable for the target device. The utility should be able to compile all valid DEX files without difficulty. However, some post-processing tools produce invalid files that may be tolerated by Dalvik but cannot be compiled by ART. For more information, see Addressing Garbage Collection Issues.
Improved garbage collection
Garbage collection (GC) can impair an app's performance, resulting in choppy display, poor UI responsiveness, and other problems. ART improves garbage collection in several ways:
One GC pause instead of two
Parallelized processing during the remaining GC pause
Collector with lower pause time for the special case of cleaning up recently-allocated, short-lived objects
Improved garbage collection ergonomics, making concurrent garbage collections more timely, which makes GC_FOR_ALLOC events extremely rare in typical use cases
ART currently does not use compacting GC, but this feature is under development in the Android Open Source Project (AOSP). In the meantime, don't perform operations that are incompatible with compacting GC, such as storing pointers to object fields. For more information, see Addressing Garbage Collection Issues.
Development and debugging improvements
ART offers a number of features to improve app development and debugging.
Support for sampling profiler
Historically, developers have used the Traceview tool (designed for tracing application execution) as a profiler. While Traceview gives useful information, its results on Dalvik have been skewed by the per-method-call overhead, and use of the tool noticeably affects run time performance.
ART adds support for a dedicated sampling profiler that does not have these limitations. This gives a more accurate view of app execution without significant slowdown. Sampling support has also been added to Traceview for Dalvik.
Support for more debugging features
ART supports a number of new debugging options, particularly in monitor- and garbage collection-related functionality. For example, you can:
See what locks are held in stack traces, then jump to the thread that holds a lock.
Ask how many live instances there are of a given class, ask to see the instances, and see what references are keeping an object live.
Filter events (like breakpoint) for a specific instance.
See the value returned by a method when it exits (using “method-exit” events).
Set field watchpoint to suspend the execution of a program when a specific field is accessed and/or modified.
Improved diagnostic detail in exceptions and crash reports
ART gives you as much context and detail as possible when runtime exceptions occur. ART provides expanded exception detail for java.lang.ClassCastException, java.lang.ClassNotFoundException, and java.lang.NullPointerException. (Later versions of Dalvik provided expanded exception detail for java.lang.ArrayIndexOutOfBoundsException and java.lang.ArrayStoreException, which now include the size of the array and the out-of-bounds offset, and ART does this as well.)
For example, java.lang.NullPointerException now shows information about what the app was trying to do with the null pointer, such as the field the app was trying to write to, or the method it was trying to call. Here are some typical examples:
java.lang.NullPointerException: Attempt to write to field 'int
android.accessibilityservice.AccessibilityServiceInfo.flags' on a null object
reference
java.lang.NullPointerException: Attempt to invoke virtual method
'java.lang.String java.lang.Object.toString()' on a null object reference
ART also provides improved context information in app native crash reports, by including both Java and native stack information.
Known Issues
The following known issues are present in the 4.4.1 implementation of ART.
Compile-time issue: As noted above, ART flags unbalanced monitorenter/moniterexit instructions. We relaxed this check in 4.4.1 but intend to restore this verification in the future once tools are fixed, as this check is necessary for certain compiler optimizations. https://code.google.com/p/android/issues/detail?id=61916
Run-time issue: There was an issue where JNI GetFieldID and GetStaticFieldID were using the wrong class loader on unattached threads, often leading to later CheckJNI errors or NoSuchFieldError exceptions. http://code.google.com/p/android/issues/detail?id=63970
Run-time issue: Calling JNI NewDirectByteBuffer() with byte size of 0 led to the following CheckJNI error:
JNI DETECTED ERROR IN APPLICATION: capacity must be
greater than 0: 0
http://code.google.com/p/android/issues/detail?id=63055
Fixed issues
Compile-time issue: Overly aggressive verification and compilation of unused portions of dex files lead to corrupt package messages. This was addressed in AOSP with: https://android-review.googlesource.com/#/c/72374/
Debug-time issue: Interactive debugging performance was slow, even in code without breakpoints. This has been addressed in the latest AOSP code.
Enabling ART in Android Build
Two runtimes are now available, the existing Dalvik runtime (libdvm.so) and the ART runtime (libart.so). A device can be built using either or both runtimes. (You can dual boot from Developer options if both runtimes are installed.) See runtime_common.mk. That is included from build/target/product/runtime_libdvm.mk or build/target/product/runtime_libdvm.mk or both.
The dalvikvm command line tool can run with either runtime now. It will default to using the runtime specified in developer options. The default can be overridden by specifying the desired runtime library, for example with -XXlib:libart.so
A new PRODUCT_RUNTIMES variable controls which runtimes are included in a build. Include it within either build/target/product/core_minimal.mk or build/target/product/core_base.mk.
Add this to the device makefile to have both runtimes built and installed, with Dalvik as the default:
PRODUCT_RUNTIMES := runtime_libdvm_default
PRODUCT_RUNTIMES += runtime_libart
Reporting Problems
If you run into any issues that aren’t due to app JNI issues, please report them via the Android Open Source Project Issue Tracker at https://code.google.com/p/android/issues/list. Please include an "adb bugreport" and link to the app in Google Play store if available. Otherwise, if possible, attach an APK that reproduces the issue. Please note that issues (including attachments) are publicly visible.
Except as noted, this content is licensed under Creative Commons Attribution 2.5. For details and restrictions, see the Content License.
About Android | Community | Legal |
Click to expand...
Click to collapse

Another great post from simms no surprises there lol great detailed explanation thanks.
Sent from my Nexus 5 using XDA Premium 4 mobile app

sharingan92 said:
Another great post from simms no surprises there lol great detailed explanation thanks.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Dude he is just quoting the developer page for art written by someone at Google, he even used quotation and everything.
It's a good page nevertheless and its nice to have it posted here.

mortenmhp said:
Dude he is just quoting the developer page for art written by someone at Google, he even used quotation and everything.
It's a good page nevertheless and its nice to have it posted here.
Click to expand...
Click to collapse
I never stated it was his own words i was merely stating the fact that once again simms has posted something people would like to read to understand android a little more just like all the information he gives users over on the trinity thread
Sent from my Nexus 5 using XDA Premium 4 mobile app

sharingan92 said:
I never stated it was his own words i was merely stating the fact that once again simms has posted something people would like to read to understand android a little more just like all the information he gives users over on the trinity thread
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I've been using this runtime for several months and I'm very happy! Thanks a lot

So, what's art again? Hahahahaha. Jk. Cool, well done simms. [emoji12]
Sent from my Nexus 5 using Tapatalk

Before I go through the pain of enabling ART, only to have to disable it again, are there any common apps that are known to be incompatible at this point?
Last time when I tried ART, Whatsapp wouldn't run.

Ender666666 said:
Before I go through the pain of enabling ART, only to have to disable it again, are there any common apps that are known to be incompatible at this point?
Last time when I tried ART, Whatsapp wouldn't run.
Click to expand...
Click to collapse
That was 7 months ago!
Sent from my Nexus 5

Good to know how long it's been, but it doesn't fly answer the question... I am wondering if everything is hunky dorry, or if there are any common apps that remain broken. WhatsApp was just a single example.
Sent from my Nexus 5 using Tapatalk

I don't use whatsapp, but I have used ART since a week after the Nexus 5 came out.
I have experienced absolutely zero downsides. Everyone's usage is different, but even 6 months ago many people were saying that ART worked great for them. I would say most even.
Whatsapp is a common app, don't get me wrong...but since literally every other app I have ever loaded on my phone works perfectly...I'm of the opinion that some people "blame" ART.
If even freeware apps that have been written and not touched by the developer for 2 years can run just fine in ART, than whatsapp has no excuse for it not having gotten its ducks in a row. (Maybe it has now, I don't know...like I said, I don't use whatsapp)
Granted, if I picked up your phone and switched it to ART, and lets assume you didn't have any of those apps that for whatever reason didn't work well with ART....
I seriously doubt you would even realize I had switched it.

Cirkustanz said:
I don't use whatsapp, but I have used ART since a week after the Nexus 5 came out.
I have experienced absolutely zero downsides. Everyone's usage is different, but even 6 months ago many people were saying that ART worked great for them. I would say most even.
Whatsapp is a common app, don't get me wrong...but since literally every other app I have ever loaded on my phone works perfectly...I'm of the opinion that some people "blame" ART.
If even freeware apps that have been written and not touched by the developer for 2 years can run just fine in ART, than whatsapp has no excuse for it not having gotten its ducks in a row. (Maybe it has now, I don't know...like I said, I don't use whatsapp)
Granted, if I picked up your phone and switched it to ART, and lets assume you didn't have any of those apps that for whatever reason didn't work well with ART....
I seriously doubt you would even realize I had switched it.
Click to expand...
Click to collapse
i use whatsapp, and it works perfectly fine when i use art. the only app that doesnt work for me on art is pandora.

simms22 said:
i use whatsapp, and it works perfectly fine when i use art. the only app that doesnt work for me on art is pandora.
Click to expand...
Click to collapse
Pandora 5.0+ works on art
sent from my Paranoid Rasta HAMMERHEAD

CRIME INC. said:
Pandora 5.0+ works on art
sent from my Paranoid Rasta HAMMERHEAD
Click to expand...
Click to collapse
yup, so ive heard. not here. i boot up, it force closes on boot, and thats all she wrote.

simms22 said:
yup, so ive heard. not here. i boot up, it force closes on boot, and thats all she wrote.
Click to expand...
Click to collapse
Are you running a modified Pandora apk by chance simms? I've seen that ART does not play well with modified apks.
Sent from my Nexus 5 using Tapatalk

Cirkustanz said:
I don't use whatsapp, but I have used ART since a week after the Nexus 5 came out.
I have experienced absolutely zero downsides. Everyone's usage is different, but even 6 months ago many people were saying that ART worked great for them. I would say most even.
Whatsapp is a common app, don't get me wrong...but since literally every other app I have ever loaded on my phone works perfectly...I'm of the opinion that some people "blame" ART.
If even freeware apps that have been written and not touched by the developer for 2 years can run just fine in ART, than whatsapp has no excuse for it not having gotten its ducks in a row. (Maybe it has now, I don't know...like I said, I don't use whatsapp)
Granted, if I picked up your phone and switched it to ART, and lets assume you didn't have any of those apps that for whatever reason didn't work well with ART....
I seriously doubt you would even realize I had switched it.
Click to expand...
Click to collapse
not really. I guess I feel a difference between Dalvik and ART and it was quite obvious, I must say. I felt like there's something missing when I'm on Dalvik. Especially when I'm using the recent app button. Dalvik is just slower than ART on that.

akash3656 said:
Are you running a modified Pandora apk by chance simms? I've seen that ART does not play well with modified apks.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
yup :angel:

Not sure if anyone watches baseball at all, but the MLB app will not stream video on ART. Crashes every time. I've had to revert to Dalvik for it to work properly.

The only apps I've had problems with are QuizUp (when it first came out, since fixed), and Google Sound Search (had to disable it...Google Now has the functionality built in now..). Amazingly better battery life.

simms22 said:
yup :angel:
Click to expand...
Click to collapse
Then that's probably why it doesn't work haha. If you bother you could try out the official apk and it might work.
Note: I don't use Pandora myself. Don't think it's available at my region.
Sent from my Nexus 5 using Tapatalk
---------- Post added at 03:41 PM ---------- Previous post was at 03:39 PM ----------
zander21510 said:
The only apps I've had problems with are QuizUp (when it first came out, since fixed), and Google Sound Search (had to disable it...Google Now has the functionality built in now..). Amazingly better battery life.
Click to expand...
Click to collapse
Hmmm. Not saying you're wrong. In my experience, using ART seems to have about the same battery life as dalvik. Or a little worse.
It might be just my setup and personally I don't worry too much about the little extra drain.
Sent from my Nexus 5 using Tapatalk

Well it's official! Just read an article on XDA portal. Google is replacing dalvik with art finally. I guess the changes were added to AOSP for the next OS.
check it out, top story on xda portal right now!

Related

[APP] 6/12 NFC Task Launcher - 3.6.1 Released

After more than a year I am consolidating threads. Maintaining several threads was getting to be too much. Please move to the new thread here with any new questions or comments: http://forum.xda-developers.com/showthread.php?p=34417369
Market Link: https://market.android.com/details?id=com.jwsoft.nfcactionlauncher
Application Site: http://www.jwksoftware.com/
Screenshots: http://www.jwksoftware.com/screenshots
Known Issues: http://www.jwksoftware.com/issues
Features:
NFC Task Launcher uses the NFC Hardware and RFID/NFC Tags to allow you to create tags several types of tags, including a custom "Task" tag that will automatically execute tasks when read. See Site for full feature list.
If you do use and enjoy the app it is up in the Market as a paid app. Any purchases / ratings are appreciated as I have put quite a few hours into this expanding it to fill requests for functionality.
Change log:
6/12 Version 3.6
- GPS (Root needed)
- Mobile Data (Root needed)
- Display Timeout
- Fixed Airplane mode bugs
- Precision timer
- New languages
- Cloud backup and restore
5/9 Version 3.4
- UI updates
- Added German, Spanish and Korean
- Removed Italian as it is out of date
- All tags now save to "Your Tags". Recent shows the 5 most recently used
- Changed Tag limiting to uniquely track switch tags
4/19 Version 3.3
- Added Google Places support in Latitude
- Added Navigate to address support
- Added Auto-rotation
- Added write lock option when writing
- Added size to vCards
- Added setting to pause after launching an app (for launching multiple apps or launching and then interacting)
- Added notification when tags save when hitting finish
- Updated Tasker integration (should fix issues with HTC One X)
- Enhanced debugging to make bug reports easier
- Fixed condition where tasks would stop executing when wifi changed
- Fixed reported crashes and typo
Full: http://www.jwksoftware.com/change-log
Where to get Tags?
http://www.jwksoftware.com/nfc-tags
If you'd like to see some functionality added feel free to make a request.
The APK linked below is free of the license check of the Market version and is fully functional for 7 days.
http://goo.gl/xBBOU
For anyone who decides to purchase the app after using the APK attached to the thread - un-install the free version first otherwise the market installation fails.
Here's a few videos I made for a current demo:
Tag Demos
Car Dock Demo
Hmm that would be really cool. Embed a tag in my doorframe and set it to enable/disable wifi so I never have to do it by hand lol. Put one it my car steering wheel to turn on BT...you're a genius sir!
What I would be really interested in is an app which allowed users to easily assign a list of actions to certain tags, directly from the application.
I'd certainly help out in the development of the application if anybody else is interested
gabrialxue said:
What I would be really interested in is an app which allowed users to easily assign a list of actions to certain tags, directly from the application.
I'd certainly help out in the development of the application if anybody else is interested
Click to expand...
Click to collapse
If this was something people were interested in it would be fairly trivial to write an app with a defined set of options and write the text tags instead of having to compose them by hand.
Sent from my Nexus S using XDA Premium App
this is a great idea! about how much do blank nfc tags cost though?
Sent from my Nexus S using XDA Premium App
jaker.the.skater said:
this is a great idea! about how much do blank nfc tags cost though?
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
This would be my question as well. I think this is a cool idea. Definitely need to have an easy to set up user interface to enable tags.
I picked them up for $2-3 each.
I ordered a few from Finland for €1.30 a piece shipped. I also ordered a few from a US company for 2.95 each + shipping. All are 1k tags. Once I get them I'll let you know how they flush out.
Touchtag sells them reasonably cheap but it's a lot of 25 for #15 or $20, I think, but they are out of stock .
Sent from my Nexus S using XDA Premium App
joshthewaster said:
This would be my question as well. I think this is a cool idea. Definitely need to have an easy to set up user interface to enable tags.
Click to expand...
Click to collapse
Once I get the tags I'll add a main UI for building/writing the text tags. I had assumed constructing them manually and then writing with one of the existing products would be easy enough, but it's pretty trivial to implement a simple text tag writer and accompanying UI.
Sent from my Nexus S using XDA Premium App
kenvan19 said:
Hmm that would be really cool. Embed a tag in my doorframe and set it to enable/disable wifi so I never have to do it by hand lol. Put one it my car steering wheel to turn on BT...you're a genius sir!
Click to expand...
Click to collapse
I overlooked that entirely. I'll add toggle support as well.
I don't have tags to test writes tonight, but if my kids cooperate I'll try to get a UI and the associated logic set up over the next few days. Then when the tags arrive I'll get some video/screenshots up for people to are how it all works.
Sent from my Nexus S using XDA Premium App
Ok, toggle support is in. I created a UI to start with tonight for tag building. The known SSIDs and app list aren't populated yet - I'll get to that some time this week. It needs cleaned up a bit as well, but it's a start for now.
It does looks like auto BT pairing isn't part of the API, so that my be out of the feature list. But enabling Wifi Tethering and associating with a known SSID should be no problem.
is it worth using something like the locale or tasker app? and working with them? They already have a good task maker GUI..?
pratishk said:
is it worth using something like the locale or tasker app? and working with them? They already have a good task maker GUI..?
Click to expand...
Click to collapse
I don't use either and wouldn't want to rip off a UI from them. We really need a very small subset of what those apps appear to offer for building tags and our use case doesn't seem to fit into what those apps do very well.
Moving forward I'll likely pull the "add" into a separate view to make it cleaner, as well as the write dialog. This is just a starting point currently to write the tags when I receive them.
Sent from my Nexus S using XDA Premium App
sounds good anyhow, look forward to hearing more about the app...
New SS up with a cleaner UI using multiple views.
Think your giving the million doller idea away buddy. This could change everything essentially if you think about it? I won't have to touch anything on my phone for cretin things like turning on and off wifi or turning in Bluetooth when I get in car. Going to desktop mode when I get to work. Think u should make a good Buck off of this. Good luck.
Sent from my Nexus S using XDA App
this would be an awesome app. i'd buy it.
mattyg151 said:
this would be an awesome app. i'd buy it.
Click to expand...
Click to collapse
Sounds good
I plan on putting a free version up here and a version on the market you can buy as a donate version.
I completed all of the wifi tethering stuff, as well as configuration options. I've got the write code in place (in theory - no tags to test on yet). Updated UI screenshots in the OP.
I've got a few more small additions to make and then it's just waiting for tags to arrive in the mail for testing.
Do RFID tags work with this technology? Lots on ebay but no NFC specific.
Here's another retailer. $1 a piece NFC labels:
http://www.tagage.net/tagage-shop/
instigator008 said:
Here's another retailer. $1 a piece NFC labels:
http://www.tagage.net/tagage-shop/
Click to expand...
Click to collapse
I have an order with them - they are in Finland. I placed the order last week and have no response from them yet (not even a confirmation email) my card however was charged.
I also ordered a few tags from here: http://www.sparkfun.com/products/10128
These have shipped it seems and should be here in the next few days.
I am eagerly waiting as I'd like to finish this up

[APP] SwitchMe Root Profile Manager needs INCS testers please!

Hi everyone. Im one of the developers of SwitchMe, and app that allows multiple secure logins into separate installations of android on a single device. The pr is after the break.
I really need a few people to check into some issues people on some roms have been experiencing. There are some warnings involved:
- testers must perform a full nandroid backup before using the app, it is not our responsibility if you start getting boot loops
- if you report results or bugs, please use the "Write to us" function in the app whenever possible, and always describe the issue in the header of the logs you send
- if you post here, be sure to include your device type and rom
- if you have apps installed on sd, be sure to mention that as well
--------------------------------------------------------------------
SwitchMe is a unique application for root users that allows you to log in and out of multiple installations of Android just as you would on a desktop computer.
The technology behind SwitchMe saves all of your applications and data, protects it and stores it as a file in memory. You can then log out of an
account and log into a fresh installation of Android or another account with its own unique content.
You may create as many profiles as the memory is capable of holding. Some of these may require very little free memory because they contain few apps,
others will be larger as they contain many applications and lots of cache and data.
Why is this functionality useful?
Privacy - the most obvious benefit is that you can securely share one device among multiple users, which gives you privacy and peace of mind.
Testing - if you are a developer, you can use profiles as clean sandboxes to test your applications and their interaction with the system.
Gaming – with multiple installations of Android on a single device, you can now play online MMOs as different characters.
Speed - the games your kids play slow down your tablet, but with SwitchMe you can easily create profiles without games or instant messengers.
Battery life - when the battery is low but there are important emails or documents to edit later, switch to a profile which only contains these essentials.
These of course are only suggestions - there are plenty of other uses for the functionality SwitchMe offers.
Market link:
https://market.android.com/details?id=fahrbot.apps.switchme
The Lite version allows the creation of two profiles, enough to test on.
Screens:
Just started to test it, created 2 profiles : one main, one for testing the switching. After first switch, loading circle started, remained stuck for 10secs (same happens when switching back), then restarted. New loading screen showed up, first load took about 5-7mins. After all loaded, switchme requested SU perms and new google account interface started.
One possible bug i noticed, usually when new google account interface starts, the mobile data service is started so you would have connectivity. This time it didn't start (i had it turned off in profile 1, then switched to profile 2). Although it works properly, it just didn't start at first startup.
All my installed/downloaded applications are not included in the app drawer, so that works nice.
But a drawback i noticed. If the app is focused on the privacy part of sharing one device, gallery pics&videos are accessible from both profiles, so you might want to think of a way of restricting pics&vids accessibility only to the profile that created them (big challenge from my point of view).
All default installed application seem to work without a problem.
One strange thing i noticed, our custom ROM has Beats audio included - in profile 1 (my default one) switching Beats audio on/off works, but on profile 2 (newly created profile) switching it off makes it stuck on off (switching it back on has no effect on audio).
As i don't have a necessity for this app to run it as a daily profile switcher, can't test more in-depth scenarios, but if you want something tested/have a scenario, write it up here or send a PM. Good luck with the development.
Using Nik IncredibleS Trinity SensationXL4.0 ROM (2.3.5 android with 3.5 sense) with included 2.6.35.14 RCMIX VIVO kernel (with my HTC Incredible S S710e).
SwitchMe 1.2 has been rolled out and now includes a lockscreen replacement:
1.2
Added lock screen for logging in and out
More stable Fast switch implementation
Reworked UI colors
Now, its very important that we get some feedback on how this big new feature works, so please read up on it in the help and post your thoughts!
1.2.2 - HOTFIX 2
Reworked widget on qHD+ displays
Fixed widget text on HC and ICS
Fast switch improved on older devices
So guys, anything to report?
1.4.3.7
Fixed device specific switch screen crashes and issues
Fixed UI bug in switch screen preferences
If anyohe had problems with superuser before, this should fix them. Please let me know if that is the case, its important we get some feedback here!
Anything to report regarding yesterday's release?
By the way we released a new app today some of you might also find useful, you can find it here:
http://forum.xda-developers.com/showthread.php?t=1538222
PLEASE CHECK IT OUT AND BE KIND
Touch Blocker Beta - a simple but useful app that makes holding and using your device easier
There are two basic functions:
- create dead zones where touches do not register
- filter the screen when reading in low light
We are already in a relatively stable Beta release - whats left now is adding new features and making it all look pretty. You can follow this process at the thread here.
Please be sure to write suggestions - we are looking forward to engaging the community and building a useful and nifty application that many will enjoy!
Market link
https://play.google.com/store/apps/details?id=fahrbot.apps.touchblocker
Screens
Debugging
If you experience issues, the best way to help is by reproducing them and then clicking "write to us" - be sure to include a description of your error or we may not read the logs.
1.5.3.1
Fixed issue with lock on boot
Fixed some rare crashes on lock screen
Fixed MIPS and X86 Key compatibility
Is the latest version working well?
I take it everything is fine?
1.5.3.8
Fixed issue switching profiles (One X and others)
Fixed rare crash on adding/ removing profiles
Fixed many device specific issues from user logs
- Only bug/or maybe a feature I noticed is The app itself have different settings between logons. I mean If I optimize in one logon, I must made the same changes in other account too. Its sometimes frustating.
- And the setting "logout automatically" not worked correctly. When I speak to someone on phone and proximty turn of the screen, and I remove phone from my ear, It shows the logon screen, everytime.
Seems like everything worked flawlesly. But I have a question. What happens if I uninstall the program?
Özgürce said:
- Only bug/or maybe a feature I noticed is The app itself have different settings between logons. I mean If I optimize in one logon, I must made the same changes in other account too. Its sometimes frustating.
- And the setting "logout automatically" not worked correctly. When I speak to someone on phone and proximty turn of the screen, and I remove phone from my ear, It shows the logon screen, everytime.
Seems like everything worked flawlesly. But I have a question. What happens if I uninstall the program?
Click to expand...
Click to collapse
Lets use our brains to think logically. If it was possible to disable any security by calling the phone, what would be the point of any security at all?
ftgg99 said:
Lets use our brains to think logically. If it was possible to disable any security by calling the phone, what would be the point of any security at all?
Click to expand...
Click to collapse
You didnt get my point. This is happen when im on the phone with someone. I need to logon an account to hangup and this take time. If you think logically; I must be already logoned to a profile before starting to speak someone.
Sorry for my bad English.
Sent from my HTC Incredible S using XDA
Özgürce said:
You didnt get my point. This is happen when im on the phone with someone. I need to logon an account to hangup and this take time. If you think logically; I must be already logoned to a profile before starting to speak someone.
Sorry for my bad English.
Sent from my HTC Incredible S using XDA
Click to expand...
Click to collapse
Ah now i see what you mean. However, my logic is still right. You are using it on a phone, and phones are not well suited to automatic log off. I mean just how often do you need to switch profiles? Surely you should be doing it manually...
thank you for sharing
Sent from my HTC Incredible S using xda premium
How can I join switchme developers?
huazvi said:
thank you for sharing
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
OK enjoy!
kabukinimo said:
How can I join switchme developers?
Click to expand...
Click to collapse
Are you saying you want to work for us?

Multiple user accounts code found in JB

SOURCE
If Android ever hopes to be make the move towards becoming a real desktop OS (this has to be in the back of Google’s mind), it’s going to need one thing first: multiple user accounts. This has long been one of the items at the top of my “Things That Grind My Android Gears” list. Towards the wee hours of last night, we received a tip from our developer friends after a discovery they made, revealed some pretty interesting code hidden deep inside Android 4.1 Jelly Bean AOSP.
What they found were clues that Google has been doing more than just toying around with the idea multiple user accounts on Android, and they’ve actually been busy incorporating code all over the OS that makes its future all but certain. Our developer Steven put together a nice little walk through and if you’re handy with ADB, you can see it for yourself.
Exploring Jelly Bean’s Unfinished Multiple Profile Switching Discovery and Testing Performed by Kevin Barry of TeslaCoil Software.
Commands (using ADB Shell)
pm = PackageManager
am = ActivityManager
*
pm create-user test (creates a user, ‘test’ in this example)
am switch-user 1 (switches to user ‘1’, which is ‘test’)
am switch-user 0 (switches to user ‘0’, which is your original configuration)
pm list-users (lists all users on current device)
pm remove-user 1 (removes the user ‘1’,which is ‘test’ in this example. *Note that create-user takes a string name while remove-user takes an integer)
Things To Note:
App settings are in /data/user/0/ with /data/data symlinked to it for backwards compatibility
Some system settings are in /data/system/users/0/ rather than just /data/system/
You can view 2011 commit messages in AOSP for all of these commands
Visually you can not determine what user is currently active.
Notifications and recent apps do not clear (remember… unfinished) and causes confusion to what user you’re on and will switch to whatever user that is running that particular app you click on.
Static wallpapers do not switch per user (seems to be shared) but live wallpapers do switch with each user.
Encrypted apps, which is all paid apps from the Play Store in Jellybean, will FC between users. *For example: if you run a paid app from one user on a different user that did not originally install the app, you will get the following error: "E/AndroidRuntime( 8707): Caused by: java.lang.ClassNotFoundException: com.levelup.beautifulwidgets.BeautifulWidgets"
Apps all have different settings which allows you to login or have different settings per user. *(even gmail)
Example Shell (ADB):
[email protected]:/ # pm list-users
Users:
UserInfo{0rimary:3}
UserInfo{1:test:0}
Click to expand...
Click to collapse
Pretty amazing find, right? The boys at Android Police made a similar discovery, giving a timeline of commits pushed to AOSP dating as far back as April 14th, 2011, all the way to March 28th, 2012. This shows Google has been working on UA’s for awhile now. All the pieces are in place. Multiple user accounts are coming to Android. The question is no longer*if — but when. Excited?
Click to expand...
Click to collapse
It makes sense with tablets and smart TVs, where you get multiple people using them.
Someone on here has already made a profile switching app. Not sure if it's as effective as profile switching on Windows, but anyone that's interested should give it a look.
http://forum.xda-developers.com/showthread.php?t=1465661
Archer said:
It makes sense with tablets and smart TVs, where you get multiple people using them.
Someone on here has already made a profile switching app. Not sure if it's as effective as profile switching on Windows, but anyone that's interested should give it a look.
http://forum.xda-developers.com/showthread.php?t=1465661
Click to expand...
Click to collapse
I have SwitchMe and I definitely would recommend using it for a battery saving profile, I use it in situations when I know I'm not going to be using my phone much but need the battery to last. I get really good battery life setting up a bare bones profile. It always worked well for me on ICS but I haven't tried it yet on JB. It took 3-10 minutes to boot back and forth in my experience with it, and it takes some battery to do that so I wouldn't use it for constantly switching. It works for what I use it for but a baked in option that didn't take as long to switch would be awesome.
Yeah. But this would be useful for devices with limited memory and or no root
Sent from my LG-P500 using xda premium
I'm running a job ROM at the moment and I can say with complete confidence there will be multiple accounts in jellybean
Sent from my SGH-T959 using xda app-developers app
Would be nice though. You could hand your phone to a friend to do something and have them on your profile that only has making calls and certain apps available.
Looks like we can now access the multi-account feature.
http://www.xda-developers.com/android/switch-user-profiles-on-jelly-bean/

[App] SwitchMe - Share Your Device - MULTIPLE USER SPACES

Hi guys Im one of the developers of SwitchMe - an app that creates multiple user spaces. We have just released a new build which should fully support the T2s. Please have a look and let me know if everything is working as it should!
Thanks in advance, PR after the break:
.................................................................................................
SwitchMe - share your device!
SwitchMe is a unique application for root users that allows you to log in and out of multiple installations of Android just as you would on a desktop computer.
SwitchMe is a unique application for root users that allows you to log in and out of multiple user spaces just as you would on a desktop computer, with each profile having its own separate system settings, apps and data.
Some of the benefits of this technology:
Privacy
Securely share one device among many users, protect your accounts with passwords and log out automatically.
Kids
Create a profile for the kids, with only the apps and access you feel comfortable with.
Gaming
Overclock your profile for maximum performance in intensive games
Speed
Imagine a buttery smooth profile, with no kids games, messengers or bloatware to slow things down.
Testing
Create a sandbox profile to easily test applications and themes - no more nandroid nightmares!
Battery
Switch to a profile which only contains the essentials to save power through brute force.
Critical usage warning:
Incorrect use of this application can potentially harm your device. Before proceeding with use we strongly recommend that you perform a full nandroid backup through the device recovery.
READ THE HELP FILE CAREFULLY TO AVOID ISSUES
Without the Key, this application allows a maximum of 2 profiles and no security features.
Only the standard Android implementation of Apps2SD is currently supported. Use all others at your own risk.
Most devices should be compatible as long as they have enough free internal memory to create secondary profiles. The application will warn users if available memory is low.
These of course are only suggestions - there are plenty of other uses for the functionality SwitchMe offers.
Market link:
https://market.android.com/details?id=fahrbot.apps.switchme
The free version allows the creation of two profiles and has no security features.
Screens:
Looks cool. I'd try it out but I hate crippled apps that need a key to work properly.
Good luck.
scottx . said:
Looks cool. I'd try it out but I hate crippled apps that need a key to work properly.
Good luck.
Click to expand...
Click to collapse
And yet there you are, trying it out.
Also, the free app already gives you everything. You just have to use you brain to make it work.
Attitude... it affects the best of us.
Anything to report?
oh, this is great, now you can share the tablet with family members
R1kARD0 said:
oh, this is great, now you can share the tablet with family members
Click to expand...
Click to collapse
Yep, it does that.
Hi
very helpful app for a family with only one tablet, works almost 100% OK for us.
everytime i switch profile a android OS update is done, and after a few seconds im loged out again, after second logon it's OK
Galaxy Tab 2 10.1 GT-P5110 4.0.4 XXBLH4
Installed it on my GT2 3113 this morning and have been playing around with it. I do get the same android OS update thing as listed above when switching users. Also sometimes when the app opens it is a blank screen with no profiles or details listed. Running RomsWell V1.1 stock rooted/deodexed 4.0.4 rom
gooffeyguy said:
Installed it on my GT2 3113 this morning and have been playing around with it. I do get the same android OS update thing as listed above when switching users. Also sometimes when the app opens it is a blank screen with no profiles or details listed. Running RomsWell V1.1 stock rooted/deodexed 4.0.4 rom
Click to expand...
Click to collapse
Write through the app please.
ftgg99 said:
Write through the app please.
Click to expand...
Click to collapse
Will do
Thnks....
I love this app
I've noticed that if I don't use the switch screen options then the app works fine and doesn't give me the blank main page that I was experiencing previously.
---------- Post added at 01:14 AM ---------- Previous post was at 01:02 AM ----------
Also, what folder are the additional users profile/apps installed to?
Sent from my GT-P3113 using xda app-developers app
Im looking into it.
/DATA/.PROFILES is where everything is kept.
Guys there have been reports of the app being blank sometimes. Im trying to work out if this is something to do with superuser vs supersu. If youve experienced this, please let me know and be sure to tell me which of the two youre using...
I haven't been having that problem since I disabled the "switch screen functionality" in the settings. I do use the "fast switch" option and just open the app when I want to switch profiles. I am using SuperSU v0.96
gooffeyguy said:
I haven't been having that problem since I disabled the "switch screen functionality" in the settings. I do use the "fast switch" option and just open the app when I want to switch profiles. I am using SuperSU v0.96
Click to expand...
Click to collapse
You disabled the two main functions just because you sometimes couldn't see the statistics page? That seems a little extreme...
ftgg99 said:
You disabled the two main functions just because you sometimes couldn't see the statistics page? That seems a little extreme...
Click to expand...
Click to collapse
No, not just because it didn't show statistics, but I wouldn't be able to switch users unless I rebooted the device. When the problem would occur it also wouldn't bring up the switch user screen on the lock screen after waking up. If the icon notification was enabled it just opened up the statistic screen, not the user switch screen. I would get stuck in the current users profile until I rebooted and hoped the switch user screen would show after start up.
I like the functionality of the switch user screen but with it glitching like that on my device the only sure way to be able to switch profiles is to disable all that and just go into the app/statistic screen and click switch at the bottom.
I just noticed that there is a widget for this app that allows switching profiles without opening the app.
gooffeyguy said:
I just noticed that there is a widget for this app that allows switching profiles without opening the app.
Click to expand...
Click to collapse
I think your problem is with supersu (if thats what youre using). If possible, change it to superuser or at least make sure that youve set supersu up to always grant and whatever.
Supersu is very green and i wouldnt recommend it to anyone.
I have used this app for awhile now and really love it as it allows both my girlfriend and I to separately use my nexus 7 without interfering with each others settings. However, I recently flashed a CM 10 nightly (which i really like) and the switcher no longer works, freezing during each switch attempt.
I know it says CM 10 is not supported at the current time on the app page, but are there an plans to include this support in the future? Any info is appreciated and thanks for your work.

[ROM] [Project ] Pure AOSP 5.0.2_plus Google Updates (2/1/2015) Mako Beta

The idea behind this project is to compile a Pure AOSP ROM. The difference is I have been little by little including and testing new commits added to the for the most part unstable staging master branch code from Google AOSP that has not yet been tagged for a future Lollipop update., hence the reason for 5.0.2_Plus name. The only change added to the code that was not committed first by Google is that the ZIP can be flashed in TWRP without replacing TWRP with the Stock Recovery and that is it. At the moment because of limited testing as I do not own a Nexus 4 and all changes have been tested on the Nexus 5 felt untill a few return performance reports best to call this a beta version. With that said the same changes have made some improvments and fixed a few issues experienced by Nexus 5 users using the oficial 5.0.1 update or compiled from the AOSP android-5.0.2_r1 branch. So if start receiving comments that all has been well on the Mako build or see say 100 download without a complaint reported will remove the beta tag. I suspect this will be the case as the commits are not device related.
I honestly started the project for the Nexus 5 with the idea that maybe as a community a few developers could help work on the project so everyone had an updated version of the latest release version that included the latest fixes and had not intended on compiling for the Nexus 4. After my second release another XDA member had asked if it would be possible to make a Nexus 4 port for a friend. At that point as there had been little interest in the project by other Nexus 5 Developers I would post the Mako ota package I compiled for the user who had asked for one. I also have my own Starship Rom and am part of a new developer team so again was meant as a community project and not intended to be released as my Rom or really even released at all with the intention of being a resource for other developers to either use as the base of whatever new AOSP Rom they may intend on developing or selectively picking pieces or fixes. So going with the same idea after compiling the asked for Mako version thought why just limit the idea to just the Nexus 5 as all Nexus devices share the same code from AOSP with exception of needing to add a different set of propriety vendor blobs and choosing a different lunch command for building. So the same goes as intended for the Nexus 5. If any Nexus 4 developers would be interested in joining in on the project Just let me know and I will grant full access to the Github account and create a new branch so we can test and insure the master branch is always %100 stable if it is going to be used by other Nexus developers..
A few examples of the commits that have been added.
https://github.com/Android-AOSP/And...mmit/20063610490eabc91db5ef13a550ecbdcdc6dc1a
https://github.com/Android-AOSP/And...mmit/16c0cfd5920c6d09824d13b7ee94436de87b37e3
https://github.com/Android-AOSP/And...mmit/b9e7a844fc751b9fdda7d452dee361f15815199b
https://github.com/Android-AOSP/And...mmit/18cca2773e4f3890e2ff9ca416400d48f62b98f5
https://github.com/Android-AOSP/And...mmit/a05556633ae5a6d1db164597b93f8b6cbbdf2608
https://github.com/Android-AOSP/And...mmit/e6beb1369165f97a4df24a1d1966c41e392c44e7
https://github.com/Android-AOSP/And...mmit/be42994b5a42914071adddfd5d989950e8e47bd9
https://github.com/Android-AOSP/And...mmit/0c89e1b9395093f71cf73508553d5e4058093ec0
https://github.com/Android-AOSP/And...mmit/4c53a7872b1f37ec184801f16d39584ca3b9bcce
https://github.com/Android-AOSP/And...mmit/9d2f14442f2e1d1507dbdc6cc7b9348513a907f9
https://github.com/Android-AOSP/And...mmit/905c6e72ecdc6e170744649b78e8fbb919f71efd
https://github.com/Android-AOSP/And...mmit/1a96e2b079e8007fe965bd30cd02cb191a613510
https://github.com/Android-AOSP/And...mmit/4fcbf285db7f9e20795783b676963d42499dbd64
https://github.com/Android-AOSP/Android-AOSP_bionic/commit/eaf5aa7d22bd2f6b2eae4c81a60950f89e2d7df4
https://github.com/Android-AOSP/And...mmit/74574e8aa5a2de32e10364fd2f495023fff2a267
https://github.com/Android-AOSP/Android-AOSP_build/commit/49657b7a459ee90b3635bef989f8f9728d564068
https://github.com/Android-AOSP/Android-AOSP_build/commit/1df3707a04651966ca17796f321d23ab3ed6ed2e
https://github.com/Android-AOSP/And...mmit/6fe9c73738e9da0192971576d120802d4c094556
https://github.com/Android-AOSP/And...mmit/44c1c3235d29095c4d987d19155c7260d1a33e0f
https://github.com/Android-AOSP/And...mmit/33baf53861712c3f84606a017943e36bdc680b50
https://github.com/Android-AOSP/And...mmit/a975a08cfb30ad6b2994647c0c6f09e2abd20e28
https://github.com/Android-AOSP/external_protobuf/commit/1a96e2b079e8007fe965bd30cd02cb191a613510
https://github.com/Android-AOSP/external_protobuf/commit/4fcbf285db7f9e20795783b676963d42499dbd64
https://github.com/Android-AOSP/frameworks_base/commit/cc50afe3bdcc3adfa0f4121bf461996996e69a3e
https://github.com/Android-AOSP/frameworks_base/commit/1be740dd60f4d95e1f9ac4aac7e4d6148e3b2dd1
https://github.com/Android-AOSP/frameworks_base/commit/1cca2282dc9a3b7ecc08729af201923842ddfc86
https://github.com/Android-AOSP/frameworks_base/commit/7db1192e72b45111556631dba125a635edff3235
https://github.com/Android-AOSP/frameworks_base/commit/b29136581cc3181e59193e0b6448f0c3f5990081
https://github.com/Android-AOSP/build/commit/de655233a4308340fc71490e86fd0f218cc7fec4
https://github.com/Android-AOSP/build/commit/ab6f841841a0930c7e178a949ada39152e24540f
https://github.com/Android-AOSP/hardware_libhardware/commit/9ede7f730bca338cd3ccad8962e253f28ae17976
https://github.com/Android-AOSP/hardware_libhardware/commit/d4f431fec4136f6eeee919ac3190762fba832942
https://github.com/Android-AOSP/hardware_libhardware/commit/898bcd96e3d80e99d9200cceb4af754bae6d5f4a
https://github.com/Android-AOSP/bionic/commit/d90f39af35c1f2a9972198f92e803e3ca73ac910
Downloads
Download Rom
aosp_mako-ota-ota-5.0.2_plus_r2.0_test.zip.zip - 184.51 MB
aosp_mako-ota-ota-5.0.2_plus_r1.0_test.zip - 184.52 MB
PA-Gapps
http://forum.xda-developers.com/par...apps-official-to-date-pa-google-apps-t2943900
So far I have been using the "Mini Modular package" for testing without any issues.
Root
Root is optional but recommend SuperSU
http://forum.xda-developers.com/showthread.php?t=1538053
Have had version 2.37 in storage and had been using without issue but updated to 2,40 with last test without any issues. What can I say Im lazy that way so unless having an issue just used what works but figured most would grab the latest so thought it best to give it a test before posting.
Kernel is %100 Stock but going with past experience if mrg666 has a Kernel availible for your device it should be the Kernel you are using.
Mirage Kernel for Stock Nexus 4
http://forum.xda-developers.com/nex...el-mirage-nexus-4-stock-rom-06-04-14-t2485368
Change Log 5.0.2_plus_r2
Removed the below commit "Add ip6-localhost to /system/etc/hosts."
https://github.com/android/platform_system_core/commit/25147416bb105914c3cdf8fd65ca7cc20dae0f3e
Looks like a few apps are not fans of having an ip6 entry for localhost. Transparent Weather Widget for example can not find the device location with the enty included.
In looking for the cause of the above issue also reverted.
https://github.com/android/platform_frameworks_base/commit/e4ec09da0b4a31e23f1a19bdd1ea99e0f87cadac
Honestly reverted looking for the cause and did not remember to restore once identifying the cause. Overall is an old commit and dont think will make any difference whatsoever or would have been tagged for use in a past release so not going to bother.
As usual I am not responsible for your device and you are using anything posted in this thread at your own Risk.
This is %100 AOSP with no extra theming at all including bootanimation so no screen shots, as a Nexus User are probably aware what AOSP looks like at this point.
Don't mean to be rude, but you're still living in 2014, apparently. LOL . Classic mistake, I guess. Check the title dude.
Its cool, such a classic XDA first comment though. Could discover the holy grail and receive 15 comments about a spelling error. Adding I guess makes it that much better. Going to leave it in and see how many times your comment is over looked by someone so proud to have noticed it first, lol.
This is exactly what i have been looking for, we need more Roms like this. Thanks OP downloading now:good:
chairshot215 said:
Its cool, such a classic XDA first comment though. Could discover the holy grail and receive 15 comments about a spelling error. Adding I guess makes it that much better. Going to leave it in and see how many times your comment is over looked by someone so proud to have noticed it first, lol.
Click to expand...
Click to collapse
I hope you don't think it was something personal, man. Your title made my day. With all these exams, I've been all stressed out, and your title made reminded me of the time when I was sitting in bed with the laptop in front of me, thinking it's a long time till the exam session. LOL
Good rom so far, only thing was that data roaming was enabled by default.
dragos281993 said:
I hope you don't think it was something personal, man. Your title made my day. With all these exams, I've been all stressed out, and your title made reminded me of the time when I was sitting in bed with the laptop in front of me, thinking it's a long time till the exam session. LOL
Click to expand...
Click to collapse
I was just joking but still think it will be amusing to see how many skip past your post to point out the same. I actually test software for a living after it has been installed on an energy management diagnostic system both for new version testing and quality control before shipping and need to sign off that each system was checked out including the date. Had just recently worked on my birthday and was a highly unusually busy day but ended up signing off the date as 1976 (my birth year) on about forty systems. What is even more humorous is the amount of complaints from technicians who thought they received a system using a Nexus 7, now 9 for use as a portable User interface believed they had received software that had not been checked out since 1976. With that said most installers come from an HVAC technical school background and still use AOL as their contact email address. Lol!
nibla101 said:
Good rom so far, only thing was that data roaming was enabled by default.
Click to expand...
Click to collapse
Will look into that I'm happy to know it is working out. I basically just took my N5 source added the Mako vendor blobs and compiled using a different lunch command. Will go back and see if data roaming being enabled by default is a result of my updates or is set in general aosp 5.0.2 after work. Even though intention is keeping as pure as can be should still be looked at.
Think it would be nice if we could get a few devs together from across the current Nexus devices lineup and do our best to keep an aosp Rom available adding in the latest updates and bug fixes into the most current release for all Nexus devices. Not just for users but for other devs to use in their own aosp based work. Beleive if we could get something like that going would be pretty sweet and not all that time consuming. Still lots of updates added by Google devs every day. Some a bit more complicated then what I have done that a small group could easily bang out and test. Everything comes from the Master aosp branch that can get messy with constant new commits around the clock but think if selective in adding into latest release could be a beneficial project. So using my phrase of the week with that said I am going to build and post a version for all the Nexus devices in an attempt at gaining interest in the project. Again with that said I am torn for tonight as can try producing thr first N5 version that is sprint compatible or build for my Nexus 9. I am very much looking forwored to trying it out with jusst Simple ol aosp but at the same time feal bad for the Nexus 5 Sprint users who are all stuck on stock because other Roms are missing the aditional files added in for the radio to work. Decitions, decitions, decitions.
chairshot215 said:
I was just joking but still think it will be amusing to see how many skip past your post to point out the same. I actually test software for a living after it has been installed on an energy management diagnostic system both for new version testing and quality control before shipping and need to sign off that each system was checked out including the date. Had just recently worked on my birthday and was a highly unusually busy day but ended up signing off the date as 1976 (my birth year) on about forty systems. What is even more humorous is the amount of complaints from technicians who thought they received a system using a Nexus 7, now 9 for use as a portable User interface believed they had received software that had not been checked out since 1976. With that said most installers come from an HVAC technical school background and still use AOL as their contact email address. Lol!
Click to expand...
Click to collapse
LMAO. That was funny
flashed yesterday with nothing to complain until now
thanks for this build
edit: found first bug (maybe)
whle setting Chronus Weather and also Transparent Clock Widget
the phone couldn't find it's location.
Pop up on the screen stated....
"Cannot retrieve location!"
Network geolocation is disabled
Set a custom location or enable location
already try High Accuracy, Battery saving and Device only but it never show my location
the widget always appear with "Loading weather data"
If i choose Battery saving then Google Location Reporting will turn grey and not clickable, other two option made it clickable again but still my location show "Loading weather data"
maybe someone are having this too?
how to fix it please?
thank you very much
groovepeppy said:
flashed yesterday with nothing to complain until now
thanks for this build
edit: found first bug (maybe)
whle setting Chronus Weather and also Transparent Clock Widget
the phone couldn't find it's location.
Pop up on the screen stated....
"Cannot retrieve location!"
Network geolocation is disabled
Set a custom location or enable location
already try High Accuracy, Battery saving and Device only but it never show my location
the widget always appear with "Loading weather data"
If i choose Battery saving then Google Location Reporting will turn grey and not clickable, other two option made it clickable again but still my location show "Loading weather data"
maybe someone are having this too?
how to fix it please?
thank you very much
Click to expand...
Click to collapse
Think I got the fix and am compiling now. Hopfully have up by tonight if not morning. I am on the N5 though and have no issue with beatifull widgets finding my location or maps with navigation working which is my goto test apps along with GPS test. After reading your post tried Transparent Clock Widget and the app was not able to find my location. I did manage to fix this on my N5 so am rebuilding for Mako using the same source. Now have all the Mako Vendor proprietary blobs set up in vendor so can build either Hammerhead or Mako depending on lunch command. Still though will need testing on N4 as I am on the N5.
chairshot215 said:
Think I got the fix and am compiling now. Hopfully have up by tonight if not morning. I am on the N5 though and have no issue with beatifull widgets finding my location or maps with navigation working which is my goto test apps along with GPS test. After reading your post tried Transparent Clock Widget and the app was not able to find my location. I did manage to fix this on my N5 so am rebuilding for Mako using the same source. Now have all the Mako Vendor proprietary blobs set up in vendor so can build either Hammerhead or Mako depending on lunch command. Still though will need testing on N4 as I am on the N5.
Click to expand...
Click to collapse
will test it later
thank you for responding
groovepeppy said:
will test it later
thank you for responding
Click to expand...
Click to collapse
Know prob but had been unsuspectingly busy but compiling the what believe will fix the issue for the N4 and it comes down to the smallest commit.
Know prob but had been unsuspectingly busy but compiling the what believe will fix the issue for the N4 and it comes down to the smallest commit.
https://github.com/android/platform_system_core/commit/25147416bb105914c3cdf8fd65ca7cc20dae0f3e

Categories

Resources