[HOWTO] build eOS in old fashioned way with breakfast -- now with interactive script

Older repo for legacy Python 2 systems

curl https://storage.googleapis.com/git-repo-downloads/repo-1 > ~/bin/repo
chmod a+x ~/bin/repo

I also had to update flex to work on Xubuntu 18 LTS

there is a easier way, use my minimal script 1312.sh :slight_smile:

Hey Harvey,
Ich hab nochmal ne Verständnisfrage. Das 161.sh ist jetzt über Nacht scheinbar erfolgreich durchgelaufen. War es das dann? An welcher Stelle kommt jetzt deine customrom ins Spiel? Eine zip hab ich noch nicht rausbekommen.
Danke für deine Hilfe!

Also, wenn das script erfolgreich durch it, dann sollte da im Terminal eine grüne Mitteilung stehen, das das build erfolgreich abgeschlossen ist.
Dann findest du im Ordner out/target die zip Datei die du flashen kannst

Du hast dann eine unofficial version. Custom version gibt’s mit dem 1312.sh script. Denn damit kannst schmeißt du Default apps raus.

Irgendeine Idee? :pensive: Das liegt vielleicht wieder an Python, oder? Dann wechsel ich doch mal zu 18 LTS

File “libcore/annotations/generate_annotated_java_files.py”, line 34
print ‘// Do not edit; generated using libcore/annotations/generate_annotated_java_files.py’
^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(’// Do not edit)?
[ 0% 15/87290] host C++: adb <= system/core/adb/commandline.cpp
ninja: build stopped: subcommand failed.
09:20:26 ninja failed with: exit status 1

failed to build some targets (01:05 (mm:ss))

ja, leider :frowning:
Das kommt durch python 3. Ich hatte das auch und die einzige Möglichkeit war auf Ubuntu 18 runter zu gehen, bzw. ich nutze Mint 19.
Ich habe versucht alles auf Python 2 umzustellen, aber dieser verfluchte Fehler kam immer noch.

Python 2 ist veraltet, aber die Dev’s kümmern sich nicht darum die einzelnen scripte auf python 3 umzustellen :frowning:

1 Like

Thank you very much for your answer!
two more question, sorry:

  • What do you mean with “Format data”?

  • Do you know if the problem of “slot a - slot b” mentioned in LOS installation also applies to the installation process that you suggest?

https://wiki.lineageos.org/devices/lake/install

TIA

paolo

Format data is found in twrp wipe menu, right bottom side.

Regarding a abd b slot. I’m not sure. I only own a-only devices.

Thank you again…
I think I’ve found the answer in twrp installation instructions here:
“The zip will install TWRP on boot partition of both slots.”

I’ll try…

good luck !! :+1: :+1: :+1: :+1:

it worked!!! :sunflower: :four_leaf_clover: :sauropod:
few notes (actually applies non to /e/ but to TWRP installation):

  • TWRP zip file for androip P it is not available (there is only the .img file for temporay boot) so, in order to install TWRP, I had to use the Q version as advised in the xda forum

  • data partition it was encryped (twrp asked a key I did not know), so I could not push TWRP zip to /sdcard nor to /ex-sdcard. So, I had to push in /tmp

  • the same for the /e/ zip.

  • I did not format data just after the TWRP boot, I did it after /e/ intallation, along with wipe dalvic, ecc: may be this caused the above issue, I don’t know.

Thank you again for your kind support! :green_heart:

paolo

you can do in fastboot mode:
fastboot /w
or
fastboot format data

Nochmal zum Verständnis: Was ist dann der Unterschied zwischen dieser Version die ich hier baue und der zip die du im anderen hero2lte-pie Thread hochgeladen hast? Wofür brauche ich die dann und warum kann ich die nicht direkt flashen?

Die die ich gebastelt habe, hat (m)ein Bootlogo und einen anderen Hintergrund. Alles andere ist wie immer. Das sich ein User daran gestört hat, musste ich ein ‘Custom’ build daraus machen.

Ich sehe keinen Grund, warum die meine Version NICHT nehmen solltest. Sie läuft ohne Probleme.
Ich dachte nur, du wolltest vl selber mal ein rom backen.

Hi, I guess the script needs some modifications ?

mhm, I have worked til 12 pm with
https://gitlab.e.foundation/e/os/android.git -b v1-pie
successfull

Don’t know if this new repo is for docker. Have to clarify with e-devs

1 Like

thx for information. have updated all my scripts

1 Like

The “repo init -u” line needs to be corrected.

1 Like

Looks like the 161.sh file has been modified outside Linux because there is an interpreter error when we try to launch it.

Workaround : create another 161.sh file and copy paste everything in the new file.

1 Like

I’m making always the changes direct on the file in ecloud. I think that’s the problem. But when I upload a new file with corrections I fear I have to change all links in all posts :frowning: