@wynn1212
Hi nothing. I've reinstall from ubport-installer. (but no wipe data)
If I enable update possible with GSM I've this error.
Posts
-
RE: Update devel pixel3a
-
RE: Update devel pixel3a
@Bouleetbil
That works if I select update only with wifi
Seems "Allow GSM? Yes" is the problem
-
Update devel pixel3a
Hi,
I've a pixel 3a devel version when I would update it, I find this log into recoverySystem Image Upgrader for Ubuntu Touch Preparing command file Starting image upgrader Loading keyring: Archive-master.tar.xz xzcat: read error tar: short read
If I use cli for update it :
phablet@ubuntu-phablet:~$ sudo system-image-cli -v -p 0 --progress dots [systemimage] May 06 15:44:46 2024 (4206) running state machine [20.04/arm64/android9plus/devel/sargo] [systemimage] May 06 15:44:46 2024 (4206) Looking for blacklist: https://system-image.ubports.com/gpg/blacklist.tar.xz [systemimage] May 06 15:44:46 2024 (4206) [0x79a0862eb0] Requesting group download: https://system-image.ubports.com/gpg/blacklist.tar.xz -> /var/lib/system-image/keyring.tar.xz https://system-image.ubports.com/gpg/blacklist.tar.xz.asc -> /var/lib/system-image/keyring.tar.xz.asc [systemimage] May 06 15:44:46 2024 (4206) Allow GSM? Yes [systemimage] May 06 15:44:46 2024 (4206) [/com/lomiri/applications/download/c7bcadd553224137bb0de43936b9ec37] Running group download reactor [systemimage] May 06 15:44:46 2024 (4206) self: <LDMDownloadManager at 0x79a0862eb0>, self._iface: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x79a0e7b220> :1.112 /com/lomiri/applications/download/c7bcadd553224137bb0de43936b9ec37 at 0x79a0867ac0> implementing 'com.lomiri.applications.GroupDownload' at 0x79a0867af0> [systemimage] May 06 15:44:46 2024 (4206) [/com/lomiri/applications/download/c7bcadd553224137bb0de43936b9ec37] Group download reactor done [systemimage] May 06 15:44:47 2024 (4206) Local blacklist file: /var/lib/system-image/blacklist.tar.xz [systemimage] May 06 15:44:47 2024 (4206) Looking for: https://system-image.ubports.com/channels.json [systemimage] May 06 15:44:47 2024 (4206) [0x79a0e74a30] Requesting group download: https://system-image.ubports.com/channels.json -> /tmp/system-image-5_pw213k/channels.json https://system-image.ubports.com/channels.json.asc -> /tmp/system-image-5_pw213k/channels.json.asc [systemimage] May 06 15:44:47 2024 (4206) Allow GSM? Yes [systemimage] May 06 15:44:47 2024 (4206) [/com/lomiri/applications/download/704e20c2586d461c8306d4fdd277a645] Running group download reactor [systemimage] May 06 15:44:47 2024 (4206) self: <LDMDownloadManager at 0x79a0e74a30>, self._iface: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x79a0e7b220> :1.112 /com/lomiri/applications/download/704e20c2586d461c8306d4fdd277a645 at 0x79a0867cd0> implementing 'com.lomiri.applications.GroupDownload' at 0x79a0867940> . . . . [systemimage] May 06 15:44:47 2024 (4206) [/com/lomiri/applications/download/704e20c2586d461c8306d4fdd277a645] Group download reactor done [systemimage] May 06 15:44:47 2024 (4206) Local channels file: /tmp/system-image-5_pw213k/channels.json [systemimage] May 06 15:44:47 2024 (4206) got channel: 20.04/arm64/android9plus/devel [systemimage] May 06 15:44:47 2024 (4206) found channel/device entry: 20.04/arm64/android9plus/devel/sargo [systemimage] May 06 15:44:47 2024 (4206) [0x79a0e74a30] Requesting group download: https://system-image.ubports.com/20.04/arm64/android9plus/devel/sargo/index.json -> /tmp/system-image-5_pw213k/index.json https://system-image.ubports.com/20.04/arm64/android9plus/devel/sargo/index.json.asc -> /tmp/system-image-5_pw213k/index.json.asc [systemimage] May 06 15:44:47 2024 (4206) Allow GSM? Yes [systemimage] May 06 15:44:47 2024 (4206) [/com/lomiri/applications/download/974f306bb7f5402d8c436f5246f1b4a1] Running group download reactor [systemimage] May 06 15:44:47 2024 (4206) self: <LDMDownloadManager at 0x79a0e74a30>, self._iface: <Interface <ProxyObject wrapping <dbus._dbus.SystemBus (system) at 0x79a0e7b220> :1.112 /com/lomiri/applications/download/974f306bb7f5402d8c436f5246f1b4a1 at 0x79a0e01d30> implementing 'com.lomiri.applications.GroupDownload' at 0x79a0867cd0> . . [systemimage] May 06 15:44:47 2024 (4206) [/com/lomiri/applications/download/974f306bb7f5402d8c436f5246f1b4a1] Group download reactor done [systemimage] May 06 15:44:47 2024 (4206) Upgrade path is 851 [systemimage] May 06 15:44:48 2024 (4206) all files available in /android/cache/recovery [systemimage] May 06 15:44:48 2024 (4206) preparing recovery [systemimage] May 06 15:44:48 2024 (4206) applying Rebooting with argument 'recovery'.
And I've the same error.
I should use ubport-installer for update it.
For each update I've the same error.
Someone have this problem ? -
RE: Howto : chroot debian with X support instead libertine ubuntu
@Device hello,
I've tested with my volla phone devel version and I've the same problem
With my pixel3a RC that works.
For now I don't know why. Weird I will check -
RE: Howto : chroot debian with X support instead libertine ubuntu
BTW I've updated https://gitlab.com/bouleetbil/ubports-scripts/ and test it from scratch with my new redmi 9
-
RE: Howto : chroot debian with X support instead libertine ubuntu
@moodroid Hello, I've updated install.sh for create /home/phablet/.config/systemd/user/ if necessary. For me it was created by amazfish
https://gitlab.com/bouleetbil/ubports-scripts/-/commit/3cc0f9bd7d615e9746e46daad419ee09f6567f19 -
RE: Howto : chroot debian with X support instead libertine ubuntu
@Rinkeby hello don't lanch install.sh with root. The scripts use sudo
-
RE: Howto : chroot debian with X support instead libertine ubuntu
@Rinkeby
Hello, no problem, you will have any conflict. It's just the official chroot for ubports.
I use it for test libertine. -
RE: Howto : chroot debian with X support instead libertine ubuntu
@Rinkeby
I've tested xfce4, vnc, libreoffice, ssh that works
I've some issues with the virtual keyboard and chromium
For firefox with firefox-esr-mobile-config it's not bad but the keyboard hide the search bar.I use this chroot with a physical keyboard and a wireless display as a little computer.
BTW I've added my script for enable wake up on tap on startup https://gitlab.com/bouleetbil/ubports-scripts#enable-wake-up-on-tap-on-startup
-
RE: Howto : chroot debian with X support instead libertine ubuntu
@Rinkeby
Hi, I've created a repo gitlab for install chroot debian
https://gitlab.com/bouleetbil/ubports-scripts#installationit provided a systemd service for mount debian chroot https://gitlab.com/bouleetbil/ubports-scripts/-/blob/main/.config/systemd/user/debian-mount.service?ref_type=heads
After you can create some alias
#debian chroot alias debian='/home/phablet/bin/debian-chroot.sh /bin/bash --login' alias firefox='/home/phablet/bin/debian-chroot.sh firefox'
-
RE: Howto : chroot debian with X support instead libertine ubuntu
@moodroid
hello try to create chroot wirhout package and install packages manualy with aptmkdir -p /home/phablet/Documents/debian sudo debootstrap \ --arch arm64 \ bookworm \ /home/phablet/Documents/debian \ http://deb.debian.org/debian
-
RE: Howto : chroot debian with X support instead libertine ubuntu
@kugiigi
hello I will check that.@Rinkeby
hello, yes I can install .deb.
I will create a git repo with my ubports scripts when I will have some times. For show the .desktop in lormiri I will probably add a script for scan all .desktop in this chroot and export it into ~/.local/share/applications/ -
RE: oneplus 5 upgrading to 20.04
@keb
The applications not ported to focal will disappear from the store.But some applications not ported as https://open-store.io/app/alefnode.whatsweb can be downloaded and installed from the website and works for me.
You can verify if your applications are ported to focal on https://open-store.io before the migration
For example this application is not ported :
-
RE: Howto : chroot debian with X support instead libertine ubuntu
@jarop
Hi,
For me yes, but it's not really user friendly-
I can login as root or regular user.
libertine can not : https://forums.ubports.com/topic/8797/libertine-focal-don-t-find-group-id?_=1698153549115 -
I can add new repo
https://gitlab.com/ubports/development/core/libertine/-/issues/124 -
I can add additional bind-mounts
https://gitlab.com/ubports/development/core/libertine/-/issues/120 -
I can choose the GNU/Linux distribution as postmarket
But you should start the applications in command line, the desktop files are not into the lomiri launcher.
For chroot should more user friendly :
Create a systemd service user for mount all necessary on startup
Create a launcher or adapt lomiri-app-launch for start the application in this chroot
Added .desktop from chroot to lomiri launcher -
-
Howto : chroot debian with X support instead libertine ubuntu
Hello, howto debian chroot
- Create chroot
mkdir -p /home/phablet/Documents/debian sudo debootstrap \ --include=btop,chromium,firefox-esr,maliit-inputcontext-gtk2,maliit-inputcontext-gtk3 \ --arch arm64 \ bookworm \ /home/phablet/Documents/debian \ http://deb.debian.org/debian
chroot created into /home/phablet/Documents/debian
- Create user phabet
sudo chroot /home/phablet/Documents/debian useradd -m phablet --uid 32011
- Configure chroot for dbus, wayland, sound ... for user phablet
Added to /home/phablet/.bashrc into chroot
export XDG_RUNTIME_DIR=/run/user/32011 export WAYLAND_DISPLAY=wayland-0 export DISPLAY=:0 export XSOCKET=/tmp/.X11-unix/X0 export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/32011/bus export USER=phablet #keyboard export QT_IM_MODULE=Maliit export GTK_IM_MODULE=Maliit
- Start chroot as phablet user
MCHRDIR=/home/phablet/Documents/debian cp /etc/hosts ${MCHRDIR}/etc/hosts cp /etc/resolv.conf ${MCHRDIR}/etc/resolv.conf mount -o bind /dev ${MCHRDIR}/dev mount --bind /dev/pts ${MCHRDIR}/dev/pts mount --bind /proc ${MCHRDIR}/proc mount --bind /tmp ${MCHRDIR}/tmp mount --bind /sys ${MCHRDIR}/sys mount --bind /run ${MCHRDIR}/run #dbus mount -o bind /var/run/dbus/ ${MCHRDIR}/var/run/dbus #shm (chromium) mount --bind /dev/shm/ ${MCHRDIR}/dev/shm #wayland mkdir -p ${MCHRDIR}/run/user/32011 mount --bind /run/user/32011 ${MCHRDIR}/run/user/32011 chroot --userspec=phablet:phablet ${MCHRDIR} \ /usr/bin/env -i \ HOME=/home/phablet/ \ TERM="$TERM" \ PS1='(lfs chroot) \u:\w\$ ' \ PATH=/usr/bin:/usr/sbin \ /bin/bash --login sleep 5 umount ${MCHRDIR}/dev/shm umount ${MCHRDIR}/var/run/dbus/ umount ${MCHRDIR}/run/user/32011 umount ${MCHRDIR}/run umount ${MCHRDIR}/sys umount ${MCHRDIR}/proc umount ${MCHRDIR}/dev/pts umount ${MCHRDIR}/dev umount ${MCHRDIR}/tmp
I've tested chromium firefox all seems works here on my pixel3a focal RC
TIP
- You can change PS1 in your chroot ~/.bashrc for identify quickly if you are into the chroot :
PS1='chroot \u@\h:\w\$ '
After login in your chroot
chroot phablet@ubuntu-phablet:/home/phablet$
- Change DPI
cat ~/Documents/debian/home/phablet/.Xdefaults
xterm*faceName: DejaVu Sans Mono xterm*faceSize: 10 Xft.dpi:200
You can adapt Xft.dpi with your display
- VNC xfce4 works
I can use my pixel3a with lomiri as mobile, And for a little desktop VNC if I don't have my dongle. I love this device
-
RE: No MP3 into Music
@lduboeuf
Hello, seems the ticket already exist https://gitlab.com/ubports/development/core/mediascanner2/-/issues/9 -
RE: No MP3 into Music
I've find the problem into mediascanner-2.0.service
[06/10/2023 10:58] terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error' [06/10/2023 10:58] what(): filesystem error: status: Permission denied [/home/phablet/Music/android] [06/10/2023 10:58] Extracting metadata from /home/phablet/Music/hendrix.mp3. [06/10/2023 10:58] Extracting metadata from /home/phablet/Music/thunderstruck.mp3.
/home/phablet/Music/android is just a link for access quickly to waydroid. I've deleted this file and now I've my music.
So if mediascanner crash with an exception, it don't send files -
RE: No MP3 into Music
@Keneda said in No MP3 into Music:
Why are you using Devel (!!!) channel ?
You intend to alpha test things ?I know "the risk" to use devel version. It's not a problem if I "break" my phone and I will not complain about devel version breaking change. So I don't think it's a problem of devel version.
@Keneda said in No MP3 into Music:
Do mp3 work on stable ?
I've switched to RC same problem.
I will search.
-
No MP3 into Music
Hello,
I use my pixel3a with focal devel.
I would use Music but it never find any music :
phablet@ubuntu-phablet:~$ ls ~/Music/ hendrix.mp3 thunderstruck.mp3
Music log
[05/10/2023 22:46] Creating a QMirClientScreen now [05/10/2023 22:46] virtual QMediaService* AalServicePlugin::create(const QString&) "org.qt-project.qt.mediaplayer" [05/10/2023 22:46] Using Hybris video sink [05/10/2023 22:46] virtual QMediaPlayer::State AalMediaPlayerControl::state() const [05/10/2023 22:46] virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const [05/10/2023 22:46] propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.112\" (uid=32011 pid=3859 comm=\"/usr/lib/qt5/bin/qmlscene app/music-app.qml --url=\" label=\"music.ubports_music_3.0.2 (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1310 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")" [05/10/2023 22:46] nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.112\" (uid=32011 pid=3859 comm=\"/usr/lib/qt5/bin/qmlscene app/music-app.qml --url=\" label=\"music.ubports_music_3.0.2 (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1310 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")" [05/10/2023 22:46] "Object path cannot be empty" [05/10/2023 22:46] qml: RECENT does not exist [05/10/2023 22:46] virtual void AalMediaPlayerControl::stop() [05/10/2023 22:46] void AalMediaPlaylistProvider::disconnect_signals() [05/10/2023 22:46] void AalMediaPlaylistProvider::connect_signals() [05/10/2023 22:46] Track list doesn't exist so can't clear it! [05/10/2023 22:46] virtual void AalMediaPlaylistControl::setPlaybackMode(QMediaPlaylist::PlaybackMode) [05/10/2023 22:46] PlaybackMode: Sequential [05/10/2023 22:46] virtual void AalMediaPlaylistControl::setCurrentIndex(int) [05/10/2023 22:46] position: -1 , mediaCount: 0 [05/10/2023 22:46] virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*) [05/10/2023 22:46] setMedia() media: QUrl("") [05/10/2023 22:46] setMedia() headers empty: true [05/10/2023 22:46] Same media as current [05/10/2023 22:46] qml: Tabs component is deprecated. See http://design.lomiri.com/apps/patterns/navigation [05/10/2023 22:46] qml: Playlist DB is version [05/10/2023 22:46] qml: Error reading old playlists, probably doesn't exist. [05/10/2023 22:46] qml: Error reading old playlists tracks, probably doesn't exist. [05/10/2023 22:46] qml: DB: Changing version of playlist db to 1.3, migrating 0 tracks [05/10/2023 22:46] qml: Old playlists [] [05/10/2023 22:46] qml: DB: Restore {} [05/10/2023 22:46] qml: Queue is empty, not loading any recent tracks [05/10/2023 22:46] qml: RECENT does not exist [05/10/2023 22:46] ** Application is now active [05/10/2023 22:46] PlaybackStatus changed to: "stopped" [05/10/2023 22:47] qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring. [05/10/2023 22:47] qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring. [05/10/2023 22:47] void AalMediaPlaylistProvider::disconnect_signals()
If someone have an idea ?
-
RE: libertine Focal don't find group ID
fixed with editing /etc/nsswitch.conf into libertine chroot
passwd: files extrausers group: files extrausers shadow: files extrausers gshadow: files hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
instead
passwd: files systemd group: files systemd shadow: files gshadow: files hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis
But I can't have a root shell with :
libertine-container-manager exec -i focal -c "/bin/bash"
I've got a user shell