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 "ch32fun.h" | |
| // Pin definitions | |
| #define PMOS_GATE_PIN PC0 | |
| // Battery voltage thresholds | |
| // PLS[2:0] are located at bits 7-5 of the PWR_CTLR register | |
| #define BATTERY_CUTOFF_VOLTAGE ( 0x00 << 5 ) // PLS=000: 2.85V/2.7V (cutoff) | |
| #define BATTERY_RESUME_VOLTAGE ( 0x02 << 5 ) // PLS=010: 3.3V/3.15V (resume) |
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
| 今後はこっちで。 | |
| https://github.com/SasakiYuki/RaccoonWallet/issues/8 |
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
| <manifest> | |
| <project path="device/htc/dlxj" name="kbc-developers/android_device_htc_dlxj" revision="cm-14.1"/> | |
| <project path="device/htc/valentewx" name="kbc-developers/android_device_htc_valentewx" revision="cm-13.0"/> | |
| <project path="device/htc/s4-common" name="kbc-developers/android_device_htc_s4-common" revision="cm-13.0"/> | |
| <project path="device/htc/m7wlj" name="kbc-developers/android_device_htc_m7wlj" revision="cm-14.1"/> | |
| <project path="device/htc/m7-common" name="kbc-developers/android_device_htc_m7-common" revision="cm-14.1"/> | |
| <project path="kernel/htc/m7wlj" name="kbc-developers/android_kernel_htc_m7wlj" revision="cm-14.1"/> | |
| <project path="kernel/htc/msm8960" name="kbc-developers/android_kernel_htc_msm8960" revision="cm-14.1"/> | |
| <project path="device/htc/msm8960-common" name="kbc-developers/android_device_htc_msm8960-common" revision="cm-14.1"/> | |
| <project path="vendor/htc" name="kbc-developers/proprietary_vendor_htc" revision="cm-14.1"/> |
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/init/service.cpp b/init/service.cpp | |
| index 76e0bc8..406f47b 100644 | |
| --- a/init/service.cpp | |
| +++ b/init/service.cpp | |
| @@ -371,12 +371,14 @@ bool Service::Start() { | |
| scon = ret_scon; | |
| free(ret_scon); | |
| } | |
| +/* | |
| if (rc == 0 && scon == mycon) { |
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/drivers/video/msm/mdss/mdss_fb.c b/drivers/video/msm/mdss/mdss_fb.c | |
| index f72952a..eb5e3b9 100644 | |
| --- a/drivers/video/msm/mdss/mdss_fb.c | |
| +++ b/drivers/video/msm/mdss/mdss_fb.c | |
| @@ -281,6 +281,10 @@ static ssize_t mdss_set_rgb(struct device *dev, | |
| struct mdp_pcc_cfg_data pcc_cfg; | |
| u32 copyback = 0; | |
| + struct fb_info *fbi = dev_get_drvdata(dev); | |
| + struct msm_fb_data_type *mfd = (struct msm_fb_data_type *)fbi->par; |
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
| # Android fstab file. | |
| # 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 | |
| #TODO: Add 'check' as fs_mgr_flags with data partition. | |
| # Currently we dont have e2fsck compiled. So fs check would failed. | |
| #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> | |
| /dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,verify | |
| /dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,errors=panic wait,check,formattable,forceencrypt=/dev/block/bootdevice/by-name/extra |
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
| /* | |
| * This file contains device specific hooks. | |
| * Always enclose hooks to #if MR_DEVICE_HOOKS >= ver | |
| * with corresponding hook version! | |
| */ | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <dirent.h> | |
| #include <ctype.h> |
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
| # Bootloader | |
| TARGET_BOOTLOADER_BOARD_NAME := MSM8996 | |
| TARGET_NO_BOOTLOADER := true | |
| # Platform | |
| TARGET_BOARD_PLATFORM := msm8996 | |
| TARGET_BOARD_PLATFORM_GPU := qcom-adreno530 | |
| # Architecture | |
| TARGET_ARCH := arm64 |
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
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use Archive::Zip; | |
| use File::Basename; | |
| use File::Copy; | |
| use File::Path qw(rmtree); | |
| use Term::ReadKey; | |
| use Time::HiRes; |
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
| <project path="device/htc/dlxj" name="kbc-developers/android_device_htc_dlxj" revision="cm-13.0"/> | |
| <project path="device/htc/valentewx" name="kbc-developers/android_device_htc_valentewx" revision="cm-13.0"/> | |
| <project path="device/htc/s4-common" name="kbc-developers/android_device_htc_s4-common" revision="cm-13.0"/> | |
| <project path="device/htc/m7wlj" name="kbc-developers/android_device_htc_m7wlj" revision="cm-13.0"/> | |
| <project path="device/htc/m7-common" name="kbc-developers/android_device_htc_m7-common" revision="cm-13.0"/> | |
| <project path="kernel/htc/m7wlj" name="kbc-developers/android_kernel_htc_m7wlj" revision="cm-13.0"/> | |
| <project path="kernel/htc/msm8960" name="kbc-developers/android_kernel_htc_msm8960" revision="cm-13.0"/> | |
| <project path="device/htc/msm8960-common" name="kbc-developers/android_device_htc_msm8960-common" revision="cm-13.0"/> | |
| <project path="vendor/htc/" name="tako0910/proprietary_vendor_htc" revision="cm-13.0"/> |