Last active
June 5, 2020 16:34
-
-
Save JeelPatel231/67739bfbcfd9abcec96b9fe782340d06 to your computer and use it in GitHub Desktop.
Welcome To Colaboratory
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
{ | |
"nbformat": 4, | |
"nbformat_minor": 0, | |
"metadata": { | |
"colab": { | |
"name": "Welcome To Colaboratory", | |
"provenance": [], | |
"collapsed_sections": [], | |
"toc_visible": true, | |
"include_colab_link": true | |
}, | |
"kernelspec": { | |
"display_name": "Python 3", | |
"name": "python3" | |
} | |
}, | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"id": "view-in-github", | |
"colab_type": "text" | |
}, | |
"source": [ | |
"<a href=\"https://colab.research.google.com/gist/JeelPatel231/67739bfbcfd9abcec96b9fe782340d06/welcome-to-colaboratory.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "EayR7klvRmPe", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 136 | |
}, | |
"outputId": "74180c20-35a3-4f25-a90b-d5fef4894877" | |
}, | |
"source": [ | |
"!git clone https://github.com/Jebaitedneko/mido_G_autoporter" | |
], | |
"execution_count": 1, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Cloning into 'mido_G_autoporter'...\n", | |
"remote: Enumerating objects: 42, done.\u001b[K\n", | |
"remote: Counting objects: 2% (1/42)\u001b[K\rremote: Counting objects: 4% (2/42)\u001b[K\rremote: Counting objects: 7% (3/42)\u001b[K\rremote: Counting objects: 9% (4/42)\u001b[K\rremote: Counting objects: 11% (5/42)\u001b[K\rremote: Counting objects: 14% (6/42)\u001b[K\rremote: Counting objects: 16% (7/42)\u001b[K\rremote: Counting objects: 19% (8/42)\u001b[K\rremote: Counting objects: 21% (9/42)\u001b[K\rremote: Counting objects: 23% (10/42)\u001b[K\rremote: Counting objects: 26% (11/42)\u001b[K\rremote: Counting objects: 28% (12/42)\u001b[K\rremote: Counting objects: 30% (13/42)\u001b[K\rremote: Counting objects: 33% (14/42)\u001b[K\rremote: Counting objects: 35% (15/42)\u001b[K\rremote: Counting objects: 38% (16/42)\u001b[K\rremote: Counting objects: 40% (17/42)\u001b[K\rremote: Counting objects: 42% (18/42)\u001b[K\rremote: Counting objects: 45% (19/42)\u001b[K\rremote: Counting objects: 47% (20/42)\u001b[K\rremote: Counting objects: 50% (21/42)\u001b[K\rremote: Counting objects: 52% (22/42)\u001b[K\rremote: Counting objects: 54% (23/42)\u001b[K\rremote: Counting objects: 57% (24/42)\u001b[K\rremote: Counting objects: 59% (25/42)\u001b[K\rremote: Counting objects: 61% (26/42)\u001b[K\rremote: Counting objects: 64% (27/42)\u001b[K\rremote: Counting objects: 66% (28/42)\u001b[K\rremote: Counting objects: 69% (29/42)\u001b[K\rremote: Counting objects: 71% (30/42)\u001b[K\rremote: Counting objects: 73% (31/42)\u001b[K\rremote: Counting objects: 76% (32/42)\u001b[K\rremote: Counting objects: 78% (33/42)\u001b[K\rremote: Counting objects: 80% (34/42)\u001b[K\rremote: Counting objects: 83% (35/42)\u001b[K\rremote: Counting objects: 85% (36/42)\u001b[K\rremote: Counting objects: 88% (37/42)\u001b[K\rremote: Counting objects: 90% (38/42)\u001b[K\rremote: Counting objects: 92% (39/42)\u001b[K\rremote: Counting objects: 95% (40/42)\u001b[K\rremote: Counting objects: 97% (41/42)\u001b[K\rremote: Counting objects: 100% (42/42)\u001b[K\rremote: Counting objects: 100% (42/42), done.\u001b[K\n", | |
"remote: Compressing objects: 100% (28/28), done.\u001b[K\n", | |
"remote: Total 224 (delta 24), reused 31 (delta 14), pack-reused 182\u001b[K\n", | |
"Receiving objects: 100% (224/224), 136.26 MiB | 40.62 MiB/s, done.\n", | |
"Resolving deltas: 100% (70/70), done.\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "5SkLP4ZNR72e", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 289 | |
}, | |
"outputId": "3310449e-0948-4d56-fadd-dd5d5fac9ff8" | |
}, | |
"source": [ | |
"!cd mido_G_autoporter && wget \"https://mirrorbits.lineageos.org/full/mido/20200407/lineage-16.0-20200407-nightly-mido-signed.zip\"" | |
], | |
"execution_count": 4, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"--2020-06-05 16:21:03-- https://mirrorbits.lineageos.org/full/mido/20200407/lineage-16.0-20200407-nightly-mido-signed.zip\n", | |
"Resolving mirrorbits.lineageos.org (mirrorbits.lineageos.org)... 116.202.242.188\n", | |
"Connecting to mirrorbits.lineageos.org (mirrorbits.lineageos.org)|116.202.242.188|:443... connected.\n", | |
"HTTP request sent, awaiting response... 302 Found\n", | |
"Location: https://mirror.math.princeton.edu/pub/lineageos/full/mido/20200407/lineage-16.0-20200407-nightly-mido-signed.zip [following]\n", | |
"--2020-06-05 16:21:04-- https://mirror.math.princeton.edu/pub/lineageos/full/mido/20200407/lineage-16.0-20200407-nightly-mido-signed.zip\n", | |
"Resolving mirror.math.princeton.edu (mirror.math.princeton.edu)... 128.112.18.21\n", | |
"Connecting to mirror.math.princeton.edu (mirror.math.princeton.edu)|128.112.18.21|:443... connected.\n", | |
"HTTP request sent, awaiting response... 200 OK\n", | |
"Length: 622063033 (593M) [application/zip]\n", | |
"Saving to: ‘lineage-16.0-20200407-nightly-mido-signed.zip’\n", | |
"\n", | |
"lineage-16.0-202004 100%[===================>] 593.25M 144MB/s in 4.3s \n", | |
"\n", | |
"2020-06-05 16:21:08 (139 MB/s) - ‘lineage-16.0-20200407-nightly-mido-signed.zip’ saved [622063033/622063033]\n", | |
"\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "iskhJtQuR-38", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 309 | |
}, | |
"outputId": "c8bdd91c-2cd8-4979-b6a6-05dcc1a7d42c" | |
}, | |
"source": [ | |
"!cd mido_G_autoporter && sudo ./port.sh lineage-16.0-20200407-nightly-mido-signed.zip" | |
], | |
"execution_count": 7, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"\rReading package lists... 0%\r\rReading package lists... 0%\r\rReading package lists... 0%\r\rReading package lists... 6%\r\rReading package lists... 6%\r\rReading package lists... 6%\r\rReading package lists... 6%\r\rReading package lists... 62%\r\rReading package lists... 63%\r\rReading package lists... 63%\r\rReading package lists... 63%\r\rReading package lists... 63%\r\rReading package lists... 71%\r\rReading package lists... 71%\r\rReading package lists... 71%\r\rReading package lists... 71%\r\rReading package lists... 81%\r\rReading package lists... 81%\r\rReading package lists... 81%\r\rReading package lists... 81%\r\rReading package lists... 81%\r\rReading package lists... 81%\r\rReading package lists... 81%\r\rReading package lists... 81%\r\rReading package lists... 87%\r\rReading package lists... 87%\r\rReading package lists... 87%\r\rReading package lists... 87%\r\rReading package lists... 93%\r\rReading package lists... 93%\r\rReading package lists... 93%\r\rReading package lists... 93%\r\rReading package lists... 93%\r\rReading package lists... 93%\r\rReading package lists... 94%\r\rReading package lists... 94%\r\rReading package lists... 95%\r\rReading package lists... 95%\r\rReading package lists... 98%\r\rReading package lists... 98%\r\rReading package lists... 98%\r\rReading package lists... 98%\r\rReading package lists... Done\r\n", | |
"\rBuilding dependency tree... 0%\r\rBuilding dependency tree... 0%\r\rBuilding dependency tree... 50%\r\rBuilding dependency tree... 50%\r\rBuilding dependency tree \r\n", | |
"\rReading state information... 0%\r\rReading state information... 0%\r\rReading state information... Done\r\n", | |
"unzip is already the newest version (6.0-21ubuntu1).\n", | |
"zip is already the newest version (3.0-11build1).\n", | |
"0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.\n", | |
"deleting: compatibility.zip\n", | |
"Archive: lineage-16.0-20200407-nightly-mido-signed.zip\n", | |
"signed by SignApk\n", | |
" inflating: ./META-INF/com/google/android/updater-script \n", | |
" inflating: ./boot.img \n", | |
"updating: META-INF/com/google/android/updater-script (deflated 66%)\n", | |
"BOARD_KERNEL_CMDLINE androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image buildvariant=userdebug\n", | |
"BOARD_KERNEL_BASE 80000000\n", | |
"BOARD_PAGE_SIZE 2048\n", | |
" adding: boot_G.img (deflated 2%)\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "EqH0_sXWSYAD", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 272 | |
}, | |
"outputId": "5b495c5a-aeaf-4950-e480-530de93e53cf" | |
}, | |
"source": [ | |
"!mv mido_G_autoporter/!ROMNAME! /content/drive" | |
], | |
"execution_count": 9, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"bootimg.sh\n", | |
"dummy.zip\n", | |
"Image.gz-dtb\n", | |
"lineage-16.0-20200407-nightly-mido-signed.zip_PORTED.zip\n", | |
"mkbootimg\n", | |
"mkbootimg-arm\n", | |
"port-arm.sh\n", | |
"port.sh\n", | |
"README.md\n", | |
"treble-fixes\n", | |
"treble-recovery\n", | |
"unpackbootimg\n", | |
"unpackbootimg-arm\n", | |
"vendor_1G_repartition_rewrite.zip\n", | |
"vendor_1G_repartition.zip\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "hXNAvEg1S_VR", | |
"colab_type": "code", | |
"colab": {} | |
}, | |
"source": [ | |
"" | |
], | |
"execution_count": 0, | |
"outputs": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment