[Q] Set ART on default - Nexus 5 Q&A, Help & Troubleshooting

Is there a way to use ART instead of Dalvik on default after a factory reset? Something like edit a file...
Thanks!

MattiaRs said:
Is there a way to use ART instead of Dalvik on default after a factory reset? Something like edit a file...
Thanks!
Click to expand...
Click to collapse
no

I simply try to rename libart.so in libdvm.so and it seems to work. Now, after a factory reset, show "Use ART" for default in Select runtime inside the Developers Options.

Related

Stuck wallpaper?

I have a problem. Maybe someone can help me. So I did a wipe and flashed a new ROM. Then I used TitaniumBackup to restore my apps and data. Only now, I can't change my wallpaper. The only things that change it are Live Wallpapers. I'll change it and it says "setting wallpaper" and "wallpaper set" but nothing changes. Help?
Fix permissions, delete cache, dalvik cache, and reboot your phone.
Sent From My WeaponG2x
Nevermind, cleared the cache and it did the trick.

How to erase note

Hello everyone!
I was thinking to erase the note and go back to factory setting.
How can I do this?
I want to erase all the apps I installed and all the settings.
I want to make it the same way it was from factory.
Any help very appreciate.
Cheers!
Menu> Settings > Privacy > Factory Data Reset
csasek said:
Menu> Settings > Privacy > Factory Data Reset
Click to expand...
Click to collapse
many many thanks!!!
will do it tonight...
I want to install a battery saver from clean install.
cheers!
csasek said:
Menu> Settings > Privacy > Factory Data Reset
Click to expand...
Click to collapse
did it today...dont think its a real factory data reset...
Is there another way to do a REAL clean startup?
The following website shows how to do a hard reset. Dont know how accurate it is though. Look towards the bottom of the page, it gives u a star(*) and hash(#) code you can type in.
http://www.hard-reset.com/samsung-galaxy-note-hard-reset.html
*2767*3855#
everything will be revirth back to the original shipped configuration...
beware... everything you installed will be deleted

select runtime Android 5.0

Where do i find the "select runtime" option? i cant find it in the developer options
This does not warrant anyone replying to you......
Sent from my Android 5.0 Nexus 5
ART is now the default and only runtime on Android 5.0. You can no longer switch to Dalvik.
digitLIX said:
Where do i find the "select runtime" option? i cant find it in the developer options
Click to expand...
Click to collapse
No more dalvik. Art Is default in lollipop
Sent from my Nexus 5 using XDA Premium 4 mobile app
Einril said:
ART is now the default and only runtime on Android 5.0. You can no longer switch to Dalvik.
Click to expand...
Click to collapse
thanks
dalvik junk still available during clean up
if lollipop uses ART instead of Dalvik, why clean monitor application shows there is junk file on dalvik during cleaning up memory?
sorry for silly question
mamuiz said:
if lollipop uses ART instead of Dalvik, why clean monitor application shows there is junk file on dalvik during cleaning up memory?
sorry for silly question
Click to expand...
Click to collapse
Because ART's Ahead-Of-Time "cache" is stored in the same place as Dalvik cache once was, and many applications simply have not updated their strings or bothered to check the Android version.

Fix for EIS not working?

Has anyone been able to fix the EIS not working after the 5.1.6 update? I seen where someone said to clear system cache in recovery, does that work and will it wipe anything off the phone?
UPDATE: Clearing cache in recovery fixes the EIS not working on 30fps modes. Just don't wipe "SYSTEM" like I did... Thank goodness for Nandroid backups
deleted
dgunn said:
Has anyone been able to fix the EIS not working after the 5.1.6 update? I seen where someone said to clear system cache in recovery, does that work and will it wipe anything off the phone?
UPDATE: Clearing cache in recovery fixes the EIS not working on 30fps modes. Just don't wipe "SYSTEM" like I did... Thank goodness for Nandroid backups
Click to expand...
Click to collapse
I am sorry, what cache? I thought there was no cache in Android 7+.
There will always be cache and it's located in recovery
dgunn said:
There will always be cache and it's located in recovery
Click to expand...
Click to collapse
Excuse me? I thought the Cache partition was no longer available in Android, at least in a Pixel phone, which I happen to own.
Here's the explanation.
https://www.androidpolice.com/2016/...-partition-changes-and-new-fastboot-commands/
Do Oreo Oneplus devices still have cache?
nabbed said:
Excuse me? I thought the Cache partition was no longer available in Android, at least in a Pixel phone, which I happen to own.
Here's the explanation.
https://www.androidpolice.com/2016/...-partition-changes-and-new-fastboot-commands/
Do Oreo Oneplus devices still have cache?
Click to expand...
Click to collapse
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/wipe-cache-partition-on-android-oreo/useatownrisk
dgunn said:
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/link removed
Click to expand...
Click to collapse
That's not the system Cache partition, that sounds like a user app cache. However, Dalvik no longer exists, and ART doesn't have a cache folder, so what that option really does, I don't know. Perhaps it removes cache files for each individual app? When you select that, does it clear cache instantaneously, or does it take 5-10 seconds overall (to go through each app individually?)
Also, please remove that link. It's not only completely inaccurate and written in broken English, but also it's dangerously inaccurate - it gives instructions to "clear cache," but instead, it's for factory reset.
dgunn said:
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/wipe-cache-partition-on-android-oreo/
Click to expand...
Click to collapse
Lol that Photo is from TWRP , coz recovery has that option, and to be clear OP6 do not.
Hi Guys, EIS is not working on my op 6 running OxygenOS 5.1.6 with locked bootloader. is there anything i can do to get it back working
nabbed said:
That's not the system Cache partition, that sounds like a user app cache. However, Dalvik no longer exists, and ART doesn't have a cache folder, so what that option really does, I don't know. Perhaps it removes cache files for each individual app? When you select that, does it clear cache instantaneously, or does it take 5-10 seconds overall (to go through each app individually?)
Also, please remove that link. It's not only completely inaccurate and written in broken English, but also it's dangerously inaccurate - it gives instructions to "clear cache," but instead, it's for factory reset.
Click to expand...
Click to collapse
So what you're telling me is that when I wiped this Dalvik off of my phone and did a reboot that it cleared all of my app cache? Because once I rebooted my phone after clearing the cache my phone began optimizing my apps the same as it always does when I clear system cache from any phone.
I still have Dalvik cache folders on my OnePlus 6 filled with dex, vdex and art files. So unless TWRP deletes all of these files as if it were a cache partition then I have no idea what it does or how it was able to make the phone reconfigure the .dex files
I also did not remove the link I posted instead I appended use at your own risk at the end of the URL so if someone would like to open and read it they can remove the use at your own risk and still see what the link was pointing to for a reference.
Yes indeed it is TWRP so fixing EIS may not be available unless you have custom recovery. Don't be a derp, use TWRP

Google dialer phone number lookup

Good day,
I currently have the Google dialer app version 19 running on my OP6 Pie AOSP ROM. This built-in dialer does not have the phone number lookup option but I do have another Dialer.apk which does have the option. When I install the second APK, it installs fine but crashes when I open the phone number lookup.
Is there a way to fix the crash? Is another APK to install or some other mod?
Thanks for your time and help.
nickelnine said:
Good day,
I currently have the Google dialer app version 19 running on my OP6 Pie AOSP ROM. This built-in dialer does not have the phone number lookup option but I do have another Dialer.apk which does have the option. When I install the second APK, it installs fine but crashes when I open the phone number lookup.
Is there a way to fix the crash? Is another APK to install or some other mod?
Thanks for your time and help.
Click to expand...
Click to collapse
It requires root, but, you can replace the stock dialer in your system partition with the other dialer, then boot into recovery and wipe cache and wipe dalvik cache(DO NOT FACTORY RESET), then reboot the device and see if the dialer works.
Anytime(and I mean ANY time) you add, remove or modify system apps or system files, you have to boot into recovery then wipe cache and wipe dalvik cache then reboot. Failure to do so will cause issues because the device can't use cached data from before you made your changes with the new setup, that cached data from before must be removed so that the system can rebuild the cache the way the setup needs it.
If it doesn't work after doing this, then the new dialer probably won't work with your device.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
It requires root, but, you can replace the stock dialer in your system partition with the other dialer, then boot into recovery and wipe cache and wipe dalvik cache(DO NOT FACTORY RESET), then reboot the device and see if the dialer works.
Anytime(and I mean ANY time) you add, remove or modify system apps or system files, you have to boot into recovery then wipe cache and wipe dalvik cache then reboot. Failure to do so will cause issues because the device can't use cached data from before you made your changes with the new setup, that cached data from before must be removed so that the system can rebuild the cache the way the setup needs it.
If it doesn't work after doing this, then the new dialer probably won't work with your device.
Click to expand...
Click to collapse
Thanks for your answer but unfortunately it did not work. No new dialer for me.
nickelnine said:
Thanks for your answer but unfortunately it did not work. No new dialer for me.
Click to expand...
Click to collapse
Ok, you might have to port the new dialer to work on your device. I don't know what you would need to modify to make it work. You will have to research that for yourself. It would require copying the old dialer then using the APKtool or APKeditor on PC to decompile each apk and between the two of them, you would take the required files from one and put them in the other then recompile the apk then install the modified dialer apk that you created.
Sent from my SM-S767VL using Tapatalk

Categories

Resources