yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] Dj_Fex:
I tried to using my Xperia Arc S (LT18i) and it ended with a boot loop -> I had to use the uninstaller zip file

of course you can try for yourself

http://xdaforums.com/showthread.php?t=3034811

you need the arm uninstaller, the arm sdk 23 installer and the apk ;)

---------- Post added at 11:12 ---------- Previous post was at 11:04 ----------

The Issue with SD Formatter, I had, was that the SD Card needs a drive letter in Windows before you can format it

if it doesn't have one, you can only give it one, if it has a partition recognized by Windows

I also tried Minitool Partition Wizard

it says it was successful, formating my card with ext4 but is finished in a few seconds already

usually when it's successful it takes a minute or so

So I guess something fails internally, but it doesn't show

HP Disc Storage Format Tool

Almost instantly says, that the SD Card connected is not writable, or something like that

as if the microSD card is locked

but if it was my adapter being locked, then Windows would have a special alert for that (I switched it to check)

right now Windows only says, that it couldn't format

I guess, the card is dead

I'll buy a new one

but I have one question for everyone in this thread:

Are you able to format your card back to something like fat32 (no matter which tool) after you formatted it to f2fs using this rom's recovery?

(When it's still running of course, you can use linux and dd to back up the content of your card)
[Xperia Arc Android Development] umaturman:
Did you try to format the sd card using fdisk or parted via adb?
[Xperia Arc Android Development] Dj_Fex:
nope, but I have to look up how to even use them ^^

I'll report back, if it worked (I doubt it will)

parted via adb, sounds like it needs adb

-> that would only be possible on another device, since my smartphone doesn't boot past the kernel (with this legacyxperia kernel installed), since it seems to rely on the /data partition which should be on the sd card and writeable

I even tried formatting to fat32 on my Galaxy Tab 3 10.1 with TWRP installed

->it says formatting worked, but rebooting into the recovery reveals it didn't

before and afterwards it says, that the partition size is 0mb
[Xperia Arc Android Development] umaturman:
Well it smells like a dead sd card. You can cast a Ressurection MAster spell on it or be a necro and try to create a new partition table via fdisk.

You can access adb from cm11 kernel if cm13 one is not booting into recovery.
[Xperia Arc Android Development] Kaito_kid:
This what i mean. . . So how to fix??
[Xperia Arc Android Development] karthi12feb:
Hi, I updated my xperia ray to Cm 13 updated on 20160327 After installing that, I lost my root access. I also enabled Developer options ---> Root access ---> Apps and ADB. But still i am unable to get my root access. Help me to solve my problem.
[Xperia Arc Android Development] tobi24:
Thanks for your suggestion, I followed your steps 1 to 7, and first it looked great: Windows asked to format the card, and it LOOKED like it was successfully formated. I used SDFormatter afterwards, also this program SEEMED to do the job correctly. But then I removed the sd-card from the phone, tried to use it in a card reader (tried an internal one and a usb card-reader), but now Windows again said the card would be unformatted, offered to format it, but didn't succeed. SDFormatter now sais "The memory card is write protected" (which is impossible for a microSD card).

So in conclusion: Nothing has changed on the SD card at all - it was just as in GParted when the phone was mounted as USB storage, the formatting tools showed they would have done something, but they didn't.
[Xperia Arc Android Development] KoyukiX:
I've noticed same behaviour. I received same message twice few times. It's starting to be annoying. Did someone thought of the cause of this problem and more important - the solution?
[Xperia Arc Android Development] Dj_Fex:
I already told you how you can install xposed:

http://xdaforums.com/showpost.php?p=66124396&postcount=726

But you might end up with a bootloop

Then you have to use the uninstaller zip

If it works for you, pls inform me, then I'll retry it

I want to use xposed too, but it seems like it still has a few bugs (even with cyanogemod)

Android 6 is not that old, yet

If you have to have xposed installed, then you have to use an older Android version for now like Lollipop or Kitkat ;)
[Xperia Arc Android Development] filjusz:
I can confirm that latest Xposed working on Marshmallow with my neo v cm 13.0
[Xperia Arc Android Development] DTFuser:
Me, as many on this forum experience problem with formatting sd-card.

I formatted sdcards (I tried two of them) with gparted and when I try to format data from recovery I get error. I took photo of that error and I hope that it can be helpful in resolving this issue. But unlike the rest on the forum my sdcard did not die and I was able to format it in ext4 or FAT with gparted.

By the way I also try your approach but I stuck on 7th step because windows built in formatter only allows to format sdcard in FAT, exFAT and NTFS, but there is no option to leave it unformatted. Which one did you choose? In which format you formatted your sdcard when you successfully install CM13?
[Xperia Arc Android Development] Kaito_kid:
Here i did install it. . . For the information. . I use cm13 march update kernel, and i flash cm13 february . .

This the scren

---------- Post added at 09:18 PM ---------- Previous post was at 09:17 PM ----------

I did it. . I use cm13 march kernel, and cm13 february roms. .
[Xperia Arc Android Development] rodoviario:
Men, this is the way to go. After circa 40 flash, using all kind of gapps and facing issues. It has something to do with default permissions for play store and play services, but no other fix worked for me. In fact, there is a patch suggested in opengapps site for marshmallows roms to allow gapps to be installed (with the right permissions). Thanks again!
[Xperia Arc Android Development] umaturman:
I used FAT32 and it works fine. Another way is to use adb partitioning guide (LX wiki). I did a clean flash twice (reverted to cm11 :)) and tested both - from cm12.1 fat32/ext4 to fat32 using SDFormatter (the flashing did f2fs format for me) and from fat32/f2fs to the single f2fs partition using parted and mkfs.f2fs.
[Xperia Arc Android Development] DTFuser:
Just to check I thing. Which of the two ways works for you?

1) CM11 kernel->CM13 ROM

2) CM11 kernel->CM12ROM->CM13 ROM
[Xperia Arc Android Development] umaturman:
1) Format the sd card from cm11 recovery then flash cm13 kernel and format /system, /cache. After that you're safe to flash cm13 rom;

2) Not sure what you meant by cm11 kernel but you can format the sd card from cm12 recovery (via adb obviously) as well.

I did all the partitioning in cm11 kernel because it feels safer being able to mount the sd card to usb :)

You are on step 7 right? Then format the sd card to fat32 using SDformatter (enable format size adjustment in options for proper alignment) and proceed to next step .
[Xperia Arc Android Development] Kaito_kid:
Mini tool partition or easur partition wizard are great too. . For delete all second partition and creat sd card into one partition. . . But thil will not work if your sd card write protected(not because we lock card reader) or die. .
[Xperia Arc Android Development] umaturman:
SDFormatter can do it better because it's SDFormatter. It designed to work with sd cards and only with them. Use option "format size adjustment" to align partition for better performance.

I had issues with mini tool in the past (wanted to make a swap partition :)) - it bricked my brand new sd card. Few days later I lost hope to use it anytime soon and decided to format it from stock GB rom as last chance before giving up... I have been very surprised to see it working again...

P.S. Although SDFormatter didn't help :D
[Xperia Arc Android Development] alexcramer:
good morning

Hello, good job to the team and thanks for your job. I instaled this rom in my xperia mini pro and is good, but i have some fc with play services and play store. what can i do? thanks and sorry for my english jeje :)
[Xperia Arc Android Development] vikusz:
Covered on the previous page of this thread:

http://xdaforums.com/xperia-arc/dev...enmod-13-0-t3323975/post66076237#post66076237
[Xperia Arc Android Development] tobi24:
Using "mount USB storage" in cm11 kernel, connecting the phone via USB-cable and formatting to FAT32 with Windows, I was able to run "chkdsk /R", it took more than an hour, but no errors detected at all. Just with the card in a card-reader the result is "The type of the file system is RAW. CHKDSK is not available for RAW drives.":

[IMG="CHKDSK"]http://i.imgur.com/ufkZoxY.png[/IMG]

So I don't think my card has any hardware-damage, I'm pretty sure it's "just" a problem caused by the F2FS filesystem. And before trying to install cm13, it was totally fine.

But with any card-reader, all formatting and partitioning-tools don't work anymore and display errors like could not finish formatting or card would be write-protected. Mounted as "USB storage" with cm11 kernel the formatting tools SEEM to work (claiming they would have successfully formatted to FAT32 or exFAT, but as soon as I unmount USB storage, remove the card from the phone and try to check it with a card-reader, Windows as well as Linux and Android still show me the card is in F2FS filesystem (Windows wants to format it, but can't and shows the error-messages again).

I tried format and diskpart in DOS command prompt, tried GParted (Linux), tried the app "AParted (Sd card Partition)" with a rooted tablet - still showed F2FS and was neither able to delete this partition and create a new one nor format the existing one to another filesystem. Tried to format to exFat using the options in cm11 kernel, allegedly successful, but it also wasn't - still not usable at all in a card-reader.

So I flashed the kernel from cm-13.0-20160227 again, full factory reset, wiped cache and system, sideloaded cm13 and gapps (no problems), but after rebooting I see nothing else than the animated blue cm-head for more than an hour again. So there definitely seems to be an issue with my card - but it doesn't seem to be a real hardware-issue and I can't imagine that my card and the ones of many others (encountering similar problems) suddenly died at the same time, when trying to upgrade to cm13.
[Xperia Arc Android Development] alexcramer:
Ups, sorry and thanks :)
[Xperia Arc Android Development] umaturman:
I had a similar issue. Well I think there are easier solution to be found...

FIrst of all try to make a new dos partition table with a single fat32 patition via adb shell fdisk. Or flash Fusion kernel and try to wipe the sd from there.

At least it faster than returning to stock ROM. :)
[Xperia Arc Android Development] Kaito_kid:
I think this not because formated sd card to f2fs. . But this is because cm 11, or cm 12. .

The we use second partition for memory or linked app in to second partition. . in cm11 or cm12 every time we reboot the phone. . The sd card has hard work for linked all apps to sd second

Partition. . So there for when we change memory into one partition back. . Memory shock with what we do. . . LOL [emoji3] [emoji2] [emoji2] [emoji1]
[Xperia Arc Android Development] filjusz:
I have Neo V and Se LWW from xperia 2011 line, both with installed cm 13.0 and one with EXT4 and the other one with F2FS, coconut with F2FS partition seems to brick my SD card, so i recommend to install this rom with EXT4, cause my Neo V working fine.
[Xperia Arc Android Development] blueman24:
Same issue here. Any success in getting the card back to usable?
[Xperia Arc Android Development] bykidi:
How do you even getting them bricked? Do NOT mount them in recovery and do NOT FORMAT them while using recovery! Always repart/format/etc/etc using external card reader (i use my laptop). I have 2 phones, one with ext4+fat32, second with f2fs and both works just great
[Xperia Arc Android Development] Vortelf:
Wierd bug in march build zeus

Beside the many thing that doesn't bother me anymore because I find it normal, this is really frustrating.

So this time it's the Settings app - it force closes. I tried from opening the settings by holding the wi-fi toggle but the search isn't working. I even reflashed the build wiping the system but the result is the same.
[Xperia Arc Android Development] blueman24:
But the recovery would format to f2fs when we select wipe system partition, won't it?
[Xperia Arc Android Development] bykidi:
Yes, but some people trying to mount it like USB storage and then repart/format it
[Xperia Arc Android Development] TomTomcrafter001:
Another Bug;

If you open 11 power menus (holding the power button 11 times) you get a soft reboot.

Just good to know :)
[Xperia Arc Android Development] blueman24:
What's the best way to do it? I left the card FAT32 and let the recovery do the partitions. Used the ROM for a few days, had play services force close and optimizing 1 of 1 on boot, and bootloop afterwards. Took out the card, put it in the card reader but I am not able to delete the current partition. Windows can't format it and minitool detects the partition as RAW but fails to format it.

Should I replace the SD card?
[Xperia Arc Android Development] bykidi:
1. About bootloop - add -nowatchdog (described in Wiki thread 'Common problems in Lollipop')

2. Not sure about windows, but in Partition Wizard F2FS shows like 'unformatted'

3. Use Partition Wizard + external/built-in card reader(if laptop). Also don't use USB hubs as they can make your day worse (for example, i cant use sideload while connected via my usb hub)
[Xperia Arc Android Development] blueman24:
But partition wizard can't create f2fs partition or maybe you use ext4?
[Xperia Arc Android Development] bykidi:
It is. If you need ext4 partition - you create ext4 partition.

