Hovatek Forum DEVELOPMENT Android [Please help] TWRP recovery for Elephone A4
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


[Please help] TWRP recovery for Elephone A4

[Please help] TWRP recovery for Elephone A4

Pages (3): 1 2 3 Next
gigi_13579
gigi_13579
gigi_13579
Enthusiastic Member
10
25-06-2018, 07:40 PM
#1



Hello,

I tried to port TWRP to my new A4 ( which is Android 8.1 on MTK6739) using MTK Auto TWRP recovery porter 1.2,
but the recovery won't boot, the device just freezes on bootscreen then reboots after a few seconds.
(Tested with recovery.img from Stock ROM and with backed up recovery from my phone, same result on both)

I noticed that after patching the porter tool says something like "DM_Verity found, You'll need to patch boot.img"
If this is the source of the problem, What do I need to do?

Thanks in advance!
hovatek
hovatek
hovatek
Administrator
49,570
26-06-2018, 05:35 PM
#2
(25-06-2018, 07:40 PM)gigi_13579 Hello,

I tried to port TWRP to my new A4 ( which is Android 8.1 on MTK6739) using MTK Auto TWRP recovery porter 1.2,
but the recovery won't boot, the device just freezes on bootscreen then reboots after a few seconds.
(Tested with recovery.img from Stock ROM and with backed up recovery from my phone, same result on both)

I noticed that after patching the porter tool says something like "DM_Verity found, You'll need to patch boot.img"
If this is the source of the problem, What do I need to do?

Thanks in advance!

I thought as much.
There are two possible things that might have been wrong:
1. 8.1 could either be 8.1 or 8.1 Go Edition. For Go Edition users, they forget to select 8.1g and select 8.1 instead. If yours isn't Go Edition then ignore this
2. DM Verity presence. If there's DM Verity then your device will reject the TWRP untill boot.img is patched.
Upload the boot.img so we can patch it . You first need to flash the patched boot.img then boot up. If the phone boots up fine, you can then proceed to flash the TWRP

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
gigi_13579
gigi_13579
gigi_13579
Enthusiastic Member
10
26-06-2018, 07:06 PM
#3
(26-06-2018, 05:35 PM)hovatek
(25-06-2018, 07:40 PM)gigi_13579 Hello,

I tried to port TWRP to my new A4 ( which is Android 8.1 on MTK6739) using MTK Auto TWRP recovery porter 1.2,
but the recovery won't boot, the device just freezes on bootscreen then reboots after a few seconds.
(Tested with recovery.img from Stock ROM and with backed up recovery from my phone, same result on both)

I noticed that after patching the porter tool says something like "DM_Verity found, You'll need to patch boot.img"
If this is the source of the problem, What do I need to do?

Thanks in advance!

I thought as much.
There are two possible things that might have been wrong:
1. 8.1 could either be 8.1 or 8.1 Go Edition. For Go Edition users, they forget to select 8.1g and select 8.1 instead. If yours isn't Go Edition then ignore this
2. DM Verity presence. If there's DM Verity then your device will reject the TWRP untill boot.img is patched.
Upload the boot.img so we can patch it . You first need to flash the patched boot.img then boot up. If the phone boots up fine, you can then proceed to flash the TWRP

OK, here is the stock boot.img:

dropbox.com/s/0yjec8lv1eufzox/boot.img?dl=0
hovatek
hovatek
hovatek
Administrator
49,570
27-06-2018, 09:41 AM
#4
(26-06-2018, 07:06 PM)gigi_13579 OK, here is the stock boot.img:

dropbox.com/s/0yjec8lv1eufzox/boot.img?dl=0

There's definitely DM_verity.
Here's what you can try. Patch boot.img using Magisk @ https://www.hovatek.com/forum/thread-21427.html . That will take care of both DM_verity and giving you root.
Flash the patched_boot.img after renaming to boot.img thn you can flash the TWRP
This post was last modified: 27-06-2018, 09:43 AM by hovatek.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
gigi_13579
gigi_13579
gigi_13579
Enthusiastic Member
10
27-06-2018, 06:12 PM
#5



Thanks for the advice!
After patching boot.img with Magisk and flashing it to the phone, it boots up fine and root is working as expected.
However, TWRP still refuses to start :-(

Is there something else I could try?
hovatek
hovatek
hovatek
Administrator
49,570
28-06-2018, 10:22 AM
#6
(27-06-2018, 06:12 PM)gigi_13579 Thanks for the advice!
After patching boot.img with Magisk and flashing it to the phone, it boots up fine and root is working as expected.
However, TWRP still refuses to start :-(

Is there something else I could try?

Select 8.1g in the tool instead of 8.1

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
gigi_13579
gigi_13579
gigi_13579
Enthusiastic Member
10
28-06-2018, 07:47 PM
#7
(28-06-2018, 10:22 AM)hovatek Select 8.1g in the tool instead of 8.1

Tried it. Same result unfortunately.
hovatek
hovatek
hovatek
Administrator
49,570
29-06-2018, 11:05 AM
#8
(28-06-2018, 07:47 PM)gigi_13579 Tried it. Same result unfortunately.

We're looking at a manual port then.
Provide stock recovery.img, boot.img and Kernel version

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
gigi_13579
gigi_13579
gigi_13579
Enthusiastic Member
10
29-06-2018, 09:29 PM
#9
(29-06-2018, 11:05 AM)hovatek We're looking at a manual port then.
Provide stock recovery.img, boot.img and Kernel version

Here they are:
dropbox.com/s/rg80y9414plyffs/boot_recovery.zip?dl=0
xerxes
xerxes
xerxes
Senior Member
8,355
30-06-2018, 01:00 PM
#10



(29-06-2018, 09:29 PM)gigi_13579
(29-06-2018, 11:05 AM)hovatek We're looking at a manual port then.
Provide stock recovery.img, boot.img and Kernel version

Here they are:
dropbox.com/s/rg80y9414plyffs/boot_recovery.zip?dl=0

what's the kernel version?
Pages (3): 1 2 3 Next
Users browsing this thread:
 2 Guest(s)
Users browsing this thread:
 2 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram