Topics related to Android custom ROM development. For topics related to Android app development, use the Android tag
Questions tagged [android-rom]
46 questions
78
votes
1 answer
Modifying in-call voice playback in Android custom ROM
I would like to modify Android OS (official image from AOSP) to add preprocessing to a normal phone call playback sound.
I've already achieved this filtering for app audio playback (by modifying HAL and audioflinger).
I'm OK with targeting only a…
![](../../users/profiles/646002.webp)
SirKnigget
- 3,158
- 2
- 25
- 49
34
votes
1 answer
Call recording - make it work on Nexus 5X (rooting or custom ROM possible)
I'm attempting to use AudioRecord with AudioSource.VOICE_DOWNLINK on Nexus 5X, Android 7.1 (my own build from AOSP).
I'm already past the permissions stage - moved my APK to privileged apps, made an adjustment to AudioRecord in Android source to…
![](../../users/profiles/646002.webp)
SirKnigget
- 3,158
- 2
- 25
- 49
17
votes
1 answer
Samsung system image for Android emulator?
Is there any way to get the Android emulator to run a system image other than vanilla Android? I'm developing an app that works fine on the emulator, a physical Huawei device and a physical Motorola device, but experiences some weird issues on a…
![](../../users/profiles/930640.webp)
Magnus W
- 11,902
- 10
- 61
- 135
4
votes
0 answers
How to deploy Trusty TEE?
Recently, I'm studying Trust Execution Environment. And finding that Android has implemented a TEE os called Trusty. I followed the instruction on https://source.android.com/security/trusty/ and built the Trusty system. But how can I deploy it? Or…
![](../../users/profiles/8470038.webp)
logan_white
- 61
- 4
3
votes
0 answers
FAILED: TARGET_KERNEL_BINARIES
I'm building an AEX Oreo ROM. Here are the repositories I cloned https://github.com/kegang0619?tab=repositories
Device tree =…
![](../../users/profiles/4787092.webp)
Kasa Lazzang
- 33
- 3
2
votes
0 answers
Permission handling for privileged system apps
I'm writing an Android app, that will run on custom hardware with a ROM that I have control of.
The device will run a single application (as a launcher) and once the device is deployed I (generally) do not have access to it anymore. The app also has…
![](../../users/profiles/633940.webp)
Squeazer
- 1,215
- 1
- 11
- 31
2
votes
0 answers
Segmentation fault on rails
Is anybody can tell me what's going on? All rails command return segmentation fault, I tried to find solution on google but I didn't find any. I can'nt root my smartphone. What should I do?
![](../../users/profiles/10962697.webp)
Princy Tsimanarson
- 21
- 1
- 2
2
votes
0 answers
How to test functionality of operating system while developing it?
I'm developing my own Android ROM. I find it is too inefficient to test my newly added functionality(made some change at boot up stage). I have to modify the code -> compile the Android system (at least 15min) -> flash to phone and see the…
![](../../users/profiles/8470038.webp)
logan_white
- 61
- 4
1
vote
1 answer
nexus 5x stuck on Google screen after replacing one of the system shared libraries
My nexus 5x works fine until I changed some share library in system partition:
adb push out/target/product/bullhead/system/lib/somename.so /system/lib/somename.so
adb reboot
then my nexus 5x is stuck on Google screen on boot. But when I cleared…
![](../../users/profiles/2659573.webp)
cong
- 803
- 8
- 23
1
vote
1 answer
Permission Denied while sending from an app in /System/app
I am getting:
java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.TIME_SET from pid=xxxxx, uid=xxxxx
for:
Intent timeChanged = new Intent(Intent.ACTION_TIME_CHANGED);
sendBroadcast(timeChanged);
even…
![](../../users/profiles/5254732.webp)
Rohit
- 395
- 3
- 14
1
vote
2 answers
How to clone entire AOSP codebase locally
I have AOSP code base in my system and i want take the backup of entire codebase to my external drive and I dont want to do repo sync or anything. I tried copying the folders manually but when I tried to do git log in my destination folder it shows…
![](../../users/profiles/10289770.webp)
Abhishek jr
- 11
- 4
1
vote
0 answers
Starting to build an Android ROM
After some long hours of searching over the internet, i'm a bit confused and lost, thought to ask here.
So, basically, i wanna start into building/developing roms for a specific device as of now. And even though there are multiple "tutorials" on how…
![](../../users/profiles/12407399.webp)
Attitude
- 11
- 1
1
vote
2 answers
AOSP OTA - Updating system apps with newer version does not override previously installed, older apk updates
We manage our own AOSP based firmware for our Set Top Boxes.
When we create a new OTA firmware, with newer versions of system apps.
The newer versions of the system apps do not override the older versions installed in /data.
Is there any post…
![](../../users/profiles/1221216.webp)
Code Rebel
- 421
- 3
- 13
1
vote
2 answers
How to enable Developer Options by default in android source?
I want to enable Developer Options by default on android source?
Is it possible? Please let me know.
![](../../users/profiles/10318982.webp)
makpan
- 19
- 3
1
vote
0 answers
retail demo mode custom launcher
I would like to create an application to change the retail demo mode video in a android retail device. Reference: https://source.android.com/devices/tech/display/retail-mode
Since the link leads to an aosp site, it seems to me that I have to modify…
![](../../users/profiles/9478819.webp)
Aleks
- 11
- 2