yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 Guides, News, & Discussion] 944489156:
I just do it.But it still error.What shou Ido?
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
Is there no way for building cm with windows tools?
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
You Can install a prepared xubuntu build

http://xdaforums.com/showthread.php?t=2585828

There is everything you need preinstalled (repo include)
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
I test this later.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
With that you have to Start at "setting up git"
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Just to check, is there something I've missed changing? I'm pretty sure my repo install commands are okay but I'm not sure because Schrotty35 seems to be having problems :L
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Looks like it's ready to go, just in the wrong directory!

Run the following:

cd ~/android/system/
repo init -u https://github.com/CyanogenMod/android.git -b cm-14.0

Initializing the repo should only take a few seconds.

What takes time is the "repo sync", that's the download :)

EDIT: Just saw your edit to your post. Your repo has initialized properly now and it's in the right place! Next, just run the "repo sync" command, and sit back :P
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
yeah i will go to bed later and let it doing

you forgot to write "repo sync" to the guide :)

going to bed now :D
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Oh snap....

Thanks!!
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
[MENTION=5552241]cohaolain[/MENTION]

no problem :)

btw, it took 3 hours to download. (20,6gb)

i thought the source was bigger :D

do i have to write "repo sync" when i want to update the source?

example: camera was not working in last build and now it is fixed.

building failed:

Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/panther124/android/system/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libtime_genoff_intermediates/export_includes', needed by '/home/panther124/android/system/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libandroid_servers_intermediates/import_includes', missing and no known rule to make it
build/core/ninja.mk:151: die Regel für Ziel „ninja_wrapper“ scheiterte
make: *** [ninja_wrapper] Fehler 1
make: Verzeichnis „/home/panther124/android/system“ wird verlassen

these are the last lines

Fehler=error

wird verlassen=leaving

verzeichnis=directory

someone said in another forum i should install java8 instead of java7. how do i update it?

just downloading from here? http://www.oracle.com/technetwork/java/javase/downloads/index.html

dont know how to install :)

edit: i installed it :D

not working again :(

"make failed to build some targets"

ninja_wrapper error 1

http://xdaforums.com/oneplus-3/how-to/cm14-oneplus-3-t3446595/page9
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Yes, "repo sync" every time you want to update the source code :)

Java 8 was installed at the start of the guide with the command "sudo apt-get install" in the line "openjdk-8-jdk". JDK = Java Development Kit

I'll look into the error this evening, I'm in school at the moment :)
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
i read that ninja files are missing and i should generate them. but i dont know hoe :confused:

i will make a break until this evening
[OnePlus 3 Guides, News, & Discussion] feeq13:
Hi man thanks for the guide. It was great. Doing it now. Btw can u please explain a bit about updating the source code when new commit is added?

---------- Post added at 04:09 PM ---------- Previous post was at 04:03 PM ----------

Sorry for lots of questions, ive tried before on cm12.1/cm13 days, following few guides but never succeed. Hope to make it this time
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
I download now ;).
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
i installed the prepared xubuntu build and downloaded the source (2,5 hours)

hope it will build

i made a mistake and closed the terminal when it was running the command "breakfast oneplus3" . i hope that my source is not damaged...

i will repo sync first and then try brekfast oneplus3 again. otherwhise i had to delete the source and download again :/
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
I have done all but on the end i get this:
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
yeah its the ninja files missing i think.

he will look at this when he come home from school.

had the same. wait :)
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
Where can found the zip whene i make it?
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
type

cd $OUT
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
I have make but there is no zip
[OnePlus 3 Guides, News, & Discussion] feeq13:
Have the same ninja problem too. Man they are real ninja
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
because it fails with the ninja-wrapper problem :D
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Thanks mate, and sure :)

So basically the first time you run "repo sync" from the ~/android/system/ folder, you download a complete set of the CyanogenMod14 source code at that point in time.

