提交 Haven Android 仓库源码 v5.87.79

This commit is contained in:
ali
2026-09-10 13:45:36 +08:00
parent 87b452c4dc
commit 22f4ca5830
2524 changed files with 599455 additions and 1 deletions
@@ -0,0 +1,22 @@
v5.8.3: كشف انتهاء جلسة mosh (#92)
أصبحت جلسات mosh تكتشف الآن خروج الصدفة البعيدة
وتقطع الاتصال بشكل نظيف بدلاً من التعليق إلى الأبد.
سابقاً، كتابة `exit` في جلسة mosh كانت تترك
الطرفية متجمدة — بطاقة الاتصال تبقى خضراء
والحل الوحيد كان قطع الاتصال يدوياً. كان البروتوكول
يعيد الإرسال بلا نهاية لأنه لم يكن لديه آلية
لكشف أن mosh-server قد خرج.
يضيف الإصلاح كشف صمت الخادم على مرحلتين:
10 ثوانٍ بدون حزم من الخادم: إعادة ربط مقبس UDP
مرة واحدة (يستعيد تجوال IP / تبديل WiFi).
15 ثانية بدون حزم من الخادم: تشغيل onDisconnect
وتحويل بطاقة الاتصال إلى حالة "غير متصل".
يرسل mosh-server عادةً keepalives كل ~3 ثوانٍ، لذا
15 ثانية من الصمت تشير بشكل موثوق إلى أن عملية
الخادم قد انتهت. العتبة تتجاوز بكثير نافذة إيقاف
mosh-server البالغة ~4 ثوانٍ بعد خروج الصدفة مع
تحمّل انقطاعات الشبكة القصيرة.
@@ -0,0 +1,17 @@
v5.8.4: إدخال IME + تشخيصات FIDO2
أصبح إدخال لوحة المفاتيح اليابانية/الصينية/الكورية
يعمل الآن في الطرفية. تم تبديل وضع الإدخال
الافتراضي من TYPE_NULL (أحداث المفاتيح الخام فقط)
إلى TYPE_CLASS_TEXT (بروتوكول تركيب IME)، مما يتيح
لطرق إدخال CJK تركيب الأحرف قبل تأكيدها.
يبقى الإكمال التلقائي والاقتراحات معطلين. (#96)
تسجّل مصادقة مفتاح الأمان FIDO2 الآن كل خطوة
من تبادل CTAP — نتيجة إذن USB، وتهيئة CTAPHID،
وأمر GetAssertion، وحالة الاستجابة. عند فشل مفتاح
الأمان، يعرض مربع حوار الخطأ سبب CTAP المحدد
(مثل "لا يوجد بيانات اعتماد مطابقة على هذا المفتاح")
بدلاً من رسالة احتياطية عامة لكلمة المرور. تنتهي
مهلة طلبات إذن USB الآن بعد 30 ثانية بدلاً من
الحظر إلى أجل غير مسمى. (#15)
@@ -0,0 +1,10 @@
v5.8.5: اكتشاف أسرع لانتهاء جلسة mosh (#92)
تم تقليل عتبة اكتشاف انتهاء الجلسة من 15 ثانية إلى 8 ثوانٍ.
كانت مهلة 15 ثانية السابقة صحيحة لكنها بطيئة جداً —
المستخدمون كانوا يقطعون الاتصال يدوياً قبل أن تنتهي. مع 8 ثوانٍ،
تُغلق الجلسة تلقائياً بعد ~6 ثوانٍ من كتابة `exit`.
يرسل mosh-server رسائل keepalive كل ~3 ثوانٍ، لذا فإن 8 ثوانٍ
من الصمت (فقدان keepalive مرتين أو أكثر) تشير بشكل موثوق إلى
أن الخادم قد توقف دون إنذارات كاذبة على الشبكات السليمة.
@@ -0,0 +1,2 @@
• إصلاح: أصبح إغلاق تبويب طرفية تسلسلية عبر Bluetooth أو BLE أو USB يغلقه فعليًا — كان التبويب يُعاد فتحه بصمت من قبل. كما أُصلح قطع الاتصال من شاشة الاتصالات.
• جديد: يمكن الآن جسر جهاز تسلسلي عبر Bluetooth/BLE/USB إلى منفذ TCP محلي على الهاتف عبر الوكيل (MCP)، بحيث يصل إليه نفق أو إعادة توجيه منفذ عن بُعد بينما تظل الطرفية تعمل.
@@ -0,0 +1 @@
• أصبحت اتصالات USB التسلسلية الآن من الدرجة الأولى مثل Bluetooth/BLE التسلسلي: تظهر في قائمة جلسات الوكيل، ويمكن للوكيل التحكم بها، ويمكن كشفها كمنفذ TCP محلي ليصل نفق أو إعادة توجيه منفذ SSH إلى الجهاز خارج الهاتف. كما تُلتقط علامات تبويب USB التسلسلية في مساحات العمل، وقطع الاتصال يعمل من كل شاشة.
@@ -0,0 +1 @@
• إيقاف تلقائي اختياري لضيف Linux المحلي: بعد بقاء Haven في الخلفية مدة محددة (5–60 دقيقة)، يوقف طرفيات وأسطح مكتب الضيف لتحرير الذاكرة. مُعطّل افتراضيًا؛ فعّله من الإعدادات → متقدم. خدمة ضيف قيد التشغيل تُبقي الضيف نشطًا، والعودة إلى Haven تُلغي الإيقاف. (#409)
@@ -0,0 +1 @@
• إغلاق طرفية Linux محلية (proot) يوقف الآن شجرة عملياتها بالكامل. سابقًا كانت عمليات الخلفية تستمر (proot لا يوقف عملياته الفرعية عند الإغلاق) وتشغل الذاكرة حتى إغلاق Haven بالقوة. كما أن الإيقاف التلقائي عند الخمول (v5.74.0) بات يستعيد فعليًا ضيفًا يعمل في الخلفية — حتى لو انفصلت طرفيته. (#409, #411)
@@ -0,0 +1 @@
• تطبيقات الطرفية بملء الشاشة (mutt وvim وless وhtop…) تُعيد الآن ضبط حجمها تلقائيًا لتبقى فوق لوحة المفاتيح على الشاشة، بحيث لم يعد سطرها العلوي أو ترويستها يُدفع خارج الشاشة. لم تعد بحاجة إلى تفعيل الإعدادات → الطرفية → «تغيير حجم الطرفية لتناسب لوحة المفاتيح» لأجل ذلك؛ ومحثّات الصدفة العادية تبقى دون تغيير. (#407)
@@ -0,0 +1 @@
• الملفات: زر «إظهار المخفية» (العين) عام، لكن عند التبديل بين علامات تبويب الملفات كانت كل علامة تُستعاد بحالة التصفية السابقة — فتفعيل إظهار المخفية في علامة والتبديل إلى أخرى يُظهر أيقونة «معروضة» بينما تظل تلك العلامة تُخفي الملفات النقطية. الآن تُعيد كل علامة تبويب تطبيق الحالة الحالية لإظهار المخفية (وتصفية الاسم) عند الانتقال إليها، بحيث تطابق القائمة الأيقونة دائمًا.
@@ -0,0 +1,50 @@
Haven هو عميل مفتوح المصدر لـ SSH وVNC وRDP وSFTP لأندرويد مع سطح مكتب Wayland أصلي وتخزين سحابي.
الطرفية:
- محاكي VT100/xterm مع Unicode وتبويبات متعددة و6 أنظمة ألوان
- استمرار الجلسة عبر tmux وzellij وscreen وbyobu
- وضع الماوس لتطبيقات TUI (vim وhtop وmc)
- شريط أدوات لوحة مفاتيح قابل للتخصيص مع Esc وCtrl وAlt والأسهم ومفاتيح الوظائف وماكرو مخصص
- تحديد النص مع توسيع الكلمات والنسخ واكتشاف الروابط
- وضع الإدخال الصوتي والإكمال التلقائي
- Mosh وEternal Terminal للاتصالات المتنقلة والمستمرة
سطح مكتب Wayland الأصلي:
- مُركّب labwc مُسرّع بوحدة معالجة الرسومات يعمل مباشرة على جهازك
- لوحة waybar ومُشغّل تطبيقات fuzzel ومدير ملفات thunar ومحرر mousepad
- حزمة البداية مع Firefox وآلة حاسبة وعارض صور
- XWayland لتوافق تطبيقات X11
- إدارة أسطح مكتب متعددة — تشغيل عدة أسطح مكتب في وقت واحد
- لا يحتاج صلاحيات الجذر (PRoot مع Alpine Linux)
سطح مكتب VNC البعيد:
- عارض VNC مع تكبير بالقرص والتمرير ووضع ملء الشاشة
- دعم نفق SSH للاتصالات المشفرة
سطح مكتب RDP البعيد:
- الاتصال بسطح مكتب Windows البعيد وxrdp وGNOME Remote Desktop
- تكبير بالقرص ولوحة مفاتيح مع تعيين مفاتيح المسح
التخزين السحابي:
- أكثر من 60 مزود عبر rclone — Google Drive وDropbox وOneDrive وS3 والمزيد
- مصادقة OAuth عبر المتصفح
- مزامنة المجلدات مع فلاتر وحدود نطاق ترددي
- بث الوسائط إلى VLC عبر خادم HTTP محلي
- خادم DLNA للتلفزيونات الذكية وChromecast
نقل الملفات:
- متصفح SFTP مع رفع وتنزيل وإعادة تسمية وحذف ونقل مجلدات
- تصفح مشاركات ملفات SMB/Windows مع نفق SSH اختياري
الشبكات:
- SSH مع إعادة اتصال تلقائية وتوجيه المنافذ وProxyJump متعدد القفزات
- اكتشاف أقران Tailscale تلقائياً
- دعم شبكة Reticulum عبر rnsh
الأمان:
- توليد مفاتيح SSH (Ed25519 وRSA وECDSA) مع تخزين مشفر
- دعم مفاتيح FIDO2 (ed25519-sk وecdsa-sk) عبر NFC أو USB
- قفل التطبيق بالبصمة مع مهلة قابلة للتخصيص
- بدون إعلانات، بدون تتبع، بدون جمع بيانات
Haven مجاني ومفتوح المصدر (GPLv3).
@@ -0,0 +1 @@
طرفية SSH وسطح مكتب Wayland وVNC/RDP وتخزين سحابي وSFTP لأندرويد
@@ -0,0 +1 @@
Haven عميل SSH
@@ -0,0 +1,22 @@
v5.8.3: mosh সেশন-সমাপ্তি সনাক্তকরণ (#92)
mosh সেশনগুলি এখন রিমোট শেল বন্ধ হওয়া সনাক্ত করে
এবং চিরতরে আটকে থাকার বদলে পরিচ্ছন্নভাবে সংযোগ বিচ্ছিন্ন করে।
আগে, mosh সেশনে `exit` টাইপ করলে টার্মিনাল
জমে যেত — কানেকশন কার্ড সবুজ থাকত এবং একমাত্র
সমাধান ছিল ম্যানুয়ালি সংযোগ বিচ্ছিন্ন করা। ট্রান্সপোর্ট
অনির্দিষ্টকালের জন্য পুনঃপ্রেরণ করত কারণ mosh-server
বন্ধ হয়েছে তা সনাক্ত করার কোনো ব্যবস্থা ছিল না।
এই সমাধান দুই-পর্যায়ের সার্ভার নীরবতা সনাক্তকরণ যোগ করে:
10s সার্ভার প্যাকেট ছাড়া: UDP সকেট একবার পুনরায়
বাইন্ড করা (IP রোমিং / WiFi হ্যান্ডঅফ পুনরুদ্ধার করে)।
15s সার্ভার প্যাকেট ছাড়া: onDisconnect ফায়ার করা
এবং কানেকশন কার্ডকে সংযোগ বিচ্ছিন্ন অবস্থায় পরিবর্তন করা।
mosh-server সাধারণত প্রতি ~3s এ keepalives পাঠায়, তাই
15s নীরবতা নির্ভরযোগ্যভাবে নির্দেশ করে যে সার্ভার
প্রক্রিয়া বন্ধ হয়ে গেছে। এই সীমা শেল বন্ধ হওয়ার পর
mosh-server-এর ~4s শাটডাউন উইন্ডোর অনেক পরে, তবুও
সংক্ষিপ্ত নেটওয়ার্ক বিঘ্ন সহ্য করে।
@@ -0,0 +1,19 @@
v5.8.4: IME ইনপুট + FIDO2 ডায়াগনস্টিকস
জাপানি/চীনা/কোরিয়ান কীবোর্ড ইনপুট এখন টার্মিনালে
কাজ করে। ডিফল্ট ইনপুট মোড TYPE_NULL (শুধুমাত্র
র কী ইভেন্ট) থেকে TYPE_CLASS_TEXT (IME কম্পোজিশন
প্রোটোকল) এ পরিবর্তিত হয়েছে, যা CJK ইনপুট
পদ্ধতিগুলিকে কমিট করার আগে অক্ষর কম্পোজ করতে
সক্ষম করে। অটোকমপ্লিট এবং সাজেশন নিষ্ক্রিয়
রয়েছে। (#96)
FIDO2 সিকিউরিটি কী অথেন্টিকেশন এখন CTAP
এক্সচেঞ্জের প্রতিটি ধাপ লগ করে — USB অনুমতির
ফলাফল, CTAPHID ইনিট, GetAssertion কমান্ড, এবং
রেসপন্স স্ট্যাটাস। যখন একটি সিকিউরিটি কী ব্যর্থ
হয়, এরর ডায়ালগ নির্দিষ্ট CTAP কারণ দেখায়
(যেমন "এই কী-তে কোনো মিলে যাওয়া ক্রেডেনশিয়াল
নেই") সাধারণ পাসওয়ার্ড ফলব্যাক প্রম্পটের পরিবর্তে।
USB অনুমতির অনুরোধ এখন অনির্দিষ্টকালের জন্য
ব্লক না করে 30 সেকেন্ড পরে টাইম আউট হয়। (#15)
@@ -0,0 +1,10 @@
v5.8.5: দ্রুততর mosh সেশন-সমাপ্তি সনাক্তকরণ (#92)
সেশন-মৃত থ্রেশহোল্ড 15 সেকেন্ড থেকে কমিয়ে 8 সেকেন্ড করা হয়েছে।
আগের 15 সেকেন্ডের টাইমআউট সঠিক ছিল কিন্তু খুব ধীর ছিল —
ব্যবহারকারীরা এটি কার্যকর হওয়ার আগেই ম্যানুয়ালি সংযোগ বিচ্ছিন্ন করতেন।
8 সেকেন্ডে, `exit` টাইপ করার ~6 সেকেন্ড পরে সেশন নিজে থেকেই বন্ধ হয়ে যায়।
mosh-server প্রতি ~3 সেকেন্ডে keepalive পাঠায়, তাই 8 সেকেন্ডের
নীরবতা (2+ keepalive মিস হওয়া) নির্ভরযোগ্যভাবে নির্দেশ করে যে
সার্ভার বন্ধ হয়ে গেছে — সুস্থ নেটওয়ার্কে কোনো ভুল সনাক্তকরণ ছাড়াই।
@@ -0,0 +1,2 @@
• সংশোধন: Bluetooth, BLE বা USB সিরিয়াল টার্মিনাল ট্যাব এখন সত্যিই বন্ধ হয় — আগে ট্যাবটি নীরবে আবার খুলে যেত। Connections স্ক্রিন থেকে সংযোগ বিচ্ছিন্ন করাও ঠিক করা হয়েছে।
• নতুন: এজেন্ট (MCP)-এর মাধ্যমে একটি Bluetooth/BLE/USB সিরিয়াল ডিভাইসকে ফোনের লোকাল TCP পোর্টে ব্রিজ করুন, যাতে টার্মিনাল চালু থাকা অবস্থায় কোনো টানেল বা পোর্ট-ফরওয়ার্ড ডিভাইসটিতে দূর থেকে পৌঁছাতে পারে।
@@ -0,0 +1 @@
• USB সিরিয়াল সংযোগ এখন Bluetooth/BLE সিরিয়ালের মতো প্রথম শ্রেণির: এগুলো এজেন্টের সেশন তালিকায় দেখা যায়, এজেন্ট এগুলো চালাতে পারে, এবং লোকাল TCP পোর্ট হিসেবে উন্মুক্ত করা যায় যাতে কোনো টানেল বা SSH পোর্ট-ফরওয়ার্ড ফোনের বাইরে থেকে ডিভাইসে পৌঁছাতে পারে। USB সিরিয়াল ট্যাব ওয়ার্কস্পেসেও ধরা পড়ে, এবং সংযোগ বিচ্ছিন্ন করা প্রতিটি স্ক্রিনে কাজ করে।
@@ -0,0 +1 @@
• ঐচ্ছিক: লোকাল Linux গেস্ট স্বয়ংক্রিয়ভাবে বন্ধ করা। Haven নির্ধারিত সময় (৫–৬০ মিনিট) ব্যাকগ্রাউন্ডে থাকলে, মেমরি খালি করতে গেস্টের টার্মিনাল ও ডেস্কটপ বন্ধ করে। ডিফল্টে বন্ধ; সেটিংস → উন্নত-এ চালু করুন। চালু থাকা কোনো গেস্ট সার্ভিস গেস্টকে চালু রাখে, এবং Haven-এ ফিরলে বন্ধ করা বাতিল হয়। (#409)
@@ -0,0 +1 @@
• লোকাল Linux (proot) টার্মিনাল বন্ধ করলে এখন এর সম্পূর্ণ প্রসেস ট্রি বন্ধ হয়। আগে ব্যাকগ্রাউন্ড প্রসেস চলত (proot বন্ধের সময় চাইল্ড প্রসেস থামায় না) এবং Haven জোর করে বন্ধ না করা পর্যন্ত মেমরি দখল করত। ঐচ্ছিক নিষ্ক্রিয় অটো-স্টপ (v5.74.0) এখন ব্যাকগ্রাউন্ড গেস্টও সত্যিই ফিরিয়ে নেয় — এমনকি যার টার্মিনাল আগেই বিচ্ছিন্ন হয়েছে। (#409, #411)
@@ -0,0 +1 @@
• ফুল-স্ক্রিন টার্মিনাল অ্যাপ (mutt, vim, less, htop…) এখন স্ক্রিন কীবোর্ডের উপরে ফিট করতে নিজে থেকেই আকার বদলায়, ফলে তাদের উপরের সারি/হেডার আর স্ক্রিনের বাইরে চলে যায় না। এর জন্য আর সেটিংস → টার্মিনাল → "কীবোর্ডের জন্য টার্মিনাল রিসাইজ করুন" চালু করার দরকার নেই; সাধারণ শেল প্রম্পট অপরিবর্তিত থাকে। (#407)
@@ -0,0 +1 @@
• ফাইল: লুকানো দেখান (চোখ) টগলটি গ্লোবাল, কিন্তু ফাইল ট্যাবের মধ্যে বদল করলে প্রতিটি ট্যাব আগের ফিল্টার অবস্থায় ফিরে আসত — একটি ট্যাবে লুকানো দেখান চালু করে অন্য ট্যাবে গেলে আইকন "দেখানো হচ্ছে" বলত, অথচ সেই ট্যাব তখনও ডটফাইল লুকিয়ে রাখত। এখন কোনো ট্যাবে গেলে বর্তমান লুকানো-দেখান (এবং নাম ফিল্টার) অবস্থা পুনরায় প্রয়োগ হয়, তাই তালিকা সবসময় আইকনের সাথে মেলে।
@@ -0,0 +1,46 @@
Haven হল Android-এর জন্য একটি ওপেন-সোর্স SSH, VNC, RDP এবং SFTP ক্লায়েন্ট যেখানে নেটিভ Wayland ডেস্কটপ এবং ক্লাউড স্টোরেজ রয়েছে।
টার্মিনাল:
- Unicode, একাধিক ট্যাব এবং ৬টি রঙের থিম সহ VT100/xterm এমুলেটর
- tmux, zellij, screen বা byobu দিয়ে সেশন স্থায়িত্ব
- TUI অ্যাপের জন্য মাউস মোড (vim, htop, mc)
- Esc, Ctrl, Alt, তীর কী, ফাংশন কী এবং কাস্টম ম্যাক্রো সহ কনফিগারযোগ্য কীবোর্ড টুলবার
- শব্দ প্রসারণ, কপি এবং URL শনাক্তকরণ সহ টেক্সট নির্বাচন
- ভয়েস ইনপুট এবং স্বয়ংসম্পূর্ণ
- মোবাইল এবং স্থায়ী সংযোগের জন্য Mosh এবং Eternal Terminal
নেটিভ Wayland ডেস্কটপ:
- আপনার ডিভাইসে সরাসরি চলমান GPU-ত্বরিত labwc কম্পোজিটর
- waybar প্যানেল, fuzzel অ্যাপ লঞ্চার, thunar ফাইল ম্যানেজার, mousepad এডিটর
- Firefox, ক্যালকুলেটর, ইমেজ ভিউয়ার সহ স্টার্টার প্যাক
- X11 অ্যাপ সামঞ্জস্যের জন্য XWayland
- মাল্টি-ডেস্কটপ ব্যবস্থাপনা — একসাথে একাধিক ডেস্কটপ চালান
- রুট প্রয়োজন নেই (Alpine Linux সহ PRoot)
VNC রিমোট ডেস্কটপ:
- পিঞ্চ-টু-জুম, স্ক্রল এবং ফুলস্ক্রিন সহ VNC ভিউয়ার
- এনক্রিপ্টেড সংযোগের জন্য SSH টানেল
RDP রিমোট ডেস্কটপ:
- Windows Remote Desktop, xrdp এবং GNOME Remote Desktop-এ সংযোগ
- পিঞ্চ-টু-জুম, স্ক্যানকোড ম্যাপিং সহ কীবোর্ড
ক্লাউড স্টোরেজ:
- rclone-এর মাধ্যমে ৬০+ প্রদানকারী — Google Drive, Dropbox, OneDrive, S3 এবং আরও
- ফোল্ডার সিঙ্ক, মিডিয়া স্ট্রিমিং এবং DLNA সার্ভার
ফাইল ট্রান্সফার:
- SFTP ব্রাউজার এবং SMB/Windows ফাইল শেয়ার
নেটওয়ার্কিং:
- অটো-রিকানেক্ট, পোর্ট ফরওয়ার্ডিং এবং ProxyJump মাল্টি-হপ সহ SSH
- Tailscale পিয়ার অটো-ডিসকভারি
- rnsh-এর মাধ্যমে Reticulum মেশ নেটওয়ার্ক
নিরাপত্তা:
- এনক্রিপ্টেড স্টোরেজ সহ SSH কী জেনারেশন (Ed25519, RSA, ECDSA)
- NFC বা USB-এর মাধ্যমে FIDO2 হার্ডওয়্যার কী (ed25519-sk, ecdsa-sk)
- কনফিগারযোগ্য টাইমআউট সহ বায়োমেট্রিক লক
- কোনো বিজ্ঞাপন নেই, কোনো ট্র্যাকিং নেই, কোনো ডেটা সংগ্রহ নেই
Haven বিনামূল্যে এবং ওপেন সোর্স (GPLv3)।
@@ -0,0 +1 @@
SSH টার্মিনাল, Wayland ডেস্কটপ, VNC/RDP, ক্লাউড ও SFTP Android-এর জন্য
@@ -0,0 +1 @@
Haven SSH ক্লায়েন্ট
@@ -0,0 +1,23 @@
v5.8.3: mosh-Sitzungsende-Erkennung (#92)
Mosh-Sitzungen erkennen jetzt, wenn die Remote-Shell
beendet wird, und trennen die Verbindung sauber, anstatt
endlos zu hängen.
Zuvor blieb das Terminal beim Eingeben von `exit` in einer
mosh-Sitzung eingefroren — die Verbindungskarte blieb grün
und die einzige Lösung war manuelles Trennen. Der Transport
sendete endlos erneut, da es keinen Mechanismus gab, um zu
erkennen, dass mosh-server beendet wurde.
Die Korrektur fügt eine zweistufige Server-Stille-Erkennung hinzu:
10s ohne Server-Pakete: den UDP-Socket einmal neu binden
(stellt IP-Roaming / WiFi-Handoff wieder her).
15s ohne Server-Pakete: onDisconnect auslösen und die
Verbindungskarte auf „Getrennt" umschalten.
mosh-server sendet normalerweise alle ~3s keepalives, daher
zeigen 15s Stille zuverlässig an, dass der Server-Prozess
beendet wurde. Der Schwellenwert liegt deutlich über dem
~4s-Shutdown-Fenster von mosh-server nach Shell-Ende und
toleriert dennoch kurze Netzwerkunterbrechungen.
@@ -0,0 +1,20 @@
v5.8.4: IME-Eingabe + FIDO2-Diagnose
Japanische/chinesische/koreanische Tastatureingabe
funktioniert jetzt im Terminal. Der Standard-Eingabemodus
wurde von TYPE_NULL (nur rohe Tastendrücke) auf
TYPE_CLASS_TEXT (IME-Kompositionsprotokoll) umgestellt,
sodass CJK-Eingabemethoden Zeichen zusammensetzen
können, bevor sie bestätigt werden. Autovervollständigung
und Vorschläge bleiben deaktiviert. (#96)
Die FIDO2-Sicherheitsschlüssel-Authentifizierung
protokolliert jetzt jeden Schritt des CTAP-Austauschs
— USB-Berechtigungsergebnis, CTAPHID-Init,
GetAssertion-Befehl und Antwortstatus. Wenn ein
Sicherheitsschlüssel fehlschlägt, zeigt der Fehlerdialog
den spezifischen CTAP-Grund an (z.B. „Keine passenden
Anmeldedaten auf diesem Schlüssel") anstelle einer
generischen Passwort-Rückfallaufforderung.
USB-Berechtigungsanfragen haben jetzt ein Timeout von
30 Sekunden statt unbegrenztem Blockieren. (#15)
@@ -0,0 +1,10 @@
v5.8.5: Schnellere Erkennung des mosh-Sitzungsendes (#92)
Der Schwellenwert für eine beendete Sitzung wurde von 15s auf 8s reduziert.
Das vorherige 15s-Timeout war korrekt, aber zu langsam —
Benutzer trennten die Verbindung manuell, bevor es griff. Mit 8s
schließt sich die Sitzung ~6s nach der Eingabe von `exit` von selbst.
mosh-server sendet alle ~3s keepalives, daher zeigen 8s
Stille (2+ fehlende keepalives) zuverlässig an, dass der
Server beendet wurde — ohne Fehlalarme in stabilen Netzwerken.
@@ -0,0 +1,2 @@
• Fehlerbehebung: Ein Bluetooth-, BLE- oder USB-Serial-Terminal-Tab lässt sich jetzt wirklich schließen – vorher öffnete er sich still wieder. Auch das Trennen über den Verbindungsbildschirm funktioniert nun.
• Neu: Ein Bluetooth-/BLE-/USB-Serial-Gerät lässt sich über den Agenten (MCP) an einen lokalen TCP-Port brücken, sodass ein Tunnel oder eine Portweiterleitung es außerhalb des Telefons erreicht, während das Terminal weiterläuft.
@@ -0,0 +1 @@
• USB-Serial-Verbindungen sind jetzt gleichwertig zu Bluetooth-/BLE-Serial: Sie erscheinen in der Sitzungsliste des Agenten, der Agent kann sie steuern, und sie lassen sich als lokaler TCP-Port bereitstellen, sodass ein Tunnel oder eine SSH-Portweiterleitung das Gerät außerhalb des Telefons erreicht. USB-Serial-Tabs werden auch in Arbeitsbereichen erfasst, und das Trennen funktioniert auf jedem Bildschirm.
@@ -0,0 +1 @@
• Optionales automatisches Stoppen des lokalen Linux-Gasts: Nachdem Haven eine eingestellte Zeit (5–60 Min.) im Hintergrund war, werden Terminals und Desktops des Gasts gestoppt, um Speicher freizugeben. Standardmäßig aus; unter Einstellungen → Erweitert aktivieren. Ein laufender Gast-Dienst hält den Gast aktiv, und die Rückkehr zu Haven bricht das Stoppen ab. (#409)
@@ -0,0 +1 @@
• Das Schließen eines lokalen Linux-Terminals (proot) beendet jetzt den gesamten Prozessbaum. Vorher liefen Hintergrundprozesse weiter (proot beendet seine Kindprozesse beim Schließen nicht) und belegten Speicher, bis du Haven zwangsweise beendet hast. Das optionale Auto-Stoppen bei Inaktivität (v5.74.0) gibt jetzt auch einen Hintergrund-Gast wirklich frei — selbst wenn dessen Terminal bereits getrennt wurde. (#409, #411)
@@ -0,0 +1 @@
• Vollbild-Terminal-Apps (mutt, vim, less, htop …) passen ihre Größe jetzt automatisch an, um über der Bildschirmtastatur zu bleiben, sodass ihre oberste Zeile bzw. Kopfzeile nicht mehr aus dem Bild geschoben wird. Du musst dafür Einstellungen → Terminal → „Terminal an Tastatur anpassen" nicht mehr aktivieren; normale Shell-Eingabeaufforderungen bleiben unverändert. (#407)
@@ -0,0 +1 @@
• Dateien: Der Umschalter „Versteckte anzeigen" (Auge) gilt global, aber beim Wechsel zwischen Datei-Tabs wurde jeder Tab so gefiltert wiederhergestellt wie zuvor — schaltete man „Versteckte anzeigen" in einem Tab ein und wechselte zu einem anderen, zeigte das Symbol „werden angezeigt", während dieser Tab versteckte Dateien weiterhin ausblendete. Jeder Tab wendet jetzt beim Wechsel den aktuellen Zustand von „Versteckte anzeigen" (und Namensfilter) an, sodass die Liste immer zum Symbol passt.
@@ -0,0 +1,50 @@
Haven ist ein Open-Source-Client für SSH, VNC, RDP und SFTP für Android mit nativem Wayland-Desktop und Cloud-Speicher.
Terminal:
- VT100/xterm-Emulator mit Unicode, mehreren Tabs und 6 Farbschemata
- Sitzungspersistenz über tmux, zellij, screen oder byobu
- Mausmodus für TUI-Apps (vim, htop, mc)
- Konfigurierbare Tastatur-Toolbar mit Esc, Ctrl, Alt, Pfeiltasten, Funktionstasten und benutzerdefinierten Makros
- Textauswahl mit Worterweiterung, Kopieren und klickbarer URL-Erkennung
- Spracheingabe und Autovervollständigung
- Mosh und Eternal Terminal für mobile und dauerhafte Verbindungen
Nativer Wayland-Desktop:
- GPU-beschleunigter labwc-Compositor direkt auf Ihrem Gerät
- Waybar-Panel, fuzzel-App-Launcher, thunar-Dateimanager, mousepad-Editor
- Starter-Paket mit Firefox, Taschenrechner, Bildbetrachter
- XWayland für X11-App-Kompatibilität
- Multi-Desktop-Verwaltung — mehrere Desktops gleichzeitig
- Kein Root erforderlich (PRoot mit Alpine Linux)
VNC-Remote-Desktop:
- VNC-Viewer mit Pinch-to-Zoom, Schwenken und Vollbildmodus
- SSH-Tunnel für verschlüsselte Verbindungen
RDP-Remote-Desktop:
- Verbindung zu Windows Remote Desktop, xrdp und GNOME Remote Desktop
- Pinch-to-Zoom, Tastatur mit Scancode-Mapping
Cloud-Speicher:
- Über 60 Anbieter via rclone — Google Drive, Dropbox, OneDrive, S3 und mehr
- OAuth-Authentifizierung über den Browser
- Ordnersynchronisierung mit Filtern und Bandbreitenbegrenzung
- Medienstreaming zu VLC über lokalen HTTP-Server
- DLNA-Server für Smart-TVs und Chromecast
Dateiübertragung:
- SFTP-Browser mit Upload, Download, Umbenennen, Löschen und Ordnerübertragung
- SMB/Windows-Freigaben mit optionalem SSH-Tunnel
Netzwerk:
- SSH mit automatischer Wiederverbindung, Portweiterleitung und ProxyJump-Multi-Hop
- Automatische Tailscale-Peer-Erkennung
- Reticulum-Mesh-Netzwerk über rnsh
Sicherheit:
- SSH-Schlüsselgenerierung (Ed25519, RSA, ECDSA) mit verschlüsselter Speicherung
- FIDO2-Hardwareschlüssel (ed25519-sk, ecdsa-sk) über NFC oder USB
- Biometrische App-Sperre mit konfigurierbarem Timeout
- Keine Werbung, kein Tracking, keine Datenerfassung
Haven ist kostenlos und quelloffen (GPLv3).
@@ -0,0 +1 @@
SSH-Terminal, Wayland-Desktop, VNC/RDP, Cloud-Speicher & SFTP
@@ -0,0 +1 @@
Haven SSH-Client
@@ -0,0 +1,8 @@
- Unified build: RDP now available on F-Droid (IronRDP built from source)
- Fix Mosh blank screen in release builds (R8 protobuf fix)
- Fix Mosh character doubling (SSP diff base validation)
- Fix tmux scrollback corruption during rapid scroll region changes
- Per-connection "Disable alternate screen" toggle for GNU screen
- Mosh/ET/RDP verbose logging with share/copy in connection log
- Tab labels show session names; + button moved away from close x
- Terminal data recorder for debugging rendering issues
@@ -0,0 +1,4 @@
- Added biometric unlock for app access
- Added terminal font size setting (8-32sp)
- Added theme picker (system, light, dark)
- Added About dialog with version info and GitHub link
@@ -0,0 +1,5 @@
- Multiple terminal tabs per server — open several shells on the same host
- Tab bar with close buttons and "+" to add new tabs
- Session manager integration (tmux, zellij, screen, byobu)
- Auto-reconnect with exponential backoff on connection drop
- ANSI escape stripping for session manager output
@@ -0,0 +1,2 @@
- Fix paste dropping repeated characters (e.g. "ll" in "hello")
- Disable page swipe gesture during terminal text selection
@@ -0,0 +1,3 @@
- Selection toolbar with d-pad for precise text selection
- Independent start/end anchor control via Start/End toggle
- Copy button and selection mode toggle (block/line)
@@ -0,0 +1,6 @@
- Reticulum connection type alongside SSH (rnsh terminal sessions)
- Local Sideband and direct TCP gateway modes for Reticulum
- Announce-based destination discovery with speculative Sideband probe
- Session rename via pencil icon in connection/terminal session pickers
- Tab rename via long-press
- Per-connection Reticulum config, paste dedup fix, word-level selection
@@ -0,0 +1,10 @@
Major update since v3.17.0:
- Native Wayland desktop with GPU-accelerated compositor (labwc), waybar panel, app launcher
- Cloud storage: 60+ providers via rclone with sync, streaming, and DLNA
- RDP now available on F-Droid (IronRDP built from source)
- Mosh and Eternal Terminal for roaming connections
- FIDO2 hardware key support (NFC/USB)
- Tailscale peer auto-discovery
- Voice input and autocomplete mode
- Multi-desktop management
- SMB file share browsing
@@ -0,0 +1,4 @@
- Swipe-to-scroll in mouse mode (Zellij, vim, etc.)
- Fix terminal not resizing when keyboard opens/closes
- Sort Zellij sessions alphabetically
- LoRa discovery with active path requests and periodic refresh
@@ -0,0 +1,6 @@
- Set ndkVersion to r28c for F-Droid build compatibility
- Fix URL underline extending past wrapped URL on continuation rows
- Fix URL continuation cascade underlining entire screen
- Fix XWayland: clean stale X11 sockets before compositor starts
- Add missing translations for settings_standard_keyboard
- Update F-Droid fastlane metadata with 10 locale translations
@@ -0,0 +1,3 @@
- Add custom mosh-server command field per connection (#73)
- Lets you override the default mosh-server invocation for custom locale,
authbind for ports below 1024, port ranges, or other server options
@@ -0,0 +1,4 @@
- SSH agent forwarding (OpenSSH ForwardAgent) (#75)
- Per-profile "Forward SSH agent" toggle exposes non-encrypted stored
SSH keys to the remote session for git push etc.
- Encrypted keys are skipped (would need mid-session passphrase prompt)
@@ -0,0 +1,4 @@
- Fix host key fingerprint not shown on first connect when auth
fails (#75). Fresh installs now always see the TOFU prompt, even
if the first password or key attempt is wrong.
- Verbose SSH log is still captured for failed initial attempts.
@@ -0,0 +1,4 @@
- Warn when agent forwarding is enabled but all stored SSH keys are
passphrase-protected (or none are stored). Previously the forwarded
agent was silently empty and `ssh-add -l` on the remote returned
nothing with no explanation (#75).
@@ -0,0 +1,5 @@
- Fix FIDO2 SSH keys never detecting the security key (#15).
Discovery of USB and NFC keys is now self-started inside the
assertion flow instead of relying on dead-code entry points
that were never called. Nitrokey, SoloKeys, Feitian, Titan, and
YubiKey should now all light up when SSH auth asks for a touch.
@@ -0,0 +1,5 @@
- Show a dialog during FIDO2 SSH authentication telling you to plug
in or tap your security key, then to touch it once detected.
Previously the connect attempt just spun silently with no
on-screen indication that a security key was being requested
(#15 follow-up).
@@ -0,0 +1,8 @@
- Fix arrow keys not working in Mutt (and other ncurses-based apps)
over Mosh (#73). The mosh client was sending each byte of an
escape sequence like `ESC O A` in its own protobuf instruction,
and mosh-server was writing them to the pty in separate calls.
ncurses' ESC-timeout interpreted the gaps as a bare ESC followed
by O and A, and Mutt showed "key is not bound". Consecutive
keystroke bytes are now coalesced into a single instruction,
matching upstream mosh-client's `UserStream::diff_from`.
@@ -0,0 +1,10 @@
- Connect dialog no longer says "Leave empty to connect with SSH
key" for profiles with a passphrase-protected key assigned —
the field is now labelled "Key passphrase" and the hint reflects
the actual key name. Previously entering nothing gave a silent
JSch decrypt failure (#75).
- Enable Verbose SSH logging in Settings to see agent-forwarding
diagnostics: identities registered/skipped, the full JSch
identity repo contents, and each shell/exec channel that opens
agent forwarding. Helps diagnose "ssh-add -l empty on remote"
issues (#75).
@@ -0,0 +1,10 @@
- Fix SSH from inside a forwarded-agent session to a second host
(#75). Bumps JSch from 0.2.21 to 2.28.0 to pick up upstream's
fix for mwiede/jsch#852 — ChannelAgentForwarding was leaving
its buffer in a bad state after an unknown agent message,
breaking OpenSSH 9.x's bind_hostkey + REQUEST_IDENTITIES
sequence. `ssh-add -l` already worked; `ssh user@other` now
does too.
- Adds OpenSSH certificate support, mlkem/sntrup post-quantum
KEX algorithms, and other improvements from three years of
upstream JSch development. No API breakage affecting Haven.
@@ -0,0 +1,3 @@
- Fix SSH reconnection on network drop
- Add cooldown between scroll drag and copy selection
- Block accidental selection on horizontal drag
@@ -0,0 +1,9 @@
- Fix Mosh display corruption after login (cursor below prompt,
freezes after a few Returns, arrow keys appearing "not bound"
in Mutt). Haven's mosh client was lying about its state number
when a diff arrived with a base it couldn't apply, causing the
server to throw away exactly the states the client still needed
and producing cumulative display drift. Now matches upstream
mosh's Transport::recv() semantics and leaves the state number
alone on mismatch so the server retransmits with a base the
client can match. (#73)
@@ -0,0 +1,6 @@
- Fix the first bottom-nav tab wrapping to two lines on narrower
devices (reported on a Samsung S23). The app module had a
duplicate `nav_connections = "Connections"` shadowing the
shorter "Connect" string in :core:ui; removed the duplicate
and hardened the nav label to one line with ellipsis so no
locale can wrap in the future (#78).
@@ -0,0 +1,10 @@
- Fix tap-to-open hyperlink detection swallowing normal text that
follows a URL on the same line. Previously "https://…/78. i
think…" was resolved as one giant "ithinktheis…" blob because
the wrapped-URL reassembler collapsed any whitespace between
URL-safe characters regardless of row boundary. The detector
now preserves within-row whitespace and only joins rows that
are genuine URL continuations (next row must start URL-safe at
column 0, no leading indentation). Same fix applied to the
visual underline continuation so it no longer extends onto
prose below a URL either.
@@ -0,0 +1,10 @@
Native Kotlin Reticulum transport (issue #79)
- Replace Python/Chaquopy rnsh stack with pure Kotlin implementation
(reticulum-kt + rnsh-kt)
- Two-way terminal sessions over IFAC-protected TCP gateways
- Announce-based rnsh node discovery with scan button
- IFAC network name and passphrase support in connection profiles
- New ReticulumTransport interface with Flow-based I/O
- Debug receiver for ADB-driven testing (debug builds only)
- Room migration 28→29 for IFAC credential fields
@@ -0,0 +1,8 @@
SSH post-login command (issue #80)
- New "Post-login command" field in SSH and Reticulum connection settings
- Command auto-sends after shell prompt detection on login
- Works with session managers (tmux, screen, zellij, byobu)
- "Run before session manager" toggle controls execution order
- Improved ANSI escape stripping for prompt detection inside tmux
- Added support for custom prompt chars (e.g. starship ❯)
@@ -0,0 +1,7 @@
Fix terminal scroll corruption during animations
- Fix scroll position drift from accidental touch during text animations
- Auto-recover when scrollbackPosition drifts 1–3 lines from bottom
- Snap flings settling near bottom fully to position 0
- Fix moverect double-damage inefficiency in libvterm callback
- Add 26 unit tests for scroll state behavior
@@ -0,0 +1,4 @@
Show agent-forwarding warning only once per session (#75)
- "Agent will be empty" toast now shows once per profile per app session
instead of on every connection
@@ -0,0 +1,7 @@
Fix Mosh arrow keys in Mutt and reduce display lag (#73)
- Wake send loop immediately when a server diff is applied, so the
ack reaches the server within 20ms instead of up to 3 seconds
- Eliminates cascading diff skips that caused DECCKM mode divergence
(arrow keys generating wrong escape sequences in Mutt)
- Reduces display lag during rapid output (login banners, scrolling)
@@ -0,0 +1,17 @@
v5.0.0: FFmpeg media tools, local file browser, HLS streaming
FFmpeg 8.0 integration:
- Convert media files (H.264, H.265, VP9, MP3) from any file browser tab
- Filter UI with one-tap presets (Stabilize, Fix Colors, Enhance,
Normalize Audio) and fine-grained sliders for brightness, contrast,
saturation, gamma, sharpen, denoise, speed, volume
- Live CLI command preview shows the exact ffmpeg command being built
- Stream any media file to other devices via HLS — opens an HTML5
player in the browser at http://phone-ip:8080/
Local file browser:
- Always-present "Local" tab in Files for on-device storage
- Browse Internal Storage, Downloads, and App Cache
- Tap files to open with system apps
- Editable path bar — tap to type a path directly
- Convert and stream local files without any server connection
@@ -0,0 +1,23 @@
v5.1.0: Convert dialog preview, encoder/container selection
Preview:
- Frame preview in convert dialog — see filter effects before converting
- Tap preview for fullscreen view, survives screen rotation
- Seek slider to preview any point in the file
- Audio preview — plays a 5-second clip with current filters applied
Encoder selection:
- Separate dropdowns for container format, video encoder, and audio encoder
- Video containers: MP4, MKV, WebM, MOV, AVI, MPEG-TS
- Audio containers: MP3, WAV, OGG, Opus, FLAC, M4A
- Stream copy option for both video and audio (no re-encoding)
Audio-only files:
- Auto-detected via ffprobe (album art excluded)
- Video preview and video encoder hidden for audio files
- Only audio container formats shown
Other:
- Auto color correction resets manual color sliders to defaults
- FFmpeg build config opened up — all codecs/formats/filters enabled
- Fix MediaStore API level lint warning for API < 29
@@ -0,0 +1,8 @@
v5.1.1: Shizuku detection fix, translation fixes
- Fix Shizuku service detected as not running (#82): switched from
synchronous pingBinder() to async binder listeners so the connection
has time to establish after app startup
- Add missing translations for convert/stream strings in all locales
- Fix MediaStore Downloads API level check for Android 8-9
- Update README with Media Convert feature section
@@ -0,0 +1,11 @@
v5.1.2: DynamicForward (SOCKS5 proxy) support
- Add DynamicForward (-D / SOCKS5) support (#83): third port forward
type that runs a local SOCKS5 proxy server and tunnels each accepted
connection through an SSH direct-tcpip channel
- Point browsers, system proxy settings, or apps at 127.0.0.1:<port>
to route traffic through the SSH server
- Supports SOCKS5 with no auth, CONNECT command, IPv4/IPv6/domain
destinations. SOCKS4 and username/password auth not supported.
- Available in the Port Forwards dialog alongside Local (-L) and
Remote (-R) as a third chip: "Dynamic (-D)"
@@ -0,0 +1,23 @@
v5.1.3: VNC VeNCrypt + HLS video streaming fix
VNC:
- Add VeNCrypt (RFB security type 19) with TLSPlain, X509Plain,
TLSVnc, X509Vnc, TLSNone, X509None, and Plain sub-types (#76)
- Connects to wayvnc, TigerVNC, libvncserver, x11vnc servers that
require a username in addition to a password
- Wraps the socket in TLS after sub-type selection — all RFB traffic
after authentication is encrypted
- Add vncUsername field to connection profiles (DB migration 31→32)
HLS media streaming:
- Fix video streaming failing with MEDIA_ERR_SRC_NOT_SUPPORTED on
Chrome: force H.264 Main profile level 4.0, cap at 1920x1080,
cap at 30fps, yuv420p pixel format. Portrait screen recordings
(e.g. 1344x2992 @ 55fps) now play correctly.
- HLS player starts muted to satisfy Chrome's autoplay policy,
with a "Tap to unmute" overlay button
- Playlist is now properly marked as VOD with #EXT-X-PLAYLIST-TYPE
- Removed append_list hls_flag (was producing spurious
EXT-X-DISCONTINUITY markers)
- Silent -an flag for video inputs with no audio track (avoids the
"b:a unused" warning)
@@ -0,0 +1,20 @@
v5.2.0: Rclone HTTP preview + full ffmpeg codec set
Instant preview for cloud files:
- Convert dialog preview now streams over HTTP for rclone files
instead of downloading the whole file first
- First frame appears in seconds regardless of file size — ffmpeg
reads what it needs via Range requests, rclone's VFS disk cache
handles the chunking
- Seek slider is fast — repeat seeks near the same area are served
from the cache
- "Fetching from cloud" indicator shown during rclone preview
generation so you know network is the bottleneck
Full ffmpeg codec set:
- Rebuilt ffmpeg with all built-in decoders, encoders, demuxers,
muxers, parsers, protocols, filters, and bitstream filters enabled
- VP9, VP8, AV1 (native), Theora, WebM, DASH, FLV, WMV, RM and
dozens more formats now decode correctly
- Fixes "no decoder found for vp9" errors on YouTube-sourced files
- Binary size grew from ~14 MB to ~25 MB per executable
@@ -0,0 +1,24 @@
v5.2.1: Rclone convert/stream, destination picker, copy defaults
Convert:
- Rclone convert now streams the source over HTTP instead of downloading
the whole file first — transcode starts in seconds regardless of
file size. New "Download first" toggle forces the legacy full-download
path for offline conversion or flaky connections.
- New "Save to" picker in the convert dialog: "Downloads (this device)"
or "Same folder as source". Uploading back to cloud/SFTP/SMB is
supported with live progress.
- Copy (remux) is now the default for both video and audio encoders —
instant lossless remux for most files. Container auto-matches the
source extension so tapping Convert usually does the right thing
with no changes.
Stream & play:
- HLS streaming now works for rclone files — same HTTP-streaming trick
as the convert preview.
- Stream URL opens in the browser at the device's LAN IP (shareable
from the address bar) and is auto-copied to the clipboard.
- Tap a media file on the rclone tab to play it directly in your
system media player (VLC, MX Player, etc.).
- Fix VLC playback failing on file names with spaces or special
characters — URL path is now properly encoded.
@@ -0,0 +1,13 @@
v5.3.0: MCP agent transport (v1, read-only)
- New Model Context Protocol server — Haven exposes its state
and primitives to local AI agents so a Claude Code instance
running in PRoot (or any MCP-aware client) can work with and
within what you see in the UI.
- Loopback-only HTTP on 127.0.0.1:8730, stateless Streamable
HTTP, JSON-RPC 2.0. Server starts with the app.
- Read-only tool set in v1: get_app_info, list_connections,
list_sessions, list_rclone_remotes, list_rclone_directory.
- Secrets (passwords, keys) redacted from tool outputs.
- No mutation tools yet — convert, upload, delete, disconnect
will ship in v2 behind a per-action consent dialog.
@@ -0,0 +1,11 @@
v5.3.1: MCP agent endpoint is now OFF by default
- The local MCP agent endpoint introduced in v5.3.0 no longer
starts automatically. It must be explicitly enabled in Settings
→ "Agent endpoint (MCP)". The endpoint gives local processes
read access to saved connection profiles, active sessions, and
cloud file listings, so it should be an explicit opt-in.
- When enabled, a "Copy agent endpoint URL" row appears right
below the toggle with a one-tap clipboard copy.
- The server starts/stops reactively as the preference changes;
no app restart needed.
@@ -0,0 +1,17 @@
v5.3.2: PRoot ships with a usable shell out of the box
- Fresh Haven rootfs installs now seed /root/.profile, /root/.inputrc,
/root/README.md, /root/.ssh (0700), and /etc/profile.d/haven.sh
- Baseline apk packages installed on first boot: bash, curl,
ca-certificates, openssh-client (best-effort, ignored if offline)
- /root/.profile ships with PATH, colored prompt, standard aliases
and a `rexec` helper for running commands on a remote host
configured via ~/.ssh/config — the composition primitive Haven's
VISION describes (phone is point-of-presence, remote machines are
compute)
- /root/README.md explains the environment, common apk install
recipes, how to set up SSH to a remote workstation, and how to
enable the "push-to-current-branch" workflow with
receive.denyCurrentBranch=updateInstead
- All defaults are vendor-neutral: no cloned repos, no hardcoded
hosts, no specific CLIs or cloud services, no brand mentions
@@ -0,0 +1,16 @@
v5.3.3: Easy MCP endpoint hookup for local MCP clients
- When the MCP agent endpoint is enabled, Haven now writes a
ready-to-use server config file to
~/.config/haven/mcp-servers.json inside the PRoot rootfs.
Any MCP-compatible client running in PRoot can read/merge/
source it directly — no typing the URL by hand.
- The file is removed when the endpoint is toggled off.
- Settings: new "Copy MCP client config" row that puts the
standard mcpServers JSON snippet on the clipboard, for
clients running outside PRoot (a workstation reached via
SSH, Termux, etc.).
- Settings: new info row showing the in-PRoot path so users
know where the auto-advertised config lives.
- /root/README.md explains the advertised file and shows the
cat one-liner. Vendor-neutral — no specific client named.
@@ -0,0 +1,10 @@
v5.4.0: Stream SFTP media files without downloading
- SFTP browser: the Stream menu entry now works for
media files on SFTP profiles. Haven serves the remote
file over a loopback HTTP bridge backed by
ChannelSftp.get(path, skip), so ffmpeg reads only the
bytes it needs — no full cache download.
- Convert dialog previews for SFTP use the same bridge.
- MCP agent: new list_sftp_directory, stream_sftp_file
and stop_stream tools.
@@ -0,0 +1,11 @@
v5.4.1: Security hardening
- SFTP loopback bridge requires a random per-session
token, blocking other apps from reading SFTP files
via the local port. CORS wildcard removed.
- Biometric app-lock no longer auto-unlocks when the
device biometric is unenrolled.
- FileProvider <root-path> dropped; the credential DB
is no longer reachable via FileProvider URIs.
- SSH passphrases held as CharArray and wiped on
teardown; passwords no longer pass through String.
@@ -0,0 +1,9 @@
v5.4.2: Mosh arrow keys work in mutt / emacs / less
- Mosh sessions now force DECCKM=on at connect, matching
upstream mosh-client. Up/Down/Left/Right now send the
application-mode SS3 escape sequences mutt, emacs, and
less bind to their navigation keymaps. Fixes #73.
- Verified on-device: the client-side libvterm emits
ESC O A for arrow keys from the very first byte of the
mosh session, not ESC [ A as before.
@@ -0,0 +1,12 @@
v5.4.3: Shizuku detection works in release builds
- Fixes #82. Haven could not detect Shizuku on release
builds because R8 was pruning the reflected Shizuku API
methods (pingBinder, addBinderReceivedListenerSticky,
checkSelfPermission, requestPermission, newProcess).
Every reflection lookup threw NoSuchMethodException,
leaving the Settings row stuck on "installed but not
running" even when Shizuku was active.
- Added a ProGuard keep rule for rikka.shizuku.** and
moe.shizuku.**. Verified on a Pixel 8 Pro with a release
APK built via the GitHub Actions signing keys.
@@ -0,0 +1,15 @@
v5.4.4: RDP connections work in release builds
- Fixes #93. RDP connections failed immediately with
"Structure class x5.j has unknown or zero size" because
R8 was renaming the UniFFI-generated JNA Structure
fields (capacity, len, data, etc.) that JNA resolves
reflectively from @Structure.FieldOrder string literals.
With the field names stripped, JNA computed a struct
size of zero and refused to allocate.
- Added ProGuard keep rules for any class extending
com.sun.jna.Structure and for the entire sh.haven.rdp
package. Verified against the R8 dex dump: the
RustBuffer fields (capacity/len/data) are preserved
with their original names and public access.
- Same class of bug as #82 (Shizuku), different library.
@@ -0,0 +1,17 @@
v5.4.5: Reticulum and terminal copy work in release builds
Two latent bugs of the same shape as #82 and #93, found in a
post-ship reflection-in-minified-code sweep:
- Reticulum features were silently broken in release builds.
rns-core and rns-interfaces do extensive class-literal
reflection (link::class.java.getMethod("getLinkId"), etc),
but the consumer-rules.pro keep rule lives in the unused
rns-android module and never reached Haven's R8 pass. Added
explicit keeps for network.reticulum.** and org.msgpack.**.
- Terminal smart copy and word-expand-on-long-press relied on
reflection into TerminalEmulator's internal snapshot flow
(getSnapshot$lib), which Kotlin mangles to getSnapshot$lib_release
in release builds, so selection helpers silently returned null.
Added a public getSnapshotLineTexts() accessor to termlib and
removed the reflection.
@@ -0,0 +1,15 @@
v5.5.0: show-password toggle and prompt-at-connect username
- Show password toggle (#90): every password and passphrase
field now has an eye icon at the trailing edge that switches
between masked and cleartext. Defaults to masked. State is
per-field and survives rotation. Used by the connect/auth
prompt, key passphrase, deploy-key, RDP/SMB/Reticulum edit,
encrypted backup, and key-import dialogs.
- Connection without a saved username (#91): SSH, Mosh, and
Eternal Terminal profiles can now be saved with the username
field left empty. When you connect, Haven prompts for the
username alongside the password instead of requiring one
saved entry per user on the same host. The runtime username
is used only for that session and is not persisted.
@@ -0,0 +1,21 @@
v5.5.1: broaden et-kotlin R8 keep rule (good hygiene)
The proguard rule covering the et-kotlin submodule was scoped
to `sh.haven.et.protocol.**` only, leaving
`sh.haven.et.transport.EtTransport`, `sh.haven.et.crypto.EtCrypto`,
and the top-level `EtLogger` exposed to R8. The v5.5.0 release
mapping confirmed R8 was renaming EtTransport to h5.b and
stripping the ET infrastructure classes. Broadened the rule to
`sh.haven.et.**` to mirror the existing `sh.haven.mosh.**` rule
that already covers the mosh submodule.
Caveat — this is a structural correction, not a validated
causal fix for a reported runtime failure. A user reported
Eternal Terminal failing in v5.4.5 release; a post-fix bisect
on signed v5.4.5 against the same host could not reproduce the
failure. Whatever broke ET originally was something else
(likely transient network or profile state) and self-resolved.
Pure-Kotlin renames across a closed graph should be safe at
runtime — there is no reflection in the et-kotlin source. The
keep rule fix is worth keeping because the rule shape was
demonstrably wrong; it is not worth claiming as a bug fix.
@@ -0,0 +1,42 @@
v5.6.0: clipboard work + toolbar cog dialog fix
Hardware Ctrl+Shift+V now pastes from the Android clipboard
into the terminal, with a Settings → Terminal toggle ('Ctrl+
Shift+V pastes') so users who need the literal key combo
forwarded to the remote can switch the intercept off. Default
on. Goes through the same path the Selection toolbar Paste
button uses, including bracketed-paste mode 2004 wrapping when
the remote app has it active. Implemented as an optional
onPasteShortcut callback on KeyboardHandler so the V key falls
through unchanged when the toggle is off.
VNC inbound clipboard is now wired to the Android system
clipboard. Previously VncViewModel.onRemoteClipboard was a
stub that only logged the text — it now pushes incoming
ServerCutText into ClipboardManager.setPrimaryClip. The
outbound direction (Android → VNC remote) was already wired.
Bug fix: the cog button on the keyboard toolbar reorder bar
opens the Toolbar Configuration dialog directly again. The
previous wiring reset its open-flag inline during composition
(`if (openToolbarConfig) openToolbarConfig = false`), which
raced with the LaunchedEffect inside SettingsScreen — the
launched coroutine that set the dialog state was cancelled by
the immediate flag flip before its body ran, so the cog only
scrolled to Settings without opening the dialog. Replaced with
an onToolbarConfigConsumed callback that the child invokes
after the dialog state has actually been written.
What's verified: project assembles clean for arm64Debug,
:lib:testDebugUnitTest plus :core:data, :feature:terminal,
:feature:vnc, :feature:settings unit tests pass, four new
KeyboardHandlerTest cases for the Ctrl+Shift+V intercept all
pass on the Pixel 8 Pro instrumentation run (intercept fires
when wired, falls through when null, plain V untouched, Ctrl+
V alone untouched).
Not yet verified end-to-end with a remote VNC server actually
emitting ServerCutText — the wiring is correct on paper, the
message just hasn't been seen flow through. Worth a manual
test against a TigerVNC or wayvnc session for anyone who uses
the Desktop tab heavily.
@@ -0,0 +1,24 @@
v5.6.1: HLS streaming fix for 1080p+ sources
libx264 -preset ultrafast silently forces a Constrained Baseline
bitstream regardless of -profile:v main. Chrome's MSE refuses
Constrained Baseline above ~720p, so every 1080p or 4K stream
(local, SFTP, rclone) failed with MEDIA_ERR_SRC_NOT_SUPPORTED —
the HLS player browser tab showed "Video error: code 4" and
nothing else. 720p sources were unaffected, which is why the
bug slipped through.
Fix: use -preset veryfast, which actually honours Main profile
and is still real-time on a Pixel-class device. Also drops the
-tune zerolatency flag (live-streaming knob, no VOD benefit,
bloats output ~2.7x at veryfast).
Verified on a Pixel 8 Pro against a real SFTP source with nine
generated test files covering H.264 720p/1080p/4K/HEVC/VP9,
portrait 55fps screen recording, 23.976 cinema fps, 10-bit
High 10, audio-only MP3, and MKV with embedded SRT subtitles —
all play on-device after the fix. ffprobe on the pre-fix
segment confirms profile=Constrained Baseline; post-fix
confirms profile=Main.
Only touches core/ffmpeg/HlsStreamServer.kt; no other changes.
@@ -0,0 +1,44 @@
v5.6.2: mosh shell-exit freeze (#92)
When you typed 'exit' in a plain mosh shell, the session went
silent — no logout message, further keys did nothing, only
force-disconnect recovered it. Root cause in the user's
provided logs: mosh-server stops producing output when the PTY
child closes, which leaves a 5-10s natural quiet window.
MoshTransport's NETWORK_STALL_MS was set to 5 seconds, so the
client mistook that quiet window for a dead socket and called
rebindSocket() from the send loop. rebindSocket() closed the
UDP socket while the receive loop was still blocked inside
recvfrom(), producing the 'recvfrom failed: EBADF (Bad file
descriptor)' error the logs showed repeatedly. Repeated 6-second
stall-and-rebind cycles after that generated a new local source
port on each pass, which the mosh-server's peer tracking could
not follow during its own shutdown grace period, and the session
never recovered.
Two fixes in mosh-kotlin:
1. NETWORK_STALL_MS 5000 -> 30000. Upstream mosh-client gives a
server ~60 seconds of silence before declaring it dead. 5s
was well inside normal keepalive jitter, especially at
session end. 30s keeps us responsive to real interface loss
without racing mosh-server's shutdown path.
2. rebindSocket() is now serialized under a socketLock with
sendFragment(), and the socket field is @Volatile. A rebind
can no longer race a concurrent send or leave the receive
loop staring at a half-closed socket.
Verified: builds clean, :core:mosh:testDebugUnitTest passes.
Not yet verified: a full end-to-end repro of the user's mosh
+ exit sequence on device (the bug needs a specific timing
window; the mechanical fix is correct by inspection of the
logs).
Follow-up tracked separately: mosh-server emits a shutdown
marker in its final packet that standard mosh-client uses to
surface 'session ended' in the UI. Haven's client does not
interpret it today, which is why the user saw a 'still green'
connection card after the shell exited. Detecting that marker
and transitioning the session card to Disconnected is the
proper UX fix and will land in a later release.
@@ -0,0 +1,36 @@
v5.6.3: URL detector wrap-boundary fix
Tapping a long URL in termlib could open a truncated prefix of
the URL instead of the full one. Happened when a CLI that
hard-wraps its own output — e.g. Claude Code's markdown
renderer — broke the URL across two terminal rows.
The multi-row URL continuation walker in getHyperlinkUrlAt
had two compounding problems:
1. It rejected indented continuation rows outright, so a
markdown bullet wrap like " - See this: https://long/" on
row r and " path" on row r+1 had the walker bailing at
the leading whitespace instead of joining the rows.
2. It would glue unrelated short rows together whenever both
edges of the joined text happened to be URL-safe. A short
"prefix https://example.com/path" row followed by "next
line of unrelated prose" would produce a Frankenstein
"https://example.com/pathnext" URL.
Fix uses a slack-tolerance check against the previous row's
right margin: a row is only considered wrappable when it has
at most 2 cells of unused slack (or softWrapped is set by the
terminal emulator). When the previous row is exactly full,
leading whitespace on the continuation row is stripped so the
URL regex sees a contiguous string; tap offsets are adjusted
so clicks on the continuation row still resolve correctly.
Tests: 10/10 TerminalScreenStateUrlTest cases pass, including
two new ones — the wrap-with-trailing-cells CLI-hard-wrap
case and a guard case for the short-row-followed-by-prose
false positive. Full :lib:testDebugUnitTest suite passes.
Only touches termlib's URL continuation walker in
TerminalScreenState.kt (and its tests). No other changes.
@@ -0,0 +1,45 @@
v5.7.0: media toolbelt + folder-as-playlist streaming
SFTP file browser grows a Media… bottom sheet for
media files with five actions:
Info — ffprobe container/duration/codec/bitrate/
streams/chapters with copy-JSON
Trim — lossless cut via -c copy -ss -t, saved
next to source; no re-encode
Audio — extract as MP3/AAC/Opus/FLAC with
bitrate slider
Sheet — sampled thumbnail grid rendered through
libx264 + the tile filter, decoded to PNG
Convert — the existing transcode dialog,
relocated into the sheet
Directory long-press gains Stream folder playlist.
HlsStreamServer queues every media file in the
folder and serves an HTTP player with a sidebar;
clicking a title restarts ffmpeg on that item and
the player transparently reloads the stream.
ffmpeg stderr + command line from every media
action (plus the existing Stream flow) now flows
through a new onStderr hook and lands in
Settings → View connection log, with the full
transcoder output visible when the row is
expanded. Gated on the existing connection-
logging preference.
Empty SFTP directories previously rendered as a
blank pane with no back-to-parent affordance,
stranding users mid-navigation. The empty state
now lives inside the file list so the ".." row
stays tappable and an explicit "empty folder"
label sits below it.
Contact sheet issues that surfaced during
testing:
- Forced -f mp4 and a .mp4 cache intermediate
so ffmpeg doesn't auto-pick the image2 muxer
from a user-facing .png extension
- Dropped the sample interval floor from 0.5s
to 0.04s so short clips (a 5-second edge case)
can fill a 4×4 tile grid evenly
@@ -0,0 +1,48 @@
v5.8.0: SCP transport + local file-ops fixes
Legacy SCP (scp -O) is now a first-class file transfer
transport alongside SFTP. Useful on hardened or embedded
servers that disable the sftp-server subsystem.
New per-profile "File transport" setting (Auto / SFTP / SCP)
in the connection editor:
Auto (default) tries SFTP first, falls back to SCP
transparently when the subsystem is unavailable,
with a one-shot snackbar announcing the switch.
SFTP forces the modern SFTP subsystem.
SCP forces legacy scp -t/-f for transfers and shell
ls -la for directory browsing.
Core components:
ScpClient — full SCP wire protocol state machine
(upload/download, single file + recursive, -p
timestamp preservation, progress callbacks) over
a fresh JSch ChannelExec per operation.
ShellFileBrowser — parses GNU ls -la --time-style=
full-iso output for directory listings; graceful
fallback to ls -1 (names only) on non-GNU servers.
RemoteFileTransport interface with SftpTransport and
ScpTransport implementations. SftpViewModel's SSH
code paths (list, upload, download, delete, rename,
mkdir) now dispatch through the transport layer.
TransportSelector resolves the per-profile preference
plus Auto-fallback logic.
A small "SCP" badge appears in the path bar when SCP is
the active transport.
Bug fixes surfaced during testing:
Local file delete/rename/mkdir were broken — the else
branch in each operation had no local-file handling
and fell through to SSH, throwing "Not connected".
Now uses File.delete/renameTo/mkdirs directly.
Cross-backend paste to Downloads failed with
FileAlreadyExistsException when the destination
already existed (Kotlin File.copyTo calls
target.delete() under the hood, which Android
scoped storage blocks for MediaStore-owned files).
Now streams via FileOutputStream first, falling
back to MediaStore insert/delete on failure.
NetworkOnMainThreadException in openSftpAndList and
currentSshTransport — JSch channel-open calls
were running on Main instead of Dispatchers.IO.
@@ -0,0 +1,22 @@
v5.8.3: mosh session-end detection (#92)
Mosh sessions now detect when the remote shell exits
and disconnect cleanly instead of hanging forever.
Previously, typing `exit` in a mosh session left the
terminal frozen — the connection card stayed green and
the only recovery was manual disconnect. The transport
retransmitted indefinitely because it had no mechanism
to detect that mosh-server had exited.
The fix adds two-stage server silence detection:
10s without server packets: rebind the UDP socket
once (recovers IP roaming / WiFi handoff).
15s without server packets: fire onDisconnect and
transition the connection card to Disconnected.
Mosh-server normally sends keepalives every ~3s, so
15s of silence reliably indicates the server process
has exited. The threshold is well past mosh-server's
~4s shutdown window after shell exit while still
tolerating brief network hiccups.
@@ -0,0 +1,17 @@
v5.8.4: IME input + FIDO2 diagnostics
Japanese/Chinese/Korean keyboard input now works in
the terminal. The default input mode switched from
TYPE_NULL (raw key events only) to TYPE_CLASS_TEXT
(IME composition protocol), enabling CJK input methods
to compose characters before committing. Autocomplete
and suggestions remain disabled. (#96)
FIDO2 security key authentication now logs every step
of the CTAP exchange — USB permission result, CTAPHID
init, GetAssertion command, and response status. When
a security key fails, the error dialog shows the
specific CTAP reason (e.g. "No matching credential on
this key") instead of a generic password fallback
prompt. USB permission requests now time out after 30s
instead of blocking indefinitely. (#15)
@@ -0,0 +1 @@
- Bundle Hack font for terminal Unicode glyph support
@@ -0,0 +1,11 @@
v5.8.5: faster mosh session-end detection (#92)
Reduced the session-dead threshold from 15s to 8s.
The previous 15s timeout was correct but too slow —
users disconnected manually before it fired. With 8s,
the session closes on its own ~6s after typing `exit`.
Mosh-server sends keepalives every ~3s, so 8s of
silence (missing 2+ keepalives) reliably indicates
the server has exited without false-positives on
healthy networks.
@@ -0,0 +1,8 @@
v5.9.0: built-in text editor for SFTP file browser
New read-only text viewer backed by Sora Editor. Long-press
any file in the SFTP browser → "Open in editor" to view with
line numbers, word-wrap toggle, and cursor position.
Works across all backends — SSH, SCP, SMB, rclone, and local.
Editing and save support follow in v5.10.
@@ -0,0 +1,11 @@
v5.10.0: editor save + file-browser filter
The built-in editor is now read-write. Edit a text file, tap
Save, and the content is streamed back to the remote through
the same transport used for reading (SFTP, SCP, SMB, rclone,
local). Unsaved-changes indicator and cancel-on-back.
Find and replace (with optional regex) within the open file.
SFTP browser: new filter bar — glob or regex match against
the file list, survives navigation.
@@ -0,0 +1,10 @@
v5.11.0: syntax highlighting + terminal-matched editor theme
Editor recognises 30+ languages via TextMate grammars —
shell, Python, YAML, JSON, TOML, Markdown, Dockerfile,
nginx, Kotlin, Rust, Go, and more. Scope is detected from
the filename and extension.
Editor colours now match your terminal colour scheme, so
the editor and terminal feel like one app on the same
device.
@@ -0,0 +1,9 @@
v5.11.1: single-tap text files to open in editor
Tapping a recognised text file in the SFTP browser now
opens it directly in the editor instead of prompting for a
download target. Non-text files still take the download /
media action they had before.
Uses the same TextMate scope detection introduced in v5.11
to decide what counts as "text".
@@ -0,0 +1,10 @@
v5.12.0: image tools — view, crop, rotate, perspective
Long-press any image file in the SFTP browser → "Open in
image tools" to view, crop, rotate (90° steps), and fix
perspective (four-corner drag). Apply, preview, save back
through the active transport — SFTP, SCP, SMB, rclone, or
local.
Works the same way as the editor — no separate app, no
round-trip download.
@@ -0,0 +1,12 @@
v5.13.0: multi-select + permissions editor in the file browser
Long-press any file (or tap Select) to enter selection mode
with a contextual action bar — copy, cut, chmod, and batch
delete across the selection. Tap the circle icon on each
entry to toggle, or use Select All from the bar.
Permissions editor: open the shield icon or the new
"Permissions…" menu item to edit Unix permissions via an
octal field or 3×3 rwx checkbox grid. Applies over SFTP or
SCP; local files chmod directly. SMB and cloud backends
are unaffected (no POSIX permission model).
@@ -0,0 +1,12 @@
v5.14.0: chown in the SFTP file browser
Companion to the permissions editor shipped in v5.13. Open
the Owner dialog from a file's context menu or from the
selection top bar (person icon) — enter `user`, `group`, or
`user:group` and the remote runs `chown` directly.
Name resolution happens on the server, so either names or
numeric UIDs are accepted. Works over SFTP and SCP.
Typically requires root on the remote. SMB, rclone, and
local files are unaffected — those backends have no
ownership concept that maps cleanly.
@@ -0,0 +1,19 @@
v5.15.0: quality + resolution controls in Convert
New Compression section inside the Convert dialog, tailored
at the main reason users come here — shrinking video.
• Quality (CRF) slider with an encoder-aware range. Lower =
better, higher = smaller. Re-seeds to a sensible default
when you switch between H.264, H.265, and VP9.
• Resolution dropdown: same as source, 4K, 1440p, 1080p,
720p, 480p, 360p. Keeps aspect ratio, always even pixels.
• Encode speed preset (ultrafast → veryslow). Slower =
smaller output at the same quality.
• Audio bitrate dropdown (64–320 kbps) for codecs that
support it.
• Quick presets: Share 720p, Small 480p, Archive 1080p,
HQ source.
The live CLI preview at the bottom of the dialog reflects
every knob in real time.

Some files were not shown because too many files have changed in this diff Show More