[PAC Q&A] jdelano:
EDIT: Turns out if you have a typo in the Account section of the dependencies file, it won't build :eek: :silly::silly: Eh

Hello, I'm looking for some guidance.

My nephew has this device and I got him building PAC for his S5 (he's been doing it for some months).

I built unofficial versions for the Sprint Note 3 and Sprint S5 (until I got him up to speed) for KitKat for about 3.5 months. He has been foaming at the mouth to get PAC on his tablet. lol

So we went about trying to get this done.

There is a CM 12.1 ROM for the v1awifi, here, which works pretty well. We figured boom good so we just need to figure out the dependency file and we can build pac for the tablet. (not so much)

He asked Valera1978 what they used in their roomservice.xml file, they replied with a link to their readme found here

I then used that to engineer a v1awifi.dependencies file (see link). I created a .mk file (see link) and added add_lunch_combo pac_v1awifi-userdebug in the proper alphabetic location in vendorsetup.sh file.

dependcy, roomservice, product

As it had been a while since I had built, I deleted the PAC-5.0 repo on my machine, set my repo init to pac-5.1 and executed repo sync. Couple hours later I had my repo. I added the dependency file above and ran getdependencies.py v1awifi, see the result below.

It stopped at the line "Fetching projects: 33% (3/9)" for 3 hours; when I press enter it asks for the github password, I know this is likely to be to a bad setting for a repo, but if I hold CTRL and click the URL in Terminal it launches Chrome and displays the repo in github.

I can download the Valera1978 repos into zip files; can I just extract the files and manually place them in order to build-pac v1awifi?

Can someone please check these things out and see what I have wrong? I've check and rechecked each repo line in dependency file so I don't know what else it might be. Much appreciated.

Thank you!

getdependencies.py v1awifi result:

jon@jon-XPS-18:/media/jon/DATA/pm/lp$ ./vendor/pac/tools/getdependencies.py v1awifi
Check for CyangenMod/android_hardware_samsung in local_manifest
Check for CyangenMod/android_kernel_samsung_exynos5420 in local_manifest
Check for CyangenMod/android_hardware_samsung_slsi_exynos in local_manifest
Check for CyangenMod/android_hardware_samsung_slsi_exynos5-insignal in local_manifest
Check for CyangenMod/android_hardware_samsung_slsi_exynos5420 in local_manifest
Check for CyangenMod/android_hardware_samsung_slsi_openmax in local_manifest
Check for Valera1978/android_device_samsung_v1awifi in local_manifest
Check for Valera1978/android_kernel_samsung_v1awifi in local_manifest
Check for Valera1978/android_vendor_samsung_v1awifi in local_manifest
Adding dependencies to local_manifest
Adding dependency: CyangenMod/android_hardware_samsung -> hardware/samsung
Adding dependency: CyangenMod/android_kernel_samsung_exynos5420 -> kernel/samsung/exynos5420
Adding dependency: CyangenMod/android_hardware_samsung_slsi_exynos -> hardware/samsung_slsi/exynos
Adding dependency: CyangenMod/android_hardware_samsung_slsi_exynos5-insignal -> hardware/samsung_slsi/exynos5-insignal
Adding dependency: CyangenMod/android_hardware_samsung_slsi_exynos5420 -> hardware/samsung_slsi/exynos5420
Adding dependency: CyangenMod/android_hardware_samsung_slsi_openmax -> hardware/samsung_slsi/openmax
Adding dependency: Valera1978/android_device_samsung_v1awifi -> device/samsung/v1awifi
Adding dependency: Valera1978/android_kernel_samsung_v1awifi -> kernel/samsung/v1awifi
Adding dependency: Valera1978/android_vendor_samsung_v1awifi -> vendor/samsung
Syncing dependencies
Fetching project CyangenMod/android_hardware_samsung_slsi_exynosFetching project CyangenMod/android_hardware_samsung_slsi_openmax

Fetching project Valera1978/android_kernel_samsung_v1awifi
Fetching project Valera1978/android_vendor_samsung_v1awifi
Fetching project CyangenMod/android_hardware_samsung
Fetching project CyangenMod/android_hardware_samsung_slsi_exynos5420
Fetching project CyangenMod/android_hardware_samsung_slsi_exynos5-insignal
Fetching project Valera1978/android_device_samsung_v1awifi
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
Username for 'https://github.com': curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
remote: Counting objects: 309, done.
remote: Compressing objects: 100% (3/3), done.
Username for 'https://github.com': remote: Counting objects: 67, done.
remote: Total 309 (delta 4), reused 3 (delta 3), pack-reused 303
Receiving objects: 100% (309/309), 163.58 KiB | 0 bytes/s, done.
Resolving deltas: 100% (100/100), done.
remote: Total 67 (delta 0), reused 0 (delta 0), pack-reused 67
remote: Counting objects: 230, done.
From https://github.com/Valera1978/android_kernel_samsung_v1awifi
* [new branch] cm12 -> github/cm12
Fetching projects: 11% (1/9) Fetching project CyangenMod/android_kernel_samsung_exynos5420
Username for 'https://github.com': Username for 'https://github.com': From https://github.com/Valera1978/android_device_samsung_v1awifi
* [new branch] cm12 -> github/cm12
% Total % Received % Xferd Average Speed Time Time Time Current
Fetching projects: 22% (2/9) t Left Speed Total Spen
curl: (22) The requested URL returned error: 404 Not Found--:-- --:--:-- 0Receiving objects: 9% (21/230)
Server does not provide clone.bundle; ignoring.
remote: Total 230 (delta 0), reused 0 (delta 0), pack-reused 230 8 MiB | 2.74 MiB/s
Receiving objects: 100% (230/230), 28.64 MiB | 6.24 MiB/s, done.
Resolving deltas: 100% (89/89), done.
From https://github.com/Valera1978/android_vendor_samsung_v1awifi
* [new branch] cm12 -> github/cm12
Fetching projects: 33% (3/9)
Password for 'https://github.com':
[1]+ Stopped ./vendor/pac/tools/getdependencies.py v1awifi
jon@jon-XPS-18:/media/jon/DATA/pm/lp$