nix-community / nix-on-droid

Nix-enabled environment for your Android device. [maintainers=@t184256,@Gerschtli]
https://nix-on-droid.unboiled.info
MIT License
1.29k stars 72 forks source link

installation does not continoue - unpacking channels .. #236

Closed InLaw closed 1 year ago

InLaw commented 1 year ago

IMG_6107

Samsung M52 - Android 13 One Ui 5.0 - Google System update July 01

t184256 commented 1 year ago

Wait, I don't have much more advice. Maybe one: "acquire wakelock" in notification might help if your system is aggressively preventing it from executing.

InLaw commented 1 year ago

that is what I did. 30 Minutes, 3 hours? .. how long till I know it is not working?

Gerschtli commented 1 year ago

On my device it takes ~30min for the whole bootstrap. Unfortunately, nix-channel does not provide more output than this. Maybe it got stuck, so maybe clean app data and try again?

InLaw commented 1 year ago

now it starts building ..

InLaw commented 1 year ago

takes hours ..

t184256 commented 1 year ago

This is outstandingly slow, even 30 minutes is.

Are you using adopted storage (combining sd card with built-in storage)? Is your storage near full? Is network speed severely throttled or something?

InLaw commented 1 year ago

no issues with network storage is 40% - sd card is used (but not for apps itself) - cannot find "adopted storage" in settings

MatrixManAtYrService commented 1 year ago

For a sense of progress you can go to settings -> storage -> other apps -> Nix and watch the User data field grow.

In my case... time since saying N to "do you want to set it up with flakes" (minutes) User Data Size (MB)
0 108
2 162
5 220
7 248
10 291
14 335
18 366
22 366
25 366
Installing first Nix-on-droid generation...
Building activation package...
bash-5.1$
time since saying N to "do you want to set it up with flakes" (minutes) User Data Size (MB)
29 847
oxbqkwwxfrqccwtg commented 1 year ago

"Nothing works" so i'm just here to say hi. 😁

~Having~ Had the same issue, where it (channels, not flakes) was stuck for more than 45min after which I always aborted. Uninstalled and reinstalled it for a couple of times and somehow now it finished after ~6min. Magic! 🪄

Nix-on-Droid: 0.118.0_v0.3.3_nix Android: 13 - GrapheneOS 2023072600 - on Google Pixel 4XL (Coral)