yashsingh1/xdaforums huggingface dataset:
[Android General] Techguy777:
You don't need to remove it for all the Samsung devices I have. If you're talking about when you boot up how it says kernel or recovery it just indicates what your booting to.

---------- Post added at 01:44 PM ---------- Previous post was at 01:39 PM ----------

It shouldn't matter it doesn't effect anything you're talking about on boot right? It's how all my Samsung Galaxy tablets boot either says that or recovery when it boots to recovery.
[Android General] heindrix:
Hi [MENTION=7026648]AlaskaLinuxUser[/MENTION],

It's been a while, want to ask you something, do you know how to fix this? thanks in advance.

https://del.dog/wuyuvakuzo
[Android General] AlaskaLinuxUser:
Interesting....

When you go to this folder:

res/drawable-sw720dp-nodpi-v13/

Is there a default_wallpaper.png and a default_wallpaper.jpg? Or just a JPG, or just a PNG? Looks like it is saying both exist, and you can only have one. So I would recommend you delete the other, if both exist. You will need to do this for each folder that has the issue.

You should be able to search for drawable-sw720dp-nodpi-v13 if you are not sure which res folder this is in. :good:
[Android General] DJABHipHop:
Quick Question Is Slim Rom easier to build then LineageOS & faster than LineageOS & DU
[Android General] AlaskaLinuxUser:
Typically, lineage os is the easiest to build.

Slim rom is not faster, but it is lighter. Usually ditching all non essential apps or features, and only selecting a few light weight features. It is a near vanilla experience, but like French vanilla bean. :laugh:
[Android General] heindrix:
yes, apparently i've solved it yesterday by myself, lol.

just realized that there're 2 files in there. :p

after several months developing several roms, there's one error that i don't know what's the "real" fix is this :

https://del.dog/oxogutifox

sometimes i managed to fix it but too bad i forgot what i do exactly to fix it, i searched around but can't find exact answer.

do you know about this [MENTION=7026648]AlaskaLinuxUser[/MENTION]?

Thanks in advance.

________________________________________________________________________________________

i looking for the problem deeper, i see that after building process, overlay folder created in system/overlay, not in vendor/overlay.

maybe change the build directory into vendor/overlay will solve this issue? but i don't know how to do it, have searching internet around though.
[Android General] DJABHipHop:
Thank but I tend to find most rom run slow and Lag a bit past Android 6.0
[Android General] heindrix:
from my experience, couple things affect performance and battery are rom features, kernel, and the errors (see in the logcat).

so if you want to build a fluid and light rom, you must consider those 3 things.
[Android General] Techguy777:
Hi, I just got my ssd drive so I took my old hard drive and partitioned it for 500gb to install Ubuntu 14.04. Well after installing Ubuntu 14.04 I found out my wifi card isn't supported because I just installed a new ac9560 with Bluetooth 5 only 20 dollars on Amazon tiny chip way smaller than I thought. I spent hours on installing the Intel driver and was unsuccessful so I went to Ubuntu 18. Now I'm trying to start with your build lollipop videos and now it turns out java7 has been removed from Oracle unless you have a paid account. I was going to follow along with the video to build it on Shamu just to get familiar with building. So my question is were can I get Java 7? Or should I skip it move on to oreo?

PS. Does Java 10 or 11 do all the same thing Java 7 does plus more can I use that? I don't understand how it works.
[Android General] DJABHipHop:
Try this

https://askubuntu.com/questions/761127/how-do-i-install-openjdk-7-on-ubuntu-16-04-or-higher
[Android General] lukaspieper:
I would like to thank you all, especially [MENTION=8771630]DJABHipHop[/MENTION], [MENTION=8438555]lucki1000[/MENTION] and of course [MENTION=7026648]AlaskaLinuxUser[/MENTION]. I finally made it today. Touch and many other things already work, others (Wifi, Usb) not yet. First I will try to solve the problems myself and if not I know where to get friendly and competent help :)
[Android General] Techguy777:
Thanks but I don't know if I'm not doing something right but the commands don't work it installs jdk 8 now lol try it if you don't believe me. And the packages won't install there for Debian. I'm on Ubuntu but I do appreciate it

---------- Post added at 10:28 PM ---------- Previous post was at 10:25 PM ----------

Anyone have a jdk 7 package on there pc they can link me to or something? It's still open source just you need an account so you have to pay for the service not the product I'd greatly appreciate it?
[Android General] Techguy777:
I'm tired of alot of developers are circumventing open source. This donations, and removing source codes from GitHub or otherwise it's Bs. They knowledge legally they can't charge for open source coding and I've read that 70 percent of apps that are paid actually contain some from of open source code even if the main thing is there's it still a violation but Google doesn't bust them for it. It's always will give you the free version which is missing only 1 function which it's always the one function that's the most important that you want like links2sd the data linked folder because it's the biggest space eater. If you make something knowing it's open source you knew that. The only reason you can make something anyway is because it's all open source so you can use tools and coding to make it. It's stupid I do feel developers should get something I think we should all have to donate like a couple dollars once a year or something. It's open source Java 7 but you can't get it without an account and guess what that cost they removed all the open source coding to build I'm sure I have not looked then they asked that ppa site alasklinux user uses in the videos to remove it and they did so it's know paid program bull****.
[Android General] AlaskaLinuxUser:
Great work! Well done! :highfive:

My friend, you are confused. Oracle java is not open source. However open jdk is. So go here:

https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa

And follow these instructions:

$ sudo add-apt-repository ppa:openjdk-r/ppa
$ sudo apt-get update

Then you can install any version from 7 through 11. :good:

Make sure you update which version you are using via java alternatives:

$ sudo update-alternatives --config java
$ sudo update-alternatives --config javac

Oracle is not open source, only some of the java APIs are open source. If you want the free and open source version use openjdk. I do, it works great. :cowboy:
[Android General] Techguy777:
I didn't say Oracle is open source I thought Java and jdk are the same thing well I didn't know Everytime you here Java you hear jdk and again no one ever bothers to tell you Java does this and jdk does that never. However I think I'm good as even though I read the Oracle support accounts are not free I signed up and they let me download the package free I don't know if they give you free service like 3500 hours of free cloud service trial when you sign up I don't know what that's for. And anyone saying they get all this stuff and it's easy in this thread or anywhere else other than the developers running the thread are lieing and fronting. This is the most difficult thing I have ever. Linux reminds me of my brother using Ms Dos like 30 years ago to run programs. Ubuntu 18 is better so far. I'm not fronting I don't know **** and it's to much to fast. So Oracle being not open source and jdk is they took of the jdk packages so I'm still right they removed the open source program I wanted not them selves.

Can I download Oracle? Why would that matter I'm obviously talking about jdk 7 right ok so it's open source. You'll all remember ibm 486 or something like that. Captain keen only thing I could do with it I was like 7. If anyone else signs up just make up a business it works I'm sure I'll get an email saying my accounts been suspended but I already got what I needed.

---------- Post added at 06:13 PM ---------- Previous post was at 05:22 PM ----------

Ok so I went online and googled what's Java and jdk. Jdk is Java development kit it includes Java application's, Java runtime environment an interpreter/loader , a compiler an archiver a documentation generator Java doc and other tools. So basically Java is jdk 7 like I thought. Java is just the name used for everything that's included in the kit. But how we use Java or jdk it means you want jdk cause that is Java same thing very confusing. Java is programming language so again it is jdk cause that Java coding. Now I got to figure out how to install a tar package and if it needs to install into a certain directory because using the command in terminal does the installation for you. It's not that easy you can't just double click and install.

---------- Post added at 06:40 PM ---------- Previous post was at 06:13 PM ----------
[Android General] AlaskaLinuxUser:
I tell you what. I will make a video just for that. How does that sound? I will show you in a video and all will be clear. Probably be Tuesday or Wednesday.

The reason it is not working is because you are not following the instructions. For after you install the ppa, I said that you can then install any version of openjdk from 7 through 11 ( see my post ). You have not installed it.

You would do that by

$ sudo apt-get install openjdk-7-jdk

Or

$ sudo apt-get install openjdk-7

I wrongfully assumed you knew that you still had to install it when I said you need to install it. I will work on being more clear in the future.
[Android General] heindrix:
I fixed the problem :

1. change line in build/make/core/build_rro_package.mk from :

ifeq ($(LOCAL_RRO_THEME),)

LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay

else

LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay/$(LOCAL_RRO_THEME)

endif

into

ifeq ($(LOCAL_RRO_THEME),)

LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/overlay

else

LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/overlay/$(LOCAL_RRO_THEME)

endif

2. change line in vendor/(rom)/config/common.mk from :

PRODUCT_PACKAGE_OVERLAYS

into

DEVICE_PACKAGE_OVERLAYS

and all good to go. :D
[Android General] AlaskaLinuxUser:
Great work! And better yet, thanks for sharing the answer here for others! :highfive:
[Android General] AlaskaLinuxUser:
Hey everyone! Praise God! Great news! I just passed 1000 subscribers on YouTube! Just wanted to take a minute to thank all of you for taking this journey with me.

It's a bit funny, since I thought that posting the original videos was a one time deal, and after that I would be done making them. Through your encouragement and questions, I've now got over 240 videos all about building android and apps.

I have a new link for my channel:

http://www.youtube.com/c/AlaskaLinuxUserAKLU

But don't worry, the old one still works if you have it bookmarked.

I've got a few more adventures in android building coming up, including upgrading the BLU phone to Oreo ( I was able to boot Oreo the other day, it doesn't work very well, but it is pretty good progress for a lollipop phone ), including marshmallow and nougat along the way.

Please keep the questions and suggestions coming in, as these help me understand what videos I should focus on next. Down the road I hope to make some videos on building without ninja and jack, as well as building generic system images ( gsi ). I do apologize if I've been a bit slow to respond lately, but I have run out of internet for this billing cycle both at home and now on my phone. However, that should be fixed tomorrow when it resets. Thanks again everyone!

-Alaskalinuxuser
[Android General] Techguy777:
Heres some screen shots i took i didnt upload all because ive never used xda web browser before always on android hopefully this works. You delete java 7 off your pc and reinstall on video id like to see that. Do the java version command first before hand to show its not on there. Its Like it wants to pick java 8 no matter what. But nothing works anymore nothing ive spent hours trying everything.
[Android General] rajesh@xda:
What does " ro.debbugable=1" in build.prop mean.? Is it related to rooting the phone.? Some apps wont work if this line has value equal to 1.
[Android General] DJABHipHop:
As far as ringtones where one find the default rungtone for android it self and not LineageOS as know where those located but I forgotteen where the AOSP ringtone are and do all custom roms have the same ringtone for the most part not include what the rom developer add to the rom vendor folder?
[Android General] manushamil:
I would like to build custom rom and maybe even a custom kernel. I see many playlist topics. Which playlist should i start from i got SGS3(i9300) and a oneplus 2 ill be making roms and kernels for those 2 devices.I am new to creating custom roms and kernels.
[Android General] AlaskaLinuxUser:
All right! I've got your video loaded on YouTube. (Had to wait until I got the internet back, as I had run out of data for the billing cycle. ) Just a heads up, the PPA does not work anymore, and I discuss that briefly in the video.

It is posted on my channel, and here is a direct link for you:

https://youtu.be/dMY0t7xJbRQ

I was able to install it in a few short steps, but it is a little more involved than I thought before, so hopefully the video will help you out! :highfive:

Technically, it allows debugging with ADB, and is used to allowed you to run adb as the root user, e.g., adb root <command> so the command is run as the root user. This is supposed to be used when developing phone firmware so the technician can test things out, but often gets used as a way to allow end users to have root permission or root their phone. Some apps check for this to prevent rooted users from somehow circumventing something in the system that the app relies on, like location spoofing or other problems. :cowboy:

I can't remember off of the top of my head right now, but you could search the build directory for media files like the ringtones. :good:

Great and welcome aboard!

I would recommend either following this playlist for building roms:

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

and this one for kernel work:

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

Or watch this older series, but the quality is not HD :

https://www.youtube.com/watch?v=k_K7o-oFLnc&list=PLRJ9-cX1yE1l6eu-vkgsj61U-Zv3fjzwZ

Any of those should get you started. :cool:
[Android General] krishV:
Building new custom ROM named Cerberus os

Getting error at build

bash: /vendor/cerberus/build/envsetup.sh: No such file or directory

