I'm trying to breakfast my device but I'm getting "don't have product spec for lineage_devicename" try adding it to room service.xml and I did it in .repo/local manifests/roomservice.xml but still I getting that error. I tried removing the files and syncing the repo again. Thanks in advance.
Related
hi
while i followed the instruction here and i entered this code :
Code:
[email protected]:~/gingerbread$ repo init -u git://android.git.kernel.org/platform/manifest.git
and i get this error i don know whats this?
http://pastebin.com/2zfMzqYP
thanks.
Do you have git installed on your computer? The error you're getting could be because it is not installed. Make sure you've followed the initializing instructions for linux/mac.
i didnt .?
Then it might be a good idea to get git.
how??
thanks.
Im building cyanogenmod 11 for the htc dna, this is my first attemt into building my own rom however I seemed unable to get a bootable zip until now.
I captured a screen.log to scan for any errors later (NO clue what im looking for in here)
So I searched the log for "waiting for unfinished jobs" because this is always what seems to happen to me and this time i was ready to find the errors. Well lucky for me every job finished so what I am wondering is does this mean that my build compiled correctly even though i have warnings like crazy in the 140000+ lines of the screen.log
as for the second question. Is there any easier eay to scan a screen.log for where the build errors are or do i just have to run through all the line blind because im not exactly sure what to look for yet (one day i plane to have more of an understanding this is just early in my rom building career.)
EDIT~!~!~!~!~!~!~
Okay new problem. When i originally synced my repo to cm11 i was on python 2.7.4 and thats how i tried the first build on this ubuntu and it failed. I updated to python 2.7.6 because every time i grabbed 2.7.5 i kept getting unsuspected End Of File errors. So I installed 2.7.6 with (sudo make install) instead of (sudo make altinstall) like some guides read (This is because when i used altinstall brunch always gets to waiting for unfinished jobs.)
What i was getting at was now that im on python 2.7.6 when i try to initialize another repo to another folder I receive this error.
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error unknown url type: https
Click to expand...
Click to collapse
However I can repo sync my cm11 repo still just can not initialize a new repo to another directory
Any help is appreciated
hipsh0t said:
Im building cyanogenmod 11 for the htc dna, this is my first attemt into building my own rom however I seemed unable to get a bootable zip until now.
I captured a screen.log to scan for any errors later (NO clue what im looking for in here)
So I searched the log for "waiting for unfinished jobs" because this is always what seems to happen to me and this time i was ready to find the errors. Well lucky for me every job finished so what I am wondering is does this mean that my build compiled correctly even though i have warnings like crazy in the 140000+ lines of the screen.log
as for the second question. Is there any easier eay to scan a screen.log for where the build errors are or do i just have to run through all the line blind because im not exactly sure what to look for yet (one day i plane to have more of an understanding this is just early in my rom building career.)
Click to expand...
Click to collapse
There are a ton of warnings, one error (failing to build modules, which you can ignore). The last thing printed is the path to the zip. If it printed that, the build completed successfully.
To find the errors, try searching from the end for Error (capital E).
@crpalmer
Yea I just found the zip its booting as we speak.
Thanks
So excited this is finally working I been messing with Ubuntu for like 2 weeks
hipsh0t said:
Okay new problem. When i originally synced my repo to cm11 i was on python 2.7.4 and thats how i tried the first build on this ubuntu and it failed. I updated to python 2.7.6 because every time i grabbed 2.7.5 i kept getting unsuspected End Of File errors. So I installed 2.7.6 with (sudo make install) instead of (sudo make altinstall) like some guides read (This is because when i used altinstall brunch always gets to waiting for unfinished jobs.)
What i was getting at was now that im on python 2.7.6 when i try to initialize another repo to another folder I receive this error.
However I can repo sync my cm11 repo still just can not initialize a new repo to another directory
Click to expand...
Click to collapse
I'm not expert so crpalmer or someone may be able to tell you more directly. But here is a few things:
Did you install SSL for python?
Code:
$ sudo apt-get install libssl1.0.0=1.0.1-4ubuntu5.3
$ sudo apt-get install libssl-dev
Try reinstalling Python. I installed it the simple way and its working fine for my builds.
Code:
$ sudo apt-get install python
What repo were you trying to initialize?
tes4p00ner said:
I'm not expert so crpalmer or someone may be able to tell you more directly. But here is a few things:
Did you install SSL for python?
Code:
$ sudo apt-get install libssl1.0.0=1.0.1-4ubuntu5.3
$ sudo apt-get install libssl-dev
Try reinstalling Python. I installed it the simple way and its working fine for my builds.
Code:
$ sudo apt-get install python
What repo were you trying to initialize?
Click to expand...
Click to collapse
It was every repo and I tried the normal way I must have started from a fresh Ubuntu install once every few days figuring out where I went wrong. I'm going to check on the ssl for Python. So far this is the furthest I've made it. One built cm11 rom and I'm only learning more every day I research
EDIT------------
[email protected]:~$ sudo apt-get install libssl1.0.0=1.0.1-4ubuntu5.3
[sudo] password for jk:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.0.1-4ubuntu5.3' for 'libssl1.0.0' was not found
Click to expand...
Click to collapse
Im trying to make sure my precise repos are in place for apt-get however im still getting this message.
Hello guys, first of all let me clarify that im a noob, but what the hell. i decided making my first steps into android development,
so i decided first of all i ll try make a build of my favorite rom (pacman rom) from their source.
im following this guide : http://opensourcegangster.com/blog/...d-your-own-cyanogenmod-custom-rom-from-source
and the videoguide related to it : http://www.youtube.com/watch?v=GAyxypK7_K8
but obviously replacing the cyanogenmod github used in the guide by pacman's github.
well lets get started, i set up a virtual machine using virtual box and ubuntu, and i got till step 5 without issues.
its repo sync time, i initiallise the repo, start repo sync, and here is the first problem i encountered.
at 32% more or less, i starting getting errors(couldnt resolve host,url return error 403,could fetch something) finally after a few minutes the repo sync ends with the message " stop sync due to fetching errors". looking up on the internet i found a way to solve this.instead of using repo sync. i had used repo sync -f . this makes the repo continues syncing although fetch errors.with this modification repo sync finish correctly
the first question is: is this well done or my source ll be incomplete because of those thing it couldnt fetch?.in case its not well done what should i do?.
once i solved this doubt i ll continue explaining other problems i had after this one.
thanks a lot guys
The screenshot is attached! Got this error after the download was complete!
Syncing work tree: 58% (268/462) error: in `sync -f`: revision refs/heads/cm-11.0 in CyanogenMod/android_frameworks_base not found
Anyone has any idea what can be wrong? Or any solution?
shahrukhqasim said:
The screenshot is attached! Got this error after the download was complete!
Syncing work tree: 58% (268/462) error: in `sync -f`: revision refs/heads/cm-11.0 in CyanogenMod/android_frameworks_base not found
Anyone has any idea what can be wrong? Or any solution?
Click to expand...
Click to collapse
it looks like you initialised your repo to 'refs/heads/cm-11.0' when it should just be 'cm-11.0' but I can't be 100% sure.
Try just 'repo sync' rather than 'repo sync -f'
is it the first time this has happened? Is it the first time you have done a repo sync?
matt4321 said:
it looks like you initialised your repo to 'refs/heads/cm-11.0' when it should just be 'cm-11.0' but I can't be 100% sure.
Try just 'repo sync' rather than 'repo sync -f'
is it the first time this has happened? Is it the first time you have done a repo sync?
Click to expand...
Click to collapse
I have tried that too -f gives some other error in fetching some project. I have deleted everything and restarted. I hope error will disappear. Its so huge download anyway. And yes, its my first time trying to get code. Wanted to start development.
shahrukhqasim said:
I have tried that too -f gives some other error in fetching some project. I have deleted everything and restarted. I hope error will disappear. Its so huge download anyway. And yes, its my first time trying to get code. Wanted to start development.
Click to expand...
Click to collapse
It's good you're wanting to start developing! Maybe give it a day and try again, it may be a CM side problem.
You can always ask here for help: http://forum.xda-developers.com/showthread.php?t=2620389
matt4321 said:
It's good you're wanting to start developing! Maybe give it a day and try again, it may be a CM side problem.
You can always ask here for help: http://forum.xda-developers.com/showthread.php?t=2620389
Click to expand...
Click to collapse
Here in our country, internet connection is slow. It took like 3 days last time to sync all the code. I am doing it again. I'll keep in touch! I am very much hopeful I won't run into any problems this time. Thanks!
matt4321 said:
It's good you're wanting to start developing! Maybe give it a day and try again, it may be a CM side problem.
You can always ask here for help: http://forum.xda-developers.com/showthread.php?t=2620389
Click to expand...
Click to collapse
Found the issue. It had something to do with the file system. Some error occurred. A directory was not accessible neither could delete nor read. I checked the file system from windows. It was actually an NTFS drive. I mount it on Ubuntu. Then I was able to delete it and now started from scratch.
I wanted to ask if it is OK to use NTFS file system? Or it might cause some issues like if file names become very long or any other issue?
matt4321 said:
it looks like you initialised your repo to 'refs/heads/cm-11.0' when it should just be 'cm-11.0' but I can't be 100% sure.
Try just 'repo sync' rather than 'repo sync -f'
is it the first time this has happened? Is it the first time you have done a repo sync?
Click to expand...
Click to collapse
how can i resolve this
Syncing work tree: 59% (277/469) error: in `sync -f`: revision refs/heads/cm-11.0 in CyanogenMod/android_frameworks_base not found
repo init also not working how can resolve this
I'm having issues building a pure AOSP ROM for my Sprint s3. I made a local_manifests file and created a roomservice.xml file with Muppet repo installed. Now when I run the lunch command I see my device, cm_d2lte, as a option. I select it and I get a error saying, "can't locate config makefile for product cm_d2lte". After doing some research I found that I needed to make edits to the Android.mk and AndroidProduct.mk so it will point to the correct device and I still get this error. This is my 1st time having this issue building a ROM, built cm11 without a hiccup. Could use the help. Thanks.