TO INSTALL THE INT2EXT+ SCRIPT TO YOUR S5830i/m/c/39i YOU CAN USE ANY ROM, CUSTOM OR STOCK, BUT YOU MUST INSTALL A CUSTOM KERNEL, ON STOCK KERNEL IT DOESN'T WORK
Download the files below
*I have tested this script only with the [email protected] kernel and the cm7 kernel
If you dont have a sd-ext look how to do it on the point 1, if you already have a sd-ext look the point 2- how to increment the internal memory with INT2EXT+ script
1.How to Create a sd-ext
there are 2 options, via CLOCKWORKMOD or via PC
a- From CLOCKWORKMOD:
connect the device to the PC
-first you need to backup all your SD files on your PC
-copy the attached CLOCKWORKMOD to your SD card
-Turn your phone off
-enter to recovery mode pressing (volumen +), (volumen -) and (power button) at same time
-on recovey choose apply update from sd card
-select CLOCKWORKMOD.zip file
-select advanced
-Partition SD Card
-ext size (100mb internal is needed for every 500mb sd-ext, max 1024M)
-swap size choose 0
-finally wait until finish the SD formatting
b- From PC
-download & install EaseUSPartition Master (GOOGLE IT)
-connect the device to the PC
-backup all your SD files on your PC
-open EaseUSPartition
-click on partition manager(a window with all the PC partitions will open)
-rigth click on your sd partition and press format partition
-press ok on this window
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-rigth click on your sd partition again and choose Resize/Move Partition
-move the bar to set the sd-ext size(Max 1024Mb = 1Gb)
-press ok
-you will see someting like this
-rigth click on unallocated
-create partition
-if a wild warning window appears choose yes
- write a partition label
-on create as: choose primary
-on file system choose EXT
You can use ext 2/3/4
-press ok
-press apply
-if another wild window appears pres ok
-finally wait until apply the changes
2-How to increment the internal memory with INT2EXT script (NO NEED LINK2SD APP)
Prerequisites:
-Rooted Rom with init.d support
-SD-EXT partition
-100mb internal is needed for every 500mb sd-ext
SD Card Partitioning:
Partition 1 - Fat32
Partition 2 - Ext 2/3/4
-First you should to reinstall the rom (if you dont want to reinstall the rom you can try applying the wipes from CLOCKWORKMOD(wipe data, wipe cache & wipe dalvik + format sd-ext) or without any wipe just formatting sd-ext from CLOCKWORKMOD but its possible to brick the phone on this way, do it by your own risk )
-then you need to download the CLOCKWORKMOD.zip and the CronMod-INT2EXT+_signed.zip and copy them to the SD card
-turn off the phone
-enter to recovery mode pressing (volumen +), (volumen -) and (power button) at same time
-on recovey choose apply update from sd card
-select CLOCKWORKMOD.zip file
-mounts and storage
-mount /data (when it's mounted you can see, -unmount /data)
-mount /system (when it's mounted you can see, -unmount /system)
- install zip from sd
-choose zip from sdcard
-select CronMod-INT2EXT+_signed.zip
-wait until it installs
-mounts and storage
-format /sd-ext
-select yes
-finally wait until finish the sd-ext formatting
-reboot system now
-thats all :fingers-crossed:
from this:
to this:
ORIGINAL POST: http://forum.xda-developers.com/showthread.php?t=1716124
Credits to croniccorey for the scripts
P.D: Sorry for my bad english
DOWNLOADS:
CLOCKWORKMOD:View attachment ClockWorkRec.zip
CronMod-INT2EXT+: View attachment CronMod-INT2EXT+_signed.zip
Related
shhbz said:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Boot into clockwork recovery.
go to backup and restore -create a backup of your current rom (Note:If already backup has been done then avoid this step, backup created using amonra or thunderg wont support restoring using clockwork)
wipe data/factory reset
wipe cache partition
wipe dalvik cache
mount and storage-format system
go to mount and storage-format sd card
advanced-partition sd card-choose 512 mb (preferable)or 1024 mb (it automatically creates ext 4 partition, class 6/4 is preferred)
mount and storage-mount usb storage (make sure usb debugging is enabled)
copy the rom zip file to the root of your sd card
unmount
install zip from sd card-choose the rom zip and install
flashing takes 3-5 min
reboot
Click to expand...
Click to collapse
This is where I am having problems. I was trying to flash openOptimus build 1.172.1 yesterday. I followed these instructions and looked over ciaox instructions and they were nearly identical.
Prior to yesterday I have RevOidOptT build with francos kernal 2.6.32.41.
I followed the instructions and booted into ClockworkMod Recovery. When I went to "select zip from SD card" nothing was there because I had wiped everything per the instruction. That makes sense to me since I had to "wipe data/factory reset". What am I doing wrong so I can flash over openOptimus??
mentalityx said:
When I went to "select zip from SD card" nothing was there because I had wiped everything per the instruction. That makes sense to me since I had to "wipe data/factory reset".
Click to expand...
Click to collapse
'wipe data/factory reset' should wipe data present on the phone memory only. Not on the SD card. If the ROM is present on your SD card, then it should be available under the 'flash zip from SD card' menu.
mentalityx said:
This is where I am having problems. I was trying to flash openOptimus build 1.172.1 yesterday. I followed these instructions and looked over ciaox instructions and they were nearly identical.
Prior to yesterday I have RevOidOptT build with francos kernal 2.6.32.41.
I followed the instructions and booted into ClockworkMod Recovery. When I went to "select zip from SD card" nothing was there because I had wiped everything per the instruction. That makes sense to me since I had to "wipe data/factory reset". What am I doing wrong so I can flash over openOptimus??
Click to expand...
Click to collapse
Its cos you partitikned your sd card. It wipes it. Download onto a pc, mount usb under mounts and transfer over
Sent from my LG-P500 using XDA Premium App
If you followed those instructions then you would have formatted the sd card as well? Hence the zip file was deleted. Go to mounts>mount usb storage, connect your phone to pc, then copy the zip again.
Sent from my LG-P500 using XDA App
Thank you, thank you
teddybig said:
Its cos you partitikned your sd card. It wipes it. Download onto a pc, mount usb under mounts and transfer over
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
mihir287 said:
If you followed those instructions then you would have formatted the sd card as well? Hence the zip file was deleted. Go to mounts>mount usb storage, connect your phone to pc, then copy the zip again.
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Now this makes sense. Thank you all for helping me out. This never occurred to me. Another lesson learned. Im glad I had a copy of my SD card on my PC so I could start all over again.
Low internal storage is a very common and biggest problem with our device.
Can anyone who is well-versed with mobile hardware try using this method as reference to develop same method for our device?
http://forum.xda-developers.com/showthread.php?t=1867988
deysmacro said:
Hmm... this is quite interesting which i taught i want to show you guys this... screenshots taken from my streak 5 of course
When you guys see the red arrow pointing to what... you guys will know what i mean :victory:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----------------------------------------------------------
UPDATE:
While i was playing around today, i managed to get it like in the image below. See where the red arrow pointing at? Neat isnt it?
-----------------------------------------------------------
p/s: Using 16GB Kingmax class 10 microSDHC for internal and external sd
Click to expand...
Click to collapse
deysmacro said:
FIRST OF ALL:
You need to open the streak housing ... follow the link below and good luck.. be gentle and be careful .. just do it slow and steady and you will be ok ... no need to rush anything there ... :good:
http://www.ifixit.com/Teardown/Dell-Streak-Teardown/3512/1
------------------------------------------------------
NEXT - SELECT APPROPRIATE USER TYPE:-
LINUX USERS:
Just follow this link > http://forum.xda-developers.com/showpost.php?p=24799755&postcount=65
WINDOWS USERS:
first.. get this... http://www.alexpage.de/usb-image-tool/
make sure it is USB Image Tool 1.59 when you download...
next get gparted-live-0.13.1-2.iso
burn it to the CD...
- after you have extracted the usb image tool... open USB Image Tool.exe
- select the corresponding usb drive and click backup, save it something like streakinternal.img
- it will take some time to complete ( have instant noodle for the time being )
- once done... replace the sd card that you want to transfer the image to and click restore and select the earlier streakinternal.img
- again.. it will take some time to complete (you can have snack this time )
note: make sure the target sdcard is the same or bigger in size (obviously)...
- once completed...
- reboot your pc and insert the burned CD earlier... let it boot from it... just press enter to everything it ask until it fully loaded into linux environment
- gparted should already show your sdcard drive there... it should show /dev/sda1 and below it got two more partition /dev/sda5 (ext3) and /dev/sda6 (ext3)
- select /dev/sda1 and right click it and select move/resize
- there should be visual displaying the drive structure and on the right, there should be arrow, drag it to the most right, click ok
- now, select /dev/sda6 and right click it and select move/resize
- again, on it, there should be arrow on the right, drag it to the most right and click ok
- once all that done, click apply and it will start to do its work..
- let it completes it work and your sd card now should be able to be use as internal sd...
- your streak should be able to boot straight away.. no need to wipe cache or something like that...
- have fun having big internal sd
p/s: i wrote this based on my memory, i hope i dont messed it up
------------------------------------------------------
POSSIBLE FAQ:
-- 01 --
Q - Will the method used gone if i do factory reset?
A - Nope. You can safely do it and the structure will be maintained.
-- 02 --
Q - Can i use more than 16gb card?
A - Theoretically, yes.
-- 03 --
Q - Can we use this as sd storage as well?
A - Sorry. We cant because it is formated in ext3, so windows see it as unformatted medium.
-- 04 --
Q - Cant we create shortcut in external sd to access it?
A - Sorry. We cant because symlink does not work on any windows formatted medium since external sd usually formatted in fat32
-- 05 --
Q - Cant we mount this at all?
A - Somebody has tried it before but since the internal sd never meant to be accessed externally, the support is pretty much impossible.
-- 06 --
Q - How can we access it and where is it located?
A - To access the space, you can use root explorer and wifi file explorer (anything similar will do) and it is located at /data from /
Therefore, you must be rooted to access it.
-- 07 --
Q - So, what the hell am i supposed to do with those huge extra GBs?
A - Well, you can brag bout it to your friends, saying it got this huge internal sd space and can install hundreds of applications or games and still got space left for more.
------------------------------------------------------
MORE ADVANCED MODS.:
If you think having large innerSD is not enough, we could have larger /system dir and possible dual usb mount support by default (in the near future hopefully) for our streak 5.
Have a visit to the link below...
http://forum.xda-developers.com/showpost.php?p=31643924&postcount=98
-------------------------------------------------------
Our streak 5 might be old but it is still competitive regardless
.
Click to expand...
Click to collapse
Basically, there are 3 types of flash method for K900
SDFUSE
OTA Recovery
MFT (Manufacturing Flash Tool)
There is a lot of question, asking about why same version of VIBEROM_V1.0_1411_ST_K900 have so many method of flashing.
There are too many information from the general thread. so I create new thread here for beginner to understand more about flashing.
From my understanding, there are only one version ROM (eg. VIBEROM_V1.0_1411_ST_K900).
But there are a few format for different flashing method.
1) SDFUSE
This format usually flash by create sdfuse folder in internal SD. Normally for update ROM
Copy files system.img.gz, boot.bin, dnx_firmware.bin, etc. (or .inb file which is the one and only one file) into sdfuse folder.
Shutdown and boot up by pressing power + volume up for couple of seconds
select SDUpdate and press power to start.
After done select power off, then power on again. (direct reboot may cause boot loop)
2) OTA Recovery
The format of rom is in ZIP. The zip is signed and there will be checksum (SHA1 and MD5) during flash. so the zip is unable to modified before flashing.
this method normally for update ROM too.
Copy update.zip file into sd card (recommended is at root of SDCard) and shutdown.
Boot up by pressing power + volume up for couple of seconds, then select recovery.
wipe data / Factory reset and wipe cache partition ( optional, which will wipe all data in sdcard)
apply update from internal storage and select update.zip
system will reboot after done.
This does not works for me to upgrade to 4.3 where I am on Qubex Vibe ROM v4.
But there are a lot of K900 user able to flash original Vibe ROM v7 and follow the above method and upgrade successfully.
Refer this http://forum.xda-developers.com/showpost.php?p=51069544&postcount=3142 or
http://forum.xda-developers.com/showpost.php?p=51128922&postcount=3199
if you are using official Vibe Rom v7. There are a easier way to flash.
copy the downloaded OTA zip file into SD Card.
Go to System upgrade, swipe left get menu, and select tools.
Touch Install specified update package and browse for OTA Zip file in sd card.
Touch install Now.
3) MFT
This method require computer with driver and software installed and USB cable for sure.
Refer this http://forum.xda-developers.com/showpost.php?p=51162040&postcount=3245
I got this method successfully when I am on non-official Vibe rom.
Please correct me if I am wrong.
Thanks to Onesjy at lenovo forum.
http://bbs.lenovo.com/forum.php?mod=viewthread&tid=154595&extra=page=1
Edited:
From my experience, the MFT method is always succeed.
Url for latest 1418_DEV MFT : http://forum.xda-developers.com/showpost.php?p=52500023&postcount=3745
MFT
i know how to use it but where can i find Manufacturing Flash Tool 6.0.2??
As far reported to me by QuBeX the ADB mode is not working on that device... I guess for the issue we have with MFT, it is the only solution we can look for also because I haven't forum (and have to open it) a thread where to speak about the recovery of a stock ROM.
About the Method N.3, most of the compatibility issues are related to the OS you are working on.
For the Settings you have to apply what you see below...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
... about the libraries, instead, download that packages and replaces (if so) the files already present in the 32 / 64bit Windows' system folders: https://drive.google.com/file/d/0B282FXce0kggSHpHSDRROFNZaEU/edit?usp=sharing
You can find the Applications as well the Drivers you need directly starting from that shared folder: https://drive.google.com/file/d/0B282FXce0kggSHpHSDRROFNZaEU/edit?usp=sharing
imei changed to null
i tried to flash viberom using sdfuse method but after flashing imei changed to null how to retore it
help
TWRP Alpha build for MT2-L05(LianTong) TeamWin Recovery Project
Not working:
Could not handle Internal Storage properly, i.e., Wipe data will wipe internal storage as well.
Most of the text and even the config/build itself is copied from Modding.MyMind work on US version MT2L03. Thanks, Modding.MyMind
****ALPHA Version WARNING *** IMPORTANT *** MUST READ ****
Please note, due the structure of this phone storage, the Internal Storage (/storage/emulated/0 size 12GB) is actually shared with /data partition, and the mount point is /data/share, this is not same as google recommended value /data/media, and current TWRP code could not handle this properly. Also Modding.MyMind has PM'ed me that he probably will spend less and less time on XDA/development work, and I really lack of expertise/time on this one, so This build didn't resolve this issue. That's why I labeled this as ALPHA version.
Internal Storage /data/share /storage/emulated/0 size 12GB
External SDcard: /mnt/media_rw/sdcard1/ An SDCard is required to use this TWRP build and recommended 32GB or bigger.
For more information about this issue, please check TWRP article http://teamw.in/DataMedia, and please noted that it mentioned "A stock AOSP recovery would format data including the "sdcard" but TWRP will use its regular factory reset setup that leaves the internal storage intact" is not working in this TWRP alpha build., i.e., This TWRP will wipe your internal storage when you wipe data.
So, using this TWRP recovery, fact is:
. The backup target must select External Storage.
. Backup /data will include the internal storage, and this partition size will be ~12GB if uncompressed.
. Restore /data will override internal storage area.
. Wipe data (Factory Reset) will wipe internal storage as well.
Please read above carefully, and understand the risk of using this alpha build.
Recommended approach:
In your daily usage of the phone, try to save everything to external SDCard, or manually backup internal storage to external SDCard frequently.
When using TWRP, back/restore following partition is safe:
/boot
/recovery
/system
And always take caution when backup-restore /data, also, it is recommended check the compress option when do the /data backup.
Again, Many application may save files into Internal Storage including the pictures you taken, and files/songs you downloaded. So be aware of the risk of using this TWRP that may wipe the internal storage. If you are not clear/comfortable of this risk, please do not install this TWRP.
****ALPHA Version WARNING *** IMPORTANT *** MUST READ ****END****
Disclaimer: You are responsible for insuring you keep a backup of your stock recovery!
Steps for Backing up Stock Recovery:
within a terminal using dd (aka Data Destroyer);
Code:
su
dd if=/dev/block/mmcblk0p18 of=/mnt/media_rw/sdcard1/stockrecovery.img
TWRP for MT2-L05
Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Installation (PC):
- You MUST have an unlocked Bootloader!
- Download TWRP Recovery
- Boot to your Bootloader
- Plug your device to your PC
- Open Command Window
- Type, then Enter:
Code:
fastboot flash recovery /path/to/TWRP.img
Download:
- TWRP 2.8.0.0
File name: TWRP_MT2L05_Alpha.img
File size: 11,040,768
md5sum: b8832fc6dfd5d6e47e63ba7f7e047518
CONTRIBUTORS
@Modding.MyMind
@xordos
And thanks @4L0M for the testing that is dangerous due to the nature of twrp
SOURCES
- Recovery built in a OmniRom 4.4.4 environment using device trees/kernel
- Stock Kernel
- TWRP source from Omnirom
- MT2-L05 Device Configuration Folder - My Github
VERSION INFORMATION
- Status: ALPHA
- Created 2014-10-03
- Last Updated 2014-10-29
//reserved
Great work. If anyone could help finish this project off, I am more than happy to keep testing. If we can get this recovery fully working, then I think we would be far closer to understanding how to port kitkat to the MT2-L03 devices.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yes, I do have an idea/workaround for this issue, and hopefully open this discussion thread can get more idea/evaluation going on.
The /data/share folder is treated as internal storage, but twrp is hard coded /data/media in many many places. So maybe we can rename 'share' to 'media' when boot into twrp, then rename back before reboot. But the 2nd part may not easy to guarantee. If it get into normal OS booting, it may cause confusion even damage.
So I am not like this workaround even myself.
disregard...
I think B606 breaks recovery. After I update to B606 and reinstall TWRP, it just hangs on splash screen every time I try to enter recovery.
Hi, i flashed the recovery using fastboot and then i tried to reboot into recovery but the phone just reboot after 1 try. here is my bootloader screen. Plz tell me how to root this phone. Its unlocked but i'm unable to root it.
Hello,
I need help for TWRP on my Samsung Galaxy A20e. My device is rooted for a while and TWRP is newly installed. But the problem is when I try to backup something, I got an error while creating the folder TWRP with the mension of operation not permited. I also have a problem when I touch the Install button, I see a list of folders with random generated names like in the photo. Can anybody help me to solve this problem? I can give more informations if needed.
Thanks for helping !
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
your device is encrypted. you must disable encryption and factory reset device in order to become TWRP functional, as TWRP cannot handle samsung encryption. or use other backup method such as Migrate.
Ok I tried what you wrote but it works only while I don't boot my device after factory reset it. If it happens, the encryption enables automatically and I can't backup anymore. Do you have a solution for this ?
you must disable encryption in /vendor/etc/fstab.samsungexynos7884
(can maybe done with zip)
https://forum.xda-developers.com/t/recovery-unofficial-twrp-3-4-0-0-for-galaxy-a20e-a202f.4141767
How am I supposed to do that ? I tried everything with this file. There is a mount option for /data "filencryption=ice". I tried to delete this with a file editor in the stock system but when I reboot my phone it reappears. When I this this in TWRP the system can't boot.
https://forum.xda-developers.com/t/recovery-unofficial-twrp-3-4-0-0-for-galaxy-a20e-a202f.4141767
Click to expand...
Click to collapse
This link cannot help me because it is just a tutorial and when I do exactly like in i get the same results. I don't unerstand why my phone has this problem and not others. If you have other ideas i would be good
there is download for Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip flashable zip which is supposed to patch fstab (last step in tutorial). you must mount system/vendor writeable (checkbox in TWRP)
aIecxs said:
there is download for Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip flashable zip which is supposed to patch fstab (last step in tutorial). you must mount system/vendor writeable (checkbox in TWRP)
Click to expand...
Click to collapse
I tried installing this zip file from the SD card but it didn't boot (locked on samsung logo) so I did a factory reset with TWRP and after configuring, I got the same results than before.
- in TWRP double check your vendor partition is separate partition (or directory inside system partition)
- in TWRP terminal make sure partition is mounted rw
Code:
mount /system w
mount /vendor w
mount
- install Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
- in TWRP terminal double check fstab.samsungexynos7884 file fileencryption= flag is gone
Code:
cat /vendor/etc/fstab.*
- in TWRP - wipe - format data - type yes
Thanks for the instructions. It works perfectly ! I am just an idiot because I didn't wipe /data in TWRP but I just swiped to factory reset. Thank you a lot !
maybe I was misleading you with factory reset. might be that TWRP factory reset just behaves like simple wipe, where only files are deleted excluding /data/media
formatting whole partition is required for removing encryption.
edit: Please note if you're interested in undo the patch, you must restore vendor partition. you can of course add the fileencryption= flag back with text editor yourself. However that requires linux line endings (LF) so you can't use Windows text editor (CRLF) that's why you should use Notepad++ and enable view for invisible chars with (π) button. Do not simply copy file back into /vendor you will lose file permissions. Do not use sed you still would lose secontext. only copy content of file into old existing file like this.
Code:
cat /tmp/fstab.new > /vendor/etc/fstab.samsungexynos7884
Btw if you're running custom ROM (such as LineageOS) it's possible to break samsung encryption and use AOSP encryption as fallback by deleting keystore.mdfpp.so and keystore.msm8953.so from /vendor/lib/hw. This way you can use TWRP on encrypted device.