Help! How to add F2FS support to NBD90Z 3.10.103 Kernel? - Nexus 6 Developer Discussion [Developers Only]

Hey devs, I am very new to kernel development and have searched endlessly for a topic of such, but to no (at least up to date) avail. So here I ask, can someone please tell me how to add F2FS support to my kernel? I am building NBD90Z based on 3.103.10. Thanks!

Anybody?

Root Wizard said:
Hey devs, I am very new to kernel development and have searched endlessly for a topic of such, but to no (at least up to date) avail. So here I ask, can someone please tell me how to add F2FS support to my kernel? I am building NBD90Z based on 3.103.10. Thanks!
Click to expand...
Click to collapse
EDIT:Nevermind figured it out. Delete thread.

Root Wizard said:
EDIT:Nevermind figured it out. Delete thread.
Click to expand...
Click to collapse
can you share your work or i can help testing for your kernel and rom if you like!!!

caballon said:
can you share your work or i can help testing for your kernel and rom if you like!!!
Click to expand...
Click to collapse
Of course! http://forum.xda-developers.com/nex...-magikernel-fe-dm-ak2-3-103-10-t3477124/page4

Root Wizard said:
Of course! http://forum.xda-developers.com/nex...-magikernel-fe-dm-ak2-3-103-10-t3477124/page4
Click to expand...
Click to collapse
With this I can change file system to f2fs and bettered the the performance on the phone?
Can you help to do it right!!!!

caballon said:
With this I can change file system to f2fs and bettered the the performance on the phone?
Can you help to do it right!!!!
Click to expand...
Click to collapse
Yes, you can change the /data and /cache partitions to (in most cases) gain performance. To do this:
-Fully backup via TWRP
-Download TWRP 3.0.2 F2FS version(search the web for this, its somewhere but I forget)
-Reboot to TWRP & Format the desired partitions by going to Wipe->Advanced Wipe->(Check one partion at a time /daya or /cache)->Change filesystem->F2FS
-Flash kernel
Note formating /data wipes the internal storage (pictures/music/anything on the phone in /sdcard and /data really.)

Root Wizard said:
Yes, you can change the /data and /cache partitions to (in most cases) gain performance. To do this:
-Fully backup via TWRP
-Download TWRP 3.0.2 F2FS version(search the web for this, its somewhere but I forget)
-Reboot to TWRP & Format the desired partitions by going to Wipe->Advanced Wipe->(Check one partion at a time /daya or /cache)->Change filesystem->F2FS
-Flash kernel
Note formating /data wipes the internal storage (pictures/music/anything on the phone in /sdcard and /data really.)
Click to expand...
Click to collapse
The system doesn't apply right???
and then I can restore the data or it can't be done let me know thanks!!!!

caballon said:
The system doesn't apply right???
Click to expand...
Click to collapse
It wouldn't even help the system partition, and yes, it would be set to ext4 every boot anyways.

Root Wizard said:
It wouldn't even help the system partition, and yes, it would be set to ext4 every boot anyways.
Click to expand...
Click to collapse
But the question is can I restore data after flash kernel!!!!

caballon said:
But the question is can I restore data after flash kernel!!!!
Click to expand...
Click to collapse
Yes, but not on F2FS from ext4

Root Wizard said:
EDIT:Nevermind figured it out. Delete thread.
Click to expand...
Click to collapse
How did you do it?

Root Wizard said:
EDIT:Nevermind figured it out. Delete thread.
Click to expand...
Click to collapse
Idiosyncratinom said:
How did you do it?
Click to expand...
Click to collapse
I see this thread has been abandoned for quite some time but I have the same question - I want to do this for my device and this is the closest I've gotten to a good answer...

trax7 said:
I see this thread has been abandoned for quite some time but I have the same question - I want to do this for my device and this is the closest I've gotten to a good answer...
Click to expand...
Click to collapse
Well I don't know what OP did, but you can enable F2FS support in your device's defconfig, and cherry pick the latest F2FS updates on top of that. I can provide more information on how if you need but I'm in a pinch right now.

Related

[Updated Recovery] CWM 6.0.3.7 for GT-S5282 and GT-S5280

Hello Guys,
This recovery was created by @Unjustified Dev while he was building Cyanogenmod for our device... I have seen that most people didnt see this recovery so i thought of posting it over here.... It is updated recovery with extra option to install zip files from both internal and external sd card....
Here is the orginal thread :-
http://forum.xda-developers.com/showthread.php?t=2631926&page=6
And the orginal download link :-
http://www.mediafire.com/download/3xanoc67cw8te93/cwm_mint.zip
Just flash this over your existing recovery...
In other words :-
1) Place cwm_mint in external card.
2) Reboot to Recovery
3) Select install zip file
4) Select cwm_mint.zip file and Press yes.
5) Then go to advanced and Select Reboot Recovery
See the changes...
For new users here's the tar file. Just flash through Odin..
Here is the link
https://drive.google.com/file/d/0B48MHcJEA5RuZXRvQm85YjVIVUE/edit?usp=sharing
Credits:- Obviously @Unjustified Dev... Thank U...
Thanks for sharing
@Unjustified Dev
Correct me if i'm wrong..
But isn't internal sdcard of this device just an emulated storage. I mean the sdcard is fused to /data/media..
Most roms, suggest to do wipe data/wipe cache.. before flashing rom..
so how to flash through internal sdcard??
psych.half said:
@Unjustified Dev
Correct me if i'm wrong..
But isn't internal sdcard of this device just an emulated storage. I mean the sdcard is fused to /data/media..
Most roms, suggest to do wipe data/wipe cache.. before flashing rom..
so how to flash through internal sdcard??
Click to expand...
Click to collapse
data/media isn't wiped there's an option in mounts and storage to wipe it. You can fix sdcard by following my commit
https://github.com/CM-SPRD/android_...mmit/7877c5f871172a8e3d357e27ccf059766e53e90a
add back mkdir /efs leave the preload line gone preload isn't used in roms only stock
Unjustified Dev said:
data/media isn't wiped there's an option in mounts and storage to wipe it. You can fix sdcard by following my commit
https://github.com/CM-SPRD/android_...mmit/7877c5f871172a8e3d357e27ccf059766e53e90a
add back mkdir /efs leave the preload line gone preload isn't used in roms only stock
Click to expand...
Click to collapse
You [email protected]$$ !! OwO
okay.. i will check..
wailt.. i removed /efs dafq ..
i know but.. i mounted preload to test video playback.. as i couldnt mount sd..
and by the way.. can't you lunch a cwm6.0.4x recovery for this?? you must have cm11 sources??/
Unjustified Dev said:
Thanks for sharing
Click to expand...
Click to collapse
And thank u for creatin...
Vortex99 said:
And thank u for creatin...
Click to expand...
Click to collapse
noob question
will this recovery work on my device?
details:
android version: 4.1.2 JB
build number: S5282XXAMI3
can someone proved that this is recovery is fully working without having a problem..thanks
mizukage said:
noob question
will this recovery work on my device?
details:
android version: 4.1.2 JB
build number: S5282XXAMI3
can someone proved that this is recovery is fully working without having a problem..thanks
Click to expand...
Click to collapse
Yes it will...
I hav been usin it since 3 months...
Its works on gt-s5280
jerin jose said:
Its works on gt-s5280
Click to expand...
Click to collapse
Dats nice...
Vortex99 said:
Dats nice...
Click to expand...
Click to collapse
what version of odin should i use for flashing the tar file?
mizukage said:
what version of odin should i use for flashing the tar file?
Click to expand...
Click to collapse
Odin 3.07 will work and is is this your first time flashing a custom recovery?? if so. then you need to root and delete /system/etc/install-recovery.sh
psych.half said:
Odin 3.07 will work and is is this your first time flashing a custom recovery?? if so. then you need to root and delete /system/etc/install-recovery.sh
Click to expand...
Click to collapse
do i nid to flash the fixrecovery.zip that mentioning from other thread here in s5282?
mizukage said:
do i nid to flash the fixrecovery.zip that mentioning from other thread here in s5282?
Click to expand...
Click to collapse
yeah.. just flash the fixrecovery.zip with cwm... this deletes the install-recovery.sh..
mizukage said:
do i nid to flash the fixrecovery.zip that mentioning from other thread here in s5282?
Click to expand...
Click to collapse
Hope the recovery worked for u...
psych.half said:
Odin 3.07 will work and is is this your first time flashing a custom recovery?? if so. then you need to root and delete /system/etc/install-recovery.sh
Click to expand...
Click to collapse
psych.half said:
yeah.. just flash the fixrecovery.zip with cwm... this deletes the install-recovery.sh..
Click to expand...
Click to collapse
i cant find this fixrecovery.zip i google it and none give me the right link to DL, nweiz will the manual work like u said? /system/etc/install-recovery.sh
mizukage said:
i cant find this fixrecovery.zip i google it and none give me the right link to DL, nweiz will the manual work like u said? /system/etc/install-recovery.sh
Click to expand...
Click to collapse
here you go.. just flash this through cwm...
Was this modified using the existing cwm or is this totally different ?
Sent from my GT-S5282 using Tapatalk
T3snake said:
Was this modified using the existing cwm or is this totally different ?
Sent from my GT-S5282 using Tapatalk
Click to expand...
Click to collapse
the version is same.. but this is built by unjust...
with this... you don't have to lose data in internal memory everytime you flash a new rom,..
psych.half said:
the version is same.. but this is built by unjust...
with this... you don't have to lose data in internal memory everytime you flash a new rom,..
Click to expand...
Click to collapse
well when i flashed my v2 just after makin it(i ws in a hurry) i forgot to wipe data
and all my previous apps were there along with data and all......
maybe coz my earlier n this one is same firmware, deodex and all tht

[Stock kernel wifi fix][J Series 2015][TW-MM] [04.07.2017]

Content removed
Good work. Any chance you'll support other versions?
paulo boë said:
Good work. Any chance you'll support other versions?
Click to expand...
Click to collapse
yea as soon as i have all other variant files i will
my j5 is j5oof thats why i have all the files si its the first one
ankitv6 said:
yea as soon as i have all other variant files i will
my j5 is j5oof thats why i have all the files si its the first one
Click to expand...
Click to collapse
Awesome:good::laugh:
This can be run on j500h lollipop version ?
Keancarl said:
This can be run on j500h lollipop version ?
Click to expand...
Click to collapse
no man just MM
ankitv6 said:
no man just MM
Click to expand...
Click to collapse
Thanks bro no solution about this or i need to system update before i seen this message but system says its modified maybe I could flash again my stock rom and proceed to software update
Keancarl said:
Thanks bro no solution about this or i need to system update before i seen this message but system says its modified maybe I could flash again my stock rom and proceed to software update
Click to expand...
Click to collapse
you must have installed a custom recovery or have rooted your official rom that is why it doesn't download updates
you have to flash your stock rom through odin first then you can receive updates
if you are doing this just for installing stock MM then download latest firmware or MM firmware for your variant and flash it
enjoy MM
Greetings man Is this a built from source? If it is I can't see any link to the sources...
How to install .img file through recovery
.img file
sivakrishnanj said:
.img file
Click to expand...
Click to collapse
download this img go to twrp and in bottom right hand corner select install image and install image then flash wifi fix as a zip
do let me know how it works out
In cpu governs - no, impluse
In io - no, zen
Suggestions: please make as zip file, after flashing my recovery has gone in this img file
sivakrishnanj said:
In cpu governs - no, impluse
In io - no, zen
Suggestions: please make as zip file, after flashing my recovery has gone in this img file
Click to expand...
Click to collapse
There are two options: flash img in recovery partition and boot partition, I suppose you chose recovery instead of boot..
updesh94 said:
There are two options: flash img in recovery partition and boot partition, I suppose you chose recovery instead of boot..
Click to expand...
Click to collapse
Its my fault i should have mention it in instructions
Sry its my first post so had no idea
Btw i will be removing this thread as soon as i have access to my laptop
sivakrishnanj said:
In cpu governs - no, impluse
In io - no, zen
Suggestions: please make as zip file, after flashing my recovery has gone in this img file
Click to expand...
Click to collapse
Yea you are right i probably should have
Bulgaricus said:
Greetings man Is this a built from source? If it is I can't see any link to the sources...
Click to expand...
Click to collapse
its stock kernel without any changes :laugh:
SpamMachine said:
its stock kernel without any changes :laugh:
Click to expand...
Click to collapse
Yeah cuz having adreno idler is pure stock feature lmao
SpamMachine said:
its stock kernel without any changes :laugh:
Click to expand...
Click to collapse
I never said its not a stock kernel man i just said that you cannot use your wifi with it which i tried and fixed on mine and wanted to share thats it
ankitv6 said:
I never said its not a stock kernel man i just said that you cannot use your wifi with it which i tried and fixed on mine and wanted to share thats it
Click to expand...
Click to collapse
I have no idea what are you talking about:laugh:

Latest Official TWRP F2FS support?

I want to know if latest official twrp support f2fs file system or not?
SamyakJ said:
I want to know if latest official twrp support f2fs file system or not?
Click to expand...
Click to collapse
Why are you creating three different threads for it?
tnsmani said:
Why are you creating three different threads for it?
Click to expand...
Click to collapse
I create it accidentally. How to delete them.
Just forget it.

System dump android 10 n960fxxu4zsk5

Helo guys come again with me,
before say thanks to @Arteush share his ota-update of beta Q Note9.
I just wanna share the System Dump of the Galaxy Note9 (N960F) with Android 10 Beta1 free for dev to use this with credit of course.
this is include system, vendor, odm, and boot.
Have fun with Android Q.
link download
https://drive.google.com/file/d/1W8MFTk7Pdm0WnwquChwMf7mDAfS0VWX7/view
If we have twrp can we just flash this as a zip? Or will it not work
Drizzy xS said:
If we have twrp can we just flash this as a zip? Or will it not work
Click to expand...
Click to collapse
no its dump only.. but wait i work on flashable. just a moment
ridwan.sn said:
no its dump only.. but wait i work on flashable. just a moment
Click to expand...
Click to collapse
Okay waiting
ridwan.sn said:
no its dump only.. but wait i work on flashable. just a moment
Click to expand...
Click to collapse
Thank you!!!!!
Any possibility you could share an ODIN flashable firmware or an OTA file for those who dont have their phone rooted?
UltraEra said:
Any possibility you could share an ODIN flashable firmware or an OTA file for those who dont have their phone rooted?
Click to expand...
Click to collapse
I'd also like to use rooted Q. Seems that it is impossible at this stage. It bootloops after installing TWRP and Magisk 20.1
charackthe said:
I'd also like to use rooted Q. Seems that it is impossible at this stage. It bootloops after installing TWRP and Magisk 20.1
Click to expand...
Click to collapse
Thanks to @Zackptg5 you shoud take look at his Universal DM-Verity, ForceEncrypt, Disk Quota Disablers
It fixed the bootloop for me
charackthe said:
I'd also like to use rooted Q. Seems that it is impossible at this stage. It bootloops after installing TWRP and Magisk 20.1
Click to expand...
Click to collapse
yeah need patch for magisk.
because now has new system_root
Arteush said:
Thanks to @Zackptg5 you shoud take look at his Universal DM-Verity, ForceEncrypt, Disk Quota Disablers
It fixed the bootloop for me
Click to expand...
Click to collapse
thanks for info and ure ota. i fix them too with disable encrypt
now flashable is ready
ridwan.sn said:
thanks for info and ure ota. i fix them too with disable encrypt
now flashable is ready
Click to expand...
Click to collapse
Can't wait for you to share a flashable version
ridwan.sn said:
no its dump only.. but wait i work on flashable. just a moment
Click to expand...
Click to collapse
Do you have a flashable file ? thakyou
Arteush said:
Thanks to @Zackptg5 you shoud take look at his Universal DM-Verity, ForceEncrypt, Disk Quota Disablers
It fixed the bootloop for me
Click to expand...
Click to collapse
Trying that out right now, will let you all know if I run into a bootloop. (It gave an ODM mounting error, don't know its significance but that's why I'm worried.)
Actually while I was writing this the phone turned on.
EDIT: After a reboot, the phone doesn't boot at all it sends me to the download mode.
ridwan.sn said:
yeah need patch for magisk.
because now has new system_root
Click to expand...
Click to collapse
ridwan.sn said:
thanks for info and ure ota. i fix them too with disable encrypt
now flashable is ready
Click to expand...
Click to collapse
:good:
Yep new system as root stuff! Which need some build changes to get a fully compatible twrp.
I will upload new one
Arteush said:
Thanks to @Zackptg5 you shoud take look at his Universal DM-Verity, ForceEncrypt, Disk Quota Disablers
It fixed the bootloop for me
Click to expand...
Click to collapse
For everyone's information, this works and you can use root nicely, however, most magisk modules will destroy the system and throw you out to the download mode and you will have to wipe the data to boot again. I presume this is because most of the modules I have tried aren't Android 10 compatible yet. If anybody is able to get V4A work or install current magisk modules and run them reach out to me because I'd like to hear how.
EDIT: I somehow got it working but now I see that the Bluetooth devices aren't kept after reboot not even with the proper module to keep them.
How do you install this / System dump android 10 n960fxxu4zsk5 // I'm on the recovery twrp
patensas said:
Can't wait for you to share a flashable version
Click to expand...
Click to collapse
not now. i need fix something in system.. its give me error.
costinghe said:
Do you have a flashable file ? thakyou
Click to expand...
Click to collapse
sorry not now brother..
Arteush said:
:good:
Yep new system as root stuff! Which need some build changes to get a fully compatible twrp.
I will upload new one
Click to expand...
Click to collapse
right now.. its need new twrp also patch too from magisk to get wor.
good luck mate we wait ure twrp.
alhgan2014 said:
How do you install this / System dump android 10 n960fxxu4zsk5 // I'm on the recovery twrp
Click to expand...
Click to collapse
this just for dump.. maybe u can extract to ure phone and flash single .image by twrp. not recomended but u can try :good:.
ridwan.sn said:
not now. i need fix something in system.. its give me error.
sorry not now brother..
right now.. its need new twrp also patch too from magisk to get wor.
good luck mate we wait ure twrp.
this just for dump.. maybe u can extract to ure phone and flash single .image by twrp. not recomended but u can try :good:.
Click to expand...
Click to collapse
Trwp with q support is here
charackthe said:
For everyone's information, this works and you can use root nicely, however, most magisk modules will destroy the system and throw you out to the download mode and you will have to wipe the data to boot again. I presume this is because most of the modules I have tried aren't Android 10 compatible yet. If anybody is able to get V4A work or install current magisk modules and run them reach out to me because I'd like to hear how.
EDIT: I somehow got it working but now I see that the Bluetooth devices aren't kept after reboot not even with the proper module to keep them.
Click to expand...
Click to collapse
Can you elaborate how you manage to get V4A to work? I'm desperate, lol.
Arteush said:
Trwp with q support is here
Click to expand...
Click to collapse
great work mate :good::highfive:
so my flashable is can flashed without issue now.
lets me to check now
AxelCocaine said:
Can you elaborate how you manage to get V4A to work? I'm desperate, lol.
Click to expand...
Click to collapse
it.
ah u need ask viper dev to add it sammy Q driver for support

Question help me!! i lost my phone stock rom and custom rom. i just have twrp install without root

my phone is now dead!! any one can help me to back stock rom !!
Rakib403 said:
my phone is now dead!! any one can help me to back stock rom !!
Click to expand...
Click to collapse
What you done?
iamshubh69 said:
What you done?
Click to expand...
Click to collapse
i install twrp and format without backup. internal storage showing 0 mb [not work anything]
Rakib403 said:
i install twrp and format without backup. internal storage showing 0 mb [not work anything]
Click to expand...
Click to collapse
Bruh just change file system to ext4
iamshubh69 said:
Bruh just change file system to ext4
Click to expand...
Click to collapse
how to !!!! u can help me !!
Rakib403 said:
how to !!!! u can help me !!
Click to expand...
Click to collapse
Do you have telegram? If so, I can help you (of course for free)
Lucxq said:
Do you have telegram? If so, I can help you (of course for free)
Click to expand...
Click to collapse
Please prefer doing so publicly here

Categories

Resources