Skip to main content

pmbootstrap test on realmec15

 pmbootstrap  bootimg_analyze ~/src/realme/stockboot/a95boot.img 

[22:57:48] Put these variables in the deviceinfo file of your device:

 deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2 buildvariant=user"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="2048"
deviceinfo_header_version="2"
deviceinfo_append_dtb="false"
deviceinfo_flash_offset_dtb="0x07808000"
deviceinfo_flash_offset_base="0x40078000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x11a88000"
deviceinfo_flash_offset_second="0x00e88000"
deviceinfo_flash_offset_tags="0x07808000"

 

 nano ~/.local/var/pmbootstrap/cache_git/pmaports/device/testing/linux-oppo-rmx2180/APKBUILD 

------------------------------------------------------------------------------------------------------

# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/arm64/configs/(CHANGEME!)

pkgname=linux-oppo-rmx2180
pkgver=4.9.19

# Source
_repository="android_kernel_realme_karashi"
_commit="d8616baefd8d28811bea04d3da4d1ff5930171c5"
_config="config-$_flavor.$arch"
source="
    $pkgname-$_commit.tar.gz::https://github.com/techyminati/$_repository/archive/$_commit.tar.gz
    $_config

"

------------------------------------------------------------------------------------------------------ 

nano ~/.local/var/pmbootstrap/cache_git/pmaports/device/testing/device-oppo-rmx2180/deviceinfo 

------------------------------------------------------------------------------------------------------

# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.

deviceinfo_format_version="0"
deviceinfo_name="realme c15"
deviceinfo_manufacturer="realme"
deviceinfo_codename="oppo-rmx2180"
deviceinfo_year="2020"
deviceinfo_dtb=""
deviceinfo_modules_initfs=""
deviceinfo_arch="aarch64"

# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="true"
deviceinfo_screen_width="800"
deviceinfo_screen_height="600"

# Bootloader related
deviceinfo_flash_method="fastboot"
##deleted emply lines

#autogenerated by boot_analyze
deviceinfo_kernel_cmdline="bootopt=64S3,32N2,64N2 buildvariant=user"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_pagesize="2048"
deviceinfo_header_version="2"
deviceinfo_append_dtb="false"
deviceinfo_flash_offset_dtb="0x07808000"
deviceinfo_flash_offset_base="0x40078000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x11a88000"
deviceinfo_flash_offset_second="0x00e88000"
deviceinfo_flash_offset_tags="0x07808000"

------------------------------------------------------------------------------------------------------ 


 default configs 

https://github.com/techyminati/android_kernel_realme_karashi/tree/android-10.0/arch/arm64/configs

https://raw.githubusercontent.com/techyminati/android_kernel_realme_karashi/android-10.0/arch/arm64/configs/karashi_defconfig


device tree

https://github.com/techyminati/android_device_realme_RMX2185/blob/lineage-18.1/BoardConfig.mk


config extractor 

https://raw.githubusercontent.com/torvalds/linux/master/scripts/extract-ikconfig

stock config

sh extract-ikconfig  ~/src/realme/stockboot/a95boot.img  >> mtk_config

https://raw.githubusercontent.com/kzwkt/c15mtk/main/mtk_config 

 

 

 cd ~/.local/var/pmbootstrap/cache_git/pmaports/device/testing/linux-oppo-rmx2180/

wget  https://raw.githubusercontent.com/techyminati/android_kernel_realme_karashi/android-10.0/arch/arm64/configs/karashi_defconfig

mv karashi_defconfig config-oppo-rmx2180.aarch64

 

pmbootstrap checksum linux-oppo-rmx2180

  


remove all patches from kernel apkbuild else wont build ::

 gcc7-give-up-on-ilog2-const-optimizations.patch
    gcc8-fix-put-user.patch
    gcc10-extern_YYLOC_global_declaration.patch
    kernel-use-the-gnu89-standard-explicitly.patch

 

---------------------------------------------------------------------------------------------

pmbootstrap kconfig edit 

warnings

[00:26:45] (native) generate checksums for linux-oppo-rmx2180
[00:26:46] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_ANDROID_PARANOID_NETWORK should *not* be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_ANDROID_PARANOID_NETWORK> for details.
[00:26:46] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_DEVTMPFS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_DEVTMPFS> for details.
[00:26:46] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_SYSVIPC should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_SYSVIPC> for details.
[00:26:46] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_TMPFS_POSIX_ACL should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_TMPFS_POSIX_ACL> for details.
[00:26:46] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_VT should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_VT> for details.
[00:26:46] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_USER_NS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_USER_NS> for details.

 

 

[03:21:47] Copy kernel config back to aport-folder
[03:21:49] (native) generate checksums for linux-oppo-rmx2180
[03:21:50] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: 

[03:21:50] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_CRYPTO_XTS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_CRYPTO_XTS> for details.
[03:21:50] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_DM_CRYPT should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_DM_CRYPT> for details.
[03:21:50] WARNING: linux-oppo-rmx2180/config-oppo-rmx2180.aarch64: CONFIG_TMPFS_POSIX_ACL should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_TMPFS_POSIX_ACL> for details.

 

 pmbootstrap kconfig check
[00:42:42] WARNING: linux-google-veyron/config-google-veyron.armv7: CONFIG_NFT_FIB should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NFT_FIB> for details.
[00:42:42] WARNING: linux-google-veyron/config-google-veyron.armv7: CONFIG_NFT_FIB_IPV4 should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NFT_FIB_IPV4> for details.
[00:42:42] WARNING: linux-google-veyron/config-google-veyron.armv7: CONFIG_NFT_FIB_IPV6 should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NFT_FIB_IPV6> for details.
[00:42:42] WARNING: linux-google-veyron/config-google-veyron.armv7: CONFIG_NF_CONNTRACK_MARK should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NF_CONNTRACK_MARK> for details.
[00:42:42] WARNING: linux-google-veyron/config-google-veyron.armv7: CONFIG_NETFILTER_XT_MATCH_TCPMSS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NETFILTER_XT_MATCH_TCPMSS> for details.
[00:42:42] WARNING: linux-google-veyron/config-google-veyron.armv7: CONFIG_NETFILTER_XT_TARGET_TCPMSS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NETFILTER_XT_TARGET_TCPMSS> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_WIREGUARD should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_WIREGUARD> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_IP_ADVANCED_ROUTER should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_IP_ADVANCED_ROUTER> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_IP_MULTIPLE_TABLES should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_IP_MULTIPLE_TABLES> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_IPV6_MULTIPLE_TABLES should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_IPV6_MULTIPLE_TABLES> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_NFT_FIB should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NFT_FIB> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_NFT_FIB_IPV4 should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NFT_FIB_IPV4> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_NFT_FIB_IPV6 should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NFT_FIB_IPV6> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_NF_CONNTRACK_MARK should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NF_CONNTRACK_MARK> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_BTRFS_FS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_BTRFS_FS> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_EXFAT_FS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_EXFAT_FS> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_NETFILTER_XT_MATCH_TCPMSS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NETFILTER_XT_MATCH_TCPMSS> for details.
[00:42:44] WARNING: linux-postmarketos-qcom-msm8998/config-postmarketos-qcom-msm8998.aarch64: CONFIG_NETFILTER_XT_TARGET_TCPMSS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_NETFILTER_XT_TARGET_TCPMSS> for details.
[00:42:46] kconfig check succeeded! 



https://www.kernelconfig.io/CONFIG_NF_TABLES?kernelversion=6.0-rc7



pmbootstrap checksum linux-oppo-rmx2180

pmbootstrap build linux-oppo-rmx2180

 

 

src::

https://wiki.postmarketos.org/wiki/How_to_find_device-specific_information

https://wiki.postmarketos.org/wiki/Porting_to_a_new_device





Comments

Popular posts from this blog

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone https://git.suckless.org/dwm xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim config.mk # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

Hidden Wiki

Welcome to The Hidden Wiki New hidden wiki url 2015 http://zqktlwi4fecvo6ri.onion Add it to bookmarks and spread it!!! Editor's picks Bored? Pick a random page from the article index and replace one of these slots with it. The Matrix - Very nice to read. How to Exit the Matrix - Learn how to Protect yourself and your rights, online and off. Verifying PGP signatures - A short and simple how-to guide. In Praise Of Hawala - Anonymous informal value transfer system. Volunteer Here are five different things that you can help us out with. Plunder other hidden service lists for links and place them here! File the SnapBBSIndex links wherever they go. Set external links to HTTPS where available, good certificate, and same content. Care to start recording onionland's history? Check out Onionland's Museum Perform Dead Services Duties. Introduction Points Ahmia.fi - Clearnet search engine for Tor Hidden Services (allows you

download office 2021 and activate

get office from here  https://tb.rg-adguard.net/public.php open powershell as admin (win+x and a ) type cmd  goto insall dir 1.         cd /d %ProgramFiles(x86)%\Microsoft Office\Office16 2.           cd /d %ProgramFiles%\Microsoft Office\Office16 try 1 or 2 depending on installation  install volume license  for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" activate using kms cscript ospp.vbs /setprt:1688 cscript ospp.vbs /unpkey:6F7TH >nul cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH cscript ospp.vbs /sethst:s8.uk.to cscript ospp.vbs /act Automatic script (windefender may block it) ------------------------------------------------------------------------------------------------------------------- @echo off title Activate Microsoft Office 2021 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&