yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Charmacas:
Hallo everyone!

I am using Tytung ICS 2.1 with the LINK2SD Script. It works quite nice. But now I want to upgrade to version 2.2. But after flashing it I got not enough space anymore. Before I got about 64 MB free and the rest remains on the sd ext partition as it should, but after it doesn't work. I tried to install Mount2SD and the other script which is mentioned on Page 3 of this thread but nothing works. Does anyone have an advice how to upgrade safely?

Gesendet von meinem NexusHD2 mit Tapatalk 2
[HD2 Android Q&A, Help & Troubleshooting and Genera] LordDeath:
Personally I have stopped to try out ICS + A2SD on my device. Nothing seems to work right, while CM7+A2SD still runs great.

I can live with that. :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
chrome

@lorddeath

"mounts2sd" worked perfectly in earlier rom-versions before tytungs rom v2.2

google chrome needs about 25 mb app-space, 25 mb data-space and about 6 mb cache-space..... all together about 56 mb internal flash-memory on my hd2.

without "mounts2sd" it wasn' t possible to run chrome... i had to deinstall the other apps on my phone in order to get enough space for the browser.

with "mounts2sd", a 1gb ext4-partition and 400 mb swap-partition on my sd-card (all of it initialized with "mounts2sd" before booting android - no apps like "swapper2" or "link2sd" in memory needed), i was able to run chrome (app, cache and data ---> ext4 AND 400 mb swap-space) and install much more apps.

i hope that tytung will fix that "init.rc" and "sysinit"-problem, so that i can run "mounts2s" once more.

greetings
[HD2 Android Q&A, Help & Troubleshooting and Genera] mperezm77:
+1

Thanks!

Enviado desde mi HTC HD2 usando Tapatalk
[HD2 Android Q&A, Help & Troubleshooting and Genera] Charmacas:
Does anyone have an idea? I would like to upgrade to 2.2 but I can't because it says I do not have enough internal space. :-(

Gesendet von meinem NexusHD2 mit Tapatalk 2
[HD2 Android Q&A, Help & Troubleshooting and Genera] LordDeath:
I tried Mount2SD with tytung's v2.1 build:

For one day it worked great but the next morning my alarm failed to ring. Then I noticed that every app I was trying to start just crashed.

Imho this was already too much for me so I restored my CM7 nandroid backup and everything is fine again.

---------- Post added at 07:50 PM ---------- Previous post was at 07:42 PM ----------

You can't upgrade with Link2SD. The app adds the scripts while android is running and for upgrading your device you would need to reapply these scripts right after flashing the newest build in recovery.

In your place I would ask the Link2SD developer if he could supply a flashable zip-file which contains the same scripts as his android app.

Alternatively you could use apps like Titanium Backup to move to the newer releases. Of course this is not as comfortable as simple upgrading.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Charmacas:
Now I try to create the ROM Zip with the LINK2SD script inside. Hopefully it will work. We'll see...

Gesendet von meinem NexusHD2 mit Tapatalk 2
[HD2 Android Q&A, Help & Troubleshooting and Genera] Charmacas:
Thanks for the answer. I knew that already but it is always good to see another way to do it to prove his own steps.

Not enough memory does mean that I do not have enough internal memory after upgrading.

Gesendet von meinem NexusHD2 mit Tapatalk 2
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dala11:
As I already mentioned in the main thread, Mount2SD isn't working anymore!

While we can use link2sd etc, the problems is the dalvik-cache... it's located on the /data partition but so is the cache... Mount2SD allows moving these to the sd-ext partition.. so the /data partition tends to fill-up, which slows down the device and you cannot download stuff from the market anymore..

Please, if possible restore the working sys init.

Here is quote from other topic:
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
mounts2sd und init.d

@dala11

I am a Fan of Mounts2sd too.

But I think we have bad luck.

Tytung answered to this post in the Main-Thread:

Originally Posted by mperezm77

Hello Tytung,

If you have some time, could you have a look art this http://xdaforums.com/show....php?t=1671670

Could it help with some issues we are experiencing with some a2sd scripts?

Enviado desde mi HTC HD2 usando Tapatalk

Tytung answered:

I don't care about any a2sd.

---------- Post added at 08:28 PM ---------- Previous post was at 08:17 PM ----------

:(
[HD2 Android Q&A, Help & Troubleshooting and Genera] Charmacas:
40ad2sdx-a2Recovery.zip

works quite well here. Only problem is that there seems to be an additional a2sd partition which is only 250 MB. So I got a lot of "internal space" but the one partition runs out of space.

Do someone have a solution for this?

Gesendet von meinem NexusHD2 mit Tapatalk 2
[HD2 Android Q&A, Help & Troubleshooting and Genera] M4rt1n94:
Hi guys

Im new here at xda-developers.

i followed this rom since V1.2 and now i got a problem..

when I flash the "NexusHD2-ICS-4.0.4-CM9-HWA V2.2" rom everithing works find but when I flash "40ad2sdx-a2Recovery.zip" my phone wont boot!

I see the HTC screen and than the bootanimation but I the phone dont geht started :(

sorry for my bad englisch .. im 17

Im from germany so if somebody could explain it in german i would be very thankful :)

@twoxx: I tried it 3 time like you explained it but I dont made it ..
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
If someone can try with mounts2sd (just move apps, don't setup the phone)

At reboot, what is the output of:

adb shell mount

adb shell df

?
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
ics v2.2 and 40ad2sdx-a2Recovery.zip

@martin94

My guide was for installing the link2sd-app which ins different to 40ad2sdx-a2Recovery.zip"

Meine Anleitung ist für das installieren der link2sd-app gedacht.

Wenn du 40ad2sdx-a2Recovery.zip flashen willst musst du anders vorgehen.

Full New install (komplette Neuinstallation):

1. Format Sd-card with fat32 and ext Partition

Formatiere die sd-karte mit der fat32 und der ext Partition

2. Put ics v.2.2. Rom and 40ad2sdx-a2Recovery.zip Don fat32 partiton

Speichere das Rom und 40ad2sdx-a2Recovery.zip auf der fat32 Partition

3. Wipe everything (mach einen full wipe ) with clockworkmod recovery

4. Flash the Rom

5. Boot up android... starte android

6. Don Not Setup the phone just wait a Minute when "welcome screen" apears

Nach dem Start nicht mit den System Einstellungen beginnen....einfach das Handy eine Minute im startbildschirm belassen

7. Turn the phone offen (Handy trotz startbildschirm ausschalten)

8. Flash 40ad2sdx-a2Recovery.zip

9. Fix permissions

10. Reboot phone

11. Start setting UP your phone. Telefoneistellungen im startbildschrim vornehmen.

12. Jetzt müsste dein interner Speicher die grösse deiner ext Partition haben
[HD2 Android Q&A, Help & Troubleshooting and Genera] M4rt1n94:
@twoxx: thank you very much! i followed your instruction and everything is just working fine :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
[ deleted ] Wrong thread, sorry...
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
@martin94

Gern geschehen :) (you are welcome)
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
@charmacas - "250 mb - a2sd-partition"

Hi Charmacas,

i think the 250mb - a2sd-partition is the real internal memory.

I mean that 40ad2sdx-a2Recovery mounts your ext-partition on sd-card as internal memory and

the real internal memory of your hd2 as "sd-ext" - i would name it "cross-mount" :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] nigi73:
Somewhere tytung helped us with advice:

"another little tweak for u ..next time when u update the rom..

just copy the Link2sd Script which must be present in /System/etc/init.d/ named as "11link2sd" ,

copy the script in new update ROM zip in mentioned path & update ..

now you wont even have to recreate the script

& all sd-ext apps will work from start"

I did not tried it, preferred clean install, then google restored till run out of space, then recreated scripts in link2sd, then restored linking rest and linked already installed apps.

All seems to work ok.

Hope that helps.

Sorry for my English.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Charmacas:
I read and tried this. But it always said I do not have enough internal space. So I tried the a2sd script and that worked so far. But it seems like also this script is using the internal space partly. A script that moves "everything" to sd card would be nice. ;-)

Gesendet von meinem NexusHD2 mit Tapatalk 2
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
maybe interesting

Hi charmacas,

"Data2sd" is moving everything to sd-card. You can download it at first post of this thread, but i am not sure if it works with ics v2.2.

40a2sd-a2.....recovery is only moving those parts of "third-party"-apps to sd-card.

