Android Enthusiasts
Q&A for enthusiasts and power users of the Android operating system
Latest Questions
0
votes
1
answers
137
views
Device stuck in a bootloop
My Samsung Galaxy J7 SM-J700F is stuck in a bootloop after flashing. Now I need to clear cache, but my volume buttons are broken, can someone please help me to resolve this? UPD: Somehow managed to enter download mode by a safety pin, any ideas what I should do next? I had a custom rom installed and...
My Samsung Galaxy J7 SM-J700F is stuck in a bootloop after flashing. Now I need to clear cache, but my volume buttons are broken, can someone please help me to resolve this?
UPD: Somehow managed to enter download mode by a safety pin, any ideas what I should do next? I had a custom rom installed and I flashed a stock rom after which the bootloop started.
shsh23
(103 rep)
Nov 25, 2023, 02:54 PM
• Last activity: Dec 27, 2023, 01:46 AM
1
votes
0
answers
285
views
Can I run .odex file on dalvikvm?
As I can run a Dex file on dalvikvm through a terminal emulator (I'm using termux or adb shell ```/system/bin/dalvikvm -cp /path/to/classes.dex classname``` Which runs successfully and I noticed it generated a directory `oat` which contains `oat/arm64/classes.odex and classes.vdex` file. odex is fas...
As I can run a Dex file on dalvikvm through a terminal emulator (I'm using termux or adb shell
/system/bin/dalvikvm -cp /path/to/classes.dex classname
Which runs successfully and I noticed it generated a directory oat
which contains oat/arm64/classes.odex and classes.vdex
file. odex is faster than Dex so can I run it directly every time without recompiling dex to odex?
Anonymous27
(21 rep)
May 1, 2022, 04:01 PM
0
votes
0
answers
38
views
In TWRP Wipe button, the description in the slider say "factory reset" but its other description doesn't seem so. Which one is correct?
When I access to the TWRP (version 3.2.1-0) and select the Wipe button, the screen says: > Wipes Data, Cache, and Dalvik (not including internal storage) > >Most of the time this is the only wipe that you need But the description of the slider says: >Swipe to Factory Reset Is Factory Reset the same...
When I access to the TWRP (version 3.2.1-0) and select the Wipe button, the screen says:
> Wipes Data, Cache, and Dalvik (not including internal storage)
>
>Most of the time this is the only wipe that you need
But the description of the slider says:
>Swipe to Factory Reset
Is Factory Reset the same with Data, Cache, and Dalvik wiping? What is the difference between the data it is about to wipe and internal storage?
Ooker
(526 rep)
Dec 26, 2020, 02:13 PM
1
votes
0
answers
210
views
Dalvik vm heap props resetting on reboot
I am running android 9 and I tried changing heapsize prop by the following command setprop dalvik.vm.heapsize 384m and then verifying by getprop | grep heapsize which returns 384m so it works. But after a reboot the value returns to its default 768m.I also tried to modify the build.prop file by addi...
I am running android 9 and I tried changing heapsize prop by the following command
setprop dalvik.vm.heapsize 384m
and then verifying by
getprop | grep heapsize
which returns 384m so it works.
But after a reboot the value returns to its default 768m.I also tried to modify the build.prop file by adding the lines but still the props revert on every boot (the file itself still shows the change).
Any help ?
brz_bro
(11 rep)
Nov 11, 2019, 06:24 AM
1
votes
1
answers
501
views
Should the Dalvik cache on Android phones be cleared periodically?
Recently, I rooted my phone (Samsung Galaxy On7, Android 6.0.1) using Magisk systemless root using TWRP. After the flashing was over, I also cleared the Dalvik cache, not knowing that this was not necessary. When I rebooted the phone, it took a long time to boot. It was showing, "Optimizing apps". I...
Recently, I rooted my phone (Samsung Galaxy On7, Android 6.0.1) using Magisk systemless root using TWRP. After the flashing was over, I also cleared the Dalvik cache, not knowing that this was not necessary. When I rebooted the phone, it took a long time to boot. It was showing, "Optimizing apps". I thought I had cracked the phone up and it was a boot loop. But later I found that everything was fine. In addition, clearing of the Dalvik cache actually freed up the internal memory by about 1GB.
I read on Stack Overflow that Dalvik cache is actually the optimized dex files that the dex compiler builds to ensure the smooth running of applications. Now, the last official update to this phone was back in April 2018. Is it possible that the phone retained the cache of all apps since then, including the ones I had uninstalled? It seems so, otherwise how could I recover about 1GB of memory simply by clearing the Dalvik cache?
If I am correct that clearing the Dalvik cache freed up space, does it make sense to clear the Dalvik cache periodically, say annually, so as to prevent misuse of the "precious" internal memory?
Wrichik Basu
(957 rep)
Aug 9, 2019, 04:24 PM
• Last activity: Aug 9, 2019, 04:51 PM
Showing page 1 of 5 total questions