FORUMS

[RECOVERY][SM-N960F/N] TWRP for Galaxy Note9 [3.3.1][F2FS][LZMA][UNOFFICIAL]

405 posts
Thanks Meter: 883
 
By 3arthur6, Senior Member on 13th May 2019, 09:35 PM
Thread Closed Email Thread
TWRP
aka Team Win Recovery Project





First of all :
  • FOR EXYNOS ONLY
  • By flashing custom binaries, such as twrp, you will trip knox, loose your warranty and all Samsung Knox features FOREVER.
  • Firmware-Over-The-Air will no long works with custom binaries.
  • You have to enable "OEM Unlock" from developers settings.
  • Don't flash it if you don't understand the previous points.


• Download links :
• Changelogs : Post 2

• Guide : @geiti94's guide

• Device tree : android_device_samsung_crownlte

• Kernel source : android_kernel_samsung_crownlte

• Known bugs :
  • No data decryption
  • Boot delay with f2fs

• Credits :
Informations
Status : Stable
Created : 2019-05-13
Last edited : 2019-05-08
The Following 31 Users Say Thank You to 3arthur6 For This Useful Post: [ View ] Gift 3arthur6 Ad-Free
13th May 2019, 09:36 PM |#2  
OP Senior Member
Thanks Meter: 883
 
More
Changelogs :
  • Betas

Beta1 :
  • Removed unused and space hungry System Image backup option
  • Vendor is no more backed up as disk image, save more space in back up
  • Tried to get better read/write external sdcard speeds
  • Improved MTP compatibility (USB connection), closer to aosp

Beta2 :
  • Backups from previous TWRP versions are now fully supported
  • F2FS support
  • Reduced image size
  • Possibly better i/o speeds
  • Others minors improvements

Beta3 :
  • Fixed backups restoration issue (reverted back from 9 to 8.1 build platform for now)
  • Switched to LZMA compression (about 33% smaller)
  • Disabled twrp app install prompt (sorry for their authors but this is very annoying)
  • Other minors improvements

Beta4 :
  • Fixed FAT32 support
  • Add NTFS support
  • Add lot of partitions to backup/restore/wipe
  • Experimental : Started to introduce an option to full backup data, including internal storage. The best way to switch between ext4 and f2fs. The checkbox is in the setting but it doesn't work for now.

Beta5 :
  • Updated to TWRP 3.3.1-0
  • Builded on Pie platform (since backups restoration works perfectly now) which brings lot of improvements
  • Removed all modifications related to experimental full data backup
  • Possibly fixed F2FS boot lag

  • Old releases

Release 1.1 :
  • Switched to ELS kernel, more up to date, this is the most significant part of this update
  • Synced with latest omni and twrp commits
  • Cleanedup device tree ( see sources above )
  • Implemented the LineageOS DTB image builder for more kernel compatibility (builder will understand)
  • Switched to gcc-9.1.1 toolchain for kernel compilation part
  • Deeply improved r/w speeds, at least in internal memory, globally +25% in average. It can reach 90MB/s during a backup saved in internal storage. ( Tests showed pics at 190MB/s in optimal condition )
  • Fixed F2FS twrp boot delay -> Seems to be related to cache partition with F2FS
  • Doubtless more things I forgot and will add later
  • r1.1 : Prevention for some graphical issues

Release 2 :
  • Less or not at all glitches
  • 95% of zip issues solved ( you can now flash devbase or all the others roms )

Release 2.1 :
  • TWRP source and ELS kernel source updated
  • Gcc kernel cross-compiler updated
  • Minors kernel improvements
  • Others minors improvements


Release 3 :
  • Finally fixed all zip issue (Thanks to yarpiin for the help)
  • TWRP source updated
  • Switched to jesec kernel
  • Switched to cfq i/o scheduler
  • Minors improvements
  • Edit: Big omission to mention, based on omni 8.1

Release 3.1 :
  • Finally fully working omni 9 twrp

Release 3.2 :
  • Switch to stock samsung kernel source (latest CSI3)
  • Deeply reduced size by removing sound, ethernet, tcpip and lot of other useless drivers and stuff for twrp (Around 7MB less)
  • Update to gcc 10 cross-compiler for kernel part
  • Fixed toybox which now replaces and updates busybox
  • Changed MTP device name (Windows users will have to uninstall the phone from device manager then unplug/plug to see effects)
  • Other minor improvements

Release 3.3 :
  • Fixed unzip fail with some zips by replacing it with precompiled UnZip/InfoZip 6.0
  • Fixed flashing .img on odm partition

Release 3.4 :
  • Definitively fixed flashing .img on odm partition
  • Removed unusable encrypted backup option
  • Add an option to prevent samsung account and lockscreen loop issue in the zip install page - I strongly advise to check the box when flashing a kernel

Release 3.5 :
  • Add a workaround for the (too) common busybox calls
  • Add the secured kernel flash checkbox for image flash

Release 3.6 :
  • Synced to last sources
  • Switch to busybox which should fix most of zip flash issues
  • Fix screenshots color
  • Move secured kernel flash checkbox in settings

