yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Pekasala:
Install Link2SD

Hi,

i moved some applications manually (means one by one through the application manager) to my sd card. As i know this applications are moved to the .android_secure directory in the root of my sd card.

As i have read, Link2SD moves the applications to a second partition on the sd card which should be 'ext3' or 'ext4'.

Is Link2SD able to move the former 'manually' moved applications to the second partition? Or only applications which are originally stored in the phones memory?

Thanks in advance,
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
Moving dalvik-cache through Darktremor A2SD GUI leads to "low sound" bug.

Moving it manually with this tool works fine !

I just tested it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] thamlim:
I think it's fine, u can try it ;). If it doesn't work on "manually moved" app. just move it back to phone and do the Link2SD again. Cheers:D
[HD2 Android Q&A, Help & Troubleshooting and Genera] le_da:
Hello,

your link 4-a2sd-darktremor-dalvikmove.zip is version recovery install ?

and yes/no include any script a2sd or a2sdx ?

I'm script search A2SD, fonctional in NexusHD2-ICS-CM9 (install zip)

or aplication moved automatically the apps in ext3/ext4

Because the link2sd not move automatically the apps in ext3/ext4 :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
This script has to be used with Darktremor A2SD script. (I use the 2.7.5.3 beta04 version). This version of a2sd moves apps to sd-ext partition.

The script linked is CWM ready. You can put it on your SDCard and flash it through CWM.

You can also extract it from the zip file, push it through adb and do the right chmod command (it's the way I choose)

Instead of a simple link, it uses a "soft mount" (mount --bind)

When doing a df, we can see the following:

# df
Filesystem Size Used Free Blksize
/dev 201M 32K 201M 4096
/mnt/asec 201M 0K 201M 4096
/mnt/obb 201M 0K 201M 4096
/system 250M 169M 80M 4096
/data 155M 57M 98M 4096
/mnt/cache 5M 808K 4M 4096
/sd-ext 941M 175M 766M 4096
/data/dalvik-cache 941M 175M 766M 4096
/mnt/sdcard 6G 1G 4G 32768
/mnt/secure/asec 6G 1G 4G 32768

# ls -l
drwxrwxr-x system system 2012-05-11 16:29 anr
lrwxrwxrwx root root 2012-05-10 13:29 app -> /sd-ext/app
lrwxrwxrwx root root 2012-05-10 13:29 app-private -> /sd-ext/app-private
drwx------ system system 2012-05-11 00:42 backup
drwxrwx--- system cache 2012-05-11 13:38 cache
drwxrwx--x system system 2012-05-11 16:42 dalvik-cache
drwxrwx--x system system 2012-05-10 14:13 data
drwxr-x--- root log 2012-05-10 13:21 dontpanic
drwxrwxr-- drm drm 2012-05-10 13:36 drm
-rw-r--r-- root root 11359 2012-05-11 00:41 dta2sd.lg1
-rw-r--r-- root root 11326 2012-05-11 00:41 dta2sd.lg2
-rw-r--r-- root root 11326 2012-05-11 00:41 dta2sd.log
-rw-rw-rw- root root 381 2012-05-10 13:28 dtinstall.log
-rw-r--r-- root root 0 2012-05-10 13:29 fix_permissions.log
drwxrwx--x shell shell 2012-05-10 13:21 local
drwxrwx--- root root 2012-05-10 13:21 lost+found
drwxrwx--t system misc 2012-05-11 16:44 misc
drwx------ root root 2012-05-11 00:42 property
drwxrwx--x system system 2012-05-10 13:21 resource-cache
drwxrwxr-x system system 2012-05-11 16:42 system
drwxr-xr-x system system 2012-05-11 00:35 tombstones
drwxr-xr-x system system 2012-05-10 13:21 user
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dj-Gutz:
This is a rant post :D

I don't understand why it's so freaking hard to make a2sd work on hd2

I don't remember it was so hard on CM7 , and other devices ( N1 for example ) works from first rom boot

It's been 2 whole days that I'm messing with my phone trying to get this to work

Used every script I could find on this thread and experienced every single issue described :\

Had boot loops , stuck boot animation , com.android.phone FC , low volume bug , settings and data not saved after reboot

Tried fixing permissions , clear dalvik , move dalvik , clear cache , repartition & format sd ( 1gb ext4 now but tried ext3 before , volume name sd-ext ) , full wipe , clean install , move a2sd scripts manually to init.d / flashing through cwm

When sd-ext was recognized as internal - low volume happend

When tried to fix it - got FC , or apps and settings data wasn't saved and didn't survive reboot

Every time I fixed something - a different bug appeared which was very frustrating as you would imagine

Link2SD app worked till the market complained on insufficient space - so I had to use a script

How can it be so hard and inconsistent? It doesn't make any sense - every action lead to different results

I also followed every single "tutorial" on this thread to the teeth with no luck

I know I can't be helped based on this post ( right now I'm just trying to recover from a stuck boot animation without wiping data :\ )

