setprop wrap causes Replicant to reboot when wrapped app is launched
Steps to reproduce¶
- Install Orfox.
- Open a root shell.
- setprop wrap.info.guardianproject.orfox BLAHBLAH=1
- Run Orfox.
Orfox should run as normal, with the extra environment variable set.
Replicant will go into a reboot loop until the battery is removed. Running Orfox afterward will put the phone back into a reboot loop; to fix Orfox, set the property to the empty string.
These results aren't unique to Orfox, similar results happen with other apps. I don't know whether similar issues happen on LineageOS.
Updated by Kurtis Hanna about 2 years ago
Can you please clarify what the terms of your bounty are? I personally don't know whether this underlying setprop wrap issue was solved or not because I haven't looked into it, but I can personally confirm that on the N7100 (Note II) the Tor Browser app works. You can test experimental Roms that were built with the patch applied on your own device here: https://redmine.replicant.us/boards/9/topics/15211?r=15248#message-15248
The patch was worked on by Jookia and Jeremy Rand. adjtm made some more edits to it and the 8 patches to make it work were recently submitted for review by adjtm here: https://lists.osuosl.org/pipermail/replicant/2019-August/002054.html