Replies: 5 comments 11 replies
-
|
I'm working closely on the latest version. Maybe you can wait a little before you can update and experience the new effects. I'll try to fix this issue while I'm at it. You can try mod store support? |
Beta Was this translation helpful? Give feedback.
-
|
Grant the normal runtime permissions: adb shell pm grant com.example.ava android.permission.RECORD_AUDIO
adb shell pm grant com.example.ava android.permission.CAMERA
adb shell pm grant com.example.ava android.permission.ACCESS_FINE_LOCATION
adb shell pm grant com.example.ava android.permission.ACCESS_COARSE_LOCATION
adb shell pm grant com.example.ava android.permission.BLUETOOTH_SCAN
adb shell pm grant com.example.ava android.permission.BLUETOOTH_CONNECT
adb shell pm grant com.example.ava android.permission.BLUETOOTH_ADVERTISE
adb shell pm grant com.example.ava android.permission.POST_NOTIFICATIONSGrant the special app-ops Ava needs: adb shell appops set com.example.ava SYSTEM_ALERT_WINDOW allow
adb shell appops set com.example.ava WRITE_SETTINGS allow
adb shell pm grant com.example.ava android.permission.WRITE_SECURE_SETTINGS
adb shell appops set com.example.ava REQUEST_INSTALL_PACKAGES allowSet Ava as the home launcher: adb shell cmd package set-home-activity com.example.ava/.MainActivity
adb shell input keyevent KEYCODE_HOMEOptional Portal system tweaks, based on what the Immortal project is doing: adb shell settings put global development_settings_enabled 1
adb shell settings put global policy_control immersive.status=*
adb shell settings put secure ui_night_mode 2
adb shell settings put global hidden_api_policy_pre_p_apps 1
adb shell settings put global hidden_api_policy_p_apps 1
adb shell settings put global hidden_api_policy 1adb shell cmd overlay list | grep aloha.rro
adb shell cmd overlay disable --user 0 com.facebook.aloha.rro.niu.android
adb shell settings put global package_verifier_enable 0
adb shell pm disable-user --user 0 com.facebook.appverifierExpected result: Ava should launch and run with microphone, overlay, camera, Bluetooth, and launcher permissions handled. The one thing that may still fail is Device Admin-based screen lock/screen-off, because Portal firmware appears to block that policy for third-party apps. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
A bit more progress after the 0.4.8 upgrade. Im able to get the app running and discoverable in HA. Everything seems to be working except the microphone unfortunately. Its not detecting any wake words. I've tried both vsWakeWord and microWakeWord but it doesnt seem like the microphone is exposed to the app. I did install shizuku to get semi root so if you have any ideas or ways to debug lemme know and i can test some stuff out. |
Beta Was this translation helpful? Give feedback.
-
|
@knoop7 i tried building an ava mod for these devices, but my LLM is saying that since this file: https://github.com/knoop7/Ava/blob/master/.gitignore#L38 is in the gitignore that its not able to determine how to enable the camera. Why is this ignored? I am a bit concerned if this is a privacy issue possibly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Facebook recently pushed updates to the entire line of portal devices and it would be awesome to get Ava working on these. I was able to install it, but it cant get past certain permissions (Device Management Policies are not supported for this app). I also found these posts and have been able to get Developer Mode enabled but still havent made much progress getting Ava working:
https://www.reddit.com/r/FacebookPortal/comments/1twyoqz/all_portal_devices_officially_unlocked/
https://www.reddit.com/r/FacebookPortal/comments/1tx84hn/oem_unlocking_found_possible_rootcustom_rom/
https://www.reddit.com/r/FacebookPortal/comments/1tynmqw/immortal_a_free_home_screen_photo_frame_and_app/
Beta Was this translation helpful? Give feedback.
All reactions