Commit graph

268 commits

Author SHA1 Message Date
Rudxain
0a81642567 docs: add proper source for package-ID format 2026-01-10 07:44:24 -04:00
Anonymoussaurus
6867c56dae
fix(window): incorrect title of UAD-ng
Cause: iced update to 0.14
2026-01-09 11:53:10 +01:00
angel
a5c18ee295 chore(deps): bump iced from 0.13.1 to 0.14.0 2025-12-21 20:37:19 -08:00
iamanaws
07ac838964 chore: fix and apply copilot suggestions 2025-11-20 21:46:19 -08:00
iamanaws
7c641bf258 chore(lint): fix clippy warnings 2025-11-20 20:52:31 -08:00
iamanaws
e184121f5f fix: detect and handle cross-user app restoration behavior
- Add cross-user behavior detection for unexpected restoration patterns
- Fix user isolation to prevent operations on unintended users
- Handle uninstall→restore, uninstall→uninstall, and restore→restore cases
- Prevent ping-pong restoration loops from OEM multi-user implementations

Related to #507
2025-11-20 20:52:31 -08:00
iamanaws
88997bdccc fix(adb): prevent crashes from non-UTF8 output
Use lossy UTF-8 conversion in ADB operations and add user-friendly error messages for common OEM failures (Samsung Knox, work profiles, permission errors).

Closes #1005
Merged from #1024

Co-authored-by: simplehima <simplehima@users.noreply.github.com>
2025-11-20 20:52:31 -08:00
iamanaws
7a15e18844 feat(pkg-state): add fallback verification and disable on reinstall
- Verify package state after operations via ADB commands
- Fallback to disable when uninstall fails due to reinstallation
- Fallback to uninstall when disable fails due to re-enabling
- Add UI notifications to inform users of fallback actions
- Remove unused ChangePackageState message variant

Fixes #632
2025-11-20 20:52:31 -08:00
iamanaws
ebcaf5e31f fix(backup): continue restoration when packages are missing from device
Skip missing packages with warning instead of failing entire restore process.
Fixes #538
2025-11-18 18:17:18 -08:00
iamanaws
7580105910 chore(lint): solve clippy warnings 2025-11-17 07:24:07 -08:00
iamanaws
4ab886490e chore: replace deprecated adb_shell_command with run_adb_action 2025-11-17 07:15:18 -08:00
iamanaws
369cfaa946 chore(deps): bump iced from 0.12.0 to 0.13.1 2025-11-17 07:13:03 -08:00
Rudxain
fb131df206
ci(adb): use debug_assert to not trigger panic_in_result_fn 2025-10-31 17:41:09 -04:00
Rudxain
0dc61c825f
refactor(adb): comment-out all running (user) stuff 2025-10-31 17:41:08 -04:00
Rudxain
6a8ac88b67
ci: disable test_save_changes 2025-10-31 17:41:07 -04:00
Rudxain
d383da804d
ci: cargo clippy --fix; cargo fmt 2025-10-31 17:41:06 -04:00
Rudxain
54308e1c58
ci(adb-sync): un-deprecate adb_shell_command; add warn to docs 2025-10-31 17:41:05 -04:00
Rudxain
2729c72c76
ci: rm config.devices.len() assertion 2025-10-31 17:41:05 -04:00
Rudxain
207e312741
feat(adb-pm): handle "running" user state 2025-07-22 10:43:55 -04:00
Rudxain
c5799702e2
refactor: rm all regex, and properly parse pm list users 2025-07-22 10:43:55 -04:00
Rudxain
ca0cfd400d
refactor(adb): rm all regex refs in module 2025-07-22 10:43:54 -04:00
Rudxain
5633b077c2
refactor(adb): rm regex dependency from PackageId::new by adding some utils.
and:
- refactor `adb` `version` assertions to call `next` explicitly,
rather than matching on iteration count.
- re-add debug-assertions for `pm list packages`
2025-07-22 10:43:50 -04:00
Rudxain
be13905042 chore(deps): upgrade ureq to v3 2025-07-10 10:34:56 +02:00
Rudxain
8707cf296e style: cargo fmt 2025-07-10 10:34:56 +02:00
Rudxain
712d61a63c refactor: cargo clippy --fix 2025-07-10 10:34:56 +02:00
Rudxain
59854c4c7c
perf: minor opt (runtime and compile-time) 2025-05-14 23:05:31 -04:00
Rudxain
c0a876da83
refactor: replace CommandType by PackageInfo
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation/issues/760
2025-05-14 23:05:30 -04:00
Rudxain
17a48aae02
style: cargo clippy --fix 2025-05-14 23:05:30 -04:00
Rudxain
a7fd492f5a
refactor(save): more idiomatic list_available_backup_user 2025-05-14 23:05:30 -04:00
Jarmo Tenhunen
c177fdaac6
fix(sync): remove unnecessary semicolon 2025-05-13 20:47:41 +03:00
Jarmo Tenhunen
cd068e2e47
fix(sync): correct logging typo 2025-05-13 20:46:55 +03:00
Rudxain
6cb12ea91b
perf(ADB): defer version parsing to caller
Change the method signature to
allow the consumer to decide when/if and how to parse the `stdout`
2025-03-27 18:41:40 -04:00
Rudxain
f6bf0048b5
hotfix(adb): use actual cfg instead of debug_assert
fixes regression introduced by this commit:
db719e0cb4
2025-03-10 15:56:30 -04:00
Ricardo Fernández Serrata
f9f8212562
Merge pull request #894 from Universal-Debloater-Alliance/feat/gui/adb-v__893
feat(GUI:view:about): show `adb version`
2025-03-10 15:16:56 -04:00
Rudxain
adeed4c1a5
docs(adb): mv alloc comment 2025-03-10 14:44:51 -04:00
Rudxain
db719e0cb4
test(ADB): verify adb version format with debug_assertions 2025-03-10 14:37:27 -04:00
Rudxain
2e1e364e29
docs(ADB): specify txt for version sample 2025-03-10 14:09:04 -04:00
Rudxain
9dac3a6934
docs(ADB): explain expected version format 2025-03-10 13:52:29 -04:00
Frigyes Erdosi-Szucs
b22d38ca07 fix(selfupdate): Update windows binary name 2025-03-10 09:53:18 -07:00
Frigyes Erdosi-Szucs
657ebcb16e fix(autoupdate): Add aarch64 to apple silicon target 2025-03-10 09:35:03 -07:00
Frigyes Erdosi-Szucs
7e0a9f3b64 fix(autoupdate): Add x86 to intel target as well 2025-03-10 09:31:53 -07:00
Frigyes Erdosi-Szucs
340d49a99f style: format with fmt 2025-03-10 09:22:36 -07:00
Frigyes Erdosi-Szucs
3b3690316b fix(selfupdate): Differentiate between intel and apple silicon on macos 2025-03-10 09:18:35 -07:00
Rudxain
780c0d7a6d
fix(ADB): forgot to rm all quotes from logger
continuation of commit:
1d657e899e
2025-03-10 12:09:42 -04:00
Rudxain
9508bd8aa8
chore(ADB): add version method to internal ADB API 2025-03-10 11:50:34 -04:00
Rudxain
161f816093
docs(adb): improve list_packages_sys doc 2025-03-06 15:24:53 -04:00
Rudxain
1d657e899e
feat(adb): rm quotes from logged args 2025-03-06 15:16:22 -04:00
Rudxain
d3c0ae26c5
perf(adb): PackageId: String -> Box<str> 2025-03-06 15:12:32 -04:00
Rudxain
fdc220febc
chore: fix/mute more lints; rm useless "TODO"s 2025-03-06 03:15:18 -04:00
Rudxain
045d956f40
refactor(sync): merge match arms 2025-03-06 02:54:26 -04:00