[Q] Problems while building cm10 mint for Xperia T - Sony Xperia T, TL, TX, V

Hello,
I'm trying to build cm10 branch mint for my Xperia T on my own using the build howTo in CM wiki:
Code:
wiki.cyanogenmod.org/index.php?title=Build_for_mint
I have setup a current version of Ubuntu as suggested:
Code:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
I downloaded the source and now get stuck at the following command:
Code:
$ breakfast mint
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/mint/cm.mk]]: "device/*/mint/cm.mk" does not exist. Stop.
Device mint not found. Attempting to retrieve device repository from CyanogenMod Github (****).
Found repository: android_device_sony_mint
Adding dependency: CyanogenMod/android_device_sony_mint -> device/sony/mint
Syncing repository to retrieve project.
error: project device/sony/mint not found
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/mint/cm.mk]]: "device/*/mint/cm.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_mint'
** Do you have the right repo manifest?
What's wrong with the cm repository that there is no mint device?
Thank you.

Hi,
tried again, now ´breakfast mint´ gives an other error message. I'm still unable to build android.
Code:
$ breakfast mint
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/mint/cm.mk]]: "de vice/*/mint/cm.mk" does not exist. Stop.
Device mint not found. Attempting to retrieve device repository from CyanogenMod Github (github.com/CyanogenMod).
Found repository: android_device_sony_mint
Adding dependency: CyanogenMod/android_device_sony_mint -> device/sony/mint
Syncing repository to retrieve project.
remote: Counting objects: 305, done.
remote: Compressing objects: 100% (125/125), done.
remote: Total 305 (delta 163), reused 288 (delta 156)
Receiving objects: 100% (305/305), 48.99 KiB, done.
Resolving deltas: 100% (163/163), done.
From github.com/CyanogenMod/android_device_sony_mint
* [new branch] jellybean -> github/jellybean
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency: CyanogenMod/android_device_sony_blue-common -> device/sony/bl ue-common
Adding dependency: CyanogenMod/android_kernel_sony_msm8x60 -> kernel/sony/msm8x6 0
Adding dependency: CyanogenMod/android_packages_apps_FMRadio -> packages/apps/Fm Radio
Adding dependency: CyanogenMod/android_hardware_sony_DASH -> hardware/sony/DASH
Syncing dependencies
remote: Counting objects: 235, done.
remote: Compressing objects: 100% (127/127), done.
remote: Counting objects: 424, done.
remote: Compressing objects: 100% (157/157), done.
remote: Counting objects: 944, done.
remote: Compressing objects: 100% (395/395), done.
remote: Total 424 (delta 268), reused 386 (delta 259)
Receiving objects: 100% (424/424), 154.75 KiB | 187 KiB/s, done.
Resolving deltas: 100% (268/268), done.0 KiB | 182 KiB/s
remote: Total 235 (delta 59), reused 229 (delta 53)
Receiving objects: 100% (235/235), 206.98 KiB | 182 KiB/s, done.
Resolving deltas: 100% (59/59), done.
From github.com/CyanogenMod/android_hardware_sony_DASH
* [new branch] jellybean -> github/jellybean
From github.com/CyanogenMod/android_packages_apps_FMRadio
* [new branch] jellybean -> github/jellybean
remote: Total 944 (delta 480), reused 882 (delta 450)
Receiving objects: 100% (944/944), 2.79 MiB | 387 KiB/s, done.
Resolving deltas: 100% (480/480), done.
From github.com/CyanogenMod/android_device_sony_blue-common
* [new branch] jellybean -> github/jellybean
remote: Counting objects: 62614, done.
remote: Compressing objects: 100% (41096/41096), done.
remote: Total 62614 (delta 22033), reused 44532 (delta 20884)
Receiving objects: 100% (62614/62614), 124.52 MiB | 803 KiB/s, done.
Resolving deltas: 100% (22033/22033), done.
From github.com/CyanogenMod/android_kernel_sony_msm8x60
* [new branch] jellybean -> github/jellybean
Fetching projects: 100% (4/4), done.
Checking out files: 100% (39583/39583), done.
Syncing work tree: 100% (4/4), done.
Done
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/mint/cm.mk]]: "vendor/sony/blue-common/common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_mint'
** Do you have the right repo manifest?

