yashsingh1/xdaforums huggingface dataset:
[HTC Wildfire S] rkleinhenz:
Alright, I can confirm this!!! :) I had tried partitioning (with easeus, another pretty good free partition manager for windows) several days ago, and while the partition was recognized by link2sd, the mounting script did not work. (this was before I saw this tutorial :o ) So that's why I used fat32. Now seeing this mention of doing it outside the phone I formatted the partition in a card reader. When inserted the card in the phone, android recognized a change, and did whatever it does to new cards. And this time the mounting script link2sd generated worked!

Thank you for the tutorial. I got 2 things out of it: I had not noticed the auto-option in link2sd, and hadn't thought of setting up the partition in a card reader. I imagine formatting via cwm should also work.

Rich
[HTC Wildfire S] No.12:
I use my second partition for Link2Sd as ext4 and have no problem.
[HTC Wildfire S] Nightshadow931:
From the official thread.
[HTC Wildfire S] d33ps1x:
Do as you wish. Its a windows with card reader tutorial. ;-)
[HTC Wildfire S] Nightshadow931:
I'm just saying, you don't need card reader, it could be done through phone itself too.

You could add that in ur first post, so people don't get confused.
[HTC Wildfire S] d33ps1x:
Added it as an option under troubleshooting.

Considering the issues I have heard from people attempting to do it in Mass Storage mode I would rather just leave it as an if you have to option.

Off to enjoy Saturday night here in GMT-5. :)

Enjoy the tutorial.
[HTC Wildfire S] willmcquillin:
Well it seems as though I will probably get slated for asking this but before I ask yes I have read everything thoroughly and searched for my question but can't find suitable answer.

Here it goes; basically I followed your guide step by step to no avail. When I first started up link2sd there was no option to mount and link2sd didn't even recognise my partion at all. Why do you think this is? :)
[HTC Wildfire S] d33ps1x:
I would ask in the original thread but I'll try and help.

Can you give me some details about what you are running?
[HTC Wildfire S] rkleinhenz:
All I can say this is EXACTLY what I did and the mounting script that link2sd generated did not work. I know it should, and it may on some phones... but far be from me to make assumptions :-) Would love to hear that this works on other Wildfire S phones, in which case I'd even go back and retry it, see if I screwed up some other way

Rich
[HTC Wildfire S] theq86:
I can tell you it works, for I have just installed Link2SD.

I made a 2nd partition just like showed in OP.

primary part, ext2, about an gig

then started link2sd, chose ext2 as filesystem and rebooted phone.

voila!
[HTC Wildfire S] d33ps1x:
In link2sd program try /Menu Click/More/Recreate mount scripts
[HTC Wildfire S] rkleinhenz:
Guess I'm intriqued enough to reformat and try again (partitioning in phone). Will let you know. :)
[HTC Wildfire S] rkleinhenz:
Did not work on partition created while mounted as disk drive inside phone. Worked fine after I releted and recreated partition on SD-reader

Seems like it works on some phones - mine's not one of them! I assume yours is an A510e? Mine is A510c. I think d33ps1x's point is good: his OP works, other techniques MAY work
[HTC Wildfire S] Royal King:
I'm using

[Kernel] Euro 2.3.5 GB OverClock 806 MHz Kernel [6,1,2012]

Will it work with it? :/
[HTC Wildfire S] d33ps1x:
Yes
[HTC Wildfire S] Royal King:
Okay, thanks. One thing I don't understand is:

I've one application moved to SD card. Suppose, Dolphin browser.

I opened Link2SD and clicked on Create Link. What it did was, move the file to my internal memory :S

Why so?!? I don't understand what's going on o.o
[HTC Wildfire S] theq86:
What it did, when you created a link is:

* move the app to sd-card's second partition

* create symlinks to the app's file on internal memory

The app is in fact on sd card. It is only linked to the internal storage.

the links take only some bytes of space.

So it just looks like the app would be on internal, but it isn't
[HTC Wildfire S] Royal King:
Oh but it decreased my internal memory :S :|

Why so :/
[HTC Wildfire S] willmcquillin:
Sorry mate I'll do that next time :)

I'm using this ROM [ROM]m1ndh4x8r GB2.3.5-EU|Stock SenseUI|OCKernel|Apps2SD|Premium Features[1/7/2012]

However I have found out that it may have just been the Ext used as when using Ext4 for MiniPartion Tool it didn't work but using ClockworkRecovery Partion it worked as Ext3. This is all well and good but all other user seem to be doing fine on Ext4 so yeah haha :)

Plus this will be an awkward chat as you are 5 hours behind me :p
[HTC Wildfire S] uga6:
I get an error when resizing the partition... any clue?
[HTC Wildfire S] theq86:
do you use phone in disk mode or card reader?

you will need card reader as stated in OP
[HTC Wildfire S] uga6:
Yes, I am using a card reader...
[HTC Wildfire S] theq86:
well, if resizing does not work:

* backup all data on sd

* fully delete all sd partitions

* create new fat32 partition, leave about 1 gig memory left

* create new link2sd partition
[HTC Wildfire S] uga6:
Very pragmatic! thanks =)
[HTC Wildfire S] Royal King:
I don't understand what's up with my Link2SD.. :(

Help me!! It is decreasing my internal memory instead of moving my files to SD card :S
[HTC Wildfire S] rkleinhenz:
Did you reboot after you created a link?
[HTC Wildfire S] baaabovka:
have the same problem. using cm7.2 and 2gb ext4 partition.

looks like link2sd copy files to sd, but do not remove them from internal memory ,(

any suggestions?
[HTC Wildfire S] *se-nsei.:
How do I increase the size of my existing partition?
[HTC Wildfire S] baaabovka:
try to decrease your fat32 partition, then u will have some unalocated free space. than move/resize your extX partition and increase the size.

it should work. i did similar thing with my flashdisk.
[HTC Wildfire S] Royal King:
No, I didn't!!

Should I?
[HTC Wildfire S] baaabovka:
step 2, part 6:

Follow the directions to reboot your phone

so do it.
[HTC Wildfire S] d33ps1x:
Perhaps you can resize an Ext partition from Linux but not from Minitools. All you can do is move it around.

A use for this would be if you decided you wanted a swap partition.

1/ Resize Partition 1 FAT32 to create 512 MB of free space

2/ Move the Partition 2 Ext4 up against the FAT32 partition

3/ Create a Linux swap partition out of the unallocated free space at the end of the drive.
[HTC Wildfire S] *se-nsei.:
oh right. well sounds long so I think this'll do.

Say, how come my internal memory is still decreasing? I mean it's slower but I've now got only like 50mb left.
[HTC Wildfire S] Nightshadow931:
Anyway, should my internal memory increasy for the size of second partition I created ?
[HTC Wildfire S] d33ps1x:
Click on your filter and choose Internal. See if there are apps there that you can move to Linked. Move them en masse by /Menu click/Multi Select/Select apps to move then /Menu Click/Actions/Create Link

Also remember to turn on /Menu click/Settings/Auto Link for new installs to automatically go to the second partition.
[HTC Wildfire S] d33ps1x:
Separate storage space between internal and SD2

No. Unlike Data2SD or Data2Whatever, Link2SD keeps the memory spaces separate and doesn't trick the OS into thinking you have just one big memory space internally.

This has it's benefits as mentioned in the tutorial...

In Link2SD go to /Menuclick/Storage to view your storage usage internally, and on SD 1 and SD 2

PS Don't wonder why I have 275 MB of internal storage. That's actual internal real data partition storage but it's another tutorial for another day. :cool:
[HTC Wildfire S] baaabovka:
linking is working fine, but when i go to settings-applications-manage apllications i see that all linked apps are still there (pics are here) and internal memory is still decreasing.
[HTC Wildfire S] Nightshadow931:
Yep, same here.
[HTC Wildfire S] d33ps1x:
You follow my tip on moving preinstalled apps from internal to linked status?
[HTC Wildfire S] d33ps1x:
Oh!

It will still show them there. Remember it places a link in the /data/apps and /data/dalvikcache folders that links to the files on the external.

Like a shortcut. Look at the details inside Link2sd instead. You will see the link path.
[HTC Wildfire S] Nightshadow931:
Khmz.

Something is wrong here. :P

So I had ~63mb free on my internal memory, then I installed talking tom, I created link & moved it to sdcard(under Talking Tom 2 in Link2SD there is Linked -> SD Card ).

But, now my internal memory is ~47mb.
[HTC Wildfire S] baaabovka:
yop, but size of my internal memory is sill decreasing.

for example: i have 90mb free on internal memory. install an app (size is 5mb). than i will have 85mb free. than link this app to external partition. in the end the app is linked (Linked -> SD Card), but there is still 85mb free on internal memory. with another app its the same. still decreasing.

am i missing something? or am i dummy :(

this is what i am talking about! but i only created the link. not moved!
[HTC Wildfire S] d33ps1x:
Don't move to SD card...Create link.

Moving to SD is the native Apps2SD move which only moves PART of the program, none of the Dalvik cache and none of the dependant libraries to the first FAT32 partition, not the second Ext2 partition.

Gotta run. Lunch date with a girl..
[HTC Wildfire S] Royal King:
Umm, yeah I also restarted my phone. I'll try to move the application first to internal memory and then try linking it. Will let ya know the result asap.
[HTC Wildfire S] d33ps1x:
Also, under /Menu Click/More there is

Relink Library files

Link Dalvik Cache Files

Clean Up 2nd Partition

Clean up the Dalvik Cache

Clear all app caches.

Run them all when you are done linking files to ensure everything is linked and tidy.

Verify your new space with /Menu Click/Storage
[HTC Wildfire S] Nightshadow931:
Isn't linking app autimatically moving it to sd card ?

When I click on create link, I get
[HTC Wildfire S] d33ps1x:
Have to be at Coffee in 5 min! lalalalala :p

Will help you out later mate. Check out the original thread in the meantime for help on usage.
[HTC Wildfire S] rkleinhenz:
Yes, that's right. The program/data/lib files are moved to the 2nd SD partition, and links are put in their place. The analogy with a shortcut in windows is spot on.

Check it out. Look at storage space from link2sd menu, write it down! Remove links for an app, preferrably a large one like angry birds that everyone seems to have (or some other large one). Check storage again. Create link again. Mine's pretty consistent!
[HTC Wildfire S] Royal King:
Umm are you sure that won't damage my files? :| I've linked my files successfully. I don't wish to lose data :/

Also, I'm using a 16 gig memory card and I've made only a gig partition. I'd like to increase its space. Is it possible?!
[HTC Wildfire S] d33ps1x:
You will have to move all the apps back to the internal memory space to resize your Ext partition. It requires you delete it, resize your FAT32 to make more space, recreate a larger Ext partition and rebuild mount scripts, then move apps back over again.

I wouldn't sweat it. 1 gig is really a decent size unless you are expecting to load over 200 apps or something.
[HTC Wildfire S] baaabovka:
guys, i found something!

DO NOT CHECK YOUR INTERNAL MEMORY, "forget it"!!! if you successfully linked your apps (Linked -> SD Card) it might decrease your internal memory, BUT, its FAKE DECREASE!!! i really do not know how is that possible or how is that working!

i installed some apps, linked them and int. memory rapidly decreased. after that i installed another apps, linked them and suddenly int. memory increased itself to correct free size.

d33ps1x: maybe u can add this fake problem to troubleshooting at your first post.
[HTC Wildfire S] d33ps1x:
It just takes a while to show yah. It eventually evens out.

Thanks for the suggestion.
[HTC Wildfire S] rkleinhenz:
I've looked for that tip... sorry I could not find it. None of the internal apps appear to be movable - unless there's a trick?

---------- Post added at 06:37 PM ---------- Previous post was at 06:30 PM ----------

Standing by with bated breath :)

Rich
[HTC Wildfire S] d33ps1x:
If you are talking System apps then no. They are on the /System partition and stay there. No need to move them.
[HTC Wildfire S] rkleinhenz:
Right. So can you give me an example of pre-installed non-system apps? Stupid twitter e.g. is not movable. I have a stock ROM, have 12 movable apps. I have linked 10 of these, leaving titanium backup and aNdClip on the internal partition. All apps have everything movable linked, davlik, libs and apks. Yes I have only 37MB left. Somehow the math is not right... nAdClip is 747 kB, titanium backup 4.8 MB. Trying to understand where the rest went... I think I started with something like 90-100 MB. Is there some app that analyzes storages for a complete volume?
[HTC Wildfire S] d33ps1x:
You've got me man. Short of looking at your phone...Time to jump to the official support thread. This is just a tutorial. on how to prep your SD card that has gotten way out of control and taken up my entire weekend. :p

Did you try the cleanup options in Link2SD?
[HTC Wildfire S] rkleinhenz:
Yup, sure. And you're right - this is getting OT here :-) I may just start over, phone is new enough, and everything is backed-up. Start over, install/link step by step, see where I end up
[HTC Wildfire S] d33ps1x:
Before you install any apps make sure you turn on autolink in the link2sd settings.

Nice thing...Even if you restore from a titanium backup, it will start autolinking apps during the restore process!
[HTC Wildfire S] drsjlazar:
Thanks for the tutorial.

One question. You said that ext4 is preferable to ext2. Would you care to expand on that? I have perused through another thread here on XDA and it seems inconclusive. Do you have more info?

In my understanding, ext4 is a journaling FS, and this would make sense to have in a system with conventional hard disks. What I mean is... Journaling helps the FS recover from errors, power outages, etc... by recording all changes... thereby using more disk space.

But on phones, the advantage of a journaling FS is not as important, especially in this scenario in which should a file be corrupted it can simply be downloaded again from the market. But the disadvantages seem more important. Journaling reduces write speed mostly, occupies space (we're doing all this because we don't have enough space to start with) and means more writes to the SD card which reduces its longevity.

What are your thoughts or arguments for ext4? I think ext2 is the better option, but if we must have a more advanced/modern FS I would think BTRFS would fit the bill better (disregarding kernel support).
[HTC Wildfire S] d33ps1x:
BTRFS isn't going to be on these things anytime soon. :p We can dream though.

I prefer the data protection through journalling that it offers, the lack of fragmentation, and faster boot times.

In real world scenarios?

I have 2 Wildfire S's in the house, one with an Ext2 partition and one with an Ext4.

As far as CPU usage, battery usage, and slow file system writes, I can assure you you wouldn't be able to tell the difference although I don't doubt there is, I think it's fairly marginal.

I think I will wear out my phone before my SD card. lol

Interesting clip from the thread in support of Ext4 for lower fragmentation and less actual FS writes that 2 or 3

I prefer safer over faster in the long run.

Interesting thread though. I will add it into the tutorial. Thanks.

DS
[HTC Wildfire S] dudewithhtc:
hi i have a question,i have 2gb card(default received from htc).I can't buy higher gb card right now,so If i partition my sd card(2gb) now and later increase it by buying new one of 8/16 gb,and do the same process of partition and replace it with old(2gb). Can i do so,is there any problem, or should i buy new one before making parting and using link2sd.

" I am asking this cause if i part 2gb sd now and start using link2sd then some app will get store in ext,so if i use new one what i need to do ."

Thanks in advance.

Noob here.
[HTC Wildfire S] d33ps1x:
No worries. There are disk copy tools on Hiren's Boot CD that allow you to copy from one SD to the other all your partitions correctly using RAW mode.

You then go into Minitool Partition Wizard Pro and move the Ext partition to the end of the drive and resize your FAT32 from 1 GB to 7 or 15 or 31 or whatever.

Regards,

DS
[HTC Wildfire S] Portak:
thank you, it help me
[HTC Wildfire S] dudewithhtc:
so you mean that i have to make clone of 1st sd card and move it to whatever gb card i buy later. Is there any free tool to do so.minitool pro cost around $30.

already pressed "thanks"
[HTC Wildfire S] danielstar13:
I don't get it.. Should I link apps or move? Sorry~
[HTC Wildfire S] d33ps1x:
As I said. Hiren's boot cd is free. Use clonedisk on there. ;)
[HTC Wildfire S] d33ps1x:
Create links to the apps.
[HTC Wildfire S] willmcquillin:
Why when I partitioned my SD when I went to link2sd the app didn't even notcie the second partion at any of the Ext's?
[HTC Wildfire S] danielstar13:
Then you didn't partition correctly. Try re-partitioning.
[HTC Wildfire S] the Doctor:
My take on the strategy issue is slightly different. I don’t care if the phone takes a little longer to boot as long as apps that I regularly use come up quickly. After all, you only boot up once a day (most of us less than that unless we’re tinkering) but certain apps get run several times a day (like Stickman Golf :)).

So I’d link launchers, widgets and background processes to free up space for things I use often that don’t always stay running.

But I suspect that d33ps1x reboots his phone more often than most of us!
[HTC Wildfire S] d33ps1x:
Testing...It'll take it out of you *shrugs ;)
[HTC Wildfire S] tsalta:
Hello guys nice tut but i have a question.

So im with the latest EU stock ROM 2.3.5 in my case mean that for me the better option is Ext2 right?

After i read careful the tut what i wana ask you.

Now im with the stock 2GB card and is small for me so i will go to buy new one 16GB class 10 and then will make the procedure i think 2 GB for me are enought for apps etc. and to be able to use the other for musiv videos and my own stuffs.

So what i wana ask you i will do this with a brand new card but right now im with stock rom so later when i decide to flash a costum rom that support Ext4 what i will need to do? can i RE partition the same card ?

I read that once you choice the size of the partition you cannot change it this is why will think and make desigion how much GB to have there permanently, but can i re make it from Ext2 to Ext4 or the other questions if i can`t make it or there is not a problem

Do i will be able to use the same CARD already made with a new costum ROM

Because if not then do not worth to buy a bran new 16GB card because i will need a new one when i flash a custum ROM.

I already read and chek out some of the Roms are already make with Link2Sd and ext4 so im worried that maybe the card that i will prepare now ext2 will not work with Rom of these?

If is right then better is to buy 2 Cards 8 GB each and the one to use for my Stock the Other for Custums ROMs

Thank you in advance:)

P.S BTW very nice TUT i already did it on a bran new Toshiba 4GB class 4 and now everything woork perfect i have 1GB partition for programs and etc and 3 GB for Music and whatever i want

Also this help me to free up my internal memory and i only install really nessacery apps there like ROOT explorer and SuperUser for more speed but anyway right now with all my installed apps and linked to the Ext2

I have 90 MB free Internal Memory LOL

Befor to do this trick with the same apps installed i have avalible only 15 MB of free space:)

Also what i saw is that is complete diferent from befor when you are able to move the apps manual to your Sd card with programs like App2SD the main diference is that i don`t know why But its super super fast and when i rebot my device and all the programs are linked i don`t wait they to load etc they are loaded imideately like they are installed on the internal memory itself :)

Also right now maybe because of so much free internal memory im feeling the whole device alot more faster when im opening app or just playing with the Marvelc.

Thanks.
[HTC Wildfire S] sourabh1510:
thanks a lot for the tutorial!!! :)

its working good.
[HTC Wildfire S] SpyMike:
Can someone explain me the differences between link2sd and data2sd

And in addition which one is better in regard with performance and overall function of the phone (speed, responsivness etc.)

thanks in advance
[HTC Wildfire S] tsalta:
I never try app2sd but now im with link2sd and i must to say that is Super fast

Always the apps that are linked in the SD are there i dont need to wait they to load at all after rebot i can use imideately all apps i want.

So with few words app2sd CANt be faster than Link2SD because link2SD work for me like the apps are instaled on the device memory and on the same time the whole device is fast.

Also in the 1st post is explained WHY link2SD is better than App2SD
[HTC Wildfire S] SpyMike:
Sorry but i think you missunderstood i have written what is the differrences between link2sd and data2sd (not app2sd)
[HTC Wildfire S] tsalta:
Yes i was talking for the same just my mistake i wrote app2sd
[HTC Wildfire S] sourabh1510:
every app you install on your phone can have 4 modules:

app

data

dalvik cache

library

app2sd moves only the app part, the .apk file to sd

link2sd moves the app, dalvik cache and the library to sd

I haven't used data2sd but I think it moves the data part to the sd

If you go to your phone settings>applications>manage applications and then click on any app, say "Maps", it will show 3 parts under "storage":

Total, application and data. data2sd moves the data part to sd card.

for some apps, the data part is too small where as for others like "contact storage", its grows large with time.

this is why your internal memory keeps decreasing even if you link the application using link2sd (it doesnt move the data).

so i guess, you can use these tools- app2sd, data2sd and link2sd in combination to get the most out of your internal storage.

d33ps1x, do correct me if im wrong.
[HTC Wildfire S] Pyloge:
Hey guys, i already create ext4,linux swap and free space but this is my first time and i think i was wrong.

I create more space for ext4 and linux swap -my sd card stock 2 gb- and i can't transfer many music in my arcive because i set up low capacity for free space.

If i format my sd card again all of my apps be junk.

Is there a solution?
[HTC Wildfire S] sourabh1510:
Ur app data might get wiped. Move all the apps to SD card and try to do it via partitioning tool
[HTC Wildfire S] alexlarisa:
after doing exactly as tut says i got sd card unexpected removed then i restart my phone and it doesnt read the card i remove it and i insert again the phone reads the card but now when i install an app it says : Failed to create_link.com.rovio.angrybirds:cannot create /data/sdext2/data/com.rovio.angrybirds/lib/libangrybirds.so:read-only file system
[HTC Wildfire S] bilke82:
I followed every step and even tried another card but I always get Error Code 16 and Disc I/O Error. Does anyone has a clue why? :confused:
[HTC Wildfire S] yawxir:
Appreciated!!! :)
[HTC Wildfire S] themusj:
Going to a bigger SDCard, then but some tips please.

I tried this tonight and like has been shared, it cannot be done. I setup my 2gig SD card and being a novice with link2sd, made the partitions the same: not realizing the first partition should be the largest.

Anyway, I'll go out and buy an 8 gig SD card tomorrow. But what is the method for going from my current 2 gig SD card to 8 gig? If I put the new 8 gig card in the phone to format it, will it choke because the apps are not there. If not, I assume I format it, then take it out and use mini-tool again. But how to I migrate my apps back to it. Can I just put them on my pc from the 2 gig card, and drag them over to the 8 gig card. Will link2SD have any problems doing that?

A link or clear steps would be appreciated.

Tom