[Q] Compiling Gingerbread/CM7 & Froyo/CM6? - Hero CDMA Q&A, Help & Troubleshooting

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

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] Sync CNA source & build

Hey folks, hopefully someone can help me out. I've decided to start playing around with source, and have been trying to sync the CNA source on my ubuntu box.
So, I setup the development environment, made sure I had JDK 6, installed all the required packages, etc. All good.
Then I did
Code:
repo init -u git://github.com/CNA/android_manifest.git -b mod-4.0.3
I chose the mod-4.0.3 branch because its the only one I saw with any repositories related to the i9000 (obviously, posting here, I'd like to compile from source for my i9000). After the init, I just ran repo sync and let it go.
The problem is I get a few errors like:
Code:
fatal: not a git repository: '/home/me/android/system/.repo/projects/android.git'
error: cannot fetch android_manifest
fatal: not a git repository: '/home/me/android/system/.repo/projects/bionic.git'
error: cannot fetch android_bionic
error: Exited sync due to fetch errors
Anyway, I searched and can't seem to figure out what the heck I'm doing wrong. Any help would be fantastic.
Thanks!

[Q] Problems while building cm10 mint for Xperia T

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 ...

{Z}[WORKSHOP] - AOSP - Android 4.2.2 - FreeXperia Project

Workshop thread for Google AOSP
If you want to have 0 day software then lets start making it
To use any custom software you have to unlock bootloader following sony guide
Thanks to
Sony for providing us the chance to have official AOSP support
All developers that work or worked on android making an dream become reality
This guide is designed for an clean install of Ubuntu-server 13.04 LINK
follow all steps including
mkdir ~/android
cd ~/android
then we will init AOSP repo instead of AOPK
since we want to use 0 day software we will init master branch (default)
$ repo init -u https://android.googlesource.com/platform/manifest
then sync it
$ repo sync -jthread_number
!! thread number can speedup download if you have an good internet connection (any number 4->48 is)
!! depending on your connection can take a lot of time ..... please be patient!
after sync is finished we have to add sony repos
copy attached xml file in repo (remove fake zip extension)
mv sonyxperiadev.xml.zip .repo/local_manifests/sonyxperiadev.xml
sync again to get sony repos
$repo sync
get sony blobs and unpack them in /vendor/sony BLOB_LINK
source build/envsetup.sh
select target
lunch <enter>chose your device number and press enterbuild android images
make -j<cpu thread number>
ex: make -j4 (for i5)!! Take an box of beer and enjoy build will take 5min - 1 day depending on pcFind your images
find -type f |grep *.img will display your img files
flash images
fastboot flash partition image.img
ex:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata data.img
progress :
-added liblights
reserved for bugs
reserved for us
Well, the party begins!!
github account?
Traceback (most recent call last):
File "/home/support/android/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/support/android/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/support/android/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/support/android/.repo/repo/subcmds/init.py", line 352, in Execute
self._ConfigureUser()
File "/home/support/android/.repo/repo/subcmds/init.py", line 253, in _ConfigureUser
name = self._Prompt('Your Name', mp.UserName)
File "/home/support/android/.repo/repo/project.py", line 608, in UserName
self._LoadUserIdentity()
File "/home/support/android/.repo/repo/project.py", line 621, in _LoadUserIdentity
u = self.bare_git.var('GIT_COMMITTER_IDENT')
File "/home/support/android/.repo/repo/project.py", line 2202, in runner
p.stderr))
error.GitError: manifests var:
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got '[email protected]pport-pc.(none)')
You just have to do what it says
Sent from my C6603 using xda premium
I decided to try it yesterday as directed by Sony. All perfect but still does not work neither GSM nor the camera. I guess then the repo sync with the new binaries will be much faster right? We do not know how they progress to solve the two major problems? Thxs.
BoRoU said:
I decided to try it yesterday as directed by Sony. All perfect but still does not work neither GSM nor the camera. I guess then the repo sync with the new binaries will be much faster right? We do not know how they progress to solve the two major problems? Thxs.
Click to expand...
Click to collapse
this is an workshop thread do the ideea is to try and solve bugs ourselves then push to fixes to sony github
good time to start learning to build roms
downloading repo
I I have no programming knowledge I can help?
If I build, compiled and installed the ROM but I do not know what else I can do. I put at your disposal for whatever you want.
Greetings.
BoRoU said:
I I have no programming knowledge I can help?
If I build, compiled and installed the ROM but I do not know what else I can do. I put at your disposal for whatever you want.
Greetings.
Click to expand...
Click to collapse
you can start learning programing
and help us make an dream come true
LOL I hope so. Unfortunately I'm too old and I have very little time for these appliances. Still try to help if only you to do testing work.
Greetings.
I got the same error as somebody else did earlier...
Code:
Traceback (most recent call last):
File "/home/daniel/android/.repo/repo/main.py", line 414, in <module>
_Main(sys.argv[1:])
File "/home/daniel/android/.repo/repo/main.py", line 390, in _Main
result = repo._Run(argv) or 0
File "/home/daniel/android/.repo/repo/main.py", line 138, in _Run
result = cmd.Execute(copts, cargs)
File "/home/daniel/android/.repo/repo/subcmds/init.py", line 352, in Execute
self._ConfigureUser()
File "/home/daniel/android/.repo/repo/subcmds/init.py", line 253, in _ConfigureUser
name = self._Prompt('Your Name', mp.UserName)
File "/home/daniel/android/.repo/repo/project.py", line 608, in UserName
self._LoadUserIdentity()
File "/home/daniel/android/.repo/repo/project.py", line 621, in _LoadUserIdentity
u = self.bare_git.var('GIT_COMMITTER_IDENT')
File "/home/daniel/android/.repo/repo/project.py", line 2202, in runner
p.stderr))
error.GitError: manifests var:
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got '[email protected](none)')
Apparently my name/email must be inputted (is that a word?) somewhere before I can continue. Any ideas?
Never mind, I fixed it by having a read through the terminal's response.
These comands must be run:
$ git config --global user.email "[email protected]"
$ git config --global user.name "Your Name"
Gonna do repo sync soon I hope that I can be helpful even I am not advanced
FXP said:
This guide is designed for an clean install of Ubuntu-server 13.04 LINK
follow all steps including
mkdir ~/android
cd ~/android
then we will init AOSP repo instead of AOPK
since we want to use 0 day software we will init master branch (default)
$ repo init -u https://android.googlesource.com/platform/manifest
then sync it
$ repo sync -jthread_number
!! thread number can speedup download if you have an good internet connection (any number 4->48 is)
!! depending on your connection can take a lot of time ..... please be patient!
after sync is finished we have to add sony repos
copy attached xml file in repo (remove fake zip extension)
mv sonyxperiadev.xml.zip .repo/local_manifests/sonyxperiadev.xml
sync again to get sony repos
$repo sync
get sony blobs and unpack them in /vendor/sony BLOB_LINK
Click to expand...
Click to collapse
what is next step?
sources are synced and ready
DooMLoRD said:
what is next step?
sources are synced and ready
Click to expand...
Click to collapse
I know it's for CM but could be useful too
http://wiki.cyanogenmod.org/w/Build_for_yuga
Sent from my C6603 using xda premium
DooMLoRD said:
what is next step?
sources are synced and ready
Click to expand...
Click to collapse
. build/envsetup.sh
lunch full_c6603-userdebug
make -j4
jeroenqui said:
. build/envsetup.sh
lunch full_c6603-userdebug
make -j4
Click to expand...
Click to collapse
which are the img file do I need to flash through fastboot?
what is the command to make a zip file?.
thanks

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

Categories

Resources