Can't sync source: external/exfat is duplicated - Treble-Enabled Device Questions and Answers

Hello, how can I setup a source tree for building a gsi?
I'm using this treble patches(https://github.com/phhusson/treble_manifest) with android-10.0 branch. But I'm getting error that path external/exfat is duplicated. I looked in the repo's files and noticed that there is a repository that will be put in external/exfat folder but I can't find an similar entry in crDroids manifests. What should I do?
I want to build crDroid Android 10 gsi with gapps.
Thanks in advance

Related

Source for sbin/init

Hi,
I've followed various posts on here and have managed to compile and install my own kernel build. I am using the leshak initramfs and would like to be able to modify the init executable that lives in the sbin folder.
I've had a search around and can't work out if there is any source code available to build this or if it just pulled directly from the device. Can anyone confirm if and how it is possible to build this executable?
Thanks in advance,
Jamie
Theres no source from Samsung available.
You can try official android sources:
http://android.git.kernel.org/?p=pl...dc717ed167482c09f342730f1c1f64b90d19c;hb=HEAD

Help building Lineageos kernel from source

I'm no expert and just wanted to try and build Mi5s lineageos kernel with just a few minor changes, not the whole rom, but after flashing it doesn't boot.
This is more or less what I've done:
Downloaded lineageos Mi5s source:
https://github.com/LineageOS/android_kernel_xiaomi_msm8996
Downloaded Gooogle's prebuilt toolchain:
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/
Setup a build system following guides/tutorials from here and there.
Got it to successfully build after a few fixes to source but it doesn't pass the Mi logo.
The 3 images in the output folder are, Image, Image.gz and Image.gz-dtb, from what I've read in various tutorials was to use the Image.gz-dtb image.
So initially I unpacked stock lineageos boot.img and repacked it with my compiled Image.gz-dtb, also I've tried Anykernel2, but it just results in a non booting kernel.
I'm not sure what I'm missing and any help is really appreciated.

build cm13.0 from source files are missing

hello guys,
i hope you can give me a tip to solve this issue. i try to build lineageos 13 from source. I have to say: it's an unoffical mtk device.
-> ubuntu 16.04 64bit
-> i used Java 7 JDK
-> installed all listed apt's (had to install maven also)
so i used a guide for official devices: http://mikestechlife.blogspot.de/2016/11/setting-up-ubuntu-to-compile.html
but my vendor and device trees are pasted in vendor/vendorname/codename and device/vendorname/codename
Vendor blobs: https://github.com/pedropereira22/android_vendor_leagoo_z5
Device Tree: https://github.com/pedropereira22/android_device_leagoo_z5
if i start brunch codename, it begins and finished after ~40-50 minutes.
#### make completed successfully (46:26 (mm:ss)) ####
when i check the zip-file in the out-folder, there are some files missing. so in framework are only 4 files and some app / priv-apps are missing. what is my problem if the compiiler shows no error? i can upload the zip-file as well if you want to take a look. maybe you have an idea
(im sorry for 2x the thread in different forums here but did not see lineage forum before)

[Devs Needed] Rom compiling issues

I don't know what's the issue with my setup or kernel tree (Alberto97's git) that I'm getting these errors all the time when I try to compile any rom
1) rmnetctl library conflict. There's always this error in all roms and states that "shared libraries is already defined" in rmnetctl folder in device tree hence stopping the build at the begenning. I got past the issue by deleting the rmnetctl folder in device tree but is it the right way to do it?
2) Sepolicy error. Even after I delete above folder, the build stopped after it reaches about 34%, I don't know what it's called but I'm getting this error every time I try to compile any rom. This time while building aosp extended https://hastebin.com/yomepicili.sql
I'm a noob so pardon any lack of knowledge. I am trying to learn to compile here. Also, I'm using oreo-mr1 branch device tree and kernel and oreo-mr1-addison branch for vendor.

[ROM][UNOFFICIAL] LineageOS 18.1 for Nexus 5 (hammerhead) [DISCONTINUED]

LineageOS 18.1 is a free, community built, aftermarket firmware distribution of Android 11.0 (R), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
The source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.
Known bugs:
Screen mirroring via slimport HDMI adapter doesn't work.
PMF aka 802.11w doesn't supported. Read here about it.
Encryption has problems. Read here about it.
Downloads:
ROM: https://sourceforge.net/projects/hammerhead-lineageos/files/18.1/
GAPPS: https://opengapps.org/?arch=arm&api=11.0&variant=pico
Credits:
Many thanks to the LineageOS team and all the contributors out there in the community
Contributors:
z3DD3r
Source Code:
Device tree: https://github.com/z3DD3r/android_device_lge_hammerhead/tree/lineage-18.1
Kernel tree: https://github.com/z3DD3r/android_kernel_lge_hammerhead/tree/lineage-18.1
Vendor tree: https://github.com/z3DD3r/android_vendor_lge/tree/lineage-18.1
Android version: 11.0.0 (R)
Kernel version: Linux 3.4.113
SELinux: Enforcing
Status: Stable
Created 2021-01-07
Last Updated 2021-06-08
ROM Installation
To install rom you should increase the /system partition size
This can be done for example with TWRP HH.R
[RECOVERY][UNOFFICIAL] TWRP HH for Nexus 5 (hammerhead)
TWRP HH for Nexus 5 About: TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with...
forum.xda-developers.com
GAPPS Installation
LineageOS Team have recommendations about GAPPS
Here are the most important two copied from LineageOS WiKi:
If you opt to use Open GApps, they offer a variety of sizes of packages that include and overwrite different apps. We only recommend package sizes up through nano. If you use a larger package, we can not guarantee that everything will function on your device, as in many of these cases our included apps are overwritten in favor of the Google App equivalents.
Google apps should be installed via recovery immediately after installing LineageOS. If you reboot into LineageOS before installing Google apps, you must factory reset and then install them, otherwise expect crashes.
Patches
Patches you need to apply to the source code to get the same functionality as in my builds. All patches are actual as of Jun 24, 2022.
SurfaceFlinger
https://review.lineageos.org/c/LineageOS/android_frameworks_native/+/310715
https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/310716
QCOM display
GitHub - z3DD3r/android_hardware_qcom_display
Contribute to z3DD3r/android_hardware_qcom_display development by creating an account on GitHub.
github.com
git fetch https://github.com/z3DD3r/android_hardware_qcom_display lineage-18.1 && git cherry-pick 29fb1e50d1f2b7cf2386ab168fcffd23450a4ba8^..a7cf3dab9881e40550617febd03a68ace43cfa5f
QCOM media
GitHub - z3DD3r/android_hardware_qcom_media
Contribute to z3DD3r/android_hardware_qcom_media development by creating an account on GitHub.
github.com
git fetch https://github.com/z3DD3r/android_hardware_qcom_media lineage-18.1 && git cherry-pick 8f2abf1879e48068b86d57d8d67d799623a7157a^..075f70c24c10173a861bd84cdd08926783f6680b
Vold (USB OTG)
GitHub - z3DD3r/android_system_vold
Contribute to z3DD3r/android_system_vold development by creating an account on GitHub.
github.com
git fetch https://github.com/z3DD3r/android_system_vold lineage-18.1 && git cherry-pick fcbc4e0cff6843f011e814e6ced291055cc2d467^..cc5f962ed154717df93ddd0843d3bb57739bdd77
AOSP Keyboard (Optional)
GitHub - z3DD3r/android_packages_inputmethods_LatinIME
Contribute to z3DD3r/android_packages_inputmethods_LatinIME development by creating an account on GitHub.
github.com
git fetch https://github.com/z3DD3r/android_packages_inputmethods_LatinIME lineage-18.1 && git cherry-pick 7e55f8c6b7257af03891934da329e2f6aea72c67^..6b0819b6373ee18766d8b1846dcf512dd527dc13
Trebuchet Launcher (Optional)
https://review.lineageos.org/c/LineageOS/android_packages_apps_Trebuchet/+/303250
Please, give actual link to 11 gapps
Ogzador said:
Please, give actual link to 11 gapps
Click to expand...
Click to collapse
An user by the name BrainWash has found unofficial builds of arm Gapps packages for Android 11, that user has shared a link in the Nexus 5 Telegram group.
They might work or not, give them a try on your own risk.
althafvly - Browse /gapps at SourceForge.net
sourceforge.net
gapps a11 arm
althafvly - Browse /gapps at SourceForge.net
sourceforge.net
Need help, please. After los18 zip installing, my twrp was killed. And now i have los recovery. And none-resized sistem partition. Now i can't install gapps.
Ogzador said:
Need help, please. After los18 zip installing, my twrp was killed. And now i have los recovery. And none-resized sistem partition. Now i can't install gapps.
Click to expand...
Click to collapse
Those issues you mention don't seem to be related to this ROM. I just flashed this ROM on my N5 and my TWRP did not get overwritten nor did my partition sizes get reverted to the stock sizes. I don't know what has gone wrong on your side.
Woah, amazing. Thanks! Everything seems to be working so far, only Magisk fails to install.
zheega said:
Woah, amazing. Thanks! Everything seems to be working so far, only Magisk fails to install.
Click to expand...
Click to collapse
Magisk v21.2 installs and works without any issues. Makes sure you flash an up to date version of Magisk, redownload it if doesn't install.
Yes, thank you. I was using a bit older build that didn't work.
Mr.FREE_Bird said:
Those issues you mention don't seem to be related to this ROM. I just flashed this ROM on my N5 and my TWRP did not get overwritten nor did my partition sizes get reverted to the stock sizes. I don't know what has gone wrong on your side.
Click to expand...
Click to collapse
while setting up when booted in, it ask if u want to update lineage recovery along with the os. I think that may overwrite twrp
JackyGundam said:
while setting up when booted in, it ask if u want to update lineage recovery along with the os. I think that may overwrite twrp
Click to expand...
Click to collapse
Maybe but judging from what he said I think he says that his TWRP got overwritten and his partitions got reverted to the stock sizes right after flashing the ROM. So it looks like he did something wrong or doesn't read what the setup asks him...
Wow amazing a lot of thanks for this rom
Latest build ( lineage-18.1-20210109 ) seems to be stuck in a forever-boot-loop.
Here booting well
Having no boot problems with 20210109 comming from 17.1-20201231
It doesn't work with fresh install (just a constant boot loop), but updating from 20210108 to 20210109 works.
zheega said:
It doesn't work with fresh install (just a constant boot loop), but updating from 20210108 to 20210109 works.
Click to expand...
Click to collapse
My tester said that everything works fine after clean installation as well as after update. But there is a problem with latest test package of opengapps. Device can't boot. So if u used opengapps then this is your problem.
Anyway before posting such reports try to perform a clean flash of the ROM without additional packages (gapps/magisk/mods)
I haven't used my Nexus 5 in a few years and now I would like to update it to android 10, in particular your LineageOS 17.1.
But being many years since the last update I was wondering if my recovery, kernel and radio were compatible with android 10. Would you be able to suggest which recovery, which magisk version, which kernel and radio to install? Maybe kernel and radio now come bundled with the OS (?)
Lastly, there is any peculiar step for a clean installation procedure?
I tried to search on the thread beforehand, but couldn't find the answers. Sorry if you already answered my questions.
Thanks a lot for the your time and effort!

Categories

Resources