yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] temasek:
When u flashed dt script, your /sd-ext becomes your "internal" memory or what u called phone memory. DT "tricks" the os into thinking that /sd-ext is your /data partition.

Did u accidentally installed your touchpal keyboard to native a2sd, ie your external memory (ie froyo styled a2sd in your fat32 partition of sd-card)? If yes move it to internal.
[Nexus One Android Development] kinksind:
I could install and run this successfully on my N1 with MIUI. Is there a list of ROMs which support A2SD?
[Nexus One Android Development] mtw4991:
Most roms will support a2sd, just ask in the roms' thread if not stated in the op. Maybe you can compile a list of a2sd supported roms?
[Nexus One Android Development] enobano:
i been searching everywhere but i cant find an answer to this : do i need to reflash the rom that support a2sd after i install a2sd or does it moves the apps automatically once u partition?

thanks
[Nexus One Android Development] temasek:
Some ROM comes with in-build apps2ext support. As such you do not require to flash any stand-alone DT scripts. Eg some MIUI Roms, MM's SuperHybrid ROMs, etc.

Some ROMs are DT A2SD friendly but does not have in-build apps2ext function and thus you are required to flash DT A2SD script after every flash of that ROM before you reboot. Eg CyanogenMod ROM

Note DT A2SD is one of many apps2ext support available at present.
[Nexus One Android Development] enobano:
Mine is built in with darktremor. So if i partition my sd it will start using it automatically?
[Nexus One Android Development] temasek:
If yours is build-in then when u have a /sd-ext, you should have some option to enable it in your settings somewhere, possibly spare parts of the rom's settings.

I suggest u ask that question in the specific ROM's thread instead. This thread is more for stand-alone DT A2SD flashing over supported ROMs which doesn't have build-in apps2ext.
[Nexus One Android Development] enobano:
Ok thanks a lot.
[Nexus One Android Development] temasek:
Np.

I have never use your ROM so I won't know where the settings are.

Good Luck :)
[Nexus One Android Development] temasek:
Back to recovery and try wiping dalvik-cache and reboot.
[Nexus One Android Development] roeylee:
Is it required to install the ROM after installing DT? Or could I use an existing ROM?
[Nexus One Android Development] bassmadrigal:
If you install a ROM after you install DT, it will overwrite/erase the DT files. Whenever you install a ROM, you always need to follow it with an install of DT before you reboot the device, otherwise bad things will happen.
[Nexus One Android Development] roeylee:
I use a ROM for a few weeks.

A few days ago, I installed DT and did NOT touch the ROM. Is that why the A2SD not working for me?....
[Nexus One Android Development] bassmadrigal:
DT does not work on every ROM. Some ROMs just won't work with it. But if your ROM does work with DT, try issuing these commands in the terminal

su
a2sd reinstall
--reboot required--
su
a2sd cachesd
--reboot required--

After this, all your apps and dalvik cache should be moved to the sdcard (assuming DT is working properly).
[Nexus One Android Development] roeylee:
I got this:

export PATH=/data/local/bin:$PATH

$ export PATH=/data/local/bin:$PATH

$su

# a2sd reinstall

[ ] Apps2SD is launching...

__ _____

| \ |

| | |

|__/ | Darktremor Apps2SD 2.7.5.2-1 (2011-01-02)

[ ] GetProp Command = /system/bin/toolbox getprop

[ ] SetProp Command = /system/bin/toolbox setprop

[ ] Mount Point = /system/sd

[ ] Creating /cache/dc

[ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache

[ ] Starting Darktremor Apps2SD Version 2.7.5.2-1

[ ] Launching Apps2SD Start Program with reinstall

[ ] Starting Darktremor Apps2SD in reinstall mode

[X] SD Card not mounted.

Cannot reinstall applications to SD card.

#
[Nexus One Android Development] bassmadrigal:
Have you partitioned your sdcard? What ROM are you using?
[Nexus One Android Development] roeylee:
I'm using this ROM: http://xdaforums.com/showthread.php?t=987251 ([ROM][RC3][24.07.2011] Gingerbread 2.3.3 with HTC Sense 2.1).

I have a 1G EXT partition on a 8G SD card.
[Nexus One Android Development] bassmadrigal:
I wonder if your ROM doesn't mount the sdcard automatically... Are you running those from adb or from the terminal after your phone boots up?
[Nexus One Android Development] roeylee:
I use terminal emulator on my phone.

Thanks for your help!
[Nexus One Android Development] Ghost1391:
hey can v use MiniTool Partition Wizard Home Edition to partition the sd card ? r should v use only these RA 1.6.2 Recovery, Godspeed Recovery or ClockworksMod Recovery?
[Nexus One Android Development] bassmadrigal:
It doesn't matter what you use to partition the sdcard...
[Nexus One Android Development] Ghost1391:
ok cool thnx mate :)
[Nexus One Android Development] chrisonline:
I get always a error on install of a2sd:

Creating application directory on /sd-ext

mkdir: can't create directory '/sd-ext/app': Read-only file system

I have a fat32 and a 1gb ext3 partition.

I have tried it with an app Emulator and with adb. Both the same error.

I enter su and afterwards a2sd install.

Can anybody help?
[Nexus One Android Development] bobtentpeg:
Probably a corrupt ext partition, if you use CWM recovery, or one based off it, you may see ext corruption
[Nexus One Android Development] chrisonline:
I've created the partition again and the same error.

Now I have created the folder sd-ext myself and it seems it works now.

Very strange.
[Nexus One Android Development] Treatcon:
How do you enable ext4 data temasek? My partition is setup as ext4, is that what you were referring to?
[Nexus One Android Development] temasek:
U can download the dt scripts for ext4 from my mediafire folder.
[Nexus One Android Development] ghost_141:
Hello. This application is excellent and works great, I have only one problem. After installation, when I connect my device to the computer is connected as in debug mode although I have not enabled. Change the selection and restarting the problem persists. Could anyone help me? Thank you.
[Nexus One Android Development] splattx_x:
I have a question if anyone can help me. In the developer's guide it says:

Type the following right above the class_start default:
start sysinit
on property:cm.filesystem.ready=1

But in my init.rc file the "class_start default" line appears twice. Does it matter above which one I insert the above mentioned code? Here's the code snippet around the two appearances of "class_start default"

# ihryu 2010.07.19
setprop ro.rfkilldisabled 0
[B]class_start default[/B]
# +++++++++++++++++++++++++++++++++++++++++++

chown system system /sys/devices/platform/msm_sdcc.1/polling
chown system system /sys/devices/platform/msm_sdcc.2/polling
chown system system /sys/devices/platform/msm_sdcc.3/polling
chown system system /sys/devices/platform/msm_sdcc.4/polling
chown system system /sys/devices/platform/android_usb/composition
chown system system /sys/devices/platform/android_usb/remote_wakeup
# MAX8899 headset detect
chown radio system /sys/class/switch/h2w/state

# Define TCP buffer sizes for various networks
# ReadMin, ReadInitial, ReadMax, WriteMin, WriteInitial, WriteMax,
setprop net.tcp.buffersize.default 4096,87380,196608,4096,16384,110208
setprop net.tcp.buffersize.wifi 4095,87380,393216,4096,16384,110208
setprop net.tcp.buffersize.umts 4094,87380,196608,4096,16384,110208
setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040
setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680

# for datarouter
chown system system /dev/ttygs0
chown system system /dev/dun

[B]class_start default[/B]

# for Wi-Fi
setprop wifi.interface wlan0
insmod /system/wifi/ar6000.ko "ifname=wlan0"
setprop wlan.driver.apmode "unloaded"

So far I'm inclined to insert the "start sysinit" code right before the last "class_start" I'll do that and try to see if it works, but if anyone already knows the answer it could save me some time.

FYI It's for a Samsung Galaxy mini (GT-S5570L) phone.

Thanks!!
[Nexus One Android Development] resynx:
I installed this and in Root Explorer it shows all the apps being installed to the ext partition, but my internal memory is still going down the same as before. Just like when I was installing all my apps to my phone. Did I do something wrong?
[Nexus One Android Development] temasek:
App will still occupy internal memory due to its data. While your apps are now residing in /sd-ext, your apps'data are in /data/data. That is why your internal memory will still drop but at a slower rate.

Bear in mind some apps' data are pretty huge. Example Google Earth which occupies almost 17MB in /data/data.
[Nexus One Android Development] resynx:
Well I mean before I installed Darktremor I had about 20mb left in my internal memory. But now after I have installed it and reinstalled all my apps, my internal memory is back down to 20mb again. Is that normal? I thought the bulk of the app was supposed to be moved onto the ext partition.
[Nexus One Android Development] temasek:
Not normal indeed.

Btw did u move dalvik-cache to your sd-ext? U should...a2sd cachesd

U will see the difference later.
[Nexus One Android Development] resynx:
Alright I will try that, thank you!

Edit: type that into terminal right?

Edit Edit: Oh wait, I think my sd card is a class 2 though?
[Nexus One Android Development] temasek:
Yes. Su b4 u do the command

su

a2sd cachesd

