yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] SirBiggle:
Change SD-Card

After LX13 runs nice and smooth I decided to move the installed System from a slow 8 GB test SD Card to the real 32 GB final SD Card. I had to reinstall all or find something else. I decided to find something else.

All the System is on the sd Card. So I simply had to clone the sd Card with the f2fs. My Windows PC can't do that so an Ubuntu Virtual Machine running in VMware Player was the choice. I had to connect the USB Card Reader to the VM. VMware can do this. Now to the Details.

start the ubuntu and become root by su command. give a Password to root by "su passwd root" if you are in Trouble with that.

Install f2fs-tools.

apt-get install f2fs-tools

Insert the original SD Card in a Card Reader and connect it to the ubuntu machine.

lsblk -o NAME,FSTYPE,SIZE,LABEL

gives you a guess which device could be the sdcard. in my case it is sdd1.

at first the original sd Card Needs to be mounted to copy all the files later.

Lets assume the Mount Point is /mnt.

mount -t f2fs /dev/sdd1 /mnt

now copy all files from the original sd Card to a temporary place preserving all permissions. tar can do the Job.

i wanted to copy to a file in temp Folder.

tar cvpfz /tmp/andro6.tar.gz /mnt/

or without an absolute path in the tar file

cd /mnt

tar cvpfz /tmp/andro6-relpath.tar.gz ./

I ended up with a tar Archive containing all permissions and the absolute path of all files on the Card including /mnt.

Perhaps a tar Guru can comment to do a better way not to have the leading /mnt in the path.

now unmount the original sdcard and remove it.

umount /dev/sdd1

insert the new Card and Format it with f2fs

mkfs.f2fs /dev/sdd1

Mount the new Card

mount -t f2fs /dev/sdd1 /mnt

Change the current dir in your terminal to /.

at first i changed to /mnt and untared. but i ended up with a mnt on my sdcard containing all files.

so i changed to / since my sd Card is in /mnt. this is again a place where a tar Guru could give some better ideas.

i dont't want to break your ubuntu by untaring an Android file System to the wrong place. it worked for me but

your System might break. 8-)

cd /

tar xvpzf /tmp/andro6.tar.gz

or if you have the tar file without absolute paths

cd /mnt

tar xvpzf /tmp/andro6-relpath.tar.gz

after all is untared your new sd Card should contain all the necessary files.

unmount the sdcard and install it in your phone.

umount /dev/sdd1

mine booted, created the Cache for one app and worked fine.

P.S. it seems to be a good way to do a backup of the System. :):cool:
[Xperia Arc Android Development] Intuki:
Thanks for hard work!

Small troubles:

Does anyone have problem with auto-rotate screen after some time? The problem does not appear immediately after reboot.

Flashing miniGAPPS doesn't help to activate swipe in standard keyboard.
[Xperia Arc Android Development] legolas340:
how can ı format to f2fs
[Xperia Arc Android Development] bykidi:
Download MiniTool Partition Wizard. Install it.

Plug your SD card into card reader

Open MiniTool Partition Wizard

Find your SD card and DELETE all of your partitions.

Click APPLY - YES

Now click on CREATE partition.

Make sure it will use all space you have on SD Card, choose UNFORMATTED and PRIMARY

Click OK, then Apply - YES.

After you done just close PW and remove SD Card, plug it in phone, flash boot.img, make factory reset, etc, etc, you know.
[Xperia Arc Android Development] legolas340:
ok bro ı will do this
[Xperia Arc Android Development] SirBiggle:
on a Linux machine with mkfs.f2fs /dev/<your sd card>

or if you install a fresh copy of LX13 just insert a sd Card which is formatted with fat32 or not formatted.

the LX13 Installation does the format.
[Xperia Arc Android Development] legolas340:
ok thanks bro
[Xperia Arc Android Development] IT87:
Hello,

I know that requires a lot of time and effort,but I want to ask if someone,please,can make a video tutorial with steb by step guide of how exactly install this mod from 0. It will be great for people who arent very good at this. I remember that I was able to install the kitkat without any additional knowledge with the help of this video "guide"-youtube.com/watch?v=nGObg8PK0Us Thank you in advance!
[Xperia Arc Android Development] TomTomcrafter001:
CM 14? Do I miss something :D
[Xperia Arc Android Development] Kaito_kid:
Do i miss something... [emoji12]
[Xperia Arc Android Development] TomTomcrafter001:
Battery consumption is very good. Typing this with 1% battery. I have a 1700mAh battery because the original one is almost dead. Doze works fine.
[Xperia Arc Android Development] hertell:
Guys... I am amazed how smooth and without any disturbing lags this rom works on my Mini Pro (sk17i / Mango)!. I don't have the fastest sdcard, but it's fast enough. I have already installed tons of apps, and all seem to work great!

There is though one issue u can't s seem to solve: Mobile data. I can't get it to work. Maybe i have missed some notes, so bear with me :)
[Xperia Arc Android Development] Kaito_kid:
Every time mobile data not dissepear.. Just switch it betwen 3g and 2g..

It will appear... Dang...

[emoji106]

---------- Post added at 02:58 AM ---------- Previous post was at 02:50 AM ----------

I mean like this..first switch to 2g. Wait till mobile data connect, then switch back to 3g.

Here the screen...
[Xperia Arc Android Development] hertell:
Now i lost completely all network.. I found in a previous topic that someone switched back-and-forht between flight-mode and changed between 2g and 3g. Doing that did that the phone said it lost the sim-card... Now rebooting, and i hope this will work out..
[Xperia Arc Android Development] Kaito_kid:
Lol... Then i dont have any idea for you...

Sorry....

[emoji12] [emoji25]
[Xperia Arc Android Development] hertell:
Reboot, switching between 2g/3g did not help at all.. Still no mobile data at all..

Anyone else running this ROM on a Mini Pro (Mango / SK17i)?
[Xperia Arc Android Development] Raixer:
turn airplane mode on, then off. I always do this everytime after boot to make mobile data work
[Xperia Arc Android Development] hertell:
Thanks! Flightmode On->Of, then 3G->2G->3G did the trick.

There is obviously a bug somewhere. Is this something that could be fixed in the ROM, or is this a limitation with this device?
[Xperia Arc Android Development] Superrman:
Trying to flash Xposed SK23 V80 via sideload waiting 10mins still flashing icon also installed busybox

and installed the APK installer 1st... i ll wait other10 min

update after 40 mins of boot logo , didnt work :( also tried to clean cash &wait more 15mins)

so flashed via sideload xposed uninstaller.zip

after 5min of boot ,my cocount(LWW) working again

(without xposed)

how can i install xposed?

what i did wrong?

[IMG="sideload"]http://xdaforums.com/attachment.php?attachmentid=3677387&stc=1&d=1457592981[/IMG]
[Xperia Arc Android Development] filjusz:
[MENTION=5214758]Superrman[/MENTION] Just flash the Xposed zip via recovery man...
[Xperia Arc Android Development] Superrman:
how?

Since CM12 there no CMW, only CM recovery and flash can be done only via sideload (unless i missed something?)
[Xperia Arc Android Development] exzemat:
I've mango, with CM13.

No problem with data.
[Xperia Arc Android Development] filjusz:
[MENTION=5214758]Superrman[/MENTION]

With system already installed, You can flash some zips, e.g Xposed framework ;)

Put it to obb folder m8 and than it should work 4 you
[Xperia Arc Android Development] Superrman:
i also have the same problem with data.. not always turn automatically on, also get whatsapp messages in big delay

Also have same problem with MTP

and WIFI

and bluetooth... (coconut)

GUI pretty much smooth but to much bugs..

you can tell me the stages?

EDIT:nevermind Thank u i found "via emultaed" after i move to odd

now waiting for boot :) hooping this time it will work

UPDATE

after 10 minutes still stock on same problem :(, if i have to restart factory ithink ill go back to CM11 or even CM9.1)

my busybox installed on system\xbin

UPDATE

holysh17! after almost 30 min almost givin up and forced hard rest to unintstall again, in the last sec device showing optimizing apps! finally looking good so far but tookforever now i can install greenafiy toolbox and call recording hidding option
[Xperia Arc Android Development] p32929:
No internet connection in smultron :( any1 else facing this problem?
[Xperia Arc Android Development] Superrman:
move to 2G and 3G it will fix this

make sure u data is set to on

if it dont work flight mode on n off

if dosnt work re-selecte AP and restart device

i also have the same problem at coconut i guess its a bug
[Xperia Arc Android Development] Vortelf:
A little feedback

So far, I'm using this build since it was uploaded and here are few things that I could not notice.

In generel this build is slower than the previous I used (AdrianDC's one)

From time to time the wallpaper becomes black and I have to set it again.

Some times my SIM "disconnects". Without any reboots.

Whenever I try to type something, the keyboard takes 5-10 seconds to appear.

Slower application loading

Don't know what has changed between the builds but it's not close to what it was.
[Xperia Arc Android Development] Superrman:
cm-13.0-20160203 is better?

Even funrun laggy sometimes.

i think ill try swapfile for ram expended b4 downgrade (ill start swapfile, only when gameing to save SDcard life.. but 1st i need to make 2nd partiton for swap file

Ok now that i have 2 way call recored again, and disable shutdown, after xposed installed,

i need brighter flashlight anyone know how to port the one from CM11?

also xloud will help me

the regular flashlight is really weak, if i take a shot with the camera app is strong again but for 1 sec.. (as flash) must be away, after then only swapfile and this rom will be pefect for me
[Xperia Arc Android Development] bykidi:
Got same thing on both Pro & Neo V.

How i manage to fix that:

1. Device booted

2. Switched data to OFF (if enabled)

3. Switched 3G to 2G and after few seconds back to 3G

4. Enabling data. Now it will work until next boot.
[Xperia Arc Android Development] esemef:
I'm getting terrible battery life in CM13 on urushi. I am struggling to make it through the day, even though it's barely being used, while CM12.1 could last a day and a half.

I installed betterbatterystats and it says it's been awake for 9 hours and 16 minutes with the screen off, most of this is 9 hours and 9 minutes of kernel wakelock "bq24185_watchdog_lock".

What can I do next?
[Xperia Arc Android Development] ftaios:
This is for the first time only. You can then use your sd normally; store stuff on it and flash it from CM recovery.
[Xperia Arc Android Development] SirBiggle:
I have a mini. except for the Hardware Keyboard it is the same. I have any Problem with mobile data.
[Xperia Arc Android Development] franklhl:
did anyone try Nokia Here Maps? It can't run (FC). Hope it can be fixed
[Xperia Arc Android Development] SirBiggle:
I have tried without success. It crashes on my smultron.
[Xperia Arc Android Development] filjusz:
For me battery life is amazing, 2 hours of screen on time and 3 days in stand by mode :)

EDIT: And still 40% of battery :D
[Xperia Arc Android Development] jcmolero71:
Hello, I got a issue with Skype video messaging, when I record a video it is saved but when play it runs with the video in 2x speed and the audio is intact, and sometimes it's sent or after several tries he deletes itself, no even giving chance to save to gallery. My phone is a mango and using a Sandisk class 4 of 4 GB first formatted to F2FS then FAT32, now trying to test in EXT4. This also happened with the Kit-Kat os. Is it a workaround for this? thanks on advance
[Xperia Arc Android Development] umaturman:
Can you post a screenshot? :cowboy: My urushi lasts 2 days at max, with cellular data and wi-fi are off.
[Xperia Arc Android Development] filjusz:
[MENTION=7314643]umaturman[/MENTION] I will send you a screenshoot when my battery came to 1%, so just wait :D
[Xperia Arc Android Development] Kong2000:
deleted
[Xperia Arc Android Development] Yasser Stark:
Guys i made a surface test with Minitool for Sandisk 32GB and the scan give me errors, so how can i fix this
[Xperia Arc Android Development] Kong2000:
You can't. Just live with it. Are you sure this is a genuine card and not fake?
[Xperia Arc Android Development] ne2e4:
Guys, how to enable and disable zram on firmware and change its size. I want to know before flashing.
[Xperia Arc Android Development] plb-dev:
guys , im stuck with a plain black lockscreen wallaper which i applied from the blackout theme. now i cannot reset it. i want it to be same as my homescreen wallpaper. what should i do?
[Xperia Arc Android Development] hertell:
I just got myself the fastest 32Gb flash i could find (90x), and tried to clone the sd-card with dd (dd if=/dev/sdX bs=1M of=/dev/sdY) in linux. Unfortunately it did not work, and my phone seems to get stuck in an endless bootloop.. Is there any guide on how to change the sd-card without having to reinstall everything?
[Xperia Arc Android Development] nhicko95:
Crisis Action

I cant play Crisis Action on my coconut ithink its about ram how can i enable swap as ram i already partitioned it idont know ho to enable swap as my ram any body can help me
[Xperia Arc Android Development] filjusz:
Wow! This rom (CyanogenMod 13.0 by legacy Xperia) can be easily installed using USB-OTG :D
[Xperia Arc Android Development] Adam Hui:
How can our great dev done a great job at MM as it's a next level but seem hard to make LP a flawless system.

Sounds stupid, but i'm just curious if google codes LP by a harsh bleed grass cutting.. :-S
[Xperia Arc Android Development] umaturman:
You can change it's size via the Kernel Aduitor app (the Virtual Memory tab). Be careful If you want to turn off ZRAM - you would get an unstable system.
[Xperia Arc Android Development] filjusz:
[IMG="Battery bar"]https://z-1-scontent-waw1-1.xx.fbcdn.net/hphotos-xpl1/v/wl/t34.0-12/fr/cp0/e15/q65/12308608_1525756754393214_6616261130775196194_n.jpg?efg=eyJpIjoidCJ9&oh=361b206b2598ab96c7609ccb294a7082&oe=56E62E91[/IMG]

[IMG="Screen on time"]https://z-1-scontent-waw1-1.xx.fbcdn.net/hphotos-xpf1/v/wl/t34.0-12/fr/cp0/e15/q65/12809542_1525756821059874_1802822855463607988_n.jpg?efg=eyJpIjoidCJ9&oh=2d1cf998a81fb78b4fa6e38597c01652&oe=56E68DC6[/IMG]

[IMG="totall time"]https://z-1-scontent-waw1-1.xx.fbcdn.net/hphotos-xaf1/v/wl/t34.0-12/fr/cp0/e15/q65/944091_1525756841059872_986541200369182387_n.jpg?efg=eyJpIjoidCJ9&oh=f1c64527d454b8b38240797ac748a8f4&oe=56E63E39[/IMG]

:D
[Xperia Arc Android Development] umaturman:
[MENTION=7278151]EugenStanis[/MENTION] that's a good uptime :) Do you have cellular data and wi-fi turned off?
[Xperia Arc Android Development] filjusz:
I send many sms, make few calls and view internet via WI-FI, data off :cool:
[Xperia Arc Android Development] TomTomcrafter001:
do you have the original (sized) battery or one with more than original? which size (mAh)?
[Xperia Arc Android Development] filjusz:
Original battery, maybe all of the magic is in wakelocks :P

I blocked all of them in Amplify :D
[Xperia Arc Android Development] gouster3:
Can i disable signature verificartion in recovery? or is there any TWRP recovery with this partition layout?
[Xperia Arc Android Development] filjusz:
No theres no recovery with that partition layout, but you can just flash boot.img with flashtool and flash rom zip via usb OTG in CM recovery m8 :o
[Xperia Arc Android Development] jcmolero71:
I got a new issue, with my 4GB card I install plenty of apps and transfer some specific files, but being a bit over 2 gigas the phone suddenly reboots and enters in a infinite rebooting, rendering in a unusable os, so I have to reinstall from scratch (updating over didn't work either)
[Xperia Arc Android Development] hertell:
Anyone..? Any ideas how to change SD-Card without having to reinstall everything?
[Xperia Arc Android Development] umaturman:
Hi! What SD card are you using? Your problem is common with no-name SD cards as they report more space than they actually have (e.g. 4 reported, actually 2Gb). And as you write over it's actual capacity - you get a reboot.

Nevertheless, you can check the SD card filesystem using

fsck.f2fs -f /dev/block/mmcblk0p1

via adb shell. It may help.
[Xperia Arc Android Development] Superrman:
hey

there's any way to convert from F2FS to Ext4?

two reasons

1.cause i can use card reader if there is any problem with the rom and i didnt backup

2.i wanna make 2nd partition and dont wanna redo everyhing

i thought about copy everything to desktop folder from MTP mode

and after format to ext4 return everything with card reader

it will work?
[Xperia Arc Android Development] plb-dev:
The fake material spinner is looking weird in some apps. The boot time..? Seems pretty slow to me. Even with the low resource spinner. It takes about 3 to 5 mins on every boot.
[Xperia Arc Android Development] nhicko95:
Xperia Themed

can i suggest any body can themed this rom to Xperia UI

to make our xperia 2011 more cooler that old xperia

and i forgot FB Messenger is not working on this Rom my device is WT19i
[Xperia Arc Android Development] Kong2000:
My mini pro boots in 110 sec. until it is connected to mobile network (Vodafone) with an old noname SD 8GB class 2 !! card. I am not planning to buy a faster card because this phone is my 2nd one and only for backup. Something is wrong with your phone.
[Xperia Arc Android Development] plb-dev:
seems like it. i will wait for the next build
[Xperia Arc Android Development] gouster3:
I want to flash aditional zips in this rom. Now i must open update-script and do all process manualy using root file explorer.
[Xperia Arc Android Development] TomTomcrafter001:
Maybe someone will create a xperia ui theme for the theme engine. Maybe there is one out in the playstore.
[Xperia Arc Android Development] gammyind:
MD5sum is not matching for download of Hallon rom. Is it a bad download at my end or something else. Did anyone else check.

I see there is a difference while matching the standalone MD5sum file downloaded & the rom zip. But the MD5sum mentioned while downloading the rom is matching

Please confirm so I can download again.
[Xperia Arc Android Development] filjusz:
Try "aParted" from Google Play store :highfive:
[Xperia Arc Android Development] Superrman:
thx ive tried but aparted can only detect F2fs but not read or change size or system file (besides full format)
[Xperia Arc Android Development] SirBiggle:
see page 4 of this forum. there is a description how to copy the sdcard
[Xperia Arc Android Development] intruder16:
The post [MENTION=6950703]SirBiggle[/MENTION] mentioned above is what i use but with slight correction.

Lets say you want to copy files from A to B where "A" is your original SD card with CM13 installed & working and "B" is the new SD card you want to clone it to. Insert "A" first using USB card reader or a built-in card reader (if you're on a laptop).

All the commands i use:

Find disk names:
----------------

# Find your sd card using label or size

lsblk -o NAME,FSTYPE,SIZE,LABEL

Create Tar Backup of "A":
-------------------------

mkdir /mnt/Old

mount -t f2fs /dev/sdx1 /mnt/Old

cd /mnt/Old/

tar cvpfz /(backup path)/CM13.tar.gz .

Restore Backup to "B":
----------------------

# Remove "A" & insert "B" first

mkdir /mnt/New

mount -t f2fs /dev/sdx1 /mnt/New

cd /mnt/New/

tar xvpzf /(backup path)/CM13.tar.gz .

Note:

# Install f2fs tools before doing anything. Ex. if you're on Ubuntu or Debian use this : "sudo apt-get install f2fs-tools"

# Take a note of the device path "A" or "B" is mapped to using the first command & replace "/dev/sdx1".

# Change "(backup path)" to your backup directory. (For ex, media/Backup)

#

DO NOT USE

"dd" command if you are not familiar with it. It can cause a "lot" of problems if not used wisely. As an alternative, use "rsync" if you have both sdcards connected at the same time.

You can also automate this using cron (automated backups) or shell script (more flexible). It'll hardly take 5 mins to write a shell script. I don't use linux too often that's why i decided not to. But i can make one if you want and post it on my git.

And of course credit goes to the original post :good:, i just corrected the "tar" command ;).
[Xperia Arc Android Development] dragongreen:
I Checked, the MD5sum file match the rom.zip. You are doing something wrong
[Xperia Arc Android Development] esemef:
So when I posted that there were wakelock issues and battery life was terrible and you started going on about how good the battery life was, you didn't think it was relevant to say you were blocking them?
[Xperia Arc Android Development] dragongreen:
You can sign your zip files. Use this: http://xdaforums.com/showthread.php?t=1966007
[Xperia Arc Android Development] gouster3:
Then u will be able to flash them in cm recovery?
[Xperia Arc Android Development] dragongreen:
yes ;)
[Xperia Arc Android Development] gouster3:
And what about signed zips, with changed files, it will resign it, or i need remove some files?

//I removed all from META-INF, exepting com folder.

But i have another problem with fixing permissions.

is there any working alternative to:

I have it. :D

here is my solution i found.
[Xperia Arc Android Development] dragongreen:
Yep, Facebook Messenger is not working, but I have a workaround: install a old version of FB Messenger (version 22.00.15.14). I am using this version, but You can try another versions ;)
[Xperia Arc Android Development] hertell:
What's the reason that dd did not work? Is there some trick with the parameters that should be used? It looks that i need to install myself a virtual-machine, because i can't get f2fs installed on my Ubuntu 12.4 running my HTCP at home. I compiled the f2fs-tools from sourceforge, but that did not let me mount the drive :(
[Xperia Arc Android Development] dragongreen:
It will resign it ;)
[Xperia Arc Android Development] filjusz:
Without blocking wakelock's (I blocked all biggest) battery life is very similar, before i try amplify, its about 5% per day in stand by mode, after amplify its 3/4%, and it have nothing with screen on time, Sot is the same as before.
[Xperia Arc Android Development] gouster3:
Thanx. :)