T42 | <Gordon %lastname%> (Photo, 1178x620) https://irc.thaodan.de/.imgstore/0OCAQJFDZ1.png Patato土豆群活粉 、非小号Mytoken关注, twitter/facebook/potato/Linkedin/微博/YouTube/增粉评论转发点赞、6万优质电报微信群群发炸群广告、批量私聊电报指定群成员、国内外KYC认证材料出售、电报群/微信群增粉拉人 、交易所APP实名注册认证 、专业中英文客服 、水军群活跃聊天 、交易所实 | 03:28 |
---|---|---|
*** Oksana_ is now known as Oksana | 12:09 | |
lanodan | Anyone tried to get NFC working on the OnePlus One? I just realised it wasn't ported few days ago while it definitely has NFC (used it few times on Android). | 12:55 |
lanodan | Also looks like the Telegram bridge forgot WTF is Unicode? | 12:55 |
lanodan | Or maybe just the usual broken-encoding linked to SPAM® | 12:56 |
T42 | R %lastname% was added by: R %lastname% | 16:07 |
KALUBE | I'm stuck on building with OBS kickstart file: Unable to find pattern: Jolla Configuration enchilada | 16:34 |
mal | did you generate patterns using the process patterns command mentioned in hadk pdf | 16:44 |
KALUBE | mal: I changed to using metapackages, image built and works :D | 17:28 |
KALUBE | Can I get a testing project on OBS for enchilada? I have also built an image for the OnePlus 6T which has been tested as working so it would be good to get an OBS testing project for Fajita too | 17:31 |
r0kk3rz | lanodan: afaik you need to have a really new adaptation base to use that nfc middleware | 22:06 |
r0kk3rz | like android 8+ | 22:07 |
lanodan | Ouch, well at least OnePlus probably updated it to Android 8+ but I guess it's going to be too much of a mess for just NFC. | 22:08 |
piggz | mal: for the Pro1, we are running another fork of nemo-qml-plugin-systemsettings, similar to rinigus but with a different expression to filter the internal partitions | 22:22 |
mal | piggz: like I said it should made configurable somehow | 22:23 |
piggz | mal: i could make a version that read an env variable, not sure how ideal that would be | 22:24 |
mal | r0kk3rz: depends on the chip | 22:24 |
mal | r0kk3rz: https://github.com/mer-hybris/nfcd-pn54x-plugin | 22:24 |
piggz | infact, i kinda have that already, just not tested | 22:24 |
mal | lanodan: check the link above, you need to check what nfc chip the device has | 22:25 |
mal | piggz: give a link to the code so I can have a look tomorrow | 22:25 |
piggz | mal: https://git.sailfishos.org/piggz/nemo-qml-plugin-systemsettings/commit/32b45729c182318fa598929b0e115a0246133ecf | 22:26 |
piggz | i will test it when i get my pro1 rebuilt | 22:26 |
r0kk3rz | mal: interesting, i might have to check what scorpion has | 22:27 |
r0kk3rz | mal: so if i have one of these - PN547C2 - i dont need binder to use nfc? | 22:30 |
mal | r0kk3rz: if that chip is supported then no | 22:31 |
r0kk3rz | i'll have to try it out | 22:31 |
mal | r0kk3rz: I didn't check which chips that supports | 22:31 |
mal | not sure if all pn54x | 22:31 |
mal | could be | 22:31 |
r0kk3rz | worth a try i think | 22:32 |
lanodan | Well it has a /dev/pn544 | 22:32 |
mal | lanodan: maybe you can try that | 22:33 |
mal | r0kk3rz: at least readme has example of pn547, https://github.com/mer-hybris/nfcd-pn54x-plugin/blob/master/README | 22:34 |
r0kk3rz | so it does | 22:34 |
mal | also has a note about 64-bit vs 32-bit | 22:34 |
r0kk3rz | mines not a 64bit device, so i should be ok | 22:35 |
mal | r0kk3rz: https://github.com/mer-hybris/android_kernel_sony_msm/commit/69ce5c975fbed7c11da6328b5bd3ac563351ab2a | 22:35 |
mal | r0kk3rz: ok | 22:35 |
mal | lanodan: is your device 64-bit? | 22:36 |
r0kk3rz | oneplus one, definitely not | 22:36 |
mal | ah | 22:36 |
mal | I was too lazy to check logs what it was | 22:36 |
T42 | <edp_17> Hi guys! Can somebody help me with the TWRP recovery and SailfishOS kernel, please? | 22:37 |
mal | what is the problem with it? | 22:40 |
T42 | <edp_17> This is still my galaxy S2 (i9100) port. | 22:40 |
T42 | <edp_17> So on the device I couldn't use the hybris-boot.img, because the phone didn't boot with that. | 22:41 |
lanodan | Where can libnci be found? (building it directly on the device btw) | 22:41 |
T42 | <edp_17> I needed to flash the file called kernel into the KERNEL partition. But this way I have lost the TWRP. | 22:42 |
lanodan | Maybe you can boot into flashboot mode and flash twrp.img from there? | 22:43 |
T42 | <edp_17> Now, the device boots into sailfish but I cannot boot into TWRP to make backup or restore. Or if I re-flash the TWRP that overwrites the sailfish kernel and I cannot boot into sailfish anymore until I flash the kernel again. | 22:43 |
lanodan | Sounds weird… like you do not have a recovery partition and mode? | 22:44 |
T42 | <edp_17> @lanodan: Yeah, this is what I am doing but it would be more convenient if I can combine the sailfish kernel with the TWRP and I can boot into TWRP or sailfish without flashing images with my PC. | 22:44 |
T42 | <edp_17> Just like how it worked on the hammerhead or the galaxy s7. | 22:45 |
mal | lanodan: there are two nci repos here https://github.com/mer-hybris?utf8=%E2%9C%93&q=libnci&type=&language= | 22:45 |
mal | @edp_17 I have a devide which has recovery in sailfish kernel | 22:46 |
T42 | <edp_17> @mal: What's that device? | 22:46 |
mal | xperia pro | 22:47 |
mal | I had to hack a bit | 22:47 |
T42 | <edp_17> How did you do that? | 22:47 |
T42 | <edp_17> On the hammerhead it just worked. (Though the hammerhead was able to use the hybris-boot.img.) | 22:48 |
mal | I just added the recovery to init ramdisk and then modified the first script in there to detect based on button presses which one to boot, recovery or sailfish | 22:48 |
mal | so I had both the sfos init script and another simpler init script for the selection before it | 22:48 |
T42 | <edp_17> At the level this sounds a bit difficult for me. 😳 | 22:49 |
T42 | <edp_17> Plus, the recover I have has another kernel (isorec) embedded and even if I unpack the tar file there is only one file in there. So the android kernel and the twrp is in one file. | 22:50 |
mal | ok | 22:50 |
mal | I did manage to use sfos kernel with recovery xperia pro | 22:51 |
mal | I need to find the scripts that I used to make that | 22:51 |
T42 | <edp_17> I think the biggest problem is me. As I am very unfamiliar with that. | 22:51 |
T42 | <edp_17> Thank you for helping me out. | 22:51 |
T42 | <edp_17> Now I have managed to create a backup but this is a very clunky way and I need a PC involved. (With PC I flashed the twrp, booted into it then I did a backup and then with PC I flashed the sailfish kernel again.) | 22:53 |
mal | back when I did that I had no idea how init script or anything really worked but still managed to do it | 22:53 |
T42 | <edp_17> Okay, so maybe I can do that too. 😄 | 22:54 |
T42 | <edp_17> What I am trying to do now is putting back the stock partitions. Before Sailfish I have used Android 8.1 (Oreo) on my S2 but needed to re-partition to be able to install it. This means now the data and system partitions are too large and do not have much left for my own data in sailfish. So I am trying to revert back to the stock parti | 23:00 |
T42 | tions but for a reason the device doesn't let me to flash that pit file. | 23:00 |
lanodan | Looks like it sort of works in `nfcDemoApp poll` \o/ but doesn't into NFCLogger application… | 23:03 |
T42 | <edp_17> Interesting. When I try to put back the original partitions, it says invalid partition configuration for 'system': system=0.5G However the stock system partition size is 0.5G. Hmm. | 23:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!