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

NFC doesn't turn on (xz3) #158

Open
pagism opened this issue Jul 20, 2021 · 7 comments
Open

NFC doesn't turn on (xz3) #158

pagism opened this issue Jul 20, 2021 · 7 comments

Comments

@pagism
Copy link

pagism commented Jul 20, 2021

from settings nfc can be enabled but it doesn't seem to work, not that can do much in sfos in general.

nfc logs app shows:
2021-07-20 07:21:39.812 Parsing /proc/4421/status
2021-07-20 07:21:39.813 NFC enabled
2021-07-20 07:21:39.813 dbus-neard: Enabled: true
2021-07-20 07:21:39.823 Wrote /var/lib/nfcd/settings
2021-07-20 07:21:54.853 Name ':1.162' timed out
2021-07-20 07:22:09.854 Name ':1.51' timed out

and dmesg
[ 2731.080071] dsi-ctrl:[dsi_ctrl_handle_error_st
atus] tx timeout error: 0x40

@rinigus
Copy link
Contributor

rinigus commented Jul 20, 2021

Haven't checked it out at AOSP10, unfortunately.

In README, NFC support was carried over from earlier versions and it did use to work at some point. Maybe already at later SFOS versions with AOSP9 we somehow lost it - I remember there were reports about it. Never checked it further as not much can be done with NFC on SFOS anyway.

Should drop NFC support from README and restore that if it will be available and shown to be working.

As for figuring out what's wrong - would be good to do so. Just priority is low(ish) due to lack of clear functional advantage.

rinigus added a commit that referenced this issue Jul 20, 2021
@pagism
Copy link
Author

pagism commented Jul 20, 2021

Pity NFC is almost unusable in SFOS, remember when J1 was launched TOH was based on NFC.

In earlier versions of this AOSP9 port NFC used to work, it's a low priority issue anyway, good to be listed tho.

@ApostolosB
Copy link

On AOSP9 -at some point at least- when i was putting my debit card near the phone it used to vibrate. After some point it stopped but have no idea if it was something that changed in SFOS or AOSP. Same behavior with AOSP10. Doesn't seem to work.

AFAI understand there is only one app that uses NFC on SFOS?

@teleshoes
Copy link

teleshoes commented Jan 16, 2022

NFC is still not working on my XZ2c. unsurprising if not in AOSP10, of course, but figured id check anyway

Pity NFC is almost unusable in SFOS

what do you mean? i use NFC daily on Xperia X Compact.
(maybe you mean that only a handful of native apps use it? i actually have no idea what other people use NFC on their phones for, aside from 2FA)

it's a low priority issue anyway

:'( personally, its my last issue stopping me switching to XZ2c as my daily driver

@rinigus
Copy link
Contributor

rinigus commented Jan 16, 2022

I don't know if NFC works on AOSP10 itself. I hope it does, but someone needs to establish it. @teleshoes - want to test it?

If it does work on AOSP10 then it is a matter of checking out whether we are missing something in SFOS side. Would be good to start and check if any AOSP10-based SFOS port has NFC working. But that would make sense after we know about AOSP10 itself

@teleshoes
Copy link

@rinigus i tried to flash this:

aosp-10.0-20200818_aosp_h8314.zip
https://androidfilehost.com/?w=files&flid=299805

and i got:

> fastboot flash system_a system.img
Invalid sparse file format at header magic
Sending sparse 'system_a' 1/2 (768005 KB)          OKAY [ 23.230s]
Writing 'system_a'                                 OKAY [  0.001s]
Sending sparse 'system_a' 2/2 (470299 KB)          FAILED (remote: 'Error: Last flash failed : Volume Full')
fastboot: error: Command failed

is there another image i can use? or am i supposed to resize partitions or something after flashing SFOS?
(ive never used or flashed android before, only maemo/meego/sfos)

@rinigus
Copy link
Contributor

rinigus commented Jan 18, 2022

Sorry, I am not up to date with those images. In principle, you can build one using AOSP guides. Otherwise it could be difficult to find AOSP10 image these days.

You could also ask at corresponding thread. Maybe image is buggy? Or download failed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants