Related
I've been trying to figure out if f2fs encryption is actually supported in android 5.0+ according to this website:
https://source.android.com/security/encryption/
Every time I try to encrypt my phone and the data partition is f2fs, the encryption process fails and android cries about me removing all data and starting over. Is there some sort of condition that I'm missing for encryption to work or is there a method outside the normal procedures that needs to be done in order to achieve success? I have no issues using adb to issue the commands if need be and I'm familiar with basic linux commands to get the job done (I am currently using Arch Linux as I'm typing this up). Is this something that the kernel has to support or is it on an OS level? According to Google, it should already be supported and I believe that document implies that the Qualcomm chip should also be used for speed with the file system.
Thanks for any help that can be given on this quest of frustration.
I'm actually using f2fs and encryption (official COS12.1.1 fastboot factory image's data and cache are f2fs formatted) without any problems... no idea what's wrong on your side :/
Gesendet von meinem A0001 mit Tapatalk
Aavion said:
I'm actually using f2fs and encryption (official COS12.1.1 fastboot factory image's data and cache are f2fs formatted) without any problems... no idea what's wrong on your side :/
Gesendet von meinem A0001 mit Tapatalk
Click to expand...
Click to collapse
Are you sure you have a oneplus one?
I am sure f2fs encryption is disabled on kernel side.
Sent from my A0001 using XDA-Developers mobile app
DerRomtester said:
I am sure f2fs encryption is disabled on kernel side.
Click to expand...
Click to collapse
That's odd. I wonder why? Do we have any control over this?
ThunderThighs said:
That's odd. I wonder why? Do we have any control over this?
Click to expand...
Click to collapse
fscrypto: no support for v3.4 Encryption is now disabled. Signed-off-by: Jaegeuk Kim <[email protected]>
What about kernel 3.10? There are 3.10 kernels for OPO. Wondering if they will work. Apologize for not trying out myself because of my inconvenience.
Downloads could be found in @idprophecy 's profile page. Thanks to his great work!
jimmy19990 said:
What about kernel 3.10? There are 3.10 kernels for OPO. Wondering if they will work. Apologize for not trying out myself because of my inconvenience.
Downloads could be found in @idprophecy 's profile page. Thanks to his great work!
Click to expand...
Click to collapse
I doubt it would work with erorcun's 3.10 kernel because he never got encryption working even with ext4 and ended up abandoning everything and getting another phone. Is this kernel developer actively improving the 3.10 kernel for our device? Because there just seems to be a lot of sadly abandoned/out of date projects for the opo these days
ThunderThighs said:
I doubt it would work with erorcun's 3.10 kernel because he never got encryption working even with ext4 and ended up abandoning everything and getting another phone. Is this kernel developer actively improving the 3.10 kernel for our device? Because there just seems to be a lot of sadly abandoned/out of date projects for the opo these days
Click to expand...
Click to collapse
Well it seems to be updated quite frequently. Check out his MEGA FOLDER in his profile page. The latest one was compiled on Nov 28 and it is said to support both CM13 and CM14.1.
Deleted.
What does this thing called cluster plug provides?
Sent from my XT1562 using XDA-Developers mobile app
pijes said:
What does this thing called cluster plug provides?
Sent from my XT1562 using XDA-Developers mobile app
Click to expand...
Click to collapse
It disables the little cores and only enables them when the big cores become overloaded. On stock rom it gives extra smoothness because it use the big cores most of the time.In cm roms its enabled by default. Sorry, i forgot to explain
Great work mate. Could you please explain that init.d stuff a little - I'm on stock rom/kernel and haven't got init.d folder so I assumed it's simply not supported, but when I played with the rom in Superr's Kitchen it was saying that init.d is enebled in the kernel by default. It's a bit confusing - does the stock rom have this support by default?
@Sickaxis79
I just found there's no cluster_plug in my /sys/module...
minimale_ldz said:
Great work mate. Could you please explain that init.d stuff a little - I'm on stock rom/kernel and haven't got init.d folder so I assumed it's simply not supported, but when I played with the rom in Superr's Kitchen it was saying that init.d is enebled in the kernel by default. It's a bit confusing - does the stock rom have this support by default?
Click to expand...
Click to collapse
You can create the init.d folder using a file browser if its missing. Im also using stock rom and it works. Im using a custom kernel, but it also works with stock kernel.
Are you sure you are missing the cluster_plug folder? Im using stock eu 6.0.1.
Its located in /sys/module/cluster_plug
Sickaxis79 said:
]
Are you sure you missing the cluster_plug folder? Im using stock eu 6.0.1.
Click to expand...
Click to collapse
I found Kernel Adiutor can emulate init.d, so it should't be a problem to execute the scripts, but anyway cluster_plug is missing. I'm on XDRom which is just debloated EU 6.0.1. I'm wondering if it's possible that debloat could actually be responsible for this
minimale_ldz said:
I found Kernel Adiutor can emulate init.d, so it should't be a problem to execute the scripts, but anyway cluster_plug is missing. I'm on XDRom which is just debloated EU 6.0.1. I'm wondering if it's possible that debloat could actually be responsible for this
Click to expand...
Click to collapse
Have you checked sys/module/cluster_plug?
Sickaxis79 said:
Have you checked sys/module/cluster_plug?
Click to expand...
Click to collapse
Yes. No cluster_plug folder at all in /sys/module (see screenshot in my previous post). Weird
minimale_ldz said:
Yes. No cluster_plug folder at all in /sys/module (see screenshot in my previous post). Weird
Click to expand...
Click to collapse
Yes thats weird, but maybe when you flash squids kernel this module is/can be added.
Sickaxis79 said:
Yes thats weird, but maybe when you flash squids kernel this module is/can be added.
Click to expand...
Click to collapse
That could actually be the case as clusterplug is listed in Squid's kernel features. I guess it means it's not used in stock one
minimale_ldz said:
That could actually be the case as clusterplug is listed in Squid's kernel features. I guess it means it's not used in stock one
Click to expand...
Click to collapse
Strange yes and now i also start to doubt after flashing so many kernels and roms. Strange thing is it worked with all the kernels and roms i tried. Im now using latest coffee kernel with cluster_plug enabled and its working.
Sickaxis79 said:
Strange yes and now i also start to doubt after flashing so many kernels and roms. Strange thing is it worked with all the kernels and roms i tried. Im now using latest coffee kernel with cluster_plug enabled and its working.
Click to expand...
Click to collapse
Well, maybe the time comes to try Squid kernel
What about those other scripts from power users thread, ghostpepper and ghostbuster?
ViperX85 said:
What about those other scripts from power users thread, ghostpepper and ghostbuster?
Click to expand...
Click to collapse
Same question here. Do you plan to upload your scripts again?
minimale_ldz said:
Same question here. Do you plan to upload your scripts again?
Click to expand...
Click to collapse
Sure, but then i saw phoenix kernel released a new msm hotplug kernel and was thinking to try to create 1 script that is compatible and work with cluster- /msm- or no hotplug at all together, instead of several scripts. Dont know if it gonna work but it can never hurt trying.
Sickaxis79 said:
Sure, but then i saw phoenix kernel released a new msm hotplug kernel and was thinking to try to create 1 script that is compatible and work with cluster- /msm- or no hotplug at all together, instead of several scripts. Dont know if it gonna work but it can never hurt trying.
Click to expand...
Click to collapse
I can confirm cluster_plug is present after flashing Squid kernel. Wish your post.boot script was there for oc Squid
minimale_ldz said:
I can confirm cluster_plug is present after flashing Squid kernel. Wish your post.boot script was there for oc Squid
Click to expand...
Click to collapse
I Shall post the post_boot scripts tomorrow again since most asking for a permanent solution without launching the scripts manually after the phone booted. And thanks for confirming cluster_plug was added after flashing squid kernel. Will update the thread a little.
minimale_ldz said:
That could actually be the case as clusterplug is listed in Squid's kernel features. I guess it means it's not used in stock one
Click to expand...
Click to collapse
Perhaps you could use this tool to enable init.d on stock kernel - http://forum.xda-developers.com/and...ript-zip-init-d-enabler-stock-kernel-t3347724
you still need custom recovery though, to flash the zip
Team Win Recovery Project 3.1.1-0
WHAT IS TWRP?
Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
DOWNLOAD
You can find the device page here:
http://teamw.in/devices/samsunggalaxytrendplus.html
There is a download link there, as well as instructions on how to flash it.
CHANGES
v3.1.1-0 - Upstream merge
v3.0.2-0 - Initial release on twrp.me
FEATURES
MTP support
USB Mass Storage support
Micro SDcard support
f2fs file system support (read, write, format, backup & restore)
exFAT file system support (read, write, format, backup & restore)
NTFS file system support (read, write, format)
ADB root
Full SELinux support
KNOWN ISSUES
There are no known issues (If you find one, report it to me)
CONTACT & SUPPORT
You can find us on IRC at #twrp on chat.freenode.net.
You can also post in this thread and I will attempt to answer any questions you may have.
SOURCE CODE
TWRP: https://github.com/omnirom/android_bootable_recovery (android-6.0)
Device tree (GT-S7580): https://github.com/TheComputerGuy96/twrp_device_samsung_kylepro (android-6.0)
Device tree (GT-S7582): https://github.com/TheComputerGuy96/twrp_device_samsung_kyleprods (android-6.0)
Kernel: https://github.com/TheComputerGuy96/android_kernel_samsung_kyleproxx (cm-13.0)
CONTRIBUTIONS
Gerrit for TWRP: http://gerrit.omnirom.org/
Gerrit for officially supported devices: http://gerrit.twrp.me/
XDA:DevDB Information
Team Win Recovery Project - Samsung Galaxy Trend Plus, Tool/Utility for the Samsung Galaxy S Duos 2
Contributors
DodoGTA, no_name, sandpox, @GHsR, @jcadduono
Source Code: https://github.com/omnirom/android_bootable_recovery
Version Information
Status: Stable
Current Stable Version: 3.1.1-0
Stable Release Date: 2017-05-17
Created 2017-06-09
Last Updated 2017-06-09
Is it for s7582 too
Hi bro congrats for official twrp :good:
Can I install in s7582 too or its only for trend plus
Pls confirm
icecool9372 said:
Hi bro congrats for official twrp :good:
Can I install in s7582 too or its only for trend plus
Pls confirm
Click to expand...
Click to collapse
It's only for GT-S7580
Sent from my GT-S7580 using Tapatalk
icecool9372 said:
Hi bro congrats for official twrp :good:
Can I install in s7582 too or its only for trend plus
Pls confirm
Click to expand...
Click to collapse
Here's a link for GT-S7582 TWRP: http://build.twrp.me/twrp/twrp-3.0.2-0-kyleprods.img
Sent from my GT-S7580 using Tapatalk
@DodoGTA i have reworked on kernel, and made kernel and device tree f2fs supported. Can you try building recovery from it? After that,i will merge it in main branch of cm-12.1,cm-13.0.
Sent from my AO5510 using Tapatalk
no_name said:
@DodoGTA i have reworked on kernel, and made kernel and device tree f2fs supported. Can you try building recovery from it? After that,i will merge it in main branch of cm-12.1,cm-13.0.
Sent from my AO5510 using Tapatalk
Click to expand...
Click to collapse
You didn't enable F2FS in recovery defconfig
Sent from my GT-S7580 using Tapatalk
no_name said:
@DodoGTA i have reworked on kernel, and made kernel and device tree f2fs supported. Can you try building recovery from it? After that,i will merge it in main branch of cm-12.1,cm-13.0.
Click to expand...
Click to collapse
I have a question
Or that is I have already downloaded
CM14.0_20161004_kyleprods.zip
But here have so much bugs
So can't use
But If I use CM14.0 KERNEL In CM13.0. It work or not
Or if work it got smooth performance or not
This 2 questions please reply
LeMon.TheGreenFish said:
I have a question
Or that is I have already downloaded
CM14.0_20161004_kyleprods.zip
But here have so much bugs
So can't use
But If I use CM14.0 KERNEL In CM13.0. It work or not
Or if work it got smooth performance or not
This 2 questions please reply
Click to expand...
Click to collapse
You CAN'T use CM 13 kernel on CM 14
Sent from my GT-S7580 using Tapatalk
DodoGTA said:
You CAN'T use CM 13 kernel on CM 14
Click to expand...
Click to collapse
No bro
I want to use Cm14 kernel in cm13
LeMon.TheGreenFish said:
No bro
I want to use Cm14 kernel in cm13
Click to expand...
Click to collapse
It will stuck at Samsung screen
Sent from my GT-S7580 using Tapatalk
DodoGTA said:
You didn't enable F2FS in recovery defconfig
Sent from my GT-S7580 using Tapatalk
Click to expand...
Click to collapse
Yes, wait i will enable it.
Sent from my AO5510 using Tapatalk
DodoGTA said:
It will stuck at Samsung screen
Click to expand...
Click to collapse
???????? sad ok bro
Or in cm14 what get fixed now
Like call going or not and other?
DodoGTA said:
You didn't enable F2FS in recovery defconfig
Sent from my GT-S7580 using Tapatalk
Click to expand...
Click to collapse
I have enabled in recovery config. Apart from it, make sure to update the fstab and flag in device tree.
https://github.com/ishantvivek/andr...mmit/f50010258299cf4fd59dfeb0ae0f559292d63716
Sent from my AO5510 using Tapatalk
no_name said:
I have enabled in recovery config. Apart from it, make sure to update the fstab and flag in device tree.
https://github.com/ishantvivek/andr...mmit/f50010258299cf4fd59dfeb0ae0f559292d63716
Sent from my AO5510 using Tapatalk
Click to expand...
Click to collapse
I'm using TWRP fstab
Sent from my GT-S7580 using Tapatalk
DodoGTA said:
I'm using TWRP fstab
Sent from my GT-S7580 using Tapatalk
Click to expand...
Click to collapse
No, twrp.fstab don't need to be updated. Twrp only need f2fs supported kernel.
Use my kernel and add this flag after TARGET_USERIMAGES_USE_EXT4 on your device tree:
TARGET_USERIMAGES_USE_F2FS :=true
That's all.
Sent from my AO5510 using Tapatalk
no_name said:
No, twrp.fstab don't need to be updated. Twrp only need f2fs supported kernel.
Use my kernel and add this flag after TARGET_USERIMAGES_USE_EXT4 on your device tree:
TARGET_USERIMAGES_USE_F2FS :=true
That's all.
Sent from my AO5510 using Tapatalk
Click to expand...
Click to collapse
How about exFAT and NTFS support for external SD card on TWRP?
Sent from my GT-S7580 using Tapatalk
DodoGTA said:
How about exFAT and NTFS support for external SD card on TWRP?
Sent from my GT-S7580 using Tapatalk
Click to expand...
Click to collapse
Yeah no problem with that. You can use that flag.
Sent from my AO5510 using Tapatalk
no_name said:
Yeah no problem with that. You can use that flag.
Sent from my AO5510 using Tapatalk
Click to expand...
Click to collapse
What flag?
Sent from my GT-S7580 using Tapatalk
DodoGTA said:
What flag?
Sent from my GT-S7580 using Tapatalk
Click to expand...
Click to collapse
exFAT and NTFS support flag.
Sent from my AO5510 using Tapatalk
DodoGTA said:
What flag?
Sent from my GT-S7580 using Tapatalk
Click to expand...
Click to collapse
Instead of waiting for you, i build twrp myself. Still need someone to test. My twrp is based on android-6.0, built with cm11 sources, tree, kernel, with f2fs .
Changes:
Code:
- Added support for crypto, suppose to fix decryption.
- Built with f2fs supported kernel.
- Based on latest twrp source(android-6.0).
Put .img of recovery in your sd-card, boot to recovery, Install> Install image> Select recovery img(where you placed it), install it as recovery. After installing,press reboot to recovery.
Once done, with installation, boot to recovery and test f2fs.
How to test f2fs?
- Currently no ROM is f2fs supported. But for ROM to support f2fs, we need f2fs recovery and partition formatted as it. This is a initial test of f2fs, on successful test, i will build cm13, with f2fs support.After installing, format data and cache (note: only data and cache, not system,i repeat not system) as f2fs.(note2: your internal storage will be wiped too). After formatting it as f2fs, try to mount data and cache from mount section, if it mount successful, report me back. If not, then also report me. In both cases, don't reboot to system, because system not support f2fs yet(so you will get bootloop). It's just recovery test. After that format data and cache again as ext4. Restore your backup, if exist. If things would work fine, i will build cm-13.0 with f2fs and merge changes to cm-11.0 and cm-12.1 too.
Kyleprods: https://build.sandpox.org/twrp-kyleprods-f2fs_test.img
Kylepro: https://build.sandpox.org/twrp-kylepro-f2fs_test.img
Sent from my AO5510 using Tapatalk
Disclaimer
Your warranty is now void!
You will be doing everything at your own risk.
I am not responsible for bricked or damaged devices.
What's working
Mostly everything
How to install
1. Wipe both cache partitions
2. Install advancedkernel
3. Wipe again both cache partitions
4. Now you can boot to the system
Download
advancedkernel
Donate
You want support me with coffee or something else?
Donate via PayPal
Sources
github.com/sgspluss
Credits and Thanks
@sgspluss @nathanchance @kernel.org
Changelog
Code:
[B]advancedkernel-20190330-whyred.zip[/B]
REMOVED DUE TO PROBLEMS
[B]advancedkernel-20190324-whyred.zip[/B]
Initial release
Upstream to 4.4.177
Add kcal color control
Add sound control
Add vibration control
Add ttl target support
Sync with latest kernel.org sources
Sync with latest android-linux-stable sources
Some other kernel stuff
Troubleshooting
Nothing to find here...
excuse me, but can I play in pubg hd settings when I install these kernels?
erenunkun said:
excuse me, but can I play in pubg hd settings when I install these kernels?
Click to expand...
Click to collapse
Just quick test it (because didn't play with phone) but yes you can.
Sent from my Redmi Note 5 Pro using XDA Labs
sgspluss said:
Just quick test it (because didn't play with phone) but yes you can.
Click to expand...
Click to collapse
Thanks, great job I'll try
What are the special features of the kernel(f2fs, battery backup, clang 9 or whatever)?
MIN1ONE said:
What are the special features of the kernel(f2fs, battery backup, clang 9 or whatever)?
Click to expand...
Click to collapse
Read changelog then you will know.
But to be honest, all feature kernels out there contains almost the same, so you can't say "special feature". Maybe you will get better battery or performance or whatever but the mainfeatures are the same as on every (apart of basickernel, because it contains a really really small amount of features, like the motto less is more) out there.
This kernel was a wish of the basickernel community, they want the sourcecode added with features, thats the mainreason for bringing this up.
Sent from my Redmi Note 5 Pro using XDA Labs
Can u make a (telegram discussion group) for this kernel ....
It will more helpful [emoji4]
Sent from my Redmi Note 5 Pro using Tapatalk
[email protected] said:
Can u make a (telegram discussion group) for this kernel ....
It will more helpful [emoji4]
Click to expand...
Click to collapse
No i can't for three reasons
1. I am didn't use telegam
2. Even if i am use it, didn't have the time to maintain both
3. XDA alive of using it, everything can be done here very nicely without any additional app
Btw at all, next update have f2fs merged so everyone can use it, doesn't matter if you are on ext4 or f2fs filesystem.
Sent from my Redmi Note 5 Pro using XDA Labs
Thought is as you thought...
Best of luck.i will try it soon when f2fs support add
sgspluss said:
No i can't for three reasons
1. I am didn't use telegam
2. Even if i am use it, didn't have the time to maintain both
3. XDA alive of using it, everything can be done here very nicely without any additional app
Btw at all, next update have f2fs merged so everyone can use it, doesn't matter if you are on ext4 or f2fs filesystem.
Sent from my Redmi Note 5 Pro using XDA Labs
Click to expand...
Click to collapse
Sent from my Redmi Note 5 Pro using Tapatalk
New update is out...
If you want to know whats new, read post #2
https://forum.xda-developers.com/showpost.php?p=79186283&postcount=2
You want support me with coffee or something else?
Donate via PayPal
sgspluss said:
New update is out...
If you want to know whats new, read post #2
https://forum.xda-developers.com/showpost.php?p=79186283&postcount=2
You want support me with coffee or something else?
Donate via PayPal
Click to expand...
Click to collapse
Bootloop
Bootloop Bro
sgspluss said:
New update is out...
If you want to know whats new, read post #2
https://forum.xda-developers.com/showpost.php?p=79186283&postcount=2
You want support me with coffee or something else?
Donate via PayPal
Click to expand...
Click to collapse
Will Miui Pie support come?
Bundizle said:
Bootloop
Click to expand...
Click to collapse
diablo_Whyred said:
Bootloop Bro
Click to expand...
Click to collapse
Which filesystem are you using ext4 or f2fs?
erenunkun said:
Will Miui Pie support come?
Click to expand...
Click to collapse
Pie is already supported but if everything is working can not tell you, test it and report back if you want.
Sent from my Redmi Note 5 Pro using XDA Labs
sgspluss said:
Which filesystem are you using ext4 or f2fs?
ext4 masik 3.2
Click to expand...
Click to collapse
sgspluss said:
Which filesystem are you using ext4 or f2fs?
Pie is already supported but if everything is working can not tell you, test it and report back if you want.
Click to expand...
Click to collapse
I 've been using Global Beta 8.3.28 and tried to install using TWRP and OrangeFox gave the error.
diablo_Whyred said:
ext4 masik 3.2
Click to expand...
Click to collapse
Will check later whats wrong and fix that, sorry for this!
erenunkun said:
I 've been using Global Beta 8.3.28 and tried to install using TWRP and OrangeFox gave the error.
Click to expand...
Click to collapse
You have whyred or an other device? Other devices like whyred are not offically supported.
Sent from my Redmi Note 5 Pro using XDA Labs
sgspluss said:
Will check later whats wrong and fix that, sorry for this!
You have whyred or an other device? Other devices like whyred are not offically supported.
Click to expand...
Click to collapse
My device is whyred
Hello everybody.
After reading a thread in Oneplus 7 Pro kernel and roms subforum there it says that 7Pro STOCK kernel supports F2FS.
Do you know if the same happen with Oneplus 7 (not pro) on OOS 9.5.8?
Thanks in advance!
Teso79 said:
Hello everybody.
After reading a thread in Oneplus 7 Pro kernel and roms subforum there it says that 7Pro STOCK kernel supports F2FS.
Do you know if the same happen with Oneplus 7 (not pro) on OOS 9.5.8?
Thanks in advance!
Click to expand...
Click to collapse
Yes, F2FS works in stock ROM.
But I suggest you to flash Arter97's kernel and F2FS-optimize. The kernel is pretty updated with the F2FS sources.
Dan_Jacques said:
Yes, F2FS works in stock ROM.
But I suggest you to flash Arter97's kernel and F2FS-optimize. The kernel is pretty updated with the F2FS sources.
Click to expand...
Click to collapse
We just need now unified ROMs with the 7 pro boys! Getting dialog with them is the hard part as I keep getting ignored!!!!
Dan_Jacques said:
Yes, F2FS works in stock ROM.
But I suggest you to flash Arter97's kernel and F2FS-optimize. The kernel is pretty updated with the F2FS sources.
Click to expand...
Click to collapse
Do you know an updated guide to convert to f2fs for mobiles with slots A/B?
The ones I found aren't good or detailed enough.
(Neither haven't had replied from Arter's telegram channel nor xda thread)
Thanks in advance
Teso79 said:
Do you know an updated guide to convert to f2fs for mobiles with slots A/B?
The ones I found aren't good or detailed enough.
(Neither haven't had replied from Arter's telegram channel nor xda thread)
Thanks in advance
Click to expand...
Click to collapse
I just changed the /data filesystem through TWRP, rebooted and... ta-dah!
Dan_Jacques said:
Yes, F2FS works in stock ROM.
But I suggest you to flash Arter97's kernel and F2FS-optimize. The kernel is pretty updated with the F2FS sources.
Click to expand...
Click to collapse
That's fine but what about stock KERNEL (not just OOS). Or do we always have to flash a custom kernel in order to use F2FS
Regards
Teso79 said:
That's fine but what about stock KERNEL (not just OOS). Or do we always have to flash a custom kernel in order to use F2FS
Regards
Click to expand...
Click to collapse
When I mention stock ROM I mean all stock (ROM, kernel, fstab...). Just boot TWRP, format /data F2FS and everything will work.
I am under open beta 6 .Twrp 3.3.1-74 conversion data into N2fs without problem.