Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rote66 committed Sep 17, 2017
1 parent 624290c commit 9f6f28b
Show file tree
Hide file tree
Showing 127 changed files with 20,395 additions and 0 deletions.
Binary file added .twrps
Binary file not shown.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
# 1501_M02-external_Recovery
360F4 External TWRP
*此rec为外挂版

版本V4
基于TWRP3.1.1-0制作
底为los14.1
适用机型360F4
1501_M02
其他未经过测试
理论上应该附近机子可用
具体看自带Readme
Binary file added busybox
Binary file not shown.
17 changes: 17 additions & 0 deletions etc/mke2fs.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[defaults]
base_features = sparse_super,filetype,resize_inode,dir_index,ext_attr
blocksize = 4096
inode_size = 256
inode_ratio = 16384

[fs_types]
ext2 = {

}
ext3 = {
features = has_journal
}
ext4 = {
features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
inode_size = 256
}
19 changes: 19 additions & 0 deletions etc/recovery.fstab
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/platform/mtk-msdc.0/by-name/boot /boot emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check
/dev/block/platform/mtk-msdc.0/by-name/lk /uboot emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/logo /logo emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/metadata /metadata emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/nvdata /nvdata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,autoformat
/dev/block/platform/mtk-msdc.0/by-name/nvram /nvram emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/mtk-msdc.0/by-name/system /system ext4 ro wait
/dev/block/platform/mtk-msdc.0/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,resize,encryptable=/dev/block/platform/mtk-msdc.0/by-name/metadata

/devices/mtk-msdc.0/11240000.MSDC1/mmc_host/mmc1 auto vfat defaults voldmanaged=sdcard1:auto,noemulatedsd
/devices/platform/mt_usb auto vfat defaults voldmanaged=usbotg:auto
/dev/block/platform/mtk-msdc.0/by-name/frp /persistent emmc defaults defaults
15 changes: 15 additions & 0 deletions etc/twrp.fstab
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# mount point fstype device [device2]

/boot emmc /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/boot flags=display="Boot";backup=1;flashimg=1
/cache ext4 /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/cache flags=display="Cache";backup=1
/lk emmc /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/lk flags=display="Uboot";backup=1;flashimg=1
/logo emmc /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/logo flags=display="Logo";backup=1;flashimg=1
/metadata emmc /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/metadata
/nvram emmc /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/nvram flags=display="Nvram";backup=1
/secro emmc /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/secro flags=display="Secro";backup=1;flashimg=1
/recovery emmc /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/recovery flags=display="Recovery";backup=1;backup=1
/system ext4 /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/system flags=display="System";backup=1
/data ext4 /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/userdata flags=length=-16384;encryptable=/dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/metadata;display="Data";backup=1
/external_sd auto /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="External SDcard";storage;removable;backup=0
/usbotg auto /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";storage;removable;backup=0
/persistent emmc /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/frp
Binary file added libdirect-coredump.so
Binary file not shown.
27 changes: 27 additions & 0 deletions license/openaes/openaes_license
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---------------------------------------------------------------------------
OpenAES Licence
---------------------------------------------------------------------------
Copyright (c) 2012, Nabil S. Al Ramli, www.nalramli.com
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
---------------------------------------------------------------------------
211 changes: 211 additions & 0 deletions rc/default.prop
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
ro.adb.secure=0
persist.service.acm.enable=0
persist.sys.usb.config=mtp,adb
ro.mount.fs=EXT4
debug.hwui.render_dirty_regions=false
ro.sf.lcd_density=320
persist.radio.multisim.config=dsds
ro.mtk_lte_support=1
ro.telephony.ril_class=MT6735
ro.telephony.ril.config=fakeiccid
ro.telephony.sim.count=2
persist.gemini.sim_num=2
ril.current.share_modem=2
ro.mtk_gps_support=1
ro.mtk_agps_app=1
persist.debug.xlog.enable=1
ro.device.cache_dir=/data/cache
security.perf_harden=1
ro.zygote=zygote64_32
pm.dexopt.first-boot=interpret-only
pm.dexopt.boot=verify-profile
pm.dexopt.install=interpret-only
pm.dexopt.bg-dexopt=speed-profile
pm.dexopt.ab-ota=speed-profile
pm.dexopt.nsys-library=speed
pm.dexopt.shared-apk=speed
pm.dexopt.forced-dexopt=speed
pm.dexopt.core-app=speed
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
ro.dalvik.vm.native.bridge=0
dalvik.vm.usejit=true
dalvik.vm.usejitprofiles=true
dalvik.vm.appimageformat=lz4
debug.atrace.tags.enableflags=0
#
# BOOTIMAGE_BUILD_PROPERTIES
#
ro.bootimage.build.date=Sun Jul 16 18:33:49 CEST 2017
ro.bootimage.build.date.utc=1500222829

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=NJH47D
ro.build.display.id=lineage_ono-userdebug 7.1.2 NJH47D b31a757ea4 test-keys
ro.build.version.incremental=b31a757ea4
ro.build.version.sdk=25
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=7.1.2
ro.build.version.security_patch=2017-07-05
ro.build.version.base_os=
ro.build.date=Sun Jul 16 18:33:49 CEST 2017
ro.build.date.utc=1500222829
ro.build.type=userdebug
ro.build.user=jenkins
ro.build.host=hyper2
ro.build.tags=test-keys
ro.build.flavor=lineage_ono-userdebug
ro.product.brand=TCL
ro.product.name=lineage_ono
ro.product.board=mt6735
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.manufacturer=TCL
ro.product.locale=zh-CN
ro.wifi.channels=
ro.board.platform=mt6735
# ro.build.product is obsolete; use ro.product.device
ro.build.product=TCL_P620M
ro.product.model=TCL_P620M
ro.product.device=Escape_CM
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=lineage_ono-userdebug 7.1.2 NJH47D b31a757ea4 test-keys
ro.build.fingerprint=TCL/lineage_ono/p620m:7.1.2/NJH47D/b31a757ea4:userdebug/test-keys
ro.build.characteristics=default
ro.cm.device=Escape_CM
# end build properties
#
# system.prop for generic sdk
#
rild.libpath=mtk-ril.so
rild.libargs=-d /dev/ttyC0


