Fastest and easiest guide for building unofficial /e/ rom

No, I don’t. I’m pretty new… I have an unofficial LOS build… I’ll try my best!

I suppose you’re aware that in the logs directory you’ll find one log you can use to monitor the first part when sources are being downloaded. When the second part starts (compilation and building) there will appear a second log enabling you to monitor this second part of the building process.

Thank you @ff2u! Actually, I was unaware. ( This is basically the first build I’ve done!) I am not familiar with Docker.
I can’t figure out how to use this log, any advice you could give me?
As discussed by @unknown and me, I began the 2nd SSD compiling the software around 13.00 EST. Now, it appears to be stuck at ''Syncing branch repository"… I am not sure if that’s natural, but my pc reports almost 5GB downloaded ( yes, over VPN… I’m not happy about the idea of throttled bandwidth, which I feel sure will happen if I don’t use VPN :slight_smile: )

So it might go ok. I’ll check back on it in 15 minutes.

How long is it reasonable to expect ‘syncing branch repository’ to take?

Open a terminal.
Type
cd /srv/e/logs
tail -f <TAB>
Instead of really typing <TAB> in the second line press the TAB key. So it should add the name of the logfile (which I currently don’t know in detail).
Then you should see the progress of the download.
If I remember right download files summed up to about 150GB in my case.

1 Like

well with vpn it can take hours… good news you only need dowload it once per android version.

I guess it’s true, but what’s good speed?
I have 7.8MB/S average speed, I think it’s not too bad…

Could anyone please tell me how many GB’s ‘syncing branch repository’ takes?
I’m at 16gb and only slightly worried…

well it takes ~100GB

Ah, thank you very much. I appreciate that knowledge. I am now at 21GB, and have been going 50minutes. Thanks! I carry on.

Ok, I think my build failed! I can’t find a zip after downloading finished, and I think it’s because I didn’t include a lineageos rom. I don’t know how to incorporate the ROM, (and it’s unofficial), could anyone please tell me?

So, the docker instructions are trying to pull lineage official image from some repository, could anyone please tell me how to change the instructions to use an unofficial ROM?
Thank you!!

Is it allowed to generate fewer apps than specified in the section -e “CUSTOM_PACKAGES=‘ ??

So for example no apps: Telegram, signal, Apps …?

You cant include lineageos rom, you need find vendor, kernel and device tree sources, search on github for it.

1 Like

Yes, just cut the name of app you dont want to include from that list.

Can you build rom for a device who is not supported by lineage using your method ? I think no but I need confirmation… If no I’ll try to install the GSI created in another thread.

How to include the the files (kernel, vendor and device) in your commands ?

I’ve already seen this page but I don’t know how to get Blobs as they’re no GitHub page for my device (I’ve only found android_kernel) my device is a Xiaomi Redmi 7A (pine)…
Hope I can install /e/ : pine it’s for a basic usage as it cost only 90€ and has only 2Gb of RAM but it’s a great phone if you do not play Fortnite…

EDIT : I’ll try to install the GSI : I’ve found this page on how to install GSI on pine (Xiaomi uses a locked boot partition in order to avoid changing to another OS than MIUI).

you need unlock bootloader first for every xiaomi device if you want flash custom rom, https://en.miui.com/unlock/

I know but there’s also the problem of the locked boot partition who prevent booting on other OS than MIUI. You need to flash a patched boot.img or use MIUIMix who’s a MIUI patched version for allowing Treble (install your GSI on the top of MIUIMix) (I just found the patched boot.img and MIUIMix is not available on pine)

PS: Bootloader already unlocked.