Git hub link : https://github.com/CerberusOS

Please help us Sir our organization is waiting for your response
[Android General] AlaskaLinuxUser:
Who is "our organization"? :confused:

Are you making your own custom rom? Calling it Cerberus? :confused:

Does that file exist in your tree? :confused:
[Android General] Techguy777:
Thanks for the video it worked great jdk is now installed. I appreciate you going to the trouble to help me out. I'm curious do you have a template or zip file that you use to create twrp flashable zips? I downloaded 2 and they both work sometimes there a couple years old so I don't know if thats why. I also searched my ass off on xda and Google and it those 2 that always come up. I like being able to setup zips to flash apps to the system. I am finding it rather difficult to delete apps from the system on Oreo I've even gone into es file explorer and tried deleting out of priv app and it won't do it sometimes. I got the system uninstaller app to.
[Android General] AlaskaLinuxUser:
Great! I'm glad it worked out.

As for TWRP zip templates, you will see in the kernel mod videos that I have one template for TWRP zips that are specific to kernels. The template you have is probably your best bet, but perhaps in the future I can make some templates and some videos about that. :cowboy:
[Android General] DJABHipHop:
Why I'm I getting this error E qdhwcomposer: hwc_getDisplayConfigs display (1) is inactive ?

plus another question is there a way to bake a device power when the device is plugin to charge after having no battery when a certain percentage of battery charge is reached?
[Android General] Techguy777:
Yes that would be great if you make some templates. I'm now back to trying to build lollipop with jdk 7. I have ran into another problem I always forget to CD and repo init in my home directory and then it wouldn't repo init into the working directory in this case being Android lollipop folder. I'm looking for a fix online but like usual nothing that relates to my situation comes up instead it talks about removing git repo.

Edit I believe I got it. Hopefully moving on I'm sure I'll be back lol. :confused:
[Android General] Techguy777:
Ok I was watching your video on getting vendor files and you said in the video with lollipop Shamu that if there not available online already that you can use a program or something to pull them off the device. You never did say what program or how to do that?

If my PC was to error during repo sync 5.1 source and was in the middle or at the end of the download and I needed to restart do you have to start over or is there a way to pick up where you left off?
[Android General] DJABHipHop:
Try This

repo sync -c --force-sync --force-broken

And Read These two links

https://stackoverflow.com/questions...po-sync-error-exited-sync-due-to-fetch-errors

https://superuser.com/questions/603...droid-source-i-need-to-download-with-repo-syn
[Android General] manushamil:
Thanks you I am really looking forward to it so just to be sure i dont need to know anything about programming languages right ?.

Thanks again :D
[Android General] Techguy777:
That's kinda of a funny question because no you wouldn't have to know programming language but it wouldn't hurt you if you did. Obviously you don't need to know anything before you start anything but you'll have to learn more things along the way if you don't I'm talking about anything not programming language by the way.

---------- Post added at 01:14 PM ---------- Previous post was at 01:14 PM ----------

Thanks I'll keep this in mind if I need to.
[Android General] AlaskaLinuxUser:
It's possible to do anything with enough time/skill/effort. :good: As for the error, I think it is looking for your HDMI screen, e.g., to extend the screen to an attached HDMI screen, which is not hooked up, and thus inactive.

Great, I'm glad you got it! :highfive:

[MENTION=8771630]DJABHipHop[/MENTION] is right, you can actually just continue to repo sync again, and it will retain everything it had downloaded thus far. It is in a hidden folder called ".git" in the folder where you are repo syncing.

As for the files you need:

Here is a video about how to extract them, or download them:

https://www.youtube.com/watch?v=gMsk4d0nHxE&list=PLRJ9-cX1yE1l6eu-vkgsj61U-Zv3fjzwZ&index=54&t=0s

And an HD example where I extract the files from a BLU phone:

https://www.youtube.com/watch?v=ivyrq_aDf58&t=0s&list=PLRJ9-cX1yE1nnhWBrZtuVz5YC2OPfQVVp&index=12

Essentially, if you want to extract them, you run the extract-files.sh file in your terminal from your device tree:

$ ./vendor-setup.sh

$ ./extract-files.sh

And it will get the files. Your file names may be slightly different.

Or you can download them here:

https://github.com/TheMuppets/proprietary_vendor_motorola/tree/cm-12.1

(For Lollipop). :good:

You don't have to know anything to get started. When I started, I didn't know any programming languages except basic from years ago. However, as you go, you will slowly learn new things, like java,c,c++ in limited fashion, directly relating to what you are doing. So, rest assured, you can start this with no prior programming knowledge, but as [MENTION=9180355]Techguy777[/MENTION] said, the more you know, the easier it will be. :cool:
[Android General] manushamil:
I do have some experience with code i am a hello world guy also tried to learn c++ but couldn't. Now i am trying to learn python cause i can build AI.
[Android General] DJABHipHop:
By HDMI screen do you mean internal or external because when I flash lollipop & older or lollipop - mm 6.0 its boot fine no errors anything newer the 6.0 like 6.1 or cm-13.0 witch i'm guessing is 6.0.1 then I get the error in my logcat and the os boot loops even with build not made by me?
[Android General] AlaskaLinuxUser:
In this case, I mean an external or attached screen, either by cable or screen cast. :cowboy:
[Android General] DJABHipHop:
Odd because when I flash lollipop & older or lollipop - mm 6.0 its boot fine no errors anything newer the 6.0 like 6.1 or cm-13.0 witch i'm guessing is 6.0.1 then I get the error in my logcat and the os boot loops even with build not made by me?
[Android General] Techguy777:
Very nice ?

---------- Post added at 09:05 PM ---------- Previous post was at 08:47 PM ----------

Alright I want to kinda offer some information on building on Ubuntu 18.04. IF your going to build old repos like lollipop r38 build your going to run into all kinds of errors. The first is a flex tool error or something the master branch of Android has been updated to work with Ubuntu 18.04 but the older repos don't get updated and already are released before you do the make -j4 command you have to type into terminal. export LC_All=C enter. This not the only fix but it works and it's the easy and most common. Everytime you set up your .build/envsetup.sh you have to re enter that command before the make command. If anyone knows why or what it does I'd love to hear. It's some flex 2.6.4 error I got the output saved on my PC but I'm using my tablet.

Next error was unsupported reloc 43 when build aosp 5.1.1 also clang error again I'll get the output later but the fix was to edit file host_x86_common.mk and you'd want to look that up you need to add a line of code into the file. So that work so now to try again.

I had the build finish making but when I went into my out put Shamu folder system.img was missing and it was only like an hour or so building so I figured this is not complete yet. So I watched the video on ota package and it said the make command will see whats already done and go on to the next thing. So I ran it again I've tried both make -j6 for icore 5 8400 is 6 core 6 thread so I thought that was right but something I read on one of those errors said they used make -j4 command and that worked so I ran it again with that command because it should just build sloower it shouldn't hurt it well it built the system img then done. I had to shovel for a couple hours so I didn't have time to test anything else but to me it seems like this is not going to we work it built way to fast in my opinion I do have a brand new PC though and I don't do anything on it when it builds everything is shut down. I'm looking for videos on emulator to test it.

One last thing if you build for Shamu or bacon you still built a rom even if you can't use it the point is to learn to build and you did.
[Android General] DJABHipHop:
I know this may sound odd I've added export LC_ALL=C to my .bashrc file at the end set it and forget it
[Android General] Techguy777:
No that sounds good to me me I am glad you said that. How do you do that and how do you run emulator I open terminal from the source code directory for lollipop and type emulator in build environment it boots up the emulator buts it's just black are the commands I need to use? Do I need to install sdk tools I have adb and fastboot?

---------- Post added at 01:12 AM ---------- Previous post was at 01:02 AM ----------

Alright I watched the pie emulator video that doesn't explain how to setup or work it it was already on when you started the video. Plus the emulator looks different than mine? Is the bashrc file the one in home with jdk 1.7.0/bin the one I'd add the command to?

---------- Post added at 01:41 AM ---------- Previous post was at 01:12 AM ----------

Ok sorry I missed this thank you.
[Android General] DJABHipHop:
Read This Article on

Ignore the lineage part just read the /.bashrc sections and add my line

https://hacksandgeeks.com/single-post/2017/04/02/How-to-Build-Custom-Lineage-OS-ROM