Debugging System Processes - Android Q&A, Help & Troubleshooting

Hello,
Recently I've become more interested in security research. After reading about the Stagefright vulnerability, I thought it would be fun to learn how to debug processes running on the phone itself.
I've tried attaching debuggers to an emulated phone using different API levels and versions of android (Mostly KitKat). Even when I fire up GDB I cannot view the processes memory space. Does anyone here have experience with this?

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!

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​

Directions for recovering (small amount of) data from internal memory

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.

Unidentified Services / Processes.

I've been working on cleaning up my OS, stripping it down, tweaking, re-arranging, and a lot of work on the backend. backend being that which resembles more linux, and less android.
i've come a cross a few services and processes that have no documentation online that i can find. no source code that i can find, or anything to give me any clue as to what these processes are for or what they do. some of them respond to standard terminal commands like "start" "stop". some respond to the android "service" command, and some respawn no matter how they are terminated. which leads me to believe some might driver related. anyways i'd like to know what these are, and any information would be really helpful.
i'm also running mtk hardware if that helps. everywhere i find mention of a lot of these usually has something to do with mt65xx's, and mtk based tablets.
Running Android 4.0.3
Build: a2107-F_s486_130221
Processes:
ccci_fsd
ccci_mdinit
afm_server
em_svr
dm_agent_binder
these are all owned by root, so i can't really tell by looking at the group. and they all run from /system/bin/.

Very lightweight Android emulator

Sorry if this isn't the best section to be asking in, it's a big forum out there with so many boards.
I'm trying to run many instances of a certain Android app concurrently. I need either Google Play services to be available for a one-time sign in on each instance, or preferably a way to import app data to remove the need for Google Play or any other components of the Android environment besides the basic runtime needed to run the app.
I'm currently using an Android emulator (Nox) running on 640x360 at 20 fps, which is able to get me about 14 instances running on my local Windows. machine before things start crashing. The limiting factors seem to be the frequency of snapshots taken by the VMs and running low on RAM, which in turn increases CPU usage for defragmentation and page file management.
Is there any more efficient way to accomplish this task? Perhaps an x86 Android runtime with settings to reduce graphics quality? I've also looked at the Genymotion AMI on AWS but all of Amazon's VM options seem too powerful (and costly) to run my app on so many machines.
Thanks!

Categories

Resources