Replicant: Issueshttps://redmine.replicant.us/https://redmine.replicant.us/favicon.ico?15984615062020-01-20T15:01:29ZReplicant
Redmine Replicant - Issue #1989 (Closed): 'Trebuchet' crashes while opening app group/folderhttps://redmine.replicant.us/issues/19892020-01-20T15:01:29Zdoak complex
<p><em>Trebuchet</em> crashes if "app folders" (groups of apps) are opened after some other tile of homescreen has been viewed.</p>
How to reproduce:
<ol>
<li>Create group by dragging some application onto another on. Now there is a group of this two apps.</li>
<li>Verify that you can open this group by tapping on it.</li>
<li>Tap next to group (i.e. in darkened homescreen) to go back to homescreen again.</li>
<li>Swipe to another tile.</li>
<li>Swipe back.</li>
<li>Tap on group to open it.</li>
<li><em>Trebuchet</em> crashes and restarts immediately</li>
</ol>
Expected:
<ul>
<li>No crash ;)</li>
</ul>
Reproducable on:
<ul>
<li>i3905 Replicant 6.0 004 RC1 (prebuild)</li>
<li>i9300 Replicant 6.0 003 (own build)</li>
</ul>
<p>I expect this to be an upstream bug.</p> Documentation - Issue #1987 (Closed): 'Safe Mode' Wiki page is wronghttps://redmine.replicant.us/issues/19872020-01-18T18:30:52Zdoak complex
The description on [1] have two flaws:
<ol>
<li>You only need to press <em>Volume Down</em>, not both keys.</li>
<li>It does not mention that not-yet-synced data will be lost.</li>
</ol>
<p>You just need to hold down the <em>Volume Down</em> button. By the way, you don't need hold<br />it very long. In fact it is enough to hold if for one second during the short vibration during splash screen<br />(tested on a <em>LineageOS</em> ROM). And it does not matter if the key was hold down whole the time or if other<br />keys are pressed/held.</p>
<p>Furthermore there is currently bug <a class="issue tracker-3 status-3 priority-21 priority-default" title="Issue: Safe mode can loose/erase data ('Safe Mode' purges accounts, and can also loose/erase application... (New)" href="https://redmine.replicant.us/issues/1986">#1986</a> which purges all accounts.</p>
<p>[1] <a class="external" href="https://redmine.replicant.us/projects/replicant/wiki/SafeMode">https://redmine.replicant.us/projects/replicant/wiki/SafeMode</a></p> Replicant - Issue #1870 (Resolved): Failed to sign build due to ClassCastException [patch to fix ...https://redmine.replicant.us/issues/18702018-01-23T20:03:04Zdoak complex
<p>I try to sign my build with <code>./vendor/replicant/sign-build i9300</code> but it fails with some <code>java.lang.ClassCastException</code>:<br /><pre>
0 20:59:24 replicant@debian:~/rsm13% ./vendor/replicant/sign-build i9300
Enter password for /home/replicant/rsm13/vendor/replicant-security/media key>
Enter password for /home/replicant/rsm13/vendor/replicant-security/platform key>
Enter password for /home/replicant/rsm13/vendor/replicant-security/releasekey key>
Enter password for /home/replicant/rsm13/vendor/replicant-security/shared key>
rewriting RECOVERY/RAMDISK/default.prop:
replace: ro.bootimage.build.fingerprint=replicant_i9300:6.0.1/MOI10E/eng.replicant.20180122.125904:userdebug/test-keys
with: ro.bootimage.build.fingerprint=replicant_i9300:6.0.1/MOI10E/eng.replicant.20180122.125904:userdebug/release-keys
replace: ro.build.display.id=replicant_i9300-userdebug 6.0.1 MOI10E eng.replicant.20180122.125904 test-keys
with: ro.build.display.id=replicant_i9300-userdebug 6.0.1 MOI10E eng.replicant.20180122.125904
replace: ro.build.tags=test-keys
with: ro.build.tags=release-keys
signing: FusedLocation.apk (/home/replicant/rsm13/vendor/replicant-security/platform)
java.lang.ClassCastException: org.bouncycastle.asn1.DLSequence cannot be cast to org.bouncycastle.asn1.ASN1Integer
at org.bouncycastle.asn1.pkcs.PrivateKeyInfo.<init>(PrivateKeyInfo.java:79)
at org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance(PrivateKeyInfo.java:45)
at com.android.signapk.SignApk.readPrivateKey(SignApk.java:250)
at com.android.signapk.SignApk.main(SignApk.java:924)
ERROR: signapk.jar failed: return code 1
1 20:59:37 replicant@debian:~/rsm13%
</pre></p>
<p>The APK seems to be build from <code>./build/tools/signapk</code> which is checked-out at tag <code>replicant-6.0-0003</code> like expected.<br />The same is true for <code>./external/bouncycastle</code> if this matters.</p>
<p>Any ideas?</p>