I finally managed to build a cm...UNOFICIAL-mint.zip (after removing broken RAM modules and increasing amount of RAM).
This custom ROM does not boot: The screen remains black after FreeXperia logo was shown.
I Comared my rome to a nightly one, there are some files missing in mine:
updater WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin a225_pfp.fw a225_pm4.fw a225p5_pm4.fw a300_pfp.fw a300_pm4.fw leia_pfp_470.fw leia_pm4_470.fw build-manifest.xml CHANGES.txt eglsubAndroid.so libEGL_adreno200.so libGLESv1_CM_adreno200.so libGLESv2_adreno200.so libGLESv2S3D_adreno200.so libplayback_adreno200.so libq3dtools_adreno200.so libC2D2.so libc2d2_a3xx.so libc2d2_z180.so libgsl.so libllvm-a3xx.so libllvm-arm.so libOpenCL.so libOpenVG.so libsc-a2xx.so libsc-a3xx.so
Don't know whether they should have been build or downloaded somewhere.

Selaron said:
I finally managed to build a cm...UNOFICIAL-mint.zip (after removing broken RAM modules and increasing amount of RAM).
This custom ROM does not boot: The screen remains black after FreeXperia logo was shown.
I Comared my rome to a nightly one, there are some files missing in mine:
updater WCNSS_cfg.dat WCNSS_qcom_cfg.ini WCNSS_qcom_wlan_nv.bin a225_pfp.fw a225_pm4.fw a225p5_pm4.fw a300_pfp.fw a300_pm4.fw leia_pfp_470.fw leia_pm4_470.fw build-manifest.xml CHANGES.txt eglsubAndroid.so libEGL_adreno200.so libGLESv1_CM_adreno200.so libGLESv2_adreno200.so libGLESv2S3D_adreno200.so libplayback_adreno200.so libq3dtools_adreno200.so libC2D2.so libc2d2_a3xx.so libc2d2_z180.so libgsl.so libllvm-a3xx.so libllvm-arm.so libOpenCL.so libOpenVG.so libsc-a2xx.so libsc-a3xx.so
Don't know whether they should have been build or downloaded somewhere.
Click to expand...
Click to collapse
You might've forgotten proprietaries? https://github.com/CustoNexus/vendor_sony
make sure the contents of this repo (at least blue, mint and qcom) are in ~/vendor/sony/
Cheers

Hi djpbx,
thanks for response.
Shouldn't "breakfast mint" do this?
I extracted the proprietaries named in "proprietaryfiles.txt" from nighly build zips.

Selaron said:
Hi djpbx,
thanks for response.
Shouldn't "breakfast mint" do this?
I extracted the proprietaries named in "proprietaryfiles.txt" from nighly build zips.
Click to expand...
Click to collapse
Usually i add device tree and vendor files manually, let roomservice get dependencies when brunching.
Breakfast does not fetch proprietaries
Sent from my LT30p using xda app-developers app

I finally succeeded in building a usable ROM with OpenPdroid patches cleanly applied, thanks to you

Selaron said:
I finally succeeded in building a usable ROM with OpenPdroid patches cleanly applied, thanks to you
Click to expand...
Click to collapse
No problems. I like to help people. Hope you have fun compiling
Sent from my LT30p using xda app-developers app

I now encountered a problem running
breakfast mint
It was missing the file vendor/sony/blue-common/blue-common-vendor.mk:
Code:
$ breakfast mint
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/mint/cm.mk]]: "vendor/sony/blue-common/blue-common-vendor.mk" does not exist. Stop.
Device mint not found. Attempting to retrieve device repository from CyanogenMod Github (...github.com/CyanogenMod).
Found repository: android_device_sony_mint
Default revision: cm-10.1
Checking branch info
CyanogenMod/android_device_sony_mint already exists
Syncing repository to retrieve project.
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/sony/mint/cm.mk]]: "vendor/sony/blue-common/blue-common-vendor.mk" does not exist. Stop.
** Don't have a product spec for: 'cm_mint'
** Do you have the right repo manifest?
I gave it to him by
cd vendor/sony/blue-common/
mv common-vendor.mk blue-common-vendor.mk
Now "breakfast mint" succeeds without error, let's see whether it compiles ...

Related

Problems building CM7 from repo source

