Jump to content

Plasma/Mobile/FAQ: Difference between revisions

From KDE Community Wiki
Bhushan (talk | contribs)
Bhushan (talk | contribs)
some more proper FAQ
Line 1: Line 1:
= Frequently Asked Questions & Common Pitfalls =
= Why Plasma Mobile is not using Mer/Nemomobile? =


== What is the default user and password of the development image? ==
Plasma Mobile is software platform for mobile devices, this however doesn't include the operating system but Qt5, KDE Frameworks, Plasma and Various applications. Plasma Mobile can work on mer distribution. But since we don't have expertise and resources for packaging for Mer, that is not our main focus.


Default user in the Plasma Phone reference image based on Ubuntu is "phablet", there is no password set by default for user, At startup however it shows login-screen neverth-less as current kscreenlocker have no way to detect if password is set. It will accept anything as password during startup.
= Can android apps work on Plasma Mobile? =


== I can't connect to the phone using SSH ==
Currently it is not possible. Hoewever, there is shashlik project which makes it possible to run android apps in Normal Linux environment, please check it out : [https://phabricator.kde.org/T4991 http://www.shashlik.io/]


If you're not using network-manager on the host system, the network might not be set up as needed. You can do the following to have that happen automatically:
= Can I run Plasma Mobile on my mobile device? =


Depends, If it is device to which we have already ported Plasma Mobile, you can see flashing instructions here : [link to flashing instructions]. If port is not available, you can help in porting Plasma Mobile to the specific device.


Edit /etc/udev/rules.d/51-android.rules adding:
= What are requirements of device for porting Plasma Mobile? =


ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001" RUN+="/home/sebas/bin/connect-n5.sh"
* Device which supports wayland with either way
** libhybris (for ARM based devices)
** mesa/intel based graphics (x86 devices)
* Kernel sources and ideally AOSP/LineageOS device tree available (for ARM based devices)


= I've installed Plasma Mobile, what is login password? =


Replace vendor and product identifiers with yours, change the location ofthe script. This will create the usb0 network interface for you upon plugging in the phone.
Default user in the Plasma Phone reference image based on Ubuntu/Neon is "phablet", there is no password set by default for user, At startup however it shows login-screen neverth-less as current kscreenlocker have no way to detect if password is set. It will accept anything as password during startup. See [https://phabricator.kde.org/T4991 T4991 on phabricator].


connect-n5.sh (which is automatically called upon plugging in the phone) then does the ip setup:
After logging in device, you can use konsole to set passwd for user.


#!/bin/sh
= What is status of project? =
sudo ifconfig usb0 up
sudo ifconfig usb0 192.168.2.20


Now Reload uev's rules to make these changes effective:
Currently Plasma Mobile is available on LG Nexus 5, and LG Nexus 5X smartphone. There is also x86/intel based ISO which can be used to run Plasma Mobile on normal project. For more information about current todo items, visit the [https://phabricator.kde.org/tag/plasma:_mobile/ Plasma Mobile board on phabricator].
 
sudo udevadm control --reload-rules
 
You can test this by plugging in the phone and check on the host system if usb0 shows up in ifconfig.
 
Now you should be able to ssh to your phone, using 'ssh 192.168.2.15'.

Revision as of 06:43, 2 January 2017

Why Plasma Mobile is not using Mer/Nemomobile?

Plasma Mobile is software platform for mobile devices, this however doesn't include the operating system but Qt5, KDE Frameworks, Plasma and Various applications. Plasma Mobile can work on mer distribution. But since we don't have expertise and resources for packaging for Mer, that is not our main focus.

Can android apps work on Plasma Mobile?

Currently it is not possible. Hoewever, there is shashlik project which makes it possible to run android apps in Normal Linux environment, please check it out : http://www.shashlik.io/

Can I run Plasma Mobile on my mobile device?

Depends, If it is device to which we have already ported Plasma Mobile, you can see flashing instructions here : [link to flashing instructions]. If port is not available, you can help in porting Plasma Mobile to the specific device.

What are requirements of device for porting Plasma Mobile?

  • Device which supports wayland with either way
    • libhybris (for ARM based devices)
    • mesa/intel based graphics (x86 devices)
  • Kernel sources and ideally AOSP/LineageOS device tree available (for ARM based devices)

I've installed Plasma Mobile, what is login password?

Default user in the Plasma Phone reference image based on Ubuntu/Neon is "phablet", there is no password set by default for user, At startup however it shows login-screen neverth-less as current kscreenlocker have no way to detect if password is set. It will accept anything as password during startup. See T4991 on phabricator.

After logging in device, you can use konsole to set passwd for user.

What is status of project?

Currently Plasma Mobile is available on LG Nexus 5, and LG Nexus 5X smartphone. There is also x86/intel based ISO which can be used to run Plasma Mobile on normal project. For more information about current todo items, visit the Plasma Mobile board on phabricator.