Questions tagged [android-rom]

Topics related to Android custom ROM development. For topics related to Android app development, use the Android tag

44 questions
79
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…
SirKnigget
  • 3,614
  • 2
  • 28
  • 61
35
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…
25
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…
Magnus
  • 17,157
  • 19
  • 104
  • 189
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…
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 =…
2
votes
2 answers

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…
Rohit
  • 475
  • 4
  • 18
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…
Squeazer
  • 1,234
  • 1
  • 14
  • 33
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?
2
votes
0 answers

Android root device run application after system boot from script

I am creating small initialization application. Let's call it InitApp. That application is responsible for initialization Wifi connection and update/download another application from server. The InitApp should run automatically every time after…
Michael
  • 780
  • 1
  • 10
  • 34
2
votes
2 answers

RecoverySystem.installPackage java.lang.NullPointerException

I'm playing with AOSP, and trying to apply OTA package 1). I built AOSP for Google Pixel and installed it 2). I created simple app, which downloads OTA package, and trying to apply it (It's based on this article:…
Aleksandr
  • 4,906
  • 4
  • 32
  • 47
2
votes
2 answers

Customizing Android ROM app data before flashing

I'm working at the IT-department of a rather large company, and we got Android phones for all of our employees. Every time someone quits or turn in their phone for any reason, we have to factory reset and then install all the required apps for our…
Oskar Pålsson
  • 119
  • 1
  • 4
  • 14
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…
cong
  • 1,105
  • 1
  • 12
  • 29
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…
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…
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…
Code Rebel
  • 421
  • 4
  • 14
1
2 3