So, I finally setup my x64 system. I got everything rolling so that I can try to build CM7 for my phone from atinm's repo. So I initialize the repo and sync it.
The sync fails because 'teamhacksung/gingerbread' cannot be found!
Also, it takes FOREVER to sync!
Ideas?
Regards
Smith
smithisize said:
So, I finally setup my x64 system. I got everything rolling so that I can try to build CM7 for my phone from atinm's repo. So I initialize the repo and sync it.
The sync fails because 'teamhacksung/gingerbread' cannot be found!
Also, it takes FOREVER to sync!
Ideas?
Regards
Smith
Click to expand...
Click to collapse
I can confirm that it takes forever; that's normal. But I'm not sure about the error. Can you tell me what instructions your following?
Also, I got a different error than you, and I eventually just gave up. It was something about not being able to find something to do with audio.
Loggik said:
I can confirm that it takes forever; that's normal. But I'm not sure about the error. Can you tell me what instructions your following?
Also, I got a different error than you, and I eventually just gave up. It was something about not being able to find something to do with audio.
Click to expand...
Click to collapse
I'm following the instructions here: https://github.com/coolya/android/
Except I'm using atinm's repo. Just doesn't find the teamhacksung/gingerbread repository
smithisize said:
I'm following the instructions here: https://github.com/coolya/android/
Except I'm using atinm's repo. Just doesn't find the teamhacksung/gingerbread repository
Click to expand...
Click to collapse
repo init -u git://github.com/teamhacksung/android.git -b gingerbread
repo sync -j40
Those are the two commands... I think you're typing the wrong link for the repo
Also, if you run into any errors that you personally deem minor, use the -f modifier (repo sync -j40 -f) to force it to ignore any errors and continue syncing.
Why're you using teamhacksung's repo and not Coolya's? Is Coolya's repo not being updated anymore?
Loggik said:
repo init -u git://github.com/teamhacksung/android.git -b gingerbread
repo sync -j40
Those are the two commands... I think you're typing the wrong link for the repo
Also, if you run into any errors that you personally deem minor, use the -f modifier (repo sync -j40 -f) to force it to ignore any errors and continue syncing.
Why're you using teamhacksung's repo and not Coolya's? Is Coolya's repo not being updated anymore?
Click to expand...
Click to collapse
It isn't those instructions exactly, I just don't have time to go find the site I was on again lol. It's straight from atinm's github I think idk lol. But I'm following his instructions.
HOWEVER, the -f parameter will save my life and (hopefully) alleviate this problem!
Thank you so much! I'm not familiar with repos and didn't know that param was applicable lol
Regards
Smith
smithisize said:
It isn't those instructions exactly, I just don't have time to go find the site I was on again lol. It's straight from atinm's github I think idk lol. But I'm following his instructions.
HOWEVER, the -f parameter will save my life and (hopefully) alleviate this problem!
Thank you so much! I'm not familiar with repos and didn't know that param was applicable lol
Regards
Smith
Click to expand...
Click to collapse
Lol I'm not too familiar with repos myself either, but to find parameters, you can usually just type the name of the program without any other params (repo) and it will list all the info. Then to get more info on a certain thing (sync), it tells you to type "repo help sync", and will list all the applicable "sync" parameters.
Just be careful though... you're telling it that even if it's missing a file that it thinks it should have, to keep on going. That means that even if you're missing something very important, you probably won't know it and may end up (soft, hopefully)-bricking your phone.
Loggik said:
Lol I'm not too familiar with repos myself either, but to find parameters, you can usually just type the name of the program without any other params (repo) and it will list all the info. Then to get more info on a certain thing (sync), it tells you to type "repo help sync", and will list all the applicable "sync" parameters.
Just be careful though... you're telling it that even if it's missing a file that it thinks it should have, to keep on going. That means that even if you're missing something very important, you probably won't know it and may end up (soft, hopefully)-bricking your phone.
Click to expand...
Click to collapse
Yeah. I wish someone knew why it's doing that >:0
Well I follow the new instructions here: http://forum.cyanogenmod.com/topic/15513-all-models-cyanogenmod-7-developer-thread/
And run into the following (lots of problems fetching things):
Code:
From git://github.com/CyanogenMod/android_frameworks_base
eae76b9..bf17157 gingerbread -> github/gingerbread
Fetching projects: 52% (121/231) Receiving objects: 96% (13034/13460), 4.05 Mfatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/oprofile
fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/proguard
remote: Counting objects: 393, done.
remote: Counting objects: 55, done.
remote: Counting objects: 73, done.
remote: Compressing objects: 100% (46/46), done.
remote: Compressing objects: 100% (61/61), done.
remote: Compressing objects: 100% (319/319), done.
remote: Total 13460 (delta 9435), reused 13015 (delta 9044)
Fetching projects: 56% (130/231) Receiving objects: 20% (80/393), 36.00 KiB |fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/oauth
Fetching projects: 57% (132/231) Receiving objects: 99% (13372/13460), 4.61 MReceiving objects: 100% (13460/13460), 4.63 MiB | 120 KiB/s, done.
Resolving deltas: 100% (9435/9435), done. KiB | 70 KiB/s 5221/9435)
From git://github.com/CyanogenMod/android_build 83 KiB/s
* [new branch] donut -> github/donut
* [new branch] eclair -> github/eclair
* [new branch] froyo -> github/froyo
* [new branch] froyo-stable -> github/froyo-stable
* [new branch] gingerbread -> github/gingerbread
fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/easymock
fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/dnsmasq
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_wireless-tools
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_lsof
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_webkit
Fetching projects: 60% (139/231) fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/genext2fs
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_wpa_supplicant_6
remote: Total 55 (delta 10), reused 0 (delta 0)
Unpacking objects: 100% (55/55), done.
From git://github.com/teamhacksung/gingerbread-vibrant-initramfs
* [new branch] gingerbread -> github/gingerbread
Fetching projects: 63% (146/231) Receiving objects: 30% (118/393), 900.00 KiBfatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_wpa_supplicant
Fetching projects: 66% (153/231) Receiving objects: 30% (120/393), 1.42 MiB |Fetching projects: 67% (155/231) Receiving objects: 31% (122/393), 1.63 MiB |fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_hardware_libhardware
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_rsync
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_v8
Fetching projects: 68% (158/231) fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_packages_apps_AndroidTerm
fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/packages/apps/AccountsAndSyncSettings
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_packages_apps_ADWLauncher
Fetching projects: 70% (162/231) Receiving objects: 78% (307/393), 2.51 MiB |fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/qemu
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_hardware_alsa_sound
fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/packages/apps/Gallery
remote: Counting objects: 53, done.
remote: Total 73 (delta 23), reused 0 (delta 0)
Unpacking objects: 100% (73/73), done.
From git://github.com/teamhacksung/gingerbread-captivate-initramfs
* [new branch] master -> github/master
remote: Compressing objects: 100% (11/11), done.
remote: Total 46 (delta 38), reused 43 (delta 35)
Unpacking objects: 100% (46/46), done.
From git://github.com/tmobile/themes-platform-vendor-tmobile-themes-Androidian
70277ed..7f5e2bb master -> themes/master
Fetching projects: 76% (176/231) Receiving objects: 98% (386/393), 4.22 MiB |fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_packages_apps_GanOptimizer
Fetching projects: 77% (178/231) Receiving objects: 99% (390/393), 4.61 MiB |remote: Total 393 (delta 186), reused 114 (delta 26)
Fetching projects: 78% (181/231) fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_packages_inputmethods_LatinIME
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_packages_apps_DSPManager
Receiving objects: 100% (393/393), 4.93 MiB | 199 KiB/s, done.
Resolving deltas: 100% (186/186), done.
From git://github.com/teamhacksung/gingerbread-galaxys-initramfs
* [new branch] 2-6-25 -> github/2-6-25
* [new branch] 2.6.35 -> github/2.6.35
* [new branch] master -> github/master
Fetching projects: 79% (183/231) fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_packages_providers_DownloadProvider
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_packages_apps_Phone
fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/packages/providers/GoogleContactsProvider
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 5), reused 0 (delta 0)
Unpacking objects: 100% (7/7), done.
From git://github.com/tmobile/themes-platform-vendor-tmobile-themes-Cyanbread
4ef8536..fa570f9 master -> themes/master
remote: Total 31 (delta 18), reused 0 (delta 0)
Unpacking objects: 100% (31/31), done.
From git://github.com/teamhacksung/android_device_samsung_captivate
+ b594256...10655de gingerbread -> github/gingerbread (forced update)
remote: Counting objects: 220, done.
remote: Compressing objects: 100% (81/81), done.
remote: Total 124 (delta 55), reused 72 (delta 17)
Receiving objects: 100% (124/124), 18.36 KiB, done.
Resolving deltas: 100% (55/55), completed with 50 local objects.
From git://android.git.kernel.org/platform/sdk
706c0c0..a43666c master -> korg/master
remote: Counting objects: 1637027, done.
remote: Compressing objects: 100% (278423/278423), done.
Check your networking setup - this looks like a problem on your end. Also, use the instructions on cmsgs.com for Captivate for CM7. And please, if you aren't developers - don't try this, this isn't ready for primetime.
atinm said:
Check your networking setup - this looks like a problem on your end. Also, use the instructions on cmsgs.com for Captivate for CM7. And please, if you aren't developers - don't try this, this isn't ready for primetime.
Click to expand...
Click to collapse
I can do that. And I know it's not ready for primetime once I get synced, I won't heckle..
I actually PM'ed the OP to get some help because I was also experiencing
fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/easymock
fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not known)
error: Cannot fetch platform/external/dnsmasq
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_wireless-tools
fatal: Unable to look up github.com (port 9418) (Name or service not known)
error: Cannot fetch CyanogenMod/android_external_lsof
Click to expand...
Click to collapse
His solution was rather hit or miss for me, but I was able to sync the repo by doing the following. I just wanted to post it in this thread as it came up for me during the google process.
To get it to work I used
repo init -u http://github.com/teamhacksung/android.git -b gingerbread
Click to expand...
Click to collapse
in place of
repo init -u git://github.com/teamhacksung/android.git -b gingerbread
Click to expand...
Click to collapse
Also, I didn't use -j40 on the "repo sync" command. Not sure if it would have had any effect using -j40.
Now, I'm pretty inexperienced, but from what I understand this should accomplish the same thing and sync the repo just fine. The sync has been going on for about two hours now, and I haven't seen any errors.

