I would like to try building minimal /e/ Pie for the Samsung Galaxy S6 Edge (Zeroltexx). There is a working unofficial LOS build I found. My machine has 16Gb of RAM and about 400Gb of free space to build.
Being a beginner in this domain, my questions to you are :
Which environment do you recommend ? I currently use Linux Mint, but have read that Ubuntu 18.04 would be better suited.
Would this work with your script if renamed roomservice.xml and placed in the PIE folder ? Or should it be edited to keep only the zeroltexx parts ?
Are there programs I should install or modify (e.g. jdk ?)
Yes, that got me quite confused at first, but I was able to find it by searching around the forum. Thank you for pointing it out @LEPT.
After a few building environment adjustments, the repo sync is underway. I’ll let it run tonight and see the progress tomorrow. Thanks again for kindly helping me
have you copied this patch to /frameworks/base folder ?
By the way, the patch makes no sense. You will lost one ‘tick’ in MicroG Selfcheck and Apps which are needed signature Spoofing will still not work. Have a look here Make /e/ OS ROM Signature Spoofing microG ready
no .repo or any other folder. The patch you can run first after a complete repo sync. So first run the script without patching.When repo sync is finished and build starts, you can stop with CTRL+C
Than, if you really want destroy the MicroG setup and use the patch, put the patch file in above folder and start the script once more
And here’s the complete terminal content when I run ./1312.sh output.txt (In order to have acces to the text, because if I just execute with ./1312.sh, the terminal closes and I cannot read what the error is.) I read that there are build log files but I don’t know where they are.
I checked the terminal content I put in my previous post, and the part with all those mv lines you mention is not in it.
When you write The last two points seems missing, do you mean those two ?
mkdir packages/apps/Email
mv temp/apps/Email/emailcommon packages/apps/Email/emailcommon
I start the script with ./1312.sh as mentioned in your guide. Starting the script with bash 1312.sh yields the same result.
Could there be files missing in my sources ? Or maybe something wrong with my building environment ?
I think openjdk 1.9 is by default for Pie so I changed nothing
I enabled ccache and set it at 50gb
I read somewhere that this command export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G" allows to prevent building failures. It seems it is present in 1312a.sh but not in 1312.sh.
Once again, I really appreciate your help, danke sehr !
When I run 1312.sh and it fails, the temp folder disappears. I create it before each build attempt. The mkdir command does not work because “file already exists”.
As for the mv command, there is no temp folder after the build fails, so there’s nothing to move, and packages/apps/Email/emailcommon already exists.
I will try this the commands from the script manually and keep you updated.
I tried the following commands one by one, checking each time that it had the desired effect. As far as I could tell, each works fine. The errors only happen when I start the brunch zeroltexx command.
I do not understand why the email app is copied rather than moved like the other apps.
Also, why is temp moved to /tmp and not a created tmp directory in the PIE directory ?
I thought I would try to find error_prone_rules.mk online and put it in the PIE/cts folder. Maybe it isn’t a good idea because then it gives me more errors :
I would prefer, that you first build for a full supported device. So you can ensure, that your environment is OK. If it fished successful, you know that there is something wrong/missing on your device sources.