yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M4 Aqua] tonystark88:
People stay tuned. There are some updates about recovery. The changelog for the new release is:

- restore function fixed (i think, for me works :P)

- removed some flags like system mount at boot

- added some other reboot options

- fixed white border problem

Update will be uploaded in 30 mins at max. Let me know if restore function works for all.
[Sony Xperia M4 Aqua] silencar:
offtopic joke: if so, shouldn't u change ur profil picture ;) :D

great job.. thx a lot for ur work! :good:
[Sony Xperia M4 Aqua] tonystark88:
Link updated in the first page. If there are some problems with the new update, let me know that.
[Sony Xperia M4 Aqua] tonystark88:
Another update here on my official site

http://projectmarshmallow.altervista.org/twrp-sony-m4-aqua/
[Sony Xperia M4 Aqua] alby_var:
Thank for your work! What are the changes?
[Sony Xperia M4 Aqua] tonystark88:
Just fixed the backlight value for the touchscrenn panel and prevented lockscreen because i noticed that if the screen locks during a backup restore the device reboots. If it happens, no panic. Just re-enter in recovery mode and restore again the backup.
[Sony Xperia M4 Aqua] alby_var:
Thank you!
[Sony Xperia M4 Aqua] MetalOllie:
Any possibility of getting this to work on LBL?
[Sony Xperia M4 Aqua] tonystark88:
I think is not possibile. Unlocked bootloader allow you to flash on the partitions...in particular in the /recovery partitions.
[Sony Xperia M4 Aqua] MetalOllie:
I've got ZXDual Recovery on my Somy Xperia SP, which has TWRP, so theoretically, it should be possible. An UBL isn't normally necessary for a recovery to be installed.
[Sony Xperia M4 Aqua] senator m95:
Where is the backup location?

I did a backup with twrp but now i cant find it.
[Sony Xperia M4 Aqua] MK99:
/data/media/0/TWRP
[Sony Xperia M4 Aqua] senator m95:
Thx bro
[Sony Xperia M4 Aqua] husam666:
I'm assuming you're dual booting with windows and uefi enabled.

first off, you can use this software to get the data on linux partition with windows

http://www.diskinternals.com/linux-reader/

if you want to boot into linux again, you should get into the uefi boot menu and select ubuntu from there. if that didn't work, you can try this from live usb and it should fix your bootloader.

https://help.ubuntu.com/community/Boot-Repair

it might break window's bootloader though, use with caution, backup your uefi partition
[Sony Xperia M4 Aqua] alby_var:
Thank you, but i reinstalled ubuntu and again downloaded sources... Now i have only 1 problem, can you please help me? I not successfully clone ( git clone "url" ) the device from unofficial repository on github... I have find omnirom device sources and i already downloaded the sources. But, after envsetup.sh and lunch, when i have to select the device, it ask me if i have the right repo manifest. I managed the manifest for obtain device sources, but seems not work.

Sorry if I ask forever things, but this is my first time compiling...

And sorry also for my English
[Sony Xperia M4 Aqua] Deathmake:
Hi dude,You work more with this recovery?Need support sd card...But I flash this and thanks to You.
[Sony Xperia M4 Aqua] tonystark88:
Sure.
[Sony Xperia M4 Aqua] TheVektor:
I get this error when i try start .sh script in updater-script.. i think its a recovery bug. Can you fix it? :)

(run_program)
[Sony Xperia M4 Aqua] tonystark88:
Try the new release here. Please guys, update this.
[Sony Xperia M4 Aqua] jobrima:
Thanks, waiting for sd support.

Enviado desde mi V370 mediante Tapatalk
[Sony Xperia M4 Aqua] TheVektor:
The libc problem is still available...

log:

===========================================

| |

| *** Preinstallroot	*** |

| |

===========================================

Extracting files...

about to run program [/tmp/busybox] with 4 args

CANNOT LINK EXECUTABLE DEPENDENCIES: "libc.so" is 64-bit instead of 32-bit

run_program: child exited with status 1

about to run program [/tmp/busybox] with 3 args

Cleaning up...

Finished!

Launching SuperSU and Recovery zip

CANNOT LINK EXECUTABLE DEPENDENCIES: "libc.so" is 64-bit instead of 32-bit

run_program: child exited with status 1

about to run program [/tmp/busybox] with 4 args

CANNOT LINK EXECUTABLE DEPENDENCIES: "libc.so" is 64-bit instead of 32-bit

run_program: child exited with status 1

about to run program [/tmp/busybox] with 3 args

CANNOT LINK EXECUTABLE DEPENDENCIES: "libc.so" is 64-bit instead of 32-bit

run_program: child exited with status 1

about to run program [/tmp/busybox] with 3 args

CANNOT LINK EXECUTABLE DEPENDENCIES: "libc.so" is 64-bit instead of 32-bit

run_program: child exited with status 1

about to run program [/tmp/busybox] with 5 args

CANNOT LINK EXECUTABLE DEPENDENCIES: "libc.so" is 64-bit instead of 32-bit

run_program: child exited with status 1

set_perm: chown of /tmp/SuperSU_extracted/META-INF/com/google/android/update-binary to 0 0 failed: No such file or directory

set_perm: chmod of /tmp/SuperSU_extracted/META-INF/com/google/android/update-binary to 755 failed: No such file or directory

script aborted: set_perm: some changes failed

updater script:

ui_print("Extracting files...");

package_extract_file("utils/busybox", "/tmp/busybox");

package_extract_file("utils/sgdisk", "/tmp/sgdisk");

package_extract_file("utils/create-uuidlinks.sh", "/tmp/create-uuidlinks.sh");

package_extract_file("utils/flash_apps.sh", "/tmp/flash_apps.sh");

set_perm(0, 0, 0755, "/tmp/busybox");

set_perm(0, 0, 0755, "/tmp/sgdisk");

set_perm(0, 0, 0755, "/tmp/create-uuidlinks.sh");

set_perm(0, 0, 0755, "/tmp/flash_apps.sh");

set_progress(0.050000);

run_program("/tmp/busybox", "sh", "/tmp/create-uuidlinks.sh", "/tmp/");

# ===================== Clean up =====================

set_progress(0.900000);

ui_print("Cleaning up...");

set_progress(1.000000);

ui_print("Finished!");

ui_print("Launching SuperSU and Recovery zip");

ui_print(" ");

run_program("/tmp/busybox", "umount", "/system");

run_program("/tmp/busybox", "blockdev", "--setrw", "/dev/block/mmcblk0p30");

run_program("/tmp/busybox", "mount", "/system");

# ===================== SuperSU =====================

package_extract_file("SuperSU.zip", "/tmp/SuperSU.zip");

run_program("/tmp/busybox", "mkdir", "/tmp/SuperSU_extracted");

run_program("/tmp/busybox", "unzip", "-d", "/tmp/SuperSU_extracted", "/tmp/SuperSU.zip");

set_perm(0, 0, 0755, "/tmp/SuperSU_extracted/META-INF/com/google/android/update-binary");

run_program("/tmp/SuperSU_extracted/META-INF/com/google/android/update-binary", "dummy", file_getprop("/tmp/prfargs", "outfile"), "/tmp/SuperSU.zip");

delete_recursive("/tmp/SuperSU_extracted");

delete("/tmp/SuperSU.zip");

ui_print("Supersu install finished");
[Sony Xperia M4 Aqua] tonystark88:
Probably this error is caused by the 64 bit build, because the target is a 64 bit cpu. I will inspect on this error. Thanks.
[Sony Xperia M4 Aqua] TheVektor:
Btw i think "/dev/block/platform/soc.0/by-num/p1" is the sdcard partition in the recovery. What do you think? It can be mounted?
[Sony Xperia M4 Aqua] tonystark88:
No, because soc.0 is 7824900.sdhci device. It's internal memory so p1 is the mmcblk0p1. Instead, it have to be mmcblk1p1. The problem with sd is that in recovery the 7864900.sdhci device is not recognized.

