repack: move sbin to /system ramdisk and update repacking
for android-10 This will support updating the ramdisk to a different compression format and co-exist with magisk. We are also cleaning up and removing non android-10 api makefile actions. We are also moving twrp repacking to its own class. We check the new ramdisk format and if it's different we have magisk compress using the new ramdisk format. Change-Id: I770030aae7797e75817178b2f0fccd9f39dc23af
This commit is contained in:
2
data.cpp
2
data.cpp
@@ -917,7 +917,7 @@ void DataManager::SetDefaultValues()
|
||||
|
||||
mData.SetValue("tw_enable_adb_backup", "0");
|
||||
|
||||
if (TWFunc::Path_Exists("/sbin/magiskboot"))
|
||||
if (TWFunc::Path_Exists("/system/bin/magiskboot"))
|
||||
mConst.SetValue("tw_has_repack_tools", "1");
|
||||
else
|
||||
mConst.SetValue("tw_has_repack_tools", "0");
|
||||
|
||||
Reference in New Issue
Block a user