Recent content by skilo83

  1. S

    Post how to compile custom kernel?

    yes i actually install python-is-python2 and it solved my problem. the source for my device seems to be made with an older android NDK. i would appreciate any help i can get. i'm just not sure what compiler to use to compile the source. the NDK i downloaded doesn't have any compilers in it. :unsure:
  2. S

    Post how to compile custom kernel?

    i think i found the correct source for my phone: QPMS30.80-51-5 kernel source but it wont compile. i get python errors. i'm using Ubuntu 20.04. ./scripts/gcc-version.sh: line 26: python: command not found ./scripts/gcc-version.sh: line 27: python: command not found make: python: Command not...
  3. S

    Thread how to compile custom kernel?

    How to compile custom kernel? i checked on motorola github but the source code there is for 3.x kernel. mine is 4.14.117. Model: Moto G Power Hardware Version: pvt Model Number: XT2041-4 Android Version: 10 Android path level: September 1, 2020 Kernel Version: 4.14.117-perf+ #1 Wed Sep 2...
  4. S

    Thread How to compile custom kernel for Moto G Power?

    Model: Moto G Power Hardware Version: pvt Model Number: XT2041-4 Android Version: 10 Android path level: September 1, 2020 Kernel Version: 4.14.117-perf+ #1 Wed Sep 2 13:22:48 CDT 2020 Build number: QPMS30.80-51-8 I already unlocked the bootloader and installed magisk. Now i just need to...
  5. S

    Thread Need help writing to internal storage

    So i need to read a file from a URI and copy it into the internal storage. My function to write to external storage works fine but writing to internal storage has proven to be a difficult task. Nothing i do seems to work. Here's my code below. It doesn't throw any errors but it doesn't write...