[Q] [DEV] - Android Resource Management - Android Q&A, Help & Troubleshooting

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

Related

[Q] How android manages SSD

Hello!
Recently I'm doing research about OS optimization when using SSD and I was wondering if Android implements some of them, but I didn't found anything about it. Do you know for example if it saves less timestamps (or other metadata) than normal to reduce writes, or how it handles the fragmentation of data?
Thanks in advance for any help!

[Q] Filtering in AndroidManifest by available internal storage

I'm developing for Android mainly with Qt/Necessitas.
It installs a runtime (similar to .net runtime, JRE runtime) to phone internal storage.
As the runtime is fairly large, few tens of Mb depending what is used, I'd like to filter out those devices with a small internal storage upfront.
I haven't been able to find a proper way to do it. Is it possible?
For now I'm trying to achieve it by insisting on armv7, large screen, thinking that more recent devices have bigger screens and a modern cpu, which usually correlates with more internal storage.
I would have posted directly to android developers, but I don't have the kudos to do it...

Secure '007-like' Android communications ( Wrist Watch )

Hi guys i'm trying to simplify a project i am about to embark to make a proof-of-concept "Android spy watch" lol.
I havent found anything like this anywhere on the net however i feel that i may have found all the pieces to the puzzle. I just need a little help putting them together.
The idea for my project is to start with a Android OS wrist watch and install OTR plugin & messenger. Lastly i will need the the OS to be somehow LIVE as to see it does not save any type of data (logs). I'm wondering how possible it would be to boot the OS from a SD-card ?.
So there it is i'll list all the hardware and see if anyone can come up with a simple fix. I appreciate greatly any time or opinions anyone has to offer.
Android Wrist Watch - Z1 Android Wrist Watch Mobile Phone
CPU / Memory / Operating System
MediaTek MT-6513 650MHz Dual Core Processor
DDR: 4GB ROM; 2GB RAM;
FREE 8GB MicroSD Card
Android 2.2 Froyo Operating System
SD CARD
I plan to use the WIFI function of the watch to connect when needed to chat with IM.
To my knowledge IM+ supports OTR plugin.

How To Speed Up Android Without Rooting

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​

Detailed Info or even Education about LMK and Virtual Memory

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

Categories

Resources