Edit: Also search for GUI for DT A2SD. It may help u to tweak your dt, especially the low memory optimization stuffs.
[Nexus One Android Development] resynx:
I believe my sd card is a class 2 though, will it still work?
[Nexus One Android Development] temasek:
Wow.

If u don't do intensive gaming then its ok. U will feel slight drop in responsiveness but really negligible. But if u can, upgrade your card. I use class 10.
[Nexus One Android Development] resynx:
Yes, I actually plan on upgrading my card within the next month or so. Thank you so much for all the quick responses!
[Nexus One Android Development] temasek:
Np

Play with dt for a good understanding of how apps2ext works. An alternative is s2e in market which is way simple for most users.

I'm comfortable with dt so I'm still using dt.

Edit: DT Commands for your reference

http://www.facebook.com/note.php?note_id=158826790833326
[Nexus One Android Development] resynx:
Ah, yes I will look into it more. So I moved the dalvik cache and wow! I don't know if it's just in my head or not but my phone seems to run a lot smoother now, and it freed up almost 100mb of internal memory.

Another question, how do I increase the size of my current ext partition? Would I do it like before and select ext2 to ext3, increase the size and then upgrade from ext3 to ext4? And would that remove everything that I have on the ext partition currently?
[Nexus One Android Development] temasek:
1. Nandroid backup your sd-ext partition

2. Resize your sdcard fat partition using your favourite partition app in pc or linux. It should not cause any loss in data but I suggest do a backup first.

3. With the reduce fat size. Repartition your sd-ext to increase in size.

4. Boot to recovery and restore nandroid backup of sd-ext partition.

Done.

As for deciding what ext partition to use, it is personal as eg ext4 partition doesn't really increase in performance much but more of the increased scores which many term as e-penis results. Lolz

Upgrading ext filesystem from eg ext3 to ext4 will not result in loss of data so no worries.
[Nexus One Android Development] splattx_x:
@tkirton sorry to insist, I know you probably are busy but any chance you could help me out with this?

Thanks in advance, and sorry to bother!
[Nexus One Android Development] Hanny:
Im sorry but please PLEASE TRY TO HELP ME!

this is the thread i opened a week ago but the problem is OCCURING AGAIN AND IT IS NEARLY KILLING ME.

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

i have found the problem is really about dta2sd....

ALSO, SOMETIMES MY SD CARD UNMOUNT BY ITSELF(shown in gallery) AND WHEN I GO TO SETTINGS AND MANUALLY UNMOUNT AND MOUNT BACK, IT LEADS TO THE PROBLEM!! :(:(:(:(

should i install beta version??

should i convert back to ext-2? (before i change my card to class 10 i was using a class 4 cars with ext2 and it was stable)

also why i cant see people using ext2? is it not recommended?

what should i do?

PLEASE HELP!!!! :(
[Nexus One Android Development] temasek:
There is a a (slim) possibility if u have an untidy reboot when u use DT 2.7.5.2, u will encounter issues. I would suggest u try the DT 2.7.5.3 beta4 but it has a low volume bug so u have to perform a wipe /cache everytime u flashed DT and/or a reboot.

Try it and and see what happens - no harm done.
[Nexus One Android Development] Hanny:
thanks so so much for the reply and i hope ur still here now...

i now have an idea to do a complete re-flash (apps will be cared by titanium), but i want to know about the clear instruction :( sorrh for being a newbie but can u please use a minute to type me what should i wipe/flash when i do complete re-flash? please :(

i m using amon-ra 2.2.1, using CM7, have gapps, and another kernel to replace the original one

and i did! everytime i flash a single zip, i did wipe dalvik cache, cache, and battery stats for 2 times... bit i guess ive done something wrong...

any advices please?
[Nexus One Android Development] Hanny:
also i wonder what is the volume bug? u mean everythings volume will be lowered?

sorry cause i have not.much time to search and i really needa deal with it tonight :(

my best best friend just went abroad yesterday and i just hope i can whatsapp and skype with him stably....... :( please...
[Nexus One Android Development] temasek:
Nothing special instructions needed. Just flash dt last would do.
[Nexus One Android Development] temasek:
The dt beta4 had a low volume bug which results in all your media volume being very soft. So by wiping /cache it works as a workaround for this bug. Last I heard from tkirton was that he was doing a complete rewrite of dt but since sometime ago no news of him, probably busy in real life.
[Nexus One Android Development] Hanny:
thanks, really thanks for ur quick reply

so u mean i have to wipe /cache every single time when i manual reboot my phone? or just return to recovery and wipe ONCE after flashing beta4

well also i notice the reboot problem always occur when the media scanner is scanning

is there any possibility that there is something on my sd card that would disturb the media scanner (or DSPmanager) so it reboots?

also the "sd card unmount or not present" thing just started to happen today, and the thing to trigger it seems to be.. when an app touches the sd card (whatsapp/camera), the next time i open gallery, it gives the msg, and when i remount sd card in settings, reboot problem. i have really no idea about this...

sorry again and really really thanks for ur time...
[Nexus One Android Development] temasek:
Everytime u flash dt beta4 and everytime u reboot. Note this bug does not affect everyone so monitor if yours require this workaround of cache wiping.

As for rebooting issue, I hope its not your sdcard fault so don't think too much and lets do one step at a time.

Hopefully its not the fault of your sdcard.
[Nexus One Android Development] Hanny:
oh i see, them i will have a look at it.. cause this doesnt seem to appear before i change from beta4 to 7.5.2 half year ago...

well i guess this is not my sd card problem cause i used it carefully and flawlessly for a month and its completely new...

also last question do u think it is worth to remain ext4? i see someone saying ext4 has bugs...

ill start my titanium backup now, thanks a lot :)
[Nexus One Android Development] temasek:
Been on ext4 since idk when. No issues.
[Nexus One Android Development] Realtyem:
if my memory serves, back about a year ago when I had first got a t-mobile mytouch to play with, it had that problem and it wasn't even rooted. Turned out that it had one of those "free memory" apps that killed not running apps to free more memory. It was actually interfering with the media scan process and would make it have problems with the sdcard like what you are describing. Uninstalling the app was all i had to do and the problem just magically cleared up. Best part was that it was an app recommended by t-mobile lol. Perhaps that would help with your problem? Good luck.
[Nexus One Android Development] HackitZ:
i just typed this in emulator terminal;

a2sd reinstall -- phone reboots once it's done

a2sd zipalign -- reboot manually now (this alligns... every app... or idk...)

a2sd cachesd -- phone reboots once it's done (this moves the Dalvik to the EXT)

after i typed and hit enter everything went fine, the terminal said rebooting and now im stuck in a bootloop.

i tried wiping dalvic cache, but still the same.

it's a fresh install, of R800i 4.0.A.2.368 UK for my rogers play, rooted ans unlocked bootloader.

i then installed:

DooMKernel [Rel: v03][Dt: 01/Sept/2011][FW:4.0.A.2.368], all is still fine.

I then installed;

Darktremor 2.7.5.3 Beta 04.

all was fine until i entered a2sd cachesd, and the phone rebooted.

so now it's stuck in a bootloop.

any ideas on a way to fix this without starting over?
[Nexus One Android Development] temasek:
Deleted :p
[Nexus One Android Development] mtw4991:
Assuming that your DooMKernel and rom support ext4, try wipe cache/dalvik then reflash rom, kernel, DT script THEN reboot. You have to reflash DT script after every rom flash <before> you reboot. Good luck
[Nexus One Android Development] J.L.C.:
Is this script still under development? Any chance the volume bug will be fixed or that the script will move beyond beta 4?
[Nexus One Android Development] HackitZ:
ok i'll stop asking if i can move the dalvic cache to the sd card here as i posted the question in a more relevent thread.

I do have another question though.

I did move my apps the the sd card on a ext2 partion. i can see the apps there and just want to know why apps 2 sd still shows i can move some apps the the sd card.

is this because apps2sd wants to move the apps to the fat partition on my sd card and thinks the ext2 partition is still part of the system?

Thanks
[Nexus One Android Development] temasek:
U answered your own question.
[Nexus One Android Development] HackitZ:
Ok Thanks, it was nice to get confirmation.

The guide i read said that when you tell the apps to be installed to the sd card in terminal that option 1 is ext partition and option 2 is fat partition.

Is this correct?

The reason i ask, when i used the command and had the default location set to the fat partition i had almost 280 mb free space of the avaible 3880mb, now with the apps going to the ext partition i only have 180 mb free of the avaiable 380mb.

I did notice a big difference with speed when 250 + mb free was available on the 380 mb space on my play.
[Nexus One Android Development] temasek:
When u use dt, you don't use that hack trick on terminal anymore.

What u need to do is try to move dalvik-cache to sd so u see more internal storage available for your apps' data use.
[Nexus One Q&A, Help & Troubleshooting] JBDynamics:
Hi everyone, I am a somewhat new Android Developer, I am in the final stages of developing my first Android application targetted at 2.1/2.2 with a MinSDK version of API 5.

I just purchased a Nexus One directly from Google the GSM 3G 900/AWS/2100MHz version that is supposed to work with T-Mobile, but I did not sign a T-Mobile contract.

Here are my my questions,

1.) Is my phone unlocked?

2.) What is the easiest way to get a rooted 2.2 (Froyo/API Level 8) Android OS?

3.) Does ADB work out of the box?

Thanks a ton,

JBDynamics
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Wrong section!

Should be Q&A (third in 10 minutes!)

Im from France so I'll skip the first one (but it should be unlocked).

2. rooted API? I don't know what it means, but just install the latest SDK and a 2.2 ROM

3. adb is runing on the phone, just activate "usb debugging" in Settings/Applications

adb is in the android-sdk/tools folder

hope it helped a little
[Nexus One Q&A, Help & Troubleshooting] JBDynamics:
leonnib4, thanks for the info. As long as ADB works, then I should have an elevated shell (super user shell) just by issuing 'adb shell' then I should be able to run commands with su. Thanks! Basically, I need to be able to insert my own kernel modules with insmod which requires super user permission/root access (uid=0).

I really can't wait until I get my Nexus One!
[Nexus One Q&A, Help & Troubleshooting] TFJ4:
Your gonna have to root for SU. ADB works but you won't get SU permissions....
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Exacly.

adb is a the "Android DeBugging tool".

It provides you a shell access to to phone in almost any situation (even boot).

But it does not gives you root!
[Nexus One Q&A, Help & Troubleshooting] JBDynamics:
Can you point me in the direction of a rooted 2.2 ROM or the procedure to gain super user access? I was developing BlackBerry applications for a while and just came back to the Android platform a couple weeks ago so I am out of the loop on the latest information about Android. I found the post for the 2.1 ROM and T-Mobile/AT&T instructions, but I think I am getting an Unlocked Nexus One since I ordered directly from Google via my Android Developer account. If nobody has come out with a ROM and recovery image yet, please point me in the direction of the nexus one specific commands needed to build Froyo for the Nexus One (http://source.android.com/ is partially deprecated and not really updated for Nexus One and 2.2 build instructions). So I'm not sure exactly what to do to set myself up for super user access.

Thanks guys!

- JBDynamics
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Get AOSP code from source.android.com or find a ROM in Development forum ;)
[Nexus One Q&A, Help & Troubleshooting] JBDynamics:
Is Leo's Froyo 1.1.0 build the best thing around right now? Seems like his SparePartsMod is pretty cool.
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
I guess you're not asking me... lol :D

Try it, what could you loose?

just nanbackup in case

I do not wipe data
[Nexus One Q&A, Help & Troubleshooting] JBDynamics:
Thanks for the tips! Will definitely backup first.
[Touch GSM General] hawk_braz:
First of all: I'm sorry for the questions, but I don't know anything about WM. I'm new in this "world". Second: Sorry for my English, I'm brazilian and I have to pratice a little more.

I have an HTC Touch with WM 6:

CE OS 5.2.1620

ROM v. 2.20.720.2B WWE

ROM date 10/02/07

Radio v. 03.07.90

Processor OMAP850 201Mhz

128 MB RAM

Flash 256 MB

Data Bus: 16 bits

What is Elf, USPL, IPL, Elfin, HSPL...?

What I need to know to update my device to WM 6.5?

Does anyone recommends a topic to teach ou guide to update my device to WM 6.5?

What version of WM 6.5 is better to my device?

My device will work fine with WM 6.5?

Thank you very much for your attencion and sorry again...
[Touch GSM General] !Aman!:
pls read the stickies in Upgrading section.
[HD2 Windows Mobile 6.5 Themes and Apps] ray2021:
i have looked everywhere for them and can't seem to find them can someone help me :):mad:
[HD2 Windows Mobile 6.5 Themes and Apps] anhphe076:
Try web site

http://findicons.com/
[Touch Diamond2, Pure Q&A, Help & Troubleshooting] ThaDeanesta:
Edit: We now have a whole Q&A Forum...
[Touch Diamond2, Pure Q&A, Help & Troubleshooting] Scabes24:
Ok theres something I've been wonderin, it might be a toddler question but what are the guidelines for full Backup/Restore from one ROM to another (with same rom/sense build)? (using SPBbackup, RescoBackup, or SKtools)

And when I know I can't do a FULL restore what can I restore? (ex: Dutty r15 23569 --> Nhathoa 23123) prob not registry, but what about sys files?

Or if its just a different version of the same rom.. for example --

-- Full backup Energy Cookie Dinik 23569 (july2) -> Full restore after flashing Energy Sense2.5 standard. (and lets say I skinned a few things and installed apps like cleanRAM, IconChanger, Opera 10.. before the backup) -- Would it work?

Thanks.