Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[xenial] Fingerprint functionality completely missing on turbo (config, action) #396

Open
BigET opened this issue Dec 30, 2017 · 42 comments · May be fixed by ubports/biometryd#1
Open

[xenial] Fingerprint functionality completely missing on turbo (config, action) #396

BigET opened this issue Dec 30, 2017 · 42 comments · May be fixed by ubports/biometryd#1
Assignees
Milestone

Comments

@BigET
Copy link

@BigET BigET commented Dec 30, 2017

  • Device:turbo
  • Channel:devel/16.04
  • Build:??

Steps to reproduce

Open "System Settings" -> "Security & Privacy"

Expected behavoir

Under "Security" you should have "FingerPrintID" entry.
Inside "Locking and unlocking" -> "Lock security" submenu, you should have a Fingerprint option.

Actual behavior

There is no Fingerprint related option in "System Settings"

Logfiles and additional information

dmesg.log

Additional info.

On turbo in OTA 3 (15.04) it works well so the hw is ok, but on devel (16.04) is completely absent.

@BigET BigET changed the title Fingerprint completly missing on turbo. Fingerprint completely missing on turbo. Dec 30, 2017
@mariogrip mariogrip added this to the 16.04 OTA-4 milestone Jan 2, 2018
@mihaelmilea

This comment has been minimized.

Copy link

@mihaelmilea mihaelmilea commented Jan 5, 2018

Unlocking with the fingerprint doesn't work either.

@mihaelmilea mihaelmilea mentioned this issue Jan 5, 2018
7 of 14 tasks complete
@Flohack74

This comment has been minimized.

Copy link
Member

@Flohack74 Flohack74 commented Jan 6, 2018

@mihaelmilea So you thereby confirmed this bug in 16.04 also? Or do we need to test it separately

@mihaelmilea

This comment has been minimized.

Copy link

@mihaelmilea mihaelmilea commented Jan 6, 2018

Sorry, I don't understand the question.

@Flohack74

This comment has been minimized.

Copy link
Member

@Flohack74 Flohack74 commented Jan 6, 2018

@mihaelmilea Do you only confirm that unlocking does not work or also that the configuration for fingerprint is missing?

@mihaelmilea

This comment has been minimized.

Copy link

@mihaelmilea mihaelmilea commented Jan 6, 2018

@Flohack74 Ok, I understand now. I confirm that it doesn't work to unlock with the fingerprint. The fingerprint was configured in 15.04 and it would keep the configuration when switching between channels. When I tested 16.04 - which was on January 1st or 2nd - it didn't do anything when I tried to unlock with the fingerprint - it didn't even say that the fingerprint is wrong. It didn't ask me to enter the code but it waited for me to swipe first and then asked for the code. I didn't test xenial after that so I don't know if meanwhile it was fixed but since I didn't see it in the topic I thought to mention it.

I can also confirm that the configuration of the fingerprint was missing.

Thank you again and sorry for not explaining all this from the start.

@Flohack74 Flohack74 changed the title Fingerprint completely missing on turbo. Fingerprint functionality completely missing on turbo (config, action) Jan 6, 2018
@NeoTheThird NeoTheThird changed the title Fingerprint functionality completely missing on turbo (config, action) [xenial] Fingerprint functionality completely missing on turbo (config, action) Jan 11, 2018
@NeoTheThird NeoTheThird added this to Accepted in Ubuntu Touch Jan 11, 2018
mariogrip added a commit to ubports/biometryd that referenced this issue Mar 9, 2018
This fixed: ubports/ubuntu-touch#396 without this it refuses to load device plugin since there is a version mismatch, this does not really matter since both vivid and xenial uses the same version.
@mariogrip mariogrip self-assigned this Mar 9, 2018
@mariogrip mariogrip moved this from Accepted to In Development in Ubuntu Touch Mar 9, 2018
@mariogrip

This comment has been minimized.

Copy link
Member

@mariogrip mariogrip commented May 10, 2018

We hit a rabbit hole with this one...

So, the problem we are facing now is that, this uses a plugin based system and the pro 5 has a close source plugin for its fingerprint, but this is built for vivid with gcc4 but with xenial we use gcc5 and this makes them ABI incompatible. There is ways to work around this issue, but not as easy. So this has to be moved to OTA-5. If i got time after fixing all bugs on our ota4 list I will take a last look at this one, but I cannot promise this will land in ota4. I'm really sorry about this, but we don't want to block xenial due to this. I will also ask canonical if they have the source or a xenial version, if i can get that then we can get this in ota4 also. but again no promises.

@mariogrip mariogrip modified the milestones: 16.04 Backlog, 16.04 OTA-5 May 10, 2018
@NeoTheThird NeoTheThird moved this from In Development to Accepted in Ubuntu Touch May 11, 2018
@mariogrip mariogrip modified the milestones: 16.04 OTA-5, 16.04 OTA-7 Sep 24, 2018
@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 4, 2018

Hi, I love this functionality, I would like to help on this topic but I don't know from where to start, is it working with fpc driver? I see in dmesg logs something like [ps sensor ] is it related to that ?

Some tips would be welcome ! Thanks

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 4, 2018

@mariogrip
Is the problem coming from biometryd or from the driver that is not declaring itself to the smbus ?

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 15, 2018

@mariogrip : did you finally got the sources of the library : libmeizu-fingerprint-reader.so ?
If finally got biometryd list-devices to found this module but the following line in the file loader.cpp at the function NonVerifyingLoader::verify_and_load fail :
auto dl = std::make_sharedutil::DynamicLibrary(api, path);

path = "/custom/vendor/biometryd/plugins/libmeizu-fingerprint-reader.so"

with readelf -h we can see for the meizu library the following flags :
Flags: 0x5000402, Version5 EABI, hard-float ABI,
on the old OTA (canonical), is displayed as : "has entry point" :
lie that : Flags: 0x5000402, has entry point, Version5 EABI, hard-float ABI

But the compiled test plugin from biometryd has the following flags :
Flags: 0x5000400, Version5 EABI, hard-float ABI

Is that the possible cause ?

How can we handle it without the source code of the meizu lib for xenial ?

Where can we found the sources code for libmeizu-fingerprint-reader ?

@dobey

This comment has been minimized.

Copy link
Member

@dobey dobey commented Dec 15, 2018

@AlainW94 You cannot find the sources for libmeizu-finterprint-reader.so because it is a proprietary binary. IIRC, it is written in C++ and built against the 15.04 gcc, which is not binary compatible with the gcc in 16.04, hence why the it fails to be loaded by biometryd.

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 16, 2018

@dobey Thanks for your answer, ok then is there a way to ask the company that build it on 15.04 to rebuild it for 16.04 ? I got the following error while biometryd try to load the library : libmeizu-fingerprint-reader.so: undefined symbol: _ZNK8biometry6ReasoncvSsEv, do you know to which lib it goes from ? is there a way to make a wrapper ? or to compile biometryd to make it compatible with old ABI format ?

@BigET

This comment has been minimized.

Copy link
Author

@BigET BigET commented Dec 21, 2018

We can work around it. If I get time next week I will try to do it. This problem with fingerprint prevents me to switch to 16.04. (I mean is really dumb to have the same password for screen unlock and sudo, the fingerprint was a neat way to separate those.)

https://developers.redhat.com/blog/2015/02/05/gcc5-and-the-c11-abi/

So we have 2 attack vectors:

  1. To just compile the application that uses libmeizu-fingerprint-reader.so with legacy ABI just for that interface.

  2. To create a translation layer. a .so that exports upstream the new ABI, but uses the old ABI with thelibmeizu-fingerprint-reader.so

Do we have somewhere the header file for the libmeizu-fingerprint-reader.so ?

@BigET

This comment has been minimized.

Copy link
Author

@BigET BigET commented Dec 26, 2018

I have fix it. And there is no compilation require.
It does require you to install some debs from the 15.04 repo.
here is the list:

biometryd-bin_0.0.1+15.04.20160922.3-0ubuntu1_armhf.deb

gcc-4.9-base_4.9.2-10ubuntu13_armhf.deb

gcc-5-base_5.1~rc1-0ubuntu1.1_armhf.deb

libbiometryd0_0.0.1+15.04.20160922.3-0ubuntu1_armhf.deb

libboost-filesystem1.55.0_1.55.0+dfsg-3ubuntu2_armhf.deb

libboost-iostreams1.55.0_1.55.0+dfsg-3ubuntu2_armhf.deb

libboost-log1.55.0_1.55.0+dfsg-3ubuntu2_armhf.deb

libboost-program-options1.55.0_1.55.0+dfsg-3ubuntu2_armhf.deb

libboost-system1.55.0_1.55.0+dfsg-3ubuntu2_armhf.deb

libboost-thread1.55.0_1.55.0+dfsg-3ubuntu2_armhf.deb

libbz2-1.0_1.0.6-7_armhf.deb

libc6_2.21-0ubuntu4.0.1_armhf.deb

libdbus-1-3_1.8.12-1ubuntu5_armhf.deb

libdbus-cpp4_5.0.0+15.04.20160809-0ubuntu1_armhf.deb

libelf1_0.160-0ubuntu3_armhf.deb

libgcc1_1%3a5.1~rc1-0ubuntu1.1_armhf.deb

libprocess-cpp2_2.0.0+14.10.20140718-0ubuntu3_armhf.deb

libstdc++6_4.9.2-10ubuntu13_armhf.deb

multiarch-support_2.21-0ubuntu4.0.1_armhf.deb

zlib1g_1%3a1.2.8.dfsg-2ubuntu1_armhf.deb

the easiest to do it is to just temporary add the 15.04 repo to apt or you can download them from http://repo.ubports.com/

after installing everything (all but biometryd-bin package are install, biometryd-bin is a downgrade)
reboot and the fingerprint should work. If you have not delete your fingerprints (and you couldn't) after the upgrade your old ones will just work.

Keep in mind that after reboot the first login must be done via pin/passphrase. the latter ones can be fingerprint unlock.

Have fun.
We should just install these packages into the OTA image.

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 26, 2018

Greaaat !! I will take a try at your solution now !

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 26, 2018

@BigET I can't find all packages, how do you find them from apt ? I tried to add the vivid to my source.list but it's not helping me.

shall I add repo.ubports.com to apt ?

Thanks !

@BigET

This comment has been minimized.

Copy link
Author

@BigET BigET commented Dec 27, 2018

@BigET I can't find all packages, how do you find them from apt ? I tried to add the vivid to my source.list but it's not helping me.

shall I add repo.ubports.com to apt ?

Thanks !

first, you should mount the root as read-write:

sudo mount -o remount,rw /

yes you should add a file /etc/apt/sources.list.d/oldVivid with this content:

deb http://old-releases.ubuntu.com/ubuntu/ vivid main restricted
deb http://old-releases.ubuntu.com/ubuntu/ vivid-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ vivid universe
deb http://old-releases.ubuntu.com/ubuntu/ vivid-updates universe
deb http://old-releases.ubuntu.com/ubuntu/ vivid-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ vivid-security universe
deb http://repo.ubports.com/ vivid main

the issue these commands:

sudo apt update
sudo apt-get install libbiometryd0 biometry-bin=0.0.1+15.04.20160922.3-0ubuntu1

This should work.
I have not done it exactly this way.
I have used "aptitude" utility to install exactly those two packages.
So your mileage may vary.

Have fun.

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 27, 2018

Hi @BigET, I tried it but It's saying that the packages are not found :

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libbiometryd0 E: Unable to locate package biometry-bin phablet@ubuntu-phablet:~$

Any idea ? I also installed aptitude and started aptitude install libbiometryd0 biometry-bin=0.0.1+15.04.20160922.3-0ubuntu1

but same result, package not found.

I tried another single package and it was working well :
sudo apt-get install libbz2-1.0=1.0.6-7

There is maybe a missing repo ?

@BigET

This comment has been minimized.

Copy link
Author

@BigET BigET commented Dec 27, 2018

Hi @BigET, I tried it but It's saying that the packages are not found :

Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libbiometryd0 E: Unable to locate package biometry-bin phablet@ubuntu-phablet:~$

Any idea ? I also installed aptitude and started aptitude install libbiometryd0 biometry-bin=0.0.1+15.04.20160922.3-0ubuntu1

but same result, package not found.

I tried another single package and it was working well :
sudo apt-get install libbz2-1.0=1.0.6-7

There is maybe a missing repo ?

well, open your eyes, there is a typo. is biometryd-bin, not biometry-bin.
try install through curses interface.

run 'sudo aptitude' and look for the biometryd-bin package and install the version 0.0.1+15.04.20160922.3-0ubuntu1.

cheers.

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 27, 2018

@BigET Ok but for the typo, my mistake, but it is not the root cause, using aptitude, the only oldest version found is the one from ubports (0.0.2) the search don't return other packages for biometryd-bin.
I think that there is a missing repo, or I am not doing things well (which of course can be the issue). I'm not familiar with aptitude, when using the find function, shall I first select a package list ? Sorry for my dumb questions.

cheers (and thanks!)

@BigET

This comment has been minimized.

Copy link
Author

@BigET BigET commented Dec 27, 2018

@BigET Ok but for the typo, my mistake, but it is not the root cause, using aptitude, the only oldest version found is the one from ubports (0.0.2) the search don't return other packages for biometryd-bin.
I think that there is a missing repo, or I am not doing things well (which of course can be the issue). I'm not familiar with aptitude, when using the find function, shall I first select a package list ? Sorry for my dumb questions.

cheers (and thanks!)

Looks like I have to open my eyes too. I have two more repos. :)

