This file contains hidden or 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
# | |
# By Chih-Wei Huang <[email protected]> | |
# Last updated 2017/04/23 | |
# | |
# License: GNU Public License | |
# We explicitely grant the right to use the scripts | |
# with Android-x86 project. | |
# | |
mount_data() |
This file contains hidden or 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
diff --git a/device.mk b/device.mk | |
index ccae932..bd368db 100644 | |
--- a/device.mk | |
+++ b/device.mk | |
@@ -243,6 +243,10 @@ PRODUCT_COPY_FILES += \ | |
$(DEVICE_PATH)/rootdir/init.qcom.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.usb.rc \ | |
$(DEVICE_PATH)/rootdir/ueventd.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc | |
+# Ramdisk (First stage mount) | |
+PRODUCT_COPY_FILES += \ |
This file contains hidden or 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
diff --git a/device.mk b/device.mk | |
index f1399b1..4cfc595 100644 | |
--- a/device.mk | |
+++ b/device.mk | |
@@ -47,6 +47,9 @@ PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile | |
# for gms modules. | |
PRODUCT_ALWAYS_PREOPT_EXTRACTED_APK := true | |
+PRODUCT_COPY_FILES += \ | |
+ $(LOCAL_PATH)/rootdir/etc/fstab.mako:$(TARGET_COPY_OUT_RAMDISK)/fstab.mako |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/bionic64" | |
config.vm.provider "virtualbox" do |vb| | |
vb.memory = "2048" | |
end |
This file contains hidden or 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
#include <dirent.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
int main() { | |
DIR* dir = opendir("."); | |
int ret = 0; | |
char buf[4096]; | |
symlink("/root/v86d", "test"); |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<string-array name="twinapps_required_apps"> | |
<item>com.android.vending</item> | |
<item>com.google.android.gms</item> | |
<item>jp.naver.line.android|Line: Free Calls & Messages</item> | |
<item>com.facebook.katana|Facebook</item> | |
<item>com.facebook.orca|Messenger - Text and Video Chat for Free</item> | |
<item>com.tencent.mm|WeChat</item> | |
<item>com.whatsapp|WhatsApp Messenger</item> |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<config> | |
<feature name="com.google.android.feature.PIXEL_2019_EXPERIENCE" /> | |
</config> |
This file contains hidden or 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
diff --git a/cpio/Makefile b/cpio/Makefile | |
new file mode 100644 | |
index 000000000..c6b24f135 | |
--- /dev/null | |
+++ b/cpio/Makefile | |
@@ -0,0 +1,42 @@ | |
+#################### | |
+# COMPILER | |
+#################### | |
+CC=gcc |
This file contains hidden or 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
@======== Fastboot command ======== | |
@Get info : | |
@>>> fastboot oem gpt-info | |
@>>> fastboot oem isn-info | |
@>>> fastboot oem ssn-info | |
@>>> fastboot oem system-info | |
@>>> fastboot oem device-info | |
@Get ID : | |
@>>> fastboot oem get-prjid | |
@>>> fastboot oem get-hwid |
This file contains hidden or 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
08-19 16:58:40.700 10186 10186 D AndroidRuntime: Shutting down VM | |
--------- beginning of crash | |
08-19 16:58:40.717 10186 10186 E AndroidRuntime: FATAL EXCEPTION: main | |
08-19 16:58:40.717 10186 10186 E AndroidRuntime: Process: com.topjohnwu.magisk, PID: 10186 | |
08-19 16:58:40.717 10186 10186 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{f3bf030 position=17 id=-1, oldPos=11, pLpos:11 scrap [attachedScrap] tmpDetached not recyclable(1) no parent} androidx.recyclerview.widget.RecyclerView{83839cf VFED..... .F....ID 0,0-1080,1680 #7f0900ab app:id/flash_content}, adapter:me.tatarka.bindingcollectionadapter2.BindingRecyclerViewAdapter@6a7df5c, layout:androidx.recyclerview.widget.LinearLayoutManager@8b05265, context:a.f@4372ab2 | |
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:5953) | |
08-19 16:58:40.717 10186 10186 E AndroidRuntime: at a |