The kernel add this device to /sys/devices/soc.0/7864900.sdhci but i'm trying to understand why is not mounted like 7824900.sdhci.
[Sony Xperia M4 Aqua] tonystark88:
I updated the page on my site and added an EXPERIMENTAL version of recovery that should (but i'm not sure) support libc in 32bit version. Try it and let me know if now works.
[Sony Xperia M4 Aqua] TheVektor:
I cant test it until sunday.. Maybe you can? Here is the test script:

https://drive.google.com/file/d/0B3GODAVmohaFdVZhVGUyUGlCNEU/view?pli=1
[Sony Xperia M4 Aqua] MK99:
Flashed Beta3 and I'm able to select wipe ext-sdcard, but not able to add it to backup-target.
[Sony Xperia M4 Aqua] tonystark88:
Guys stay tuned on my site. I have an important update for twrp. It start with Support and..... end with External SD XD
[Sony Xperia M4 Aqua] tonystark88:
I will update us when i upload the update but it works ;)

[IMG="EXternal SD Works"]http://s11.postimg.org/b5f4luk9f/100_1827.jpg[/IMG]
[Sony Xperia M4 Aqua] tonystark88:
Link updated on my site! Enjoy the new release with SD Support. If there are troubles, let me know that. For me is working and i also made a full backup and it works. Maybe could be not compatible with all sd cards, so let me know that if this happens.

http://projectmarshmallow.altervista.org/external-sd-support-for-sony-m4-aqua/
[Sony Xperia M4 Aqua] jobrima:
Wow! Thanks! Good job
[Sony Xperia M4 Aqua] TheVektor:
Hmm, i can flash recovery with rashr app (market), it works fine but i still cant execute shell scripts from uodater-script.. :( but if i use "sh script.sh" in twrp terminal, it works..) :)
[Sony Xperia M4 Aqua] tonystark88:
I think i found the problem. It's happened also with the new CM12 release i've built now. I will solve it and i release a new update. Sorry, probably i've changed something and i've not noticed that ;)
[Sony Xperia M4 Aqua] boylush:
[MENTION=4473389]tonystark88[/MENTION]

You might want to make a install TWRP into FOTAKernel partition instead of Recovery so that the recovery will stay and not be overwritten by the ROM's recovery.

This is a sample code from Xperia SP's flashable ZIP for TWRP

ui_print("Installing TWRP recovery");
package_extract_file("twrp-recovery.img", "/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel");
ui_print("Done.");

or you can

fastboot flash FOTAKernel <FILENAME>

Thanks!
[Sony Xperia M4 Aqua] tonystark88:
It's a SuperSU installer script ?
[Sony Xperia M4 Aqua] tonystark88:
But the recovery partition is FOTAKernel, or not ? Anyway, when you generate a flashable zip after you build the rom, it not affects the recovery. Infact also if my rom does not boot i can enter in recovery again.

Probably i've not understood the problem, also because is the first time i port a rom for a sony device.
[Sony Xperia M4 Aqua] TheVektor:
Supersu installer script for prerooted roms. If you cant fix this libc problem, i can use updater-binary as sh script rom installer.

Btw thanks for your activity and works. :)
[Sony Xperia M4 Aqua] tonystark88:
Anyway on the latest release of TWRP the script fails on set_perm. But it fails because in tmp folder not exists updater-script but updater-script2. So you're trying to make 755 a file that does not exist.
[Sony Xperia M4 Aqua] tonystark88:
I will work on it. Stay tuned ;)
[Sony Xperia M4 Aqua] tonystark88:
Vektor, the problem is not the twrp. Is the busybox you have used. It's a 32 bit busybox, you have to use a 64 bit one. This is a working busybox, with this your script works ;)

busybox 64 bit
[Sony Xperia M4 Aqua] TheVektor:
Thankyou!! Everything works! <3
[Sony Xperia M4 Aqua] tonystark88:
The twrp is a 64 bit builds, because the build environment knows that our CPU is a 64 bit CPU. So all the libraries are built mainly for 64 bit architectures. You and all the others modders/devs have to use 64 bit scripts/binaries and all will work ;)
[Sony Xperia M4 Aqua] boylush:
Hi [MENTION=4473389]tonystark88[/MENTION]

After the testing of your CM and TWRP recoveries, my tester has realised that ROMs cannot be flashed with both your recoveries, causing an error of:

Install failed. could not detect filesystem for /dev/block/platform/soc.0/by-name/system, assuming ext4 mount: /dev/block/platform/soc.0/by-name/system at system: No such file or directory ...

Thanks!
[Sony Xperia M4 Aqua] tonystark88:
I will inspect on this but i think he's using an old one version, because soc.0 is been removed in the last release.
[Sony Xperia M4 Aqua] tonystark88:
I flashed the last one and the actual path configured is

~ # cd /dev/block/platform/78

7824900.sdhci/ 7864900.sdhci/

I will check if i've uploaded a wrong version on my space and distributed the wrong version too.
[Sony Xperia M4 Aqua] tonystark88:
Found the problem. I've uploaded a wrong version. New version will be online in 30 mins at max.
[Sony Xperia M4 Aqua] tonystark88:
Check also your fstab file. It have to be like the fstab in the recovery or it's normal that recovery don't found paths.
[Sony Xperia M4 Aqua] tonystark88:
New version is uploading. When you download it, go in adb shell and do a

$ cat fstab.qcom

Then you can see how you can organize your ROM fstab. You can do the same thing also with the previous TWRP recovery and you will be able to flash the rom i think. Be sure also to make a wipe data/factory reset before flash.
[Sony Xperia M4 Aqua] tonystark88:
Link udated. Please guys, update

http://projectmarshmallow.altervista.org/twrp-sony-m4-aqua/
[Sony Xperia M4 Aqua] boylush:
I've used the fstab from sony directly without modification so there shouldn't be anything wrong.
[Sony Xperia M4 Aqua] tonystark88:
The paths are different in this release of TWRP. I suggest you to try using the fstab.qcom paths. Nothing changes, soc.0 is 7824900.sdhci.
[Sony Xperia M4 Aqua] boylush:
Hi can u pm me the fstab.qcom you've used? I'm still pretty confused or can u link me to your github?

I changed soc.0 to 7824900.sdhci and 7864900.sdhci to 7824900.sdhci is that correct?'

This is a sample of my fstab.qcom

/dev/block/platform/7824900.sdhci/by-name/system /system ext4 ro,barrier=1,discard wait
/dev/block/platform/7824900.sdhci/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,check,encryptable=footer
/dev/block/platform/7824900.sdhci/by-name/cache /cache ext4 nosuid,nodev,discard wait,check
/dev/block/platform/7824900.sdhci/by-name/boot /boot emmc defaults defaults
/dev/block/platform/7824900.sdhci/by-name/modem /firmware vfat defaults defaults
/dev/block/platform/7824900.sdhci/by-name/FOTAKernel /recovery emmc defaults defaults
/dev/block/platform/7824900.sdhci/by-name/persist /persist ext4 defaults defaults

/devices/soc.0/7824900.sdhci/mmc_host* auto auto nosuid,nodev voldmanaged=sdcard1:auto
/devices/platform/msm_hsusb* auto auto nosuid,nodev voldmanaged=usbdisk:auto
[Sony Xperia M4 Aqua] tonystark88:
# 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/bootdevice/by-name/boot /boot	emmc defaults recoveryonly
/dev/block/bootdevice/by-name/FOTAKernel /recovery	emmc defaults recoveryonly
/dev/block/bootdevice/by-name/system /system	ext4 ro,barrier=1,discard wait
/dev/block/bootdevice/by-name/cache /cache	ext4 nosuid,nodev,discard wait,check
/dev/block/bootdevice/by-name/userdata /data	ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard wait,check,encryptable=footer,length=-16384

/devices/soc.0/7864900.sdhci/mmc_host auto	vfat defaults	voldmanaged=sdcard1:auto,noemulatedsd
/devices/platform/msm_hsusb auto	auto defaults	voldmanaged=usbdisk:auto
/dev/block/zram0	none	swap defaults	zramsize=536870912
[Sony Xperia M4 Aqua] tonystark88:
Anyway if you're confused you can download, in about an hour, an experimental version of TWRP that uses mount paths like AOSP sources. Give me time to upload it. Anyway i suggest to you/your tester to make a wipe before install the ROM.

This is because when you make a wipe, the twrp starts an utility (make_ext4fs) that format the device like you specified in the fstab. Then when you install the ROM for sure you have to found that mount paths you specified in your fstab. So i think your problem is indipendent from TWRP.

Anyway try with the new one. My connection is slow so it will figure out in the TWRP page of my site in about an hour. I will add it the support TWRP page, under the voice "EXPERIMENTAL SOC.0".
[Sony Xperia M4 Aqua] tonystark88:
Today i will open a test/issues channel. So all the devs that found problems or have questions could ask me directly so i could fix it. Thank you all for the support ;)
[Sony Xperia M4 Aqua] tonystark88:
Updated!
[Sony Xperia M4 Aqua] tonystark88:
Bug channel active

http://projectmarshmallow.altervista.org/bug-channel/
[Sony Xperia M4 Aqua] boylush:
For me 7824900.sdhci works but not sony's soc.0 so yea, 7824900.sdhci can flash on your old TWRP versions

I'll just switch to 7824900.sdhci for simplification purposes, makes it easier for everyone as well so that we don't need multiple versions of recoveries.
[Sony Xperia M4 Aqua] TheVektor:
Something wrong with the new version... wipe functions does not work good and its reboot sometimes. Restore functions does not work, flash a rom does not work too, and recovery rebooting sometimes.
[Sony Xperia M4 Aqua] tonystark88:
Do you to the experimental version? I'm trying to make a cm12 bootable so probably something in device folder that i've changed causes this. Don't worry i've backups XD. Countinue to use the last more stable one.
[Sony Xperia M4 Aqua] tonystark88:
Reboot is the only one problem i've noticed. Restore, wipe and backup works for me.
[Sony Xperia M4 Aqua] TheVektor:
Hmm.. for me its reboot before restore finish. Np, i can use older version where only sdcard does not work :)
[Sony Xperia M4 Aqua] tonystark88:
SD Card works on the "not experimental" version. And there are no reboots in that version. Check my site to download it.
[Sony Xperia M4 Aqua] tonystark88:
New update is coming. I've made 2 backups and restored, no signs of reboot. Tomorrow i will upload the build. Stay in touch on my site.
[Sony Xperia M4 Aqua] Varchuuu_3:
Any way to install the last version with te recovery? Without flashtool
[Sony Xperia M4 Aqua] tonystark88:
Link updated. Guys download the RC2 and say me if you face issues on my bug channel (you find it in the 1st page)
[Sony Xperia M4 Aqua] rascayus:
Try rashr, it worked to me.
[Sony Xperia M4 Aqua] Varchuuu_3:
Thanks a lot, installed and working perfectly
[Sony Xperia M4 Aqua] tonystark88:
How much people like this ? XD

But... ROM boot loops :D

Anyway we are on the good way, no ? Continue follow my project, maybe before December we'll have a first booting CM12 ;)
[Sony Xperia M4 Aqua] boylush:
Trying to build but just won't boot past kernel cos its either warmboot issue (from the combinedroot i added) or make bootimage messing up and using some prebuilt instead of the fstab.qcom i provided...
[Sony Xperia M4 Aqua] alby_var:
Fantastic work! Thanks to all for making this project! Hoping cm12 will boot!

Maybe the thing that now i am saying is stupid, but have you tried to install doing this?:

Wipe data/cache/dalvik

Install zip

Fix permissions

or....:

Wipe data/cache/dalvik

Install zip

Wipe again data/cache/dalvik

?
[Sony Xperia M4 Aqua] Deathmake:
You build cm 12? Or other? When You share this Rom?

Wysłane z mojego E2303 przy użyciu Tapatalka
[Sony Xperia M4 Aqua] tonystark88:
I will share sources and rom when i will get boot this. Before, this has nosense :)
[Sony Xperia M4 Aqua] jeffreyvh:
It definitely has sense!

There are others, like me. Who can help you.

I also uploaded my sources, but I need to update them :p

They are on

github.com/AOSPERIA

please also share your source and local manifest, it would be useful for you and others :)
[Sony Xperia M4 Aqua] SdtBarbarossa:
i have looked into the bugchannel (i dont own this device... just wanted to have a look)

1. where are your sources? i could not find them and so i could not tell you how to fix(or if there is something i see to fix)

2.to the bugs:

- overheating while backup => this 99% of times is caused by wrong or forgotten brightness flags in boardconfig (or missing thermal)

- usb-otg => mostly caused by wrong moubtpoint.... ut must be /dev/block/sda1 in twrp
[Sony Xperia M4 Aqua] FirstMn:
Its great, working all (with External SD), flashed with Rashr flashing tool. But the overheating is horrible, can you do something like thermal engine ? :( Sometimes when doing backup, phone 'auto' shutdown beacause high temperature and i have to do backup again ...

But i can do backup under cold water, and here is not overheating much. I did it in cup , not full phone under water, only part where is cpu (where is sometimes hot) was under water, and when i put it outside and "cleared"(/"deleted") all water, i could not use display for 5 mins (no reactions when touch, but no water anywhere) :( but after this time it started work again. When you press power button, you have "locked" screen, it can to be used as Touch Block.
[Sony Xperia M4 Aqua] ardentis:
Everytime I try to restore a backup the phone reboots without any pattern. I think it has to do with forced shutdown with overheat because the phone will reach 70 degrees C. If there is anyway you could fix that, that would be great. Also how is the new build of TWRP and CM 12.1 coming along?
[Sony Xperia M4 Aqua] tonystark88:
CM12 and TWRP have the same Thermal Issue. In TWRP this happens less, but CM12 boots and reboot again for the temperature too high. I thought was a thermal engine problem but i added it and i think it works from the log i obtained after added it. I'm trying to understand why this happens.

I couldn't update all of you of this problem because "they" made it. The CM12 thread is closed now, for the moment. I will update all of you on my site. Hoping they don't block my site too.
[Sony Xperia M4 Aqua] ardentis:
I think forcing underclock would solve overheating in cm12 but I'm not sure if you can do anything similar in TWRP
[Sony Xperia M4 Aqua] FirstMn:
Phone is shutting down when CPU reach 100*C, not 70*C (on my device..). Temperature is updating every 2-5 second and in one second it can heat from 80 to 100.. I had 97, 98, 99*C and then phone shut down.

Same when "tested" overheating in android. aida64 showed 70,80,90 and still ok, but i never seen higher than 99*C.

(senzor of cpu temp have name pm8916_tz, others are gpu or cores)

Lower clock or thermal engine may help. Or good will be pause button, when i see temperature is too high, i will pause backup/restore, it cool down..
[Sony Xperia M4 Aqua] nitesh9:
Can anyone give me the TWRP backup of boot of Xperia M4 Aqua Dual with latest stock lollipop firmware. Please help me. I need it urgently for my ROM porting project.

Thanks in advance.
[Sony Xperia M4 Aqua] tonystark88:
Some news about the projects status

- TWRP

- CM12

available here: http://projectmarshmallow.altervista.org/important-updates-about-project-status/
[Sony Xperia M4 Aqua] tonystark88:
Recovery link updated

http://projectmarshmallow.altervista.org/twrp-sony-m4-aqua/
[Sony Xperia M4 Aqua] tonystark88:
Let me know if you notice thermal differences for the device.
[Sony Xperia M4 Aqua] ardentis:
New build works fine. I was able to do a backup without interruption but I think it needs more testing to see if any of the fixes work.
[Sony Xperia M4 Aqua] lowis101_2014:
hi people, can i flash this recovery via Flashify ?...it works?
[Sony Xperia M4 Aqua] ardentis:
It should work with an unlocked bootloader but fastboot definitely works
[Sony Xperia M4 Aqua] Weldinparsley:
SD partition

Hi! First of all thanks alot for your work on TWRP, I'm a total newbie to android and rooting and all that stuff and I managed to root my e2303 with your updated version of TWRP with touch. Now I'm trying to create an EXT partition on my SD card to use it as internal storage, but I had issues while trying to do it, this is the log:

Partitioning SD card...

E:umount "$SWAPPATH" process ended with ERROR=1

Removing partition table...

Creating FAT32 partition...

Creating EXT partition...

Creating swap partition...

E:umount -o bind '/external_sd/.android_secure' '/and-sec' process ended with ERROR=255

E:Unable to locate sd-ext partition.

I have a 32 gb sd card, and I put the EXT size at something like 12 gb I think, and the SWAP size at 64 mb. I will try to solve this in another way but just wanted to let you know! (Might just be me doing something wrong though)
[Sony Xperia M4 Aqua] manosper:
Better use mini tool partition or a similar program on your pc to create an ext4 partition.and if you use link2sd for linking to sd, be careful and do not link lib files because its not working in our device.if you link lib files the apps do not open.