Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View 2Grey's full-sized avatar

Sergey Ryazanov 2Grey

  • ID-360 LLC
  • Izhevsk
View GitHub Profile
@2Grey
2Grey / frendlyDeviceNames.swift
Last active October 27, 2022 06:33
Friendly device name (Swift)
func frendlyDeviceNames(forModel model: String) -> String {
let frendlyNames: [String: String] = [
// * Simulator
"i386": "Simulator",
"x86_64": "Simulator",
"arm64": "Simulator",
// * Apple TV
"AppleTV1,1": "Apple TV (1Gen)",
@2Grey
2Grey / README.md
Created November 17, 2017 07:26 — forked from aldur/README.md
OnePlusRoot

Root OnePlus5 without unlocking the bootloader

Gain adb root.

$ adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"

Download Magisk-v14.0 and extract it somewhere. Download MagiskManager.