00:00
<
samueldr >
and even with the unreleased tools, they may require an intrusive hardware manipulation to use :/
00:00
<
craige >
Android is not fun.
00:00
<
samueldr >
that's not android per se here
00:00
<
samueldr >
it's more about qualcomm's (and the usual) way android has been integrated
00:00
<
samueldr >
apparently with shiny new devices it's less of an issue
00:01
<
samueldr >
while they share the same emmc, they have reportedly been hardware partitioned in separate devices
00:01
<
samueldr >
so you probably (please don't) can nuke the block device with the system and userdata
00:02
<
samueldr >
and to be fair, it's part of their security layering
00:02
<
samueldr >
simply not the best way to do it imo
00:03
<
samueldr >
(the fact that you can't simply upload a program to the phone without having the aboot bootloader in fastboot mode
00:18
wildtrees has quit [Quit: Leaving]
00:18
ris has quit [Ping timeout: 240 seconds]
00:18
<
kunstruktur >
samueldr: it worked!
00:19
<
kunstruktur >
just had to add waitDevice /sys/class/net/eth0 with lib.mkBefore to preLVMCommands
00:19
<
kunstruktur >
and set up the nfs mount in fileSystems
00:20
<
kunstruktur >
and it worked without having to modify anything else
00:20
<
kunstruktur >
nixos is seriously awesome
00:21
<
kunstruktur >
now it dies with task systemd-journal blocked for more than 120 seconds
00:22
<
kunstruktur >
but i'll debug that later ... gotta sleep
00:22
kunstruktur is now known as kunstruktur`afk
00:32
ryantrinkle has joined #nixos-aarch64
05:13
SaboteurCZ has joined #nixos-aarch64
05:42
zupo has joined #nixos-aarch64
05:44
zupo has quit [Client Quit]
05:45
zupo has joined #nixos-aarch64
05:45
zupo has quit [Client Quit]
06:12
zupo has joined #nixos-aarch64
06:21
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:00
orivej has quit [Ping timeout: 245 seconds]
07:30
<
Ashy >
lopsided98: i'm trying to adapt your rockpro64 config into an sd-image-aarch64-rockpro64.nix in my nixpkgs fork to try to build a bootable installer image for the rockpro64
07:44
zupo has joined #nixos-aarch64
07:48
zupo has quit [Client Quit]
07:51
zupo has joined #nixos-aarch64
08:03
marek has quit [Ping timeout: 276 seconds]
08:04
marek has joined #nixos-aarch64
08:44
<
Ashy >
lopsided98: ah right, found it in your nixpkgs master-custom branch
10:09
SaboteurCZ has quit [Remote host closed the connection]
10:21
SaboteurCZ has joined #nixos-aarch64
10:27
orivej has joined #nixos-aarch64
10:28
<
Ashy >
if this works and actually boots i'll draft up some notes for the nixos.wiki page
10:47
<
Ashy >
ah kernel compile is failing because of zfs, can i exclude zfs support when building an sd-image?
11:02
orivej has quit [Ping timeout: 268 seconds]
11:07
SaboteurCZ has quit [Remote host closed the connection]
11:22
<
Ashy >
ok trying again with boot.zfs.enableUnstable=true;
11:26
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:59
zupo has joined #nixos-aarch64
12:01
zupo has quit [Client Quit]
12:28
zupo has joined #nixos-aarch64
13:14
roho has joined #nixos-aarch64
13:16
<
roho >
Is it possible to debug aarch64 build on x86_64 machine? Perhaps with qemu.
14:02
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:14
zupo has joined #nixos-aarch64
14:52
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:07
ryantrinkle has quit [Ping timeout: 240 seconds]
15:38
ryantrinkle has joined #nixos-aarch64
16:09
v0|d has quit [Ping timeout: 240 seconds]
16:55
<
samueldr >
I had that simmering for a few days and it was hard not to live update you all with "it's almost working" all the time
16:58
<
MichaelEden[m] >
Woohoo! 🎉🎉
17:02
wildtrees has joined #nixos-aarch64
17:04
<
MichaelEden[m] >
As someone who doesn't do a lot of kernel or Android hacking this is magic
17:09
<
sphalerite >
samueldr: the youtube embed doesn't display for me
17:09
<
samueldr >
sphalerite: weird
17:09
<
sphalerite >
says the console
17:10
<
samueldr >
there's still http:// stuff in the source from the time way back when I created the thing :/
17:10
<
samueldr >
before let's encrypt
17:11
<
tilpner >
samueldr: You could probably pipeline the download of the built image and the dd
17:11
<
samueldr >
tilpner: likely
17:11
<
samueldr >
but I want it locally :)
17:11
<
samueldr >
if/when I need to re-flash it I don't want to re-download it in addition
17:12
<
samueldr >
and I don't know how dd acts if it gets to the end of still-downloading image if I dd it to file, then the file to device
17:12
<
samueldr >
every time I was writing the image it was "likely the last time" I was
17:12
<
samueldr >
except it wasn't :)
17:12
<
sphalerite >
tee ftw :p
17:13
<
sphalerite >
and dd will behave sensibly and wait for the rest of the data if it's incomplete
17:14
<
samueldr >
yeah, I know when it's from a pipe, but don't know about to file, then that file to device
17:14
<
samueldr >
sphalerite: should be updated to https
17:14
<
sphalerite >
samueldr: for firefox, set the env var MOZ_USE_XINPUT2=1 for touch scrolling
17:15
<
samueldr >
sphalerite: I know
17:15
<
samueldr >
I use it on my desktops
17:15
<
samueldr >
I didn't care to rebuild at that time
17:15
<
sphalerite >
anyway, very exciting!!
17:15
<
samueldr >
and it was the third time I re-recorded the thing
17:15
<
sphalerite >
ha, fair enough :D
17:16
<
samueldr >
and the achievement is not in making it usable, but making it work at all :3
17:16
<
samueldr >
it's likely that your xiaomi-tissot will work if you get the kernel going
17:19
<
samueldr >
there shouldn't be much z00t-specifics
17:19
<
samueldr >
though I still don't have another aarch64 android device to test with :)
17:19
<
samueldr >
working*
17:19
<
samueldr >
hmm, I think I'll be looking at the other aarch64 device I have now
17:48
<
sphalerite >
samueldr++ great blog post, and I like the quality of the video
17:48
<
{^_^} >
samueldr's karma got increased to 117
17:49
<
samueldr >
sphalerite: quality how?
17:49
<
samueldr >
for clarity I used a tripod, and you can clearly see a cheap ring light
17:49
<
samueldr >
and I used opencamera on android (can't dogfood mobile-nixos for vids yet)
17:49
<
samueldr >
opencamera was configured to lock exposure, white balance and focus
17:50
<
samueldr >
that's why there's no focus searching or up and down of brightness and such
17:50
<
sphalerite >
well mostly just that you did that stuff, plus no desk vibration or anything
17:50
<
samueldr >
(except me reducing the brightness of the LED)
17:50
<
samueldr >
well, I did bump the stand a couple times :)
17:51
<
samueldr >
I knew I wanted to record that kind of stuff a while back, so I got a cheap tripod and ring light, it helps
18:00
ris has joined #nixos-aarch64
18:09
orivej has joined #nixos-aarch64
18:16
zupo has joined #nixos-aarch64
18:51
<
t184256 >
samueldr++ I did boot Linux on an unsupported WinMo device ages ago, and I think it's very impressive that you booted it blind
18:51
<
{^_^} >
samueldr's karma got increased to 118
18:52
<
t184256 >
It's like I know it's doable, but dang
18:55
<
samueldr >
t184256: wasn't exactly blind, but figuring out the actual issue was harder than expected
18:55
<
samueldr >
the issue is not exaclyt not seeing, but not being able to
*interact*
18:55
<
samueldr >
so all testing at that point was done through a full rebuild :/
18:55
<
samueldr >
I'm sure there are multiple things I could have done
18:55
<
samueldr >
especially thinking it back
18:56
<
samueldr >
I could have made the boot.img dump a script to the root that the stage-2 would blindly execute
18:56
<
samueldr >
so I would only have had to rebuild the boot.img which is trivially done locally
18:56
<
samueldr >
I could have also used the sd card on that specific device
18:57
<
samueldr >
but I was a bit reluctant to "manually fix the image"... I also though, a bunch of time, "this must be it, there's no way it's not" :)
19:05
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:21
<
t184256 >
I think everyone can relate to that one =)
19:25
zupo has joined #nixos-aarch64
20:51
wildtrees has left #nixos-aarch64 ["Leaving"]
22:26
kunstruktur`afk has quit [Quit: WeeChat 2.4]
22:47
<
craige >
Thanks for the blog post, samueldr - looking forward to the talk. :-D
22:47
<
samueldr >
I, too look forward to the talk :D
22:48
<
samueldr >
and it was hard yesterday not to say "I have something new and shiny coming up"
22:48
<
craige >
When I return home, I've got some armv7 devices idling, I'll git the build a go.
22:48
<
samueldr >
really wanted to push to the branch and make the post at the same time
22:49
<
craige >
s/git/give/
22:49
<
samueldr >
you'll also need to "port" a kernel to it
22:49
<
samueldr >
or uh, if you have a nexus 7 2013, it's already in there
22:49
<
craige >
Might be worth picking one up second hand just to play with.
22:49
<
samueldr >
something I want to do before nixcon is make an asus-flo build, I just need to break out the armv7 stuff I have already playing around
22:50
<
samueldr >
I don't think it would
22:50
<
samueldr >
because of the lack of nixos binary cache :)
22:50
<
samueldr >
(for armv7)
22:50
<
samueldr >
it would be better to look for an aarch64 device imo
22:50
<
craige >
My current Android is the Oppo Find 7 - it's also my prod phone, so I'm not messing with that :-)
22:51
<
samueldr >
"one second hand" I thought it was specifically a nexus 7 2013
22:51
* craige
is waiting on the pine phone release.
22:51
<
samueldr >
I too, am, in a way :)
23:12
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:18
ryantrinkle has quit [Ping timeout: 265 seconds]