yashsingh1/xdaforums huggingface dataset:
[Android General] Nathan Miguel:
I discovered the error, my repository only had to "cm 14.1".

1. I was wondering if you have how I can customize features like slim (where the background apps are), notification bar and etc (the user interface in general).

2. I wanted to compile the pix pix expirience pro to my device, is it that with these lineage dependencies to compile without giving incompatibility?

3. would there be any way for me to upgrade to the pie version of the lineage for my device (A6020)?
[Android General] Techguy777:
Do devices trees change at all to me it looks like the device tree for lineage 15.1 for my Samsung tab is the same as 16. So I'm wondering if you can use lineage 15.1 device tree to build 16? My thoughts are they are the same unless the manufacturer upgraded the Android version. The device tree is based off your hardware and that doesn't change right?
[Android General] DJABHipHop:
Which samsung tab are you building for
[Android General] Rohit Shelke:
Hello sir, I'm the one with sepolicy problem, as you told me to find this line in sepolicy files

u:object_r:adsprpc_prop:s0

There is no such line but I found a file with the name adsprpcd.te. I have attached the screenshot of the file below. I tried to remove this file and then build, But I got the exact same error. So what should I do now? Add the above line in that file?
[Android General] krishV:
It's the problem with qti-telephony-common jar in msm-common that present in vendor folder replace with latest qti-telephony-common.jar

Thank you , have a good day

KrishV(CTOSP)

MI MAX
[Android General] krishV:
yeah, their is a way to remove boltware apps (Built-in's) but be careful while removing it and other suggestion is that better to flash with gapps i have linked down a screenshot that keyboard present View attachment 4703342
[Android General] anshumanxda:
Already tried , not working

---------- Post added at 07:12 AM ---------- Previous post was at 07:10 AM ----------

So I've to remove all those entries which have keyboard word in it?
[Android General] manushamil:
[MENTION=7026648]AlaskaLinuxUser[/MENTION]

A simple google search lands me on this page https://android.googlesource.com/platform/frameworks/base/+/android-7.1.1_r13/libs/.

but i am building for 7.1.2. So i went back in that repo and selected https://android.googlesource.com/platform/frameworks/base/+/android-7.1.2_r36 but there many versions i dont know which one to get it. Where do i place the files ?.

Thanks.
[Android General] krishV:
But need to add any basic keyboard as default cuz build may fails

---------- Post added at 08:32 AM ---------- Previous post was at 08:31 AM ----------

Missing Hal's clone them from Pixel experience it may work:good:
[Android General] anshumanxda:
Thats what i am asking sir , how to?
[Android General] krishV:
Thats what i am asking sir , how to?

Clone from pixel experience overlay only keyboard
[Android General] lukaspieper:
I'm sorry I haven't come back for so long. I still had some ideas that I wanted to try out. Yesterday I finally got the USB port up and running, can't say exactly which change was essential.

But I have some more general questions:

Is it possible to set the display orientation to landscape by default? So that the boot animation is affected and a crashed app doesn't turn the rotation back into portrait?

In old Android versions (4.x) the settings on tablets were displayed in two columns. Is there a way to enable dual pane for nougat? [MENTION=8771630]DJABHipHop[/MENTION]: since you're also developing for a tablet, any idea/experience on this?

How can I tell the settings the position of the fingerprint reader, for my device it is at the front and not at the back?

My system partition is read-only, how can I change it to rw?

Thank you very much.
[Android General] DJABHipHop:
Yes Is it possible to set the display orientation to landscape by default by swapping width with height

I Have try it to get the setting to display two columns but have had no luck

overlay folder but i don't remember where because none if my android tablets have a fingerprint reader at all

adb remount

Quick question is your tablet WiFi or Cellular and if it's wifi have you been able to disable the sim options in the setup wizard that's show up if you skip WiFI setup or after you setup WiFi and hit nest or not
[Android General] lukaspieper:
Thank you very much for your answer.

That's good to hear it's possible. Do you mean the following properties or are there others? Because with these values it's still portrait.

TARGET_SCREEN_HEIGHT := 1200
TARGET_SCREEN_WIDTH := 1920

That's very sad, at least from Samsung I know they use the function in their UI still. If it's not in AOSP anymore, they probably implemented it afterwards. Since I only use LOS, I don't know if any other custom rom has implemented it.

Thank you, I will search GitHub for it, thanks to the advanced search the chance of useful hits increases. ;)

I'm actually looking for a solution to mount it as rw on every boot. My mobile phone with LOS 16 always mounts it as rw. This has to be set in some files?!

