[Q] Function Interception @ Android OS - Android Software/Hacking General [Developers Only]

Hi,
I am trying to hook OS APIs, with windows, this could B achived using assembler and detours/trampoline method.
On windows OS each process has it's own address space and hooking a method affect a specific process.
I am trying to achive the same using Android OS, few basic questions:
- Does the Android OS has a specialized address space for each process? I assume not, can this be verified?
- Is the default calling convention of the OS API is __stdcall ( I assume yes ), can this be verified ?
Any1 done such a thing before? any pointers will B appreciated.
~Nadav

Related

Can one access or use the underyling linux O/S in an Android device?

Maybe I'm misinterpreting what I've read, but my understanding is that Android "O/S's" are a VM (via Dalvik?) that runs within a pared down linux O/S. Assuming that's not too far off, is it possible to add packages or programs to that Linux O/S? Could I, for example, add regular old Wireshark to it? Obviously the programs would have to be compiled for the correct cpu platform.
Thanks.
The kernel is Linux one... As for your question, provided you have rooted your phone, you can create a chroot there and run Linux apps on your phone.
A howto for Debian here: http://forum.xda-developers.com/showthread.php?t=996746

[Q] Installing any linux distribution on htc desire s

Hello,
I have bought the htc desire s in december'11 and I assess that I hate android and all the available custom roms so I try to get some other distribution to work on my desire s.
IMPORTANT: Please don't tell me something about the sense or how nice a chroot works, I am asking for a native installation guide.
All I want is a clean base-system (ubuntu/debian/gentoo/angstrom/...) that will boot.
Does someone know a way (howto/wiki/manpage ) to get a proper distribution to work on this device?
My Workflow:
-> install distribution
-> get wlan access to work
-> boot device with autoconnect (wlan) and sshd (openssh or dropbear)
-> connect via ssh and get an graphical frontend like X-server to work.
best regards
invalid id
Why did you buy an Android phone when you hate Android?
Anyway, are you planning to use the phone to make calls?
If so, you can't use any standard Linux distributions.
If you do some googling you should be able to find a guide to install Ubuntu and run X on it.
I think there's an official version for dual core phones, but unfortunately that does not affect this phone.
Ubuntu doesn't run native, but through chroot.
There are no native installation guides.
If you can remake any distribution to have 4MB kernel and load everything from another partition - you can try to make a native installation yourself. Look at the mounts in loaded system, look at the kernel code and see how you need to compile one, and make it.
Otherwise - sell the phone and buy something else.

Add an Specific Driver to Android 2.3

Hi, I have an Android TV device that has Android 2.3 (it's a Chinese device) and I'd like to know if someone can help me adding a driver to it. Let me explain...
I've done some research and found that there is a driver for the DVB-T that I want to add. It's here (cateee.net - linux database):
DVB_MB86A20S
So, my question is basically, it's doable without having to compile Android ? I do have root access to the device, but I don't know how to include the Linux driver to an Android device and ensure it's working....
Thanks.

[Q] How Android kernel and Virtual Machine work

Dear all,
I'm trying to reconstruct the Andriod on my phone. So far i managed to download source code for Linux core including files like "mount, cp, modprobe,...", however I notices thete are other files in /system/bin like "am, pm, ..." which control the other layer of Android OS. How can I download the source code for these kind of files. Also in framework we have "am.jar" which seems to have direct relation to Java VM. Maybe it is better to also ask how Java VM works on Android. I do not ask about general knowledge because more or less I know how it works. Basicly I need to know which files are related to the process of running Apps on Android and what they do.
Best wishes.

modification pf stock/vanila android os

Dear all,
i am no developer. My knowledge of how android os even works is zero. I am but a simple android phone user. While using an android phone, I find myself wondering as to whether the stock/vanila android operating system can be modified such that it
1) has a termux-like terminal but with the capability of giving the user temporary root access something like in ubuntu
2) is possible to install it using a bootable flash disk instead of flashing only.
I hope that android developers can kindly let me know as to whether the above is possible or not.
With regards

Categories

Resources