v2.2.3: Os.chmod() syscall + PRoot fallback + explicit sh invocation for SELinux bypass
This commit is contained in:
@@ -327,13 +327,25 @@
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<h3>About</h3>
|
||||
<p class="about-text">Z.AI Chat v2.2.2</p>
|
||||
<p class="about-text">Z.AI Chat v2.2.3</p>
|
||||
<p class="about-text">Built with Z.AI SDK & GLM-5.1</p>
|
||||
<p class="about-text">Compatible with Android 15/16</p>
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<h3>Changelog</h3>
|
||||
<ul class="changelog-list">
|
||||
<li>
|
||||
<span class="changelog-version">v2.2.3</span>
|
||||
<span class="changelog-date">2026-05-19</span>
|
||||
<ul>
|
||||
<li><strong>Os.chmod() Fix</strong> — uses Android system call (chmod(2)) instead of Runtime.exec for reliable permissions</li>
|
||||
<li><strong>PRoot Fallback</strong> — auto-downloads PRoot from Termux repo when SELinux blocks binary execution</li>
|
||||
<li><strong>Shell Always /system/bin/sh</strong> — avoids Termux bash permission issues entirely</li>
|
||||
<li><strong>Explicit sh Invocation</strong> — runs pkg/apt via "sh script" instead of direct execution</li>
|
||||
<li><strong>installProot Plugin</strong> — downloads .deb, extracts proot binary with AR+tar parser</li>
|
||||
<li><strong>Termux Fallback Guide</strong> — if all else fails, clear instructions to install Termux from F-Droid</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<span class="changelog-version">v2.2.2</span>
|
||||
<span class="changelog-date">2026-05-19</span>
|
||||
|
||||
Reference in New Issue
Block a user