I can't manage to boot franco kernel (sabermod with f2fs support) on my n4...
it always gets stuck at google logo :-/
it always gets stuck at google logo :-/
You first flash, then format. So you HAVE something to flash.thing is... You might screw up and might need to push the zips through adb in recovery.
Guys, I am facing issues in connecting my mobile to computer. Most of the times it doesnt connect. I had to plug in hard to connect it. If I want to try this, do i need PC must? Cos, anyways after formatting in TWRP I'll not have any file in mobile to flash, isn't it?
What do you mean with remount. I am using root explorer to delete the system apps I don't use and can. Rw. Ro the system as much as I like.
Btw chad from velocity would be so kind to make us another bootimage so I could use his kernel beside the slim one. Do you know how to make that, or if not, what changes you have to make to just do a kernel. We can't get his kernel to run and I was not able to find a full github for this.
root@android:/ # busybox mount | grep /system
/dev/block/platform/msm_sdcc.1/by-name/system on /system type f2fs (ro,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=off,discard,user_xattr,inline_xattr,acl,errors=recover,active_logs=6)
root@android:/ # busybox mount /system -o remount,rw
root@android:/ # busybox mount | grep /system
/dev/block/platform/msm_sdcc.1/by-name/system on /system type f2fs (ro,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=off,discard,user_xattr,inline_xattr,acl,errors=recover,active_logs=6)
Do you know any full github commit for making kernel fullf2fs compatible.
I found something on franco, but that seems not to be all.
CONFIG_F2FS_FS=y
CONFIG_F2FS_STAT_FS=y
CONFIG_F2FS_FS_XATTR=y
CONFIG_F2FS_FS_POSIX_ACL=y
CONFIG_F2FS_FS_SECURITY=y
# CONFIG_F2FS_CHECK_FS is not set
1. I meant this:
As you can see, /system remains in RO. If Root Explorer is capable to remount in RW I need to figure out how...Code:root@android:/ # busybox mount | grep /system /dev/block/platform/msm_sdcc.1/by-name/system on /system type f2fs (ro,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=off,discard,user_xattr,inline_xattr,acl,errors=recover,active_logs=6) root@android:/ # busybox mount /system -o remount,rw root@android:/ # busybox mount | grep /system /dev/block/platform/msm_sdcc.1/by-name/system on /system type f2fs (ro,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=off,discard,user_xattr,inline_xattr,acl,errors=recover,active_logs=6)
2. It's hard to know which kernel is "Velocity". Do you have links? Kernel code should be public...
Try this
xdaforums.com/showthread.php?t=1599332
Normally even if everything else is failing this app is always finding my device.
Set SE Linux mode to permissive and try if you can get it to work !!
Maximum velocity kernel
https://github.com/Velocity-Project/mako_kernel
RW -> mount -o remount,rw -t f2fs /dev/block/platform/msm_sdcc.1/by-name/system /system
RO -> mount -o remount,ro -t f2fs /dev/block/platform/msm_sdcc.1/by-name/system /system
I get stuck on the boot logo all f2fs with psx v4 and slimkat kernel. Whats wrong?
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
run_program("/sbin/mkfs.f2fs", "/dev/block/platform/msm_sdcc.1/by-name/system");
run_program("/sbin/busybox", "mount", "/system");
fastboot flash recovery the_name_of_the_modified_recovery.img
adb shell
mkfs.f2fs /dev/block/mmcblk0p21 (System)
mkfs.f2fs /dev/block/mmcblk0p22 (Cache)
mkfs.f2fs /dev/block/mmcblk0p23 (Data) (Be careful this will delete everything you have)
adb push asdf.zip /sdcard (NOTE: the asdf.zip must be in the same folder that adb.exe is)
Guys, I will write down an analytical post flashing F2FS ROMs, other than the one provided in the OP:
1)Download the Modified Recovery PROVIDED IN THE OP
2)Download the FormatPartitions.zip PROVIDED IN THE OP
3)Download the SlimKat ROM PROVIDED IN THE OP(We need its boot.img file)
3)Download your favourite ROM(be it CyanogenMod 11, ParanoidAndroid etc)
4)Open your favourite ROM with WinRar/whatever you use and navigate to META-INF\com\google\android\updater-script
5)Open updater-script with Notepad/whatever you use and replace these 2 lines(RESPECTIVELY):
Code:format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system"); mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
TO
Code:run_program("/sbin/mkfs.f2fs", "/dev/block/platform/msm_sdcc.1/by-name/system"); run_program("/sbin/busybox", "mount", "/system");
Note: Notepad on Windows has a replace functionality. It's on Edit---->Replace. So you can paste the stock code with the one you want it to be replaced with.
6)Now replace the boot.img inside your FAVOURITE ROM(you can find it when you open the ROM .zip file) with the one in the MODIFIED SLIMKAT PROVIDED IN THE OP
7)Copy FormatPartition.zip which you downloaded to your Phone
8)Reboot to fastboot mode and flash the MODIFIED KERNEL which you downloaded. The code to do so is:
Code:fastboot flash recovery the_name_of_the_modified_recovery.img
9)Reboot to Recovery
10)Flash FormatPartitions.zip with new Recovery
11)Reboot recovery
12)Flash your FAVOURITE ROM(which you modified some minutes ago)
13)Flash your favourite Gapps(I installed Banks' Gapps)
14)I don't recommend flashing a custom kernel NOW, because when I did, the WiFi wasn't working. You can flash a kernel later.
15)Go to Wipe Menu and press Format Data (The Big BUTTON!) (You will LOSE all your Data! Music, Pictures, Movies etc!!)
16)Reboot to Android
17)You can now reboot to Recovery and flash your custom Kernel. Be careful though because you need a kernel that supports F2FS. I recommend ak's xGensis kernel. It works like a charm without any problems.
I followed these steps for making a ParanoidAndroid F2FS and it worked like a charm.
Thanks Nabendu1 for the code above for making it F2FS compatible. Original post of his here: http://www.purespeedx.net/index.php/Thread/269-F2FS-Discussions/?postID=9795#post9795
If you want F2FS Adreno binaries updated on 17/4/2014 I can provide the .zip
So as I pray, UNLIMITED ANDROID WORKS. xD
Thanks. Finally I can remount it with
Code:
RW -> mount -o remount,rw -t f2fs /dev/block/platform/msm_sdcc.1/by-name/system /system
RO -> mount -o remount,ro -t f2fs /dev/block/platform/msm_sdcc.1/by-name/system /system
About Velocity: do you want to build this kernel with f2fs? Maybe tonight I can play with it...
Also, I made this selectable zip HellsDoctor2_R1-F2FS-selectable.zip. It's running great here
I get stuck on the boot logo all f2fs with psx v4 and slimkat kernel. Whats wrong?
I can't manage to boot franco kernel (sabermod with f2fs support) on my n4...
it always gets stuck at google logo :-/
Maybe some partition is not well formatted to f2fs. Are you sure PSX's updater-script format /system to f2fs? Also, have you formatted /data and /cache to f2fs?
---------- Post added at 04:44 PM ---------- Previous post was at 04:04 PM ----------
Please, try this. boot.img is taken from this test version. To revert (if needed), flash ROM+GAPPS+working f2fs kernel as always.
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
run_program("/sbin/mkfs.f2fs", "/dev/block/platform/msm_sdcc.1/by-name/system");
run_program("/sbin/busybox", "mount", "/system");
fastboot flash recovery the_name_of_the_modified_recovery.img
adb shell
mkfs.f2fs /dev/block/mmcblk0p21 (System)
mkfs.f2fs /dev/block/mmcblk0p22 (Cache)
mkfs.f2fs /dev/block/mmcblk0p23 (Data) (Be careful this will delete everything you have)
adb push asdf.zip /sdcard (NOTE: the asdf.zip must be in the same folder that adb.exe is)
Yes, I flashed a F2FS kernel. In fact, I am using that kernel with the F2FS version of SlimKat posted in the OP, so I couldn't figure why the newest SlimKat version doesn't work even after modifying those 2 lines in the updater script.