yashsingh1/xdaforums huggingface dataset:
[Sony Xperia S, Acro S, Ion] pavel_t610:
hello!

I have a problem when I try migrate /data

error wipe partitions

error change filesystem

What I do wrong?

/cache and /system migrate successfully

Android nAOSP b21, TWRP 2.8.50
[Sony Xperia S, Acro S, Ion] vishals16:
Some faced problem while converting data to f2fs in twrp 2.8.5.0. Try doing it with 2.8.4.1.
[Sony Xperia S, Acro S, Ion] mirhl:
/data partition conversion into F2FS fails "with ERROR=1" due to an unknown/invalid option -r

[MENTION=6043081]mickybart[/MENTION]

I can't find that switch anywhere. Where does it come from?
[Sony Xperia S, Acro S, Ion] mickybart:
It should be used by "rm" when you have requested TWRP to remove files instead of formatting. This procedure is validate only on TWRP 2.8.0.1. That should work with more recent versions.

To check that manually you can do :

go into TWRP

adb shell

rm --help or rm -h should be able to show you argument supported. You should see -r for recursive
[Sony Xperia S, Acro S, Ion] mirhl:
Yes, but the problem is "Use rm instead of formatting" setting was not checked.

I'm using nAOSP b21 with twrp 2.8.5.0 and this has to probably be the reason for the other users' problems
[Sony Xperia S, Acro S, Ion] vishals16:
Deleted. Sorry, I misread
[Sony Xperia S, Acro S, Ion] mirhl:
I was actually reporting the reason of the failure to the developer.

In 2.8.4.1 there's no kind of problem, though it wouldn't be bad if somebody could fix it.
[Sony Xperia S, Acro S, Ion] vishals16:
Yeah, I got that. :)

I also faced problem converting data to f2fs using 2.8.5.0.
[Sony Xperia S, Acro S, Ion] RedSkyRoad:
How long does a /data restore take on 2.8.6.0?
[Sony Xperia S, Acro S, Ion] Cr33D OrB:
Maybe ~1minute

By ca. 1GB.(data)
[Sony Xperia S, Acro S, Ion] RedSkyRoad:
I've been waiting 30-40 minutes now. What should I do?
[Sony Xperia S, Acro S, Ion] Cr33D OrB:
Holy f*CK..

How much size for /data to RESTORE ?

and those both FS's are equivalent,arent they ???

Maybe HARD REBOOT and then try again..

Data/media/0 should stay.

Report!

;)

Regards.
[Sony Xperia S, Acro S, Ion] RedSkyRoad:
I forced-shut-down my phone, re-entered recovery and started again. Worked this time - 20 second :)
[Sony Xperia S, Acro S, Ion] Cr33D OrB:
Haha glad that i could help u mate ;)
[Sony Xperia S, Acro S, Ion] Soundy106:
Been running Temasek CM12.1 on my Note 3... had /data formatted as f2fs already. Did a Nandroid backup, flashed stock Lollipop ROM to update modem/BL, then restored from Nandroid... all working fine, except I'm unable to format /data back to f2fs using TWRP 2.8.6.0 - I just get the dreaded error:

E: Unable to wipe '/data'

E: Unknown MTP message type: 1

E: Error changing file system.

Restore gives me a warning about the different filesystem but still seems to complete properly.

Any thoughts?
[Sony Xperia S, Acro S, Ion] vishals16:
I am not sure but try disabling mtp under mount in twrp and then format data partition to f2fs.
[Sony Xperia S, Acro S, Ion] Soundy106:
Will give that a go, thanks.
[Sony Xperia S, Acro S, Ion] mirhl:
Were did you find TWRP 2.8.6.0?

And the problem is actually this. Only solution for now is using 2.8.4.1.

And perhaps posting here

EDIT: [MENTION=6043081]mickybart[/MENTION]

It seems that with this commit after 2.8.4 branch TWRP assumes the support of an additional switch.

The previous day indeed the same command was also added to CM f2fs tools.

AOSP tree still, has nothing like that.

Any insight in this?
[Sony Xperia S, Acro S, Ion] Soundy106:
Okay, thanks.
[Sony Xperia S, Acro S, Ion] mirhl:
I know it's out...

But there's none for XS
[Sony Xperia S, Acro S, Ion] Soundy106:
Oh FFS, I didn't even realize I was in an Xperia section, I was just searching on the error I was getting and this thread seemed to have people who knew what they were taking about. Sorry guys! I'm just gonna go sit in the corner now and go back to my old Motorola brick phone...
[Sony Xperia S, Acro S, Ion] dumbl3:
I just run all the steps to migrate to F2FS. Currently its booting, but stuck on SONY logo for +-10 minutes or so. Is this supposed to take this long?

Im running:

- twrp 2.8.4.1

- nAOSP ROM 5.1 b22

I migrated data/cache/system/sdcard..
[Sony Xperia S, Acro S, Ion] vishals16:
/System is not supported with f2fs in nAOSP.
[Sony Xperia S, Acro S, Ion] boilavera1980:
i always get a failed while restoring system on the newest firmware for the Z3C ... any ideas?
[Sony Xperia S, Acro S, Ion] mirhl:
Yes, check your forums
[Sony Xperia S, Acro S, Ion] mickybart:
I have uploaded on mega a new static file mkfs.f2fs compatible with -r option. This option is not used by mkfs.f2fs so you shouldn't use it for motorola device concerned by reservation feature.

At least nAOSP 5.1 and uCyan 12.1 will integrate this update on a next release

I have tested it with twrp 2.8.5.0 with success.

Output :

~ # mkfs.f2fs

F2FS-tools: mkfs.f2fs Ver: 1.4.0 (2014-10-18)

Error: Device not specified

Usage: mkfs.f2fs [options] device [sectors]

[options]:

-a heap-based allocation [default:1]

-d debug level [default:0]

-e [extension list] e.g. "mp3,gif,mov"

-l label

-o overprovision ratio [default:5]

-s # of segments per section [default:1]

-z # of sections per zone [default:1]

-t 0: nodiscard, 1: discard [default:1]

-r reserved_bytes [NOT USED]

Thanks a lot for your detailed post. That avoid me to do few research :) Thanks again
[Sony Xperia S, Acro S, Ion] BLu-RaymOn:
work fine. very smooth. :D
[Sony Xperia S, Acro S, Ion] ivanasecas01:
I dont undestarnd ...

When i do this, boot my phone but stop in sony loggo

Anyone can do a video to do this?

Sorry for my english

Enviado desde mi Xperia S mediante Tapatalk
[Sony Xperia S, Acro S, Ion] Diverti:
It's very easy to do it, just follow precisly the steps in OP!!!! Did you wiped /system?
[Sony Xperia S, Acro S, Ion] moonthemindfreak:
So all the above steps are for converting microSD card from FAT to F2FS ?
[Sony Xperia S, Acro S, Ion] mirhl:
It's for every partition
[Sony Xperia S, Acro S, Ion] moonthemindfreak:
:good:

If i only convert my sdcard what good it will do ? I really wanna try

And after converting will the windows be able to recognize the filesystem ?
[Sony Xperia S, Acro S, Ion] mirhl:
Each partition is separate from others.

And Windows will still be able to see it with MTP.
[Sony Xperia S, Acro S, Ion] moonthemindfreak:
So windows won't detect it in mass storage mode? And can i follow same procedure for Z2 (Sirius)
[Sony Xperia S, Acro S, Ion] mirhl:
Mass storage can't absolutely work with F2FS.

