I had to make some modifications in the end because the shell script
didn't account for the "include" tag. Here is the updated version for
now. I will upload the final version to publicsite ReplicantBuilds git
at some point. This reconstructmirror of the below script only needs to
be run once on default.xml . You can run it more than once and it
probably won't hurt that said.

If you have already started with an old
version of the reapz-download script, this updated script is compatible
with the old version on pastie.org I posted, so you don't have to
delete your mirrordirectory to continue, you can simply reuse the
directory and it should be fine.

http://pastie.org/p/0tMheA0yOAIdZKJOEWuQDD/raw

Josh

On Tue, 14 Jul 2026 11:00:51 +0000
Fil Lupin via Replicant <[email protected]> wrote:

> Hi Josh,
> thanks for this investigation. 
> I will test
> 
> ```
> cd ${REPLICANTDIR} # ReplicantBuilds-i9300/replicant-6.0
> mkdir -p mirror
> ./reapz-download reconstructmirror manifest/default.xml mirror
> # should work if the manifest do not contains directories with same
> name ./reapz-download reconstructmirror
> manifest/snippets/hal_cm_all.xml mirror
> 
> mkdir -p output
> ./reapz-download processsources manifest/default.xml output
> ```
> I do not remember where `repo sync` put data but we should probably
> move output somewhere else (perhaps ${REPLICANTDIR}) to make it work
> with the already existing instructions.
> 
> 2 suggestionss:
> * this repo could help to download SFH repo :
> https://radicle.network/nodes/iris.radicle.network/rad%3Az2qhkFb9wS7ebXwxWFBB95uTxPvKa
> * reapz-download could get .sh extension since it's shell
> 
> - Fil Lupin.
> 
> On Monday, July 13th, 2026 at 5:34 PM, J05HYYY via Replicant
> <[email protected]> wrote:
> 
> > I think I've found out why this is ...
> > 
> > There is another manifest here:
> > 
> > https://git.replicant.us/replicant/manifest/tree/snippets/hal_cm_all.xml
> > 
> > which contains the required line
> > 
> >   <project path="vendor/qcom/opensource/dpm"
> >   name="mirrors/LineageOS/android_vendor_qcom_opensource_dpm.git" />
> > 
> > So if using reapz-download.sh to download sources, you will also
> > have to download the sources from this manifest snippet too and run
> > processsources on it in addition to default.xml
> > 
> > So I answered my own question :---)
> > 
> > Josh
> >   
> > > Hi,
> > >
> > > I managed to build a boot image and recovery image for
> > > replicant-6.0-0004 but I am unable to build system image because
> > > tcmiface library is missing which is required by
> > > android_external_okhttp
> > >
> > > https://git.replicant.us/mirrors/LineageOS/android_external_okhttp/tree/Android.mk
> > >
> > > I don't know how to fix the error.
> > >
> > > I used the shell proggy I wrote to download the sources. It seems
> > > repo sync times out a lot easier than "git clone". You will
> > > notice that the download speed often drops into the Kbps rather
> > > than Mbps.
> > >
> > > Josh
> > >
> > >
> > > * previously sent from wrong account in error  
> > 
> > _______________________________________________
> > Replicant mailing list
> > [email protected]
> > https://lists.osuosl.org/mailman/listinfo/replicant
> >   
> _______________________________________________
> Replicant mailing list
> [email protected]
> https://lists.osuosl.org/mailman/listinfo/replicant

_______________________________________________
Replicant mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to