Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building for Lem12pro #1

Open
LeOS-GSI opened this issue Jun 1, 2023 · 4 comments
Open

Building for Lem12pro #1

LeOS-GSI opened this issue Jun 1, 2023 · 4 comments

Comments

@LeOS-GSI
Copy link

LeOS-GSI commented Jun 1, 2023

Hi, I have build roms for a lot of devices, but never for a watch.
I'm wondering a bit about the howto in your manifest repo.

Normally I will need device, kernel and vendor sources. Device and Kernel sources seems to be available here, but what's about vendor sources. Have I to extract them via ./extract-files.sh?

And can I build the rom with standard way
source build/envsetup.sh
lunch device_name

I'n will get my Lem12 pro in 2 weeks and want be prepared.

@iscle
Copy link
Member

iscle commented Jun 1, 2023

Hi! The OpenWatch Project is currently not buildable because of a DMCA takedown by MediaTek >:(

This repository used to contain the entire BSP provided by MediaTek under NDA (of course, we did not sign any of that), so there's no need to extract proprietary blobs -they are already included.

You can find the full BSP which was not taken down here: https://github.com/mtk-watch/manifest. That's an unmodified BSP, meaning you will have to port the kernel changes (you can just clone this repository) and other repositories there.

Check this xls for more information: https://gitlab.com/mtk-watch/android_vendor_mediatek/-/blob/t-alps-q0.mp1-V9.122.1/release_note/MT6739/ReleaseNote_for_MT6739_alps-mp-q0.mp1.xlsx

Check the project clone script too: https://gitlab.com/mtk-watch/android_vendor_mediatek/-/tree/t-alps-q0.mp1-V9.122.1/proprietary/scripts/project_clone

@LeOS-GSI
Copy link
Author

LeOS-GSI commented Jun 2, 2023 via email

@LeOS-GSI
Copy link
Author

LeOS-GSI commented Jun 2, 2023

I hope I will get my LeOS-GSI (A13) running on the Lem12pro. On other Lem watch it's working fine :))

@LeOS-GSI
Copy link
Author

LeOS-GSI commented Jun 2, 2023

Sorry, can I ask a bit more ? I have synced all, but the building command isn't doing anything


watch sources/LeOS$ python vendor/mediatek/proprietary/scripts/releasetools/split_build_helper.py full_k39tv1_64_bsp-userdebug
source build/envsetup.sh && export OUT_DIR=out_sys && lunch sys_mssi_64_cn-userdebug && make sys_images
source build/envsetup.sh && export OUT_DIR=out && lunch vnd_k39tv1_64_bsp-userdebug && make vnd_images krn_images
python out_sys/target/product/mssi_64_cn/images/split_build.py --system-dir out_sys/target/product/mssi_64_cn/images --vendor-dir out/target/product/k39tv1_64_bsp/images --kernel-dir out/target/product/k39tv1_64_bsp/images --output-dir out/target/product/k39tv1_64_bsp/merged
watch sources/LeOS$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants