yashsingh1/xdaforums huggingface dataset:
[Android General] AlaskaLinuxUser:
So you need to find libjni_snapmosaic.so and make sure it is being put in /system/lib in your build. If it is not there, find it and put it there. If it is there, then there must be a permission issue, maybe selinux problem?

I've made a video about updating kernel source in the m to n playlist, but a lot of people ask me about this, so I may need to make another video to explain more in depth the problems with upgrading the kernel. :laugh:

As for the config.XML, I'm not sure what you are asking me. :confused:

I think you need this:

add these in boardconfig:

SRC_DISPLAY_HAL_DIR := hardware/qcom/display-caf/msm8992

SRC_MEDIA_HAL_DIR := hardware/qcom/media-caf/msm8992

Or 8996. Essentially, your paths need to point to the right places for the files you need, which I think are there. :fingers-crossed:
[Android General] adam_s_459_:
So BoardConfig.mk is in device/lge/h815? and i just paste those lines at the bottom of the file?
[Android General] DJABHipHop:
Thank How Can I tell If it a selinux problem or not?

How do I get charging mode to work in android on an msm8226 tablet
[Android General] AlaskaLinuxUser:
Yes, provided the things it points do actually exist. E.G., are those files there?

Did you check if the file is in system/lib? If it is not, then it is not an selinux issue. If it is there, it is either not proper or has some sort of permissions issue. What permissions does it have? 644? 777? etc. make sure it has permissions proper to be read. (Compare with stock image). If it does have proper permissions, then my *best guess* is selinux issue. If that is the case, it will take some work on your part, because I do not know what the issue is, nor how to fix it. :good:

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/...for-kiosk-mode

http://tricktrackbd.blogspot.com/201...fix-guide.html
[Android General] AlaskaLinuxUser:
New series on YouTube: Smart watches!

This week I'm taking a little break from the upgrade series on the Blu Life XL to cover working on smart watches. I'll be using my LG Watch Urbane (the original) and doing things like enabling developer options, ADB debugging, OEM unlocking, flashing TWRP, building my own TWRP, and how to disable OTA updates. I hope that you enjoy the content, and more importantly, I hope that it is helpful. :cowboy:
[Android General] DJABHipHop:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] Is there a way to get skype to work on custom rom?
[Android General] rajesh@xda:
Skype working on my custom ROM los14.1 . some apps will work on custom rom only when ROM is signed or official build and adb root disabled with enforcing selinux.
[Android General] adam_s_459_:
so i have done this, the files werent there so i added them, but im still getting the same error.:crying:
[Android General] DJABHipHop:
Then explain to me how you got Skype to work in your custom rom I'm curiousc I want to know how becaus I'm building a custom rom for a firend who live on Skype 24/7?
[Android General] rajesh@xda:
1.Disable adb root.

Extract boot.img of the custom ROM. Some custom rom have ro.debuggable=1 in the ramdisk/build.prop of boot.img. change to zero and rebuild the boot.img.

2. Go for official custom ROMs with enforcing selinux and avoid rooting the ROM.

3. unofficial custom ROMs are mostly test-key signed. So apps which requires release-keys wont work on test-keys builds. For temporary fix, you need remove line ro.build.id=test-keys on your system/ build.prop.

Hope it helps:good:
[Android General] DJABHipHop:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] Can you make a video on signing custom roms as offical I'm having a hard time understanging the LineageOS instructions on signing custom roms as official.
[Android General] AlaskaLinuxUser:
Hmmm.... I'm not sure. Is there a device specific thread you could ask on?

I'll look into it, but I don't sign my ROMs, so I'm not sure.
[Android General] solitarios.lupus:
This would most likely be a good idea. Most roms are now signing their roms with private keys so they cant be deemed as official. Some are even making it so you cant build a working rom with the teams keys first.
[Android General] Nathan Miguel:
Merge kernel android 4.19 with lenovo vibe k5

I would like to know how I can merge the kernel of my lenovo vibe k5, with the android kernel 4.19, in order to update the security patch, drivers and so on. From what I've seen, the linux kernel version for the k5 vibe is currently at 3.10.

Kernel lineage: https://github.com/LineageOS/android_kernel_lenovo_msm8916

Kernel original: https://lenovomobilesupport.lenovo....a40, A6020a41, A6020l36, A6020l37) Smartphone

Kernel for update: https://android.googlesource.com/kernel/common/+/refs/tags/ASB-2019-02-05_4.19

I want to merge the original kernel with version 4.19 of my device.
[Android General] dargonswim:
hello, in any rom I have problems with firefox that closes. I pass the logcat to see if someone can help me.

My repos are: https://github.com/Dargons10/android_vendor_xiaomi_mocha

https://github.com/Dargons10/android_device_xiaomi_mocha

https://github.com/Dargons10/Dargons_kernel_mocha
[Android General] Christhedude:
Will ever be an android 9.0 pie custom rom for xperia z5?
[Android General] lucki1000:
Hello, I would sync my trees with repo sync --force-sync but i get an error:

Syncing work tree: 69% (509/737)error: local change at the following files would overwrite when checking out:
lineage/lib/main/java/org/lineageos/platform/internal/LineageWeatherManagerService.java
please commit or stash changes, before change branches.
abort
Syncing work tree: 100% (737/737), done.

error: lineage-sdk/: LineageOS/android_lineage-sdk checkout 7c58c4c5fa97cbccf0458ff4f31e0e93d101efba

Can anyone say me how I can sync my tree?
[Android General] AlaskaLinuxUser:
This will be very, very difficult to do. I'm making a video about kernel updates right now, should be done in a week or two. But you can check out my playlist for updating from M to N to see where I updated a kernel patch and it changed hundreds of files. A lot of people ask me this, and hopefully my new video on kernel updating will be finished soon.. :cowboy:

Here is your problem:

libc : CANNOT LINK EXECUTABLE "/vendor/bin/ussrd": library "libussrd.so" not found

03-01 20:49:19.998 198 198 F libc : Fatal signal 6 (SIGABRT)

You need to find libussrd.so and make sure it is in the right place. To verify if it is in the right place, compare with the stock ROM. :good:
[Android General] AlaskaLinuxUser:
It sure would if you built it. ;)

It looks like you've made some changes to your tree. The best way to fix it is go to the offending folder and discard changes.

I think you can type:

$ repo sync --force-sync [name of offending folder]

Which should be lineage-sdk or android_lineage-sdk. :fingers-crossed:
[Android General] lucki1000:
How can I discard this changes?
[Android General] AlaskaLinuxUser:
https://m.youtube.com/watch?v=Rz7VkMxzwPY&list=PLRJ9-cX1yE1nTAc0uM17HL9KuN__GDexh&index=7
[Android General] lucki1000:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] Thanks,

How can i add as option skipping tracks if display off in my rom?
[Android General] Soumy1234:
Hello, I'm not sure if this is the appropriate place to ask for help on compiling roms, but I can't seem to find any other place. I'm trying to compile Resurrection Remix Pie for my gprimelte (Samsung Galaxy Grand Prime (SM-G530W). I have all the files (source, device trees including the common trees, kernel tree and vendor trees), set ALLOW MISSING DEPENDENCIES to true, disable ninja before running brunch command and running 'make clean' or 'make clobber' after a build failed. I try to run '. build.envsetup.sh' then 'export USE_NINJA=false' then 'brunch gprimelte' but after a while, I get this error:

ninja: error: '/home/android/RR/out/target/product/gprimelte/obj/SHARED_LIBRARIES/libqmiservices_intermediates/export_includes', needed by '/home/android/RR/out/target/product/gprimelte/obj/EXECUTABLES/wcnss_service_intermediates/import_includes', missing and no known rule to make it 14:08:57 ninja failed with: exit status 1

Can anyone help me, please?
[Android General] psychem:
[MENTION=7026648]AlaskaLinuxUser[/MENTION]

i was building AOSPextended fo oneplus X but getting a NoSimError on in the ROM after booting. Here are some details. Please see if this can be fixed?

Device tree: https://github.com/Psychem/device_oneplus_onyx/tree/pie-caf

Vendor tree:= https://github.com/Psychem/vendor_oneplus_onyx/tree/pie

Kernel Source:= https://github.com/Psychem/kernel_oneplus_onyx/tree/pie

ROM Source:= git://github.com/AospExtended/manifest.git -b 9.x

Haste or Dogbin URL:=https://del.dog/gumakiyezi.coffeescript

https://del.dog/xiduducumi.coffeescript logcat

List Of Things You Have Tried To Do To Try And Resolve This Error:=

Build completes successfully but there is No SIM error after booting up. Build shows No radio image warning.

