Jump to content

Droidian released for Pro1 and Pro1-X


Recommended Posts

Hey everyone,

 

due to the current libsoup3 migration in Debian, `apt dist-upgrade` or the Software app might fail to let you upgrade an existing installation.
You can unblock upgrades using the following commands:

sudo apt update

sudo apt upgrade



..and then proceeding as usual (i.e. doing an upgrade via `sudo apt update && sudo apt dist-upgrade` or using the Software app, which is the recommended way).


As a reward, you'll also be able to upgrade to the newest phosh (0.21.0), which finally is available in Droidian 😀

Have fun!

  • Thanks 2
Link to post
Share on other sites

Hey guys,

droidian is awesome! I even  managed to disable haptic feedback, as i'm using the phone overnight while the baby is sleeping and the noise from vibration is waking him up. However, I'm still having issues making droidian to remember my Displays>Scale factor. Every time when I reboot, it gets reset back to 300% which is kind of too big for me. Any ideas why this change is not permanent will be much appreciated!

Link to post
Share on other sites
22 minutes ago, Ivaylo Hubanov said:

Hey guys,

droidian is awesome! I even  managed to disable haptic feedback, as i'm using the phone overnight while the baby is sleeping and the noise from vibration is waking him up. However, I'm still having issues making droidian to remember my Displays>Scale factor. Every time when I reboot, it gets reset back to 300% which is kind of too big for me. Any ideas why this change is not permanent will be much appreciated!

This was happening to me on the PinePhone with Phosh.  I found instructions for editing the Phoc.ini file to change the default number.  I would imagine there is probably some similar ini file for Droidian, but don't know.

  • Like 1
Link to post
Share on other sites
11 hours ago, Hook said:

This was happening to me on the PinePhone with Phosh.  I found instructions for editing the Phoc.ini file to change the default number.  I would imagine there is probably some similar ini file for Droidian, but don't know.

Can find instructions you used for PinePhone? Might be usefull to find the file.

Link to post
Share on other sites
9 hours ago, Ivaylo Hubanov said:

Can find instructions you used for PinePhone? Might be usefull to find the file.

Found the below on the Mobian wiki, if you have the same files it's probably the same fix in Droidian 🙂

Quote

The default configuration of phoc is in file /usr/share/phosh/phoc.ini. To change the default screen scaling copy that file to /etc/phosh/phoc.ini and modify this part:

...
[output:DSI-1]
# scale = 2
scale = 1.5 

 

  • Like 1
  • Thanks 3
Link to post
Share on other sites
1 hour ago, suicidal_orange said:

Found the below on the Mobian wiki, if you have the same files it's probably the same fix in Droidian 🙂

 

Yes, I didn't get it from there, but that was essentially the same instructions.  The question I don't know the answer to is whether Droidian is using Phosh (mobile version of Gnome, I believe).   If so, that Phoc.ini file is what you want.

  • Like 1
Link to post
Share on other sites
  • 3 weeks later...
On 8/18/2022 at 5:29 PM, matf-kabouik said:

I have Droidian on a Pro1 since last year, and on a Pro1x since last night. Droidian hasn't been a daily driver for me (mostly due to battery life and the fact that I'm not friend with the ergonomics of Phosh) so I don't know everything about it, but feel free to ask questions.

I have played with it somewhat actively last year to get alternate WMs working (Sway doable with some work, and with issues, i3wm doable too with a X hack), LXC (doable with Sway as WM but the keyboard mapping caused issues for my keybindings), Waydroid (Droidian may have the best support for it), or simply installing native Debian programs. Not much "real use" experience with Phosh, however.

So far, the experience looks fairly similar on Pro1x, I'd rate the two ports as almost equivalent (with more things being experimental on Halium 11, though), but I haven't spent much time on it yet.

Hey man,

Can you help me out with running Waydroid on my Pro1X with Droidian?

Simple apt install waydroid works and I can see Waydroid's icon, but when I tap on it, nothing really happens. Any advise will be much appreciated!

Thanks.

Link to post
Share on other sites
22 hours ago, Ivaylo Hubanov said:

Simple apt install waydroid works and I can see Waydroid's icon, but when I tap on it, nothing really happens. Any advise will be much appreciated!

No experience here but just read the instructions and as I read it you run an app not Waydroid itself.  Is this what you are doing?  I'm very confused by the really - either something happens or it doesn't.  (Apologies if this is because English isn't your first language)

Another test, run "waydroid session stop" - if you don't get an error it was running. 

Link to post
Share on other sites
38 minutes ago, suicidal_orange said:

No experience here but just read the instructions and as I read it you run an app not Waydroid itself.  Is this what you are doing?  I'm very confused by the really - either something happens or it doesn't.  (Apologies if this is because English isn't your first language)

Another test, run "waydroid session stop" - if you don't get an error it was running. 

$ waydroid status
Session:	RUNNING
Container:	RUNNING
Vendor type:	HALIUM_11
Session user:	droidian(32011)
Wayland display:	wayland-0

$ waydroid show-full-ui
[12:36:04] Failed to get service waydroidplatform, trying again...
[12:36:05] Failed to get service waydroidplatform, trying again...
[12:36:06] Failed to get service waydroidplatform, trying again...
[12:36:07] Failed to get service waydroidplatform, trying again...
[12:36:08] Failed to get service waydroidplatform, trying again...
[12:36:09] Failed to get service waydroidplatform, trying again...
... forever

Tried waiting more than 10 minutes as suggested in some posts that it might take up to minute or two...

Link to post
Share on other sites

Which image did you try? Official Waydroid images don't support Halium 11 devices yet, so you have to use a custom built one:

 

https://github.com/UbuntuTouch-vayu/waydroid_11/releases/tag/1.0

 

These are the instructions as provided by Verevka86, which compiled the images linked above:

 

Quote

instructions:
1: sudo apt install waydroid
2: Edit /etc/gbinder.d/anbox.conf to read like:

[Protocol]
/dev/anbox-binder = aidl3
/dev/anbox-vndbinder = aidl3
/dev/anbox-hwbinder = hidl
 
[ServiceManager]
/dev/anbox-binder = aidl3
/dev/anbox-vndbinder = aidl3
/dev/anbox-hwbinder = hidl


3: copy waydroid images > /usr/share/waydroid-extras/images
4: sudo waydroid init -f
5: reboot

 

On the OG Pro1 instead, everything is available from the Droidian repositories:

 

sudo apt install waydroid waydroid-vendor-28

 

  • Like 1
  • Thanks 3
Link to post
Share on other sites
  • 2 weeks later...

I just installed on pro1-x, but apparently it wants a pin code to unlock?  What do I use?

edit: It's 1234

New Questions:

How do we get to a tty without F-keys?

What are the dev tools zips, and how to apply them?

Edited by Craig
Link to post
Share on other sites
On 10/18/2022 at 12:40 AM, Craig said:

I just installed on pro1-x, but apparently it wants a pin code to unlock?  What do I use?

edit: It's 1234

New Questions:

How do we get to a tty without F-keys?

You can't

On 10/18/2022 at 12:40 AM, Craig said:

What are the dev tools zips, and how to apply them?

Devtools is a bundle that installs useful packages for port development/debug. On an already flashed system you can install the droidian-devtools and adaptation-hybris-devtools metapackages. On nightly builds they're embedded in the flashable image.

Note that having devtools around might not be desirable - among other things, it configures the journal log to be flushed to disk rather than being left on volatile memory (i.e. it might increase disk wear) and it also automatically exposes SSH via RNDIS.

  • Thanks 1
Link to post
Share on other sites
  • 2 weeks later...
On 10/9/2022 at 11:07 PM, eugenio said:

Which image did you try? Official Waydroid images don't support Halium 11 devices yet, so you have to use a custom built one:

 

https://github.com/UbuntuTouch-vayu/waydroid_11/releases/tag/1.0

 

These are the instructions as provided by Verevka86, which compiled the images linked above:

 

 

On the OG Pro1 instead, everything is available from the Droidian repositories:

 

sudo apt install waydroid waydroid-vendor-28

 

Man, you are awesome!!! It works!

However I'm able to use it only in landscape mode... anyone have the same issue?

Link to post
Share on other sites
On 11/7/2022 at 12:35 PM, Ivaylo Hubanov said:

Man, you are awesome!!! It works!

However I'm able to use it only in landscape mode... anyone have the same issue?

 

Rotation is not working well with Waydroid, but can be worked around.  For rotation to work properly in Android apps, make sure Droidian is in portrait mode before you start Waydroid the first time, and then set Droidian back to portrait mode whenever you use it again.

It is probably the biggest annoyance right now in using Android apps with the keyboard open is having to set Droidian to portrait and then back to landscape when done with that app.  Also Droidian is a bit confusing until you understand it has four possible settings for rotation, but only two of them work at a time, and behavior changes when you open or close the keyboard.  When you open the keyboard, rotation is set to landscape, which you can manually change to portrait (which you must do for android apps).  When you close the keyboard, rotation will lock as portrait, which you could manually set to "On" to allow auto rotation (which you shouldn't do when using android apps).

Edited by Craig
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms