hello,
I've noticed that there is a guide for building CM14 for the oneplus 3. Myself and others have been able to use it to make personal builds and to learn some things along the way.
I would imagine that the next step to progress to would be to make builds of ROMs that don't have a nougat/CM14 branch in their repo for our device. Its pretty easy to brunch, select your device, and wait for the build to finish. But I am very interested in learning how to build a ROM using a device tree from another repo.
I've noticed that @Eliminater seems to be very proficient at this, as he has built and posted unofficials of various ROMs.
I've been trying to teach/learn this myself through searching for guides, but havent been able to find anything that helps me get there 100% of the way.
I've been able to get as far as forking the device tree, editing the .mk and .dependencies files to match the format needed for the ROM I'm trying to build. I've also added the forked device tree and additional repos to the local_manifest. This has gotten me far enough that I have been able to do a successful "lunch", but I haven't gotten a build to finish. In fact, they fail pretty early on.
Is anyone able and willing to explain the process further?
Are there additional steps that I'm missing?
Or do you just need to be proficient enough to troubleshoot error after error when building?
Thanks in advance
Hey y'all!
I've seen that there aren't any lineageos 15.1 roms for a5 2017 out there so I decided I will build my own.
I followed the guide on rr's github page and I when I typed "breakfast a5y17lte" I got a big error that it cannot find the makefile. Also in device/samsung/a5y17lte there wasn't "vendorsetup.sh".
Please help.
Hello,
First, you can't build booting oreo aosp rom from actual sources.
Second, if you can't deal with something like that - leave building your own rom, or if you want to fight with that error, just use google and little common sense, nothing hard.
Good luck!
I'm glad someone out there is building custom roms for a5 2017. I looked for some the other day and couldn't find many.
Sent from my Samsung SM-A520W using XDA Labs
sheepkill15 said:
Hey y'all!
I've seen that there aren't any lineageos 15.1 roms for a5 2017 out there so I decided I will build my own.
I followed the guide on rr's github page and I when I typed "breakfast a5y17lte" I got a big error that it cannot find the makefile. Also in device/samsung/a5y17lte there wasn't "vendorsetup.sh".
Please help.
Click to expand...
Click to collapse
I got the same issue. I imported vendorsetup.sh from a device repo for another device, and adapted it to my own.
Code:
add_lunch_combo rr_a5y17lte-userdebug
This makes it show up in lunch combo but i get the same error as you,
Code:
Which would you like? [aosp_arm-eng] 16
build/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/samsung/a5y17lte/rr.mk]]: "device/samsung/universal7880-common/common.mk" does not exist. Stop.
Device a5y17lte not found. Attempting to retrieve device repository from ResurrectionRemix-Devices Github (http://github.com/ResurrectionRemix-Devices).
Repository for a5y17lte not found in the ResurrectionRemix-Devices Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/roomservice.xml
build/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/samsung/a5y17lte/rr.mk]]: "device/samsung/universal7880-common/common.mk" does not exist. Stop.
build/core/product_config.mk:243: *** _nic.PRODUCTS.[[device/samsung/a5y17lte/rr.mk]]: "device/samsung/universal7880-common/common.mk" does not exist. Stop.
** Don't have a product spec for: 'rr_a5y17lte'
** Do you have the right repo manifest?
I know this is very late too, but I'm just glad to see that I wasn't the only one having this issue.
YoMarshMellow said:
I got the same issue. I imported vendorsetup.sh from a device repo for another device, and adapted it to my own.
This makes it show up in lunch combo but i get the same error as you,
I know this is very late too, but I'm just glad to see that I wasn't the only one having this issue.
Click to expand...
Click to collapse
Actually, I managed to fix these and succesfully go along my merry way after a few days of google searches
[ROM][9.0][OFFICIAL] LineageOS 16.0 for Wileyfox Swift
Code:
[COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
[COLOR="Navy"]/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/[/COLOR]
Installation:
If you are on stock OS, you need a custom recovery first. You can get the recommended TWRP recovery in the official installation instructions link below.
If you are coming from stock or other ROMs, you need to make a factory reset.
As always, make sure to backup before installing this ROM.
More detailed instructions at:
Install LineageOS on crackling
IF YOU ARE CURRENTLY RUNNING LINEAGE 15.1 w/ENCRYPTION A FULL DATA FORMAT WILL BE REQUIRED TO MOVE TO 16.0. AN ISSUE WITH ENCRYPTION WAS FOUND IN 15.1 THAT CANNOT BE CORRECTED WITHOUT A FULL FORMAT
Official Download link:
LineageOS Downloads
Recommended Google Apps package:
Open GApps (choose the variant you want)
Changelog:
Changes for crackling
Bug reports:
How to submit a bug report
Donate to support development:
Donate via PayPal to jrior001
Donate via PayPal to LineageOS
XDA:DevDB Information
LineageOS, ROM for the Wileyfox Swift
Contributors
jrior001, mikeioannina, 115ek
Source Code: https://github.com/LineageOS
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.10.x
Version Information
Status: Nightly
Created 2019-04-15
Last Updated 2020-03-29
@jrior001 Thats great news. Thanks for all your hard work! Much appreciated.
Can you say some words about the encryption problem? What was wrong with LOS' 15.1 way of doing it?
I saw you reverted the GPS blobs. Does that mean GPS fixing is faster now?
Edit: As to my question that I posted initially: Seems the problem is in front of the screen, found the answer already...
morita11 said:
@jrior001
Can you say some words about the encryption problem? What was wrong with LOS' 15.1 way of doing it?
I saw you reverted the GPS blobs. Does that mean GPS fixing is faster now?
Click to expand...
Click to collapse
We missed a change in 15.1 prior to it shipping that pretty much put every legacy device using he encryption in a bad place that can't be recovered from.
For gps, yes it does seem to be locking faster and tracking better while driving.
Sent from my Mi MIX 2S using Tapatalk
Patiently waiting for feedback before I update the phone of my wife. She's still using LOS 14.1, is it possible to update to LOS 16 (the phone is encrypted)?
Obscurax said:
Patiently waiting for feedback before I update the phone of my wife. She's still using LOS 14.1, is it possible to update to LOS 16 (the phone is encrypted)?
Click to expand...
Click to collapse
Its possible that may work, but it is not a tested and supported upgrade scenario. I would highly advise taking every necessary backup precaution should you attempt that.
Sent from my Mi MIX 2S using Tapatalk
What is the latest bootloader LineageOS works with?
I can confirm that it doesn't boot when coming from the last stock firmware:
Code:
ro.build.display.id=TOS373K - N2G48B
Regarding TWRP
Thanks a lot @jrior001 for giving us LineageOS 16!
Before I update, I have a few questions regarding TWRP:
What's the difference between the TWRP version linked in the wiki and the official one? When upgrading to 15.1, the official version did not work
Will TWRP be able to read encrypted partitions or does it still suffer form the problem you mentioned here: https://forum.xda-developers.com/showpost.php?p=77967754&postcount=111
Regards,
Zapp
zappbrannigan62 said:
Thanks a lot @jrior001 for giving us LineageOS 16!
Before I update, I have a few questions regarding TWRP:
What's the difference between the TWRP version linked in the wiki and the official one? When upgrading to 15.1, the official version did not work
Will TWRP be able to read encrypted partitions or does it still suffer form the problem you mentioned here: https://forum.xda-developers.com/showpost.php?p=77967754&postcount=111
Regards,
Zapp
Click to expand...
Click to collapse
The one from the wiki decrypts 16.0 and 14.1 but nothing will decrypt 15.1.
Keep in mind the big red note in the OP if you are encrypted on 15.1, a full wipe/format will be requited to move to 16.0.
Sent from my Mi MIX 2S using Tapatalk
Upgrading to 16 directly from 14.1 worked for me, no issue with encryption :good:
Awesome guys. Finally we have gps again. Thanks thanks thanks.
I did run into an issue today. I was making videos and photos of hawaiian hula performance and after that of my girlfriend with a beautiful hawaiian sunset in the background. It turned out to be to much beauty for the phone as it rebooted when trying to make a photo. After the phone turned on again all the videos and photos where nowhere to be found. That is all the info i can give at this moment. When i find out more i will give an update.
Update: The reboots occur very frequently when using the photo app. I have to say that I flashed over LOS 15.1. Am I the only one with these issues or can other people confirm the bug?
Update2: Just saw that I had HDR enabled. That might have been the problem.
I got a similar problem:
after upgrading from 15.1 to 16.0 following the howto under - removed - I get sometimes - it doesn't seem to be correlated with the use of a certain app - a very annoying crash:
The display goes black, then it shows the Lock Screen for one second, then it goes dark again... and so on.
There is no other solution than opening the case, removing the battery, putting the battery back again and then starting the phone.
This is a really really annoying bug, much more annoying then the occasional reboots of LineageOS 15.1.
Please fix that. I am willing to support the develpers with any informations, if somebody tells me what to do.
jrior001 said:
Installation:
If you are on stock OS, you need a custom recovery first. You can get the recommended TWRP recovery in the official installation instructions link below.
If you are coming from stock or other ROMs, you need to make a factory reset.
As always, make sure to backup before installing this ROM.
More detailed instructions at:
Install LineageOS on crackling
Click to expand...
Click to collapse
I followed the instructions from the link exactly and now I have spent the long weekend looking to fix:
"Failed to mount '/system' (No such device)"
I installed TWRP (3.3.0-0) per this post (https://forum.xda-developers.com/wil...1/post72537703) and I am trying to install lineage os, which fails with:
"Updater process ended with ERROR: 7"
And then the above in response to "Updating partition details".
NotATechnician said:
I followed the instructions from the link exactly and now I have spent the long weekend looking to fix:
"Failed to mount '/system' (No such device)"
I installed TWRP (3.3.0-0) per this post (https://forum.xda-developers.com/wil...1/post72537703) and I am trying to install lineage os, which fails with:
"Updater process ended with ERROR: 7"
And then the above in response to "Updating partition details".
Click to expand...
Click to collapse
The latest recommended twrp is linked on the lineage wiki, https://wiki.lineageos.org/devices/crackling/install
If you still get errors, please post the entire message. "ERROR 7” is a general assert failure but if you read the rest of the message it usually tells you why it failed. If it doesn't make sense post it here or pull the recovery.log and post that here for me.
"adb pull /tmp/recovery.log" will pull the log.
Sent from my Mi MIX 2S using Tapatalk
jrior001 said:
The latest recommended twrp is linked on the lineage wiki, https://wiki.lineageos.org/devices/crackling/install
If you still get errors, please post the entire message. "ERROR 7” is a general assert failure but if you read the rest of the message it usually tells you why it failed. If it doesn't make sense post it here or pull the recovery.log and post that here for me.
"adb pull /tmp/recovery.log" will pull the log.
Click to expand...
Click to collapse
Thanks! I did "fix" it in the meantime...
For the record, the version of TWRP is the latest (at current time of writing). But for anyone else stumbling on the thread for a fix..
I took the heavy-handed approach, not only wiped the /system partition, but reformatted as ext4 (it was previously splashfs)
Flashed Lineageos 16, GApps-9-arm64.nano, and the root add-in, wiped Dalvik and Cache, reboot to System.
But it only rebooted to Bootloader, no matter how I did it. So then I flashed crDroid4.7 just because it was in the folder even though I knew nothing about it. Wipe Dalvik&Cache, reboot to system and happy days, it chugged for a while before giving me a new set-up experience.
So, I flashed the Pie crDroid (5.3) and I am off to the races. crDroid is LineageOS based, so do not ask me why one boots and the other does not, but my Crackling Wileyfox has life again. So, I am somewhat using LineageOS and very grateful for all the people who put the work in.
NotATechnician said:
For the record, the version of TWRP is the latest (at current time of writing).
Click to expand...
Click to collapse
Might be that the latest version is not the latest 'recommended' version of TWRP? Have you tried 3.2.3.0?
kabu83 said:
Might be that the latest version is not the latest 'recommended' version of TWRP? Have you tried 3.2.3.0?
Click to expand...
Click to collapse
Latest, 3.3.0-0, works for me with no issues.
Sent from my Wileyfox Swift using XDA Labs
Is this rom SELinux Enforcing?
dedaol said:
Is this rom SELinux Enforcing?
Click to expand...
Click to collapse
Enforcing is mandatory on lineage officials.
Sent from my Mi MIX 2S using Tapatalk
I can't get it working, it always fails at 47%. I tried different builds and it's always the same problem. I format the data and wiped cache & system before I did the sideload. TWRP version is the one from the lineageos wiki.
Any idea what could be the problem?
Thanks!
Code:
C:\WINDOWS\system32>adb sideload lineage-16.0-20190429-nightly-crackling-signed.zip
serving: 'lineage-16.0-20190429-nightly-crackling-signed.zip' (~47%) adb: failed to read command: No error
Edit: found this link https://forum.xda-developers.com/showpost.php?p=69648733&postcount=47 and I'll try it tomorrow again.
Edit2: didn't work. Copied the build and opengapps Pico to the SD card and flashed it via TWRP. Worked and the phone runs again.
Persistent mobile network issue
I upgraded from 15.1 to 16.0 at the first opportunity. Upon returning to France from a trip to neighbouring Switzerland I saw that my French mobile service had automatically switched to piggy-backing on it's Swiss roaming partner. This has cost implications and so I've now restored my previous installation of 15.1.
The problem I have with ver. 16 is that I cannot manually select the mobile network. Has this affected anyone else?
After a lot of googling around and like 50 open chrome tabs I tried making own device tree so I used old cm makedevice.sh script and updated it with help of current lineage bacon device tree and some brcm_rpi3 device tree, here you go *"*"https://github.com/honzapatCZ/android_device_amlogic_mk8080bplus"*"* vendor is not currently setup so Iam building just recovery, but I get an error:
HTML:
23:00:34 Could not create module-finder: finder encountered 1 errors: [/mnt/d/Dev/ANDROID/lineage/android/lineage/external/swiftshader/tests/unittests: lstat /mnt/d/Dev/ANDROID/lineage/android/lineage/external/swiftshader/tests/unittests: no such file or directory]
Any idea what it is? How to fix it? Iam gonna do more research about rpi3 device tree as its the closetst thing I know about features.
Thanks