Skip to content

Commit

Permalink
Removed incompatible kernel screen
Browse files Browse the repository at this point in the history
Change-Id: I5df2ed44370a2170ff3d189199966a0f04a24da4
  • Loading branch information
cosmicdan committed Jun 8, 2018
1 parent 2de6dff commit 4b08edc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ if file_getprop("/tmp/aroma_prompt.prop", "task") == "flash_slot_prompt" then
exit("");
endif;


# set device from ro.product.device prop, abort if not possible
setvar("device", sysprop("ro.product.device"));
if (!getvar("device") == "tissot" ) then
Expand All @@ -42,20 +41,6 @@ if (!getvar("device") == "tissot" ) then
exit("");
endif;

# check for treble compatible kernel, abort if not
setvar("isTrebleKernel", exec("/sbin/sh", "/tissot_manager/tools.sh", "isTrebleKernel"));
if getvar("isTrebleKernel")==1 then
ini_set("text_next", "Exit");
ini_set("icon_next", "");
textbox(
"Error",
"Incompatible Kernel",
"@warning",
"Tissot Manager only contains Treble related functions, but your kernel is not Treble-ready. Cannot continue."
);
exit("");
endif;

# Abort on hotboot
setvar("isHotBoot", exec("/sbin/sh", "/tissot_manager/tools.sh", "isHotBoot"));
if getvar("isHotBoot")==0 then
Expand Down
1 change: 1 addition & 0 deletions recovery/tissot_manager_resources/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<b>2.1</b>

<*>Fixed payload installer checking/printing the wrong source slot (should be boot slot instead of current slot)</*>
<*>Removed incompatible kernel screen</*>



Expand Down

0 comments on commit 4b08edc

Please sign in to comment.