[HOW-TO] Building CM10, AOKP & TeamBaked For The JB Bootloader [Ubuntu 12.04+ 64-bit]

Search This thread

HiM@L

Senior Member
Nov 5, 2010
1,808
857
I am giving up on AOKP until they get the githubs repo's merged back together properly.
I sync'd the new commits again this morning and tried to compile and the new commits were locking up my system.

and yes I did make clobber before compiling to make sure.

Do u have latest cm nightly

Sent from my Transformer Prime TF201 using xda premium
 

joe ferreira

Senior Member
May 21, 2007
582
296
Mountlake Terrace, WA
  • Like
Reactions: HiM@L

HiM@L

Senior Member
Nov 5, 2010
1,808
857

Striatum_bdr

Senior Member
May 29, 2011
4,650
2,176
Marseille
Hi,

trying to compile Team Baked BB7 (4.2.1 android), I have this compile error:

target R.java/Manifest.java: Settings (/home/laurent/BAKED/out/target/common/obj/APPS/Settings_intermediates/src/R.stamp)
packages/apps/Phone/res/values-cs/strings.xml:645: error: Resource entry mwi_notification_title is already defined.
packages/apps/Phone/res/values-cs/strings.xml:80: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:646: error: Resource entry mwi_notification_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:81: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:647: error: Resource entry preferred_network_mode_lte_gsm_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:173: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:648: error: Resource entry preferred_network_mode_lte_cdma_evdo_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:174: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:649: error: Resource entry preferred_network_mode_lte_cdma_evdo_gsm_wcdma_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:175: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:650: error: Resource entry national_roaming is already defined.
packages/apps/Phone/res/values-cs/strings.xml:202: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:651: error: Resource entry national_roaming_enable is already defined.
packages/apps/Phone/res/values-cs/strings.xml:203: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:652: error: Resource entry national_roaming_disable is already defined.
packages/apps/Phone/res/values-cs/strings.xml:204: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:653: error: Resource entry dialer_ui_settings_title is already defined.
packages/apps/Phone/res/values-cs/strings.xml:521: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:654: error: Resource entry dialer_ui_settings_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:522: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:670: error: Resource entry preferred_network_mode_choices_lte_gsm already has bag item ^index_0.
packages/apps/Phone/res/values-cs/strings.xml:194: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:671: error: Resource entry preferred_network_mode_choices_lte_gsm already has bag item ^index_1.
packages/apps/Phone/res/values-cs/strings.xml:195: Originally defined here.
make: *** [/home/laurent/BAKED/out/target/common/obj/APPS/Phone_intermediates/src/R.stamp] Erreur 1
make: *** Waiting for unfinished jobs....



If anybody has a clue... Thanks !
 

otto888

Senior Member
Hi,

trying to compile Team Baked BB7 (4.2.1 android), I have this compile error:

target R.java/Manifest.java: Settings (/home/laurent/BAKED/out/target/common/obj/APPS/Settings_intermediates/src/R.stamp)
packages/apps/Phone/res/values-cs/strings.xml:645: error: Resource entry mwi_notification_title is already defined.
packages/apps/Phone/res/values-cs/strings.xml:80: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:646: error: Resource entry mwi_notification_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:81: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:647: error: Resource entry preferred_network_mode_lte_gsm_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:173: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:648: error: Resource entry preferred_network_mode_lte_cdma_evdo_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:174: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:649: error: Resource entry preferred_network_mode_lte_cdma_evdo_gsm_wcdma_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:175: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:650: error: Resource entry national_roaming is already defined.
packages/apps/Phone/res/values-cs/strings.xml:202: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:651: error: Resource entry national_roaming_enable is already defined.
packages/apps/Phone/res/values-cs/strings.xml:203: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:652: error: Resource entry national_roaming_disable is already defined.
packages/apps/Phone/res/values-cs/strings.xml:204: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:653: error: Resource entry dialer_ui_settings_title is already defined.
packages/apps/Phone/res/values-cs/strings.xml:521: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:654: error: Resource entry dialer_ui_settings_summary is already defined.
packages/apps/Phone/res/values-cs/strings.xml:522: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:670: error: Resource entry preferred_network_mode_choices_lte_gsm already has bag item ^index_0.
packages/apps/Phone/res/values-cs/strings.xml:194: Originally defined here.
packages/apps/Phone/res/values-cs/strings.xml:671: error: Resource entry preferred_network_mode_choices_lte_gsm already has bag item ^index_1.
packages/apps/Phone/res/values-cs/strings.xml:195: Originally defined here.
make: *** [/home/laurent/BAKED/out/target/common/obj/APPS/Phone_intermediates/src/R.stamp] Erreur 1
make: *** Waiting for unfinished jobs....



If anybody has a clue... Thanks !

I haven't looked at any Android specific code in while, but it looks like some text strings are defined in more than one place. Try opening the strings.XML and look for duplicate lines. As for the R.stamp error, https://www.youtube.com/watch?v=3W5qqJpZuKU&feature=youtube_gdata_player. If you made changes to the file, try redownloading it, or the file may have not been fully downloaded. Resyncing or reinitializing the repo then resyncing should replace the file with a complete file, along with any other incomplete files.

Sent from my Transformer Prime TF201 using Tapatalk HD
 
  • Like
Reactions: Striatum_bdr

csrabear

Member
Jan 3, 2011
40
9
Augusta, GA
I haven't looked at any Android specific code in while, but it looks like some text strings are defined in more than one place. Try opening the strings.XML and look for duplicate lines. As for the R.stamp error, https://www.youtube.com/watch?v=3W5qqJpZuKU&feature=youtube_gdata_player. If you made changes to the file, try redownloading it, or the file may have not been fully downloaded. Resyncing or reinitializing the repo then resyncing should replace the file with a complete file, along with any other incomplete files.

Sent from my Transformer Prime TF201 using Tapatalk HD

I also have been getting many make errors. I spent all day trying to get rid of them by editing strings.xml and settings.java and I made it almost to the end of the build and then another error. You will have to edit the duplicate entries out of the indicated files. If you look at the strings.xml files you find at the end several lines of code under the heading Update for Jellybean or something similar. I just deleted those since they were already defined earlier. If you make it through this first one you will get several more. I tried repo syncing and even completely obliterated everything and started from scratch. Still the same. I don't know what has happened to the sources but I haven't been able to build for a couple of weeks.:(
 
  • Like
Reactions: Striatum_bdr

Striatum_bdr

Senior Member
May 29, 2011
4,650
2,176
Marseille
I also have been getting many make errors. I spent all day trying to get rid of them by editing strings.xml and settings.java and I made it almost to the end of the build and then another error. You will have to edit the duplicate entries out of the indicated files. If you look at the strings.xml files you find at the end several lines of code under the heading Update for Jellybean or something similar. I just deleted those since they were already defined earlier. If you make it through this first one you will get several more. I tried repo syncing and even completely obliterated everything and started from scratch. Still the same. I don't know what has happened to the sources but I haven't been able to build for a couple of weeks.:(

Thanks both of you.. There must be correct sources somewhere as one of team baked crew compiled bb7 for Toro (Twitter post).

My last successful compilation was end of November actually. The problem is that my computer is an old dual core one, so I have to wait one hour or more before getting this errors lol.. And it's a dual boot one I use for work.

I've set up a vmware machine using my physical ubuntu partitions I'll try perhaps today.. maybe all code hasn't been cleaned up yet in github...

The other problem is that I've read somewhere that ram disk has changed between cm10 and 10.1. Hope it's just device related (was meant for sgs3..) So there could be a booting issue even with successful compilation...
 

joe ferreira

Senior Member
May 21, 2007
582
296
Mountlake Terrace, WA
A heads up for those of us wanting to build cm10.1 As of today, cm has a new wiki with a guide http://wiki.cyanogenmod.org/index.php?title=Build_for_tf201

"How to Build CyanogenMod 10 for Transformer Prime (codename: tf201)"
it is not cm 10.1 with the jb bootloader. it does provide alot of wonderful information but for cm 10.1 look at the work in progress device /vendor tree's in this thread...

[ROM] [TF201] [JB BOOTLOADER] Cyanogenmod 10.1 Unofficial - JOP40D - Dec 18 2012

source/repo's are in the first post.
 
Last edited:
  • Like
Reactions: lortay78

qubz

Inactive Recognized Developer
Jun 12, 2007
585
71
A parallel dimension
"How to Build CyanogenMod 10 for Transformer Prime (codename: tf201)"
it is not cm 10.1 with the jb bootloader. it does provide alot of wonderful information but for cm 10.1 look at the work in progress device /vendor tree's in this thread...

[ROM] [TF201] [JB BOOTLOADER] Cyanogenmod 10.1 Unofficial - JOP40D - Dec 18 2012

source/repo's are in the first post.

My bad. If you go down to the part "Initialize the CyanogenMod source repository", it says
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b [COLOR="Red"]cm-10.1[/COLOR]
That got me confused.
 

Namidairo

Senior Member
Jan 26, 2012
290
625
My bad. If you go down to the part "Initialize the CyanogenMod source repository", it says
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b [COLOR="Red"]cm-10.1[/COLOR]
That got me confused.

It won't work until there are actually cm-10.1 branch device and kernel up. Don't bother editing it because those will be up in the near future, maybe.
 
  • Like
Reactions: b.huss2 and qubz

joe ferreira

Senior Member
May 21, 2007
582
296
Mountlake Terrace, WA
It won't work until there are actually cm-10.1 branch device and kernel up. Don't bother editing it because those will be up in the near future, maybe.

Why won't this work? isn't this how your doing your builds now?


Building CM10.1

a. Get the CM10.1 source
Code:
$ mkdir -p ~/CM10
$ cd ~/CM10
$ repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
$ repo sync -j8

b. Get JB4.2 device, kernel & vendor source trees
Code:
//JB device source to device/asus/tf201
$ mkdir -p ~/CM10/device/asus
$ cd ~/CM10/device/asus
$ git clone git://github.com/namidairo/android_device_asus_tf201.git -b cm-10.1 tf201

//JB kernel source to kernel/asus/tf201
$ mkdir -p ~/CM10/kernel/asus
$ cd ~/CM10/kernel/asus
$ git clone git://github.com/AndroidRoot/android_kernel_asus_tf201 -b 10.4.2.17-mr1 tf201

//JB vendor source to vendor/asus/tf201
$ mkdir -p ~/CM10/vendor/asus
$ cd ~/CM10/vendor/asus
$ git clone git://github.com/namidairo/vendor_proprietary_asus_tf201 -b jellybean_new tf201

c. Comment out CMUpdater since this is not an official build (No harm in leaving it there as long as people are instructed not to use it)
Code:
$ cd ~/CM10/vendor/cm/config/
$ gedit common.mk [comment the line which says CMUpdater \]

d. Resync & build
Code:
$ cd ~/CM10
$ repo sync -j8
$ sh vendor/cm/get-prebuilts
$ . build/envsetup.sh && brunch tf201
 
Last edited:

Namidairo

Senior Member
Jan 26, 2012
290
625
You could do that, but the wiki assumes there is a cm-10.1 branch for it to grab from cyanogenmod for all of those during the lunch step.

Using lunch to just automagically grab the repos for your device should be more straight-foward once there are actually repos to grab. :p
 

b.huss2

Senior Member
Dec 8, 2010
1,236
549
Greenville
Google Pixel 7 Pro
I just had to say thanks Namidairo for the work he's done on the device code, and Joe for that nice build layout a couple of posts up. I built my first working ROM. It was cm10.1 which I didn't really need because Namidairo keeps it up-to-date but I wanted to just follow instructions to make sure my ubuntu setup was right. It was exciting when it actually booted up :victory:. Awesome guys!
 

b.huss2

Senior Member
Dec 8, 2010
1,236
549
Greenville
Google Pixel 7 Pro
Either of you guys know why the lockclock "chronus" wasn't included in my build? everything else is there and working great :confused:

.........nevermind, it was my fault, messed up something while commenting out cmupdater. it's all good now! :)
 
Last edited:

rprussell

Senior Member
Mar 30, 2011
327
21
Why won't this work? isn't this how your doing your builds now?


Building CM10.1

b. Get JB4.2 device, kernel & vendor source trees
Code:
//JB device source to device/asus/tf201
$ mkdir -p ~/CM10/device/asus
$ cd ~/CM10/device/asus
$ git clone git://github.com/namidairo/android_device_asus_tf201.git -b cm-10.1 tf201

//JB kernel source to kernel/asus/tf201
$ mkdir -p ~/CM10/kernel/asus
$ cd ~/CM10/kernel/asus
$ git clone git://github.com/AndroidRoot/android_kernel_asus_tf201 -b 10.4.2.17-mr1 tf201

//JB vendor source to vendor/asus/tf201
$ mkdir -p ~/CM10/vendor/asus
$ cd ~/CM10/vendor/asus
$ git clone git://github.com/namidairo/vendor_proprietary_asus_tf201 -b jellybean_new tf201
Is there a reason you're grabbing the device and vendor trees from namidairo but not the kernel?

(I'm new to the game...)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 36
    [HOW-TO] Building CM10, AOKP & TeamBaked For The JB Bootloader [Ubuntu 12.04+ 64-bit]

    As many of you know, I no longer have my Transformer Prime, and hence cannot continue development for this device. So until the official CM10, AOKP and TeamBaked ROMs are updated to support the new JellyBean bootloader, as a final useful contribution to this device, I decided to provide a how-to guide to help people make their own builds.

    This guide assumes that you have some experience building ROMs for Android and that you are comfortable with Linux. It is focused towards building on Ubuntu 12.04+ 64-bit.

    1. Prepare the system (common for CM10, AOKP & TeamBaked)

    a. Install Java JDK6
    Code:
    $ wget https://raw.github.com/flexiondotorg/oab-java6/master/oab-java.sh
    $ chmod +x oab-java.sh
    $ sudo ./oab-java.sh
    $ sudo apt-get install sun-java6-jdk

    b. Install required applications
    Code:
    $ sudo apt-get install git-core gnupg flex bison gperf build-essential \
      zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
      libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
      libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
      libxml2-utils xsltproc zlib1g-dev:i386 schedtool pngcrush
    $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

    c. Get the repo binary
    Code:
    $ mkdir -p ~/bin
    $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo

    2. Building CM10

    a. Get the CM10 source
    Code:
    $ mkdir -p ~/CM10
    $ cd ~/CM10
    $ repo init -u git://github.com/CyanogenMod/android.git -b jellybean
    $ repo sync -j8

    b. Get my JB device, kernel & vendor source trees (You could use any other, just make sure it includes the changes needed for the JB bootloader and has the 3.1 kernel)
    Code:
    //JB device source to device/asus/tf201
    $ mkdir -p ~/CM10/device/asus
    $ cd ~/CM10/device/asus
    $ git clone git://github.com/craigacgomez/android_device_asus_tf201.git -b cm_jb tf201
    
    //JB kernel source to kernel/asus/tf201
    $ mkdir -p ~/CM10/kernel/asus
    $ cd ~/CM10/kernel/asus
    $ git clone git://github.com/craigacgomez/android_kernel_asus_tf201 -b 10.4.2.15-nvtegra tf201
    
    //JB vendor source to vendor/asus/tf201
    $ mkdir -p ~/CM10/vendor/asus
    $ cd ~/CM10/vendor/asus
    $ git clone git://github.com/craigacgomez/vendor_proprietary_asus_tf201 -b jellybean tf201

    c. Comment out CMUpdater since this is not an official build (No harm in leaving it there as long as people are instructed not to use it)
    Code:
    $ cd ~/CM10/vendor/cm/config/
    $ gedit common.mk [comment the line which says CMUpdater \]

    d. Resync & build
    Code:
    $ cd ~/CM10
    $ repo sync -j8
    $ sh vendor/cm/get-prebuilts
    $ . build/envsetup.sh && brunch tf201

    3. Building TeamBaked

    a. Get the TeamBaked source
    Code:
    $ mkdir -p ~/BAKED
    $ cd ~/BAKED
    $ repo init -u https://github.com/TeamBAKED/platform_manifest.git -b jb
    $ repo sync -j8

    b. Delete the tf201 directories
    Code:
    $ mkdir -p ~/BAKED/device/asus
    $ rm -rf tf201
    $ mkdir -p ~/BAKED/kernel/asus
    $ rm -rf tf201
    $ mkdir -p ~/BAKED/vendor/asus
    $ rm -rf tf201

    c. Get my JB device, kernel & vendor source trees (You could use any other, just make sure it includes the changes needed for the JB bootloader and has the 3.1 kernel)
    Code:
    //JB device source to device/asus/tf201
    $ mkdir -p ~/BAKED/device/asus
    $ cd ~/BAKED/device/asus
    $ git clone git://github.com/craigacgomez/android_device_asus_tf201.git -b blackbean_jb tf201
    
    //JB kernel source to kernel/asus/tf201
    $ mkdir -p ~/BAKED/kernel/asus
    $ cd ~/BAKED/kernel/asus
    $ git clone git://github.com/craigacgomez/android_kernel_asus_tf201 -b 10.4.2.15-nvtegra tf201
    
    //JB vendor source to vendor/asus/tf201
    $ mkdir -p ~/BAKED/vendor/asus
    $ cd ~/BAKED/vendor/asus
    $ git clone git://github.com/craigacgomez/vendor_proprietary_asus_tf201 -b jellybean tf201

    d. Resync & build
    Code:
    $ cd ~/BAKED
    $ repo sync -j8
    $ . build/envsetup.sh && brunch tf201

    4. Building AOKP

    a. Get the AOKP source
    Code:
    $ mkdir -p ~/AOKP
    $ cd ~/AOKP
    $ repo init -u https://github.com/AOKP/platform_manifest.git -b jb
    $ repo sync -j8

    b. Get my JB device, kernel & vendor source trees (You could use any other, just make sure it includes the changes needed for the JB bootloader and has the 3.1 kernel)
    Code:
    //JB device source to device/asus/tf201
    $ mkdir -p ~/AOKP/device/asus
    $ cd ~/AOKP/device/asus
    $ git clone git://github.com/craigacgomez/android_device_asus_tf201.git -b aokp_jb tf201
    
    //JB kernel source to kernel/asus/tf201
    $ mkdir -p ~/AOKP/kernel/asus
    $ cd ~/AOKP/kernel/asus
    $ git clone git://github.com/craigacgomez/android_kernel_asus_tf201 -b 10.4.2.15-nvtegra tf201
    
    //JB vendor source to vendor/asus/tf201
    $ mkdir -p ~/AOKP/vendor/asus
    $ cd ~/AOKP/vendor/asus
    $ git clone git://github.com/craigacgomez/vendor_proprietary_asus_tf201 -b jellybean tf201

    c. Add tf201 to the vendor & build setup
    Code:
    $ cd ~/AOKP/vendor/aokp
    $ gedit vendorsetup.sh
    Add this line vendorsetup.sh below add_lunch_combo aokp_tf101-userdebug
    Code:
    add_lunch_combo aokp_tf201-userdebug
    Code:
    $ cd ~/AOKP/vendor/aokp/products
    $ gedit AndroidProducts.mk
    Add this line vendorsetup.sh below $(LOCAL_DIR)/tf101.mk \
    Code:
    $(LOCAL_DIR)/tf201.mk \
    Code:
    $ cd ~/AOKP/vendor/aokp/products
    $ touch tf201.mk
    $ gedit tf201.mk
    Add these line to tf201.mk
    Code:
    # Inherit device configuration for tf201.
    $(call inherit-product, device/asus/tf201/full_tf201.mk)
    
    # Inherit some common AOKP stuff.
    $(call inherit-product, vendor/aokp/configs/common_tablet.mk)
    $(call inherit-product, vendor/aokp/configs/gsm.mk)
    
    PRODUCT_NAME := aokp_tf201
    PRODUCT_DEVICE := tf201
    PRODUCT_BRAND := asus
    PRODUCT_MODEL := Transformer Prime TF201
    PRODUCT_MANUFACTURER := asus
    PRODUCT_BUILD_PROP_OVERRIDES += \
        PRODUCT_NAME=EeePad \
    	BUILD_FINGERPRINT="asus/US_epad/EeePad:4.1.1/JRO03C/US_epad-10.4.2.15-20120917:user/release-keys" \
    	PRIVATE_BUILD_DESC="US_epad-user 4.1.1 JRO03C US_epad-10.4.2.15-20120917 release-keys" \
    
    PRODUCT_COPY_FILES +=  \
        vendor/aokp/prebuilt/bootanimation/bootanimation_1280_800.zip:system/media/bootanimation.zip

    d. Resync & build
    Code:
    $ cd ~/AOKP
    $ repo sync -j8
    $ . build/envsetup.sh && brunch tf201
    4
    I'll see if I can help out with CM10.1 and 4.2 stuff... I might be able to make the necessary changes, but I can't test the build...

    Thanks to everyone here... this thread just made the XDA portal...
    2
    Your an absolute legend.

    I'm so sorry if I seem mean... but I just had to do this... I'm a grammar nazi!! :p
    30110066.jpg
    2
    Edited: so far the only change I have had to make to use the AOKP instructions with AOKP 4.2 is the following

    edit device/asus/tf201/BoardConfig.mk

    add this to the arch area
    TARGET_ARCH := arm

    it is building now and I will flash and test asap.
    end edit:

    craig I know that your no longer developing for tf201 but how could I get you to add this to a mr1-staging branch on your github device tree?

    I would fork your repo and do it my self if I wasn't a git noob.
    2
    Hi,


    many thanks again Craig for all your work..

    I tried to follow your guide for Team Baked, and ended up with::

    ""build/core/product_config.mk:193: *** _nic.PRODUCTS.[[vendor/baked/products/p5wifi.mk]]: "device/samsung/p5wifi/p5wifi.mk" does not exist. "Stop.

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

    Itried running breakfeast command as suggested but same error.

    Anyone has a suggestion ?

    Thanks

    Don't run breakfast... just brunch... looks like it has something to do with the p5wifi... try resyncing or comment out that 'add_lunch_combo baked_p5wifi-userdebug' from vendor/baked/vendorsetup.sh