If you need f2fs - you create 'unformatted' partition and format it with LX13 recovery.
[Xperia Arc Android Development] tobi24:
I came from cm12, so my card had 2 partitions, I used GParted and an external card-reader to delete both partitions before trying to install cm13. My card got "bricked" or whatever after my attempts to install cm13 (March release), which ended in a boot-loop just after I saw the language selection screen of the Android ROM: http://xdaforums.com/xperia-arc/dev...enmod-13-0-t3323975/post66078220#post66078220

I tried the February release afterwards, but rebooting the 1st time after flashing the ROM and GAPPS, I got stuck with the animated CM-logo: http://xdaforums.com/xperia-arc/dev...enmod-13-0-t3323975/post66120364#post66120364

Trying to mount as USB in recovery and then trying to format was just one of dozens tries to get the card back formatted to anything else than f2fs, after nothing else worked before, neither in external card-reader in Windows or GParted, nor with the app "AParted (Sd card Partition)" on a rooted tablet or with formatting within recovery.

Not yet, sadly. Tried dozens of things with the help of umaturman, but nothing succeeded so far. "Parted" in adb shell (using recovery from cm11, cause the recent cm-recovery does not support adb) did not work, "fdisk /dev/block/mmcblk0" gave me the output:

"The number of cylinders for this disk is set to 3848.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

(e.g., DOS FDISK, OS/2 FDISK)"

The command "p" showed:

Disk /dev/block/mmcblk0: 31.6 GB, 31657558016 bytes
255 heads, 63 sectors/track, 3848 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 1 3849 30914560 83 Linux

Trying to create a new empty DOS partition table and partition using the commands "o" followed by "n" and "w" didn't change anything.
[Xperia Arc Android Development] blueman24:
I guess the card is done. I don't care about a bricked card but it would be great (and satisfying) to solve such problems and it would help others in preventing their card from bricking.
[Xperia Arc Android Development] filjusz:
In shop (where i bought my SD) seller said that card is bricked (lmao i dont know it :v) but every SD have lifetime warranty (This time i really dont know that) so in two weeka they gonna give me new one or repair it.
[Xperia Arc Android Development] Kaito_kid:
btw how do you flash cm13 with ext4 ? sorry i lost your post.. lol
[Xperia Arc Android Development] qzroeh:
You saved my time bro..

My st17i is on Marshmallow now.. lol :laugh:
[Xperia Arc Android Development] Dj_Fex:
It's in the install instructions of the first post

if you want to have ext4, then you need to format the card to ext4 with your pc (through a card reader)

then connect it to the phone and do a factory reset

if it detects ext4, then it will reformat it with ext4 again

otherwise it will use f2fs for reformatting

(the recovery is quite limited right now :/ )
[Xperia Arc Android Development] Mrkblo:
Several google play services/play store force closes. Flashed the recommended gapps. Any insights?
[Xperia Arc Android Development] Dj_Fex:
you are not alone ;)

if you need gapps, then you need to stay on the february version for now/install that one

there is a cm issue upstream, that got merged into the march update, that causes the issues

we have to wait for the next update

http://xdaforums.com/showpost.php?p=66070788&postcount=670

http://xdaforums.com/showpost.php?p=66078530&postcount=687

@Mike

pls inform about this on the front page, it reduces the amount of messages

cause everyone has this issue right now :)

EDIT:

some feedback for the february version

the default setting for usb mode from the dev setting seems to be ignored

even when set to mtp, it defaults to charging

I guess, this will be fixed upstream though

The Android folder within /media/0/ seems to be unneccessary, since all app data sits in /data/

Will that be changed in the feature

Or will it be left in for compatibility?

Some tips from me, that helped me to improve performance:

Sio as the io scheduler

(reduces latency a lot and improves overall performance; bfq is mostly better on multi-core devices and for multi-tasking, so not well suited for our old arc)

according to http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

Bigger read-ahead cache (for io): 512kb-2048kb (depends on your card) instead of 128kb

display settings: decrease font size to 85% => performance increase ( I don't know why, but it increases responsiveness and you can see a lot more text)

And if you want to configure doze (the new Android 6 feature to increase the time your device can run in standby (by a whole lot!)), you can use the app Naptime
[Xperia Arc Android Development] Mrkblo:
After trying to go from march to february builds, installation failed at 47% and now phone wont boot to CM Recovery, I'm only getting the broken android/exclamation mark. Is there any workaround?
[Xperia Arc Android Development] JimmyRay:
Wow, this looks terrific.

Fingers crossed Mike will add the necessary patches declined by the CM core team to allow this project!
[Xperia Arc Android Development] umaturman:
These values are for sd cards as external storages. In LX13 we mount a sd card as /data partition where recommended readahead is 128Kb.
[Xperia Arc Android Development] Kaito_kid:
Damn. . . . 2 of my sd card class 10. Got bricked now. . . I try everything mention here. . Lol
[Xperia Arc Android Development] esemef:
I don't have this issue. I flashed my xperia ray with latest boot.img then booted to recovery and formatted system and then rebooted back to recovery, then installed latest cm13 & mardons 240dpi full gapps from internal storage (I copied them there while the phone was running the previous version of cm13).

The instructions say you can only flash gapps properly before cm13 has been booted, so you do need to make sure that cm13 definitely thinks it has never been booted. Formatting system and then rebooting may be the key to this.
[Xperia Arc Android Development] ploµf:
What brands and size ? Good to know to not buy !
[Xperia Arc Android Development] CrazyPisec:
How long wait fix problem with close gapps on last cm13 rom?
[Xperia Arc Android Development] tobi24:
In order to save you and others precious time and not spend 3 days for trying (that's what I did already), here's a summary of everything I tried to get my card back,

nothing succeeded!

:

- full factory reset, wiped cache and system, format within recovery

- SDFormatter (Windows https://www.sdcard.org/downloads/formatter_4/)

- Windows internal formatting-tool

- GParted (Linux tool, booting from CD or USB: http://gparted.org/livecd.php)

- chkdsk /r (DOS prompt)

- mounted the card as "USB storage" and repeated all above (not recommended)

- HDDGURU HDD Low Level Format Tool (Windows)

- installed cm11 (http://xdaforums.com/showthread.php?t=2545354)

- parted, fdisk and fsck.f2fs in ADB shell(needs cm11 recovery, doesn't work in cm13 recovery)

- AParted (App, https://play.google.com/store/apps/details?id=com.sylkat.AParted)

(tried on a rooted samsung tablet and on my mini pro (mango) with cm11)

SDFormatter is the only tool that actually said the microSD card is "write protected". Everything else was either "could not format" or in most cases even wrote things like "All operations successfully completed" (GParted) - but actually it did nothing at all. AParted (app) showed my card as "empty" after "deleting" the f2fs partition, trying to create a new one and format it as fat32 resulted in an ext2 partition - at least AParted showed it like that. In reality it also did nothing, like all other tools or commands. Checking in GParted or restarting AParted it still was the f2fs partition...

I'm unable to delete or re-format my f2fs partition to any other file-system with any known partitioning-tool or commands.

Seems like there really is some kind of "write protection" (therefore nothing at all can be changed), but when the card is in the phone, Android does not realize it. In cm11 the microSD card showed up properly under storage, with full size. Also unmounting and mounting again within the storage settings of the ROM worked flawless, Android scans the cards for errors at this point, but didn't show any - the ROM thinks the card is flawless.

I give up now and try if I get the card replaced as a warranty case. But I still think it's very strange that for so many people here the cards worked flawless before, and suddenly when trying to install cm13 they all die. Of course a card could always die at some time, but this doesn't look like a single case hardware issue, more like something software-caused and affecting many people at once...
[Xperia Arc Android Development] blueman24:
Pretty sure it's something wrong with software. I knew that the card was done the moment mini tool failed to do any operations on it. Thanks for trying out all the methods. Good to know.
[Xperia Arc Android Development] filjusz:
I dont have any issues with Google App's.

1.CM 13.0 february relase with Gapps, SuperSU and Xposed

2.Enter recovery and format /system then wipe cache

3.Install System, Gapps, Su, Xposed, again wipe cache and everything seems to work fine ?
[Xperia Arc Android Development] Kong2000:
I installed mardon's MDPI mini gapps and have no problem with play store on my mango.