And this is just for xperia S
[Sony Xperia S, Acro S, Ion] moonthemindfreak:
Thanx mate, really wanted to try :(
[Sony Xperia S, Acro S, Ion] ibtihaaz:
Hi .. i want to know a bit about the sdcard migration procedures....

i have done these procedures with the data,cache and sdcard and it is working. But if i roll back to Vfat, for the SDcard ONLY should i type

chown -R 1023.1023 /sdcard

chmod -R 770 /sdcard

at the end of procedure .. ????

Anyone please enlight...

Thanks
[Sony Xperia S, Acro S, Ion] Dark1Angel:
I don't understand how to "push mkfs.f2fs into /sbin". Do I copy the file in that folder and then write in terminal command : adb push mkfs.f2fs /sbin/ ?
[Sony Xperia S, Acro S, Ion] mirhl:
Terminal command is that thing inside recovery. If you want to do it from phone you should just cooy paste it.

Adb is the tool on pc.
[Sony Xperia S, Acro S, Ion] mirhl:
[MENTION=6043081]mickybart[/MENTION]

Are you sure f2fs on /cache is a good idea?

EDIT: also, is it so important to give owner and groups execution permissions with 770?
[Sony Xperia S, Acro S, Ion] mickybart:
We have 256MiB for /cache on Xperia S. There is no issue reported to use f2fs on it. I'm using it since a while on my side. I can take a deeper look on the post mentionned to see if I miss a case that can be critical.

About execution permissions in fact this apply to a folder so this is not an execution permission but an "enter into the folder" permission. You need it for vold to work with /sdcard in f2fs or ext4.

(Those permissions are not part of the procedure for those in Android 6 with a big /data in f2fs)
[Sony Xperia S, Acro S, Ion] mirhl:
Yes, thank you.

Btw the period in chown is deprecated.
[Sony Xperia S, Acro S, Ion] HaoZeke:
This also wiped my internal sd card.. which didn't get fixed by the TWRP restore.
[Sony Xperia S, Acro S, Ion] mirhl:
That's the "adb pull -p /sdcard backup_folder/" , "adb push -p backup_folder/ /sdcard" part.
[Sony Xperia S, Acro S, Ion] HaoZeke:
Damn, curse my speed reading.
[Sony Xperia S, Acro S, Ion] HaoZeke:
Does anyone here know what exactly is needed for f2fs? Apart from --> Kernel support (commits)

--> system vold settings

--> fstab edits.
[Sony Xperia S, Acro S, Ion] mirhl:
Can you damn stop to spam in every thread? I already answered you and you skipped over.
[Sony Xperia S, Acro S, Ion] AlxMAX:
If /data is encrypted with a pin, how is it possible to encrypt the /data formated with the f2fs filesystem? I mean what command I can use to encrypt the file system directly in the recovery.
[Sony Xperia S, Acro S, Ion] topstarnec:
by using this guide all my media files lost!!

Because the twrp backup excluding the MEDIA folder when backing up DATA. Then you have to change the DATA partition from Ext4x to F2fs that mean format everything under DATA including MEDIA folder.

After restore you will find all your media vanished cause no media backup.
[Sony Xperia S, Acro S, Ion] mirhl:
That, only if you repartitioned.
[Desire 816 Q&A, Help & Troubleshooting] livefree159:
hey guyz .....

My device HTC 816 Dual SIM ... I have a problem with touch ..... after update software to 1.58 I started losing the touch key after key

NOW .... I lost 3 bottom keys ( back + home menu ) and I have to press more than 3 times til I can hit the key

please help me :(
[Desire 816 Q&A, Help & Troubleshooting] smtb:
same problem with touch

i have the same problem with my htc desire 816 ... pleaseeeeeeeeeeeeeeeeeee help
[Desire 816 Q&A, Help & Troubleshooting] seekfind:
really guys, give some information and history about your devices. software/hardware information, carrier, root/update information, stock/custom rom history..
[Desire 816 Q&A, Help & Troubleshooting] tawfekov:
I had the same issue

sometimes the back button works while the most of the time its not working , touch anywhere on the screen is very hard

some times it respond with hard / tough touch

I have stock rom used , same issue persist after factory reset , I did also tried to do soft reset with the same results

not rooted yet

Version 1.58.401 is currently used , no custom recoveries , boots .. etc
[Desire 816 Q&A, Help & Troubleshooting] masoudamirian:
hi,we have same problem. you can join to this thread and help us!:o

http://xdaforums.com/desire-816/help/htc-desire-816-touch-screen-properly-t2985729
[Moto G Android Development] lost101:
Disclaimer: I am not responsible for anything that happens as a result of flashing these files. Your destiny is your own.

Important Notice: This ROM can be flashed with either TWRP 2.8.1.0 or Philz Touch Recovery v6.55.0, however restoring backups is not straight forward. The only reliable way to restore a KitKat backup is to use this method.

.: Identity Crisis ROM (Single-SIM) :.​

(Android 5.0.2)​

Lollipop Bootloader not required​

This ROM has been built from the latest firmware for XT1063 - Stock Android 5.0.2 (v22.21.28).

Yes, you read correctly; this is a Moto G (2nd Generation) ROM running on XT1032.

XT1032 Lollipop Radio Firmware available here.​

First boot can take a few minutes.​

Screen flicker is due to Kernel. Turn screen off once to fix. Custom stock kernels in the future might solve this.​

Features:

Stock XT1032 5.0.2 Kernel

Debloated (Motorola apps still available in Play Store)

Zipaligned

Rooted

Busybox

'Cast Screen' Enabled

OTA Updates | Motorola Notifications Disabled

MultiROM compatible - TBC

init.d Script Support

Post-install zipaligning (Darky / Fly-On Mod™)​

How to flash:

1) Sideload or download ROM to internal storage.

2) Boot into Custom Recovery.

