Questions tagged [aosp]

The AOSP (Android Open Source Project) is an open source operating system development project maintained by Google and the community. It is the base of the Android operating system.

121 questions
16
votes
4 answers

How to unpack/repack system.img of android ROM?

I have OnePlus 6T device which has A/B partition system and has a ROM of user type i.e [ro.build.type]: [user]. This device is rooted with Magisk. I have a requirement(Want to place customized sepolicy file under system_root directory) to modify…
Vatish Sharma
  • 1,091
  • 6
  • 24
  • 37
12
votes
2 answers

Does Android AOSP communicate with third-parties?

I'm trying to eliminate all Google and Meta services from my digital life. (I don't like their policies.) So I thought about buying a new smartphone, removing the pre-installed ROM, and installing Android AOSP without Google Gapps. However, the…
Bruce Ecurb
  • 123
  • 5
8
votes
3 answers

How to use Wi-Fi and hotspot at the same time on Android?

Is it possible to create a Wi-Fi hotspot from an Android device using its Wi-Fi connection rather than Cellular data? Without the help of any third-party application (Like Netshare), by changing some code in setting application? Note: I'm having…
Pritam
  • 185
  • 1
  • 1
  • 7
5
votes
2 answers

How can I increase the maximum number of background apps on Android 10+?

The way Android works, there are two cases in which an app is killed. The device is low on RAM. This is kind of self-explanatory, there is generally no page file on Android, and RAM is finite. The maximum number of cached processes is reached. To…
trainman261
  • 209
  • 2
  • 7
5
votes
1 answer

How to fix "dmesg: klogctl: Permission denied" for normal user on Android?

I have a rooted Samsung device(system-as-root). When I open adb shell and run the dmesg then it behaves differently for su and normal user. It throws dmesg: klogctl: Permission denied error when I run it without su shell. Please suggest how can…
Vatish Sharma
  • 1,091
  • 6
  • 24
  • 37
4
votes
2 answers

How can an Android user know which Project Mainline modules their device supports?

Project Mainline (officially "Modular System Components") introduced a set of OS components that Google can update via Google Play system updates. Some of these modules are mandatory for OEMs to support depending on the version of Android that the…
JBraha
  • 101
  • 8
4
votes
1 answer

How to disable dm-verity on `Treble` , `system-as-root` device?

Background: Please check following links How to disable dm-verity on Android with “user” build type ROM? Stuck in boot-loop when unpack and pack system.img? Update: So, I am trying to disable dm-verity on my Samsung S10 5G device to successfully…
Vatish Sharma
  • 1,091
  • 6
  • 24
  • 37
3
votes
0 answers

full adb restore not restoring [unencrypted] .ab file to bootloader unlocked Lineage device

This is a follow-up troubleshooting question to this one here in this very same forum. After repeatedly confirming the connection through both of adb devices -l and fastboot devices -l tantamounting to at least ~5½ of overall sessions for the…
maazkalim
  • 39
  • 5
3
votes
0 answers

How incremental OTA works in AB oTA update

I understood AB OTA work flow in android. I could not able to understanding, How incremental OTA works in AB update in AOSP. Full OTA_V0: A-->Active state B-->Inactive state Incremental OTA_V1: A-->Inactive state B-->Active state …
Kumar
  • 41
  • 3
3
votes
2 answers

How to fix mount errors when trying to mount the raw image that converted from android sparse image?

I have sparse.img image with the following properties: $ file sparse.img sparse.img: Android sparse image, version: 1.0, Total of 2512896 4096-byte output blocks in 60 input chunks. I want to see its contents so I have converted it into raw…
Vatish Sharma
  • 1,091
  • 6
  • 24
  • 37
3
votes
2 answers

Where is the mount point for a USB stick on Android 9?

I am working on IMX8QM with Android 9. I needs to configure usb stick on static mount point. Once USB stick detected, create sda1, after check I got: mek_8q:/sdcard # df Filesystem 1K-blocks Used Available Use% Mounted…
VKS
  • 43
  • 1
  • 5
3
votes
1 answer

init: cannot execve('/system/bin/custom.sh'): Permission denied

I have a rooted system-as-root Samsung Device and I am trying to run an init service which runs custom.sh script using u:r:su:s0 SELinux context. # define service, use executable here if script not needed service custom /system/bin/custom.sh #…
Vatish Sharma
  • 1,091
  • 6
  • 24
  • 37
3
votes
1 answer

How to fix: only official released binaries are allowed to be flashed(recovery) on device / FAIL! (Auth) on Odin3 v3.13?

I have Samsung S10 5G(Qualcomm) device. This device has unlocked bootloader but it is not rooted yet. I am trying to learn Unpack-Modify-Pack the ROM images. Currently, I have VZW stock ROM available for this device and I can flash it successfully…
Vatish Sharma
  • 1,091
  • 6
  • 24
  • 37
3
votes
1 answer

Which part of Android directories contains so-called proprietary blobs?

When building AOSP (Android Open Source Project) or LineageOS, there is a tool named breakfast. It downloads proprietary blobs and integrates them to the source tree. I have read this article, does it mean all of the blobs are under /system/vendor/…
Alexis Abram
  • 45
  • 1
  • 5
3
votes
1 answer

Any way to hide the "Advanced Reboot" option in Power menu in AospExtended?

An Advanced Reboot option appears in the Power Menu(which appears on holding the Power button) which gives me a bad feeling since my phone ends up in a lot of hands. Is there any way to disable it?
1
2 3 4 5 6 7 8