I really think we need to figure out what's happening , since I don't remember ever being so mad on my HD2

The BLION Corp. seems to be heading to some kind of direction , too bad I can't get any result with the script he is using ( bootloops if I remember correctly )

Keep up the good work guys , just wanted to let out some steam
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
To get v2.0 working, I did that:

- install the ROM

- reboot

- When the phone asks for language, reboot into recovery

- flash audio fix

- flash dtapps2sd-2.7.5.3-beta04-signed.zip

- flash 4-a2sd-darktremor-dalvikmove.zip

- fix permissions

- REBOOT ! Now, you can configure your phone and download all your apps !

At first time, it can reboot by itself... after 3-4 reboots, everything works fine.
[HD2 Android Q&A, Help & Troubleshooting and Genera] FortMax:
I'm also stuck in a boot loop when upgrading to NexusHD2 HWA 2.0. The last two times I upgraded I had the same problem. The only fix for me was to wipe it all. I followed the step from the Data2SD link for an upgrade/reinstall, but it has never worked for me. Anyone have any ideas on what I can try? I'd really hate to wipe it all out again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] nowican:
I have the same issue and tried many times without sucess, all ending up at boot loop. Had to go back to V1.3 as I don't want to wipe it all.
[HD2 Android Q&A, Help & Troubleshooting and Genera] peet47:
Hi,

i'm using AD2SDX - AMARULLZ DATA TO SD-EXT and no Problems so far. I have only a limitation in devlik-cache, but i started to write a script for this problem.

Greetings,

Peet
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dj-Gutz:
OK now I'm finally back ( After wiping everything of course )

Flashed ad2sdx , seems like the "after first from boot on the language thing press power button and reboot" part is extremely important

I remember that sometimes I pressed next once or did the 4 edges trick and then rebooted

What I get from this that no data should be recorded before using the script

So why not make it automatically during flash?

I've seen rom installs with menus before , I'm sure tytung can make this so we wouldn't have to flash the scripts manually

Hell , he can even make all of the scripts available to choose from

That was the good part

The bad part is that I've had the perfect machine for a couple of hours till a whole load of FC started , fixed permissions lead to looped boot animation

Luckily , this time I made a recovery image after setting things up and I managed to get back to it , and it's been running for 12+ hours without issues

I think I'll buy a different SD card to rule out SD corruption

Hope this info helps anyone
[HD2 Android Q&A, Help & Troubleshooting and Genera] Bib_x:
Hi, i use tytung 2.0 with 40ad2sdx-a2Recovery.

I want to upgrade to 2.1 - how can i do this with the 40ad2sdx-a2Recovery script?

Just flash 2.1 and then the script again or do i have to change the install-file of the rom?

And how can i change partition size without doing a task29? Can i change the size with cwm or clk and then flash the new rom?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Cjovecje!:
The best option would be fresh install. And yes you can change partition size without task29. It will also delete files but i would suggest task29 for sure. I always do clean Task29,FormatSD. Trust me it installs faster and its easier and the important : LESS PROBLEMS. Hope it helped
[HD2 Android Q&A, Help & Troubleshooting and Genera] Bib_x:
I know that it would be the best option to do a fresh install but i want to know, how i can do the upgrade without doing task29 and so on.

Especially with the sd-card-script.

I will delete some files from the rom-file, so it would be smaller. Ringtones, some apps and so on, so i could use my old partition size with the new version and the new drivers.
[HD2 Android Q&A, Help & Troubleshooting and Genera] peet47:
just copy the 40sd2asx script in the v2.1 packet under

/system/etc/init.d/ adn flash it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] le_da:
In v2.1 problem solved ! :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
With v2.1, when installing Darktremor A2SD, I have a very weird issue:

- /mnt/sdcard is mounted on the first partition (normal)

