<Wizzup>
heh, I did insmod uart.ko from android and it kicked me out of adb shell (over usb)
<Wizzup>
... obviously
<uvos>
yeah
<uvos>
you need to write a script that dose everything in one go
<mighty17[m]>
im trying to hack it into pmos, ie only this mesa instead of the one that pmos has
<uvos>
(and dosent get killed when the shell dies)
<mighty17[m]>
uvos: i may be wrong but if i just build it in pmos (and use jonathan bakker's other stuff ie ddk1.17) it should work right? plus i'd be doing it on a live device :P
<uvos>
mighty17[m]: right but pmos has this thing int its repos this is just jonathan bakkers mesa packaged for maemo leste
<Wizzup>
uvos: what do you mean, doesn't get killed when the shell dies?
<uvos>
Wizzup: if you have a script running and adb disconnects the shell dies and the script exits
<uvos>
you need to deamonize it is what i was saying
<mighty17[m]>
exactly, pmos has his mesa in the repos, but i will remove that mesa and use yours instead
<Wizzup>
uvos: so 'nohup'
<uvos>
Wizzup: right
<uvos>
mighty17[m]: jonathan bakkers mesa is what pmos uses by default
<uvos>
there is no reason for you to use that repo
<uvos>
you might want to use the pvr+pvr setup if chomeos/jonathan bakker mesa pvr setup is giveing you trouble
<bencoh>
but I think you can just mount -o rw rootfs /
<uvos>
i mean it works on bionic
<bencoh>
or something similar
<Wizzup>
uvos: what is that init=/preinit.sh
<uvos>
in logwrapper?
<Wizzup>
in your script
<uvos>
oh in the cmdline
<uvos>
thats just kexecboot
<Wizzup>
k
<uvos>
its a script that determines some stuff about the device and then starts kexecboot proper?
<uvos>
s/?/.
pere has quit [Ping timeout: 255 seconds]
<Wizzup>
well at least on serial I can 'see' that safestrap manages to kexec to 3.x ok
<Wizzup>
it's such a weird feeling to have a device where you can't just tell it what to boot, and that you have to jump through all these hoops
<uvos>
the sad reality of most consumer devices....
<uvos>
yeah locked bootloaders suck
DPA has quit [Ping timeout: 268 seconds]
DPA has joined #maemo-leste
<Wizzup>
going to take a break from this stuff again for a bit
<uvos>
Motorola 1:0 Wizzup
<Wizzup>
:-p
<Wizzup>
it helps for me to take a break every few hours to think about what makes sense otherwise I just keep trying things that don't work
<bencoh>
:)
pere has joined #maemo-leste
rafael2k has joined #maemo-leste
rafael2k has quit [Ping timeout: 245 seconds]
rafael2k has joined #maemo-leste
DPA has quit [Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in]
DPA has joined #maemo-leste
rafael2k has quit [Ping timeout: 246 seconds]
diejuse has joined #maemo-leste
Twiggy3 has joined #maemo-leste
Twiggy has quit [Ping timeout: 265 seconds]
Twiggy3 has quit [Ping timeout: 255 seconds]
uvos has quit [Ping timeout: 255 seconds]
inky has quit [Ping timeout: 252 seconds]
inky has joined #maemo-leste
L29Ah has quit [Quit: Gateway shutdown]
uvos has joined #maemo-leste
L29Ah has joined #maemo-leste
Pali has joined #maemo-leste
diejuse has quit [Quit: Leaving.]
diejuse has joined #maemo-leste
xmn has joined #maemo-leste
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 252 seconds]
diejuse has quit [Quit: Leaving.]
alex1216 has joined #maemo-leste
<alex1216>
Hello everyone. Have obtained a N900 with a hope of putting Leste/pmOS onto it and using it with usual (up-to-date) apps (don't care about surfing the modern Web full of HTML5 etc.). But, of course, felt more comfortable with Fremantle+CSSU as it has all the h/w support while I was able to barely boot modern distributions (I can guess why, but for now it's an another question because now I haven't a
<alex1216>
spare μSD to just DD over it). TBH, from the very begining my plan was to bring Fremantle drivers to Leste (and stick with "power user kernel" for Fremantle), to somehow update userspace of Fremantle further than CSSU using Leste's resources or to run Leste/pmOS userland in an chroot. Are these ideas are "new", or there are already some developments in this way which I can learn about?
<uvos>
alex1216: not impossible but you will run into loooots of issues
<uvos>
alex1216: like for starters modern glibc dosent even support kernels that old
<Wizzup>
alex1216: there is little reason to use old fremantle kernel
<Wizzup>
n900 kernel is in really good shape, the userspace is what needs more work
<uvos>
needing 3.2 at least
<Wizzup>
but yeah, running old userspace in chroot wont work since kernel interfaces are different
<alex1216>
I'd meant running new userspace in a Fremantle's chroot.
<Wizzup>
bbiab
<uvos>
alex1216: right as i said almost impossible due to modern software requirent more modern kernels
<alex1216>
Actually, my main "bottleneck" for now is lack of TLS1.2, so even a proxy-only chroot would be enough.
<alex1216>
...So, what are other major issues?
<alex1216>
And what can be done about h/w support without downgrading the kernel?
<uvos>
all hardware, except the cameras (and even those can be patched to work), are supported by recent (ish) kernels on n900
<uvos>
the kernel is not the problem
<uvos>
idk what issues more major than "all these apps use kernel interfaces that dont exist on 2.6.x" you are expecting
<uvos>
its pretty damning
<uvos>
i mean you could get some stuff runing by using musl chroot and selecting applications judicially
<alex1216>
Simply speaking, I'm trying to combine full hardware support and up-to-date applications... :)
<uvos>
you allso run into the issue that n900 really dosent have any resources to spare for sutch an endeavour...
<uvos>
alex1216: well if "full hardware support" means fremantle to you then prepare to be disapointed or at least reduce your expectaions to the occasional app running in chroot
<alex1216>
Well, I take many photos every day (including, for example, college timetable patches) and get to the college by the subway, so to use N900 as a daily driver, I need both camera support and a modern browser which can barely handle TLS1.2 and modern JS to sign in to subway's hotspot)...
<uvos>
really if you want to run linux apps on a phone that otherwise works and is usable as a daly driver
<uvos>
a chroot on a mondern android phone is a much better idea
<alex1216>
uvos: It is an option too. Is it a good idea to port Leste userland to some Android container agregator (like Linux Deploy)?
<uvos>
someone has done that
<alex1216>
oh, really?
<uvos>
yeah
<uvos>
i forget his name
<uvos>
its not something we support
<uvos>
but its possible
<uvos>
but really the only good long term soultion is helping us
<uvos>
finish leste
inky has joined #maemo-leste
<uvos>
so its usable as a daly driver
<uvos>
the droid 4 is pretty close
<alex1216>
Yeah, I noticed it, but it appeared that N900 is easier to find at Russian aftermarket, and I also thought that the N900 is more hackable as it had made GNU/Linux in-mind. :)
<uvos>
at this point the n900 is just old(er)
<alex1216>
Of course, the Droid 4 was also more attractable as it appeared to be more powerful, but not hack-friendly.
<uvos>
not sure what hack-frendly means in this context they both run mainline linux (pinephone too) aprox equally well, with the d4 being maybe in slightly better shape.
<uvos>
anyhow the pont is moot you have a n900.
<sicelo>
alex1216: "need both camera support and a modern browser which can barely handle TLS1.2 and modern JS to sign in to subway's hotspot" ---> Fremantle easy debian chroot, using the last/latest Jessie image, and install Midori
<uvos>
idk if a javascript browser running on jessie is a good idea
<uvos>
thats asking for it on public wifi
<uvos>
id would try compiling something more modern against musl
<uvos>
just a minimal buildroot
<uvos>
and midory or browser of choice on that
<alex1216>
sicelo: 1) Can it run Fennec too? 2) Are there still images somewhere on the Net?
<sicelo>
fennec has the TLS1.2 issues you want to get around
<uvos>
no way in hell the n900 ever gona run modern fennec
<uvos>
sicelo: i assume he means current fennec in chroot
<alex1216>
Of course, I mean the last Fennec from Fremantle repos. :)
<uvos>
then what sicelo says applies
<alex1216>
Okay, lemme check something.
<sicelo>
alex1216: maybe discuss Fremantle issues in #maemo, not here :)
<alex1216>
sicelo: joining now
mardy has quit [Quit: WeeChat 2.8]
<alex1216>
Thanks everyone. It's very good that there are developments going on to make mobile GNU/Linux great again. Because GNU/Linux is more lightweight than Android, and GNU/Linux feels really good at the desktop...
<alex1216>
uvos: ...But the truth is that GNU/Linux feels good at mobiles too, but as devices like N900 or pinephone are harder to obtain and either difficult to bring up all the h/w, IMHO it would be a good idea to finish the userland to be able to run it in an Android'chroot at least. :)
<uvos>
alex1216: sure we could use your help with that
<uvos>
but no chroot in android is not a real solution imo
<uvos>
proting real linux to android devices is imo the way forward long term
<uvos>
at least until/ if we get some traction
<uvos>
i would recommend any of the "main" or "Community" pmos devices or a droid4/ droid bionic if you want to mess around.
<alex1216>
uvos: Hope the answer is yes. Despite I'm definitely going to work on this, I'm also going to graduate next year, so it can be uneasy, and then things can get either hard because it's Russia.
<uvos>
alex1216: if you want and can help us im sure Wizzup would be happy to give you a device
<alex1216>
uvos: I certainly do, but also I want to get a good job and need to work on some medical documentation in order not to run into mandatory military service. :)
<uvos>
ok
<uvos>
thats life :|
<alex1216>
And now I'm unsure a bit as participating in WSR this year has made me barely finish the course paper and reach end of the term with a line of As...
<alex1216>
Nevermind, hope for the best. Good night (it's 1am herre).
<alex1216>
here*
alex1216 has quit [Quit: checking if logs are at the place]