Ninja Parse Error when building Lineage15.1 - LineageOS Questions & Answers

I'm having trouble building Lineage15.1, I believe it might be an error when building the kernel but i have replaced the source for the kernel and continue to receive errors. Could anyone help me narrow down the issue?
This is a paste bin link to the log file
https://pastebin.com/RwnNHshR

VulKenZ said:
I'm having trouble building Lineage15.1,.........
Click to expand...
Click to collapse
I've never built a ROM myself but, there's a handful of guides that are helpful and to obtain some member guidance as well.
https://forum.xda-developers.com/showthread.php?t=3551484
https://forum.xda-developers.com/showthread.php?t=3655407
https://forum.xda-developers.com/showthread.php?t=3735674
https://forum.xda-developers.com/showthread.php?t=2455005
https://forum.xda-developers.com/showthread.php?t=2223690
Good Luck!
~~~~~~~~~~~~~~~
UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.

Thank you
Ibuprophen said:
I've never built a ROM myself but, there's a handful of guides that are helpful and to obtain some member guidance as well.
https://forum.xda-developers.com/showthread.php?t=3551484
https://forum.xda-developers.com/showthread.php?t=3655407
https://forum.xda-developers.com/showthread.php?t=3735674
https://forum.xda-developers.com/showthread.php?t=2455005
https://forum.xda-developers.com/showthread.php?t=2223690
Good Luck!
Click to expand...
Click to collapse
Thank you for the quick reply and guides! I have successfully built LineageOS before but only recently have I been having this problem with Ninja. My heap size is plenty big enough and i have tried almost every other common fix with ninja.

Related

Can someone point me to the source for update-binary?

update-binary is included in the update.zip files to help process the edify install script.
I would like to look at the source code to verify something about the EMMC lockup/superbrick bug.
Would appreciate if someone could give me a pointer, preferably accessible online without needing to pull the source repository.
Ok, I found the source:
http://androidxref.com/source/xref/bootable/recovery/updater
Sfhub you could always ask in the irc channel where a couple devs hangout
Sent from my SPH-D710 using Tapatalk
sfhub said:
Ok, I found the source:
http://androidxref.com/source/xref/bootable/recovery/updater
Click to expand...
Click to collapse
You are a serious machine. You're on top of every leak, you even ask and answer your own questions. What can you not do? lol
Thank you seems so inadequate for all that give to this community. Know that your hard work is very much appreciated.

AOSP ROM Making

Hey guys. I'm new to this but I would like to start into ROM development. I have been wanting to for some time and now I thought it would be a good time to start. I was wondering if anyone could help me get started. I already have Linux ubuntu 12.04 installed on 12gb I think. Any help will be appreciated. I am trying to follow the steps on the AOSP development Page. Any help will appreciated.
Regards
This link has the best instructions around: http://forum.xda-developers.com/showthread.php?t=1386615
Thanks man. I will look into it.
Sent from my Galaxy Nexus using xda app-developers app
Not off to a good start!
Questions go in Q&A
Read forum rules before posting and stickies as well
Thread moved
Moderator
UslessSniper001 said:
Hey guys. I'm new to this but I would like to start into ROM development. I have been wanting to for some time and now I thought it would be a good time to start. I was wondering if anyone could help me get started. I already have Linux ubuntu 12.04 installed on 12gb I think. Any help will be appreciated. I am trying to follow the steps on the AOSP development Page. Any help will appreciated.
Regards
Click to expand...
Click to collapse
i can point you ...
HERE
HERE
HERE
and HERE for compile kernels for gnex

Interested in porting CM 13