line 414 415 of build log shows the below warnings which seem related to the NoSimError

warning radio-update: no radio image in input target_files; not wiping DDR

warning radio-update: no radio image in input target_files; not flashing radio
[Android General] AlaskaLinuxUser:
Great question. This depends on your rom and music player. Some music players already have that option. Which ones are you hoping to use?

Sure, you're in the right place! Welcome to the group. A couple questions:

1. Why did you set ALLOW MISSING DEPENDENCIES to true? This is only something you should do if building TWRP.

2. Why did you disable Ninja? It is okay to do so, but I need to know why so we can see what the problem is.

3. Does this error happen if you set ALLOW MISSING DEPENDENCIES to false?

4. Does this error happen if you do not disable Ninja?

A couple of questions:

A. Has this been built before?

B. You got the device tree from YumeMichi, does this work for them?
[Android General] roslaminator:
How can I fix it?

SOLVED
[Android General] lucki1000:
I will use it on Pixel Experience with VLC and Newpipe.

---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------

Which ROM you will build on Elementary OS?
[Android General] psychem:
A. Hasn't been built before

B. The source is working for him on his pixel experience rom.
[Android General] EliasJr10:
Help me, please!

Hello [MENTION=7026648]AlaskaLinuxUser[/MENTION]! Congratulations on your great work. I saw some of your videos on Youtube. But I do not understand very well, I do not speak English very well, but I understand better by reading. I'm trying to develop a kernel overclock and a custom ROM for my Moto E1, codename condor. But, I am very new to this area of development for Android. I'm very curious. Please, if you could give me some tips, I would greatly appreciate it. I have already tried to develop Lineage 16 for my Moto E, but it always says it does not have Lineage 16 branche for it. And as for the custom kernel, I can not find the source code of the motorola for it, I'm not quite sure where to start. Please help me!

Regards,

Elias Jr
[Android General] AlaskaLinuxUser:
All of the files you need are in your vendor folder:

https://github.com/TheMuppets/proprietary_vendor_samsung/tree/lineage-16.0/gprimelte

You need to download your proprietary vendor folder or pull the files from your phone.

Also, you should never set allow missing dependencies unless building TWRP. Because it needs those files to build. When you say allow missing dependencies you get the error because it doesn't have the files it needs to build with. :good:
[Android General] AlaskaLinuxUser:
As for the tree you borrowed, you would need to ask the one that you borrowed the tree from, to see what they did to make that work.

I'm sorry, I don't know the answer, I've never used pixel ROM, perhaps you can look at their website and see if they have a dev channel or chat where you can ask them.

Since this is your first try, I recommend you start by building a ROM that has been built before. Is there an Oreo or nougat ROM for your phone, preferabily lineage os? If so, I recommend you build that first, so you can gain some experience. :good:
[Android General] psychem:
It is an upstream caftag issue in pie
[Android General] _JaSoN_:
hello 1 question about cherry picking is there a way to get them https://review.lineageos.org/q/topic:"pie-battery-styles"+(status:open OR status:merged) all with 1 command ? or do i have to do it always 1 by 1 ?

i already have them picked but after every repo sync they are gone looking for a quicker way to get them back :)
[Android General] AlaskaLinuxUser:
I made a couple of videos on this, here you go:

https://www.youtube.com/watch?v=89jwj1tBsRI

https://www.youtube.com/watch?v=1RuD6FTIAok
[Android General] _JaSoN_:
damn i should look properly lol thanks :)
[Android General] EliasJr10:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] Thanks for quick response, guy! Yes, my Moto E has many ROMs :D. There are LineageOS Oreo, DotOS, Aosp Extended Oreo,etc. I found a AEX Pie ROM for it, but internal storage not work. I've already tried build Lineage Pie. When I run breakfast on terminal, i get the error:"Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches", or "branch revision not found". I've already done a lot of research on this, but without success. Would it be better to try to build an AEX 6.0 for it, because of the greater compatibility with my device? They have almost achieved a stable build, as I said above.

Thank you again
[Android General] AlaskaLinuxUser:
If there is an Oreo version of lineage, that is usually the easiest to build for a beginning developer. :good:
[Android General] EliasJr10:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] So, I just took a look here, LineageOS has only up to the branch cm-14.1 in Github, not branch lineage-15.1. But I researched and found a functional Lineage 15.1 ROM for my Moto E. How is this possible ?! Do you recommend me to build cm14.1 for him?

Thanks
[Android General] matteo0026:
Hi, I write another time for LineageOS 14.1 on Galaxy Tab 4 10.1 (matissewifi). The system is so slow and I don't know how to make it faster (to turning back to a normal situation, so). Now, the system is so unresponsive, SystemUI restarts, it's almost impossible browsing into every app, but I have a logcat that explains everything. https://hastebin.com/zolatuyotu.rb I don't know how to fix it... And the Email app crashes at start, too. Maybe in the line 78-79 there's a suggestion.
[Android General] AlaskaLinuxUser:
I'm a little confused... You say to build for him, but it is your phone... I'm not sure I understand, but that is okay.

I recommend that you get some experience by building something that was built before. In this case, build lineage os nougat (14.1) just to learn the ropes. :good:

I looked at your logs. I do not know what the issue is, sorry. :confused:
[Android General] NoobFin:
Need Help

Hello, I might sound retarded, but this is my first time building a kernel.

I want to build a custom kernel for my phone with overclocking possibility etc, but I also want to run custom rom.

How do I build a kernel for a custom rom, from the same source codes or do I need something else?

Thanks.
[Android General] DJABHipHop:
What does this mean

Skipped fetching project platform/prebuilts/deqp (already have persistent ref)
[Android General] kokdsl:
Thanks a lot man, it was very helpful!
[Android General] AlaskaLinuxUser:
I recommend that you watch my playlist about making custom kernels:

https://www.youtube.com/watch?v=tzAH7I14KJ0&list=PLRJ9-cX1yE1m7MN7uSNCJl-phEs8ZmKsB

You can edit your custom kernel and build it in a ROM, that is what I am doing in this video series. :good:

I'm not sure. It looks like the manifest for your repo sync is saying that this one should skip updates and be persistent in its current state. You could delete that folder in platform/prebuilts/deqp and see if it syncs after that. :fingers-crossed:

I'm glad the videos help! :laugh:
[Android General] Abhishek17599:
I am a newbie ... I am trying to compile lineage os unofficially... But theres no guide onto it...

My Question is where do i need to put my device sources in order to compile .. i mean folder ..

and what would be the command like ... Brunch gives the list right?.. so for unlisted device what would be the command?
[Android General] raystef66:
[MENTION=7026648]AlaskaLinuxUser[/MENTION]

Hope you can help with this.

Wanted to rebuild (for fun) the already existing twrp for our axon7 (https://dl.twrp.me/ailsa_ii/) and see if I could manage and learn from it.

Repo synced the omni for 8.1 : https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni/tree/twrp-8.1 and cloned los15.1 for our device, vendor and kernel. So all in place.

But after . build/envsetup, I can lunch my variant for axon 7 but as soon as I ''mka recoveryimage'' it runs for a few secs to end up with this message : https://del.dog/gujitecazo.sql

Hope you can clear this out - thnx :good:

Also, if I want to add an option to flash a vendor.img to the existing boot, system options, how would I do this ?

Perhaps you can make an indepth vid on that. So not only change colours etc, but also to add options to the already existing ones
[Android General] AlaskaLinuxUser:
For building twrp only, you can set this option like so:

$ . build/envsetup.sh

$ export ALLOW_MISSING_DEPENDENCIES=TRUE

Then run lunch, etc. :good:
[Android General] AlaskaLinuxUser:
Great! We were all new at this once.

Please watch this playlist:

https://www.youtube.com/watch?v=QRjeJqVxw_s&list=PLRJ9-cX1yE1m8k9gztsQnnXDg1G4X1f6z

It will answer a lot of newbie questions. Video 8 and 9 address your current question directly, but all the videos will help. ;)
[Android General] raystef66:
Already did this before and had this : https://del.dog/uxawawokek.cc
[Android General] DJABHipHop:
Nothing in lineage os
[Android General] EliasJr10:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] If you are confused, imagine me! I'll try to explain it better, sorry. If you go to GitHub, in the LineageOS repository, there will be the device tree of the Moto E Condor , but only up to the "cm-14.1" branche. But, one developer been able to develop Lineage 15.1 for him! To help you, I'll leave the links in this post.But as for his tip of trying to build the nougat, I'll try soon enough. Thank you!

Device tree: https://github.com/LineageOS/android_device_motorola_condor