Release 3.7_q :
  • Add support for system as root introduced in One UI 2 beta - Don't use it with android Pie
  • For devs : in line with twrp, system partition mount point as moved to /system_root and android system folder is symlinked at /system, some changes are needed to keep compatibility

Release 3.8_q :
  • Synced to last source
  • Updated kernel to DTA1 source
  • Finally support almost all roms & zips
  • Fixed dmesg

Release 3.9_q :
  • Synced to DTA5 kernel source with latest linux stable upstream (4.9.214)
  • Clang compiled kernel
  • Reworked system mounting, it should be more rom compliant

Release 4.0_q :
  • Synced to DTCA and 4.9.218 kernel source
  • Fixed lockscreen/samsung account issue patch
[/LIST]Release 4.0.1_q :
  • Fixed not clang compiled kernel in r4.0

  • Last release

Release 4.1 :
  • Removed my hardcoded force system as root mount stuff (All AOSP 10 based and some OneUI roms (as DevBase) have now merged proper SAR support)
  • Merged some SAR related commits which unified Q and Pie support
  • Synced to last kernel and recovery sources
  • Fixed unencryptable data partition after format


The Following 20 Users Say Thank You to 3arthur6 For This Useful Post: [ View ] Gift 3arthur6 Ad-Free
13th May 2019, 09:44 PM |#3  
azZA_09's Avatar
Senior Member
In your mind
Thanks Meter: 382
 
More
Fiiiiirst. Great twrp!
The Following User Says Thank You to azZA_09 For This Useful Post: [ View ] Gift azZA_09 Ad-Free
13th May 2019, 09:49 PM |#4  
Senior Member
Flag Athens
Thanks Meter: 239
 
More
After updating to beta 3 i cannot see in twrp the fat32 external card 200gb sandisk. I see the internal f2fs sdcard. With beta 1and 2 it was the opposite. Why is that???

Sent from my [device_name] using XDA-Developers Legacy app
13th May 2019, 10:26 PM |#5  
OP Senior Member
Thanks Meter: 883
 
More
Quote:
Originally Posted by karapoutsoglou

After updating to beta 3 i cannot see in twrp the fat32 external card 200gb sandisk. I see the internal f2fs sdcard. With beta 1and 2 it was the opposite. Why is that???

Sent from my [device_name] using XDA-Developers Legacy app

It will be fixed in next release. Sorry for that!
But seriously why do you use this sh*t?! Go to exFat!
At least you point it out this issue!
I will upload in few hours.
The Following 2 Users Say Thank You to 3arthur6 For This Useful Post: [ View ] Gift 3arthur6 Ad-Free
13th May 2019, 10:31 PM |#6  
Senior Member
Flag Athens
Thanks Meter: 239
 
More
Quote:
Originally Posted by Arteush

It will be fixed in next release. Sorry for that!
But seriously why do you use this sh*t?! Go to exFat!
At least you point it out this issue!
I will upload in few hours.

Believe it or not i never managed the twrp to see and flash from sdcard with anything but fat32! With exfat will i be able to flash from twrp??? With ntfs i never managed to do that

Sent from my [device_name] using XDA-Developers Legacy app
13th May 2019, 10:38 PM |#7  
Senior Member
Flag Colchester
Thanks Meter: 1,692
 
Donate to Me
More
Quote:
Originally Posted by karapoutsoglou

Believe it or not i never managed the twrp to see and flash from sdcard with anything but fat32! With exfat will i be able to flash from twrp??? With ntfs i never managed to do that

He's trolling just ignore him. Use either the stock filesystem or f2fs if your kernel supports it
13th May 2019, 10:51 PM |#8  
Senior Member
Flag Edinburgh
Thanks Meter: 210
 
More
Care to share the device trees?

Sent from my SM-N960F using Tapatalk
13th May 2019, 11:03 PM |#9  
Senior Member
Thanks Meter: 1,621
 
More
Quote:
Originally Posted by karapoutsoglou

Believe it or not i never managed the twrp to see and flash from sdcard with anything but fat32! With exfat will i be able to flash from twrp??? With ntfs i never managed to do that

extfat FTW

yeah it works with windows too and is more optimised for card storage# fat32 is dead and ntfs is more of a windows dedicated format.
13th May 2019, 11:09 PM |#10  
Senior Member
Flag Athens
Thanks Meter: 239
 
More
Quote:
Originally Posted by bober10113

extfat FTW

yeah it works with windows too and is more optimised for card storage# fat32 is dead and ntfs is more of a windows dedicated format.

ok. i will reformat to exfat. im pretty sure that with exfat i could not flash from twrp. let's see

Sent from my [device_name] using XDA-Developers Legacy app
13th May 2019, 11:55 PM |#11  
Senior Member
Thanks Meter: 1,621
 
More
Quote:
Originally Posted by karapoutsoglou

ok. i will reformat to exfat. im pretty sure that with exfat i could not flash from twrp. let's see

well since the note 8 ive been using 256gb sd cards with extfat and no problems.

fat32 and cards over 128 gig dosent work well
The Following User Says Thank You to bober10113 For This Useful Post: [ View ] Gift bober10113 Ad-Free
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes