yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] Nephilim:
I just gotta chime in and say the last two SmittyV's have ran flawlessly for me on ext4. The one thing I've noticed is on like every build I get a bootloop at the google screen when doing a normal reboot from the power menu, never really mattered to me though because a battery pull solves the problem everytime.

Sent from my Android 4.4.3 Galaxy Nexus
[Samsung Galaxy Nexus] djtutis:
The same issue I've got work the last 3 kernels combined with any rom...
[Samsung Galaxy Nexus] osm0sis:
Again, no need to battery pull to get out of a bootloop, guys. Hold down the key combo for the bootloader just as the screen goes black, then either Power Off or boot Recovery, then start normally.
[Samsung Galaxy Nexus] Rushead:
Dude, don't pull the battery. Just push all 3 buttons and wait for the vibration.

Sent from a flashead cracker.

Ninja'd by [MENTION=4544860]osm0sis[/MENTION]
[Samsung Galaxy Nexus] Hetalk:
That would be awesome. Let me know if you need me to test before release. :good:
[Samsung Galaxy Nexus] rajputrajat:
Need help guyz !!!

ROM -- 06-18 commotio build with f2fs (self modified)

KERNEL -- Dirty_v SR

RECOVERY -- TWRP-2.7.1.1-F2FS/EXT4-MAGURO

now, when I tried to upgrade to 06-22 build (modified for f2fs as before, wipe system, cache and dalvik cache), the zip is not being flashed.

It complaints -

"set_metada_recursive: some changes failed

E: Error executing updater binary in zip ....

Error flashing file"

Even more, I am unable to flash older ROM also, the same one which was working before.

I suspect recovery which I think I flashed after the last ROM zip.

One more thing, everytime I have to modify updater-script since for some-time my phone fails as this is a Toro device not maguro :(

This is my main phone and device is not working now, so need suggestions, please.

Thanks a lot.
[Samsung Galaxy Nexus] osm0sis:
First, start by using the correct recovery and ROM for your device. See if that resolves anything.
[Samsung Galaxy Nexus] rajputrajat:
---------- Post added at 12:33 PM ---------- Previous post was at 12:31 PM ----------

[/COLOR]

My phone is maguro and I am using recovery for maguro...

EDIT:

well, flashed TWRP-F2FS/EXT4-TORO,TORO+,MAGURO and ROM has installed without any problems..

let's see if it boots up fine.
[Samsung Galaxy Nexus] osm0sis:
Those errors mean you're using the toro recovery by mistake some how. Flash a maguro one or you're going to have a bad time. :good: ;)
[Samsung Galaxy Nexus] rajputrajat:
should I try the one mentioned in your signature, considering it is f2fs ready?
[Samsung Galaxy Nexus] osm0sis:
Nah. Official TWRP for tuna devices still doesn't have f2fs enabled in the build config. Next version, we assume, it'll be supported officially. That's what I'm waiting for to try f2fs, in case anyone was wondering. ;)

The Holofied theme is totally badass and beautiful and I refuse to use regular old ugly TWRP. It's what finally converted me from CWM actually. :p

[MENTION=2719389]z31s1g[/MENTION], the creator of the theme, is integrating support for my new Flashify Script zip too. It's going to be sick! :D

The integrated support for AROMA Filemanager he wrote is also fantastic. Between those and my nano Installer and BootUnlocker script zips there isn't much you can't do from recovery now. :good:
[Samsung Galaxy Nexus] gautam_nexus:
Thats totally awesome! i am on f2fs and using Mini Modular gapps and coming from using stock gapps its such a pain. I hope when you make the switch to f2fs you can work on the pa gapps which will help us in selecting what to install during flash. :cool:
[Samsung Galaxy Nexus] osm0sis:
I've already been helping with that actually. I helped figure out how to keep from extracting the entire zip when installing, just pulling out the required files (more difficult since it's all in shell script now), and also compiled the tools necessary for zip signing a shell script flashable zip on Windows. [MENTION=2777334]TKruzze[/MENTION] also used a few of my other scripts as reference to get started but he's one smart dude so I'm sure that part wouldn't have taken him long either way, but I'm still happy to have helped. :)

He's in the middle of writing it still, but I seem to recall him saying another month-ish on the thread. Not too far off in the scheme of things anyway. It's going to be awesome. :good:
[Samsung Galaxy Nexus] gautam_nexus:
It sure gonna be a game changer. It also gonna ease of his work as well, since now he only has to manage one gapps package.
[Samsung Galaxy Nexus] amd_h4x0r:
uhh, where is LS 6/18? I must have missed it
[Samsung Galaxy Nexus] niekez:
Fstrim error with LS (f2fs) en latest dirty.

This phone needs Trim bad.
[Samsung Galaxy Nexus] osm0sis:
As far as we know that's a ROM issue. It's (very slowly) being looked into.
[Samsung Galaxy Nexus] poo706:
;)

http://xdaforums.com/showpost.php?p=53519438&postcount=1512

[poo]
[Samsung Galaxy Nexus] amd_h4x0r:
sorry for playing 20 questions, but is this build F2FS?
[Samsung Galaxy Nexus] poo706:
Nope, but feel free to try out the tool that I made this morning if you need it to be F2FS. http://xdaforums.com/showpost.php?p=53618363&postcount=121

[poo]
[Samsung Galaxy Nexus] DR3W5K1:
Its not just you I recently had to turn of location because of the same thing.

I suspect it's the new search update thing
[Samsung Galaxy Nexus] ILA:
Sorry for asking, but I haven't read through the thread in a while so the answer to my question is probably buried somewhere.

Has the "ADB not working after installing a F2FS ROM (commotio)" issue been fixed or were the couple of us just linely cases?

...and are there any problems with F2FS now? (not that there was before, but just to be sure) :)
[Samsung Galaxy Nexus] osm0sis:
ADB just depends on you using one of the newer recoveries from the OP; use the correct one for your variant (not the "all-in-one", because there's no such thing).

There are issues with the >24h uptime fstrim not happening and trim not being supported in general on f2fs, which are likely ROM-side, and I don't have confirmation about whether f2fs encrypted data works using my latest unified ramdisk update (but I know ext4 does).

http://v.ht/osmod so you don't have to go hunting. ;)
[Samsung Galaxy Nexus] _hz:
So should one reboot after 24h or (when) the device slows down?
[Samsung Galaxy Nexus] p34rp34r:
I'm having the exact opposite problem. I WANT location reporting, and all the settings are turned on, but the service never runs. I don't have any wakelock blockers and Greenify isn't set to hibernate anything related to location. Logcat is usually riddled with location reporting but now it just reports that it either can't get the location or the last known location was null. Once I open Maps or something that uses location, everything is fine until the process is killed, and then location is borked again. 99.999% sure it's not kernel or F2FS related, but throwing this out there to see if anyone here has the same issue.

EDIT: Yup, ROM issue. PA 4.4RC2 for toro has location issues. Only GPS works sometimes, no cellular or wifi location.
[Samsung Galaxy Nexus] osm0sis:
Rebooting has no effect on trimming. Might help whatever you're experiencing though (vm lag or something).

f2fs is designed so that it doesn't matter until the entire device has had its unwritten blocks filled, so you'd have to have downloaded, then deleted your way through all 12gb (or 28gb on toro/plus!) of /data storage (since your last full format) before you hit the bottleneck from no trimming. On ext4 it's pretty much immediate since it writes to the first available blocks.
[Samsung Galaxy Nexus] qu4nd:
Someone knows how the ROM Dev section reacts to the whole f2fs thing? Would love to see eg Vanir nightlies supporting it :)
[Samsung Galaxy Nexus] ILA:
Love you man, thanks! :D
[Samsung Galaxy Nexus] pvkiniyan95:
Such a heart warming sight, would have reached 3hr mark in sot if i only used WiFi instead of 3g

BTW latest and greatest LS with osm0sis unified dirtyv with F2FS and Art, 1.2ghz max and 384Mhz gpu
[Samsung Galaxy Nexus] ilgimmy:
A couple of questions about trimming on F2FS:

- do you know if trim on delete can be used; so that no need to run scheduled fstrim?

- do you think "fstrim: FSTRIM: Not a typewriter" error may depend on fstrim not supporting F2FS?

thanks for your work
[Samsung Galaxy Nexus] niekez:
I'm able to run fstrim in Archlinux with my f2fs formatted SSD.
[Samsung Galaxy Nexus] osm0sis:
Yes, discard can be added to the mountflags, but it will immediately make I/O slower. Trim not working only slows things down in the long run when the bottleneck is reached. See my last post. Still probably faster than ext4 even after the bottleneck is reached but it would be better if a ROM dev could make the vold fstrim work like it should.

Exactly. It should work. But it doesn't..
[Samsung Galaxy Nexus] qu4nd:
What do I need to keep for my Titanium Backups to work after the switch to f2fs?

I remember that I was once unable to restore them after just moving the actual TB data to the PC before wiping data...
[Samsung Galaxy Nexus] Hetalk:
I just copy my backups to my pc or my pen drive (usb otg) and then move back to phone after conversion. Always works.:good:
[Samsung Galaxy Nexus] osm0sis:
Use my sdcard Fix Permissions Flashable Script Zip, it'll fix/avoid any issues that can arise from pushing things back to your sdcard. :good:

http://v.ht/osm0
[Samsung Galaxy Nexus] _hz:
he says the opposite, trim on delete and f2fs should work due to f2fs's design, nor? :confused:
[Samsung Galaxy Nexus] niekez:
Reading that makes me think it's a good idea to use discard mount option. Only deleting large files takes longer then, but it wont impact io performance.
[Samsung Galaxy Nexus] qu4nd:
Someone successfully converted latest Vanir build to f2fs?

It seems as I'm doing something wrong...
[Samsung Galaxy Nexus] Firewalker1980:
Not the last build but pretty recent ;)

https://www.dropbox.com/s/r1esnjko7ba70de/vanir_maguro_4.4.4.062214_F2FS.zip?dl=1

(found here: http://www.androidiani.com/forum/mo...-gestione-della-memoria-dubbi-e-consigli.html)
[Samsung Galaxy Nexus] qu4nd:
Could someone repeat the correct steps for the conversion?
[Samsung Galaxy Nexus] iluvamk:
Check out op or second post.
[Samsung Galaxy Nexus] ilgimmy:
I tried to set discard option for /data in my fstab,tuna; after reboot phone didn't explode; so far so good :D

Any suggested test program?
[Samsung Galaxy Nexus] Hetalk:
... or use this tool by [MENTION=3927368]poo706[/MENTION]

Worked without issues on the latest paranoid. :good:
[Samsung Galaxy Nexus] dbh369:
Hmm, but /cache might see that happen a lot sooner no? And just wiping won't help, right? would need to format?

---------- Post added at 03:46 PM ---------- Previous post was at 03:45 PM ----------

Good idea, can you post code please? For us Linux noobs?
[Samsung Galaxy Nexus] _hz:
fstab is located in / and looks like this, just put 'discard' to the options of the /data mount-point, seperated by comma...
[Samsung Galaxy Nexus] ilgimmy:
Good idea, can you post code please? For us Linux noobs?

I used ES file explorer to mount R/W "/" and manually add "discard," after "...flush_merge," for /data

# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/dev/block/platform/omap/omap_hsmmc.0/by-name/system /system f2fs rw,flush_merge,discard,noatime,nodiratime,background_gc=on,inline_xattr,active_logs=2 wait
/dev/block/platform/omap/omap_hsmmc.0/by-name/efs /factory ext4 ro wait
/dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache f2fs rw,flush_merge,noatime,nodiratime,background_gc=on,inline_xattr,active_logs=2 wait
/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data f2fs rw,flush_merge,discard,noatime,nodiratime,background_gc=on,inline_xattr,active_logs=2 wait,nonremovable,encryptable=/dev/block/platform/omap/omap_hsmmc.0/by-name/metadata
/dev/block/platform/omap/omap_hsmmc.0/by-name/misc /misc emmc defaults defaults
/dev/block/platform/omap/omap_hsmmc.0/by-name/boot /boot emmc defaults defaults
/dev/block/platform/omap/omap_hsmmc.0/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/omap/omap_hsmmc.0/by-name/sbl /sbl emmc defaults defaults
/dev/block/platform/omap/omap_hsmmc.0/by-name/xloader /xloader emmc defaults defaults
/dev/block/platform/omap/omap_hsmmc.0/by-name/radio /radio emmc defaults defaults

# USB storage device
/devices/platform/omap/musb-omap2430/musb-hdrc auto auto defaults voldmanaged=usbdisk:auto

the problem is that using f2fs_pa_maguro-4.4-RC2-20140617.zip and SmittyV-UR-6.15.14.zip, the mod survives to a reboot.

Now instead I installed pa_maguro-4.4-20140625 coverted with EXT4_to_F2FS_gnex tool, and same kernel, but at reboot the fstab.tuna is still without discard option.

I think I'm doing something wrong :)
[Samsung Galaxy Nexus] pianistaPL:
Google I/O is happening. What do you think Guys about new Android look?
[Samsung Galaxy Nexus] _hz:
same on SlimKat with latest SmittyV...

i found a script (fscheck) in / where the fstab gets overwritten... it's by [MENTION=4544860]osm0sis[/MENTION] so i think he can help us... :angel:
[Samsung Galaxy Nexus] qu4nd:
The tool finally worked! I have no idea what went wrong before.

Tried latest PA and Vanir... I'll stick with Vanir for now. It's smoother and PA misses some features I like :)
[Samsung Galaxy Nexus] chongns:
i think the file fstab.tuna is from the ramdisk, it wouldn.t survives to a reboot
[Samsung Galaxy Nexus] rajputrajat:
Watching it on Chromecast

I was wandering how well gnex could do on all that.

That looks magical though

Decades ahead from iOS 8-9 bla bla bla :D
[Samsung Galaxy Nexus] blmvxer:
The new features in Android 5.0 will be exciting on our device. The new UI for multitasking made me extremely happy to see!!
[Samsung Galaxy Nexus] pvkiniyan95:
seems i have start using google play services again as hereafter security patches are pushed through it for all versions of android
[Samsung Galaxy Nexus] pianistaPL:
Holly sh*t, my bad screen... And i have to wait 12 months for new phone...
[Samsung Galaxy Nexus] rkpeterson:
Here is a new TEST build for LiquidSmooth for TORO.

Built with DirtV kernel inline, so straight from smitty's git.

Added a bunch of stuff from metalspring for fstrim and vanir.

So ROM and Kernel are built F2FS natively.

Note:

I still had to make changes in updater script to use busybox to flash.

http://www.mediafire.com/download/7ed1ufhdwnpoof4/LS-KK-v3.1-2014-06-25-toro.zip
[Samsung Galaxy Nexus] niekez:
Try putting this script in the init.d folder:

#!/system/bin/sh

mount -o remount,discard /data

mount -o remount,discard /cache
[Samsung Galaxy Nexus] osm0sis:
See the next...

Bingo. ;)

You need to edit the f2fs fstab in the unified ramdisk with my Android Image Kitchen: http://v.ht/AIK-

For storage benching I'd recommend AndroBench.

Yup. You might want -t auto in there too. And to answer someone else a few pages back, the discard is queued to try not to slow things, but it'd still be better if we could leave it off and trim when the OS wants (>24h uptime) or when we want (suspend_trim).

Oooh excited to hear whether the scheduled >24h uptime vold fstrim occurs with this one. :good:
[Samsung Galaxy Nexus] ashclepdia:
does this work with Android L version yet?

no?

wait, WHY NOT?!

step you game up!

lol sorry couldn't resist, ignore this stupid a$$ post
[Samsung Galaxy Nexus] dbh369:
Looks like mine!

---------- Post added at 12:25 AM ---------- Previous post was at 12:23 AM ----------

---------- Post added at 12:27 AM ---------- Previous post was at 12:25 AM ----------

Do we need to format first if we've been using them without trim for awhile or will discard "recover" untrimed space to date?
[Samsung Galaxy Nexus] V_tunes:
i just break the touch glass screen, and replace a new one by costing $30 in my country.

ops.

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] paarthdesai:
chipped of my gnex screen from the bottom..., guess il wait for n6

