Replicant: Issueshttps://redmine.replicant.us/https://redmine.replicant.us/favicon.ico?15984615062020-12-01T19:42:15ZReplicant
Redmine Replicant - Feature #2190 (New): Ask the FSF if they can also accept Litecoin donations on our be...https://redmine.replicant.us/issues/21902020-12-01T19:42:15ZKurtis HannaKurtis@riseup.net
<p>The FSF's donation page accepts both Litecoin and Bitcoin crytpocurrency donations: <a class="external" href="https://my.fsf.org/donate">https://my.fsf.org/donate</a></p>
<p>The FSF's page about how to donate to Replicant only mentions how to donate to us using Bitcoin, when it comes to cryptocurrency, and not Litecoin: <a class="external" href="https://my.fsf.org/civicrm/contribute/transact?reset=1&id=19">https://my.fsf.org/civicrm/contribute/transact?reset=1&id=19</a></p> Replicant - Feature #2186 (New): Add Support for the Samsung XCover 2 - GT-S7710https://redmine.replicant.us/issues/21862020-11-26T23:27:59ZKurtis HannaKurtis@riseup.net
<p>Upstream kernel DTS: <a class="external" href="https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts">https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts</a></p>
<p>Upstream U-Boot Config: <a class="external" href="https://gitlab.denx.de/u-boot/u-boot/-/blob/master/configs/stemmy_defconfig">https://gitlab.denx.de/u-boot/u-boot/-/blob/master/configs/stemmy_defconfig</a><br />Upstream U-Boot README: <a class="external" href="https://gitlab.denx.de/u-boot/u-boot/-/blob/master/board/ste/stemmy/README">https://gitlab.denx.de/u-boot/u-boot/-/blob/master/board/ste/stemmy/README</a><br />Downstream U-Boot has recent commits: <a class="external" href="https://github.com/stericsson-mainline/u-boot/commits/master">https://github.com/stericsson-mainline/u-boot/commits/master</a></p>
<p>Has removable battery and 1GB Ram</p>
<p>We still need to determine if the NovaThor U8500 has a signed or unsigned bootloader and whether it has good modem isolation. This post suggested that it doesn't have good modem isolation: <a class="external" href="https://redmine.replicant.us/boards/27/topics/39?r=10155#message-10155">https://redmine.replicant.us/boards/27/topics/39?r=10155#message-10155</a></p>
<p>Has a Mali-400 GPU</p>
<p>PostmarketOS device page: <a class="external" href="https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Xcover_2_(samsung-skomer)">https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Xcover_2_(samsung-skomer)</a><br />PostmarketOS SoC page: <a class="external" href="https://wiki.postmarketos.org/wiki/ST-Ericsson_NovaThor_U8500">https://wiki.postmarketos.org/wiki/ST-Ericsson_NovaThor_U8500</a></p>
<p>Wikipedia page: <a class="external" href="https://en.wikipedia.org/wiki/Samsung_Galaxy_Xcover_2">https://en.wikipedia.org/wiki/Samsung_Galaxy_Xcover_2</a></p> Replicant - Feature #2185 (New): Add support for the Samsung Galaxy S III mini (GT-i8190)https://redmine.replicant.us/issues/21852020-11-26T23:27:52ZKurtis HannaKurtis@riseup.net
<p>Upstream kernel DTS: <a class="external" href="https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/arch/arm/boot/dts/ste-ux500-samsung-golden.dts">https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/arch/arm/boot/dts/ste-ux500-samsung-golden.dts</a></p>
<p>Upstream U-Boot Config: <a class="external" href="https://gitlab.denx.de/u-boot/u-boot/-/blob/master/configs/stemmy_defconfig">https://gitlab.denx.de/u-boot/u-boot/-/blob/master/configs/stemmy_defconfig</a><br />U-Boot Readme: <a class="external" href="https://gitlab.denx.de/u-boot/u-boot/-/blob/master/board/ste/stemmy/README">https://gitlab.denx.de/u-boot/u-boot/-/blob/master/board/ste/stemmy/README</a></p>
<p>Was discussed a bit in our forums here: <a class="external" href="https://redmine.replicant.us/boards/27/topics/39?r=15709">https://redmine.replicant.us/boards/27/topics/39?r=15709</a></p>
<p>Has a removable battery and 1GB Ram.</p>
<p>We still need to determine if the NovaThor U8500 has a signed or unsigned bootloader and whether it has good modem isolation. This post suggested that it doesn't have good modem isolation: <a class="external" href="https://redmine.replicant.us/boards/27/topics/39?r=10155#message-10155">https://redmine.replicant.us/boards/27/topics/39?r=10155#message-10155</a></p>
<p>PostmarketOS device page: <a class="external" href="https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S_III_mini_(samsung-golden)">https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S_III_mini_(samsung-golden)</a><br />PostmarketOS SoC page: <a class="external" href="https://wiki.postmarketos.org/wiki/ST-Ericsson_NovaThor_U8500">https://wiki.postmarketos.org/wiki/ST-Ericsson_NovaThor_U8500</a></p>
<p>Has a Mali-400 GPU</p>
<p>Wikipedia page: <a class="external" href="https://en.wikipedia.org/wiki/Samsung_Galaxy_S_III_Mini">https://en.wikipedia.org/wiki/Samsung_Galaxy_S_III_Mini</a></p> Replicant - Issue #2027 (New): Investigate lthor / thor and samsung u-boot for Tizenhttps://redmine.replicant.us/issues/20272020-05-07T06:01:49ZKurtis HannaKurtis@riseup.net
<p>We already know of a method by which we can replace s-boot and replace it with u-boot, but it requires opening up the device and shorting a touch point on the logic board.</p>
<p>We have been looking for a method by which we can replace s-boot via software only techniques. One such technique might spring from the work being done here: <a class="external" href="https://github.com/oranav/i9300_emmc_toolbox">https://github.com/oranav/i9300_emmc_toolbox</a></p>
<p>Another option, if heimdall by itself doesn't prove in the end to be enough, might be lthor.</p>
<p>This upstream u-boot ODROID exynos4412 repo shows that lthor/thor is enabled: <a class="external" href="https://gitlab.denx.de/u-boot/u-boot/blob/master/configs/odroid_defconfig">https://gitlab.denx.de/u-boot/u-boot/blob/master/configs/odroid_defconfig</a></p>
<p>It was suggested to Wolfgang in the last email of this thread that he should use lthor to "convert" an i9300 to an RD-PQ/Trats2 board to get u-boot on the device: <a class="external" href="https://patchwork.kernel.org/patch/9345815/">https://patchwork.kernel.org/patch/9345815/</a></p>
<p>lthor is free software, but the i9300 doesn't have lthor support by default.</p>
<p>On post #77 here <a class="external" href="https://forum.xda-developers.com/showthread.php?t=2482563&page=8">https://forum.xda-developers.com/showthread.php?t=2482563&page=8</a> it is claimed that a modified kernel with access to the mmcblk0boot0 partition was used to flash a modified version of s-boot, which was dumped from a RD-PQ, that included u-boot with lthor enabled in it. Much of the same information is reiterated by the same author in this post: <a class="external" href="https://forum.xda-developers.com/showthread.php?p=64794497#post64794497">https://forum.xda-developers.com/showthread.php?p=64794497#post64794497</a></p>
<p>It is my understanding that once you can use lthor with your device, you can then very easily flash any image that you'd like onto the emmc using the free software program lthor. At least that is the suggestion after reading to the end of this section of a Tizen wiki: <a class="external" href="https://wiki.tizen.org/Exynos#Creating_the_image_manually">https://wiki.tizen.org/Exynos#Creating_the_image_manually</a></p>
<p><a class="external" href="https://wiki.tizen.org/images/b/bd/Lecture-1.pdf">https://wiki.tizen.org/images/b/bd/Lecture-1.pdf</a> has some information about creating updated versions of u-boot-mmc.bin, which might come in handy.</p> Replicant - Issue #2022 (In Progress): Update our git to include forkbomb's u-boot midas updates.https://redmine.replicant.us/issues/20222020-04-17T15:10:32ZKurtis HannaKurtis@riseup.net
<p>Forkbomb's midas u-boot repo has commits in it that aren't included in our git repo here: <a class="external" href="https://git.replicant.us/contrib/GNUtoo/u-boot-midas">https://git.replicant.us/contrib/GNUtoo/u-boot-midas</a></p>
<p>Here are his most recent commits: <a class="external" href="https://github.com/fourkbomb/u-boot/commits/midas-2020.01">https://github.com/fourkbomb/u-boot/commits/midas-2020.01</a></p> Replicant - Issue #1948 (New): Document how to install and run Replicant in a virtual machinehttps://redmine.replicant.us/issues/19482019-08-23T01:47:59ZKurtis HannaKurtis@riseup.net
<p>Some development work, <a href="https://redmine.replicant.us/projects/replicant/wiki/Exynos4Bootrom" class="external">like bootloader hacking</a>, is much easier to do when Replicant is running in a virtual machine rather than on a phone/tablet or a dev board.</p>
<p>There are likely also use cases for end users where knowing how to install and run Replicant in a virtual machine is useful as well.</p>
<p>There is a post here related to emulating Exynos 4210 BootROM (which is in the Replicant supported Galaxy S2) in QEMU: <a class="external" href="https://fredericb.info/2018/03/emulating-exynos-4210-bootrom-in-qemu.html">https://fredericb.info/2018/03/emulating-exynos-4210-bootrom-in-qemu.html</a></p>
<p>Here is the git repo for the Exynos 4210 BootROM in QUMU: <a class="external" href="https://github.com/frederic/qemu-exynos-bootrom">https://github.com/frederic/qemu-exynos-bootrom</a></p>
<p>Three years ago it was reported that Replicant could be run in VirtualBox using Replicant's SDK: <a class="external" href="https://redmine.replicant.us/boards/3/topics/10341?r=12267#message-12267">https://redmine.replicant.us/boards/3/topics/10341?r=12267#message-12267</a></p>
<p>Since we don't have a Replicant 6 SDK, those instructions can't be used directly by us for documentation.</p> Replicant - Feature #1946 (New): Add support for the Note 10.1 (2012 edition)https://redmine.replicant.us/issues/19462019-08-06T22:30:06ZKurtis HannaKurtis@riseup.net
<p>This looks to be the same as the Note 8.0 that we currently support, but with a bigger screen (has same amount of pixels though).</p>
<p>To avoid confusion, I should note that there is also a Note 10.1 (2014 edition), which is a completely different device.</p>
<p><a class="external" href="https://en.wikipedia.org/wiki/Samsung_Galaxy_Note_10.1">https://en.wikipedia.org/wiki/Samsung_Galaxy_Note_10.1</a><br /><a class="external" href="https://redmine.replicant.us/boards/27/topics/1605">https://redmine.replicant.us/boards/27/topics/1605</a></p>
<p>Models: <br />GT-N8000 (3G & Wifi)<br />GT-N8010, GT-N8013 (Wifi)<br />GT-N8020 (LTE, 3G & Wifi)<br />SHW-M480W (Wifi)<br />SHW-M480S/K (Korean 3G)<br />SHV-E230S/K/L (Korean 4G LTE)<br />SCH-I925 (USA Verizon 4G LTE)<br />SCH-I925U (USA US Cellular 4G LTE)</p> Replicant - Issue #1937 (New): Liberate the bcm4334 wifi/bluetooth firmwarehttps://redmine.replicant.us/issues/19372019-06-13T03:52:43ZKurtis HannaKurtis@riseup.net
<p>The driver for this chip seems to already be free software and is in the mainline linux kernel: <a class="external" href="https://redmine.replicant.us/issues/1836">https://redmine.replicant.us/issues/1836</a></p>
<p>Cypress now owns the rights to the bcm4334 chips' firmware. To my knowledge, Cypress is more likely to say yes to a request that they release the source code to this firmware with a free software license than Broadcom would have been. I don't believe anyone has formally asked Cypress to do this. Since this chip is in a lot of Replicant's supported devices, it would make sense for our project to formally ask this of them.</p>
<p>The non-free firmware binary seems to be available here: <br /><a class="external" href="https://github.com/OpenELEC/wlan-firmware/blob/master/firmware/brcm/brcmfmac4334-sdio.bin">https://github.com/OpenELEC/wlan-firmware/blob/master/firmware/brcm/brcmfmac4334-sdio.bin</a></p>
<p>There were some efforts to hack this chip's firmware in the past, but it seems to not have gone anywhere...</p>
<p><a class="external" href="https://forum.xda-developers.com/showpost.php?p=52499037&postcount=5">https://forum.xda-developers.com/showpost.php?p=52499037&postcount=5</a><br /><a class="external" href="https://github.com/cociorbaandrei/bcmon">https://github.com/cociorbaandrei/bcmon</a><br /><a class="external" href="https://recon.cx/2013/video/Recon2013-Ruby%20feinstein%20Omri%20Ildis%20Yuval%20Ofir.mp4">https://recon.cx/2013/video/Recon2013-Ruby%20feinstein%20Omri%20Ildis%20Yuval%20Ofir.mp4</a><br /><a class="external" href="https://recon.cx/2013/slides/Recon2013-Omri%20Ildis%2c%20Yuval%20Ofir%20and%20Ruby%20Feinstein-Wardriving%20from%20your%20pocket.pptx">https://recon.cx/2013/slides/Recon2013-Omri%20Ildis%2c%20Yuval%20Ofir%20and%20Ruby%20Feinstein-Wardriving%20from%20your%20pocket.pptx</a><br /><a class="external" href="https://bcmon.blogspot.com/">https://bcmon.blogspot.com/</a><br />Some of this work seems to have been done by this developer, who we could maybe contact for help if we also want to hack the chip's firmware: <a class="external" href="https://github.com/shoote">https://github.com/shoote</a> <a class="email" href="mailto:shoote@gmail.com">shoote@gmail.com</a></p> Replicant - Issue #1906 (New): Replace S-Boot with U-Boot on exynos4412 (midas) deviceshttps://redmine.replicant.us/issues/19062019-01-11T02:28:53ZKurtis HannaKurtis@riseup.net
<p>This is needed in order to deal with TrustZone, RYF, mainline Linux, and making it so our current flagship devices can run GNU/Linux distros.</p>
<p><a class="external" href="https://github.com/fourkbomb/u-boot">https://github.com/fourkbomb/u-boot</a><br /><a class="external" href="https://blog.forkwhiletrue.me/posts/an-almost-fully-libre-galaxy-s3/">https://blog.forkwhiletrue.me/posts/an-almost-fully-libre-galaxy-s3/</a></p>
<p>It is my understanding that this currently works, but no u-boot console shows up on the display if you use the old linux kernel from Samsung that we are currently using.</p>
<p>"It's also worth mentioning that LineageOS/Replicant will boot under u-boot with a kernel compiled without CONFIG_ARM_TRUSTZONE set, but the display will not work (probably because u-boot does not initialise the display)."</p> Replicant - Issue #1810 (Closed): Phone calls in WhisperSystem's Signal app failshttps://redmine.replicant.us/issues/18102017-06-14T03:49:03ZKurtis HannaKurtis@riseup.net
<p><strong>Expected result:</strong></p>
<p>Call screen opens, makes funky calling sound and shows text like "Calling" and "Establishing Signal call"</p>
<p><strong>Actual result:</strong></p>
<p>Signal stops, with message "Unfortunately, Signal has stopped" from the OS</p>
<p>Related posts / issues:</p>
<p><a class="external" href="https://github.com/WhisperSystems/Signal-Android/issues/6583#issuecomment-308310744">https://github.com/WhisperSystems/Signal-Android/issues/6583#issuecomment-308310744</a></p>
<p><a class="external" href="https://redmine.replicant.us/boards/9/topics/14272">https://redmine.replicant.us/boards/9/topics/14272</a></p>
<p>logs:</p>
<p>06-08 20:14:08.655 4189 4189 E AndroidRuntime: java.lang.RuntimeException: Unable to find any matching EGL config<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at org.webrtc.EglBase14.getEglConfig(EglBase14.java:236)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at org.webrtc.EglBase14.<init>(EglBase14.java:57)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at org.webrtc.EglBase.create(EglBase.java:86)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at org.webrtc.EglBase.create(EglBase.java:93)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at org.thoughtcrime.securesms.service.WebRtcCallService$7.run(WebRtcCallService.java:835)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at org.thoughtcrime.securesms.util.Util$2.run(Util.java:397)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5461)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)<br />06-08 20:14:08.655 4189 4189 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)</p>
<p>more logs: <a class="external" href="https://github.com/WhisperSystems/Signal-Android/files/1069493/signallog-crashedcall.453-submit.txt">https://github.com/WhisperSystems/Signal-Android/files/1069493/signallog-crashedcall.453-submit.txt</a></p>