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 - mibry

Pages: 1 [2] 3 4 5
16
Cosmo Communicator - Linux / Re: Ubports for Cosmo
« on: November 05, 2020, 07:46:07 pm »
I don't believe it is a good idea to use recovery slot 2. From what has been said on the telegram group is that slot 2 does not have access to the modem. Someone on the telegram group created a script to change the boot images between Sailfishos, Gemian and Ubports using the Planet recovery install custom OS option. I will see if I can find it and post it here.

17
Cosmo Communicator - Linux / Ubports for Cosmo
« on: November 05, 2020, 02:13:16 am »
There has been quite a bit of work on a ubports port for the cosmo.
To install ubports on the cosmo you will need linux installed, I will not explain that in this post as there are instruction on Planets website.

Download the latest flashable zip file (Will be named artifacts.zip) from https://gitlab.com/ubports/community-ports/android9/planet-cosmocom/planet-cosmocom/-/pipelines.
Unzip artifacts.zip, 2 files will be unziped to a new folder call "out". The files will be called rootfs.img and boot.img.
cd to the out folder and move the rootfs.img file to / and rename it to ubuntu.img
next flash the boot.img to one of the free boot slots using the following command "dd if=~/out/boot.img of=/dev/disk/by-partlabel/boot4 <- the last part will need to be changed to reflect you boot slot.

Next reboot and select the boot slot with ubuntu touch. Then follow the setup instructions.

Thanks go to @TheKit for working on Ubports for cosmo.

18
Cosmo Communicator - Linux / Re: donations to linux dev
« on: September 13, 2020, 11:29:17 am »
I agree. I would be happy to contribute toward a fund, we need to ensure that the fund is managed by someone.

19
Cosmo Communicator - General Discussion / Re: Camera
« on: September 10, 2020, 05:51:43 am »
I am posting this on behalf of @DragonInWhite from discord

“A suggestion for the take photo with enter or spacebar. There's already one for volume control, so im guessing he could tweak that one.

taking photos by tapping on the screen tends to shake the phone. prob due to the weight distrobution or something”

Regards

Mibry


20
apt-get install dialer-app

21
apt-get install messaging-app

22
Cosmo Communicator - Android / V22 is out.
« on: June 22, 2020, 09:32:21 am »
Quote from: JDM957
Updated from V20 to V22, everything seems ok for now.

CODI update took somewhere between 10 and 15 attempts, here's how it went down for me:
0. Airplane mode on
1. Multiple attempts, kept failing
2. One of the tries didn't fail but hung up at 19% flashing firmware (let it sit for 30 minutes and it didn't move)
3. Canceled the update by manually hitting quit, which essentially soft bricked the CODI display (from what I can tell)
4. Reboot, retried update and it completed on the first try

Maybe disabling "Cover Display" in the Cosmo Settings before attempting the update might have a similar beneficial effect?
My update from V19 to V22 has failed 4 times.

I have removed the linux partitions and also done a factory reset and still haven't been able to update to V22.

Anyone have any suggestions?

23
Gemini PDA - Linux / Gemian DNS issues
« on: May 15, 2020, 02:44:22 pm »
Quote from: gemini_user_j
I have a raspberry pi on my local network, and I have a domain name pointing to it for accessing it from outside my home network

If I am on my local net, the domain name does not work, and I need to ssh to the local IP address.

To unify things, I created a DNSmasq on my local router
```
address/raspberrypi.domain.tld/192.168.X.Y
```

If I now ssh into the raspberry pi, from any other device than the gemini, it will be a success, as opposed to before I added this DNSmasq. The gemini still does not work.

I tried to compare different files from gemini, to a debian 10 machine, and found that
```
cat /etc/resolv.conf
nameserver 8.8.8.8
```
on the gemini, where as the debian10 machine has the IP of my router.


Have I accidentally hardcoded googles DNS service somewhere, or did I miss a setting in connman?

will be happy if anyone from this community can help me figure out what I am doing wrong

Did you set a static IP address for wlan0?

24
Cosmo Communicator - Linux / GSM-calls?
« on: April 21, 2020, 09:25:53 am »
Quote from: suhrm
Quote from: Piece_Maker
Which /dev/radio interface did you use? I've tried a few so far with no luck. I'm just using minicom though so not sure if I'm doing it wrong!
There the multiple different file discriptors each correspond to the some function for the 2 different UEs? (Is this modem true multi-UE or Mux'ed?) in the cosmo (1 per modem). the /dev/radio/acti1 is the first modem is atci1 and the second acti2. I have tried to use minicom as well but there seams to be some issue with the terminal-setup on the cosmo. Instead I used the echo and cat in two different terminals.

A few different references https://comsecuris.com/blog/posts/path_of_least_resistance/ and https://github.com/CellularPrivacy/Android-...ctor/issues/199

Also to answer milbry's question: I have been busy with my regular work and there have limited time to progress/investigate, however, I did do a dump of the modem setup process in android using logcat -b radio to understand how the process of the modem setup occurs as this basically to my understanding need be replicated by the RIL driver/plugin for ofono (the android-mediatek RIL is still user when booting under linux). From this it is clear that the rild-oem (different for previous media-tek approaches, see https://github.com/rilmodem/ofono) is used for some kind of diagnostic/configuration under android and that the ccmni1 and ccmni2 are the actual ppp data interfaces that are used in android. I have not filtered the dump for private information yet and will therefore not post it.
Thanks for the update.

25
Quote from: arthman
Quote from: mibry
Quote from: arthman
so I tried it anyway. got some errors.

 [ Invalid Attachment ]

if anyone could help with this it would be really good, I think its the last thing stopping it from working.

Have you install gemain-desktop?

Have you also tried to run apt-get -f install? Also try and install kernel headers.
Hey thanks for your response,
Could you let me know what to type into terminal?

Try sudo apt-get install gemian-desktop

And then sudo apt install gemian-modular-kernel-headers

26
Quote from: arthman
so I tried it anyway. got some errors.

 [ Invalid Attachment ]

if anyone could help with this it would be really good, I think its the last thing stopping it from working.

Have you install gemain-desktop?

Have you also tried to run apt-get -f install? Also try and install kernel headers.

27
Cosmo Communicator - Linux / GSM-calls?
« on: April 09, 2020, 04:49:38 am »
Quote from: cam1965
Quote from: suhrm
Quote from: cam1965
Quote from: suhrm
Quote from: LinuxGuy
Hi to all

Quote from: mibry
From the telegram group, Cosmo is missing a ofono plugin. So Wont work for now. Hopefully soon.
Well, installed Dialer app, but right, " no network" error. Setting up a broadband-connection in the networkmanager application didnt help either ... any new idea?
Thanks for your advice!

After reading up on android cellular stuff (apparently not the same as interfacing with standalone modems) as well as the reply from milbry I managed to find and configure the modem using good old fashioned AT command through  /dev/radio interfaces and even sending and SMS. Now I am trying to see if I can get it working through ofono, however my experience with ofono, Android RIL  etc. is limited.

Are you using v20 or v21 firmware,  right ?
In v19, I can't see my sim card.
Thanks

I am running v21.
Ok. Thank you.

Are you making progress?

The next thing that will need to be looked at is power saving when closing the lid like on the gemini.

28
Gemini PDA - Linux / Kali not booting again
« on: April 07, 2020, 05:03:58 pm »
Quote from: Geeber
Many thanks Re4son,

I will look forward to being able to use Kali again on the Gemini.

Has this been fixed yet so that Gemini can use Kali?

Thanks in advance.

29
Cosmo Communicator - Hardware / Wierd Cosmo after partitioning
« on: April 03, 2020, 11:08:21 am »
Quote from: AP756
Dear community, I need some help. I think I (my Cosmo) got stuck.

The story: My Cosmo was rooted and worked with some problems (high power consumption, CoDi refused to update,...). Today I partitioned the Cosmo following the desciption on Planent Computers webpage. All went well, phone boots in all partitions, but
- Phone works ONLY in unrooted Android (no network on rooted partition, Linux not tested)
- Magisk wants to update, but I can't find a way to do that. All seems fine, but nothing happenes
- CoDi fully stopped to work, asks for update, but refuses to do anything (no automatic, no manual update), no external display anymore

Something went totally wrong. I just can't do anything, because I need a full ROM to restore and a matching scatter file (V19 here on the forum was already tested, but there is still no response from phone or CoDi - something is missing). For the time being I have to retire my Cosmo and go back to my Gemini.

In hope that somebody official monitors OESF: Please provide us with full ROM images. People here are mostly adult and know how to handle a phone. They don't have to send their units back to you for fixing, they can do it by themselves, if you provide the tools.

Thanks for reading, TIA for any useful comment and bye for now

If you are still using v19 still then the planet supplied root kernel for android will not work correctly. This is because there is some misconfiguration that Planet applied in the boot-loader release that doesn't allow either the linux or the planet supplied android root kernel to access the modem radio. The only thing that is working on the linux firmware is wifi.

There is a thread https://www.oesf.org/forum/index.php?showtopic=35879 for unofficial rooting the cosom.

30
Gemini PDA - Linux / hibernate vs suspend
« on: April 02, 2020, 08:26:02 am »
Quote from: gemini_user_j
Quote from: Eric BF
I guess it depends on how long you wish to store it. If it's just until you use it next and that is likely to be in hours (or a day), what I do might work for you. I turn off the radios (bluetooth and wifi), turn off the display with
Code: [Select]
xset dpms force offand then close the lid.
I don't use the default screensaver because I hate having to type in my password. I like living dangerously...  
I like that, and it got me thinking to make a custom "sleep" script that I can run before folding.

command line parameters could be
* switch off screen
* switch off wifi
* switch off bluetooth
* switch off 4G modem (if on)
* toggle requirement of password at next unfold.

cheers

The script could be adapted for both Gemini and Cosmo(when it become usable)

Pages: 1 [2] 3 4 5