yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] D200P13:
so cw is causing this? dammit! i have spent 2 days with this. my poor phone has had orange text for over 24 hours now trying different meathods to flash them..
[Nexus One Android Development] :
Not 100% it is your issue, but MANY folks have had issues with it
[Nexus One Android Development] D200P13:
worth a try though thanks
[Nexus One Android Development] :
Welcome :)
[Nexus One Android Development] lengz:
Does anyone have "problem loading widget" after rebooting? I had the problem with the beta 4, but switched to.modified 2752 because of speaker problem. 2752 modified still gives me the problem loading widgets. The widgets are installed on the ext and was not moved to sd card.

Is there a fix for this?
[Nexus One Android Development] mtw4991:
Make sure Allow Application Moving is unchecked and Install Location is set to Internal in CMSettings>Application. Also, check to see if anything is installed on SD Card under settings>applications. If any apps are checked, move them to phone. You can also run:

a2sd check

a2sd reinstall (will reboot)

a2sd zipalign

a2sd cachesd (moves dalvik to sd-ext)

After running the a2sd commands, you can uninstall and reinstall the apps that have widgets, reboot and all should work properly.
[Nexus One Android Development] sl8125:
Anybody have an idea the advantage of running data on the SD card. I know it will give me more space but I have enough after moving dalvik to SD card. Do I need to run this command.
[Nexus One Android Development] britoso:
Dalvik, cache and data are on separate partitions. On the n1 the default size of the data partition is about 200MB, If you need more then you need datasd
[Nexus One Android Development] Docmjldds:
Dark Tremor info

Just a quick, FYI...was interested in having DarkT run or not. I use Ext4 so not compatible with S2E yet. Latest beta4 or even 5 I found on a new DarkT site fails to mount the EXT. Flashed the older 2.7.5.2 version and it runs great. Have gapps as well as 20 or more personal apps loaded. Went from approx 132MB free to 184MB available. See attached
[Nexus One Android Development] mynameisjon:
I'm trying to migrate to a new SD card (class 10), and I've hit a brick wall.

I do the following.

Nandroid on Amon_Ra's 2.21.

Select both ext and android secure as well as the default selections.

Perform the backup.

Partition ext partition. Swap 32, ext 1024 mb

Copy old sd card contents into new card.

Nandroid restore.

The nandroid restore never seems to complete...

Has anyone here successfully migrated before?
[Nexus One Android Development] :
Format sdcard with sdformatter outside of phone. Options: Full Erase On and Size Adj On

Put back in phone and boot into recovery.

Go to Partition SD Card and select zero swap and your ext size.

Mount card and copy sd card info back to card
[Nexus One Android Development] PSeeCO:
Hi, i've flashed an old version cause with beta 03 my phone was experiencing the low volume bug, now i've lost all my apps configurations!
[Nexus One Android Development] mtw4991:
From what you said, it sounds like you HAD an ext3 or ext4 partition...in other words, sounds like you are trying to restore from an ext3 partition to an ext2 partition. I'm not sure if that will work as it would seem the nandroid is looking for the same extentsion/partition. Did you create an ext2>ext3 partition on the new card? If not, then reformat and set swap0, create and size ext2, balance remainder, then move ext2>ext3, then try to restore.

No need to backup sd-ext or anroid.secure according to amon_ra I believe. Also, rug's sd card method works very well.;)
[Nexus One Android Development] shotgun32:
Hello, can i just straight forward flash this with my lg optimus custom roms(megatron)? Or i should wipe all my data first then i flash this? Im sick of insufficient space storage message.

And should i backup my files in the sd card before i flash this? Thank you :)
[Nexus One Android Development] Docmjldds:
I had an error message saying my SD card was corrupted and started to get general weirdness. I decided to try an app specific for CyanogenMod7 called S2E. Do a market search for S2E. I am running that now instead of DarkT as a test. It only currently is supported with an EXT3 and NOT 4, which I was using. I currently show 180MB available space free in Storage settings which is /data and have probably 40 or so personal apps currently installed (not gapps). I saw a thread on this on XDA recently but was ujsing MIUI at the time. No scripts to run. Basically installs and check the settings and reboot.

Probably will see how it interferes with DarkT since I am always searching for getting the most out of my setup. I used to have 85MB bad blocks in Data partition which is really rare, but also had a few bad blocks in Cache and System. My boot partition was OK, which is where most of the bad blocks you here about occur on the N1. So I basically would end up with maybe 20MB free on any given ROM, and could not even get the sense ROMs to install. HTC did an RMA a few months back and it's made all the difference.
[Nexus One Android Development] :
Sorry jon,

I did forget to mention after partition to ext2 you do need to do ext2 to ext3

Thanks for the catch mtw

It still won't hurt to format with sdformatter on a new card, they sometimes have data on it out of the package

Ken
[Nexus One Android Development] J.L.C.:
Anyone have a link for sdformatter? I can't find it on the market.
[Nexus One Android Development] :
It's on the web--download the pdf too and follow options suggestions--Full Erase On and Size Adj On

http://www.sdcard.org/consumers/formatter/eula/
[Nexus One Android Development] mynameisjon:
Funny thing.

Originally, it was an ext4 partition when I set it up for CM5+. In a2sd check however, it said ext2 before I did the backup/restore process.

So the first run was done with ext 4 in mind, and I converted to ext4. Didn't work.

The second run, I left it as ext2 and it also didn't work.

Suddenly today it decided to work, but I'm wondering if there's an underlying problem that might come back to plague me later on.
[Nexus One Android Development] mynameisjon:
Anyone knows where to move apps to the phone other than system/app? I find sometimes flashing a new rom update clears out the apps i put in system/app.
[Nexus One Android Development] elgubbo:
i thought it was /data/app
[Nexus One Android Development] twolves14:
I'm on Geo411m and I've had apps2sd for like that last 4 months, but it has never "completely" worked. I know that it is working, b/c my SD card has a partition and I've installed way more apps than usual. But, I'm still running out of internal memory (i'm at 18 mb now). My bro has the exact same setup as me, but his internal is at like 160 mb. Whenever I install apps, a certain percentage of the size of the app is subtracted from the internal space, so apps2sd is kind of working, but not completely. Maybe someone can help me? I reflashed the package after I installed 2.3.3, but same problem. For now I found out that the best method for me is to move individual large apps to SD with Titanium Backup. However, this process isn't "legit" and when flashing new roms it gave me problems in the past. Thanks in advance.
[Nexus One Android Development] Docmjldds:
Hi Guy...

I can guarantee and bet the farm...CW 3.xx is the issue. Amon2.2.1 works 100%. If it isn't the install with CW it's the restore. Too many times I have gotten into "words" with users regarding compatibility issues. They seem to want to defend CW mainly because it's a comfort level of what they have been using, or what is installed with a given ROM. But hey, I be preaching to the choir :) I decided to give MIUI a rest. Playing around with Fitsnugly CM7 RC2. Just having Trackball answer a call is a joy I have been missing for too long. Doesn't work on Sense or MIUI. Same for WiFi calling. Found that tidbit yesterday. Plus it was the first time I have seen mms work with wifi calling, but I digress. Amon2.2.1 is 100% compatible with DarkT and hopefully the word will spread :D

Now if I can figure out why the datasd works with some roms and not others, that use DarkT....
[Nexus One Android Development] sir*mez:
+1

1000000 charaters
[Nexus One Android Development] Docmjldds:
Thanks back. I made my day. Don't know why but Beta 3 is the fix along with EXT3 instead of 4, at least as far as Fitsnugly CM7 is concerned. Had all sorts of bootlooping issues to get this to finally work like it should. Beta 4 would be ok till I used the final script command for /data/data to be moved. The attached screen shot is almost unbelievable, but with a fair amount of personal apps from the market, latest gapps and the ROM, see attached Storage settings. I will put in a shameless plug for the Patriot 32GB class 10 card I use...too:rolleyes:
[Nexus One Android Development] mynameisjon:
data/app is symlinked to the SD card.
[Nexus One Android Development] paulk_:
If you've left your dalvik cache on your phone, that may be what's eating your internal memory.

If you don't have your dalvik cache on your phone, then it's probably due to the data from your apps. You can move the data from the apps to your SD card if you're using 2.7.5.3 beta 4. If you're not using 2.7.5.3 beta 4, take note that it's not stable for everyone if you want to try it.

I have roughly 140 apps installed and my dalvik takes up around 110 MB on my phone. With both dalvik and app data on my SD card, I have roughly 190/196 MB free on my phone.
[Nexus One Android Development] money69:
Can someone help me, Im a newbie with this and I have a question regarding preparing my SDCARD for use with this. Ive read the instructions but I dont anything related to the following steps when I boot into recovery mode.

# In android system recovery, select partition sdcard

# In the partition sdcard menu, select partition sd

I dont see the above options. Here is exactly what I am doing, I boot into recovery by holding vol down + pwr, I select "Recovery" from there and then hit "volup + power". Then I load "update.zip" to get into clockwork and I still dont see anything related to the steps above.

Am I missing something? Can someone please tell me where Im going wrong???
[Nexus One Android Development] PSeeCO:
I don't know about clockwork cause I use amonra's recovery, preparing your sd with that is really simple so i suggest to flash it and try with it!
[Nexus One Android Development] :
I am confused:

Are you rooted?

If so, what rom are you going to use this beta with?

What recovery are you using?

I assume you are trying to partition the card for the first time?

We can help on the partitioning if we know the recovery.

Otherwise you just flash the beta zip thru recovery.

Nandroid first!!!!

Ken
[Nexus One Android Development] djmcnz:
They can't go anywhere else.

And every rom should format /system when it's installed.

If you use my rom you can navigate around this with my Advanced Installer.
[Nexus One Android Development] mynameisjon:
don't really want to switch roms atm, no offence to you or your rom :)

but just in case I do, how would I back up everything with titanium?

I'm under the impression that I do a batch backup with "backup all user apps + system data", then after wiping the phone, run "restore all apps with data"?

Problem is whether I will have to relink all my contacts with the facebook contacts, because thats a damned hassle.
[Nexus One Android Development] djmcnz:
None of the backup apps (that I'm aware of) backup system apks any more. Feature was removed.

So "manually" is the answer to your question. Check with your rom dev for options for that specific rom.
[Nexus One Android Development] mtw4991:
When using TB, only backup user apps+apps data. Don't backup any system apps or data or you will most likely run into issue upon restoring. System apps and data will be automatically be backed up and restored without your intervention upon flashing a new rom+gapps after a full wipe.

Facebook, contacts, etc will resync themselves if you have them backed up to google servers in Settings>Privacy Setttings
[Nexus One Android Development] mynameisjon:
would creating a update.zip work?
[Nexus One Android Development] mtw4991:
according to temasek, I believe, you are asking for trouble using an update zip. Why not just get Dropbox and backup to the cloud?
[Nexus One Android Development] elgubbo:
hey guys just wanted to let you know i made a gui for the scripts (at first just for me but ...)

http://xdaforums.com/showthread.php?t=991684

since this is a developer forum i think its the right place to post(this app is still in testing and not for totally unexperienced users).

any suggestions for improvement/bug reports would be great :)
[Nexus One Android Development] ratson:
volume level falls extremely low if I install b4 on cm7. anyone else seen this? is there a quick solution?
[Nexus One Android Development] paulk_:
No current solution, OP is working on rebuilding the entire program.

Side note, I don't have this problem the first time after I flash (rom > kernel > b4). So that's a workaround if you want to continue using b4.
[Nexus One Android Development] mtw4991:
didn't see this answered before...I have an 512mb ext3 partition currently. Can I run the a2sd convert-ext4 to change ext3>ext4 and still preserve all information? If I run the command, can I changed partition size also?

Also, can I run a2sd datasd to move app data to the ext3 or ext4?

Didn't see much info regarding these...just trying to get away with re-partitioning the card to create an ext4, increase its' size and play with data2sd a bit :eek:

CM7 nightlies, btw and yes, sd card is backed up on pc;)
[Nexus One Android Development] paulk_:
You can do a2sd datasd, but only on beta 4. Not sure about preserving data when changing ext3>ext4 though.
[Nexus One Android Development] TheNewGuy:
It should preserve all the data when you convert to ext4... at least it did for me...
[Nexus One Android Development] mtw4991:
Yeah, tried it on 2.7.5.2...didn't work and seems many are having issues with b4 so I'll wait

Thanks. Does it give you the option to set the size of the partition, swap,etc also, like when you first set up ext2?
[Nexus One Android Development] TheNewGuy:
No it just converts the existing ext2 to ext3 or/and the existing ext3 to ext4..

Also make sure that your rom/kernel supports ext4 before you convert to ext4... because there is no way to down convert back to ext3. You would have to delete the ext partition and remake it... fwiw there is a nice guide on the internet that tells how to remove the swap/ext partition manualy and remake them with out effecting the fat32 partition... search for "manual sdcard partition" and you should find it.
[Nexus One Android Development] mtw4991:
cool, might have to check that out :)
[Nexus One Android Development] CAL7:
I had trouble booting after flashing Build 26 (everything flashed OK, but stuck on "X"). After various configuration experiments, I isolated the issue to DT 2.7.5.2 (release). It's not conclusive, but 2.7.5.3b04 works fine and 2.7.5.2 hangs.

Does that make sense to anyone (it sure doesn't to me)?
[Nexus One Android Development] mtw4991:
Maybe a corrupt file? Try downloading and installing 2.7.5.2 again. Working flawlessly here for quite some time.

You did flash it right after flashing the rom, but before rebooting, right?
[Nexus One Android Development] antiochasylum:
Yes, Clear your caches and dalvik cache. then reboot. Volume fixed.
[Nexus One Android Development] CAL7:
I have been using the same dt file for weeks over a dozen flashes, but just in case, I downloaded a fresh copy and will try it again tonight.

But you remind me of a question I have had: Does the order matter? I always flash the ROM, then a kernel, then DT, then any other flashed apps. Should DT precede or follow the kernel?
[Nexus One Android Development] temasek:
Doesn't matter so long DT is after ROM.
[Nexus One Android Development] CAL7:
I have seen the same problem with 26 and 27. I flash the rom, then flash DT 2.7.5.2: Hang at the"X".

Re-wipe caches, flash rom & DT 2.7.5.3b04: boots up fine. Back to recovery and flash DT 2.7.5.2: all good.

So, I have to flash beta 4 to get up, then I am able to flash down to 2.7.5.2. Weird?
[Nexus One Android Development] CAL7:
Same problem with 28, so it's something endemic to my current configuration. I tried a different procedure on 28:

Wipe cache and Davlik cache

Flash ROM

Flash Redstar's kernel

Flash DT b04

Flash DT 2.7.5.2

Flash WiFi calling

Re-boot

If I leave out the step for flashing DT 2.7.5.3b04, it hangs.
[Nexus One Android Development] temasek:
Original DT 2.7.5.2 or modified one?

I just extended my ext3 partition to 2gb and tried datasd using beta4 but reverted back to no datasd using modified 2.7.5.2 due to the low volume issue (unacceptable issue to me).

So far did not stuck at X using modified 2.7.5.2 or beta4.
[Nexus One Android Development] CAL7:
I had a couple on my sd card, and wasn't sure which was which. So I downloaded a fresh copy from the OP.

http://www.darktremor.info/files/a2sd/dtapps2sd-2.7.5.2-1-signed.zip

Is there a better one? What's the difference.

Thanks for responding (again).
[Nexus One Android Development] temasek:
Try this modified 2.7.5.2

This version delete the file 05mountsd in /etc/init.d/

http://www.mediafire.com/download.php?dhbd5r8nbf6rruw
[Nexus One Android Development] CAL7:
Thanks. I'll give it a try when 29 drops.
[Nexus One Android Development] mtw4991:
that's the 1 I use for what it's worth, and it works flawlessly!
[Nexus One Android Development] fuzzysmallthings:
Derp ... When I go to ROM manager and click partition SD card it tells me to install the latest version of clockworkmod even though I already have it. When I am in recovery and try partitioning my SD card there has never been any option for ext2 or 3 or anything ... What exactly is the problem here? It just tells me partitioning finished ... Woo Hoo! But actually nothing changes.
[Nexus One Android Development] temasek:
Your ext partition could possibly be corrupted by CWM3.xx

I suggest:-

1. Downgrade to CWM2.xx or Amon_RA Recovery

2. Check your EXT partition, it may be corrupted.
[Nexus One Android Development] elban:
Hi guys I'd like to try this apps2sd solution for space and speed.

I've read a lot but I'm a bit confused.

I know there are issues so what is the best setup for me?

I have CM7 RC2.

I understand Amon RA is the right recovery to have and that I should partition and format from there. But:

- Which version of DT? beta4 or 2.7.5.2(modified)?

- If I just flash it over will I automatically get apps moved to sd? Is it safe or is it better to wipe something?

- with a sandisk class 2 (average write speed 3.7 mb/s) will I get better performance than internal flash?

Sorry for the many questions and thanks a lot!
[Nexus One Android Development] temasek:
1. If you just wants apps and dalvik-cache to ext partition, use DT 2.7.5.2. If u also wants /data/data to ext partition (apps' data), use DT 2.7.5.3 beta04.

2. Definitely internal is faster than your class 2 sd card but if u don't move /data/data to ext partition u don't feel much difference in speed.

Post for your reference

http://xdaforums.com/showpost.php?p=11950587&postcount=674

DT COMMANDS

http://www.facebook.com/note.php?note_id=158826790833326
[Nexus One Android Development] greigster:
Sorry for noob question, but where do you find the command line for typing dalvik to sd.

I have rooted my nexus and I have installed DTa2sd but I have never understood that typing of commands malarkey
[Nexus One Android Development] temasek:
In terminal,

su
a2sd cachesd

Or

Check out GUI For Dark Tremor by eglubbo

http://xdaforums.com/showthread.php?t=991684
[Nexus One Android Development] CAL7:
The modified 2.7.5.2 worked!
[Nexus One Android Development] temasek:
Lol :D

Great!
[Nexus One Android Development] greigster:
Thanks for your advice temasek the GUI by eglubbo works great:D
[Nexus One Android Development] jergud:
beta 4 works well with the [ROM-AOSP][03-20-11] Evervolv | GRI40/Android 2.3.3 | v1.0.2a1 | Standalone Widgets!
[Nexus One Android Development] g1sean83:
Haven't been able to use nandroid backup/restore since using cache2sd....

-get a bootloop every time upon restore...

Any way around this?
[Nexus One Android Development] temasek:
Hmm you shouldn't have to do anything when u restore/backup. It should work. Hmm...interesting.

Try this when nandroid restore

1. Wipe all partitions including /sd-ext partition before u perform nandroid restore

2. Nandroid restore

3. Once restore completed, wipe dalvik-cache.

4. Reboot
[Nexus One Android Development] g1sean83:
Im using original dtapps2sd-2.7.5.2-signed.zip not modified (would this be the cause) ....it seems it's only the cache2sd causing stalling on ext backup and effing up restore- before I became an "app whore" I never had this problem!
[Nexus One Android Development] elgubbo:
Try wiping dalvik right before nandroid Backup.
[Nexus One Android Development] temasek:
Actually I would highly recommend the modified DT 2.7.5.2 cuz its basically meant for CM ROMS.

Try that. U may love it. :D

The link is a few post above this.
[Nexus One Android Development] temasek:
That shouldn't be necessary if DT is working properly.
[Nexus One Android Development] g1sean83:
Ok...

It sounds like it's the dalvik wipes that are needed (before backup and/or before restore), waiting for my battery to regain some juice then will attempt both and report.

Appreciate everyones input on the matter, thanks guys.
[Nexus One Android Development] elgubbo:
No it should not you are right. Was just an idea ... :)

But if dalvik is too big nandroid will not copy the other files on /data/? so i thought that might be the issue
[Nexus One Android Development] temasek:
Try using the modified version. U really don't have to wipe anything to restore or backup nandroids.
[Nexus One Android Development] g1sean83:
...ok, you haven't ever steered me wrong Temasek so I'm going to do a full wipe and re-install with modded DT

MANY thanks =P
[Nexus One Android Development] temasek:
U can just flash the modded one over your current rom. No need to start fresh.

Unless.......u want to.
[Nexus One Android Development] g1sean83:
I probably will...

...i hardly ever get any bugs that way... even if I shouldn't get any, I like the piece of mind. Whats 1hr complete wiping & restoring compared to numerous hours of bug tracking/fixing.

Temasek, thank you man, your always the first to step up and answer any query, I and many others really appreciate your responses to all our questions (just 'cause I didn't ask the Q doesn't mean I didn't need the answer) thanks bro
[Nexus One Android Development] g1sean83:
Well spank meeeeeeeeeee....

Thought it wouldn't hurt to try beforehand, and would you believe it...i just did my first successful nandroid restore since cache2sd was injected into DT. Don't know what was going wrong before...don't want to know tbh, all I do know is I have nandroid backup/restore again!

Today is a good day! 0.ö
[Nexus One Android Development] mtw4991:
O_o? Absolutely, not gonna touch this one!:D

j/k
[Nexus One Android Development] Skyheartblue:
Hi,

I'm using CM nightly v28 with a2sd latest beta script.

I also moved cache to sd. All is working 100%.

A question that I didn't find an answer to:

If i'm now flashing to the latest CM without a full wipe (just clear cache), do I need to re-flash the a2sd script again?

Do I need to initiate cache to sd again?

Thanks!

JB
[Nexus One Android Development] mtw4991:
You can flash the nightlies over the previous rom without wiping anything, cache included. Doesn't hurt, but not necessary. Always flash DT script after the ROM, but before rebooting. No, you don't need to re-run cachesd again as it's a one time thing.
[Nexus One Android Development] djmcnz:
Yes.

Your problem is that dalvik doesn't have enough space to inflate.

When your phone is booting after an upgrade run the following command in an adb shell:

a2sd cachesdreset

Do *NOT* complete the file system check (select 'n') let it continue and reboot automatically.

No more boot loop.