Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dnapla

Pages: [1]
1
Astro Slide - General Discussion / T0 Sample Update video
« on: June 02, 2021, 12:15:21 pm »
Latest update (1st June 2021) showing the T0 build of the Astro

https://youtu.be/PVvpsFfXxOE

  • T1 sample is due middle of June.
  • Expected samples for accessories early July
  • Based on latest schedule - hopeful to start PR1, PR2 (production runs) early-mid July.

2
Starting debugging the bluetooth - the following appears to help for me :- (all V4 install)

 
  • Edit /usr/bin/droid/bluebinder_post.sh -
        Change 644 to 755 - as its a directory I think we need to access files within...
  • Add in to /etc/pulse/default.pa.gemian 
        load-module module-bluetooth-discover
        load-module module-bluetooth-policy
  • Add in to /etc/dbus-1/system.d/ofono.conf
       <policy user="pulse">
        <allow send_destination="org.ofono"/>
      </policy>

Managed to get consistent connections with a Pixel4 and a BT Headset (not saying they operate right - just that connections persist ok on reboots etc)

If this works for you - please post here.... also if you find any additonal items that help fix further.   
   

3
For text messages - you need to get a patched version of the following :-
https://gitlab.com/ubports/community-ports/android9/planet-cosmocom/planet-cosmocom/-/commit/16efbf31cb3d333add831107ba3f65d857572128

This should go in /usr/libexec/droid-hybris/vendor/lib64/libmtk-ril.so
Make sure permissions remain the same

Messages received ok now with this

4
Just to expand on what Cam wrote above.... (this is not my work!)

This assumes you have installed the latest v4 from http://support.planetcom.co.uk/download/cosmo-customos-installer-v4.zip
Once this is installed and working ok (wifi etc).

Download the following file (15Mb). This contains the droid-hybris folder from v3.
https://github.com/dnapla/droidhybris/blob/main/droid-hybris.zip

Apologies (its a zip... I will look to do a tar sometime)
(sudo apt install unzip)

Use whichever program you like to transfer files to Cosmo (eg Filezilla) via SFTP to home directory. ( ~/ )
(unzip droid-hybris.zip)
Will create a droid-hybris folder containing system and vendor folders. (assuming in ~/droid-hybris)

The files all need to be owned by root ( sudo chown -R root:root droid-hybris )

Then copied to the /usr/libexec folder....
There is an existing droid-hybris folder - containing a lot less files on v4.

(sudo cp -r ~/droid-hybris/ /usr/libexec/ )

Reboot

Then ensure codi-app / lxc-android are not updated
(sudo apt-mark hold codi-app lxc-android)

Other files can be updated as usual
(sudo apt-get update)
(sudo apt-get upgrade)

This worked ok for me to get incoming calls. I have not tested messaging (SMS) at all.
This is hopefully a short term workaround.

Hope this works ok for you guys.

Pages: [1]