# MTK, Infinity, 20090720 {
wifi.interface=wlan0
# MTK, Infinity, 20090720 }

# MTK, mtk03034, 20101210 {
ro.mediatek.wlan.wsc=1
# MTK, mtk03034 20101210}
# MTK, mtk03034, 20110318 {
ro.mediatek.wlan.p2p=1
# MTK, mtk03034 20110318}

# MTK, mtk03034, 20101213 {
mediatek.wlan.ctia=0
# MTK, mtk03034 20101213}


#
wifi.tethering.interface=ap0
#

ro.opengles.version=196608
##ro.kernel.qemu=1
##ro.kernel.qemu.gles=0

wifi.direct.interface=p2p0
#dalvik.vm.heapgrowthlimit=128m
#dalvik.vm.heapsize=256m

# USB MTP WHQL
#ro.sys.usb.mtp.whql.enable=0

# Power off opt in IPO
#sys.ipo.pwrdncap=2

#ro.sys.usb.storage.type=mtp,mass_storage

# USB BICR function
#ro.sys.usb.bicr=yes

# USB Charge only function
#ro.sys.usb.charging.only=yes

# audio
ro.camera.sound.forced=0
ro.audio.silent=0

ro.zygote.preload.enable=0

# temporary enables NAV bar (soft keys)
qemu.hw.mainkeys=1

ro.kernel.zio=38,108,105,16
#ro.kernel.qemu=1
#ro.kernel.qemu.gles=0
#ro.boot.selinux=disable

# Disable dirty region for Mali
debug.hwui.render_dirty_regions=false

ro.sf.lcd_density=320

# performance
ro.mtk_perf_simple_start_win=1
ro.mtk_perf_response_time=1
# add by [email protected] 20150629 begin
#persist.sys.timezone = Asia/Shanghai
# add by [email protected] 20150629 end

persist.sys.isUsbOtgEnabled=true

ro.mtk_perfservice_support=1

persist.logd.logpersistd=logcatd

ro.telephony.default_network=9

#
# ADDITIONAL_BUILD_PROPERTIES
#
cm.updater.type=plain
cm.updater.uri=https://raw.githubusercontent.com/divis1969/update-site/master/updates-14.1.json
ro.com.google.clientidbase=android-google
keyguard.no_require_sim=true
ro.build.selinux=1
ro.config.notification_sound=Argon.ogg
ro.config.alarm_alert=Hassium.ogg
persist.sys.dun.override=0
ro.cm.build.version.plat.sdk=7
ro.cm.build.version.plat.rev=0
media.sf.omx-plugin=libffmpeg_omx.so
media.sf.extractor-plugin=libffmpeg_extractor.so
ro.storage_manager.enabled=true
ro.cm.version=14.1-20170716-UNOFFICIAL-ono
ro.cm.releasetype=UNOFFICIAL
ro.modversion=14.1-20170716-UNOFFICIAL-ono
ro.cmlegal.url=https://lineageos.org/legal
ro.cm.display.version=14.1-20170716-UNOFFICIAL-ono
ro.config.ringtone=Orion.ogg
ro.carrier=unknown
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=192m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.arm64.variant=cortex-a53
dalvik.vm.isa.arm64.features=default
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
60 changes: 60 additions & 0 deletions rc/factory_init.project.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
mkdir /data/misc/sensors 0664 system system

service msensord /system/bin/msensord
user system
group system
oneshot

service akmd8963 /system/bin/akmd8963
disabled
user system
group system


on post-fs
#
# Connectivity related modules and character device nodes (Begin)
#
#for 662x_launcher
chmod 0660 /dev/ttyMT2
chown system system /dev/ttyMT2

# Create char device file for WMT, GPS, BT, FM, WIFI
mknod /dev/stpwmt c 190 0;
mknod /dev/stpgps c 191 0;
mknod /dev/stpbt c 192 0;
chmod 0660 /dev/stpwmt
chown system system /dev/stpwmt
chmod 0660 /dev/wmtdetect
chown system system /dev/wmtdetect

mknod /dev/wmtWifi c 153 0
chmod 0666 /dev/wmtWifi
chmod 0660 /dev/stpgps
chmod 0660 /dev/stpbt
chown bluetooth radio /dev/stpbt

#
# Connectivity related modules and character device nodes (Ends)
#

on boot

#
# Connectivity related services (Begin)
#

service wmtLoader /system/bin/wmt_loader
user root
group root
oneshot

service conn_launcher /system/bin/6620_launcher -p /system/etc/firmware/
user system
group system


#
# Connectivity related services (End)
#

Loading

0 comments on commit 9f6f28b

Please sign in to comment.