Use an Android phone as an ARM dev board?

Is it possible to have the same peripheral control with Android that we have when creating device drivers?

I am looking for a way to disconnect all peripheral devices on an Android phone (e.g. Display, Wi-Fi, GPS) in order to put the phone in power saving mode (1-5 mA).

Basically, I want to develop an application that wakes up from time to time, receives coordinates, exchanges information with the server (Wi-Fi or GSM), and then goes into sleep mode, there is no need to show it.

Is it possible to use a regular Android phone?

+4
source share
2 answers

You can program ARM only on Android in user mode. You do not have access to instructions such as MRC in the ARM assembly, which require privileged modes. You may have custom ROMs that you can install on your phone, but I doubt it.

This website has the closest description of what you are looking for.

+1
source

I would recommend asking the CyanogenMod dev forums or other similar Android hacking sites and see what they say. I would not be surprised if the bootloader or something else can be convinced to sleep for a long time, and then wake the device on a timer, like an alarm clock. (I remember how some phones used this feature to wake up on a timer.)

+2
source

Source: https://habr.com/ru/post/1383915/


All Articles