Whenever there's a commit, you simply run "repo sync" again in the same folder, and repo will automatically update the source code with the newest commits. I'd recommend doing this several times a week at least, if you want a very up-to-date build, and more or less depending on preference :)

I'll add this to the guide now, seeing as quite a few people are asking :P

I wish you good luck now, and if you encounter any more problems please do let me know so I can try and perfect this guide! :D

---------------

Working on a solution for the ninja problem now. Will update when it's solved.

It's a little odd, cause I posted this guide over on the OP forums as well, and those guys are having different problems :confused: at the 33% mark, which I think have been fixed, but they do seem to be getting well into the build. Will look into it now anyway :)
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
I Download the source right now. 2hours left :D
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Good stuff :)
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
I have vacation for 2weeks so i have time and building my own cm14 build is my Personal Goal :D

And without you and your Guide i didnt even Start this :)
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
Repo sync not help. I have make it.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
Did it work?
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Certainly hope we get it working before the end of your holidays then ;)

How'd you get it to work? :)
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
[MENTION=5552241]cohaolain[/MENTION] now my manifest is broken

when i write breakfast oneplus3 at the end it says

Looking for dependencies
Done
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "device/oppo/common/common.mk" does not exist. Schluss.
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "device/oppo/common/common.mk" does not exist. Schluss.

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

btw: you have to type

cd ~/android/system

source build/envsetup.sh

everytime you restart terminal. otherwise breakfast or brunch is not working (not found)

after retrying everything its not working :(

panther124@panther124-desktop:~/android/system$ brunch oneplus3
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.
Device oneplus3 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_oneplus_oneplus3
Default revision: cm-14.0
Checking branch info
Checking if device/oneplus/oneplus3 is fetched from android_device_oneplus_oneplus3
CyanogenMod/android_device_oneplus_oneplus3 already fetched to device/oneplus/oneplus3
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_oneplus_oneplus3
Fetching projects: 100% (1/1), done.

Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.

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

No such item in brunch menu. Try 'breakfast'
panther124@panther124-desktop:~/android/system$ breakfast oenplus3
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:245: *** Can not locate config makefile for product "cm_oenplus3". Schluss.
Device oenplus3 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for oenplus3 not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:245: *** Can not locate config makefile for product "cm_oenplus3". Schluss.
build/core/product_config.mk:245: *** Can not locate config makefile for product "cm_oenplus3". Schluss.

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

before this i run croot and repo sync and before this i edited the roomservice.
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Could you send on the contents of your roomservice.xml please, the whole thing :)

I'm pretty puzzled at this point, maybe there was something further back in the build that didn't go right, but I'm not too sure. [MENTION=3119377]Schrotty35[/MENTION] was having the same problems you were, not sure if they found how to progress from here but hopefully they can share if and how they did.

When you send that on I'll see if there's anything else I can spot. Apologies if I don't reply on this thread very quickly for the next few days, school and work are catching up with me so I won't be able to get on here as much :(

Edit: Also, I don't think you should re-run breakfast after modifying roomservice, because breakfast is what builds roomservice.

For now, try 'repo sync' and then 'brunch oneplus3'. It seems to be missing files which is weird, but 'repo sync' might fix that if you haven't already done it. No harm in trying again.

If that doesn't work, try making a completely new roomservice.xml with the contents I included below, and then 'repo sync' and then 'brunch oneplus3' with no breakfast.

Not too sure at the moment :( but hopefully we can get it working soon!
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
one time i copied your manifest data and paste it.

second time i wrote each line.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oneplus_oneplus3" path="device/oneplus/oneplus3" remote="github" />
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" />
<project name="CyanogenMod/android_kernel_oneplus_msm8996" path="kernel/oneplus/msm8996" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.0" />
</manifest>

i added 3 missing lines (the last 3)

edit:

still the same.

panther124@panther124-desktop:~/android/system$ brunch oneplus3
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.
Device oneplus3 not found. Attempting to retrieve device repository from CyanogenMod Github ([url]http://github.com/CyanogenMod).[/url]
Found repository: android_device_oneplus_oneplus3
Default revision: cm-14.0
Checking branch info
Checking if device/oneplus/oneplus3 is fetched from android_device_oneplus_oneplus3
CyanogenMod/android_device_oneplus_oneplus3 already fetched to device/oneplus/oneplus3
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_oneplus_oneplus3
Fetching projects: 100% (1/1), done.

Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.

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

No such item in brunch menu. Try 'breakfast'

Good night :D

Yeah, school/work is more important!
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
I get this now after make the changes from above:

The Guide dont work on op3. I hope there is coming a working Guide in the future. Its better for now whene the Thread is removing or closing. Whene real working can re open.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
Then Go away. I will not give up.

Just waiting and try again.

And if its not working Just Turn Off the Computer and Go out or something.
[OnePlus 3 Guides, News, & Discussion] cohaolain:
[MENTION=3119377]Schrotty35[/MENTION] [MENTION=6211832]panther124[/MENTION]

It's odd, because there's a few people who told me this guide worked perfectly without any problems. Will hopefully be able to solve this in the next few days when I've time.

[MENTION=6211832]panther124[/MENTION] If you delete the three lines you added, does running brunch go back to the same error we had before? Or the same with breakfast?

If it's still different with brunch, run breakfast again and then try brunch.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
are you sure we have all preparations downloaded and installed?

because in other guides there downloading other sources like the kernel and so on :D

But i am not an expert so i do not want to say anything wrong :)

its the same error as before :(

panther124@panther124-desktop:~/android/system$ brunch oneplus3
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.
Device oneplus3 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_oneplus_oneplus3
Default revision: cm-14.0
Checking branch info
Checking if device/oneplus/oneplus3 is fetched from android_device_oneplus_oneplus3
CyanogenMod/android_device_oneplus_oneplus3 already fetched to device/oneplus/oneplus3
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_oneplus_oneplus3
Fetching projects: 100% (1/1), done.

Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.
build/core/product_config.mk:250: *** _nic.PRODUCTS.[[device/oneplus/oneplus3/cm.mk]]: "vendor/qcom/binaries/msm8996/graphics/graphics-vendor.mk" does not exist. Schluss.

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

No such item in brunch menu. Try 'breakfast'
[OnePlus 3 Guides, News, & Discussion] madeferro:
add this line to manifest guys:

<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" revision="cm-14.0" />
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
How add this?
[OnePlus 3 Guides, News, & Discussion] cohaolain:
Just add the line into the roomservice.xml underneath the last line before </manifest>.

It's the same file that you added my list of repos from at an earlier point. You can open the file with the command starting 'nano'.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
use nano to edit the file in terminal (roomservice.xml)

but it doesnt work :D

it is building! thanks all you guys! and [MENTION=6180398]madeferro[/MENTION]

my manifest! i added the lines from cohaolain and from this guy!

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_oppo_common" path="device/oppo/common" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" revision="cm-14.0" />
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_device_oneplus_oneplus3" path="device/oneplus/oneplus3" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_kernel_oneplus_msm8996" path="kernel/oneplus/msm8996" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_external_sony_boringssl-compat" path="external/sony/boringssl-compat" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_Nfc" path="vendor/nxp-nfc/opensource/Nfc" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_frameworks" path="vendor/nxp-nfc/opensource/frameworks" remote="github" revision="cm-14.0" />
<project name="CyanogenMod/android_vendor_nxp-nfc_opensource_libnfc-nci" path="vendor/nxp-nfc/opensource/libnfc-nci" remote="github" revision="cm-14.0" />
<project name="TheMuppets/proprietary_vendor_qcom_binaries" path="vendor/qcom/binaries" remote="github" revision="cm-14.0" />
</manifest>

booted ubuntu.

cd ~/android/system
source build/envsetup.sh
repo sync

then

nano ~/android/system/.repo/local_manifests/roomservice.xml

then

deleted everything and added the lines which are shown above.

then

repo sync

again

then

croot
brunch oneplus3

and its building
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
I have make the same and its building too but i get some warnings. The building is very very slow. For 1% in need 1-2 minutes and i have a very fast PC. I think VirtualBox is too slow for building?

Edit ok i have forget to building cache. How can i stop the building and make it new with cache?
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
Just wait.

I has warnings too but Just wait. I closed the Terminal and tried again for caching.
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
Building is failed :(
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
Try to increase Java heap size. Look in the warning
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
And how? I have make now the cache and build again but is too slow. Its not faster with cache. :( Need houers for Building. For me the project is dead. I download build from other Users.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
Before you restart building delete Android/System/out/target/product and try again.

How mich ram do you Set for vm
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
Too late but building is break again. I have set 4gb for vm. How delete Android/System/out/target/product ? Which command? All this querstions are not in the guide.

Try increasing heap size with java option '-Xmx<size>'.

Warning: This may have produced partial or corrupted output.

[ 0% 237/34239] target Java: org.cyanogenmod.platfor...ARIES/org.cyanogenmod.platform_intermediates/classes)

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: vendor/cmsdk/cm/lib/main/java/org/cyanogenmod/platform/internal/common/CMSystemServiceHelper.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

[ 0% 237/34239] Compiling SDK Stubs with Jack: /home...RIES/android_stubs_current_intermediates/classes.jack

ninja: build stopped: subcommand failed.

build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

make: Leaving directory '/home/android/android/system'

#### make failed to build some targets (05:10 (mm:ss)) ####

android@builduntuvm:~/android/system$
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
same here at 20%.

Look on the next Page for solution

just delete the folder i said in file explorer.
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
I test tomorrow. I have set ram for vm now to 8gb.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
Ok i did a Research and found out that you have to increase the heap size. This is why it Abort.

Go to cd ~android/system

Then run these commands:

export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server

For "4" you Can Set the gb of Ram you want to use.

I took 7

and it is done!

[100% 42175/42175] Package Complete: /...-14.0-20161012-UNOFFICIAL-oneplus3.zip
make: Verzeichnis „/home/panther124/android/system“ wird verlassen

#### make completed successfully (02:42:01 (hh:mm:ss)) ####

so [MENTION=5552241]cohaolain[/MENTION] have to edit his guide.

first his manifest data.

second this with the heap size
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
How long have you wait for building? I have set now the same but its not real faster and i get also warnings. Its so slow.
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
Man, 1-2 minutes per % is fast. I need 3minutes.

I needed 2h and 42minutes

ignore the warnings. i had a lot too!

but it is working!

if you are done with that and you want to make a new zip with updated sources.

you need to run "repo sync"

and if you build again it took at me 42minutes

so dont worry and maybe you should install ubuntu on another hard drive or partition. virtual machines are always slower than dual booting.

i installed ubuntu on my second (old 500gb) hard drive which i don´t need. On my other hard drive (1000gb) i have windows 10 installed, but i think ubuntu is cooler for me.

i do not play so much so ubuntu is perfect for me. and if i want to play games i can switch to windows 10 easily.
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
#### make completed successfully (01:07:27 (hh:mm:ss)) #### Good.

Whene i now make a update, i only need type repo sync and export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"

./prebuilts/sdk/tools/jack-admin kill-server

./prebuilts/sdk/tools/jack-admin start-server ?

Need delete android/android/system/out/target/product/oneplus3 folde too?
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
no if you delete the folder now you have to wait 1h again.

only repo sync then change the heap size with the command.

and then brunch oneplus3 again.

and always make sure you are in /android/system with "cd ~/android/system"
[OnePlus 3 Guides, News, & Discussion] Schrotty35:
Great. Now all working. Thanks for help. Kill server and start server i dont need?
[OnePlus 3 Guides, News, & Discussion] MarcoLK:
you have to stop (kill)

and start the server to reload the heap size which you changed a command before :D

to be save run these commands always before you build a new zip.

it can not be wrong to do that :D