Hi fellas.
Long story short: I seek detailed information about how LMK and especially Virtual Memory works so I can educate myself for teletubbic purposes.
Details:
I'm my old, 1gb Samsung Galaxy S3 device I suffer quite a lot because of poor ram management. Slow insufficient memory for even 1 app ooorr app transitions(multitasking), laggy apps, out of memory reboots drains my will to live.
So time to time I searched internet (especially most of the XDA forums) to find a solution for this, for months(again, time to time). In this process I learned a LOT but unfortunately its not enough since I still haven't found what some virtual memory values and related build prop entries does. Some people made guides but it's not specific and explanatory enough, unfortunately. Just some basic info from surface.
There are a lot of apps and roms that claims to provide better ram management through different ways but as you might guess, none of them completely solved my problems.
Don't get me wrong. I know that at the and, it all comes down to my 1gb device. But through my whole Android experience, I know what this device is capable of. So.. Yeah.
I want specific amounts of apps to stay in memory.
I want my system to kill apps without a second thought in out if memory situations. Fast as if I use "force stop" button in Apps/Settings. (this is important, huh)
I want to set priority to apps about using memory according to app's needs and my use frequency.
To do all of that, instead of crying in forums, I want to educate myself about ram management and do my thing by myself by optimizing system to the end.
Any help, guides, links, courses, piece of info appreciated.
Thanks in advance
Related
Hi all,
I am a newbie @ Android application development, and still trying to learn. I have one question. If we take for example, the Greenify app, if i look into its memory consumption, the value is quite low (3.4MB +-) whereas, with my app, it always hover around 20MB or so. I wonder, how can i achieve the same result? Anybody can help? My application is a simple monitoring app for my client company, contains 2 services, 3 Activities (1 service and Activity for saving the account into the device). And even in fresh state, the memory always takes around 20MB.
Thanks for any info
Hi there folks.
I'm new to Android system, but I'm a lone wolf of Linux and Unix system administration.
I have some question about it's resource management.
As I have searched, Android manages the device memory as a pool where it lays the apps pre-loaded in a priority-fashion, layered from 1 to 6, closing what is no longer necessary and keeping recently used/most used apps loaded for fast paced use.
Is that correct?
Also, I want to know more about memory and processor management.
Speciffically if I can use the same concept of memory management in Linux and Unix systems in Android. I'm thinking about developing scripts for memory and processor optimizing (to save memory use and processor time for the sake of battery duration).
I searched but couldn't find any reliable documentation on it.
Could you enlight those for me?
Thanks in advance,
Rafael Umbelino
Ok so this is a question for lets say hardcore developers, lately Ive taken an interest in android security after the Snowden revelations, (not that any of us have anything to hide), but mainly due to the simple principle of privacy in the digital age... anyhow in my research ive found various ways and sites that can help harden ones security on android , and there are also tools that have been developed to purposely get around these same security precautions on android. My question is to various developers that design security related apps, those who design custom recoveries (TWRP, CM, etc), and even those that work on fastboot (Google).
1) I know there are plenty of apps that are made for security, but are developers sure they are cleaning up (read "wiping ram, on say an app FC, a reboot, or upon receiving a fastboot request from a host")? In the age of NSA and everyone else wanting all in your business, are developers making sure that keys, and other secure info is destroyed, and not still in memory or God forbid in some file on the SD card?
2) Is there any way to make/modify the bootloader so that before you could even get to the bootloader menu (ie. fastboot/recovery/boot/etc..) the bootloader either nukes the entire RAM or fills it with random data? Granted there are always ways to get to ones data, but i was just wondering if there was consideration for the lifespan of said 'security' once one is done with some secure app are the keys tossed(?) ram cleared before deallocation, etc?
3) And... in the interim is there a way users can auto clear/wipe deallocated RAM and SD/internal storage space (as well as within the system area on rooted devices) every so often using something like the Tasker app, remote wipe or something similar?
@steve_77 RAM (at least the RAM we have in phones at the moment) is volatile, meaning it only retains data when powered, therefore there's no need to go to any lengths to wipe it. A reboot will do that. Besides, if any data is being loaded into memory at all in the first place, the NSA probably already have it . Just kidding of course, if you have measure in place already like encryption; I don't think it's possible to retrieve data from memory like that anyway, but I'm no expert.
I understand that the measures mentioned are extreme, but there is already a way to break encryption via reading the keys out of the RAM as outlined in the link provided in the previous post from a German university that was able to do it.
I'm sure this is also not the only type of tools designed to hack into peoples phones and bypass encryption, but if exiting an app does not erase/wipe the RAM allocated to that app, all that data is up for grabs. Sure in this particular case someone would have to physically have your phone, but what if there were some new way, say in the future that could use some sort of exploit to access your data, and what can be done now to mitigate this potential pitfall and make our phones more secure?
How To Speed Up Android Without Rooting
Today we are here with How To Speed Up Android Without Rooting – Today there are more than billions of people that are using android these days. And many people have a issue about slow down of their android device. As the android speed gets down with the time . So today i am here to resolve that issue. As there are many factors that can be responsible for the slow down of android speed like it can be due to low memory, RAM and any other problem like viruses and many much more other factors. Now with the methods that i have discussed in this post you can easily Speed Up Your Android Device.
How To Speed Up Android Without Rooting
How To Speed Up Android Without Rooting
There are many factors that can affect your Android speed. Your android can goes on slow down with certain factors and by target that factors you can easily make your android faster. Now lets have a look on all the method that will help your android to run faster.
Manage Your Internal Storage
The major thing in an android is its internal storage. It is the physical memory that an android use to store all the apps in it. As low as the internal memory is the android is slow too. So better is to firstly choose an android that is having perfect internal storage capacity and second thing is to manage your internal storage perfectly. Must remove some of the app that put loads on your memory and occupies your internal storage to high extent.
Remove unnecessary widgets
Many of you like to use widgets in your android device. But a very less of people know that even these widgets can be the reason of your slow speed of your android. As these widgets occupies the space of Random Access Memory that is responsible for the fast switching o your android and that is why your android devive might gets slow down with this widgets so better is to remove all the unused widgets in your android.
Window Animation & Transition Scales
Every android device have its own animation scales depending upon their qualaities. These animation have lots of affect on your android performance as they have load on both the battery and working. So these can make your android slow. So here better choice is to reduce them as much as possible. To do so just Go to Settings->Developer Option->Windows transition scale->0.0 . Do the same with animation scale.
Update Firmware Of Your Android
A new firmware upgrade always come with a better updates that can fix all the previous bugs and can helps your android to perform better. So it is good to upgrade your android to the latest version of your android respective firmware. Also you can upgrade it in about phone or you can flash the latest one in your android.
Remove The Background Running Apps
As i have already told that RAM is responsible for the android performance and all the background and current running process works on the Ram so it is better to complete;y remove the background running app that you are not using that time and you can also choose the Ram booster apps to do the respective work.
Related – How To Speed Up Android After Rooting
So this is all about How To Speed Up Android Without Rooting. By following all these you can easily boost up your android speed without rooting and there will be no need to void warranty no doubt android root apps works perfectly for their respective job in speed up the android. So just follow up all the guides above to speed up your android. Don’t forget to share this useful post with your friends.
WWW ThaHacker in
Recently I lost some (relatively) short amount of text in a UI glitch of some app. Do not know its exact name and where did this piece of crap come from, but it has android.permission.READ_NOTEBOOK and android.permission.WRITE_NOTEBOOK permissions, that suggests it stored my texts in Android’s internal storage. The glitchy app is still running, but the device currently isn’t rooted (yes, I’m miserable and clumsy, but that’s the fact).
Which are prospective directions searching for small amount of data in the system memory of an (unrooted) device? Switch the device off, dismantle it, and search in the flash memory? Or install the rootkit software, reboot, and also search in the flash memory? Or first try to break into memory space of the running process? Or some else action on it?
Any help and/or links to tutorials are appreciated. I’m utterly not an advanced Android user, but have sufficient skills locating and extracting various data from memory dumps, so this part would not pose a great obstacle for me.
If one is interested in helping me with specific problem, then
the device is Explay sQuad 7.82 3G
the OS is Android 4.2.2 kernel 3.4.5 (the one supplied by manufacturer)
In the specific situation files were found in the internal filesystem. See android.stackexchange.com/questions/119256/extracting-data-from-running-app-s-memory-address-space for details.