Apps that are integrated into system will stay at internal memory. So one solution for you might be if you "dedicate" some system-apps as"non-system" so that your a2sd-script will move them on sd-card.

I put an attachement to this post in which ist a discription of the different functions of 3 versions of "a2sd"-scripts - maybe it helps someone
[HD2 Android Q&A, Help & Troubleshooting and Genera] one2one69:
Excellent thanks.
[HD2 Android Q&A, Help & Troubleshooting and Genera] versacci:
9

Why the camera is so bad ???:confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
????

This is a Thread to discuss "a2sd"-topics....
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
I realize you are trying to be helpful here.

Perhaps you should have mentioned that the image (original name was "amarullz-sdext.jpg") came from

Amarullz' thread

where there is a lot more info available on this topic for those who want to read / learn more.

It may or may not work for you but click the "Alex-V" link in my signature below. That script, when used correctly, will move apps, data and dalvik to sd-ext. There are several possible solutions available today - you simply need to find the one you are comfortable with.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Zorua:
Okay guys, I've finally managed to make a2sd work without any problems whatsoever. Here's a short guide I prepared.

Before starting with this, I would recommend that you begin from scratch with a Task 29.

1) First of all, partition your SD card using your recovery. Choose Swap size 0 and use a ext4/ext3 partition with a size of your preference. I used a Sandisk class 4 sd with a 841mb ext4 partition. This will format your SD so backup everything first.

2) Now, the apps2sd script to use can be a big problem as there are loads of them everywhere. I personally used this one and it worked: http://xdaforums.com/showpost.php?p=21545411&postcount=1515

3) Okay now, copy that script along with the latest nexus hd2 rom to your sd card.

4) Go to your recovery and clear data, cache, dalvik(from advanced settings) and flash the rom. Boot into the rom and let it stay for like a minute. Don't do anything to it during this period.

5) Once again, boot into your recovery. This time just install the a2sd script _WITHOUT_ fixing permissions, clearing cache etc.

6) Boot into your rom, and boot back into your recovery without touching the rom after a minute. Finally, fix permissions, clear cache and dalvik cache.

You can now go to your rom and continue setting it up. It's a good idea to wipe cache, dalvik and to fix permissions after you've finished setting it up and all apps have been downloaded. Hope this works well. Credits for the script go to the original dev.
[HD2 Android Q&A, Help & Troubleshooting and Genera] adityameena26:
tried every instruction and every script from a2sd for ics threads..but after doing everythn\ing..when i restore my titanium backup files..every activity in system (such as acore..media..messeging..nd all that) gives error messeges..like 'process .acore has been stopped unexpectedly'...needed help..:(
[HD2 Android Q&A, Help & Troubleshooting and Genera] svernhendrickx:
move dalvik cache

I'm using Link2SD to move my apps to the ext3-partition on my SD-card (partitioned with recovery 5.0.2.6). But there is no option to move the Dalvik -Cache as well.

Earlier when I was running Android GB 2.3.7 (MIUI), I used Darktremor script and A2SDGUI sotware to do this.

Is there a similar way for Android ICS (CM9)?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Zorua:
Go to your recovery -> wipe cache, wipe dalvik cache and then fix permissions.

Use the instructions in my previous post on this page.
[HD2 Android Q&A, Help & Troubleshooting and Genera] thomasoeli:
Hello,

your instructions work fine, but the sound is still low after each restart, so that a have to fix the permission again.

Is there script at execute the permission at each restart? Without me going to the CWM?

Thanks in advance.

Thomas
[HD2 Android Q&A, Help & Troubleshooting and Genera] wudangnic:
+1. Same happen here!
[HD2 Android Q&A, Help & Troubleshooting and Genera] yoshimitsuHD2:
i had it too...

after wiping cache, dalvik und fixing permissions the sound volume bug is there after booting up your hd2.

you had to reboot into CWR and fix the permissions again after wiping and the bug is away.

to-do:

1. setting up your phone

2. boot into CWR

3. wipe cache and dalvik

4. fix permissions

5. boot up your phone, wait a few minutes

6. reboot into CWR

7. fix permissions again

8. boot up your phone and everything will be fine ;)

i have only one "problem"

with the script the phone seems to be laggy very often. with Link2SD it was much smoother. times to load apps are sometimes very high.
[HD2 Android Q&A, Help & Troubleshooting and Genera] MeySo:
First, a big thank you tytung, i REALLY love this one! :)

Anyways, I have a little problem I can't solve. After a lot of frustration with those different a2sd-scripts (unfortunately link2sd won't work properly) I got it working now (after 5th reinstall). What I did:

- task29

- partitioned sd with gparted (fat32 and 1gb ext4)

- installed magldr and cwm recovery

- installed the rom

- installed Amarullz a2sd script

- fixed permissions

Everything worked fine now. It ran very fast and stable, no fc's, Google Play worked and so on.

While getting my phone prepared for daily use again I received a call and noticed the low sound issue. So I fixed permissions again and low sound issue was gone.

BUT: After fixing permissions my install seems to be bricked again, fc's now and then, Play won't work and it became a little laggy.

I really don't get it :confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] MeySo:
Well, finally got it! :-) If theres someone else with same issues, here's what I did:

I read somewhere that i shall mount all partitions before wiping caches and fixing permissions and that worked for me finally! Now runs smooth, stable, loud :D, with nearly 1GB "internal memory" and everything else works too (like play and so on)!

Anyways, thanks again! :-)
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
Moved from main thread

I have never flashed the script. I always add it to the ROM's zip file.

I always have 3 zip files for the ROM:

1 - The original I downloaded (which archive)

2 - A slightly modified one where I remove items from it which I do not use

3 - The one from step 2 with the a2sd script added (I simply use WinZip and add it to the ROM's zip file in the /system/etc/init.d/ folder)

Normally, since I almost always do updates, I wipe dalvik and flash zip #3.

For a totally clean install (I honestly don't recall what I did the very first time or what I would do on a clean install - it has been a long time since I have done that) I would probably consider doing the initial install in a similar way you did but since you already have the first three steps I would just do a factory reset and go to step 4 without installing the script. I would probably install zip #2 from above, do the reset as you do in your step 6 and install my #3 zip in entirety.

I never had boot loops.

I never had low volume problems.

On a

rare

occasion I have had an app FC after a ROM update. I uninstall it and reinstall it and all is fine again.

I use a 3 gig ext4 partition for sd-ext with 1.3 gig currently in use (by apps, data and dalvik)

I realize this method may not work for everyone, every time.

It has worked for me for quite a long time now.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dala11:
just a quick heads-up: since V2.3 Mount2SD works again.

I recommend using the apps and the dalvik cache move.
[HD2 Android Q&A, Help & Troubleshooting and Genera] marcopolo:
Worked very well = No sound bug anymore

DAMN!!! I am limited to 8 thanks per day :(:(

Thanks a ton buddy, your post has helped me fix this problem.

Even I keep the main file as a backup (archive) before modifying anything (I do lot of customizations :p) but never added this script in the /system/etc/init.d/ but link2SD (once when someone suggested).

This time I added this script and did a fresh install by wiping cache, partition and install zip and Voila, no sound bug anymore +extra internal memory for free.

Thanks a ton for helping, there are so many misleading post by other users which made me confused.

P.S. and little Off Topic: I have noticed many new message icons while posting this post, I never seen them before. Is that limited to this Forum or all?
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
Hey, I couldn't tell you WHY it works but it seems to.. :)

Message icons? Don't know. I mostly of the time I am in Tapatalk or xda app so am not sure...

---

When you step on the brakes your life is in your foot's hands .. (via XDA app)
[HD2 Android Q&A, Help & Troubleshooting and Genera] marcopolo:
Never mind, I noticed the same icons while posting in other threads. Thanks for your comeback:-)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Zonnekap:
I use 40ad2sdx-a2Recovery.

When I look in the zip file, is see a couple of folders and files in them.In the zip are 2 folders:

META-INF : /com / google / android / and the 2 files: update-binary and updater-script

System. In system there are sub folders: etc / init.d / and there is a file 40ad2sdx

Which file(s) should I put into /system/etc/init.d/ ?

I like to understand how this works, because I like your method
[HD2 Android Q&A, Help & Troubleshooting and Genera] geenyous:
I don't think that's the issue, it says in the zip a2...

Btw, RC02 is no longer there, I will remove the link to that script...

Why did you use a script when all was good before?

I hope you made a nandroid backup...

Maybe try fixing permissions and reboot?
[HD2 Android Q&A, Help & Troubleshooting and Genera] shawn1968:
I used A2SD (the second script provided in the first post) as proposed. I installed it following the instructions step by step. I also did it on a fresh install (Task 29, wipe everything and all).

My sd card is a Sony 8Gb Class 4, that i formatted to FAT32 using GParted.

All I can say after a couple of hours of using the phone, is that the phone is rendered useless. Very slow, FC all the time, apps not working.

I went back a step, redone everything from the start but skipping the A2SD procedure.

Now I have a perfectly working very fast phone with 20+ apps installed and 94 Mb of Memory left. Sweet!!!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] uzi2:
Oh, I can see the confusion now. The script I am using is based on Alpha01 (40a2sd) - yours is Alpha02

Amaruillz' RC02 is still linked within his thread, you may care to put it back as I'm sure people are using it.

I take it your questions were meant for someone else :confused::

---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------

Did you actually put an EXT4 partition on the card? :confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] shawn1968:
Dahhhhh.... Ofcourse I did (1024 Mbs). How else could the A2SD script work???

And I did it through CWM. And it was EXT3 not EXT4

I even checked the EXT3 partition with GParted to see if the apps were installed there. And they were...
[HD2 Android Q&A, Help & Troubleshooting and Genera] uzi2:
Sorry, it's just that you said "My sd card is a Sony 8Gb Class 4, that i formatted to FAT32 using GParted."

Ok - I know that the script I use has issues with EXT3, there are some suggested edits within amarullz' thread to overcome this, but it is much simpler to format as EXT4.
[HD2 Android Q&A, Help & Troubleshooting and Genera] shawn1968:
What you tell me, is that if I make an EXT4 partition and use A2SD all the lags will go away and the phone will work flawlessly???
[HD2 Android Q&A, Help & Troubleshooting and Genera] uzi2:
I don't know which a2sd you used. All I know is that I have no problems using the version referenced after my name in the FAQ

Here it is

Obviously, I can't guarantee that it will work flawlessly for you, but it serves me well.
[HD2 Android Q&A, Help & Troubleshooting and Genera] honki:
hello, i use the 40sdx script and all my apps are stored in my ext 3 Partition. but how i can move 1 single app back to my intern storage ? i want to move Google maps back to System cause on the ext its very laggy

regards

lolhonk
[HD2 Android Q&A, Help & Troubleshooting and Genera] shawn1968:
Thank you for the heads up. I will try it and I will let you know.
[HD2 Android Q&A, Help & Troubleshooting and Genera] marzinho:
Using your code made uninstalling system apps impossible, and caused hot reboots.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Peter65nl:
sudden problem with market

I am using this rom for two weeks now and I am very happy with it. Everything works as promised and I am particularly happy with battery life.

But since two days I can't downloads from the market start but never finish. Any Ideas?
[HD2 Android Q&A, Help & Troubleshooting and Genera] uzi2:
If it's the Amarullz script you are using, the answer is here in his thread.

If you think this is caused by your a2sd script, then please give details, but you may be in the wrong thread...
[HD2 Android Q&A, Help & Troubleshooting and Genera] geenyous:
Hmm, I don't have any issues with it at all, never had only one hot reboot!

How did you install the app and what file did you use as I have not linked any file in the post you quote. Be aware, you can't just copy the code in Notepad and then save as .txt and remove the file extension, you have to do it in a coding app. Best is you open an existing script and replace all the code (with a coding app). For more details on this, see the FAQ on page 3.

To uninstall system apps, I simply delete them form system/app with root explorer and then reboot.

Look at the FAQ, there might be something there for you.

Check if /sd-ext is full with the mentioned app (DiskUsage if I recall correctly).
[HD2 Android Q&A, Help & Troubleshooting and Genera] TheInVisibleGoD:
@geenyous Just a small correction again... If I understood you correctly, I think you are still confusing the method how a2sd scripts works, there are no such thing as sd-ext in internal, just a sd-ext in an ext partition (or another compatible FS) present in the sdcard. What you see in your /data partition is just a symlink!