adb reboot bootloader
fastboot reboot fastboot
fastboot erase system
Byobu Uses the Function keys (From F1 to F12) | |
Basic Commands: | |
CTRL+D => Exit Byobu and close all of your sessions | |
F2 => Create New screen | |
F3 and F4 => to Navigate to left or right screen. | |
ALT+F6 => will detach all the connections to Byobu except the current one. | |
More Information: | |
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-byobu-for-terminal-management-on-ubuntu-16-04 |
// To parse this JSON data, do | |
// | |
// final event = eventFromJson(jsonString); | |
import 'dart:convert'; | |
List<Event> eventFromJson(String str) => new List<Event>.from(json.decode(str).map((x) => Event.fromJson(x))); | |
String eventToJson(List<Event> data) => json.encode(new List<dynamic>.from(data.map((x) => x.toJson()))); |
{ | |
"response":[ | |
{ | |
"datetime":1674488271, | |
"filename":"ota-update-package.zip", | |
"id":"5eb63bbbe01eeed093cb22bb8f5acdc3", | |
"type":"OS", | |
"size":314572800, | |
"url":"https://example.com/ota-package.zip", | |
"version":"10" |
# Platform keys can be found in $ANDROID_ROOT/build/target/product/security/ | |
required files: | |
- platform.x509.pem | |
- platform.pk8 | |
# command in linux with JAVA setup | |
openssl pkcs8 -inform DER -nocrypt -in platform.pk8 -out platform.key | |
openssl pkcs12 -export -in platform.x509.pem -inkey platform.key -name platform -out platform.pem -password pass:mohan100 |
// adding android.car as Library aka Jar file. | |
val sdkDir = android.sdkDirectory.canonicalPath | |
val androidCarJar = "$sdkDir/platforms/android-33/optional/android.car.jar" | |
implementation(files(androidCarJar)) |
[ | |
{ | |
"id": 1, | |
"author": "Dalai Lama", | |
"message": "The purpose of our lives is to be happy." | |
}, | |
{ | |
"id": 2, | |
"author": "John Lennon", | |
"message": "Life is what happens when you're busy making other plans." |