[Q] Compiling Gingerbread/CM7 & Froyo/CM6?

Okay I am trying to compile from the cyanogenmod souce using this site.
When I get to this part of the instructions....
Code:
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync -j16
...the heroc files always fail and don't complete 100%. They stop at like 2% maybe 3% and i've tried those two steps like 5 times over the past 7 hours (syncing takes a while b/c its a few gb worth of files).
I also tried entering.....
Code:
repo sync
... after the above codes so that I could try and get the heroc files that way but still the heroc files would stop after getting a few percent.
EDIT:
Now I tried doing the following....
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android_devide_htc_heroc.get -b gingerbread
Here is the output....
Code:
[email protected]:~/android/system# repo init -u git://github.com/CyanogenMod/android_device_htc_heroc.git -b gingerbread
warning: no common commits
remote: Counting objects: 876, done.
remote: Compressing objects: 100% (494/494), done.
remote: Total 876 (delta 352), reused 671 (delta 240)
Receiving objects: 100% (876/876), 68.43 MiB | 620 KiB/s, done.
Resolving deltas: 100% (352/352), done.
From git://github.com/CyanogenMod/android_device_htc_heroc
+ b61b9da...cb608da froyo -> origin/froyo (forced update)
+ 15bf664...cb608da froyo-stable -> origin/froyo-stable (forced update)
+ 316eefc...89d8116 gingerbread -> origin/gingerbread (forced update)
.repo/manifests/: discarding 217 commits removed from upstream
fatal: manifest 'default.xml' not available
fatal: manifest default.xml not found
[email protected]:~/android/system#
Did it actually work or no? I'm confused because I see the words fatal and discarding so i think something went wrong. I think the file tranfer from the source may have been canceled or failed. Am I wrong? Did the files actually transfer so that I could actually get to compiling now?
Any help with this would be awesome
its funny i never got an answer lol but i think it was because of the internet connection i was using
If I saw this thread when you first posted it I would've told you to do the same thing
Try this first:
Code:
repo sync -j16
if that fails, try this, and keep entering in the command until it's ALL synced
Code:
repo sync
I had the same problem the first time I synced... but then again I was tethering on my phone at the time 200-300Kbs took quite some time haha

[Q] Please help with syncing repo

hey guys, this is not for the ace its for the optimus me p350 but that forum is not really active,, now i have a problem when syncing the repo it always gets to around 80% then fatal errors start then it stops sync
whats going on here,, no matter how many times i try to sync repo, it always starts going into fatal errors around 80%
From git://github.com/CyanogenMod/android_packages_providers_MediaProvider
ef9779b..5c18164 jellybean -> github/jellybean
Fetching projects: 87% (268/307) fatal: remote error:
Repository not found.
Fetching projects: 88% (271/307) fatal: remote error:
Repository not found.
fatal: remote error:
Repository not found.
remote: Counting objects: 450, done.
remote: Compressing objects: 100% (318/318), done.
fatal: remote error: 3% (239/450), 10.39 MiB | 362 KiB/s
Repository not found.
error: Cannot fetch CyanogenMod/android_prebuilt33 KiB/s
fatal: remote error: 3% (286/450), 21.26 MiB | 366 KiB/s
Repository not found.
remote: Total 450 (delta 86), reused 450 (delta 86)
Receiving objects: 100% (450/450), 24.47 MiB | 267 KiB/s, done.
Resolving deltas: 100% (86/86), done.
From git://github.com/CyanogenMod/android_prebuilts_gcc_darwin-x86_arm_arm-eabi-4.6
* [new branch] jellybean -> github/jellybean
fatal: remote error:
Repository not found.
error: Cannot fetch CyanogenMod/android_prebuilts_eclipse
fatal: remote error:
Repository not found.
error: Cannot fetch CyanogenMod/android_prebuilts_gcc_darwin-x86_arm_arm-linux-androideabi-4.6
fatal: remote error:
Repository not found.
error: Cannot fetch CyanogenMod/android_prebuilts_gcc_darwin-x86_mips_mipsel-linux-android-4.4.3

HELP: Not able to send code review(first time gerrit user)

I am trying to send a code review for android_bootable_recovery android-9.0 branch. I was following the gerrit documention and did the following:
git clone ssh://<username>@gerrit.omnirom.org:29418/android_bootable_recovery -b android-9.0 abr && scp -p -P 29418 <username>@gerrit.omnirom.org:hooks/commit-msg abr/.git/hooks/
make changes and commit
Click to expand...
Click to collapse
After that, I try the push and it gives me error as follows:
$ git push ssh://[email protected]:29418/android_bootable_recovery HEAD:refs/for/android-9.0
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 16 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 676 bytes | 676.00 KiB/s, done.
Total 4 (delta 3), reused 1 (delta 1)
remote: Resolving deltas: 100% (3/3)
remote: Branch refs/heads/android-9.0:
remote: You need 'Push' rights to upload code review requests.
remote: Verify that you are pushing to the right branch.
remote: User: vineethrp
remote: Please read the documentation and contact an administrator
remote: if you feel the configuration is incorrect
remote: Processing changes: refs: 1, done
To ssh://gerrit.omnirom.org:29418/android_bootable_recovery
! [remote rejected] HEAD -> refs/for/android-9.0 (create change not permitted for refs/heads/android-9.0)
error: failed to push some refs to 'ssh://[email protected]:29418/android_bootable_recovery'
Click to expand...
Click to collapse
Not sure what am I missing. Any help is greatly appreciated. Thanks

How do I build LineageOS for the Pro1-X?

