saidinesh5 | i think .. #define PERSISTENT_PROPERTY_DIR "/data/property" .. could have been causing sfdroid to actually look at that path, which is probably missing in my chrooted environment causing the properties to reset.. | 00:59 |
---|---|---|
saidinesh5 | and nuke the properties in my /data outside the chroot... | 00:59 |
saidinesh5 | so next step: ditch the neutered init, and patch the init and bionic to create a /data/sfdroid_property instead and use it | 01:00 |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-nauxdpvcadyxxzdt> has joined #sfdroid | 03:00 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-nauxdpvcadyxxzdt> has quit IRC (Quit: Connection closed for inactivity) | 05:19 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-hlphcpbrwikztqlb> has joined #sfdroid | 06:15 | |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has joined #sfdroid | 07:30 | |
nh1402 | saidinesh5: so you're back on it then? | 07:31 |
TheKit | saidinesh5, if you want to prevent SFOS/sfdroid messing with your real data partition, you can disable data partition bind mount to /data in init script | 07:42 |
saidinesh5 | nh1402: yeah on and off... | 07:43 |
TheKit | https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L150 | 07:43 |
saidinesh5 | TheKit: oh you meant in the initrd? interesting | 07:44 |
saidinesh5 | TheKit: wouldnt that cause issues with dhi mounting sdcard from data/media? | 07:46 |
TheKit | it would | 07:49 |
saidinesh5 | lol | 07:50 |
saidinesh5 | not to mention that could still wreck persist and other partitions mounted by systemd and used by dhi... | 07:51 |
saidinesh5 | (i am currently not sure what exactly is nuking the permissions etc.. in my /data, when i start sfdroid's init) | 07:52 |
saidinesh5 | (sfdroid's neutered init) | 07:52 |
saidinesh5 | i think only /data is getting messed up when i start sfdroid-init atm. though. Although, after that I always get Settings app crashed upon booting CyanogenMod, (settings app works after that) | 07:54 |
nh1402 | saidinesh5: which way are you going to go then? | 08:07 |
*** NeKit <NeKit!~nekit@85.143.20.2> has joined #sfdroid | 09:54 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-hlphcpbrwikztqlb> has quit IRC (Quit: Connection closed for inactivity) | 10:19 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-124.play-internet.pl> has joined #sfdroid | 10:42 | |
*** NeKit <NeKit!~nekit@85.143.20.2> has quit IRC (Ping timeout: 240 seconds) | 11:31 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-hiabanlozdszyygg> has joined #sfdroid | 12:31 | |
saidinesh5 | nh1402: do it properly and actually provide a property service with a different store for the chrooted android, which doesn't conflict with the version from dhi | 12:33 |
nh1402 | saidinesh5: how's that going for you? | 13:57 |
saidinesh5 | after the disaster of last week, getting back to things. swamped with a couple of projects all at once though | 13:58 |
saidinesh5 | sup? | 13:58 |
nh1402 | I'll be getting back to the integration app development soon, got someone to agree to test it for me, since I can't do it myself. | 14:02 |
*** NeKit <NeKit!~nekit@178.45.149.62> has joined #sfdroid | 14:18 | |
nh1402 | saidinesh5: would this be right? "ln -s /sdcard /home/nemo" | 14:26 |
saidinesh5 | nh1402: nope. you will have a race condition with droid hal init/whatever that mounts /sdcard vs. all the services needing stuff from home partition | 14:27 |
nh1402 | saidinesh5: so how would you do it? | 14:28 |
saidinesh5 | for one, what's stopping you from making your service a part of /system/priv-app? | 14:29 |
saidinesh5 | you have control over sfdroid /it's installation no? | 14:29 |
saidinesh5 | if that's there, then you can easily write to any path.. be it /home or even /usr ... | 14:30 |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-124.play-internet.pl> has quit IRC (Ping timeout: 240 seconds) | 14:55 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-241.play-internet.pl> has joined #sfdroid | 15:01 | |
nh1402 | saidinesh5: it'll be /system/priv-app eventually when it comes to replacing systemui | 15:16 |
nh1402 | saidinesh5: you're the one who said to do it this way, and now you're the one who's dismissing it | 15:17 |
*** nh1402 <nh1402!~nh1402@host81-133-137-69.in-addr.btopenworld.com> has quit IRC (Quit: Leaving) | 15:30 | |
saidinesh5 | nh1402 i think sdcard is a special path and needs to be configured some other way | 16:01 |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-241.play-internet.pl> has quit IRC (Ping timeout: 246 seconds) | 16:36 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-166.play-internet.pl> has joined #sfdroid | 16:46 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-164-166.play-internet.pl> has quit IRC (Quit: Konversation terminated!) | 17:03 | |
nh1402[m] | Hmm | 17:07 |
nh1402[m] | what if we fiddle init.environ.rc | 17:07 |
nh1402[m] | saidinesh5: ^ | 17:08 |
saidinesh5 | nh1402[m]: you have to fiddle with some init thing. not sure which one.. if you want to mount sdcard arbitrarily | 17:08 |
saidinesh5 | there is a biary called sdcard too | 17:08 |
nh1402[m] | "export EXTERNAL_STORAGE /sdcard" | 17:09 |
nh1402[m] | Is there? | 17:09 |
nh1402[m] | I'm blaming you entirely for this issue | 17:09 |
saidinesh5 | brb eating | 17:16 |
*** sernick <sernick!~sernick@91.214.36.19> has joined #sfdroid | 18:49 | |
nh1402[m] | saidinesh5: how was your daal? | 19:31 |
saidinesh5 | That was the only good part of the dinner today.. | 19:32 |
saidinesh5 | http://newandroidbook.com/ | 19:32 |
saidinesh5 | Need to read that soon btw | 19:33 |
nh1402[m] | That is indeed a valid URL | 19:33 |
saidinesh5 | Yeah they're giving the old one for free now | 19:33 |
saidinesh5 | Very valuable book it seems | 19:33 |
nh1402[m] | I was about to say the site only shows brief excerpts from the book, but yh due to a leak an old version is now free | 19:36 |
saidinesh5 | Yup | 19:36 |
nh1402[m] | We could make an AOSP marshmallow chroot rom and use the book too see what to change. | 19:37 |
saidinesh5 | Not sure, sticking to android L for now. Otherwise I'll have to patch my kernel more .. | 19:38 |
saidinesh5 | Btw overlayfs was quite nice | 19:38 |
*** sernik <sernik!~sernick@91.214.36.19> has joined #sfdroid | 19:38 | |
*** sernik <sernik!~sernick@91.214.36.19> has quit IRC (Client Quit) | 19:39 | |
saidinesh5 | Was able to use the unpatched files from my system position... | 19:39 |
nh1402[m] | What's that | 19:39 |
*** sernick <sernick!~sernick@91.214.36.19> has quit IRC (Read error: Connection reset by peer) | 19:39 | |
saidinesh5 | You can merge 2 folders and Mount it somewhere else | 19:39 |
saidinesh5 | So i copy patched sfdroid files and overlay it over my system partition to get a full chrooted system partition | 19:40 |
nh1402[m] | Merging the system partition of android and sailfish so android uses the sailfish stuff? | 19:43 |
saidinesh5 | More like copy only patched sfdroid files to device and reuse every other file from the cyanogen mod base on the system, inside the chroot | 19:46 |
saidinesh5 | https://github.com/adilinden/overlayfs-patches/blob/master/README | 19:48 |
dr_gogeta86 | saidinesh5, play with the snakes? | 20:16 |
dr_gogeta86 | remember we usualy use frankenkernels and old ones | 20:16 |
saidinesh5 | dr_gogeta86: but there are a bunch of kernel changes between 5.1 and 6 right? | 20:20 |
dr_gogeta86 | is hw adaptation depentant | 20:21 |
saidinesh5 | yeah, of course.. But i can't boot my stock cm13 rom off a cm12 | 20:22 |
saidinesh5 | Kernel | 20:22 |
saidinesh5 | And since my sailfish is based on cm12 | 20:23 |
saidinesh5 | I don't think i should try running sfdroid based on cm13 inside chroot | 20:24 |
nh1402[m] | Nonsense | 20:57 |
*** NeKit <NeKit!~nekit@178.45.149.62> has quit IRC (Ping timeout: 240 seconds) | 21:22 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-hiabanlozdszyygg> has quit IRC (Quit: Connection closed for inactivity) | 21:49 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!