hiphi: Introduce device and model spoofing

Co-authored-by: Zinadin Zidan <zidan44@pixelexperience.org>
Co-authored-by: TTTT555 <albukerko@gmail.com>
Co-authored-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
Co-authored-by: luk1337 <priv.luk@gmail.com>
Co-authored-by: sekaiacg <sekaiacg@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
7Soldier 2022-10-31 01:11:36 +03:00
commit ecce8592ee
3 changed files with 122 additions and 0 deletions

19
libinit/Android.bp Normal file
View file

@ -0,0 +1,19 @@
//
// Copyright (C) 2022 Team Win Recovery Project
//
// SPDX-License-Identifier: Apache-2.0
//
cc_library_static {
name: "libinit_hiphi",
recovery_available: true,
srcs: ["init_hiphi.cpp"],
whole_static_libs: ["libbase"],
include_dirs: [
"system/core/init",
"system/libbase/include"
],
shared_libs: [
"libbase",
],
}