Build Finally running
After manually applying a set of patches and applying them, I seem to have finally come up with a stable build. The only problem is that it currently skips a few patches and contains a couple of modified patches.
Pathes Skipped / Modified
0026-Bug-10895-Fix-versioning-for-langpacks.patch This one is an empty file.
0043-Bug-9173-Change-the-default-Firefox-profile-director.patch Directoy restructuring, this will break the build for the android directory structure that exists.
0044-Bug-11641-change-TBB-directory-structure-to-be-more-.patch Same Directory problems.
0060-Bug-903135-Multi-platform-MAR-verification-build-con.patch Patch skipped. Does not apply well (needs follow up)
0064-Bug-991993-Disable-NSS-for-updater-on-OSX-and-enable.patch Patch skipped. Does not apply well (needs follow up)
0065-Bug-973933-New-updater-xpcshell-binary-for-updater-t.patch Patch modified and replaced with 0065-Orfox-Bug-973933-New-updater-xpcshell-binary-for-updater-t.patch which skips the changes to moz.build and the rename of that file to updater-common.build. (Need to find out if this causes any problems)
0067-Bug-973933-Temporarily-disable-Linux-for-MAR-verific.patch Patch modified and replaced with 0067-Orfox-Bug-973933-Temporarily-disable-Linux-for-MAR-verific.patch which skips the changes to confvars.sh which seems to be the problem in this case.
0068-Bug-973933-Fix-Nightly-builds-failing-on-updater-xpc.patch Patch skipped, Does not apply well, seems to be updater changes (needs follow up)
0070-Bug-1158866-Enable-MAR-verification-on-linux-via-NSS.patch Patch skipped, Does not apply well, seems to be updater changes (needs follow up)
0071-Bug-13379-Sign-our-MAR-files.patch Patch skipped, Does not apply well (needs follow up)
0072-Orfox-Bug-5282-Randomize-HTTP-request-order-and-pipeline-d.patch == Patch modified and replaced with 0072-Orfox-Bug-5282-Randomize-HTTP-request-order-and-pipeline-d.patch whilch skips the changes to .mozconfig
All original and modified patches can be found at https://people.torproject.org/~amoghbl1/Orfox/tbb_patches/
Some features I've tested:
https everywhere plugin works.
dnsleaktest.com extended test passes. AFAIK, this used to fail in the earlier orfox.
Work on proxying all android network calls.
Another point to be mentioned is that this involves no changes over the changes in tor-browser, just some of those patches are modified, but no other code has been added over it.