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

Status
Not open for further replies.
Search This thread

3arthur6

Senior Member
Sep 15, 2011
574
1,012
tycoon78[stoner said:
;79530801]Mate the beta 4 still has the start up bug. It get stuck at the twrp screen for 8 secs. Hoping u can fix the issue. Thanks for ur hard work n time ????

I think it is related to mtp service. The twrp boots when you hear the sound of fiding your phone on pc. However, idk if it is a really problem to wait a little

:confused:

With F2FS data?

Could you provide a last_kmsg from /proc ?
 
Last edited:

bober10113

Senior Member
Mar 12, 2017
4,447
1,621
id like to report weirdness
 

Attachments

  • Screenshot_2019-05-15-22-04-47.jpg
    Screenshot_2019-05-15-22-04-47.jpg
    253.1 KB · Views: 368

bober10113

Senior Member
Mar 12, 2017
4,447
1,621
also i formatted to f2fs using endurance kernel for pie with dr ketan latest rom and nothing changed. still ext4
well im on f2fs( frankly not seeing any advantages, disk access actualy dropped compared to ext4) but my main issue is that cache dosen't get wiped. not sure for dalvik.

what leads me to belive this is:
when wiping and refreshing it always shows 14 mb instead of 0 when it was on ext4.
and when i reboot phone i dont get the " optimizing x of y apps" upon reboot where when i was on ext4 it would do that like every other android phone ive had in the past 5 years.

what am i missing? is this by design?
 
  • Like
Reactions: karapoutsoglou

3arthur6

Senior Member
Sep 15, 2011
574
1,012
id like to report weirdness

also wiping cache or formatting cache never actually deletes anything...

also i formatted to f2fs using endurance kernel for pie with dr ketan latest rom and nothing changed. still ext4

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

well im on f2fs( frankly not seeing any advantages, disk access actualy dropped compared to ext4) but my main issue is that cache dosen't get wiped. not sure for dalvik.

what leads me to belive this is:
when wiping and refreshing it always shows 14 mb instead of 0 when it was on ext4.
and when i reboot phone i dont get the " optimizing x of y apps" upon reboot where when i was on ext4 it would do that like every other android phone ive had in the past 5 years.

what am i missing? is this by design?

Sorry for that... It is doubtless because of the changes I started for allowing internal backup, but I totally changed the way to do this. So next update will fix it. But I'm not sure that the internal backup will be possible with it.
 
Last edited:
  • Like
Reactions: karapoutsoglou

3arthur6

Senior Member
Sep 15, 2011
574
1,012

bober10113

Senior Member
Mar 12, 2017
4,447
1,621
A simple system backup/restore just confirmed it :good:
i took a backup but didn't have time to restore.

is it possible that the mounting point for preload dosent match the right path? or name?

attached pictures show mounting error and in the partition list the name seems to be dqmdbg
 

Attachments

  • Screenshot_2019-05-17-07-46-57.png
    Screenshot_2019-05-17-07-46-57.png
    151.6 KB · Views: 292
  • Screenshot_2019-05-17-08-04-16.png
    Screenshot_2019-05-17-08-04-16.png
    221.4 KB · Views: 301

3arthur6

Senior Member
Sep 15, 2011
574
1,012
i took a backup but didn't have time to restore.

is it possible that the mounting point for preload dosent match the right path? or name?

attached pictures show mounting error and in the partition list the name seems to be dqmdbg

I removed preload (or hidden) "partition" as it's a part of system. So totaly useless.

Dqmdbg is probably a part of boot, or at least related to boot. It his needed when upgrade (and downgrade?) system.
 

bober10113

Senior Member
Mar 12, 2017
4,447
1,621
I removed preload (or hidden) "partition" as it's a part of system. So totaly useless.

Dqmdbg is probably a part of boot, or at least related to boot. It his needed when upgrade (and downgrade?) system.

ok but its strange how doing a cache wipe will throw that preload not found message.


also i just restaured a full backup and i had a bootloop. uppon 2nd reboot i got to home screen and all by magisk modules are not working. and also my sd card if now popping up as if it was a new one that i just inserted. its seems to be intact though so not much of an issue.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    TWRP
    aka Team Win Recovery Project

    gsmarena_001.jpg



    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
    20
    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 :good: )
    • 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 :highfive: )

    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


    10
    @bober10113 @Arteush
    You guys, chill out. We are a community to work together for our phone. Just get over it and lets have a working recovery
    We are not a lot of guys working on this phone, we dont need to lose anyone. So lets work together for a better note 9.
    Shake your hands and lets move on
    6
    New release for One UI 2 beta support :)
    5
    glad you came clean about this issue. would have saved us alot of head aches if you'd had simply reported it from the get go....

    anyways, good riddance. I'm not going to use or test this anymore. especially when i report issues and put efforts to shine light on problems that apparently are "known" but kept away from the users. what good does that do?

    do you know the term: transparency?

    Stop making a fool of yourself. It becomes embarrassing.