Home Forum Blog Private Support Courses
Our courses are now on YouTube! Start Watching
Hovatek Forum OPERATING SYSTEMS Android Please correct the errors left after i ported twrp for my devise SM-A920F please sir

Please correct the errors left after i ported twrp for my devise SM-A920F please sir

Please correct the errors left after i ported twrp for my devise SM-A920F please sir

Pages (3): 1 2 3 Next
Poll: Do you want twrp for sm-a920f(galaxy a9 2018) ?
You do not have permission to vote in this poll.

Yes
100.00%
Votes 1
No
0%
Votes 0
 
Total 1 vote(s) 100%
LUCID_DREE
LUCID_DREE
LUCID_DREE
Junior Member
32
21-05-2021, 04:19 PM
#1



NOTE: STOCK RECOVERY OF GALAXY A9 2018(SM A920F), TWRP OF SAMSUNG A8 STAR , ERRONEOUS PORTED TWRP FOR A920F 2018 FROM A8 STAR , AND , LOGS OF MY PORTED RECOVERY ARE AVAILABLE AT THE LINK POSTED AT THE END.

I downloaded twrp of samsung a8 star 2018 as it has almost same specifications as my device samsung galaxy a9 2018(sm-a920f) . I ported the twrp from the a8 star 2018 model to a9 2018 model. After i ported twrp manually, using guides available on Internet, I booted into the ported twrp successfully and it displayed it interface. But some minor issues are to be fixed to make it fully functional . I need your help in this part pls.

2 conclusions are:

1)the touch was not working when I flashed a8 star's original twrp without porting. But still I was able to enter the twrp and I saw the interface but I couldn't interact with it as touch didnt work.

2) after porting the a8 star's original twrp, touch started working and the issues persisting are the following:
i)most mount points are wrong ( a picture of log is available at the link I have left at the end

ii)opening terminal only displays a blank black screen

iii)I can't select many partitions when I tap on backup (possibly caused by wrong or incomplete mount points)

iv) I can't change brightness in twrp even though I swipe the slider to extreme left for lowest brightness

v)size of internal storage and sd card is showing as zero( possible due to incorrect and incomplete mount points)

vi)I can't access internal storage and sd card through file manager of twrp(also caused possibly by erroneous mount points)

ALL REQUIRED FILES AT :
https://drive.google.com/folderview?id=1...YOTunrxRtp
This post was last modified: 23-05-2021, 12:43 PM by LUCID_DREE.
LUCID_DREE
LUCID_DREE
LUCID_DREE
Junior Member
32
21-05-2021, 04:23 PM
#2
Pls help sir
This post was last modified: 21-05-2021, 04:46 PM by LUCID_DREE.
hovatek
hovatek
hovatek
Administrator
50,906
22-05-2021, 11:52 AM
#3
(21-05-2021, 04:19 PM)LUCID_DREE ...

get the correct mount points for various partitions from stock recovery ramdisk/etc/recovery.fstab
replace the mount point values in twrp ramdisk/etc/*fstab

Note
you should keep twrp fstab's structure
you can delete any partition's line from twrp fstab that doesn't exist in stock recovery fstab and you can add those that exist in stock recovery fstab

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
hovatek
hovatek
hovatek
Administrator
50,906
22-05-2021, 11:56 AM
#4
this post @ https://www.hovatek.com/forum/thread-261...#pid157341 might help you fix / change brightness

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
LUCID_DREE
LUCID_DREE
LUCID_DREE
Junior Member
32
22-05-2021, 01:50 PM
#5

Mediatek Course Mediatek Course


(22-05-2021, 11:52 AM)X3non
(21-05-2021, 04:19 PM)LUCID_DREE ...

get the correct mount points for various partitions from stock recovery ramdisk/etc/recovery.fstab
replace the mount point values in twrp ramdisk/etc/*fstab

Note
you should keep twrp fstab's structure
you can delete any partition's line from twrp fstab that doesn't exist in stock recovery fstab and you can add those that exist in stock recovery fstab
Sir I have added all mount points from stock recovery to twrp one but still the 3 partions have 0 mb size in twrp , these are internal storage, microsd and data PARTITION. Sir also there is no twrp.fstab but only recovery.fstab. Pls help sir
This post was last modified: 23-05-2021, 03:24 AM by LUCID_DREE.
hovatek
hovatek
hovatek
Administrator
50,906
23-05-2021, 06:19 PM
#6
(22-05-2021, 01:50 PM)LUCID_DREE Sir I have added all mount points from stock recovery to twrp one but still the 3 partions have 0 mb size in twrp , these are internal storage, microsd and data PARTITION. Sir also there is no twrp.fstab but only recovery.fstab. Pls help sir

userdata and internal storage ; see https://www.hovatek.com/forum/thread-30160.html

external sd, you can try the mount point below
Code:

/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="external_sd";storage;wipeingui;removable;fsflags="utf8"

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
LUCID_DREE
LUCID_DREE
LUCID_DREE
Junior Member
32
31-05-2021, 09:57 AM
#7
I can't access internal storage,SD card, or data partition in TWRP after I ported it from other phone. It started to show the available size instead of the 0 mb error when I flashed force disabler DM verity zip to data partion using ex kernel manager APK, after that system seems a little scrambled. But still I can't access the folders in TWRP. TWRP is saying permission denied.
This post was last modified: 02-06-2021, 06:43 PM by LUCID_DREE.
Attached Files
.jpg
20210530_115136.jpg
Size: 694.89 KB / Downloads: 63
.jpg
20210530_033329.jpg
Size: 692.67 KB / Downloads: 53
.jpg
20210530_113401.jpg
Size: 488.79 KB / Downloads: 55
.jpg
20210530_120348.jpg
Size: 665.79 KB / Downloads: 54
.txt
stock-recovery.fstab.txt
Size: 3.26 KB / Downloads: 67
.txt
twrp-recovery(unmodified).fstab.txt
Size: 1.14 KB / Downloads: 60
.txt
twrp-recovery(modified).fstab.txt
Size: 1.91 KB / Downloads: 72
hovatek
hovatek
hovatek
Administrator
50,906
01-06-2021, 11:37 AM
#8
(31-05-2021, 09:57 AM)LUCID_DREE I can't access internal storage,SD card, or data partition in TWRP after I ported it from other phone. It started to show the available size instead of the 0 mb error when I flashed force disabler DM verity zip to data partion using ex kernel manager APK, after that system seems a little scrambled. But still I can't access the folders in TWRP. TWRP is saying permission denied.

also attach the fstab from stock recovery and if possible the fstab from the port twrp you used
This post was last modified: 01-06-2021, 11:38 AM by X3non.

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
LUCID_DREE
LUCID_DREE
LUCID_DREE
Junior Member
32
01-06-2021, 11:41 AM
#9
(01-06-2021, 11:37 AM)X3non
(31-05-2021, 09:57 AM)LUCID_DREE I can't access internal storage,SD card, or data partition in TWRP after I ported it from other phone. It started to show the available size instead of the 0 mb error when I flashed force disabler DM verity zip to data partion using ex kernel manager APK, after that system seems a little scrambled. But still I can't access the folders in TWRP. TWRP is saying permission denied.

also attach the fstab from stock recovery and if possible the fstab from the port twrp you used
Ok sir I have added
hovatek
hovatek
hovatek
Administrator
50,906
02-06-2021, 10:54 AM
#10
(01-06-2021, 11:41 AM)LUCID_DREE Ok sir I have added

you didn't include the twrp's (unmodified) fstab, while at it, you can try the attached fstab
This post was last modified: 02-06-2021, 11:11 AM by X3non.
Attached Files
.txt
recovery.fstab.txt
Size: 1.53 KB / Downloads: 86

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
Pages (3): 1 2 3 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
WhTlYt