Trying to understand the test harness thing.
I have been running my portal mini with immortal and ha bridge but still have all the facebook things in the back that I dont use. so im trying to understand the test harness a bit better and document it for my internal home manual.
I get the point is to remove as much as possible legacy facebook stuff with this command (need for a FB account, get adb to be auto enabled upon reset, get immortal as the main launcher)
I just got one usability question
Will the stock portal settings still be accesible via the immortal short cut? or that will also be lost?
is the bellow procedure correct or I'm missing something.
Prerequisites:
- Portal has completed the standard Facebook/WhatsApp setup wizard once (this is required to reach Settings and enable ADB at all)
- ADB enabled: Settings, Debug, ADB Enabled
- Immortal launcher already installed and set as the default launcher
Steps:
- Confirm ADB connectivity from your PC:
​
adb devices
Confirm the device shows as device, not unauthorized or missing.
- Confirm Immortal is installed and currently set as the default launcher before continuing. Do not proceed until this is verified.
- Run the testharness command:
​
adb shell cmd testharness enable
This triggers a reset. Expect the device to reboot.
- Once it reboots, immediately check ADB is still connected:
​
adb devices
Note what the device actually boots to at this point (stock launcher attempt, Immortal, blank screen, etc.) and report that back, since this is one of the main things needing confirmation.
- If ADB is still alive, disable these two packages:
​
adb shell pm disable-user --user 0 com.facebook.alohaapps.devicesetup
adb shell pm disable-user --user 0 com.facebook.aloha.alohaotasetup
- Optionally, also disable the stock launcher package, though without an account it likely can't take over the launcher role regardless:
​
adb shell pm disable-user --user 0 com.facebook.alohaapps.launcher
- Continue with normal setup: install/reinstall portal-ha-bridge, grant permissions, configure as usual.
Thanks if advance!