soul-browser/app/res
KaKi87 d1ec2a89ea
Add Cloudflare WARP (#58)
* Add unofficial Cloudflare WARP for WebView via amz proxy.

Route browsing through a local HTTP CONNECT proxy and ProxyController, mutually exclusive with the DNS VPN. Downloads and torrents stay direct.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix soulamz DNS on Android so WARP registration can succeed.

Pure-Go resolution defaults to localhost:53 without resolv.conf; bootstrap public DNS and build both ABIs with NDK cgo.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Load Android CA roots in soulamz and warm WebView before proxy override.

Fixes TLS verification on device and ProxyController startup races. Document that local VPNs like AdGuard can block WARP endpoint probes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Prefer non-443 MASQUE endpoints so WARP CONNECT succeeds.

amz auto-select often picks *:443, which fails TLS/CONNECT against current Cloudflare MASQUE; probe preferred ports and only print READY after warp=on.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Prefer non-443 MASQUE endpoints so WARP CONNECT succeeds.

amz auto-selects *:443 with SNI warp.cloudflare.com, which fails against Cloudflare's masque cert and yields CONNECT 502; try known-good ports and probe warp=on before READY.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Ship rebuilt soulamz with MASQUE :4443 preference and rebuild-on-change.

CI was packaging stale bundled libsoulamz.so; rebuild when main.go is newer and pin working non-443 WARP endpoints.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Make WARP settings use the shared SettingActivity UI.

Match DNS and other settings pages with header chrome and list rows; add compile-only stubs so the warp dex can still build separately.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix WARP settings crash from wrong R$string package.

Use literal public.xml string IDs so SettingWarp does not reference
com.mycompany.app.soulbrowser.R (app R is net.kaki87.soul2[.testing]).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Show WARP busy spinner and refresh IP from Cloudflare trace.

Replace the settings switch with a ProgressBar while starting/stopping, and show ip/colo/loc under the toggle refreshed on connect and disconnect.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix WARP toggle crash writing final SettingItem.t.

Mark the row busy via mutable SettingItem.s only; t is final in the app dex.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix WARP spinner crash from wrong ViewHolder.z field type.

Locate the switch via findViewById instead of accessing ViewHolder.z (MySwitchView in app dex).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Avoid off-flash when disabling WARP.

Keep the switch visually on under the spinner while stopping; the list adapter toggles eagerly before our listener runs.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Route all Soul HTTP through WARP and reword VPN guidance.

Install a process-wide ProxySelector plus chokepoint openConnection patches; update warp_info to ask users to whitelist Soul in other VPNs.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 02:07:27 +02:00
..
anim Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
anim-ldrtl Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
animator Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
color Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
color-night Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
color-v26 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
drawable Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
drawable-anydpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
drawable-anydpi-v24 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
drawable-hdpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
drawable-nodpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
drawable-watch Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
drawable-xxxhdpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
interpolator Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
layout Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
layout-land Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
layout-sw600dp Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
layout-v26 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
layout-watch Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
menu Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
mipmap-anydpi-v26 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
mipmap-hdpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
mipmap-mdpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
mipmap-xhdpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
mipmap-xxhdpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
mipmap-xxxhdpi Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
raw Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values Add Cloudflare WARP (#58) 2026-08-17 02:07:27 +02:00
values-h320dp-port Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-h360dp-land Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-h480dp Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-h480dp-land Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-h550dp-port Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-h720dp Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-land Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-large Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-ldrtl Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-night Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-night-v30 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-night-v33 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-port Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-sw600dp Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-sw720dp Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v24 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v25 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v26 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v27 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v28 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v29 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v30 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v31 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v33 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v34 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-v35 Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-w320dp-land Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-w360dp-port Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-w400dp-port Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-w600dp-land Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-watch Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
values-xlarge Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1) 2026-08-10 16:07:14 +02:00
xml Build the language picker from locales_config and language_name. 2026-08-14 18:07:57 +02:00