CWM Backup worthless because of Link2SD - HTC ChaCha

I did a backup of my chacha. Since I also used Link2SD I have the problem that the extra partition is not mounted correctly after restoring the backup.
Some Apps that are on the 2nd partition still work, but Link2SD refuses to create the link again ("Invalid argument"). Some manual guides tell me that I should add some mount script to /etc/init.d - but there is no init.d.
So any chance that I get my backup working again?

when you restore cwm backup it make the 2nd partition ext3 format and that maybe not support by the rom you use
if you are sure that your rom is support ext3 try to uninstall link2sd and install it again and choose ext3

Well, CWM will format the partition with ext4, but I changed it to ext3 since I was sure that I used ext3 before and this was also supported by this phone. So I don't think that this was the problem.
I also tried to reinstall Link2SD but no change.

try to use it as ext2

ts3010 said:
try to use it as ext2
Click to expand...
Click to collapse
Thanks. I couldn't believe it because i used it as ext3 before. But now I changed it to Fat32 and it works. I had to do the restore of the sdext.tar manually because CMW always changed Fat32 to ext3 then. And when I formatted the partition with CMW before it was even ext4!

Related

[MOD] Move to sd-ext | Simple app, private-app and Dalvik cache to SD solution

This is a simple and effective (moves most space hogging folders from internal memory to sd-ext) APP2SD solution.
It moves the following things from /data partition to ext partition on SD card:
/data/app => /sd-ext/app
/data/app-private => /sd-ext/app-private
/data/dalvik-cache => /sd-ext/dalvik-cache
and creates symlinks to new locations in place of original folders.
Solution consists of 2 via recovery flashable ZIPs:
sd-ext_patch-signed-vXX.zip - this updates/creates CyanogenMod 7/9 script that mounts SD card ext partition to /sd-ext so /sd-ext can be any ext version (by default it can be only ext3) and installs e2fsck. This must be re-flashed after each ROM update (unless you know that ROM will mount your /sd-ext out of the box).
to_sd-ext_patch-signed-vXX.zip - actually moves folders to ext partition on SD card. This can be flashed only after first boot into ROM after wiping /data. It should be re-flashed only in conjunction with wiping /data and /sd-ext.
This mod requires ext2/ext3/ext4 partition on SD card.
Always make full Nandroid backup before flashing this mod or updating ROM with mod installed!
Disclaimer: I am not responsible for anything that may happen as a result of using this mod.
Installation/usage:
To install mod on a working ROM:
Flash sd-ext_patch-signed-vXX.zip via Recovery.
Flash to_sd-ext_patch-signed-vXX.zip via Recovery.
After updating ROM:
Re-flash sd-ext_patch-signed-vXX.zip without booting into updated ROM.
After wiping /data from Recovery:
Delete moved folders from /sd-ext (in most cases you will want to do this by wiping /sd-ext from Recovery).
Boot into your ROM.
Re-flash to_sd-ext_patch-signed-vXX.zip via Recovery.
This mod is tested with CyanogenMod 7 (7.1 by mik_os and 7.2 official builds) and CyanogenMod 9 by hephappy and Amon RA recovery 3.0.6.
If you are using Clockworkmod Recovery see this post.
+1
Is this mod developed by you?
DJoptimus-One said:
Is this mod developed by you?
Click to expand...
Click to collapse
Yes
DavisNT said:
Yes
Click to expand...
Click to collapse
Nice work, I'm surely gonna try
Keep up.
Good work here!! Really nice to see some REAL development here
Will try it and report soon.........
Sent from heaven, wandering with Steve Jobs
Any feedback yet? Would love to give it a try :thumbup:
Sent from my LG-P500 using XDA
FitAmp said:
Any feedback yet? Would love to give it a try :thumbup:
Sent from my LG-P500 using XDA
Click to expand...
Click to collapse
Don't ask for that, try it yourself!!
nice work will try
Does this work on gb?2.3.3?
How to move app's ? Does this automatically moves it?
Sent from my LG-P500 using XDA
Just flashed on cm9 weekly... so for so good
Sent from my LG-P500 using XDA
Good work. Nice example of KISS approach - three symlinks + few lines of other code
dynamite33 said:
Does this work on gb?2.3.3?
How to move app's ? Does this automatically moves it?
Click to expand...
Click to collapse
You can make full Nandroid backup (Nand backup in recovery) and try whether it works on your ROM.
This requires the following things:
ext partition on SD card (you must have partitioned your SD card)
ROM that supports init.d scripts
kernel that supports ext filesystem version that is on SD card
You can test all this by (making full Nandroid backup and) flashing sd-ext_patch-signed-vXX.zip, booting in Android and issuing the following commands in Terminal Emulator:
Code:
su
mount
mount | grep sd-ext
If you see line like this somewhere in the output:
Code:
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
then /sd-ext is mounted and you can proceed to flashing to_sd-ext_patch-signed-vXX.zip.
Apps are moved when flashing to_sd-ext_patch-signed-vXX.zip.
DavisNT said:
You can make full Nandroid backup (Nand backup in recovery) and try whether it works on your ROM.
This requires the following things:
ext partition on SD card (you must have partitioned your SD card)
ROM that supports init.d scripts
kernel that supports ext filesystem version that is on SD card
You can test all this by (making full Nandroid backup and) flashing sd-ext_patch-signed-vXX.zip, booting in Android and issuing the following commands in Terminal Emulator:
Code:
su
mount
mount | grep sd-ext
If you see line like this somewhere in the output:
Code:
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
then /sd-ext is mounted and you can proceed to flashing to_sd-ext_patch-signed-vXX.zip.
Apps are moved when flashing to_sd-ext_patch-signed-vXX.zip.
Click to expand...
Click to collapse
Ok thanx a lot! Will try it.
Sent from my LG-P500 using XDA
hi DavisNT
i use Link2sd now, and want to try ur script, can i remove link2sd and use ur script without problem and without losing my apps ?
GonDr said:
i use Link2sd now, and want to try ur script, can i remove link2sd and use ur script without problem and without losing my apps ?
Click to expand...
Click to collapse
Try it, but remember to take full Nandroid backup before trying.
You can do this:
do full Nandroid backup from recovery
With Link2SD move all applications back to internal memory
delete mount scripts created by Link2SD (probably there is a kind of uninstall option in Link2SD)
install my mod
If you don't have enough space in internal memory, then it is possible to use Titanium Backup to backup and restore apps (however I am not sure whether Titanium Backup can backup data of applications linked with Link2SD - probably can, but I am not sure).
DavisNT said:
Try it, but remember to take full Nandroid backup before trying.
You can do this:
do full Nandroid backup from recovery
With Link2SD move all applications back to internal memory
delete mount scripts created by Link2SD (probably there is a kind of uninstall option in Link2SD)
install my mod
If you don't have enough space in internal memory, then it is possible to use Titanium Backup to backup and restore apps (however I am not sure whether Titanium Backup can backup data of applications linked with Link2SD - probably can, but I am not sure).
Click to expand...
Click to collapse
I don't think that titanium can restore anything to sdext, it just saves anything, including linked stuff and if trying to restore everything together it will fail, if the total of backed apps is larger than internal storage...
However, if link2sd is installed, the later will start linking data/apps 'on the fly' as Tib restores them. That's why it is essential to install link2sd or similar before going to batch-restore everything.
I guess this script should handle it in a similar way? I'm going to try anyway.
My idea was backing up most of apps with Titanium Backup while using Link2SD, then removing them (and moving left apps back to internal memory, uninstalling Link2SD mount scripts) and restoring after installing my script (Move to sd-ext).
Move to sd-ext links all applications (and dalvik cache, but not application data and library files extracted to data folders) at once - Titanium Backup will restore directly to SD card
can you explain me what's the difference between this mod and d2sd ungaze?
thanks
mutia said:
can you explain me what's the difference between this mod and d2sd ungaze?
thanks
Click to expand...
Click to collapse
If I correctly got what D2SD ungaze does, then it moves applications, applications data and libraries (/data/app, /data/app-private and /data/data) to SD card ext partition and leaves Dalvik cache (/data/dalvik-cache) on internal memory (/data partition).
While my mod moves and links applications and Dalvik cache (see first post in this thread for details), leaving all other folders (some system configuration and application data and libraries) in internal memory (/data partition).
Also technical implementation is very different from my mod. D2SD ungaze copies everything and links back certain things. It looks like D2SD ungaze also doesn't free space on /data partition.
DavisNT said:
You can make full Nandroid backup (Nand backup in recovery) and try whether it works on your ROM.
This requires the following things:
ext partition on SD card (you must have partitioned your SD card)
ROM that supports init.d scripts
kernel that supports ext filesystem version that is on SD card
You can test all this by (making full Nandroid backup and) flashing sd-ext_patch-signed-vXX.zip, booting in Android and issuing the following commands in Terminal Emulator:
Code:
su
mount
mount | grep sd-ext
If you see line like this somewhere in the output:
Code:
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
then /sd-ext is mounted and you can proceed to flashing to_sd-ext_patch-signed-vXX.zip.
Apps are moved when flashing to_sd-ext_patch-signed-vXX.zip.
Click to expand...
Click to collapse
i flashed the first zip file, then made this test through Terminal Emulator and got a line similar to the one you mentioned (my sd-ext is type 3, and the info in brackets was a bit different).
then i flashed second zip file.
the free RAM space increased (which necessarily means that things were moved to the sd-card, right?)
i then installed an app - and saw RAM decreasing accordingly, plus - the sd-ext folder is empty
how can i know if it works ?!?

[Q] When formatting EXT4 Partition, It doesn't stay?

I tried using MiniTool Partition Wizard to format my android sd card, I split the first half to be fat32 and the second half to be ext4, when I do that though the ext4 partition doesn't stay... I even tried twrp to partition it, to no avail it said it wasn't able to create the ext4 partition but the fat32 partition was made successfully.
**NOTE**
Apparently, you need a swap partition to be able to have ext4? Well, I created one and now everything works fine and dandy, before I didn't have one and it worked great...
You dont need swap for ext partitions.. there is no connection between them.
I dont know much about those tools but if you create partition through recovery.. first it makes ext2 partition later you need to upgrade it to ext4.
rr0yy said:
You dont need swap for ext partitions.. there is no connection between them.
I dont know much about those tools but if you create partition through recovery.. first it makes ext2 partition later you need to upgrade it to ext4.
Click to expand...
Click to collapse
If I could post link I would, but since I cannot mostly because to the site I'm not a developer (stupid rules) and claims I cannot post anything truly helpful, so as an effect cannot post links to my recovery.
My recovery (ZenGarden 2.0.2.7-T) can create an ext2, ext3 and ext4 partition; the use chooses which format and because of Windows limitations you cannot have more then two partitions on an external drive.

ICS PLUS and Ext Problem

I finally upgraded the ICS Plus by Hehappy from CM 7 GB and I increased the ext partition from 1 gb to 2gb as i was falling short of space. However the ROM is not recognizing the new EXT4 which I partitioned using Mini tool partition wizard. It don't show on Titanium Backup or S2E app. Then I converted it into EXT3 it still recognize it. Can you tell me what the problem is? Am I missing something?
I was using EXT2 with GB which I created using Clockwork recovery. But now I wanna use EXT4. Can you help me? Thank You.
Tried formatting with CWM
I formatted the the sd-ext partition with CWM and it was recognized by the phone. TB and S2E showed the information of the partition. However when I checked the information on the Mini partition tool, It shows that its a EXT2 partition. How to get EXT4 working on my phone?
If you have formatted ext partition using CWM it must be ext2. CWM uses ext2 format
Just try to format whole card from the start and partition it using only either CWM or Mini tool partition manager. If your using the tool make sure you do this using the card reader.
sarus_b said:
If you have formatted ext partition using CWM it must be ext2. CWM uses ext2 format
Just try to format whole card from the start and partition it using only either CWM or Mini tool partition manager. If your using the tool make sure you do this using the card reader.
Click to expand...
Click to collapse
I partitioned it with Mini tool partition like I have mentioned in my first post. It was not being recognised. It was only after I formatted the sd-ext with CWM that the sd-ext was being recognized. What am I doing wrong?
I dont think you are doing anything wrong. Maybe its bug in rom which causes the problem. There are same issues reported by some members who do not have ext4 working.
You can try amonra recovery and format partition to ext4 and see if it helps
sweettaniyaa said:
I finally upgraded the ICS Plus by Hehappy from CM 7 GB and I increased the ext partition from 1 gb to 2gb as i was falling short of space. However the ROM is not recognizing the new EXT4 which I partitioned using Mini tool partition wizard. It don't show on Titanium Backup or S2E app. Then I converted it into EXT3 it still recognize it. Can you tell me what the problem is? Am I missing something?
I was using EXT2 with GB which I created using Clockwork recovery. But now I wanna use EXT4. Can you help me? Thank You.
Click to expand...
Click to collapse
Flash AmonRa recovery. Backup your SDcard. Erase SDcard from Settings> Storage.
Partition SDcard through recovery. Upgrade it first to ext3 then to ext4. You can see these options in AmonRa.
rr0yy said:
Flash AmonRa recovery. Backup your SDcard. Erase SDcard from Settings> Storage.
Partition SDcard through recovery. Upgrade it first to ext3 then to ext4. You can see these options in AmonRa.
Click to expand...
Click to collapse
Thanks I will try that but after I get back to my normal routine. Right now I am traveling. Till then I will go with EXT2. But I am facing a heavy battery drain. I have my wifi on almost all the time. Probably that's it. But its almost twice as that it was with GB. Any solution to it? Also the volume of the phone ring seems to be less than GB at its highest level.
sweettaniyaa said:
Thanks I will try that but after I get back to my normal routine. Right now I am traveling. Till then I will go with EXT2. But I am facing a heavy battery drain. I have my wifi on almost all the time. Probably that's it. But its almost twice as that it was with GB. Any solution to it? Also the volume of the phone ring seems to be less than GB at its highest level.
Click to expand...
Click to collapse
If you are sure its already ext2 then you just have to flash amonra recovery and upgrade it to ext4.I never used ext2 so i cant tell you any advantage of ext4 over ext2.
Download wifi TX power from playstore and reduce wifi txpower.. See if it helps.
Edit: Battery drain is due to v3 kernel.. No solution to it yet.

[Q] sd card second partition

which one is better? ext2, ext3, ext4 or FAT32? and using what tools I should partition the sdcard?
I am using cm9.2.2
before that, I partition sdcard with Amonra Recovery with ext2 and use link2sd and have a problem, some times sdcard removed unexpected, when I reboot sdcard is not read, I pull out the sdcard and insert, and sdcard read normally. I reboot and sdcard not read again, I do this many time and finally can read sdcard. but it happens over and over again. I try to format the phone and install app, move app like unrooted phone, the sdcard work fine..when I try use ext2 with link2sd some times its happend again.,
help me..sorry for my bad english, I am Indonesian.
thank you before..
If you want to know what other people use to do this here I come:
How I make the ext partition:
Minitool partition wizard (windows)
Gparted (Linux)
Clockwork 6.0 (only for CM10+)
I didn't have any trouble with that programs, but be careful with the Clockwork because formats ALL the SD card, the ext and the fat partition, so make sure you do a backup of the SD.
Format of the second partition:
Always ext4
Link App
Link2sd is the best, other caused troubles over the time (reboots, not reading the sd, not reading the ext partition, etc)
chalo99 said:
If you want to know what other people use to do this here I come:
How I make the ext partition:
Minitool partition wizard (windows)
Gparted (Linux)
Clockwork 6.0 (only for CM10+)
I didn't have any trouble with that programs, but be careful with the Clockwork because formats ALL the SD card, the ext and the fat partition, so make sure you do a backup of the SD.
Format of the second partition:
Always ext4
Link App
Link2sd is the best, other caused troubles over the time (reboots, not reading the sd, not reading the ext partition, etc)
Click to expand...
Click to collapse
before that, I've use ext4, but cm9 not support, I change the kernel and still not support ext4, when I use ext3 its work fine..,
mirul_up said:
before that, I've use ext4, but cm9 not support, I change the kernel and still not support ext4, when I use ext3 its work fine..,
Click to expand...
Click to collapse
I used ext4 in all CM from 7 to 11 and no trouble, but always formatting after every wipe with gparted or minitool, because Clockwork 5.0 seem to not format well the ext partition, so after every wipe you should reformat with those programs.
From my experience use ext3, it is good and compatible with everything, allmost
maharu567 said:
From my experience use ext3, it is good and compatible with everything, allmost
Click to expand...
Click to collapse
+1
EXT4 has a tendency to corrupt
(At least for me )
Sent from my GT-I9082 using Tapatalk
Ext4 works great.
(Partition it with AmonRa recovery for a 100% guarantee of success, buggs with clockwork)
Sent from my LG-P500 using xda premium

MM internal memory solution

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.

Categories

Resources