yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] Androidious:
Hey, if anyone can give me some help, I'd really really appreciate it! I was previously running Darktremor on a previous install. Well, I got antsy and started flashing a bunch of crap, etc.... long story short, I ended up having to wipe my entire SD card, wipe the phone and reinstall everything.

I made sure to format all my SD card, Fat32 and Linux partitions and repartitioned everything. So now, I'm running on the SD card, 512 mb EXT3, 64 mb Swap, and like 7 gb remaining Fat32.

Now, when I go into adb shell and type the command, adb shell a2sd check, I get the following:

-----------------------------------------------------------------------------

Starting Darktremor A2SD version 2.7 update 1

[ ] Mounting /system as read-write

[ ] Mounting /data as read-write

[: not found

[: not found

[: not found

[: not found

[: not found

[: not found

[: not found

[: not found

[ ] Starting A2SD in check mode

[ ] Running A2SD Check Program.

[ ] Searching for Mount Point...

[!] Mount point found..no further action required.

[ ] Checking for ext partition

/dev/block/mmcblk0p2 /system/sd ext3 rw,noatime,nodiratime,errors=continue,data=

ordered 0 0

[*] Ext partition found and already mounted.

[ ] Checking A2SD links.

A2SD Status Report

===============================================================

Apps - [*] Linked to SD Card.

[*] File .noa2sd not found.

[*] Programs run from SD card

To run from internal storage, type a2sd remove

Private Apps - [*] Linked to SD Card.

[*] File .noa2sd not found.

[*] Private Programs run from SD card

To run from internal storage, type a2sd remove

Dalvik Cache - [*] Regular directory.

[*] File .dalvikcache not found.

[!] Dalvik runs from Int. Storage.

To run from SD card, type a2sd cache.

Swap - [*] Partition present.

[*] File .noswap not found.

[*] Swap starts.

To deactivate swap, type a2sd noswap

ZipAlign - [*] Running at boot.

Property Patch - Property found.

cm.filesystem.ready or dc.filesystem.ready

[*] Boot image init.rc patched.

-----------------------------------------------------------------------------

Previously, when I ran the a2sd check, I never had any 'Not found' outputs in there. It used to say a bunch of other junk, etc..., but now, ever since reinstalling everthing and formatting, I get those 'not found' reports. Can anyone please help to either let me know what's up or if there's a way to fix it?

Thanks so much guys!
[Hero CDMA Android Development] tkirton:
Try clearing everything and reflashing. It sounds like a rom didn't install correctly (/bin/sh or related libraries are messed up).

Or, if you have a nandroid backup, you can restore from that.
[Hero CDMA Android Development] sh4nk:
Just wanted to pop in and say thank you to you guys who helped me out last week :) My phone is working great again after doing that wipe, and my internal storage is MUCH better now!
[Hero CDMA Android Development] aussiebum:
Ok, new to Android phones and just got a Milestone. Have had it rooted and overclocked.

Just wondering if this particular method of Apps2SD will work for the Milestone? It has a locked bootloader so stock rom only unfortunately, but I believe I should be able to perform "Step 3" in the instructions if I name the zip as update.zip and fire up Recovery mode, which has the option of "Applying update.zip from sd card"?

Thanks
[Hero CDMA Android Development] tkirton:
Always best to read the first message in the thread. In that message, it states that no Apps2SD (doesn't matter what version) will work with a stock Rom of any type. This is because a stock rom doesn't have the code in the init.rc to launch Apps2SD.

That doesn't mean you couldn't install it and activate it via adb install, but the moment you reboot, you will either lose access to your applications (since the ext partition didn't mount) or you will go into an boot loot (again, because the ext partition didn't mount).

If you do decide to install it, keep in mind that you would have to go into adb shell each time you restart the phone and type a2sd to force everything to mount. That would pull you out of any boot loops you may experience.

As for using update.zip...not sure if it will work. The way it is normally installed is via recovery.
[Hero CDMA Android Development] aussiebum:
Thanks for the explanation - didn't see init.rc bit in the changelogs.

There is a current method to setup Apps2SD on a rooted Milestone by loading ext2.ko and then mounting the ext partition immediately after using the mot_boot_mode method, but I'm guessing that your version is probably better / more up to date, hence wanted to try.

Don't suppose the mot_boot_mode method might work with your version of Apps2SD? EDIT: eg. running a2sd in mot_boot_mode? also glanced at the install.sh, guessing would have to take out the bits that create a symlink to init.d dir since that doesn't exist in the stock Milestone rom for the install to work....

When I meant "update.zip", yeah I meant via Recovery (haven't tried other zip file names other that update yet).

Thanks
[Hero CDMA Android Development] tkirton:
The install.sh is a legacy code that is removed in 2.7 Update 3. It hasn't been used since 2.5 (just never removed it). The update-script in /META-INF/com/google/android/update-script has the install script.

As for mod_boot_mode, you can try it, but since I'm not aware of that boot method, it may not work. If you can send me some more information relating to this boot method, I can see about including it (or building a custom copy). Just send me the info at rtkirton at gmail dot com (at = @, dot = .)
[Hero CDMA Android Development] tkirton:
New Update

Just posted 2.7 Update 3. New methods of storing dalvik-cache is now introduced (great for those using Class 2 SD cards). Check it out.
[Hero CDMA Android Development] xxxk15:
well i have the original 2.7 and when i turn on my phone it will allow me to download 4 apps then after that i cant download ANY app and it tells me "Insufficient Storage Available" I have 119MB left on my internal storage and i am running DC 2.09.1and i am using the God Mode 710. Is there anyway to fix this like try to flash the 2.7 update 3??
[Hero CDMA Android Development] aussiebum:
Thanks - I'll send you a couple of links I've seen on this after I get out of work.
[Hero CDMA Android Development] tkirton:
I know this is going to sound like a strange question, but how many apps do you have that you have downloaded?

I'm just wondering if this is has something to do with the number of applications you have. I'll do some research on the issue to see if anyone knows what causes this.

Here's something you can try in the meantime:

Go into adb shell. When you are there, type:

cd /data/data/com.android.vending/cache

rm -f *

reboot

This will clear your Market cache. It's possible there's a limit on that. The reboot will ensure that you start with a clean slate on the market cache. Try that and let me know if it works or not. I'll continue researching if it doesn't work.
[Hero CDMA Android Development] tkirton:
Cool. The links would be appreciated.
[Hero CDMA Android Development] xxxk15:
well i did it all right up to rm -f * and it said there is no such program in directory or something like that
[Hero CDMA Android Development] tkirton:
Type ls while you are in that directory to see if there's anything there.

If there is, here's an alternative line:

/system/xbin/busybox rm -f *
[Hero CDMA Android Development] xxxk15:
ok i typed /system/xbin/busybox rm -f *in and it then came up ## so then i typed reboot is that right?? and also i will try it right now annd responed to tell you if it worked
[Hero CDMA Android Development] tkirton:
Yes, type reboot. Let me know if this resolves your problem.
[Hero CDMA Android Development] xxxk15:
i download 5 or 6 apps then i went to download papi jump it was unsuccessful. i uninstalled it and still wont let me download another app or papi jump. so it didnt work
[Hero CDMA Android Development] tkirton:
Type a2sd diskspace and tell me what it reports.
[Hero CDMA Android Development] xxxk15:
do i type a2sd diskspace right after adb shell??
[Hero CDMA Android Development] tkirton:
Yes...type it in the adb shell.
[Hero CDMA Android Development] xxxk15:
ok '
[Hero CDMA Android Development] xxxk15:
Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Admin>cd C:\android-sdk-windows\tools

C:\android-sdk-windows\tools>adb remount

remount succeeded

C:\android-sdk-windows\tools>adb shell

# a2sd diskspace

a2sd diskspace

Starting Apps2SD script for DConfig at 06-23-2010 00:32:27

setting variables using values stored from DConfig tool

[ ] checking variables

[ ] Searching for Mount Point...

[ ] Mount point found..no further action required.

[!] Setting Dalvik VM Heapsize to 16mb.

[!] Setting Advanced System Variables.

3

0

600

1500

5

10

80

200000

[ ] Checking for ext partition

[!] Ext partition found.

[ ] Checking Ext partition...

e2fsck 1.40.8 (13-Mar-2008)

/system/bin/e2fsck: Device or resource busy while trying to open /dev/block/mmcb

lk0p2

Filesystem mounted or opened exclusively by another program?

8

[ ] Mounting ext partitions as ext3.

mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Device or resource bu

sy

[X] Mounting ext partition as ext3 failed.

[ ] Mounting ext partition as ext2.

mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: Device or resource bu

sy

[X] Mounting ext partition as ext2 failed.

[X] Can't continue script...aborting.

#
[Hero CDMA Android Development] tkirton:
Cut and paste?

This is what I'm looking for:

Filesystem Size Used Available Use% Mounted on

/dev/block/mmcblk0p2 3.7G 120.4M 3.4G 3% /system/sd
[Hero CDMA Android Development] tkirton:
See, when you said you were running 2.7, I thought you actually flashed mine. This is TrevE's version from DamageControl...so I assumed wrong.

Try this...download the Darktremor A2SD 2.7 Update 3, flash the zip file, then boot your phone.

Once you do that, try downloading something from the market again.
[Hero CDMA Android Development] tkirton:
See, TrevE doesn't have that option in his Apps2SD.
[Hero CDMA Android Development] xxxk15:
i will try that. so i dont have to repartition the SD??
[Hero CDMA Android Development] tkirton:
Nope...not unless the problem is your SD card.
[Hero CDMA Android Development] xxxk15:
ok i just flashed it but its taking a long time on the NOW sign
[Hero CDMA Android Development] xxxk15:
ok well i flashed it but everything on my on my homescreen is slow and everything is going so slow. is there any way to speed it up??
[Hero CDMA Android Development] tkirton:
Where's your dalvik-cache stored at?
[Hero CDMA Android Development] xxxk15:
well i use to use dConfig to put the davik to my sd but i will probley have to do it with command. is it still on my sd card when i used dConfig
[Hero CDMA Android Development] cbarth3:
well updated to 2.7 update 3 and tried moving dalvik-cache to the cache partition and now everything just gives me a force close. tried to wipe the dalvik-cache and reboot and same thing. moved dalvik-cache back to internal and was able to open programs again.
[Hero CDMA Android Development] xxxk15:
well my phone died on me and i only downloaded 2 apps so dont know if it worked or not. I will check in the morning but thanks for everything!!
[Hero CDMA Android Development] tkirton:
It should still be.
[Hero CDMA Android Development] danaff37:
In too moved dalvik cache to cache, and got bombarded with force closes. Running zen's slide rom, and had dalvik on sd before. Just not going to work, our did I do something wrong? I did do it with phone running, and tried a couple of reboots. Can it even be done in recovery? Have to work now so will have to try that later I guess to see.

-------------------------------------

Sent via the XDA Tapatalk App
[Hero CDMA Android Development] tkirton:
Not sure if the dalvik-cache on the cache partition is going to work for everyone. You can still put the dalvik-cache on the SD card by typing a2sd cachesd

Before switching it to SD card, try a couple of things:

1. Reboot the phone.

2. Clear the dalvik-cache by either clearing it from recovery or typing a2sd resetcache
[Hero CDMA Android Development] xxxk15:
well i tried the 2.7 update 3 and it still didnt work. i downloaded 2 apps and then it wont let me download anymore. Is my ext messed up. Should i repartition??
[Hero CDMA Android Development] revcp:
First Time partitioning

A few questions. I'm using the rooted .6 stock with DarchKernelV3 kernel. I have a whole lot of things on my sd card. I've backed up the card to my PC. Update of v2 of apps2sd seems straightforward, as does the partitioning of the sd, but what do I do for reloading all the apps that are presently on the device and all the data that goes with those apps that I have backed up to my PC?

Thanks in advance for any help.
[Hero CDMA Android Development] revcp:
Nevermind. Went ahead and it all worked. Went from 23mb available to 121. Magic.
[Hero CDMA Android Development] flibblesan:
Just want to drop a message here saying that update3 is working brilliant on my t-mobile pulse using FLB-MOD. The only issue, which isn't a2sd's fault, is that the cache partition on my device is only 20MB which rules out having dalvik-cache running from it. But I have a Class 6 SD anyway so that doesn't matter to me.
[Hero CDMA Android Development] tkirton:
I would repartition...it does sound like your ext partition may be messed up or the SD card is messed up.

If that doesn't work, I'm afraid the SD card may need to be replaced.
[Hero CDMA Android Development] tkirton:
I figured as much...that's why I left the move to dalvik-cache to SD card. You never know when you may need to use it.
[Hero CDMA Android Development] flibblesan:
I'm glad that feature is still enabled. It's very useful for smaller devices.

Now the icing on the cake would be a small GUI for your a2sd. Unfortunately so many people just can't use terminals or adb :confused:
[Hero CDMA Android Development] tkirton:
I want to put one on there...and it is in the planning stages for Darktremor 2.8. I'm not very good at Java, so I'm trying to get some help with that.
[Hero CDMA Android Development] UCCS:
Install unsuccessful

Well ello

Just wanted to say that I love this it has definitely upgraded my hero. Just wanted to bring something to your attention though, at first I was unable to download a few apps and it would give me an error saying that i had no more space. This happened a couple of times but then it all started installing without an issue. Dont know what went on there but it working great now so thank you
[Hero CDMA Android Development] Androidious:
I wanna start by saying, I think your work is great and works very well!

One issue, I updated to Update v. 3 and moved dalvik-cache to

adb shell a2sd cachepart

After doing so, all my programs FC'd on me.

I've just moved them back to the SD:

adb shell a2sd cachesd

and it seems to fix the problem.

Is this problem occuring because I'm using Fresh 2.1.2 and it is not incorporating the /cache/ in the ROM? Or can this setting be applied to any ROM that supports DarkTremor?

Thanks!
[Hero CDMA Android Development] tkirton:
Seems like this is an issue that I'm not getting no matter what I do.

Was there anything you did differently that made it start working? I would really like to know as this is an issue I can't seem to replicate on my phone.
[Hero CDMA Android Development] tkirton:
Back in Version 2.5, I started experimenting with moving things to the /cache partition. It could've been my rom, but I thought the /cache was reset at the end of the boot sequence.

However, I'm using Buufed 2.0d right now, which does move the dalvik-cache to the /cache partition and am running it without issues.

I'm thinking it has something to do with the Rom. It's possible that there may be a program that resets the cache partition. I'm suspecting it may be the Sense UI or something in the HTC Framework (Buufed 2.0d doesn't use Sense...it's vanilla Android, but I'm not sure if it uses any of the HTC Framework).

So, in theory, the a2sd cachepart can be ran on any rom (provided you have plenty of space on the /cache partition to hold the dalvik-cache...the Hero does), but it reality, it may be dependent on the rom and whether the /cache partition is erased.
[Hero CDMA Android Development] britoso:
works fine on nexus /froyo/FRF50 :)

http://xdaforums.com/showpost.php?p=6952103&postcount=16
[Hero CDMA Android Development] craig198:
any way for us to upgrade our microsd and keep everything as it was? im going from 2gb microsd to 16gb microsd. I copied my /system/sd/app and app-private over to the new card and put it in the same spot with android commander. Im kinda lost on how to get it working other than to start over reflashing.
[Hero CDMA Android Development] tkirton:
Cool...this works on Froyo. Wasn't sure if it would.

EDIT: My question now is, if you reboot the phone, does it automatically start the program?
[Hero CDMA Android Development] tkirton:
Easiest way to do this is to do a nandroid backup, then copy all the contents from the /sdcard (that's the FAT32 section of the SD card) to your computer.

Once you do that, turn off your phone, remove the 2gb card, put in the 16gb card, boot into recovery and partition the SD card.

Once you have done that, mount the SD card to your computer. Put the data from the FAT32 portion of the SD card back onto your SD card, unmount the SD card, then do a nandroid restore.
[Hero CDMA Android Development] craig198:
thanks. I did a nand+ext2 backup of the original 2gb microsd card. would that throw a wrench into it?
[Hero CDMA Android Development] tkirton:
Nope...that's what you were suppose to do. I should've been more clear.
[Hero CDMA Android Development] craig198:
thanks again. I did that and got an error I will have to try again to give you the exact error code. basically the restore could not finish though. the only thing I can think of is that the partitions are different.
[Hero CDMA Android Development] tkirton:
It shouldn't matter since Nandroid stores the app and app-private in the SD card as folders, not as images.

What version of recovery are you using?
[Hero CDMA Android Development] craig198:
RA-heroc-v1.5.2
[Hero CDMA Android Development] nfinitefx45:
hello tkirton,

well craig posted on mine that he had the hole 16 gigs set to ext, Which means there is no room to build a backup of any kind. I posted a reply to craig that he shoouldnt really exceed 1 gb for the ext and it should be upgraded to ext3 also.

Hope this helps
[Hero CDMA Android Development] craig198:
I believe the extension is 1024 in size on the 16GB card and default size on the 2GB card.
[Hero CDMA Android Development] nfinitefx45:
ok just wanted to make sure because in the post on the rom you stated that you had formated all 16gigs to ext. this would leave you no room for any other data that would require fat32
[Hero CDMA Android Development] craig198:
also heard you get errors if battery is not charged enough. Im going to leave all partitioning default and see what happens.
[Hero CDMA Android Development] tkirton:
Upgrade to RA 1.6.2 or Godspeed...I think 1.5.2 had some issue with the ext nandroid.
[Hero CDMA Android Development] nfinitefx45:
I have heard the samething about charge, I heard you need atleast 30% charge.
[Hero CDMA Android Development] tkirton:
Now, that's a piece of information I didn't know about.

I've honestly never tried to partition the entire 16gb to an ext partition. I bet some of the HTC stuff will freak out over it (camera, music, etc.)

I have mine set to 4gb and that is probably a bit excessive.
[Hero CDMA Android Development] tkirton:
I heard that as well. Not sure why you would need at least 30% charge (I can see if you were around 10%).
[Hero CDMA Android Development] nfinitefx45:
well I played around with this before on a 4gig and set the entire thing to ext3 and it went into a freenzy on boot everything was force closing...LOL
[Hero CDMA Android Development] nfinitefx45:
Supposedly it doesn’t go into charge mode while in recovery, or fastboot
[Hero CDMA Android Development] tkirton:
Ah...now it makes sense.
[Hero CDMA Android Development] craig198:
cool never even thought of that as something that needed upgrading. (ya im a noob lol)

i now see the option for sd ext3 to ext4 should I do this as well? im running the 2.1.....6 stock de odexed rom
[Hero CDMA Android Development] britoso:
Works with FRF83 too. see http://xdaforums.com/showthread.php?p=6954506#post6954506

edit: it does not start automatically on reboot, have to run "a2sd install"
[Hero CDMA Android Development] nfinitefx45:
only if you use the godspeed recovery, ext4 is not fully supported by 1.6.2

I am currently running ext3 without issue and the performance is outstanding.
[Hero CDMA Android Development] craig198:
nice! ya i just did the ext3 only. figured I shouldnt complicate things anymore.

edit: and it looks like 1.5.2 was the problem (fingers crossed)

YES! it worked! thankyou.

only problem now is my apps are not showing up. what did it restore then? do I need to rerun a2sd.zip?
[Hero CDMA Android Development] nfinitefx45:
ok on your backup did the name of it start with BDS or BDES, I am only asking this because I think you may have BDS if so then you ext partion was never backed up.
[Hero CDMA Android Development] craig198:
neither......BCDEMRS and there is a ext2.tar inside of it
[Hero CDMA Android Development] roirraW "edor" ehT:
Congrats on 1,000 posts.
[Hero CDMA Android Development] nfinitefx45:
well as long as there is a ext in it it should have worked. I am at a loss at this point you will have to wait for the A2SD god to figure out that one.
[Hero CDMA Android Development] craig198:
well you have been a BIG help. Many many thanks! I might just end up formating and reinstalling the rom.

I reinstalled the stock 2.1......6 deodexed rom (this time on the 16GBmicrosd) and that went fine.

now im just trying to do a nand+ext backup and it fails saying run from adb even with RA 1.6.2. i give up lol

great I tried moving dalv and apps to sd and rebooted and it says sd card is damaged lol. now I have to start over and wont do that again.
[Hero CDMA Android Development] tkirton:
No...not ext3 to ext4, unless you are going to use a rom that support ext4 (otherwise, you'll end up in a boot loop)

But do select the option to for sd ext2 to ext3. All roms support ext3.
[Hero CDMA Android Development] tkirton:
Sweet. You have earned a mention on the front board for testing it on Froyo!!!!
[Hero CDMA Android Development] tkirton:
Moving Dalvik-Cache to the /cache partition isn't going to work for every rom. Not sure why. Fresh 2.1.2 is a SenseUI based rom...while the one I'm currently using, Buufed 2.0b, is an AOSP rom. It may have something to do with SenseUI or the HTC framework.
[Hero CDMA Android Development] tkirton:
Your card is acting weird.

If you have a PC, you could try to repartition and reformat the card back to FAT32, then have the phone partition it again to FAT32 + ext3

Sounds like your format is all messed up.

You could also try the option to repair ext...if there's a problem, that may fix it.
[Hero CDMA Android Development] britoso:
works fine. had to make the init.rc changes. leonnib4 made the change and it works great.

boot image with a2sd starting fine, frf83/nexus one: http://xdaforums.com/showpost.php?p=6963020&postcount=30

write to boot using fastboot.
[Hero CDMA Android Development] craig198:
ya android said it had to format it cause it was damaged so I just did that. my partitions are still intact i believe. Android reporting 14 and change in GB so something is using up my card.
[Hero CDMA Android Development] revcp:
Just a guess, but you could run "Move apps+dalv to SD" in recovery (if you have 1.6.2 recovery). It's found under "other" or "more" (can't remember which) in the recovery menu.
[Hero CDMA Android Development] craig198:
ya thats what I did and what screwed everything up lol.