I have a WiFi only tablet, have the same problem with the SIM on setup and unfortunately also no solution. For now there are are more serious problems on my build but I will try some day :)
[Android General] DJABHipHop:
For now try width and height property

Also I recommend watch the video on overlay done by the thread owner as well
[Android General] Techguy777:
I'm building for Samsung Galaxy S2 T813 or code name gts210vewifi snapdragon model. They have a device tree, vendor files, and kernel source on GitHub already to go but it doesn't get it and I downloaded loaded and copied into the right folders. Now I'm thinking that's not right it wasn't how I was supposed to build Oreo it worked because it found the repos online not because I setup the packages in the right folder.
[Android General] Techguy777:
If anyone knows some good tools or programs to use that speed up the process feel free to share. One program I downloaded yesterday is called beyond compare for Ubuntu or windows and you can set up 2 files or folders right next to each other to compare codes or whatever and it makes life really simple only it paid but there's a free trail period.
[Android General] DJABHipHop:
right way is to use a local_manfast file roomservice.xml then repo sync if you not build locally
[Android General] krishV:
Many missing many object in frameworks hardware or it may be some think props folder to overclock kernel

---------- Post added at 02:25 AM ---------- Previous post was at 02:14 AM ----------

In Ubuntu there is diffuse merge tool download it
[Android General] manushamil:
From where do i get that ?.
[Android General] dargonswim:
I could fix it! The path was from MetadataBufferType.h was wrong
[Android General] krishV:
Search in pixel experience GitHub like "hardware _qcom_xxxx" for your device
[Android General] dargonswim:
Hi thanks a lot for your tutos.

I have a problem with opera and firefox browser in Viper Os nougar for Mocha. They crash and tablet reboot. How could i fix it?
[Android General] leqacy:
Look at the output of logcat to get some clues.
[Android General] AlaskaLinuxUser:
Hey everyone, thanks for your patience while I was traveling and taking my classes. I'm back now, and I see that many of you have been stepping up and helping other users out, which is great! That's how XDA should work. Don't feel that since I'm back, you can't still help. If you know the answer to someone's question, and have the time, feel free to continue to answer them.

There are several more pages of questions and answers since I left, so if you still have an unanswered question that after searching you still need help with, feel free to repost it so we all can take a look at it.
[Android General] lukaspieper:
TARGET_SCREEN_HEIGHT := 1200
TARGET_SCREEN_WIDTH := 1920

[MENTION=8771630]DJABHipHop[/MENTION]: Tried the values now, no change. The program that reads these values would have to recognize that the width is greater than the height and then automatically rotate 90 degrees. Apparently it doesn't? Any other idea?

Found the overlay files that need to be modified: config.xml and dimens.xml in the following directory: (overlay/)packages/apps/Settings/res/values/

I haven't solved the problem yet, but I have new insights. If I change the option ro to rw in fstab.qcom in the line for the system partition, the rom doesn't boot anymore.

Thanks :)
[Android General] AlaskaLinuxUser:
In the old days, we used to set this in the build.prop file:

ro.sf.hwrotation=270

To make the screen rotated by default.

I'm not sure if that still works or not. In twrp you use:

TW_THEME := landscape_hdmi

To have it rotated. Believe it or not, a lot of older phones the screen was actually put in sideways or upside down due to manufacturing needs, and you had to set things like this to make it right. E.g. the archos 10.1, the screen was upside down.
[Android General] dargonswim:
I get this logcat but i dont know how fix it. Could anyone help me to fix it?

Thanks a lot
[Android General] AlaskaLinuxUser:
Absolutely,

So when you have an app problem in your logs, the quickest way to find them is by searching the app or package name.

In your case:

02-05 16:11:02.029 465 465 W PackageManager: Not granting permission android.permission.GET_ACCOUNTS to package org.mozilla.firefox because it was previously installed without
02-05 16:11:02.030 465 465 W PackageManager: Unknown permission com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY in package org.mozilla.firefox
02-05 16:11:02.030 465 465 W PackageManager: Not granting permission android.permission.ACCESS_COARSE_LOCATION to package org.mozilla.firefox because it was previously installed without
02-05 16:11:02.030 465 465 W PackageManager: Not granting permission android.permission.ACCESS_FINE_LOCATION to package org.mozilla.firefox because it was previously installed without
02-05 16:11:02.030 465 465 W PackageManager: Not granting permission android.permission.READ_EXTERNAL_STORAGE to package org.mozilla.firefox because it was previously installed without

Your app crashes because it does not have permissions set and it is not installed as a priv-app.