3) Factory Reset (System, Data, Cache, Dalvik)

4) Flash zip, reboot.

This ROM requires a F2FS 'userdata' partition.

If you are GPE, or have ever been; you may need to convert to Stock. More info in FAQ here.​

​

Working:

Almost everything​

Not Working:

Compass

CDMA or Dual-SIM support​

Tips:

Stock Boot Animation (Flash in Recovery)

Problems restoring TWRP backup? Read this and this

Speed up animations in Developer options - Instructions

"OK Google" / Google Search not working? Available in Play Store

Want Face Unlock? Flash this

Battery Percent Enabler

Adblock Plus issue

Faster GPS locking: Try this app

Enable Automatic Battery Saving Mode:

Settings > Battery > Menu Button > Battery saver > Turn on automatically @ 5% or 15%​

Download v006 (355MB)​

v005

Download v005 (334MB) [Mirror]​

Screenshots:

http://xdaforums.com/devdb/project/?id=7715#screenshots​

Changelog:

30/01/15 - v005 - Now using XT1032 Kernel / Modules. Fixed Camera issue. Updated SuperSU. Re-added Stock Equalizer (Sound > Audio effects)

22/01/15 - v004 - New build to fix audio issues

20/01/15 - v003 - Fixed APK issue (Thanks mounkg, VitaTaf); added ROM name to 'About phone' screen

17/01/15 - v002 - Fixed Speaker audio and Auto-rotate

16/01/15 - Initial release

XDA:DevDB Information

Identity Crisis ROM, ROM for the Moto G

Contributors

lost101, mounkg, VitaTaf

ROM OS Version: 5.0.x Lollipop

ROM Kernel: Linux 3.4.x

Based On: XT1063 (Titan) Stock Android 5.0.2 | Build: LXB22.46-28

Version Information

Status: Stable

Current Beta Version: v006

Created 2015-01-16

Last Updated 2015-02-22
[Moto G Android Development] josip-k:
Woe dude,awesome work! I will try this as soon as i get home! :D
[Moto G Android Development] k-kuchen:
Interesting ROM :)

Regarding Recoveries... What about the newer TWRP builds? Do they work properly with lollipop?
[Moto G Android Development] lost101:
Work on Lollipop support has yet to begin.
[Moto G Android Development] dgjl:
Where is it? ?
[Moto G Android Development] lost101:
Link up now. Sorry for the delay.
[Moto G Android Development] jikobutsu:
Twrp failed to flash, even after wiping internal storage, latest philz flashed fine. Working great on my xt1032 :)
[Moto G Android Development] lost101:
TWRP needs a reboot if you wipe internal storage.
[Moto G Android Development] jikobutsu:
The ROM has no sound, and I mean everywhere ?
[Moto G Android Development] lost101:
I made a test call and that had sound.
[Moto G Android Development] josip-k:
can you test music playback? Or games sounds?
[Moto G Android Development] wts1:
on mto g 1032 converted to gpe stuck at boot ... booting over 20 minutes now ... may i do migration maybe to f2fs ??
[Moto G Android Development] lost101:
I can't check until morning. A sound driver fix may be needed, should be only a small zip.

Yes, f2fs required.
[Moto G Android Development] wts1:
not working : audio , auto rotate
[Moto G Android Development] bobrda:
Made it with Phils recovery. Boot it in 3-4 min.. Rom is fast and smooth. Audio and rotate don't work, but if u fix that it would be great. Thanks [MENTION=1006674]lost101[/MENTION]
[Moto G Android Development] bornlivedie:
was about to flash it when i read this... too bad

will wait a little bit, in the meantime updating cm12
[Moto G Android Development] SamsungAdmire:
Can't wait for the audio fix.
[Moto G Android Development] ro11er:
Great ROM waiting for audio fix
[Moto G Android Development] lost101:
I actually contacted Shawn5162 a few hours before posting this. I asked him if he would consider a release of his ROM for Moto G (1st Gen) because I could see it might be possible, and told him how.

I made the decision to release a very basic ROM based on a pure stock system dump, for others to use as a launchpad for their own work. This ROM doesn't have most the features of the 'Titan Prime' ROM, because it's not a port of that ROM.

I don't mind changing the name if Shawn wants, and I am happy to credit anyone.

FYI: The codename of XT1063 is Titan.

EDIT: Now called 'Identity Crisis ROM' - the original working title...should have stuck with that.
[Moto G Android Development] lost101:
With XT1063, the main speaker is front-facing.

A temporary solution is to re-route all audio to the earpiece speaker using SoundAbout.
[Moto G Android Development] pv979:
Yep - did not work for me either (stuck at boot logo) until i changed it to f2fs.

Now it's working great !!!

Thanks for the rom, lost101. Uptill now, this is the best 5.0.x rom for my moto g xt1032 !!!
[Moto G Android Development] lost101:
Only people that are currently running GPE need to convert the partition. You do not. Simply factory reset and flash ROM.

EDIT: To correct myself. You need an f2fs 'userdata' partition - just because you are currently running CM12 does not mean you have the partition in the correct format. The Stock Motorola Kernel will check for f2fs and

will not boot

if it fails to find it.
[Moto G Android Development] Cjit26:
Running great so far, battery life is awesome with this rom, I'm con 41.05 bootloader with the latest Philz recovery and only had to clean cache partition and ART cache to update from v003 to v004, audio and SMS seem to work perfectly with this ROM on XT1032
[Moto G Android Development] lost101:
Have you, are anyone else, tested the 'Battery saver' option?

Settings > Battery > Menu Button > Battery saver > Turn on automatically @ 5% or 15%​
[Moto G Android Development] alfick3:
OK, looks like Philz did the trick. I was able to flash the ROM using the Philz version you mentioned (6.55.0). I saw that there were newer versions, but didn't flash one of them. So, now I'm running this ROM. Looks nice, and seems good to me, so far. Thank you.
[Moto G Android Development] lost101:
That version of Philz Touch also allows you to backup this ROM. I tried with TWRP and ended up in bootloop.
[Moto G Android Development] auntiegene:
That worked! I'm still getting to grips with the various partition types, so I just went hell for leather and converted all the partitions that Philz would let me. Installed v004 and it's been working brilliantly since. Cheers! :)
[Moto G Android Development] :
[MENTION=1006674]lost101[/MENTION], a question. The kernel issue when booting, wavy screen, what exactly is that, and does it effect the device in a way when booted ?
[Moto G Android Development] lost101:
I'm not a kernel dev, but [MENTION=4403780]TeamMex[/MENTION] has commented on it: http://xdaforums.com/showpost.php?p=57578214&postcount=7

There is always a risk when installing custom ROMs and Kernels. If you feel very uncomfortable with that, you can always flash the Lollipop Bootloader. Personally the only thing that would concern me is overheating, and I haven't seen any sign of that with this ROM.
[Moto G Android Development] Cjit26:
Nope I have never used that one feature but I'll activate it to see if everything is okay, just wait for my moto g to get low battery as I just charged it lol
[Moto G Android Development] lost101:
Yeah, I'm not able to go back to KitKat now. The extra battery-life and performance has proved more important to me than Xposed Framework.
[Moto G Android Development] r00tPT:
Which version are you using lost101? Identity crisis?

I'm using your opmitized kit kat rom, but would like to update to lollipop for the reasons you mentioned.
[Moto G Android Development] lost101:
Yes, I'm using Identity Crisis v004.
[Moto G Android Development] :
Wondering if the new camera api works on this rom ?
[Moto G Android Development] abeloman:
Why the preview in camera app is so dark?
[Moto G Android Development] lost101:
The current camera2 api doesn't seem to support very many devices other than Nexus 6 / 9. None of the apps I tried worked, but that may not be due to this ROM; rather the need for a new version of the api with greater compatibility. That could be part of Android 5.1 [rumoured] due next month.