I tried to build using the Pro1 instructions (https://wiki.lineageos.org/devices/pro1/build) but the "breakfast pro1x" step doesn't work.
$ breakfast pro1x
16:47:13 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
build/make/core/product_config.mk:228: error: Can not locate config makefile for product "lineage_pro1x".
16:47:14 dumpvars failed with: exit status 1
Device pro1x not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_fxtec_pro1x
Default revision: lineage-20.0
Checking branch info
Using fallback branch: lineage-20
Checking if device/fxtec/pro1x is fetched from android_device_fxtec_pro1x
Adding dependency: LineageOS/android_device_fxtec_pro1x -> device/fxtec/pro1x
Syncing repository to retrieve project.
Fetching: 100% (1/1), done in 1.282s
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Traceback (most recent call last):
File "/run/media/kevin/SEAGATE4TB/lineageos/android/lineage/vendor/lineage/build/tools/roomservice.py", line 308, in <module>
fetch_dependencies(repo_path)
File "/run/media/kevin/SEAGATE4TB/lineageos/android/lineage/vendor/lineage/build/tools/roomservice.py", line 228, in fetch_dependencies
dependency['branch'] = get_default_or_fallback_revision(dependency['repository'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/run/media/kevin/SEAGATE4TB/lineageos/android/lineage/vendor/lineage/build/tools/roomservice.py", line 262, in get_default_or_fallback_revision
result = json.loads(urllib.request.urlopen(githubreq).read().decode())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
A comment was made about roomservice.xml which shows:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/fxtec/pro1x" remote="github" name="LineageOS/android_device_fxtec_pro1x" revision="lineage-20" />
</manifest>
It's trying to get the list of branches:
Requesting: https://api.github.com/repos/LineageOS/android_kernel_fxtec_s6115/branches
But this returns 404 because there are no branches. It's looking for the lineage-20.0 branch.
In comparison, for the Pro1, there are branches.
So then I guess the question becomes: how does one develop with a pre-release device that doesn't have branches yet?
Ahh, I see, I think the problem is in this file: https://github.com/LineageOS/android_device_fxtec_pro1x/blob/lineage-20/lineage.dependencies
The repository is incorrect:
"repository": "android_kernel_fxtec_s6115",
It should be sm6115.
Created issue: https://gitlab.com/LineageOS/issues/infra/-/issues/143
kevgrig said:
Ahh, I see, I think the problem is in this file: https://github.com/LineageOS/android_device_fxtec_pro1x/blob/lineage-20/lineage.dependencies
The repository is incorrect:
"repository": "android_kernel_fxtec_s6115",
It should be sm6115.
Click to expand...
Click to collapse
I've merged a fix with credit to you.
Thanks.
rm .repo/local_manifests/roomservice.xml and try again pls
npjohnson said:
I've merged a fix with credit to you.
Thanks.
rm .repo/local_manifests/roomservice.xml and try again pls
Click to expand...
Click to collapse
Thanks! I'll check soon
npjohnson said:
I've merged a fix with credit to you.
Thanks.
rm .repo/local_manifests/roomservice.xml and try again pls
Click to expand...
Click to collapse
Thanks, it's getting farther now. I removed .repo/local_manifests/roomservice.xml and re-ran `breakfast pro1x` but now it's complaining about missing vendor/fxtec/pro1x/pro1x-vendor.mk. Oddly, it's looking in vendor/fxtec which doesn't exist.
# breakfast pro1x
21:29:32 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:29:34 dumpvars failed with: exit status 1
Device pro1x not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_fxtec_pro1x
Looking up fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Requesting: https://api.github.com/repos/LineageOS/android_device_fxtec_pro1x/branches
Using fallback branch: lineage-20
Checking if device/fxtec/pro1x is fetched from android_device_fxtec_pro1x
Adding dependency: LineageOS/android_device_fxtec_pro1x -> device/fxtec/pro1x
Syncing repository to retrieve project.
Fetching: 100% (2/2), done in 2.005s
.repo/repo: project not found in manifest.
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Requesting: https://api.github.com/repos/LineageOS/android_kernel_fxtec_sm6115/branches
Using fallback branch: lineage-20
Adding dependencies to manifest
Checking if kernel/fxtec/sm6115 is fetched from android_kernel_fxtec_sm6115
Adding dependency: LineageOS/android_kernel_fxtec_sm6115 -> kernel/fxtec/sm6115
Syncing dependencies
Fetching: 100% (2/2), done in 6m42.385s
Updating files: 100% (70635/70635), done.
Checking out: 100% (2/2), done in 14.935s
repo sync has finished successfully.
Looking for dependencies in kernel/fxtec/sm6115
kernel/fxtec/sm6115 has no additional dependencies.
Done
21:36:46 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:36:46 dumpvars failed with: exit status 1
21:36:48 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:36:48 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_pro1x'
** Do you have the right repo manifest?
# ls vendor/fxtec/pro1x
ls: cannot access 'vendor/fxtec/pro1x': No such file or directory
# ls vendor/
codeaurora crowdin lineage nxp qcom
kevgrig said:
Thanks, it's getting farther now. I removed .repo/local_manifests/roomservice.xml and re-ran `breakfast pro1x` but now it's complaining about missing vendor/fxtec/pro1x/pro1x-vendor.mk. Oddly, it's looking in vendor/fxtec which doesn't exist.
# breakfast pro1x
21:29:32 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:29:34 dumpvars failed with: exit status 1
Device pro1x not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_fxtec_pro1x
Looking up fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Requesting: https://api.github.com/repos/LineageOS/android_device_fxtec_pro1x/branches
Using fallback branch: lineage-20
Checking if device/fxtec/pro1x is fetched from android_device_fxtec_pro1x
Adding dependency: LineageOS/android_device_fxtec_pro1x -> device/fxtec/pro1x
Syncing repository to retrieve project.
Fetching: 100% (2/2), done in 2.005s
.repo/repo: project not found in manifest.
repo sync has finished successfully.
Repository synced!
Looking for dependencies in device/fxtec/pro1x
Default revision: lineage-20.0
Checking branch info
Requesting: https://api.github.com/repos/LineageOS/android_kernel_fxtec_sm6115/branches
Using fallback branch: lineage-20
Adding dependencies to manifest
Checking if kernel/fxtec/sm6115 is fetched from android_kernel_fxtec_sm6115
Adding dependency: LineageOS/android_kernel_fxtec_sm6115 -> kernel/fxtec/sm6115
Syncing dependencies
Fetching: 100% (2/2), done in 6m42.385s
Updating files: 100% (70635/70635), done.
Checking out: 100% (2/2), done in 14.935s
repo sync has finished successfully.
Looking for dependencies in kernel/fxtec/sm6115
kernel/fxtec/sm6115 has no additional dependencies.
Done
21:36:46 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:36:46 dumpvars failed with: exit status 1
21:36:48 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup.mk:352:
In file included from build/make/target/product/telephony_vendor.mk:21:
device/fxtec/pro1x/device.mk:479: error: vendor/fxtec/pro1x/pro1x-vendor.mk does not exist..
21:36:48 dumpvars failed with: exit status 1
** Don't have a product spec for: 'lineage_pro1x'
** Do you have the right repo manifest?
# ls vendor/fxtec/pro1x
ls: cannot access 'vendor/fxtec/pro1x': No such file or directory
# ls vendor/
codeaurora crowdin lineage nxp qcom
Click to expand...
Click to collapse
You didn't extract proprietary blobs like the guide says.
Additionally, don't extra then, just grab vendor/fxtec/pro1x from GitHub.com/themuppets and add to your local manifest.
npjohnson said:
You didn't extract proprietary blobs like the guide says.
Additionally, don't extra then, just grab vendor/fxtec/pro1x from GitHub.com/themuppets and add to your local manifest.
Click to expand...
Click to collapse
Ahh yes, my apologies. I had read that section about extracting blobs some time ago and forgot about it.
# cd device/fxtec/pro1x
# ./extract-files.sh
[...]
# cd -
# breakfast pro1x
[...]
# brunch pro1x
Building. Thanks!
kevgrig said:
Ahh yes, my apologies. I had read that section about extracting blobs some time ago and forgot about it.
# cd device/fxtec/pro1x
# ./extract-files.sh
[...]
# cd -
# breakfast pro1x
[...]
# brunch pro1x
Building. Thanks!
Click to expand...
Click to collapse
good to hear!
Got to 99% on the build and then failed with lack of memory on a 16GB box (with almost every background process stopped):
dex2oatd F 02-16 15:22:03 770205 770205 mem_map_arena_pool.cc:65] Check failed: map.IsValid() Failed anonymous mmap((nil), 131072, 0x3, 0x22, -1, 0): Cannot allocate memory. See process maps in the log.
Will buy some more RAM...
kevgrig said:
Got to 99% on the build and then failed with lack of memory on a 16GB box (with almost every background process stopped):
dex2oatd F 02-16 15:22:03 770205 770205 mem_map_arena_pool.cc:65] Check failed: map.IsValid() Failed anonymous mmap((nil), 131072, 0x3, 0x22, -1, 0): Cannot allocate memory. See process maps in the log.
Will buy some more RAM...
Click to expand...
Click to collapse
I had the same problem. I installed kernel 5.19 and booted with it instead of 6.1, the problem disappeared.
mishurov said:
I had the same problem. I installed kernel 5.19 and booted with it instead of 6.1, the problem disappeared.
Click to expand...
Click to collapse
can confirm, it's a linux kernel issue

Categories

Resources