[Galaxy S II I9100G Android Development] Black_Prince:
FAQs​

I having error :

1.

root@black-prince-HP-Pavilion-dv6-Notebook-PC:~/liquid# . build/envsetup.sh
including vendor/liquid/vendorsetup.sh
including sdk/bash_completion/adb.bash
root@black-prince-HP-Pavilion-dv6-Notebook-PC:~/liquid# lunch

You're building on Linux

Lunch menu... pick a combo:
1. liquid_d2att-userdebug	17. liquid_jflteusc-userdebug	33. liquid_solana-userdebug
2. liquid_d2mtr-userdebug	18. liquid_jfltevzw-userdebug	34. liquid_spyder-userdebug
3. liquid_d2spr-userdebug	19. liquid_jfltexx-userdebug	35. liquid_t0lteatt-userdebug
4. liquid_d2tmo-userdebug	20. liquid_l900-userdebug	36. liquid_t0ltetmo-userdebug
5. liquid_d2usc-userdebug	21. liquid_maguro-userdebug	37. liquid_t0lte-userdebug
6. liquid_d2vzw-userdebug	22. liquid_mako-userdebug	38. liquid_targa-userdebug
7. liquid_grouper-userdebug	23. liquid_manta-userdebug	39. liquid_toro-userdebug
8. liquid_i605-userdebug	24. liquid_maserati-userdebug	40. liquid_umts_spyder-userdebug
9. liquid_i9100-userdebug	25. liquid_mb886-userdebug	41. liquid_vigor-userdebug
10. liquid_i9100g-userdebug	26. liquid_m7ul-userdebug	42. liquid_xt897-userdebug
11. liquid_i9300-userdebug	27. liquid_m7att-userdebug	43. liquid_xt897c-userdebug
12. liquid_i9305-userdebug	28. liquid_m7spr-userdebug	44. liquid_xt907-userdebug
13. liquid_jflteatt-userdebug	29. liquid_m7tmo-userdebug	45. liquid_xt925-userdebug
14. liquid_jfltecan-userdebug	30. liquid_n7100-userdebug	46. liquid_xt926-userdebug
15. liquid_jfltespr-userdebug	31. liquid_n7000-userdebug
16. liquid_jfltetmo-userdebug	32. liquid_n8013-userdebug

Which would you like? [aosp_arm-eng] 10
ls: cannot access device/*/i9100g/liquid.mk: No such file or directory
build/core/product_config.mk:231: *** Can not locate config makefile for product "liquid_i9100g". Stop.

** Don't have a product spec for: 'liquid_i9100g'
** Do you have the right repo manifest?

root@black-prince-HP-Pavilion-dv6-Notebook-PC:~/liquid#

ANS : Actually mate u dont have prepared liquid.mk for i9100g device which should be having path :

$working_dir/device/samsung/i9100g/liquid.mk

#
# Copyright (C) 2012 The CyanogenMod Project
# Copyright (C) 2012 The LiquidSmooth Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# name
PRODUCT_RELEASE_NAME := GT-I9100G

# device
$(call inherit-product-if-exists, device/samsung/i9100g/full_i9100g.mk)

# gsm
$(call inherit-product, vendor/liquid/config/common_gsm.mk)

# phone
$(call inherit-product, vendor/liquid/config/common_phone.mk)

## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := i9100g
PRODUCT_NAME := liquid_i9100g
PRODUCT_BRAND := samsung
PRODUCT_MODEL := GT-I9100G
PRODUCT_MANUFACTURER := samsung
PRODUCT_PROPERTY_OVERRIDES += ro.buildzipid=liquid.i9100g.$(shell date +%m%d%y).$(shell date +%H%M%S)

# overrides
PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_NUMBER=I9100GXXLSR \
PRODUCT_NAME=GT-I9100G \
TARGET_DEVICE=I9100G \
TARGET_BUILD_TYPE=user \
BUILD_VERSION_TAGS=release-keys \
PRIVATE_BUILD_DESC="GT-I9100G-user 4.1.2 JZO54K I9100GXXLSR release-keys" \
BUILD_FINGERPRINT="samsung/GT-I9100G/GT-I9100G:4.1.2/JZO54K/I9100GXXLSR:user/release-keys"

2.

No private recovery resources for TARGET_DEVICE i9100g
build/core/tasks/kernel.mk:56: ***************************************************************
build/core/tasks/kernel.mk:57: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:58: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:59: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:60: * source repository to kernel/samsung/t1
build/core/tasks/kernel.mk:61: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:62: * for more information *
build/core/tasks/kernel.mk:63: ***************************************************************
make: *** No rule to make target `/home/black-prince/liquid/out/target/product/i9100g/kernel', needed by `/home/black-prince/liquid/out/target/product/i9100g/boot.img'. Stop.

ANS : Hey did u forgot to add kernel source , u must be... Check (for i9100g) path

$Working_dir/kernel/samsung/t1

Its repo must have been given in local_manifest.xm look or post no. 2 for more info ...