Noob is trying to build Android kernel 4.14.x

At the beginning of this article, i would like to mention that i’m a noob when it comes to android custom kernel or ROM development, so some of these information may be obvious to some of you, but it was relatively hard to find one place with up-to-date information on this topic.

Backstory - why i want to compile the kernel for my phone?

My current phone is the Xiaomi Mi 9 - i’m very happy with this phone, it is more than fast enough for my everyday needs, and the photo quality (especially on gcam) is also pretty good. My main issue with this phone was under MIUI 12 - it had a couple of annoying bugs that will probably never get fixed:

Read more →

Installing Linux on Chromebook (and other Apollo Lake devices)

Installing Linux on Chromebook (and other Apollo Lake devices)

In this post i will focus on replacing the ChromeOS with Linux. Before i was running Eupnea on my chromebook, it was working alright, but the boot splashscreen was quite annoying (and recently i encourage a ‘softbrick’ after kernel update).

If you want to dualboot linux+chromeos i would sugest to stick with Eupnea on external storage, like fast SD card or USB stick.

What do i need?

  • Some patience
  • Two USB drives - one with UEFI compatible linux of your choice - I will install EndeavourOS via Ventoy because i’m too lazy to configure a decent looking arch desktop on my own, and a second one to backup stock firmware. Technically you can do that on the same drive, but just to be safe, I recommend two separate ones.
  • Enabled Developer mode, and disabled WP

Step zero - validate coreboot support for your device

Visit https://mrchromebox.tech/#devices website and check if your device have support for ‘UEFI Firmware’. You probably can also do the same thing using WP_LEGACY, but i decided to just replace firmware in my chromebook.

Read more →

Project Eupnea - native linux for chromebooks

Project Eupnea - native linux for chromebooks

UPDATE 2023-08-07: Eupnea Project has been discontinued, new install of Depthboot are not recommended, if you can, just use UEFI + audio fixes. Also their Discord and Github was compromised. If you are currenty using Depthboot it is recommended to remove their repository from package manager list.


Let me start with that - second-hand chromebooks are awesome value for cheap, long-lasting battery, portable Netflix and SSH machine.

I’ve got my Chromebook about a year ago for 55 USD, it is a HP Chromebook 11a G6. I love how lightweight it is and that i can charge it from literally everything using USB-C ports (for real - it can even take charge from normal 5V USB charger). And the battery is awesome, it lasts a whole working day of moderate use. I bought a chromebook mostly as an experiment, on how the ChromeOS works for “poweruser” - and to be honest, it isn’t that bad, mostly because of the Linux Debian container, but it is still very limiting.

Read more →

How to use Backblaze B2 as primary storage in Nextcloud

How to use Backblaze B2 as primary storage in Nextcloud

To setup B2 as primary storage in Nextcloud you of course need to install NC first. For that, I used setup-nextcloud.php script - it is a nice, quick way of deploying nextcloud on shared hosting. Normally i would recommend setting it up as a docker container, but that will also work for testing. While installing Nextcloud just pick default storage place for now.

Creating bucket in Backblaze

If you don’t already have Backblaze account, you can register here. Backblaze gives 10GB of free storage + 1GB traffic per day for every user.
Note: make sure you select correct region, as of right now, accounts can’t be moved between regions

Read more →

Password prompt while trying to use ‘minikube tunnel’ ([email protected]’s password:)

Password prompt while trying to use 'minikube tunnel' (docker@127.0.0.1's password:)

Issue

$ minikube tunnel
✅  Tunnel successfully started
📌  NOTE: Please do not close this terminal as this process must stay alive for the tunnel to be accessible ...
🏃  Starting tunnel for service balanced.
[email protected]'s password:

Solution

You need to add minikube’s ssh key to your ssh agent

ssh-add C:\Users\user\.minikube\machines\minikube\id_rsa

Issues with ssh-add

Cannot use ssh-add, agent not running

Make sure ssh-agent is running

Get-Service ssh-agent | Set-Service -StartupType Automatic
Start-Service ssh-agent

Permissions for ‘C:\Users\user.minikube\machines\minikube\id_rsa’ are too open.

In case you get “Permissions for ‘C:\Users\user\.minikube\machines\minikube\id_rsa’ are too open.” you might need to copy id_rsa to desktop and change permissions https://superuser.com/a/1296046

Read more →