After thinking about it a bit more, it's hard to tell which would be the better way to proceed.
Looking at your picture, I assume that the bottom layer is salt, the middle layer is harmalas and the top layer is a mix of harmalas and tea...
My first thought was to just heat everything up, allow everything to redissolve and then allow everything to cool.
This would push the alks out as harmala hcl.
The only thing with that is that you'll have to retrieve the harmala hcl somehow and that works best with a filter. However, that requires your brew to be exceptionally clean to work with any kind of efficiency otherwise it will just get clogged and take forever and a million filters.
So I recommend instead to heat everything up and allow everything to dissolve. If everything doesn't dissolve, add some more water/vinegar until it does dissolve.
Once everything is completely dissolved, move it back to a glass container and add either a lye solution or the ammonia solution once it cools down enough so that it doesn't cause any kind of violent reaction but before it cools down enough for the salt to start pushing alks out.
Once your alks are freebased, allow them to settle for 24 hours and then you can decant the basic water off and redissolve the alks in some fresh vinegar and proceed with step 6 in the Tao.