So, open your app and check the permissions. Are they all set? How did you install the app?

Hope that helps! :fingers-crossed:
[Android General] dargonswim:
Even if I install it from F-droid, play store and aurora store, the same thing happens to Firefox and all browsers based on it, except Focus which works.

I've given it storage permissions, location etc and it opens but closes immediately.
[Android General] AlaskaLinuxUser:
And what ROM are you installing this on? One you made, or another?
[Android General] dargonswim:
In viperOS , AOKP and XenonHD, all of them Nougat.

DT: https://github.com/Dargons10/android_device_xiaomi_mocha

Vendor https://github.com/Dargons10/android_vendor_xiaomi_mocha

Kernel https://github.com/Dargons10/Dargons_kernel_mocha
[Android General] dargonswim:
and how could i fix it?
[Android General] AlaskaLinuxUser:
I see the issue....

Take a look at this commit:

https://android.googlesource.com/pl...fi/+/c37d92cc16b4d2ac42d6523abd0199e5315638e4

Note that the missing files are vendor specific. Those, if used/needed would be in the vendor/xiaomi/hydrogen folder. However I just looked, and they are not for your vendor tree on the muppets githib. So, you can do a few things:

#1. Find the files elsewhere and put them into your vendor tree.

#2. Follow the commit above and remove the call for them in the file.

I'm not sure what affect removing the call for them will have, so be careful. Worked for these guys, but your mileage may vary..... :good:
[Android General] D3vcops:
ninja: error: '/home/yolodev/du/out/target/product/hydrogen/obj/SHARED_LIBRARIES/libnetfilter_conntrack_intermediates/export_includes', needed by '/home/yolodev

/du/out/target/product/hydrogen/obj/EXECUTABLES/ipacm_intermediates/import_includes', missing and no known rule to make it

make: *** [ninja_wrapper] Error 1

How to solve this error?:confused:
[Android General] Jones_UKA:
Thanks for your great tutorial. I've followed this (and many other tutorials) either for building master or specific branches, but all got stuck in the middle of the building processes (around 35%+). It doesn't stop, but still tries to compile even after 2days while passing only 67%! At that point, almost no other software or window work properly on the VM (I guess because of running out of RAM!)

My last try was based on your tutorial for Android Pie (but the current latest release is android-9.0.0_r33). Actually for me doesn't matter which version of firmware to build and flash it on an emulator, I just need it to be later than Oreo 8.1.

I'm trying on an Ubuntu 14.04.05 installed as a Virtualbox VM on a server and the VM has 64GB RAM and 32 CPU cores. I also ran the make command either with -j32 or -j64. I also selected the build setting for aosp-walleye-userdebug (which is the codename for android-9.0.0_r33, Pixel XL) and has extracted binaries from Pixel XL binaries for Android (5263720) from developers.google.com/android/blobs-preview.

I'll really appreciate if you could let me know the underlying issue which has wasted lots of my time.
[Android General] AlaskaLinuxUser:
You can read this article I wrote on how to fix that here:

https://thealaskalinuxuser.wordpress.com/2016/06/10/error-no-rule-to-make-target-export_includes/

If you have 32 GB of ram, you have double the recommended ram, and quadruple the required ram. However, building with 32 or 64 threads at a time is a lot. Does it lock up if you specify 4 cores, -j4?

You may be outrunning the build process, where threads are waiting for other threads to finish so they can continue. I've never built with such a machine. My main build machine has 2 quad cores, for a total of 8 cores, and I've never had an issue.

So, if it is getting hung up in the VM, then I would recommend setting up a VM machine with just 4 cores, 16 GB or ram, and seeing if that works better. That's what I used for the videos. :good:

Or does it display an error when it stops? :confused:
[Android General] Babile:
Hi, I am on 18.04 is build environment for marshmallow same for ubuntu 18.04 and 16.04 or i need to install 16.04?
[Android General] Jones_UKA:
You are completely right:good:, that was a silly issue I hadn't thought of:silly: I simply decreased the number of jobs for make. It wasn't giving me any errors, just getting slower and slower till nothing else will work/move and continuing super slow. Thanks a lot!
[Android General] adam_s_459_:
Omni "config makefile" problems

hello, i am trying to compile omnirom (8.1) for my lg g4 h815. i have setup the roomersvice.xml file in local_manifests and i synced the repo up no problem. I renamed "lineage.mk" to "omni.mk" in ~/device/lge/h815 and changed everything in the file from lineage to omni like i have done for aicp, los, aoscp before and it worked just fine. Yet when i brunch i get an error that says that the config makefile cannot be found

This is the exact error i get

Which would you like? [aosp_arm-eng] 10
build/core/product_config.mk:227: *** Can not locate config makefile for product "omni_h815". Stop.
WARNING: Trying to fetch a device that's already there
found the h815 device repo
WARNING: device/lge/h815/omni.dependencies file not found
build/core/product_config.mk:227: *** Can not locate config makefile for product "omni_h815". Stop.

** Don't have a product spec for: 'omni_h815'
** Do you have the right repo manifest?

Is "omni.mk" not the makefile? If not, what is and where do i put it?

also, how would i go about adding the dependeicies? (as it cannot find omni.dependencies) I have lineage.dependencies in ~/vendor/lge/g4-common and i renamed it to "omni.dependencies" but i still get the error "WARNING: device/lge/h815/omni.dependencies file not found" should i copy it to the directory mentioned in the warning? or is it not the same file?

any help would be appreciated. Thanks!
[Android General] AlaskaLinuxUser:
Glad that helped! :highfive:

Take a look at this github:

https://github.com/omnirom/android_device_lge_h815

Granted, it is for marshmallow, not Oreo , but it shows you the files you need.

Namely, it will be like the omni_h815.mk and you need an android products make file, too. :good:
[Android General] adam_s_459_:
So I don't suppose I can use the files from that repo to build with right? So seeing as nobody has built omni 8.1 those files would be nowhere on GitHub?
[Android General] AlaskaLinuxUser:
You certainly could. However, you could also use my nougat omni lg g4 tree: https://gitlab.com/alaskalinuxuser/device_lge_h811/tree/OmniRom_7.1.2

Just a little newer. Warning, omni is one of the harder ROMs to build due to the way they handle caf sources. :cowboy:
[Android General] lukaspieper:
Thank you very much, this value rotates the screen, unfortunately the display does not match the touch input anymore. The touch input didn't notice the rotation. I think the problem will have been there before, too, any idea?

landscape_hdmi was not found, but landscape_hdpi exists and also influences the scaling, but it doesn't rotate the display. But I don't think landscape is necessary for TWRP.

Thank you very much.
[Android General] AlaskaLinuxUser:
Try this:

$ adb shell "setprop persist.demo.hdmirotation portrait"

Does that fix the touch? You might play with it, such as landscape, and check your build.prop for hdmirotation=true/false. If you get the right combination, it should work properly, I think. If not, then you would have to edit the library (probably proprietary) that handles the touch input. :fingers-crossed:
[Android General] DJABHipHop:
Is there a way to have charging mode always on the a device is connected & powered off completed
[Android General] AlaskaLinuxUser:
Can you rephrase the question? I don't understand. :cowboy:
[Android General] rajesh@xda:
I also face same issue on lineage-16.0 . offline charging is enabled only on permissive selinux. On enforcing selinux offline charging not allowed and device boots repeatedly on charging screen.
[Android General] DJABHipHop:
Make charge mode always on

I want to charg mode Image with somthing nicer then what android offer because the graphic-designer in me hate it if i design an images can I you re rewrite Android charg mode to use my Images insted.
[Android General] rajesh@xda:
I am trying to build lineage os 14.1 with inbuild gapps. For this I added opengapps.xml in my local_manifest but i am not able to sync ROM source and got repo sync error. Also tried "repo sync --force-sync" but sync fails . Without adding opengapps.xml in my local manifest i am able to sync ROM source. I have added my xml here.. Any suggestion:)

error : remote: Repository not found.

fatal: Authentication failed for 'https://github.com/opengapps/all/'
[Android General] DJABHipHop:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] What cause these error & can they be fixed on an msm8226 device?

02-23 14:20:09.388 237 402 W BatteryNotifier: batterystats service unavailable!

01-20 06:07:16.404 250 250 E wcnss_service: CAL file not found

02-22 09:54:23.478 646 646 W PackageManager: Library not found: /system/framework/org.apache.http.legacy.jar

02-22 09:55:06.763 646 646 W TelecomManager: Telecom Service not found.

02-22 09:55:14.180 646 646 W ServiceWatcher: com.google.android.gms not found

02-22 09:55:17.963 986 1396 D LocalBluetoothProfileManager: Handsfree Uuid not found.

02-22 09:55:18.057 1342 1342 D LocalBluetoothProfileManager: Handsfree Uuid not found.

02-22 09:58:26.431 2936 2936 E linker : library "/system/lib/libjni_snapmosaic.so" ("/system/lib/libjni_snapmosaic.so") needed or dlopened by "/system/lib/libnativeloader.so" is not accessible for the namespace: [name="classloader-namespace", ld_library_paths="", default_library_paths="", permitted_paths="/data:/mnt/expand:/data/data/org.cyanogenmod.snap"]

E: BatteryStatsService: no controller energy info supplied
[Android General] AlaskaLinuxUser:
You have three things to look at for offline charging.

1. Your init.rc files will control offline charging options.

2. Your healthd files will affect offline charging.

3. Some devices have a fastboot command to enable/disable offline charging. Since it worked before (I presume) and doesn't now, I don't think this applies to you.

So I'd look at options #1 or #2. Something in these files will talk about charging and triggers, and from there you would have to research what specifically affects your phone... Here are a few pointer guides that may generically help, but will be device specific:

https://stackoverflow.com/questions...ine-charging-in-redmi-4a-rolex-for-kiosk-mode

http://tricktrackbd.blogspot.com/2018/02/712-nogut-rom-bug-fix-guide.html

Hope that gets you pointed in the right direction! :fingers-crossed:

Yes, this can be done. Check out this commit for Omni:

https://github.com/omnirom/android_vendor_omni/commit/d1899807102aa9d8f844503bca0d5c0949934877

In this commit, they remove the old AOSP charger icon and put in their own icon. Note that it is not simply changing one picture, it is a special process, but can be duplicated. :good:

That is because there is no "all" webaddress. If you try to punch https://github.com/opengapps/all/ into your browser, you get 404 not found errors because it does not exist.

Change your xml to be like this:

<manifest>
<remote name="opengapps" fetch="https://github.com/opengapps/"/>
<project path="vendor/opengapps/build" name="aosp_build" revision="master" remote="opengapps"/>
<!-- <project path="vendor/opengapps/sources/all" name="all" clone-depth="1" revision="master" remote="opengapps"/> -->
<!-- arm64 depends on arm -->
<project path="vendor/opengapps/sources/arm" name="arm" clone-depth="1" revision="master" remote="opengapps"/>
<project path="vendor/opengapps/sources/arm64" name="arm64" clone-depth="1" revision="master" remote="opengapps"/>
<project path="vendor/opengapps/sources/x86" name="x86" clone-depth="1" revision="master" remote="opengapps"/>
<project path="vendor/opengapps/sources/x86_64" name="x86_64" clone-depth="1" revision="master" remote="opengapps"/>
</manifest>

That should fix it. :good:
[Android General] rajesh@xda:
Great:highfive: This solution works.!

Do i need internet connection to build ROM with inbuild gapps.? I finished syncing the ROM source and need to proceed with new build. Before i built ROM in offline without gapps.
[Android General] _JaSoN_:
the problem is because they switched to gitlab https://opengapps.org/blog/post/2019/02/17/github-situation/ it will be fixxed https://github.com/opengapps/aosp_build/issues/207
[Android General] DJABHipHop:
Can you a video on upgrading the kernel source

how can I control this from config.xml

<supports-screens android:resizeable=["true"| "false"]
android:smallScreens=["true" | "false"]
android:normalScreens=["true" | "false"]
android:largeScreens=["true" | "false"]
android:xlargeScreens=["true" | "false"]
android:anyDensity=["true" | "false"]
android:requiresSmallestWidthDp="integer"
android:compatibleWidthLimitDp="integer"
android:largestWidthLimitDp="integer"/>

Also how do I fix this error as well

02-24 15:47:25.041 3128 3128 E linker : library "/system/lib/libjni_snapmosaic.so" ("/system/lib/libjni_snapmosaic.so") needed or dlopened by "/system/lib/libnativeloader.so" is not accessible for the namespace: [name="classloader-namespace", ld_library_paths="", default_library_paths="", permitted_paths="/data:/mnt/expand:/data/data/org.cyanogenmod.snap"]
02-24 15:47:25.056 3128 3128 E AndroidRuntime: Process: org.cyanogenmod.snap, PID: 3128
02-24 15:47:25.056 3128 3128 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "/system/lib/libjni_snapmosaic.so" needed or dlopened by "/system/lib/libnativeloader.so" is not accessible for the namespace "classloader-namespace"

How do I get charging mode to work in android on an msm8226 tablet
[Android General] adam_s_459_:
C_INCLUDES must be under the source or output directories LG G4

Hello,

So i'm building Slimroms (8.1) for my lg g4 and i am having this error. I don't know how to solve it.

https://del.dog/slimerror

Any help would be appreciated.

thanks!