Tastier than ever!
- Around 250G disk space
- 100G or more usable internet
- A computer with at least 32G RAM running Linux
- A brain
- Some spices and potatoes
-
Preparing the sauce
- Make sure you have a build environment setup.
- Make a new directory, cd to it and run
repo init -u https://github.com/PotatoProject/manifest -b hashbrown-release; repo sync;
- The ROM sauce is ready! Get ready to prepare your device-specific sauce.
-
Preparing device sauce
- Define all relevant device repositories in
.repo/local_manifests/local_manifests.xml
- Run
repo sync;
- Move/copy your
<ROM>.mk
(Example:lineage_alioth.mk
,aosp_alioth.mk
) file topotato_alioth.mk
. - Open this file and
- Set PRODUCT_NAME to
potato_<device>
(Example:potato_alioth
) - For a Phone or tablet with a SIM Card, add
# Inherit from Potato vendor $(call inherit-product, vendor/potato/config/common_full_phone.mk)
- For a WiFi-only tablet, add
# Inherit from Potato vendor $(call inherit-product, vendor/potato/config/common_full_tablet_wifionly.mk)
- Set PRODUCT_NAME to
- Save and exit
- Define all relevant device repositories in
-
Cooking
- Run
Example:
source build/envsetup.sh; lunch potato_<device>-user; brunch <device>;
source build/envsetup.sh; lunch potato_alioth-user; brunch alioth;
- This will start compiling the build. Keep the potato near you for luck. You may optionally eat cheese while the build compiles.
- Resolve errors if any and continue building.
- Run
- You can reach us at Telegram
- For common porting related errors, visit Android Building Help
- Make sure you provide relevant logs, screenshots and details with all sources you used.
- You can contribute to this project by submitting changes to our Gerrit Code-Review server.
- For adding your device to the list of supported devices, please reach us at Telegram with your device tree and previous works.