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
Related
hi at all
i'll try to compile my first rom from suorce,but not have a good internet bands.
my question is:
can i download the suorce in two or three different times???
for example:
the first part at 6am
shutdown my pc
the second at 8pm
thanks to all!
antonio8297 said:
hi at all
i'll try to compile my first rom from suorce,but not have a good internet bands.
my question is:
can i download the suorce in two or three different times???
for example:
the first part at 6am
shutdown my pc
the second at 8pm
thanks to all!
Click to expand...
Click to collapse
You can start the sync (download) whenever it is convenient for you and when you need to "pause" the sync simply do CTRL-C at the terminal window and that will allow you to do other things with your bandwidth. When you are ready to start up again simply repo sync and it will pick up where you left off. Keep in mind however, that if there were any changes made to content you initially synced, those changes will also be made to that data therefore increasing time and bandwidth.
bobpantsspongesquare said:
You can start the sync (download) whenever it is convenient for you and when you need to "pause" the sync simply do CTRL-C at the terminal window and that will allow you to do other things with your bandwidth. When you are ready to start up again simply repo sync and it will pick up where you left off. Keep in mind however, that if there were any changes made to content you initially synced, those changes will also be made to that data therefore increasing time and bandwidth.
Click to expand...
Click to collapse
tried at work.
i stay syncing aosp repos,but i'll delete it.
can i delete the repo synced without finished the process??
antonio8297 said:
tried at work.
i stay syncing aosp repos,but i'll delete it.
can i delete the repo synced without finished the process??
Click to expand...
Click to collapse
Sure. If it's not finished, you won't be able to build though..
Sent from my Galaxy Nexus running Android 4.2 JB
mDroidd said:
Sure. If it's not finished, you won't be able to build though..
Sent from my Galaxy Nexus running Android 4.2 JB
Click to expand...
Click to collapse
if I do not want to finish the download, how can I delete the downloaded files?
antonio8297 said:
if I do not want to finish the download, how can I delete the downloaded files?
Click to expand...
Click to collapse
For example, you downloaded the source in directory WORKING_AOSP, you just delete the folder.
If you synced it home directory (not smart), you delete the .repo and .git directories. Beware that you may delete files you want to keep!
Sent from my Galaxy Nexus running Android 4.2 JB
Im not quite sure what it wants cause there isnt any folder there that it is calling
Code:
Notice file: system/core/netcfg/NOTICE -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/NOTICE_FILES/src//system/bin/netcfg.txt
Import includes file: /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/pngtest_intermediates/import_includes
Export includes file: external/libpng/Android.mk -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/pngtest_intermediates/export_includes
Notice file: external/libpng/NOTICE -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/NOTICE_FILES/src//system/bin/pngtest.txt
Import includes file: /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/radiooptions_intermediates/import_includes
Export includes file: hardware/ril/rild/Android.mk -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/radiooptions_intermediates/export_includes
Notice file: hardware/ril/rild/NOTICE -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/NOTICE_FILES/src//system/bin/radiooptions.txt
make: *** No rule to make target `/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/rild_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
any help would be appreciated
I figured it out lol this is my first time being serious building something, but yay its still building so fingers crossed:fingers-crossed:
T10NAZ said:
Im not quite sure what it wants cause there isnt any folder there that it is calling
Code:
Notice file: system/core/netcfg/NOTICE -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/NOTICE_FILES/src//system/bin/netcfg.txt
Import includes file: /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/pngtest_intermediates/import_includes
Export includes file: external/libpng/Android.mk -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/pngtest_intermediates/export_includes
Notice file: external/libpng/NOTICE -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/NOTICE_FILES/src//system/bin/pngtest.txt
Import includes file: /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/radiooptions_intermediates/import_includes
Export includes file: hardware/ril/rild/Android.mk -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/radiooptions_intermediates/export_includes
Notice file: hardware/ril/rild/NOTICE -- /home/joe/[ubuntuTouch]/out/target/product/jewel/obj/NOTICE_FILES/src//system/bin/radiooptions.txt
make: *** No rule to make target `/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/rild_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
any help would be appreciated
Click to expand...
Click to collapse
I had same wrong . How to figure out? @T10NAZ
luzifer1984 said:
I had same wrong . How to figure out? @T10NAZ
Click to expand...
Click to collapse
You need to go to the directories that are said here that was in that error,
Code:
`/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/rild_intermediates/import_includes'.
and make the needed files. So i think i went all the way to the libril_intermediate folder then i needed to create the export_includes folder
T10NAZ said:
You need to go to the directories that are said here that was in that error,
Code:
`/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/SHARED_LIBRARIES/libril_intermediates/export_includes', needed by `/home/joe/[ubuntuTouch]/out/target/product/jewel/obj/EXECUTABLES/rild_intermediates/import_includes'.
and make the needed files. So i think i went all the way to the libril_intermediate folder then i needed to create the export_includes folder
Click to expand...
Click to collapse
Thank U.
I add
Code:
$(shell mkdir -p $(OUT)/obj/SHARED_LIBRARIES/libril_intermediates)
$(shell touch $(OUT)/obj/SHARED_LIBRARIES/libril_intermediates/export_includes)
in 'BoardConfig.mk' . Compiled successfully. but don't work.
I figured it out.
WITH In BoardConfig.mk Comment out this line
> # RIL
> BOARD_PROVIDES_LIBRIL := true
ANY way . Thank u for reply
luzifer1984 said:
Thank U.
I add
Code:
$(shell mkdir -p $(OUT)/obj/SHARED_LIBRARIES/libril_intermediates)
$(shell touch $(OUT)/obj/SHARED_LIBRARIES/libril_intermediates/export_includes)
in 'BoardConfig.mk' . Compiled successfully. but don't work.
I figured it out.
WITH In BoardConfig.mk Comment out this line
> # RIL
> BOARD_PROVIDES_LIBRIL := true
ANY way . Thank u for reply
Click to expand...
Click to collapse
Sorry for digging up this old thread, but I am trying to build for the Evita and encountered this same error. Here was my error.
Just for clarification, did this allow a successful build after editing the BoardConfig.mk? Did it boot?
Black!Jack said:
Sorry for digging up this old thread, but I am trying to build for the Evita and encountered this same error. Here was my error.
Just for clarification, did this allow a successful build after editing the BoardConfig.mk? Did it boot?
Click to expand...
Click to collapse
I dont know if you already found your answer, But I have tried the boardconfig edit and it seems like its building right now it got past the RIL thing
Oh also I had to add qcom media-caf to help get past some libstagefright error too
T10NAZ said:
I dont know if you already found your answer, But I have tried the boardconfig edit and it seems like its building right now it got past the RIL thing
Oh also I had to add qcom media-caf to help get past some libstagefright error too
Click to expand...
Click to collapse
Yeah I ran into some issues with QCOM as well. I just went in, temporarily, to the directory listed in the error, and commented out the line that was stalling the build. Longest Ive been able to keep it building so far.
One other thing that I had to do was pull in the nfc-extras folder from frameworks/base... as I was constantly getting stalled there as well.
Black!Jack said:
Yeah I ran into some issues with QCOM as well. I just went in, temporarily, to the directory listed in the error, and commented out the line that was stalling the build. Longest Ive been able to keep it building so far.
One other thing that I had to do was pull in the nfc-extras folder from frameworks/base... as I was constantly getting stalled there as well.
Click to expand...
Click to collapse
That's good. One snag that I did hit was everything built just fine and flashed a ok, but it didnt boot >.< I dont know why it didnt. I am thinking its because it is having a hard time going to the data partition or something idk
T10NAZ said:
That's good. One snag that I did hit was everything built just fine and flashed a ok, but it didnt boot >.< I dont know why it didnt. I am thinking its because it is having a hard time going to the data partition or something idk
Click to expand...
Click to collapse
Did you update the kernel config file for your device? Any patches?
What device are you building for?
Another thing I am going to attempt is bringing up the phablet source to cm11, rather that cm10.1, which was 4.2.2
Black!Jack said:
Did you update the kernel config file for your device? Any patches?
What device are you building for?
Another thing I am going to attempt is bringing up the phablet source to cm11, rather that cm10.1, which was 4.2.2
Click to expand...
Click to collapse
Yea I put all the kernel configs that I didnt have in and the only thing that I did change was removing the nosuid thing from the data. I did find however that in the scripts/touch folder for the ramdisk has the partition calling and mounting script thing. I wonder if I need to edit that in order for it to boot
Black!Jack said:
Another thing I am going to attempt is bringing up the phablet source to cm11, rather that cm10.1, which was 4.2.2
Click to expand...
Click to collapse
UT moved from CM to AOSP. There is a new AOSP 4.4 based phablet tree.
Sent from my TF300T using Tapatalk
f69m said:
UT moved from CM to AOSP. There is a new AOSP 4.4 based phablet tree.
Sent from my TF300T using Tapatalk
Click to expand...
Click to collapse
Awesome news indeed! I'm on the mailing list, but honestly I haven't paid much attention to it as of late. Now I just have to do some work to the CM device tree to get it to build with AOSP.
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
When I run the ./get-prebuilts command i get "no such file or directory exists". I also get a "remote object '/system/app/CIRModule.apk' does not exist" when running the ./extract-files.sh. Any help? Thanks.
go to your device tree and open proprietary-files.txt and delete the line then save it bud.
Evolutionmods said:
go to your device tree and open proprietary-files.txt and delete the line then save it bud.
Click to expand...
Click to collapse
Why just delete it? I did this then it complained about "system/app/EasyAccessService/EasyAccessService.apk" so I removed it and it complained about "system/vendor/lib/libtime_genoff.so"
Something doesn't seem right here.
I am trying to build cm 12.1 btw.
jfain said:
Why just delete it? I did this then it complained about "system/app/EasyAccessService/EasyAccessService.apk" so I removed it and it complained about "system/vendor/lib/libtime_genoff.so"
Something doesn't seem right here.
I am trying to build cm 12.1 btw.
Click to expand...
Click to collapse
You don't have to delete them , it's just a work around. Those errors are are initially from the vendor, when you ran the extract-files.sh it didn't pull those most likely. You can gather from the Rom itself or find a more complete m8 vendor on github.
OK, those three files was the only missing from the current nightly I believe. I'll look on git hub this evening.
Thanks!