-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,50 @@ | ||
# amonet-NixOS | ||
# UNLOCK/ROOT für das Fire 7 HD (7th Gen) | ||
|
||
Da mein Tablet sehr mit Werbung zugemüllt war und mit der Zeit immer langsamer wurde, habe ich mich dazu entschlossen ein Custom ROM (in meinem Fall LineageOS) aufzuspielen. | ||
|
||
Um das ganze auch unter NixOS flashen zu können, musste ich die Bash-Scripte ein wenig anpassen und ein paar Module zusätzlich installieren. | ||
|
||
# Original-Dateien | ||
|
||
https://forum.xda-developers.com/t/unlock-root-twrp-unbrick-downgrade-fire-7-ford-and-austin.3899860/ | ||
|
||
# ROM | ||
|
||
https://lineageos.org/ | ||
|
||
# Configuration.nix | ||
|
||
Die Module für die Configuration sind wie folgt: | ||
|
||
```nix | ||
programs.adb.enable = true; | ||
``` | ||
|
||
Den User zu der Gruppe adbusers und sudo hinzufügen: | ||
|
||
```nix | ||
users.users.USER = { | ||
isNormalUser = true; | ||
home = "/home/USER"; | ||
extraGroups = [ "wheel" "adbusers" ]; # Enable ‘sudo’ and 'adb' for the user. | ||
}; | ||
``` | ||
|
||
Folgende Module installieren: | ||
|
||
```nix | ||
environment.systemPackages = with pkgs; [ | ||
.. | ||
python39 | ||
unzip | ||
usbutils | ||
.. | ||
]; | ||
``` | ||
|
||
Danach eine nix-shell erzeugen (nix-shell file ist im Repo): | ||
|
||
```nix | ||
nix-shell | ||
``` | ||
und die Anleitung aus dem XDADev-Forum befolgen. |