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

Pages: [1]
1
any luck with this?

2
my work around for right click:

Use KDE connect
And right click from another android phone...

I dont really use much right click for now.
Except when i messed up with my bottom bar. Use right click to remove unwanted widget.

3
Cosmo Communicator - Linux / Re: Ubports for Cosmo
« on: January 10, 2021, 06:44:49 am »
There is new Wiki page from Adam Boardman about UbuntuTouch on Cosmo: https://github.com/gemian/gemian/wiki/UBPorts
Be careful because it might be unfinished ... If you are brave and try it out, please post your "travel report".

stucked at planet logo

4
Cosmo Communicator - Linux / Re: Ubports for Cosmo
« on: December 21, 2020, 08:04:29 am »
Please help.

I cant seem to get the UBports installed successfully.

This is what i did.

1) Add to the bottom of the list_installers.sh file (above the 'rm -f $PARTITION_FILE' line)
Code: [Select]
echo "UBPorts,$MBF/Cosmo_Installer_UBPorts.sh" >> $INSTALLER_FILE
So it looks like this
Code: [Select]
#!/system/bin/sh
PARTED="/sbin/parted_static"
MBF="/sdcard/cosmo-customos-installer"
LS="/system/bin/ls"
OUTPUT="/tmp/output.txt"
PARTITION_FILE="/tmp/part_name.txt"
INSTALLER_FILE="/tmp/installers.txt"
ERROR="/tmp/error.txt"

echo "Detect Installers..." > $OUTPUT

log () {
echo -n "$1 " >> $OUTPUT
}

execute() {
log "Running \"$1\""
R=$($1 2> $ERROR)

if [ "$?" -eq "0" ]
then
log "OK\n"
else
log "ERROR: `cat /tmp/error`\n"
fia
}

part_name() {
PART=`$PARTED /dev/block/mmcblk0 p | grep "$1   " | awk '{ print $5 }'`
if [ $PART = "ext2" ] || [ $PART = "ext4" ]
then
$PARTED /dev/block/mmcblk0 p | grep "$1   " | awk '{ print $6 }' >> $PARTITION_FILE
else
echo $PART >> $PARTITION_FILE
fi
}

# Write installer list in $INSTALLER_FILE
# Format: Name,Installer file
echo "TWRP,$MBF/Cosmo_Installer_TWRP.sh" > $INSTALLER_FILE
echo "Debian KDE/Plasma,$MBF/Cosmo_Installer_Debian_kde.sh" >> $INSTALLER_FILE
echo "Rooted Android,$MBF/Cosmo_Installer_Rooted_Android.sh" >> $INSTALLER_FILE
echo "UBPorts,$MBF/Cosmo_Installer_UBPorts.sh" >> $INSTALLER_FILE

# Write partition list in $PARTITION_FILE
# Format: partition_name
#   partition_number  (partition name followed by \n followed by partition_name)
rm -f $PARTITION_FILE
part_name 38
part_name 41
part_name 42

2) Download artifacts.zip from https://gitlab.com/ubports/community-ports/android9/planet-cosmocom/planet-cosmocom/-/pipelines.

Unzip artifacts.zip

rootfs.img --> renamed to ubuntu.img
boot.img   --> renamed to ubports-boot.img

3) Download Cosmo_Installer_UBPorts.sh

Add this at the bottom of the Cosmo_Installer_UBPorts.sh file.
Code: [Select]
# Install root image into partition 43
execute "$DD if=$MBF/ubuntu.img of=$LINUX_ROOTFS bs=1m"

so it looks like this

Code: [Select]
#!/system/bin/sh
PARTED="/sbin/parted_static"
DD="/system/bin/dd"
MBF="/sdcard/cosmo-customos-installer"
BOOT_PARTITION="/dev/block/mmcblk0p"
LINUX_ROOTFS="/dev/block/mmcblk0p43"
OUTPUT="/tmp/output.txt"
ERROR="/tmp/error.txt"

echo "Installing UBPorts..." > $OUTPUT

log () {
echo -n "$1 " >> $OUTPUT
}

execute() {
log "Running \"$1\""
R=$($1 2> $ERROR)

if [ "$?" -eq "0" ]
then
log "OK\n"
else
log "ERROR: `cat /tmp/error`\n"
fi
}

# Installing boot image into user-selected boot partition
execute "$DD if=$MBF/ubports-boot.img of=$BOOT_PARTITION$1 bs=1m"

# Rename partition to specific OS
execute "$PARTED /dev/block/mmcblk0  name $1 UBPorts"

# Install root image into partition 43
execute "$DD if=$MBF/ubuntu.img of=$LINUX_ROOTFS bs=1m"

4) Put the ubuntu.img, ubports-boot.img , list_installers.sh and Cosmo_Installer_UBPorts.sh files and in cosmo-customos-installer directory

5) Boot to recovery with the SD card inserted

6) Install UBPorts to another boot partition  --> this case i chose the last partition

But no luck.


5
Any fix for this other then sending back to planet? Mine has stoped working for few months now.

6
Quote from: Lyall Pearce
Quote from: asyik
can someone kindly put a picture / link to the gemini pda case. I tried to search online but did not find one. I don't know wether i should but the case or not.
Hopefully this is good enough
 [ Invalid Attachment ]

Thank you

7
can someone kindly put a picture / link to the gemini pda case. I tried to search online but did not find one. I don't know wether i should but the case or not.

Pages: [1]