Hello fellow XDA members, I recently purchased a Le Pro 3 and a Le S3 during the flash sale and would like to use Cyanogenmod on my devices. I was wondering if anyone on this forum has ever ported a ROM before as I have not, and only know about the CM porting guide and opensource.le.com for the kernel source. If anyone has any tips or would like to assist me in porting CM13 to the Pro 3 please reply to this thread or PM me. Thanks, and let's hope LeEco releases the source soon!
Love to help but this isn't my department ????. But we should probably see more support in a couple more days once they start arriving here
Just out of curiousity, what exactly had you hoped to achieve with this post? If you're interested in porting, ideally you should at least be able to build a rom (for another pre-existing device)... and then you'll have to hunt down help on the CM forums and then eventually IRC.
Talking about this on XDA is pointless.
dr4stic said:
Just out of curiousity, what exactly had you hoped to achieve with this post? If you're interested in porting, ideally you should at least be able to build a rom (for another pre-existing device)... and then you'll have to hunt down help on the CM forums and then eventually IRC.
Talking about this on XDA is pointless.
Click to expand...
Click to collapse
The purpose of my post was to see if anyone in the XDA community had experience porting a ROM to a new device, and if they'd be interested in helping me. I have read through a few guides and understanding building a ROM, but am struggling to find what I must "merge." From what I've found so far, I'll need to edit/merge the directories in /system/libs and edit the kernel?
limitlesscodes said:
The purpose of my post was to see if anyone in the XDA community had experience porting a ROM to a new device, and if they'd be interested in helping me. I have read through a few guides and understanding building a ROM, but am struggling to find what I must "merge." From what I've found so far, I'll need to edit/merge the directories in /system/libs and edit the kernel?
Click to expand...
Click to collapse
No, it's far more complicated than that. You'll need a copy of the kernel for sure, but you'll also need a device definition. You can use the op3's device as a template, it's probably the best example of an msm8996 device you can have.
You really should be checking into the CM forums. CM people are pretty uppity about not supporting things on XDA. They also don't tend to help. Even as a developer I find it difficult sometimes to get their attention. Your best bet is to go to them if you want their help. Good luck.
dr4stic said:
No, it's far more complicated than that. You'll need a copy of the kernel for sure, but you'll also need a device definition. You can use the op3's device as a template, it's probably the best example of an msm8996 device you can have.
You really should be checking into the CM forums. CM people are pretty uppity about not supporting things on XDA. They also don't tend to help. Even as a developer I find it difficult sometimes to get their attention. Your best bet is to go to them if you want their help. Good luck.
Click to expand...
Click to collapse
Yeah, I understand. I also found out that it will be about a month until LeEco officially releases all of the source.
limitlesscodes said:
Yeah, I understand. I also found out that it will be about a month until LeEco officially releases all of the source.
Click to expand...
Click to collapse
Where did you get that information from? They "accidentally" released kernel sources not too long ago and seemingly withdrew it. I got a copy of them and that's what I've been working with. I don't have a device to verify if any of it works.
dr4stic said:
Where did you get that information from? They "accidentally" released kernel sources not too long ago and seemingly withdrew it. I got a copy of them and that's what I've been working with. I don't have a device to verify if any of it works.
Click to expand...
Click to collapse
I asked on this forum. Also my S3 is coming tonight, and my Pro tomorrow. I have a copy of the Pro 3 kernel source as well but as of now don't know what to do. What have you worked on so far?
limitlesscodes said:
I asked on this forum. Also my S3 is coming tonight, and my Pro tomorrow. I have a copy of the Pro 3 kernel source as well but as of now don't know what to do. What have you worked on so far?
Click to expand...
Click to collapse
Not a lot. I've identified the CAF tag the sources are based on and have been working to separate the relevant LeEco mods from the less relevant ones. I've also been attempting to remove the leeco specific things from the drivers that i'm keeping since they're a horrible mess and CM won't be able to make use of them anyway. I've also been finding the appropriate open versions of the drivers and taking the latest ones instead.
The mods from LeEco seem to be a mess, the dmesg output I got from a user on the chinese model (the x720) had segfaults from the modifications just after boot. The logcats are so full of errors I was unable to get the user to send me a full logcat from boot.
Interestingly enough, the chinese system rom looks like it came from a Le Max2. This makes sense since it's LeEco's first msm8996 device, and the Le Pro3 is the second one. I imagine the kernel sources work across a number of the 8996's.
Can you send me the link to where you got the open drivers.
limitlesscodes said:
I asked on this forum. Also my S3 is coming tonight, and my Pro tomorrow. I have a copy of the Pro 3 kernel source as well but as of now don't know what to do. What have you worked on so far?
Click to expand...
Click to collapse
Please share the sources.
Sent from my LEX727 using Tapatalk
ceo.mtcl said:
Please share the sources.
Sent from my LEX727 using Tapatalk
Click to expand...
Click to collapse
here
limitlesscodes said:
here
Click to expand...
Click to collapse
Thank you so much!
limitlesscodes said:
here
Click to expand...
Click to collapse
This is not a International version? Its USA version? Where is the International source code?
Here's a mega mirror in case the drive link goes down.
https://mega.nz/#!7Ek3HYaB!1H0WibOjwlg1P0vaaJ2qcrAAsl-PjruB9-_X1ECqfnw
Wish i could help more, but it looks like the kernel source is in there too, perhaps that means a fully functional cm13 rom that works AT LEAST as well as the stock rom. VERY EXCITE!
+1
I'm also waiting for CM13.
csyann said:
I'm also waiting for CM13.
Click to expand...
Click to collapse
:good:
csyann said:
I'm also waiting for CM13.
Click to expand...
Click to collapse
giogio1 said:
:good:
Click to expand...
Click to collapse
Waiting for CM 14.1
http://opensource.le.com

download source for old cyanogenmod nightlies?

Does anyone know any archive or something for old CM nightlies for older phones?
Cheers
spi
sjf53t8i said:
Does anyone know any archive or something for old CM nightlies for older phones?
Cheers
spi
Click to expand...
Click to collapse
Which specific device are you looking for?
For example, for the Galaxy S3 Verizon, it's a D2VZW...
Peace and Love!
Peace and Love!
~Ringo Starr~
Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
********************************************
**IF I WAS HELPFUL IN ANY WAY THEN**
**PLZ THANK ME WITH A THUMBS UP!**
********************************************
Currently a Samsung Galaxy S. But I install(ed) pretty often CM on other devices as well so that's why I am looking for some kind of archive.
sjf53t8i said:
Currently a Samsung Galaxy S. But I install(ed) pretty often CM on other devices as well so that's why I am looking for some kind of archive.
Click to expand...
Click to collapse
Go to the following link:
https://web.archive.org/web/20161224221751/https://download.cyanogenmod.org/?device=galaxysmtd
When you select the CM build, you'll be taken to a page that will redirect and begin the download.
Peace and Love!
Peace and Love!
~Ringo Starr~
Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
********************************************
**IF I WAS HELPFUL IN ANY WAY THEN**
**PLZ THANK ME WITH A THUMBS UP!**
********************************************
Ibuprophen said:
Go to the following link:
https://web.archive.org/web/20161224221751/https://download.cyanogenmod.org/?device=galaxysmtd
Click to expand...
Click to collapse
Awesome, that's it. Thanks!
This is exactly the thread I was looking for. I am reviving my Galaxy Ace (Cooper) to use as a backup phone.
Unfortunately selecting my device in the menu results in void(0).
***EDIT***
Finally got it working, some download links are broken, but the latest nightly and stable links work.
Had to replace "galaxysmtd" with "cooper" in the URL, since clicking does not work.
Thanks @Ibuprophen
Decided to post a separate thread.
Does anyone can help me with zuk z1 Cyanogen official link?
fercaloandrei said:
Does anyone can help me with zuk z1 Cyanogen official link?
Click to expand...
Click to collapse
The following links have 1 on each link for the Zuk Z1 (ham) device.
https://archive.org/download/cmarchive_nighlies
https://archive.org/download/cmarchive_snapshots/
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Does anybody know how can I get a nightly for the MB300? (Motorola Backflip)? I really want to revive this old phone of mine.
Beelzebub24 said:
Does anybody know how can I get a nightly for the MB300? (Motorola Backflip)? I really want to revive this old phone of mine.
Click to expand...
Click to collapse
The Motorola Backflip (MB300) is codename "Motus"...
The following link reflects 2 separate ways in obtaining the very very very (did I mention very? LOL!) old CM7 downloads for this device.
https://web.archive.org/web/20161224230238/https://download.cyanogenmod.org/?device=motus
https://archive.org/download/cmarchive_nighlies
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Ibuprophen said:
The Motorola Backflip (MB300) is codename "Motus"...
The following link reflects 2 separate ways in obtaining the very very very (did I mention very? LOL!) old CM7 downloads for this device.
https://web.archive.org/web/20161224230238/https://download.cyanogenmod.org/?device=motus
https://archive.org/download/cmarchive_nighlies
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
Hey, thanks man. I started looking for it online since I woke up this morning and I was able to find a source just 40 minutes ago lol
http://ftp.f3l.de/android/cyanogenmod/cm7.2.0-stable/
I just finished flashing the rom and the gapps, the Market app doesn't seem to work though.
"Attention: A server error has occurred. Retry , or cancel and return to the previous screen", tapping Retry just shows the message again after 5 seconds or so and tapping Cancel just closes the Market app. I tried clearing the data of the Market app but it didn't work. I also tried wiping the phone and flashing the rom and gapps again but it still didn't fix it. Do you happen to know a fix? I posted my question on [Ask Any Question][Newbie Friendly] thread hoping someone knows the answer to it.
Beelzebub24 said:
Hey, thanks man. I started looking for it online since I woke up this morning and I was able to find a source just 40 minutes ago lol...
Click to expand...
Click to collapse
CyanogenMod 7.x (CM7) is Android 2.3 (Gingerbread) and you need to install a GApps package that's compatible with the Gingerbread.
I performed a quick search and located a GApps package that should hopefully work for you.
https://androidfilehost.com/?w=files&flid=5651
That's not the only package out there but, a good start.
I don't believe that the latest GApps will work well with the Gingerbread device (it may be incompatible).
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Ibuprophen said:
CyanogenMod 7.x (CM7) is Android 2.3 (Gingerbread) and you need to install a GApps package that's compatible with the Gingerbread.
I performed a quick search and located a GApps package that should hopefully work for you.
https://androidfilehost.com/?w=files&flid=5651
That's not the only package out there but, a good start.
I don't believe that the latest GApps will work well with the Gingerbread device (it may be incompatible).
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
I did install the gapps for cm 7.2 but unfortunately is still didn't fix it. I'll go search for other gapps and see if it fixes it or not. Thanks for the help!
Hello, any CM7 (or other) for Sony Ericsson Xperia X8? NNA kernel installed
SpeedyManBG said:
Hello, any CM7 (or other) for Sony Ericsson Xperia X8? NNA kernel installed
Click to expand...
Click to collapse
I don't have this device but, the following area of the forum is specific to your device.
https://forum.xda-developers.com/xperia-x8
I see allot of possibilities there that should be helpful for what you are looking for. Don't be afraid to ask for some member guidance within one of those threads.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Ibuprophen said:
I don't have this device but, the following area of the forum is specific to your device.
https://forum.xda-developers.com/xperia-x8
I see allot of possibilities there that should be helpful for what you are looking for. Don't be afraid to ask for some member guidance within one of those threads.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
Hi , you seem like the man that can pull a rabbit out of the hat . I've searched all day looking high and low for one of the last CM 12.1 builds for the LS990 . he only thing I've found is one snapshot build ,
cm-12.1-20151117-SNAPSHOT-YOG7DAO1K0-ls990.zip . I'd really like to find a nightly that was dated deep into 2016 toward the end of the 12.1 builds . I've been asking in the LG G3 areas but no one who might have a copy has stepped forward . Found this thread and thought I would ask . I'm also looking for RR too . The only 12.1 build listed on the archive page is for the LS980 . Thanks .
Max Frost said:
Hi , you seem like the man that can pull a rabbit out of the hat .......
Click to expand...
Click to collapse
Okay... I tried a few of my voodoo tricks to try and locate any CM12.1 releases for the LS990 in 2016... LMAO!
I haven't located anything fitting this for the year you had provided based upon a few locations as to a record of one being released. If there was then I believe that i would be able to locate a reference to even a date and came up empty.
I'm not suggesting that there never was one released. I'm only pointing out that I can't locate any information regarding it.
Regarding the in between captures from the Archive itself...
The latest date for 2015 was made on 15-DEC-2015 as reflected on the following link...
https://web.archive.org/web/20151215172804/https://download.cyanogenmod.org/?device=ls990
The earliest date for 2016 was made on 17-MAR-2016 as reflected on the following link...
https://web.archive.org/web/20160317092741/https://download.cyanogenmod.org/?device=ls990
I've quarried using Metadata information from locations like Google, Android File Host, the Archive and even XDA without even a mention of a CM12.1 for the LS990 released before the March 2016 release of CM13 for that device.
Sorry my friend... I did what I could and I do wish you the best of luck!
Sent from my SM-G900V using The ClaRetoX Forum App.
Ibuprophen said:
Okay... I tried a few of my voodoo tricks to try and locate any CM12.1 releases for the LS990 in 2016... LMAO!
I haven't located anything fitting this for the year you had provided based upon a few locations as to a record of one being released. If there was then I believe that i would be able to locate a reference to even a date and came up empty.
I'm not suggesting that there never was one released. I'm only pointing out that I can't locate any information regarding it.
Regarding the in between captures from the Archive itself...
The latest date for 2015 was made on 15-DEC-2015 as reflected on the following link...
https://web.archive.org/web/20151215172804/https://download.cyanogenmod.org/?device=ls990
The earliest date for 2016 was made on 17-MAR-2016 as reflected on the following link...
https://web.archive.org/web/20160317092741/https://download.cyanogenmod.org/?device=ls990
I've quarried using Metadata information from locations like Google, Android File Host, the Archive and even XDA without even a mention of a CM12.1 for the LS990 released before the March 2016 release of CM13 for that device.
Sorry my friend... I did what I could and I do wish you the best of luck!
Sent from my SM-G900V using The ClaRetoX Forum App.
Click to expand...
Click to collapse
I do appreciate you looking brother . I had not run across the references you provided in my search . Hopefully I can maybe run down the 12-11 build at least . Thanks so much for trying !
I think I've found the pot of gold here! Except I'm not sure what pot to look in. How would I figure out what to use to resuscitate Asus Zenpad C.7.0 P10Z? I have several of them and can root them but there's no Lineage for them so I end up back in the same place - with bloated Asus garbage and tablets that crawl. Guidance to goodness would be deeply appreciated!

How to post LineageOS build?

I have built a lineageos 15.1 rom for my device. It's working and I want to post it to xda so everyone can download it. Since this is my first rom, I don't know what to write when posting it. Please help and thank you
sheepkill15 said:
I have built a lineageos 15.1 rom for my device........
Click to expand...
Click to collapse
Your best bet is to take a look at the following threads that has a ton of resources, links, guides, etc... And also includes answers to your questions as well.
https://forum.xda-developers.com/showthread.php?t=2474979
https://forum.xda-developers.com/showthread.php?t=1699450
https://forum.xda-developers.com/showthread.php?t=3146318
https://forum.xda-developers.com/showthread.php?t=3269083
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

Categories

Resources