GithubHelp home page GithubHelp logo

freak07 / kirisakura_pantah Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 17.0 1.74 GB

License: Other

Starlark 0.01% Makefile 0.25% Roff 0.02% C 98.11% Assembly 1.01% Shell 0.29% Perl 0.12% C++ 0.03% Awk 0.01% Python 0.13% sed 0.01% Yacc 0.01% Lex 0.01% UnrealScript 0.01% SmPL 0.02% Gherkin 0.01% XS 0.01% Raku 0.01% Clojure 0.01% M4 0.01%

kirisakura_pantah's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kirisakura_pantah's Issues

(Compilation error) Missing fw_sample.i

Hi, I'm trying to make a custom build of the kernel in hopes to add GUD.
Compiling a clean build first, I stumbled in this error:

  CC [M]  google-modules/uwb/kernel/drivers/net/ieee802154/dw3000_nfcc_coex_msg.o
../google-modules/wlan/bcmdhd/bcm4389/Kbuild:33: : ** out-of-tree Kbuild BCMDHD_ROOT=../google-modules/wlan/bcmdhd/bcm4389**
  CC [M]  google-modules/wlan/bcmdhd/bcm4389/dhd_pno.o
  CC [M]  google-modules/uwb/kernel/drivers/net/ieee802154/dw3000_nfcc_coex_mcps.o
  CC [M]  google-modules/uwb/kernel/net/mcps802154/fproc.o
  CC [M]  google-modules/uwb/kernel/drivers/net/ieee802154/dw3000_pctt_mcps.o
  CC [M]  google-modules/uwb/kernel/drivers/net/ieee802154/dw3000_calib.o
  CC [M]  google-modules/wlan/bcmdhd/bcm4389/dhd_common.o
  CHK     kernel/kheaders_data.tar.xz
  CC [M]  google-modules/wlan/bcmdhd/bcm4389/dhd_ip.o
../google-modules/touch/focaltech/ft3658/focaltech_flash.c:48:10: fatal error: 'include/firmware/fw_sample.i' file not found
#include FTS_UPGRADE_FW_FILE
         ^~~~~~~~~~~~~~~~~~~
../google-modules/touch/focaltech/ft3658/focaltech_config.h:322:50: note: expanded from macro 'FTS_UPGRADE_FW_FILE'
#define FTS_UPGRADE_FW_FILE                      "include/firmware/fw_sample.i"
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1  CC [M]  google-modules/uwb/kernel/drivers/net/ieee802154/dw3000_chip_c0.o
 error generated.
make[4]: *** [../scripts/Makefile.build:321: google-modules/touch/focaltech/ft3658/focaltech_flash.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [../scripts/Makefile.build:588: google-modules/touch/focaltech/ft3658] Error 2
make[2]: *** [../scripts/Makefile.build:588: google-modules/touch/focaltech/ft3658] Error 2
make[2]: *** Waiting for unfinished jobs....

I'm surely missing something

Could you provide steps/requirements to build?
What I've done so far:

Thank you

Can't compile kernel

Trying to compile the kernel gives this error.....

error: modpost: "pcie_sysmmu_set_use_iocc" [drivers/pci/controller/dwc/pcie-exynos-core.ko] undefined

boot loop????

Pixel 7 only goes as far as the Google splash screen after flashing kernel

Proper support for battery idle mode

Currently trying to enable idle battery mode using ACC and getting inconsistent results.
Issuing here due to the strict kernel relationship

Device: Pixel 7, TQ1A.230205.002

Available chargers:

  1. Automatic
  2. battery/bd_trickle_cnt 0 1
  3. maxfg/offmode_charger 0 1
  4. dc/current_max 687500 0
  5. gcpm/constant_charge_current_max 4000000 0
  6. gcpm/current_max 3000000 0
  7. main-charger/current_max 3000000 0
  8. usb/current_max 3000000 0
  9. wireless/current_max 700000 0
  10. battery/constant_charge_voltage 4260000 voltage_now
  11. gcpm/constant_charge_voltage_max 4200000 voltage_now
  12. gcpm/voltage_max 4200000 voltage_now
  13. main-charger/voltage_max 4200000 voltage_now
  14. pca94xx-mains/voltage_max 4175000 voltage_now

While more than one charger seems to work + idle support, the device doesn't seem to respond reliably even when tests (acc -t ..) are positive more than twice

Notable behaviour:

  • Frequent replugs when hitting pause%
  • acc -i status causes replug and battery % to fluctuate
  • Charging doesn't exactly stop when plugged over the pause%
  • Amperage on idle is brought to +-10mA with some chargers (expected behaviour): some others don't
  • Idle mode is not detected by AccA

Steps to reproduce:

  1. Install ACC through magisk
  2. Install a terminal app such as Termux
  3. Install some root explorer app such as Total Commander
  4. Plug AC charger
  5. in the terminal, type
    su
    acc -t
  6. Check for working chargers (+ idle supported)
  7. Test again one working charger with acc -t (charger)

Example in my case: acc -t gcpm/constant_charge_current_max 4000000 0

  1. Assign the charger using acc -ss
  2. Using the root explorer edit /data/adb/vr25/acc-data/config.txt the line prioritizeBattIdleMode=true and save
  3. Back to the terminal, type acc and select start/restart daemon then select quit
  4. Type in your pause and resume percentages: example acc 75 70
  5. Observe behaviour

Expected:

  • charge to pause% then battery idle
  • amperage apps should report 0 or around -10mA
  • acc -i status should report Idle
  • acc -i status shouldn't cause the brief percentage fluctuation
  • no replugs (noticeable through sounds)

Perhaps this might come in handy:
https://github.com/xxmustafacooTR/android_kernel_samsung_universal9810/search?q=battery+idle&type=commits

Hoping for a positive response and a fix for everyone's longer battery lifespan
Have a great day

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.