Related
Guys the fix was included in the original script and hence this thread as of now is no longer active.
for further queries please go to the original script thread here
Dark Passenger said:
Hi INT2ext4+ works on android 4.2.1.(Device : Galaxy Fit GT-S5670)
ScreenShots.
and for those dying for to use it here is the fixed script (yes its a flashable zip)
Credits::good:
vvFiCKvv : for finding the error and showing how to fix it.
dk75 : for sharing it with us.
dark passenger : for posting the fixed zip here(just modded original zip) and testing.
if you appreciate this please press thanks on all these guys posts.:good:
Click to expand...
Click to collapse
I've installed S2E on thos ROM. Need I reinstall CM 10.1? Where is tutorial for this?
ZmisiS said:
I've installed S2E on thos ROM. Need I reinstall CM 10.1? Where is tutorial for this?
Click to expand...
Click to collapse
tutorial added to first post. no just remove the revert all settings in the app(and hope they fit into /data) and delete the script its something s2e like the script will automatically move all apps and dalvik cache and everything except /data/data to /sd-ext nothing to configure.
Dark Passenger said:
Hi INT2ext4+ works on android 4.2.1.(Device : Galaxy Fit GT-S5670)
ScreenShots.
and for those dying for to use it here is the fixed script (yes its a flashable zip)
Credits::good:
vvFiCKvv : for finding the error and showing how to fix it.
dk75 : for sharing it with us.
dark passenger : for posting the fixed zip here(just modded original zip) and testing.
if you appreciate this please press thanks on all these guys posts.:good:
How to Install guide
1.remove all app2sd scripts from init.d folder inside /system/etc you should have two scripts only smothing like 90userinit and 00banner or module if any other script that has 2ext or app in it please delete them.(only app2sd scripts matter no other script)
2.uninstall all related apps for the same scripts.
3.reboot into recovery.
4.under mount & storage(or something similar) chose mount /system & /data and /sd-ext
5.go back and choose install zip
6. select Fixed-Int2ext4+.zip and flash.
7 go back to mount & storage and unmount /data & /sd-ext.
8.format /sd-ext from the same menu.
reboot and enjoy.
Note : this will work for only ext 4 partition(if you format sd-ext using cwm 5 its ext 4) will upload int2ext+ soon if requested.
Click to expand...
Click to collapse
This is works for me. Thanks.
ZmisiS said:
This is works for me. Thanks.
Click to expand...
Click to collapse
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Rohit02 said:
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Click to expand...
Click to collapse
I've partitioned the SD Card on FAT32 and ext4. For ext4 I made 1 GB. My SD Card is of 16 GB. Rest is FAT32.
The first make partition FAT32 and then ext4.
Rohit02 said:
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Click to expand...
Click to collapse
it mounts your /sd-ext partition as /data hence internal storage is the size that your /sd-ext is.
also its easier to partition with cwm and keep swap as 0.
Help me!
why I can't mount sd-ext?
PrimZaap said:
why I can't mount sd-ext?
Click to expand...
Click to collapse
What do you use, CWM 5, CWM 6 or Amon-RA?
ZmisiS said:
What do you use, CWM 5, CWM 6 or Amon-RA?
Click to expand...
Click to collapse
CWM5
PrimZaap said:
CWM5
Click to expand...
Click to collapse
Is it partition SD Card O.K.? If yes, try CWM6 or Amon-RA.
PrimZaap said:
CWM5
Click to expand...
Click to collapse
first try installing script without mounting /sd-ext but follow all other steps(mainly mount /system & /data flash script & later unmount /data and format /sd-ext).
If this doesnt work(I seriously doubt it won't still) it means that the /sd-ext partition is corupt(many reasons) so do this flash amon ra and choose fix sd-ext partition the n flash cwm 5 again and format sd-ext partition.
still doesnt work(really still doesnt ?!?!?!) post here the full porblem you face then and if you tried both these solutions.
Good luck.
Dark Passenger
Dark Passenger said:
first try installing script without mounting /sd-ext but follow all other steps(mainly mount /system & /data flash script & later unmount /data and format /sd-ext).
If this doesnt work(I seriously doubt it won't still) it means that the /sd-ext partition is corupt(many reasons) so do this flash amon ra and choose fix sd-ext partition the n flash cwm 5 again and format sd-ext partition.
still doesnt work(really still doesnt ?!?!?!) post here the full porblem you face then and if you tried both these solutions.
Good luck.
Dark Passenger
Click to expand...
Click to collapse
In Amon-RA I've formated sd-ext in the way that I went to on wipe sd-ext. It works for me. I've flashed script with Amon-RA.
ZmisiS said:
Is it partition SD Card O.K.? If yes, try CWM6 or Amon-RA.
Click to expand...
Click to collapse
I have Amon-RA,, and I have a new problem. how to format/sd-ext in Amon-RA?
PrimZaap said:
I have Amon-RA,, and I have a new problem. how to format/sd-ext in Amon-RA?
Click to expand...
Click to collapse
I'm already write.Format sd-ext in Amon-RA to go to Wipe/wipe sd-ext.
First Post Updated added INT2EXT and also added a little description for each script.
Amon-ra recovery is good but i personally preffer cwm 5 and really dont trust cwm 6.
Dark Passenger said:
First Post Updated added INT2EXT and also added a little description for each script.
Amon-ra recovery is good but i personally preffer cwm 5 and really dont trust cwm 6.
Click to expand...
Click to collapse
With CWM 5 I have problem with restore. With Amon-RA I have not had any problems.
ZmisiS said:
With CWM 5 I have problem with restore. With Amon-RA I have not had any problems.
Click to expand...
Click to collapse
since I had a bad experience with cwm 6 i dont trust that and personally dont like amon-ra so cwm 5 is the best for me.
but each his own right.
Dark Passenger said:
since I had a bad experience with cwm 6 i dont trust that and personally dont like amon-ra so cwm 5 is the best for me.
but each his own right.
Click to expand...
Click to collapse
Yes, I agree. I'm only mentioning their experiences.
Problem with Amon-RA is it that he don't flashing custom ROM on stock ROM.
Thanks for your help,, and it work
I have partitioned my SD-Card as told by Cute_Prince...
And I wanted to flash AteeqRom V5 OC...
http://forum.xda-developers.com/showthread.php?t=1801388
This is the how I made the partitions...(Using Minitool Partition Wizard) & (Running on Windows 7) !
1.Deleted any existing partition.
2.Made a SD-CACHE partition as ext2.
2.Made a SD-DATA partition as ext2.
3.Made the SD-CARD partition as fat32.
Next what I did is...
1.Transferred the ROM.zip to the SD-CARD.
2.Inserted the SD-CARD in my phone.
3.In CWM, I formatted data, dalvik cache and system as well.
4.I then flashed the ROM.zip.
After this I get stuck at the HTC Screen, the ROM wont boot up...
THE SAME HAPPENS WITH THE TIGERSENSE OC REVAMPED ROM..!
Can someone please tell me what I am doing wrong...I've tried doing this many times with the Ateeq ROM..!
I really want the Stock ROM with OC...
So I request you to please please please help me...:crying:
Thanks in Advanced !
cyborgmanu said:
I have partitioned my SD-Card as told by Cute_Prince...
And I wanted to flash AteeqRom V5 OC...
http://forum.xda-developers.com/showthread.php?t=1801388
This is the how I made the partitions...(Using Minitool Partition Wizard) & (Running on Windows 7) !
1.Deleted any existing partition.
2.Made a SD-CACHE partition as ext2.
2.Made a SD-DATA partition as ext2.
3.Made the SD-CARD partition as fat32.
Next what I did is...
1.Transferred the ROM.zip to the SD-CARD.
2.Inserted the SD-CARD in my phone.
3.In CWM, I formatted data, dalvik cache and system as well.
4.I then flashed the ROM.zip.
After this I get stuck at the HTC Screen, the ROM wont boot up...
THE SAME HAPPENS WITH THE TIGERSENSE OC REVAMPED ROM..!
Can someone please tell me what I am doing wrong...I've tried doing this many times with the Ateeq ROM..!
I really want the Stock ROM with OC...
So I request you to please please please help me...:crying:
Thanks in Advanced !
Click to expand...
Click to collapse
same problem for most of us wait till someone finds the proper solution to this
btw till then try the pandora kernel latest build with 800Mhz overclocking without partion of the sd card
cyborgmanu said:
I have partitioned my SD-Card as told by Cute_Prince...
And I wanted to flash AteeqRom V5 OC...
http://forum.xda-developers.com/showthread.php?t=1801388
This is the how I made the partitions...(Using Minitool Partition Wizard) & (Running on Windows 7) !
1.Deleted any existing partition.
2.Made a SD-CACHE partition as ext2.
2.Made a SD-DATA partition as ext2.
3.Made the SD-CARD partition as fat32.
Next what I did is...
1.Transferred the ROM.zip to the SD-CARD.
2.Inserted the SD-CARD in my phone.
3.In CWM, I formatted data, dalvik cache and system as well.
4.I then flashed the ROM.zip.
After this I get stuck at the HTC Screen, the ROM wont boot up...
THE SAME HAPPENS WITH THE TIGERSENSE OC REVAMPED ROM..!
Can someone please tell me what I am doing wrong...I've tried doing this many times with the Ateeq ROM..!
I really want the Stock ROM with OC...
So I request you to please please please help me...:crying:
Thanks in Advanced !
Click to expand...
Click to collapse
How abt upgrading to android 4.2.2 using CM10.1. You can then use Pandora's kernel too to OC to 800mhz
@ op
hi mate, if you want to take the new OC (one by cute_prince's method) install cm10 and the n flash pandora kernel , or install cm10.1 and flash jarvis kernel
use CWM recovery and format boot, system, cache,dalvik,userdata, then try to install...
cyborgmanu said:
I have partitioned my SD-Card as told by Cute_Prince...
And I wanted to flash AteeqRom V5 OC...
http://forum.xda-developers.com/showthread.php?t=1801388
This is the how I made the partitions...(Using Minitool Partition Wizard) & (Running on Windows 7) !
1.Deleted any existing partition.
2.Made a SD-CACHE partition as ext2.
2.Made a SD-DATA partition as ext2.
3.Made the SD-CARD partition as fat32.
Next what I did is...
1.Transferred the ROM.zip to the SD-CARD.
2.Inserted the SD-CARD in my phone.
3.In CWM, I formatted data, dalvik cache and system as well.
4.I then flashed the ROM.zip.
After this I get stuck at the HTC Screen, the ROM wont boot up...
THE SAME HAPPENS WITH THE TIGERSENSE OC REVAMPED ROM..!
Can someone please tell me what I am doing wrong...I've tried doing this many times with the Ateeq ROM..!
I really want the Stock ROM with OC...
So I request you to please please please help me...:crying:
Thanks in Advanced !
Click to expand...
Click to collapse
I think for sense ROMS you need to create 3 partitions not 2..
SD-EXT, around 512MB is enough. It contains only system files.
SD-DATA, you can give whatever size you want. This where the user applications are installed
SD-CACHE, around 65MB is enough.
above all partitions should be ext4
and one is default SD card
What do you mean ?
ayushrox said:
@ op
hi mate, if you want to take the new OC (one by cute_prince's method) install cm10 and the n flash pandora kernel , or install cm10.1 and flash jarvis kernel
Click to expand...
Click to collapse
How will flashing those ROMs and Kernels help me in getting through with the Cute_Prince method ?
I have minicm9 build 7 and i want move /data and /cache to sd partions without flashing new kernel because it make higher ram and battery usage
in mounts2sd there is a option for mounting these two partitions to ext.
shubhojit89 said:
in mounts2sd there is a option for mounting these two partitions to ext.
Click to expand...
Click to collapse
In app?
michal16 said:
In app?
Click to expand...
Click to collapse
Yes in the app
shubhojit89 said:
Yes in the app
Click to expand...
Click to collapse
There is only mounting cache
Mounts2sd
michal16 said:
There is only mounting cache
Click to expand...
Click to collapse
It seems like you are not well versed with mounts2sd..
I use int2ext.. In order to make you understand i installed it did it..
Open Mounts2sd app..
Install the startup script..
After install reboot..
Now again open the app
Go to settings tap the middle one with settings icon..
As you have already seen the cache one..
Scroll down to system..
Tick on all the options except dalvich one..
Dont tick on anything else
Restart your device..
Open mounts2sd app again you will /data mounted to ext partition and data partition being increased..
Hit thanks
shubhojit89 said:
It seems like you are not well versed with mounts2sd..
I use int2ext.. In order to make you understand i installed it did it..
Open Mounts2sd app..
Install the startup script..
After install reboot..
Now again open the app
Go to settings tap the middle one with settings icon..
As you have already seen the cache one..
Scroll down to system..
Tick on all the options except dalvich one..
Dont tick on anything else
Restart your device..
Open mounts2sd app again you will /data mounted to ext partition and data partition being increased..
Hit thanks
Click to expand...
Click to collapse
Now i can safely overclock?
michal16 said:
Now i can safely overclock?
Click to expand...
Click to collapse
Can you exactly tell me what do you need cz I can't understand what do you want and what to do..
Check the thread of that rom you will find the oc kernel plus the partitions you need to install oc kernel..
Plus the ques given doesnt link to oc kernel..
via Apache Helicopter
i have minicm9 build 7 and it have OC implemented but not mounting /data and /cache as microsd partitions so i will burn NAND. I want mount /data and /cache as microsd partitions to safely overcock (will not burn NAND). Custom kernel mounting but when i got it i have bigger ram and battery usage.
This is a simple .zip file you can flash on any amami, which uses a ramdisk like the combinedrootfs from Cyanogenmod 11. Your device needs to have a f2fs-compatible kernel, for example this one.
This zip is only modifying your current ramdisk. It will delete the normal fstab and add a binary, which detects if your system, data and cache partition are formatted with f2fs and create a new fstab every boot. It will also flash a twrp recovery, which is modified to work with f2fs.
Ok but... what is f2fs?
It is a new file system, which is especially designed for flash-based storages, like our phones. It will give you much better reading and writing speed.
Installation:
1. Be sure, that you have a f2fs-compatible kernel and your ramdisk's structure is similar to Cyanogenmod's one. If you are on any aosp-based rom, the ramdisk will be compatible anyway.
2. Flash the .zip file from a custom recovery
3. Reboot recovery
4. Now go to advanced wipe and you can change the file systems of system, data and cache to f2fs.
Some more information:
If you convert cache to f2fs:
->No data will be lost
If you convert data to f2fs:
->Your whole internal storage will be wiped. backup your data before you decide to do that!
If you convert system to f2fs
->You need to flash your rom again. You need to modify the updater script of your rom before that like this
OK. I formatted data with f2fs, but want to flash a new rom. What to do?
You need to flash a kernel with f2fs and this zip, no need for any wipes
Download:
http://www.androidfilehost.com/?fid=23578570567713678
For Developers:
You can include this in your rom like this: https://gist.github.com/CoolDevelopment/54ede52a1e075da48151
XDA:DevDB Information
F2FS for amami, Tool/Utility for the Sony Xperia Z1 Compact
Contributors
CoolDevelopment, NovaFusion
Version Information
Status: Testing
Current Beta Version: 2.0
Beta Release Date: 2014-07-16
Created 2014-07-16
Last Updated 2014-07-16
@CoolDevelopment
So, if I corectly understand this zip will erase all data including internal storage? Am I right? But about if I use nightlies? Will I neen to flash it every time after update?
da900 said:
this zip will erase all data including internal storage?
Click to expand...
Click to collapse
It won´t erase your internal storage , I flashed and everthing is there !
pvillasuso said:
It won´t erase your internal storage , I flashed and everthing is there !
Click to expand...
Click to collapse
OK. Thanx. But will erase all data, so I need to install all apps again?
da900 said:
OK. Thanx. But will erase all data, so I need to install all apps again?
Click to expand...
Click to collapse
Nope , it won´t erase any data, files, apps, etc from your internal o external storage
from the OP :
This zip is only modifying your current ramdisk. It will delete the normal fstab and add a binary, which detects if your data and cache partition are formatted with f2fs and create a new fstab every boot. It will also flash a twrp recovery, which is modified to work with f2fs.
It does not erase anything. It makes your current ramdisk compatible with f2fs. If you just flash this notjing changes. But you can convert you cache and data partition to f2fs after flashing the zip with the recovery. If you do that, all your data is lost.
If you have converted your partitions to f2fs and flash a new rom, you need to flash a f2fs-compatible kernel and this again.
CoolDevelopment said:
It does not erase anything. It makes your current ramdisk compatible with f2fs. If you just flash this notjing changes. But you can convert you cache and data partition to f2fs after flashing the zip with the recovery. If you do that, all your data is lost.
If you have converted your partitions to f2fs and flash a new rom, you need to flash a f2fs-compatible kernel and this again.
Click to expand...
Click to collapse
OK. Thanx. I will try. But if I will update the ROM (for example, when using CM nighlies), when there is no need to wipe all data, will I still need to perform all these steps to convert data partion to f2fs? I mean will I need every time restore all data again?
da900 said:
OK. Thanx. I will try. But if I will update the ROM (for example, when using CM nighlies), when there is no need to wipe all data, will I still need to perform all these steps to convert data partion to f2fs? I mean will I need every time restore all data again?
Click to expand...
Click to collapse
You need to flash a f2fs compatiblr kernel and this zip, no wipes
But if you don't do that your rom will bootloop
Sent from my Xperia Z1 Compact using XDA Premium 4 mobile app
New version!
I uploaded a new version with /system support and a few fixes.
I also updated the op.
Have fun!
I would guess that if you have f2fs you should flash the appropriate kernel only if switch ROMs or if the nightly build brings kernel changes.
If you install kernel with f2fs support and your partition is f2fs formatted, I think your data should be safe even between ROM changes.
Somebody please confirm my assumptions.
I hope oshmoun will have the time to build PAC ROM with oms kernel, built in [emoji12]
idimitro said:
I would guess that if you have f2fs you should flash the appropriate kernel only if switch ROMs or if the nightly build brings kernel changes.
If you install kernel with f2fs support and your partition is f2fs formatted, I think your data should be safe even between ROM changes.
Somebody please confirm my assumptions.
I hope oshmoun will have the time to build PAC ROM with oms kernel, built in [emoji12]
Click to expand...
Click to collapse
Every rom flashes a boot.img. This boot.img contains a zImage and a ramdisk(on sony devices it is a bit more complicated but that's enough for now).
Using f2fs needs:
1. A zImage(kernel) with f2fs support
2. A ramdisk with f2fs support
This zip modifies the ramdisk for compatibility with f2fs.
You need to flash a f2fs kernel manually.(for example my moshkernel)
And everytime you flash a new rom, you have to modify the contents of the boot.img again
And why don't I just let you flash a modified boot.img? It is only one file.
It would only be compatible with one rom. This is compatible with any rom and boot.img, which uses the ramdisk architecture like cyanogenmod(combinedrootfs).
I hope I could explain it well
If i want to format my system to f2fs, i just need to do step 6 as in your link and then zip back the rom?
So when ever i decide to do full wipe everything, will my system, data, cache format still in f2fs format?
Sent from my Candy Amami using Tapatalk
najar360 said:
If i want to format my system to f2fs, i just need to do step 6 as in your link and then zip back the rom?
So when ever i decide to do full wipe everything, will my system, data, cache format still in f2fs format?
Sent from my Candy Amami using Tapatalk
Click to expand...
Click to collapse
If you use TWRP yes
But if you want to revert back go to advanced wipe->change or repair filesystem/change filesystem-> ext4
CoolDevelopment said:
If you use TWRP yes
But if you want to revert back go to advanced wipe->change or repair filesystem/change filesystem-> ext4
Click to expand...
Click to collapse
i try to change data to f2fs format then flash new rom, mosh kernel, and this patch and then reboot system. i got bootloop. i didnt do step 6 yet.
najar360 said:
i try to change data to f2fs format then flash new rom, mosh kernel, and this patch and then reboot system. i got bootloop. i didnt do step 6 yet.
Click to expand...
Click to collapse
Can you tell me which rom?
I tried it with slimkat and it worked well
And what kind of bootloop? Do you see the sony or rom bootlogo?
And please use MoshKernel 0.1.2
CoolDevelopment said:
Can you tell me which rom?
I tried it with slimkat and it worked well
And what kind of bootloop? Do you see the sony or rom bootlogo?
And please use MoshKernel 0.1.2
Click to expand...
Click to collapse
i'm using candykat
my step, flash f2fs patcher, reboot recovery, change cache and data to f2fs format. reboot recovery again, wipe everything. checking cache and data still in f2fs. flash candykat, mosh kernel, f2fs patcher. reboot system. sony bootlogo appear, rom bootanimation appear. stuck for 10 minutes.
anything wrong with my step?
najar360 said:
i'm using candykat
my step, flash f2fs patcher, reboot recovery, change cache and data to f2fs format. reboot recovery again, wipe everything. checking cache and data still in f2fs. flash candykat, mosh kernel, f2fs patcher. reboot system. sony bootlogo appear, rom bootanimation appear. stuck for 10 minutes.
anything wrong with my step?
Click to expand...
Click to collapse
Did you use the latest MoshKernel?(0.1.2)
The new f2fs-patcher zip is not compatible with the old MoshKernel
CoolDevelopment said:
Did you use the latest MoshKernel?(0.1.2)
The new f2fs-patcher zip is not compatible with the old MoshKernel
Click to expand...
Click to collapse
yeaps. i'm using 0.1.2 version.
najar360 said:
yeaps. i'm using 0.1.2 version.
Click to expand...
Click to collapse
That's strange. I tried it with slimrom, which is the base for candycat as far as i know, and it worked perfectly.
CoolDevelopment said:
That's strange. I tried it with slimrom, which is the base for candycat as far as i know, and it worked perfectly.
Click to expand...
Click to collapse
is my step correct?
edit : try slimkat and it work.
Hi guys,
I'll share some scripts (flashable) that I've made to help with xperia l internal memory shortage.
1. First one is the link2sd-enabler.zip: http://www24.zippyshare.com/v/UduJGjqJ/file.html.
For this to work you'll need a second partition on the external sdcard formated as ext4. So first partition is the vfat one, the second primary partition on the external sd card is the ext4 one. Currently I have a 8Gb ext4 second partition.
Installation procedure: prepare your external sdcard, flash the zip, install link2sd application.
2. Second is the 01link2sdmm: http://www86.zippyshare.com/v/9DSgorlH/file.html.
The link2sd application does not automatically link the oat directory of the application. This directory contains the compiled application in the form of an odex file. For big apps this file is pretty big. So this script will automatically link this directory to the sdcard second partition for the applications that are linked to the sdcard. This works in conjunction with the link2sd-enabler.zip script.
Installation procedure: put this script in the /etc/init.d directory with the proper permissions. This way it will run at boot. If you want to run this directly after you link an app you'll need to use automagic and make a rule to run this script after you exit the link2sd application.
Observations: This script is not needed if you switch the internal partitions because you'll have enough space to keep the odex file internally. It's your choice.
3. Third script is the mm-partition-swapper.zip: http://www10.zippyshare.com/v/eyRO7gLw/file.html.
This one will switch your sdcard and userdata partition on your current mm rom. This was tested on rr573 that I have installed, but it should work in other mm roms as well.
Installation procedure: Make sure you have enough space on the external sd card so the script will be able to save your current data partition files. Save the files that you need from your internal partition to your external sd card. Make a backup of your current rom from twrp in case something wrong happens. Format from TWRP the internal sd card as ext4. Flash the zip. If everything works ok then you'll have a rom with the internal partitions swapped and you'll have 4Gb of user data available (minus your space for the already installed apps).
!!!!!!!!!!!!!!!!!!Very important!!!!!!!!!!!!!!!!!!
Don't try formatting the internal sdcard as ext4 with twrp version 3.0.2! It seems that his twrp version does not support this. I'm using twrp 2.8.7.0 by Barbarosa.
Observations: Twrp does not support backing up/restoring internal sd. If you swap partitions you'll have to backup your ext4 internal sd manually from within twrp connected through adb (with a simple tar command)
4. I think 256 ZRAM for the rr573 rom is too big so this zip will change this to 128MB:
mm-128Mb-zram.zip:http://www103.zippyshare.com/v/XjVAnXEl/file.html.
Please make a backup before flashing the swap zip and report if this worked for you.
Hope this helps,
Thanks.
cojocar.andrei said:
Hi guys,
1. First one is the link2sd-enabler.zip:
For this to work you'll need a second partition on the external sdcard formated as ext4. So first partition is the vfat one, the second primary partition on the external sd card is the ext4 one. Currently I have a 8Gb ext4 second partition.
Installation procedure: prepare your external sdcard, flash the zip, install link2sd application.
Click to expand...
Click to collapse
I've been struggeling for quite some time to get the link2sd app working since I flashed MM.
I've done a clean install, flashed the zip, installed link2sd, but I still get a 'mount script error, Cannot create script, mount: no such file or directory.' Anyone got an idea what I do wrong?
thx!
mikelektro said:
I've been struggeling for quite some time to get the link2sd app working since I flashed MM.
I've done a clean install, flashed the zip, installed link2sd, but I still get a 'mount script error, Cannot create script, mount: no such file or directory.' Anyone got an idea what I do wrong?
thx!
Click to expand...
Click to collapse
Check if you have in the /etc/init.d directory the 00link2sd script. For this script to work you need a rom with a working init.d (otherwise this won't work obviously...). If you have the script there, then check if you see a directory /data/sdext2 (if this directory is missing, but you have the 00link2sd script in the /etc/init.d directory, then this means you don't have init.d support in the rom). If you partition your sdcard correctly then the second ext4 partition of you sdcard should me mounted in the /data/sdext2 directory ... All these you need to check before installing the link2sd app...
Awesome! Thank you. I'll try this
cojocar.andrei said:
Check if you have in the /etc/init.d directory the 00link2sd script. For this script to work you need a rom with a working init.d (otherwise this won't work obviously...). If you have the script there, then check if you see a directory /data/sdext2 (if this directory is missing, but you have the 00link2sd script in the /etc/init.d directory, then this means you don't have init.d support in the rom). If you partition your sdcard correctly then the second ext4 partition of you sdcard should me mounted in the /data/sdext2 directory ... All these you need to check before installing the link2sd app...
Click to expand...
Click to collapse
I have the init.d folder, but it seems the sdext2 folder was only created after I installed the link2sd app.
I tried doing it all over again, but it still doesnt work, same messages...
mikelektro said:
I have the init.d folder, but it seems the sdext2 folder was only created after I installed the link2sd app.
I tried doing it all over again, but it still doesnt work, same messages...
Click to expand...
Click to collapse
Then your rom doesn't have init.d support. You need a kernel/rom (more precisely a ramdisk) with init.d support to use this ... The rr573 supports init.d ... Try it with this one ...
cojocar.andrei said:
Then your rom doesn't have init.d support. You need a kernel/rom (more precisely a ramdisk) with init.d support to use this ... The rr573 supports init.d ... Try it with this one ...
Click to expand...
Click to collapse
Thx! Which do you recommend? I've tried several in the last two or three months. Now I'm running AOSP-OMS.
I ran slim, RR and CM 13 beta before without any problems, just the storage issue.
mikelektro said:
Thx! Which do you recommend? I've tried several in the last two or three months. Now I'm running AOSP-OMS.
I ran slim, RR and CM 13 beta before without any problems, just the storage issue.
Click to expand...
Click to collapse
I've just told you. RR573. For a completely working camera on this one just replace a camera library... Search the rr thread...
Sent from the center of the galaxy
3. Third script is the mm-partition-swapper.zip: http://www10.zippyshare.com/v/eyRO7gLw/file.html.
This one will switch your sdcard and userdata partition on your current mm rom. This was tested on rr573 that I have installed, but it should work in other mm roms as well.
Installation procedure: Make sure you have enough space on the external sd card so the script will be able to save your current data partition files. Save the files that you need from your internal partition to your external sd card. Make a backup of your current rom from twrp in case something wrong happens. Format from TWRP the internal sd card as ext4. Flash the zip. If everything works ok then you'll have a rom with the internal partitions swapped and you'll have 4Gb of user data available (minus your space for the already installed apps).
Click to expand...
Click to collapse
I use rom AOSP OMS . file zip working?
Brick and problem other ?
Thx you building script .
Thx advanced
I am on stryflex MM ROM and TWRP 3.0.2.
I formatted internal storage as ext4, then flashed mm-partition-swapper.zip.
Says that there is no ext4fs partition and I tried reboot recovery and my phone is dead now, can't turn it on...
I don't blame you, I blame myself for trying. But please help. Flashtool doesn't recognize flash mode.
Don't use this method. Not safe.
Option58 said:
I am on stryflex MM ROM and TWRP 3.0.2.
I formatted internal storage as ext4, then flashed mm-partition-swapper.zip.
Says that there is no ext4fs partition and I tried reboot recovery and my phone is dead now, can't turn it on...
I don't blame you, I blame myself for trying. But please help. Flashtool doesn't recognize flash mode.
Don't use this method. Not safe.
Click to expand...
Click to collapse
Sorry to hear this. If the script gave you this error then the script did nothing to your phone. It just aborted the procedure because it did not find the sdcard formated as ext4. It must be the twrp version. I'm using twrp 2.8.7.0 by barbarosa. I think twrp 3.0.2 does not support formatting the internal sdcard as ext4. Most pobably the twrp version 3.0.2 formated something else as ext4 or whatever instead of internal sd... I did not know this. Sorry again...
Try to search the brick threads. If you still have a blue light when in flashmode I think you still have a chance to resurect it...
Sent from the center of the galaxy
I've modified the post to warn people of this twrp version. So, people, use only twrp 2.8.x.x to format the internal sdcard. I'm using 2.8.7.0 twrp version by Barbarosa. I don't know if other twrp versions support ext4 on internal sdcard.
Sent from the center of the galaxy
Thanks for the solutions. So now if I only need to swap internal sd and /data, i just need to flash 3rd script? I'm quite confusing about partitioning and memory stuffs
newguyknowsnothing said:
Thanks for the solutions. So now if I only need to swap internal sd and /data, i just need to flash 3rd script? I'm quite confusing about partitioning and memory stuffs
Click to expand...
Click to collapse
You have to have twrp 2.8.7.0, then format internal sdcard as ext4 (wipe settings) and then flash the zip...
Sent from the center of the galaxy
Yes, formatting internalSD as ext4 is tricky. My recovery was broken. Probably formatted something else. It wasn't your script.
However I have no volume up button on my phone (fell out) - no fastboot. And just volume down button (flash mode) and a somewhat broken USB cable. Phone not recognized by flashtool at all...
cojocar.andrei said:
You have to have twrp 2.8.7.0, then format internal sdcard as ext4 (wipe settings) and then flash the zip...
Sent from the center of the galaxy
Click to expand...
Click to collapse
Ok thanks! One more question, If I somewhat want to undo this, I need to back up the current MM rom before flashing the script? Will the internal sd and /data automtically be swapped back when I restore the back up?
newguyknowsnothing said:
Ok thanks! One more question, If I somewhat want to undo this, I need to back up the current MM rom before flashing the script? Will the internal sd and /data automtically be swapped back when I restore the back up?
Click to expand...
Click to collapse
After swapping the partitions your old backups of the rom will not work anymore (or probably they would just revert the swapping. Anyway if you want to restore a backup that's been done prior to swap it's better to format back by hand the internal sdcard to vfat and data to ext4)
For backing up a rom with swapped partitions you'll have to select the sdcard instead of data partition in the backup options... I did not try it yet...
Sent from the center of the galaxy
Option58 said:
Yes, formatting internalSD as ext4 is tricky. My recovery was broken. Probably formatted something else. It wasn't your script.
However I have no volume up button on my phone (fell out) - no fastboot. And just volume down button (flash mode) and a somewhat broken USB cable. Phone not recognized by flashtool at all...
Click to expand...
Click to collapse
I don't know, sorry. You have to search the brick threads...
Sent from the center of the galaxy
I ran the the link2sd enabler script on my rr573, works like a charm now.
Thank you so much, I needed this!
Didn't swapped the storages yet.
The dream is real!
Congratulations.
Seeking a long time for a script like mm-partition-swapper.zip
Before seeing your post, I had already made the formatting of SD0 (ext4) to try to install Link2SD to work with SD0 without work.
I used the TWRP 3.0.2.
I could easy return the partition to FAT.
I intend to make a clean installation of ROM on my device to then install your mm-partition-swapper.zip script.
As both the "DATA" as SD0 are empty you still think need to format with TWRP 2.8.7?
No way to change this script without the data transfer?
Only formatting partitions and inverted mounts?
If not necessary then ok...but... please clear this my doubts.
Again without getting tired ... very thank you even for your script.