deb http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main
deb http://ppa.launchpad.net/ubports-developers/overlay/ubuntu vivid main

you can also download the debs directly (not advised).

http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/pool/main/b/biometryd/biometryd-bin_0.0.1+15.04.20160922.3-0ubuntu1_armhf.deb

http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/pool/main/b/biometryd/libbiometryd0_0.0.1+15.04.20160922.3-0ubuntu1_armhf.deb

cheers.

@mihaelmilea

This comment has been minimized.

Copy link

@mihaelmilea mihaelmilea commented Dec 27, 2018

Will this come to rc channel next week?

@AndrzejStamburskiTNT

This comment has been minimized.

Copy link

@AndrzejStamburskiTNT AndrzejStamburskiTNT commented Dec 27, 2018

I have installed both packages (libbiometryd0 biometryd-bin=0.0.1+15.04.20160922.3-0ubuntu1) but I still don't have an option in UI to enable fingerprint unlocking. Have I missed something?

@dobey

This comment has been minimized.

Copy link
Member

@dobey dobey commented Dec 27, 2018

Will this come to rc channel next week?

Not likely. Shipping mixed packages like this is not easy, and it seems would cause the image to be too large.

@mihaelmilea

This comment has been minimized.

Copy link

@mihaelmilea mihaelmilea commented Dec 27, 2018

Thank you for your answer! But if I do this procedure, will it be canceled by a system update?

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 27, 2018

I have installed both packages (libbiometryd0 biometryd-bin=0.0.1+15.04.20160922.3-0ubuntu1) but I still don't have an option in UI to enable fingerprint unlocking. Have I missed something?

@AndrzejStamburskiTNT can you even unlock using your finger ?

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 27, 2018

@BigET Ok but for the typo, my mistake, but it is not the root cause, using aptitude, the only oldest version found is the one from ubports (0.0.2) the search don't return other packages for biometryd-bin.
I think that there is a missing repo, or I am not doing things well (which of course can be the issue). I'm not familiar with aptitude, when using the find function, shall I first select a package list ? Sorry for my dumb questions.
cheers (and thanks!)

Looks like I have to open my eyes too. I have two more repos. :)

deb http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main
deb http://ppa.launchpad.net/ubports-developers/overlay/ubuntu vivid main

you can also download the debs directly (not advised).

http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/pool/main/b/biometryd/biometryd-bin_0.0.1+15.04.20160922.3-0ubuntu1_armhf.deb

http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu/pool/main/b/biometryd/libbiometryd0_0.0.1+15.04.20160922.3-0ubuntu1_armhf.deb

cheers.

@BigET I was able to install both package but after restarting and login firt with my code, locking the screen again and trying to unlock ... nothing happens.

biometryd version show me 0.0.1 (good)
biometryd list-devices give me the meizu fingerprint reader module (good)
but biometryd run still giving "Failed to instantiate device", are they other dependency/package to install ?

@AndrzejStamburskiTNT

This comment has been minimized.

Copy link

@AndrzejStamburskiTNT AndrzejStamburskiTNT commented Dec 27, 2018

No, I cannot unlock using my finger. The phone is waiting for a passwd. Some time ago I have switched to pin, then back to passwd, so I guess finger unlock is disabled now on my phone...

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 27, 2018

@AndrzejStamburskiTNT I also puch the 2 package but I'm not able to unlock using fingers, do you install also all dependency cited above by BigET ?

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 28, 2018

I get it to work on my phone, in order to do it simply next time, I have created a script that you can run after an update :

`
#!/bin/bash
mount -o remount,rw /

echo -e "\e[1m\e[92mTemporary add old repos from vivid...\e[0m"
echo "deb http://old-releases.ubuntu.com/ubuntu/ vivid main restricted" > /etc/apt/sources.list.d/oldVivid.list
echo "deb http://old-releases.ubuntu.com/ubuntu/ vivid-updates main restricted" >> /etc/apt/sources.list.d/oldVivid.list
echo "deb http://old-releases.ubuntu.com/ubuntu/ vivid universe" >> /etc/apt/sources.list.d/oldVivid.list
echo "deb http://old-releases.ubuntu.com/ubuntu/ vivid-updates universe" >> /etc/apt/sources.list.d/oldVivid.list
echo "deb http://old-releases.ubuntu.com/ubuntu/ vivid-security main restricted" >> /etc/apt/sources.list.d/oldVivid.list
echo "deb http://old-releases.ubuntu.com/ubuntu/ vivid-security universe" >> /etc/apt/sources.list.d/oldVivid.list
echo "deb http://repo.ubports.com/ vivid main" >> /etc/apt/sources.list.d/oldVivid.list
echo "deb http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid main" >> /etc/apt/sources.list.d/oldVivid.list
echo "deb http://ppa.launchpad.net/ubports-developers/overlay/ubuntu vivid main" >> /etc/apt/sources.list.d/oldVivid.list
echo " "
echo -e "\e[1m\e[92mUpdating ..."
echo -e "\e[0m"
apt update
apt-get update
echo " "
echo -e "\e[1m\e[92mInstalling necessary packages.."
echo -e "\e[0m"
apt-get install debconf=1.5.55ubuntu2 libboost-filesystem1.55.0=1.55.0+dfsg-3ubuntu2 libboost-thread1.55.0=1.55.0+dfsg-3ubuntu2 libboost-iostreams1.55.0=1.55.0+dfsg-3ubuntu2 libboost-log1.55.0=1.55.0+dfsg-3ubuntu2 libboost-program-options1.55.0=1.55.0+dfsg-3ubuntu2 libboost-system1.55.0=1.55.0+dfsg-3ubuntu2 libboost-thread1.55.0=1.55.0+dfsg-3ubuntu2
apt-get -f install
echo " "
echo -e "\e[1m\e[92mInstalling biometryd packages.."
echo -e "\e[0m"
apt-get install libbiometryd0=0.0.1+15.04.20160922.3-0ubuntu1
apt-get install biometryd-bin=0.0.1+15.04.20160922.3-0ubuntu1
apt-mark hold biometryd-bin
echo " "
echo -e "\e[1m\e[92mCleaning up a little...\e[0m"
rm /etc/apt/sources.list.d/oldVivid.list
apt update
echo -e "\e[1m\e[92mNow checking version...\e[0m"
biometryd version
biometryd list-devices
echo " "
echo -e "\e[1m\e[92mNow you should see version 0.0.1 and your meizu::FingerprintReader module above\e[0m"
echo -e "\e[92m Trying to start biometryd run, if you got \e[91mFailed to instantiate device\e[92m, then it's not working"
echo -e "\e[92m but if you don't see anything, press CTRL+C and reboot your phone!\e[39m\e[0m"
biometryd run
mount -o remount,ro /
`

Copy this script into a sh file in your home directory, set it as executable (chmod +x) and run it as su.
If everything is okay, you have to restart your phone, I had to register again my fingerprint in the settings menu.

Hope this will also work on your devices ! let me know if not.

best regards and thanks again to @BigET

@dobey

This comment has been minimized.

Copy link
Member

@dobey dobey commented Dec 28, 2018