Sent from my Ğäłãxý Ńęxűš
[Samsung Galaxy Nexus] osm0sis:
If you want to be thorough, but eventually the empty space that's untrimmed will get filled again and discarded at that point so it's not terribly important.

It's not terribly important either way, like I said, untrimmed f2fs hitting the bottleneck is still probably faster than ext4 fully trimmed.
[Samsung Galaxy Nexus] Edgarngg:
Did you replace it by yourself? Mine is broken too
[Samsung Galaxy Nexus] DR3W5K1:
I personally replaced my screen it's easy!

I cannot believe the amount of people using these with cracked screens.

Just don't think I could take it would drive me nuts
[Samsung Galaxy Nexus] osm0sis:
OT: I'm itching for someone to pull the Google Cast Receiver apk down from the Play Store. I want to sideload it on my MX Box and see what happens. :p

I also can't wait for the L preview factory image to drop later today so I can multirom it on my N7 '13. ;)

Update: So much fun. :laugh:
[Samsung Galaxy Nexus] pianistaPL:
Hmm, as i know, glass and digitizer are integrated and i have to replace whole screen... How did you do that?
[Samsung Galaxy Nexus] ilgimmy:
Thanks for the tip.

I edited the ramdisk and put it back in the boot.img using suggested tools.

Now I'm really running with discard on all f2fs partitions.

AndroBench results (where the hell the text file is hidden, I have to write by hand):

#Micro-benchmark
Target: /data(f2fs)
Use buffer: No
SEQ RD: 29.38MB/s
SEQ WR: 9.52 MB/s
RND RD: 2538.18 IOPS(4K)
RND WR: 479.42 IOPS(4K)

#SQLite benchmark
Insert: 35.04 TPS
Update: 35.74 TPS
Delete: 39.66 TPS

#Marco benchmark
Target: /data (f2fs)
Browser: 83.5 msec
Market: 283.0 msec
Camera: 256.25 msec
Camcorder: 574.0 msec
[Samsung Galaxy Nexus] V_tunes:
i saw these guys use a heater to isolate glass and digitizer, then clean up glue on the digitizer. Next, take out the new glass cleaned into a machine which isolates dust, by using a kind of glue to fit them. last, put the whole screen into Ultraviolet light and waiting it fits well.

it's more complex than i describe, and needs experienced skills.
[Samsung Galaxy Nexus] ILA:
You can separate the two, but it's very tricky, and you'll probably end up breaking your screen as well... Also, when you separate the two, usually you will get dirt in between and that would annoy the crap out of me... If you can find a sercicer who could do this for you, that would be great. My friend got his phone fixed (HTC Wildfire S) like this, and he also has crap in between the screen and the digitizer, but he doesn't mind and it cost him about 30e

Here's a good read why you shouldn't do it by your self (I wanted to :D )
[Samsung Galaxy Nexus] pvkiniyan95:
Would u pls share boot.img
[Samsung Galaxy Nexus] ilgimmy:
Sure, here it is; my phone is still working; so it shall be moderately safe :laugh:

SmittyV-UR-6.15.14_F2FS_discard.zip on Mega
[Samsung Galaxy Nexus] Hetalk:
interactive ... with the early suspend ? [MENTION=2853378]Nephilim[/MENTION] :D
[Samsung Galaxy Nexus] bsmitty83:
No one that just works right . wakes up immediately . and looking at ak's git he reverted early suspend from interactive , so I don't know if it works properly or not
[Samsung Galaxy Nexus] pattyboi:):
guinea pig right here buddy.
[Samsung Galaxy Nexus] pattyboi:):
you.are.the.best.
[Samsung Galaxy Nexus] bsmitty83:
Got a New test build up in the OP , my personal build ,

-removed current interactive and used interactive from AK's xGenesis kernel ,

-AK's ROW io/sched

-dropped 180mhz cpu freq

-Using [MENTION=4544860]osm0sis[/MENTION] "Anykernel V2" , Big Thanks as alway :good:

If you run this kernel please make sure you test interactive and row it was my main focus , there shouldnt be any pause on wakes
[Samsung Galaxy Nexus] 47th_Ronin:
HA!

Spat out ma damn drink i loled so freakin hard!!!!!

