Adding Edl button in reboot menu
Edl mode is available only on qualcomm devices and it used to fully restore the bricked devices. I made the button available only if TW_HAS_EDL_MODE := true like the download button. I set the edl button to the right of the download button, so devices can support edl button and download button. I also added the translation for all languages. Change-Id: I69d1058b8c050b722395c7b3da6dce1ccfbe7a91
This commit is contained in:
committed by
Ethan Yonker
parent
08f91e84e0
commit
e9a49efe75
4
data.cpp
4
data.cpp
@@ -722,6 +722,10 @@ void DataManager::SetDefaultValues()
|
||||
printf("TW_HAS_DOWNLOAD_MODE := true\n");
|
||||
mConst.SetValue(TW_DOWNLOAD_MODE, "1");
|
||||
#endif
|
||||
#ifdef TW_HAS_EDL_MODE
|
||||
printf("TW_HAS_EDL_MODE := true\n");
|
||||
mConst.SetValue(TW_EDL_MODE, "1");
|
||||
#endif
|
||||
#ifdef TW_INCLUDE_CRYPTO
|
||||
mConst.SetValue(TW_HAS_CRYPTO, "1");
|
||||
printf("TW_INCLUDE_CRYPTO := true\n");
|
||||
|
||||
Reference in New Issue
Block a user