Rockchip customizes vendorstorages data and then u-boot passes the data to the kernel through cmdline

Recently I have been thinking about some interesting functions, such as customizing logos, dynamically updating screen parameters, dynamically switching dts and other functions (although I have done it on the mtk platform before, but the platform is different and it has been a long time ago), so I have been researching it for the past […]

The loading of the first screen is too slow due to the large chunk-vendors in the front-end project. The optimization scheme of chunk-vendors in Vue Build…

1. compression-webpack-plugin plug-in packs .gz files Installing the plug-in can also specify the version. I downloaded the 1.1.2 version here. I have tried a higher version and there will be an ES6 syntax error, because my node uses v12. If the node version is higher You can try a higher version npm install –save-dev compression-webpack-plugin […]

Spreadtrum camera add setting item (VendorTag)

Add a custom watermark switch as an example: Bottom Add diff –git a/vendor/sprd/modules/libcamera/common/inc/cmr_common.h b/vendor/sprd/modules/libcamera/common/inc/cmr_common.h index a83a90eb89d..ef6a1bedf47 100755 — a/vendor/sprd/modules/libcamera/common/inc/cmr_common.h + + + b/vendor/sprd/modules/libcamera/common/inc/cmr_common.h @@ -2067,6 + 2067,7 @@ enum camera_param_type {<!– –> CAMERA_PARAM_SPRD_CALLBACK_EXPO_TIME, CAMERA_PARAM_SPRD_CALLBACK_SENSITIVITY, CAMERA_PARAM_SPRD_CALLBACK_AE_MODE, + CAMERA_PARAM_SPRD_CUSTOMIZE_WATERMARK_ENABLED, //bv zhoudengfu add for customize water mark 20230627 CAMERA_PARAM_TYPE_MAX }; diff –git a/vendor/sprd/modules/libcamera/hal3_2v6/SprdCamera3Channel.cpp b/vendor/sprd/modules/libcamera/hal3_2v6/SprdCamera3Channel.cpp index 3e1ca323490..b8cb7891f55 100755 — […]

VendorStorage of Rockchip series adds framework system jni+service interface access (3)

Directory 1. Create a JNI interface 2. Create an Android Service 3. Summary ? This article mainly introduces how to use JNI interface to access VendorStorage service in Rockchip series chips, and provide these access interfaces for applications by creating Android Service. Below are some core steps. 1. Create a JNI interface I created two […]

Modify Android System.img Vendor.img Cust.img and flash back to quickly customize Rom

Modify Generally speaking Both system.img and cust.img can easily delete apps, and customize some binary bins or boot scripts Multi Image Kitchen is an open source tool for modifying Android system image files. It supports modification of various image files such as img, dat, system.new.dat, etc. Software function support scope Drag & amp; drop the […]

Android AOSP compile vendor.img

The vendor.img file in the AOSP source code is not compiled by ourselves, but the compiled vendor.img by Google file, when compiling the AOSP source code, the vendor.img file will be copied to the out/target/product// directory. If we need to modify fingerprint, etc., we need to unpack and recompile the vendor.img file. 1. Environment preparation […]

rk_vendor_rw sets a flag stored in EMMC

The system modification calls the vendor partition API to set a flag stored in EMMC 1. Frame diagram 2. Set item_id The first 16 IDs have specific functions and need to be selected later. 3. Source code //rk_vendor_rw.c #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <unistd.h> #include “vendor_base.h” #ifndef FALSE #define FALSE 0 #define TRUE […]

[Solved] Resolve pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool

Solve pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out problem Install torch with the command: pip3 install torch==1.10.0 + cu113 torchvision==0.11.1 + cu113 torchaudio===0.10.0 + cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html – i http://mirrors.aliyun.com/pypi/simple/ –trusted-host mirrors.aliyun.com At this time, the error is reported: pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=’download.pytorch.org’, port=443): Read timed out. 2. Analyze the cause of the problem (1) There is a […]

[Solved] vue-cli solves IE browser chunk-vendors.js prompts sockjs-client error

IE browser chunk-vendors.js reported sockjs error Click on the error location /***/ “./node_modules/sockjs-client/dist/sockjs.js”: /*!************************************************ ****!*\ !*** ./node_modules/sockjs-client/dist/sockjs.js ***! \************************************************ ***/ /*!no static exports found */ /***/ (function(module, exports, __webpack_require__) { Correct solution Reduce the version of sockjs-client, its dependencies are described in package-lock.json, if this happens, your version may be higher than the version given […]

[Solved] npm error node-sass\vendor\win32-x64-83\binding.node

Error Missing binding node_modules\\ ode-sass\vendor\win32-x64-83\binding.node Node Sass could not find a binding for your current environment: Windows 64-bit with Node.js 14.x Found bindings for the following environments: – Windows 64-bit with Node.js 14.x This usually happens because your environment has changed since running `npm install`. Run `npm rebuild node-sass` to download the binding for your […]