It does get lighter if you change screen brightness. I can't remember the old KitKat behaviour; if view-finder automatically had higher / full brightness?

You might prefer 'Adaptive brightness' off:

Settings > Display > Adaptive brightness​
[Moto G Android Development] abeloman:
Nope, full brightness and the viewfinder still dark... Maybe a kernel issue? I've tried other camera apps, and it stills the same... Am I the only one suffering this problem?
[Moto G Android Development] r00tPT:
Is there a way to make the icons smaller, or do I have to change the launcher? Thanks
[Moto G Android Development] lost101:
Long-press on home screen; above 'widgets' there are three dots. Tap to access settings.
[Moto G Android Development] r00tPT:
Thank you. Changing between 'Larger icons' on and off, but nothing happens.

changing the grid size helped a bit.
[Moto G Android Development] lost101:
It's a very basic launcher. Apex Launcher would be my next choice.
[Moto G Android Development] Ignaciodnb:
Thanks so much for this rom :) works epic with ultrasound v2

Nova launcher would be nice also :) is more light and smooth
[Moto G Android Development] Cjit26:
Well I activated the battery saver and the main difference is the status bar and buttons losing transparency also the sistem feels a bit slower but nothing serious, I'm at 10% ATM will use it until it dies, 10% usually lasts around 1hour without battery saver, using browser whatsapp and facebook, will report I'd there is any important difference.
[Moto G Android Development] SamsungAdmire:
Battery Saver gave me 35 extra min of watch YT videos on medium brightness. Pretty good. Also, SOT is 5-6 hr using battery saver(if you're watching a lot of YT videos or long YT videos, i'd turn on battery saver unless you're using kik or something. Why? Watched an hour long 720p YT video on wifi today, battery only went down 9%!)
[Moto G Android Development] Cjit26:
Well I got around 25minutes extra from 10% battery, it didn't feel laggy it was a but slow but it was okay, only thing that I didn't like us that you stop receiving FB, WhatsApp notifications on battery saver, I get around 11hours of battery with automatic brightness activated, of constant use, if I use it normally without talking to my gf 24/7 on WhatsApp and browsing it lasts 2days no problem, I just live how much battery time this ROM gives me :good: :D
[Moto G Android Development] simosimi:
Hi guys as i said few posts ago, i do not have wi fi working on v1 when i tried... I have eu XT1032... Any suggestion?
[Moto G Android Development] lost101:
Thanks for the observations. Maybe I'm stating the obvious, but 'Battery Saver' mode reduces performances by design - things will get slower. I've been using DS Battery Saver and it also which makes a difference. I find changing 'Notification Style' to Simple makes the persistent notification less annoying.

Your issue is not directly related to this ROM. When did you last have working WiFi; what ROM was that?
[Moto G Android Development] simosimi:
My wifi works very well with others rom... Except gpe 5.0.1 ( maybe other U.S.A channels) and this... I was very happy with this rom but wi fi is essential for me.
[Moto G Android Development] lost101:
There are not too many reasons for your situation. Start by flashing this Kerne; then the Modules, if WiFi still won't enable:

Kernel:

https://www.androidfilehost.com/?fid=95897840722643271​

Kernel Modules:

https://www.androidfilehost.com/?fid=95897840722643314
​
[Moto G Android Development] simosimi:
Thanks for help maybe i will try in these days ( not now cause for personal reason i have to own a full 100% working ROM). However my wi fi turns on, but i can find my router... But for example i can find others... I cannot find neither my gf's router..
[Moto G Android Development] lost101:
It could be a change made in Lollipop generally. There are some known WiFi issues.

http://www.pcadvisor.co.uk/how-to/g...llipop-solve-wi-fi-problems-on-nexus-devices/​

You may want to consider changing the security encryption type on the router if nothing else works.

I'm not convinced the issue is with this ROM.
[Moto G Android Development] likurik:
Or Change Your Wi-Fi Router Channel ,put ex:channel 10 if you have your router in channel 13, not good!