- /sd-ext is mounted on the first partition too !!! That's not normal at all !!!

I will try to investigate, but that seems to be... weird...
[HD2 Android Q&A, Help & Troubleshooting and Genera] JeremyGuan:
Do you mean just copy the script (the whole zipped folder or just the file under /system/etc/init.d/ ?) To the new v2.1 /system/etc/init.d destination?
[HD2 Android Q&A, Help & Troubleshooting and Genera] mootmetal:
just installed 2.1 today with fresh install ...i have 512mb ext3 but i cant use... the phone just dont see it and titanium backup too dont see it ....do i need to flash something in order to get it work?

it's my first time with ICS ..so i'm still confused
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
Low volume

Well, you are in trouble already as I am not even close to an expert..

A tough question since I never actually experienced the low volume issue.

There seem to be many solutions for it. I am not really sure what to suggest except.. Before fixing permissions, did you try clearing the Dalvik cache? You can wipe that from CWR or Titanium backup and the system will rebuild it though keep in mind that the next boot will take longer (how long depends on the number of apps you have installed).

I would try clearing the Dalvik in CWR, followed by fixing permissions (also in CWR, reboot and let the ROM rebuild the Dalvik cache as it sees fit. It may get rid of the low volume issue...
[HD2 Android Q&A, Help & Troubleshooting and Genera] themacroe:
Dta2sd beta works for me in 2.0 but not in 2.1 any reason why?

Sent from my NexusHD2-ICS-CM9-HWA V2.0 cLK 200/5 dta2sd beta4
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
The ROM doesn't make use of the ext partition directly. You need to install something which takes care of that. Several choices are available to pick from - Amarullz' original script, modified versions of it, Darktremor, Link2SD.. Unfortunately you need to read and decide which you might want to try. And always make sure you have good backups in case a try does not work the way you hoped it would. :)

---

Inside every cynical person, there is a disappointed idealist.. (via XDA app)
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
What do you have? A flashable zip (does it contain several things) or one that has a single file in it? If a single file extract it from the zip and you can move it to the system partition with a good file explorer. Make sure you know how to set the file executable!

---

Inside every cynical person, there is a disappointed idealist.. (via XDA app)
[HD2 Android Q&A, Help & Troubleshooting and Genera] xskill:
have you tried Link2SD app from market?i think this is the simplest way to use sd-ext partition...hope it helps :)

by the way on the last build i have problem playing temple run, i think the app can't read the gesture...i hope this issue will be fixed on the next release :D

but overall this is a great ROM,very smooth :cool:
[HD2 Android Q&A, Help & Troubleshooting and Genera] themacroe:
Any step by step install and commands?

Sent from my NexusHD2-ICS-CM9-HWA V2.0 cLK 200/5 dta2sd beta4
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
I reinstalled my phone with the V2.1.

Darktremor A2SD does not work correctly (it does not mount the second partition correctly)

I need to move data to sd-ext before setting up my phone or automatic application download will fail due to a lack of free space.

I tested the same script without any A2SD.

And ... It Works !!! Apparently, no bug. (just a little bit slower)
[HD2 Android Q&A, Help & Troubleshooting and Genera] pavlo_js:
Just flashed like here.

Works perfectly.

For "low sound bug" I need to wipe Dalvik Cache and Fix Permissions twice.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Proficamper:
I'm also very interested in the answer of this question...

Anyone knows?
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
I have not tried this personally but..

Consider that Titanium Backup saves apps and data. A symlink will make it look like the data is where expected even if not. TB simply backs up and restores.

What, if any, method is used for pretending (i. e. scripts) should not matter.

Keep in mind this is only an opinion.. :)

---

Inside every cynical person, there is a disappointed idealist.. (via XDA app)
[HD2 Android Q&A, Help & Troubleshooting and Genera] amanyasin:
I am using Link2SD at NexusHD2-V2.0, so it works perfect for me.

Now i am upgrading ROM to V2.1 and want to retain my previous data. In first boot lot of application failed messages and later on low memory message. It is normal because Link2SD is not active. When i activate it and reboot the ROM it again give me low memory message.

Is there any safe way to keep previous data during ROM up-gradation?

Or i have to use any other script rather than Link2SD??

Thanks in advance
[HD2 Android Q&A, Help & Troubleshooting and Genera] ginelli67:
Got the same problem... maybe the solution is wipe & restore or move all to SD with titanium backup and move back the apps once upgraded

Inviato dal mio HTC HD2 con Tapatalk 2
[HD2 Android Q&A, Help & Troubleshooting and Genera] LordDeath:
I would ask the Link2SD developer to provide a flashable zip file which you would flash right after updating to the newest ROM version.
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
With V2.1, Mounts2SD works fine with following settings:

apps

dalvik

noatime

Using rmount caused bootloops.

I didn't notice any bug yet.
[HD2 Android Q&A, Help & Troubleshooting and Genera] LordDeath:
Thx for this info. Did you also monitored the standby battery usage? You can use Current Widget to monitor it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] peet47:
I'm using 40ad2sdx script and no problem so far. The battery usage is also normal, round about 6mA
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
Just right now, 6mA (Wifi on)

Sometimes, it's a little bit higher, sometimes lower (the best I had is 3mA)
[HD2 Android Q&A, Help & Troubleshooting and Genera] techsc:
a2sd magic (to me) partition problem

Hello,

on my HD2, I have set up tytung V2.0 and installed 40ad2sdx-a2Recovery in combination with a 4GB partition. All seems to be working, but Titanium Backup shows me the following overview:

System ROM: 209 MB (36.9 MB free)

Internal: 4.03 GB (3.61 GB free)

SD card: 27.2 GB (13.0 GB free)

SD card (a2sd): 214 MB (35.9 MB free)

I can see that the 4GB partition is correctly linked to the internal storage. Fine. But what the heck is the "SD card (a2sd)" partition?

Some days ago I have run into low memory problems related to that partition (only 3 MB left). Google Play Store was unable to download the update of Star Chart (13.86 MB) download.

Fortunately, I was able to clear the Google Internet Browser's cache and cleared some memory on that partition (35.9 MB free). Now, I *was* able to re-install Start Chart with the result, that this app is placed on that magic partion either (resulting in 20.7 MB free). The ICS-Settings Application manager tells me that Star Chart is available to be moved to SD Card.

I cannot understand what happens here at all. I expected that Star Chart is placed on the linked internal Storage 4GB partition or either the real external SD-ext partition 27.2 GB. It seems that Star Chart "thinks" the magic (to me) partition "SD card (a2sd)" is the internal phone storage.

Hopefully, anyone can tell me how to clear this issue.

Chris
[HD2 Android Q&A, Help & Troubleshooting and Genera] The BLION Corp.:
Second partition of your sd card has been mounted on /data

Second partition of internal memory has been mounted as /sd-ext.

Titanium Backup relies on mountpoints. That's why spaces are mixed up.

Your setup did not move everything to the SD Card

With a file browser, you should look at what is in /sd-ext mountpoint to see what is eating the space. I think this is your dalvik-cache.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Proficamper:
Hey guys,

i've got a problem with the app2sd script. I've got the one from the russian member Vodkinagdan’s running

in version 1.04.

In the android settings in the memory section it says Internal Strorage: 181 MB, Apps: 383 MB, free 36 MB

When i go to the app list it says internal memory: 181 MB altogether, 144 MB used and 37 MB free.

In Titanium Backup i see

- SD Card (A2SD): 959MB, 635 MB free

- internal storage: 187 MB, 37 MB free

With "App 2 SD free" i can move apps to the SD Card and they are still running.

Thats strange in my opinion. Shouldn't i see the A2SD memory in internal storage? And always i wanna install new stuff i get the message, that my internal storage is full and that i don't have enough free space.

Any solution for this? Should i reflash the A2SD script?

Thanks!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] techsc:
Compatibility 40ad2sdx-a2Recovery with tytung's HD2 ROM

Hello,

on my HD2 device, the 40ad2sdx-a2Recovery is not compatible anymore with tytung's HD2 ROM 2.0. If installed, the dalvik-cache gets destroyed frequently upon reboot. There may be other problems.

I have now set up tytung's ROM along with the Link2SD App and everything runs perfekt!

btw, tytung recommends Link2SD as No.1 either.

So, from my point I can only recomment to use and properly set up Link2SD. In order to have Link2SD working, carefully read the instructions & faq for setting up your SD-Card. Otherwise, it will probably not work as expected.

Thanks alot to the developers and the community!

Chris
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
I am using his 2.1 and I have no problems whatsoever. No sound problems, no reboots, no space problems, 3 GB internal memory, Dalvik on ext4 and no performance issues.

Guess not all HD2s are the same...

---

Inside every cynical person, there is a disappointed idealist.. (via XDA app)
[HD2 Android Q&A, Help & Troubleshooting and Genera] webjunky:
this is only for Nand version only ?
[HD2 Android Q&A, Help & Troubleshooting and Genera] techsc:
Interesting. With 2.0 the problems came up on my device.
[HD2 Android Q&A, Help & Troubleshooting and Genera] alahander:
Hi I have big problem with my htc hd2 I can not install any ROM NAND method I did everyfing

1. Installed Original rom 1,66

2. Installed Hspl 3

3 Installed MAGLDR 1,3

4 Installed Recovery Version-5.0

5 Installed NexusHD2-ICS-4.0.4, myMIUI 14 and other rom

Every rom is installing properly but stuck in loading

Pls help and sorry if my English is bad

HELLP:confused::confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] NYLimited:
How are you partitioned? First guess (without more info only a guess) your system partition is too small. Check the requirements if the rom you're installing.

---

Inside every cynical person, there is a disappointed idealist.. (via XDA app)
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
problems tytungs nexushd2 ics-cm9 v2.2,kernel r3--->mounts2sd

Dear tytung,

today i downloaded your new ics-cm9-mod v2.2 with kernel r3.

i have been using "mounts2sd" with your great roms.

your new rom v2.2. ist not fully compatible to mounts2sd ---> mounts2sd is only starting in "safemode", in which some of the functions are not available as it would be if it would be startet in "normal mode". mounts2sd needs a different start-command in the "init.rc".

In your rom "sysinit" and "init.d" is startet with a "service" instead witha a "exec-command".

member "dala11" told you this problem in your nexushd2-ics-cm9 - thread a view minutes ago.

please fix this problem.

thank you

---------- Post added at 03:21 PM ---------- Previous post was at 03:13 PM ----------

this is the post of "dala11":

Just installed 2.2 what a good rom this is!

Have no issues with WiFi btw!

I do have a question about the ROM, not sure if this should be asked here or in the A2SD topic.

I like to use Mount2SD, since it's a more modern approach than A2SD and LinkSD, it works with this rom, but not all the features. This is due to the old style of sysinit in the rom.

here is the log:

Mounts2SD is currently running in safe-mode and some options is therefore hidden/disabled. In order to use all of the options of the script, your ROM must use the sysinit execute method of handling init.d scripts. Your ROM is currently using the sysinit service method which is highly unstable.

and the quote from the topic:

Originally Posted by dk_zero-cool

As of version 2.2.0, m2sd has a safe-mode state. This is an automatic state that is used when the script can't detect a correct sysinit method. The correct way to execute init.d, is to add "exec /system/bin/sysinit" to the init.rc file and of cause create the script sysinit that will execute init.d

The old way is to create a service for init.d in init.rc.

The problem with the service is that it is executed while the rest of the boot process is working. This means that moving things like /data/data and /data/dalvik-cache will create problems, because the system will keep trying to rebuild the moved content to it's original path while m2sd is moving it.

The sysinit script executed with the exec command however, will stall the boot process until all of the init.d scripts has been executed. That means that m2sd can move the content and bind the original path to the sd-ext path before the system starts it's work.

The Safe mode state will disable dalvik and data no mater what the config says to avoid these problems. So if your ROM runs m2sd in safe-mode, write to the ROM dev's and ask them to include the more correct way of handling init.d

Could I persuade you to update the init.d part of this awesome rom?
[HD2 Android Q&A, Help & Troubleshooting and Genera] twoxx:
Any Suggestions?

Hello Folks,

i was using "mounts2sd" with tytungs famous roms. But now with New ROM V2.2 mounts2sd ist only working in "safemode", which means that several options don't work any more.

The main reasons why i was using "mounts2sd" were, that

- you can move app, dalvik, data to sd (or only one or two of them)

- you can remove / undo everything you want

- you can mount "swap" without using "swapper2" or any other "swap"-app

- with "aroma" there is a special "mounts2sd"- menu in the "settings" of android

- you can disable "journal" of ext4-partition

- you can set "cache" on a "temp-file" on ext4-partition

- you can move "download-cache" to ext without moving the whole "cache"

- you can r-mount "sd-ext" as "data"

and so on...

can anyone give me an adivse? i am searching for a script that works with tytungs new rom v2.2 and that is able to move app, dalvik, date AND that is able to mount "swap" partition?