Hi-fckin-larry-ous....

Dont hate the drunk old guy mmmk?

Carry on...
[Samsung Galaxy Nexus] pattyboi:):
uhmm...no TWRP support ? loading bar fills,script goes too 100, then sits there forever until a battery pull is done

EDIT: after bat pull it boots lol,nevermind :)
[Samsung Galaxy Nexus] bsmitty83:
Not sure , I use cwm , it works fine . I'll figure it out
[Samsung Galaxy Nexus] pattyboi:):
nvm,after bat pull it boots lol
[Samsung Galaxy Nexus] Nephilim:
Did you get my pm with the Logo link? The one in the OP doesn't have the proper transparency for some reason.

Sent from my Android 4.4.2 Galaxy Nexus
[Samsung Galaxy Nexus] bsmitty83:
Yea sorry , I think its cause I added the photo from my blazing fast nexus from tapatapatapatalk , its transparent in my gallery
[Samsung Galaxy Nexus] Nephilim:
Yea, it boots but take a look. The kernel never flashes. I had the same issue as you with it hanging in twrp. I tried 4 times and everytime it just sat at 100% loading but never finished. When I rebooted it was still DirtyV SR2 Linaro 1/25 build.

Not sure why this build doesn't boot properly with twrp but all the others do. Oh well, I'll stick to SR2 Linaro 1/25 until the next one boots. Thanks either way though smitty. :)

Sent from my Android 4.4.2 Galaxy Nexus
[Samsung Galaxy Nexus] bsmitty83:
I got u got a backup zip ready . back to the old style for now . I'll mess with the anykernel installer later
[Samsung Galaxy Nexus] pattyboi:):
wont flash for me with cwm either,i formated system and reflashed rom and everything,stilll no go,was gonna say something but girlfreinds are nags lol
[Samsung Galaxy Nexus] cujo6801:
Hey Nephilim..

Thanks for tracking down that revert...

I think my phone loves you for all you do bro..

With all your input and advice you make my phone run the best it can..

Just wanted to give you some credit for all the hard work you do...

Thanks again...

sent from the DOG pound
[Samsung Galaxy Nexus] bsmitty83:
Try the Link now , Sorry bout that , i need an opinion on interactive ......
[Samsung Galaxy Nexus] pattyboi:):
dont be sorry bro. DL now. report in 10 mins (or 1 if it dont flash lol)
[Samsung Galaxy Nexus] bsmitty83:
Lol :eek:
[Samsung Galaxy Nexus] schnob:
Interactive and Row are working fine for me, the waking lag is definitely gone. I did have to do a battery pull in TWRP, but it booted fine afterwards.
[Samsung Galaxy Nexus] Rushead:
Check about phone to be sure it actually flashed.

Sent from a flashead cracker.
[Samsung Galaxy Nexus] ashclepdia:
the results history are kept in a .db in /data/data dir for androbench, dunno if text can easily be pulled from it or not

was just fyi in case you were still digging around to try and find it :)

BUT

you could always just do this and screen shot the results ;) easier

I'm still not updated to any f2fs yet, but I AM OC'd and tweaked for performance(using my own settings that I change constantly lol)

I GOTTA SAY, some results there are very marginal difference,.BUT the rnd rd and rnd wr have HUGE differences! along with EVERYTHING under #Marco results.

the marco ones(camera/browser/camcorder/market) have HUGE gains with your setup compared to mine, I wonder if it's mostly the f2fs playing a major role in those differences. cuz I DO notice my camera can lag horribly sometimes, along with EVERYTHING else in that marco list. I MUST test this out, cuz those are really the ONLY "issues" I have with major lag are those areas, with my keyboard acting up once in a while too(randomly)

thanks for sharing results
[Samsung Galaxy Nexus] ilgimmy:
Regarding AndroBench log, thanks for the tip; I saw lot of logs across the net, and I suppose I was missing something obvious to export them :D

Regarding F2FS tests: I've to specify I've no overclock because for now I'm testing PA 4.4 final + BSmitty kernel stability on my device.

I think this setup is far better OmniRom 4.4.2 I was using before; but I've to admit that also with EXT4 PA 4.4 was smoother :)