Thank you for your answer! But if I do this procedure, will it be canceled by a system update?

It is a possibility that an update will negate any installations made manually, yes.

@BigET

This comment has been minimized.

Copy link
Author

@BigET BigET commented Dec 28, 2018

Thank you for your answer! But if I do this procedure, will it be canceled by a system update?

It is a possibility that an update will negate any installations made manually, yes.

The only package that would get "updated" is biometryd-bin. You can mark it as "Hold" so the update will not mess with it.

libbiometryd0 is a dead end package, the major version number is part of the package name, there will never be a new package with this version unless someone is fixing a security bug, Noone is working on this.

The same goes for all the dependencies. All the libraries have bump the version number and the version number is part of the package name.

cheers to @AlainW94 for peer review the solution and create an automated script for it, maybe add the put on hold thing?

apt-mark hold biometryd-bin

@AndrzejStamburskiTNT

This comment has been minimized.

Copy link

@AndrzejStamburskiTNT AndrzejStamburskiTNT commented Dec 28, 2018

Ha! It works. I missed some dependencies indeed. Thanks for help!

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 28, 2018

cheers to @AlainW94 for peer review the solution and create an automated script for it, maybe add the put on hold thing?

apt-mark hold biometryd-bin

@BigET Done in the script for now. Thanks !

@AndrzejStamburskiTNT : Good news ! ;)

@dobey

This comment has been minimized.

Copy link
Member

@dobey dobey commented Dec 28, 2018

Thank you for your answer! But if I do this procedure, will it be canceled by a system update?

It is a possibility that an update will negate any installations made manually, yes.

The only package that would get "updated" is biometryd-bin. You can mark it as "Hold" so the update will not mess with it.

libbiometryd0 is a dead end package, the major version number is part of the package name, there will never be a new package with this version unless someone is fixing a security bug, Noone is working on this.

The same goes for all the dependencies. All the libraries have bump the version number and the version number is part of the package name.

cheers to @AlainW94 for peer review the solution and create an automated script for it, maybe add the put on hold thing?

apt-mark hold biometryd-bin

No you can't. Updates are not done via apt. An update that results in a full image being installed will overwrite the binaries on disk, and the apt database. using apt-mark to hold packages does not do anything useful on UT, because apt is not used to install updates.

@mihaelmilea

This comment has been minimized.

Copy link

@mihaelmilea mihaelmilea commented Dec 28, 2018

I tried the script and I get these errors with the final reasult that it doesn't work ("Failed to instantiate device"):

`
Err:1 http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85504128ECF1204C

Err:9 http://ppa.launchpad.net/ubports-developers/overlay/ubuntu vivid InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6506B829CB0EE80B
...
E: The repository 'http://ppa.launchpad.net/ci-train-ppa-service/stable-phone-overlay/ubuntu vivid InRelease' is not signed.
...
E: The repository 'http://ppa.launchpad.net/ubports-developers/overlay/ubuntu vivid InRelease' is not signed.
...
E: Unable to locate package libbiometryd0
...
E: Version '0.0.1+15.04.20160922.3-0ubuntu1' for 'biometryd-bin' was not found
`

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 29, 2018

I will take a look

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 29, 2018

@mihaelmilea I edited the script, it was missing a apt-get update.
I tried it on a new installation, it works well like that.

@mihaelmilea

This comment has been minimized.

Copy link

@mihaelmilea mihaelmilea commented Dec 29, 2018

@AlainW94 Oh my gosh, it worked!!! THANK YOU!!!

@AlainW94

This comment has been minimized.

Copy link

@AlainW94 AlainW94 commented Dec 30, 2018

My pleasure and thanks to @BigET again

@rubencarneiro

This comment has been minimized.

Copy link

@rubencarneiro rubencarneiro commented Jul 30, 2019

It make no sense now it never locks. You can swipe and it will unlock the same even with code activated.

@mihaelmilea

This comment has been minimized.

Copy link

@mihaelmilea mihaelmilea commented Jul 31, 2019

@rubencarneiro It works for me: if I swipe the lock screen, the keyboard appears so that I would type the password... Or I can put my finger on the reader and it unlocks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Ubuntu Touch
  
Accepted
8 participants
You can’t perform that action at this time.