LineageOS 15.1 (Discontinued, but functional): https://xdaforums.com/moto-e/development/rom-lineageos-15-0-unofficial-t3678226
[Android General] Abhishek17599:
[/COLOR]

In the videos .. the device tree was present in the omni rom github repository... But in my case it isnt ... I will have to adapt the existing aosp device tree to lineage ...

So what should i do to adapt it for lineage os and where should i clone device trees for the same?

Device : smartron srt.phone

Codename : rimo02a
[Android General] _JaSoN_:
nvm
[Android General] Abhishek17599:
May i know which error is this?

Device : smartron srt.phone

Codename: rimo02a

SoC: sd 652
[Android General] AlaskaLinuxUser:
Just a heads up, I've got a few things going on that are consuming a lot of my time, and I've run out of internet again, so I'll be taking a little break this week.... Hopefully, those of you who have been around for a while can help answer some questions from the new guys, and I'll be back next week.
[Android General] matteo0026:
https://del.dog/nixavanaje.sh

Here is the complete logcat. Which problems can you find here?
[Android General] EliasJr10:
[MENTION=7026648]AlaskaLinuxUser[/MENTION] "Better is a handful of rest than two handfuls of hard work." (Ecclesiastes 4:6) ;)
[Android General] Soumy1234:
I downloaded the vendor files three times and I still get the same result. Maybe it's Selinux. The custom roms that I found for this device on the XDA threads all had the selinux as permissive as default.
[Android General] rajesh@xda:
I am missing pip feature on my oreo and pie lineage os build. Picture-in-picture is available on settings but i am not able to use it on any apps which support pip. Do i need anything to add in my device tree so that pip mode is supported.?

Heard pip mode is only for high ram devices . i have 2gb ram in my device.
[Android General] DJABHipHop:
Add permissions file to fix all that
[Android General] rajesh@xda:
Thank you. How to add permission files ? Guide me in this topic. I use device tree with code name "tomato" in lineage os .
[Android General] DJABHipHop:
This commit explains it all

https://github.com/matissewifi/andr...mmit/fd9d40f4adf00a6a5adeae7e20c0ee882a629a3b
[Android General] rajesh@xda:
Got it..:good: I need commits example which enable pip feature.
[Android General] DJABHipHop:
The Commit I linked you to show the location of the permission files
[Android General] Zurican:
Hello:)

I needed a small help from anybody who is experienced in rom creation.

I am newbie in rom creation and needed some help.

Can anybody guide me or say me the steps to create a rom

Please guys your small contribution will really help me..

Thank You:):)
[Android General] garylawwd:
Watch the videos thats what they are here for.

If you want someone to guide you it will be like reading a book here on XDA with all the info you need.

Plus you didnt give your device you are trying to build for, the rom you are trying to build or the even the android version

Just watch the videos
[Android General] DJABHipHop:
How do i fix them

03-14 19:20:07.227 309 309 I OMXMaster: makeComponentInstance(OMX.qcom.video.encoder.avc) in mediaserver process
03-14 19:20:07.354 309 309 E OMXNodeInstance: getConfig(1350001:qcom.encoder.avc, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: UnsupportedIndex(0x8000101a)
03-14 19:20:07.386 309 309 I MediaPlayerService: MediaPlayerService::getOMX
03-14 19:20:07.388 309 309 I OMXClient: MuxOMX ctor
03-14 19:20:07.388 309 309 I OMXMaster: makeComponentInstance(OMX.qcom.video.encoder.mpeg4) in mediaserver process
03-14 19:20:07.497 309 309 E OMXNodeInstance: getConfig(1350002:qcom.encoder.mpeg4, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: UnsupportedIndex(0x8000101a)
03-14 19:20:07.528 309 309 I MediaPlayerService: MediaPlayerService::getOMX
03-14 19:20:07.528 309 309 I OMXClient: MuxOMX ctor
03-14 19:20:07.528 309 309 I OMXMaster: makeComponentInstance(OMX.qcom.video.encoder.h263) in mediaserver process
03-14 19:20:07.638 309 309 E OMXNodeInstance: getConfig(1350003:qcom.encoder.h263, ConfigAndroidIntraRefresh(0x6f60000a)) ERROR: UnsupportedIndex(0x8000101a)
03-14 19:20:07.670 309 309 I MediaPlayerService: MediaPlayerService::getOMX
[Android General] Zurican:
Sorry forgot to mention

My device is Samsung A7 2016

Its chip is Exynos 7580