yashsingh1/xdaforums huggingface dataset:
[Off-topic] telegraph0000:
Another brahilliant gizmo gadget whatchamacallit...
[Off-topic] telegraph0000:
E.T Iphone home....
[Off-topic] xxtreem11:
*facepalm*
[Off-topic] flyboyovyick:
lol. Good idea!
[Off-topic] fiktion:
Looks like a condom for your fingers.
[Hero CDMA General] scirio:
I've been runnong DC v.2.06 happily since it came out using A2SD.

Yesterday I ran out of room for apps on a 1GB partition. I knew something was wrong with A2SD and my internal phone memory was @ 32.**MB! Now I was sure A2SD wasn't working so I pulled out the SD card and all apps still ran - good sign that A2SD was off, right?

So I backed up and partitioned the card in recovery to 32mb swap, 1024mb ext2 and the rest fat32. Internal memory stayed @ 32mb :(

Then i instaled A2SD 2.5 and then I got a boot loop. nothing would fix it, couldnt adb, couldnt nandroid restore via RA so i RUU'd to stock, rooted and am now going to start fresh

What should I do and in what order? I think I should:

1. Root w/ RA 1.6.2 [done]

2. Partition SD as i did earlier

3. Flash my favorite rom

Am i partitioning at the wrong time?

UPDATE: Got it working, don't know why it ever didn't...

After a full wipe, Aloysius flash, Partition w/ext3 and swap it still wasnt working. There wasn't even an /system/bin/a2sd directory there!

Flashed the A2SD 2.5 zip (even though it supposed to come with Aloysius 2.0.4v2)

Then ran adb shell /system/bin/a2sd Install successfully!
[Hero CDMA General] tkirton:
I don't know why you couldn't nandroid restore. That isn't even affected by a2sd.

You partition while you are in recovery.

Boot loop would normally be caused by the symlinks being present when the SD card isn't recognized (in other words, a dead symlink). When you partition the card, are you using ext4? A2SD 2.5 doesn't know what ext4 is (most ROMs don't know what that is, also).

If so, repartition the card to ext3.
[Hero CDMA General] scirio:
I did partition in recovery, not sure where else it would even be possible...

I am partitioning with ext2 then converting it to ext3. iv'e also tried without converting it to ext 3. I never use ext4.
[Hero CDMA General] tkirton:
Should have worked. Can you send me a logcat when the phone first boots? I display status messages during phone boot that logcat captures. I should be able to help you once I figure out what the program is doing.
[Hero CDMA General] Coldheat1906:
I'm having the same problem..... I thought that I was using a2sd but I noticed that everytime I install a new app my internal memory goes down......

I followed the same steps as listed above.
[Hero CDMA General] tkirton:
Try this: adb shell "\system\bin\a2sd install"
[Hero CDMA General] scirio:
Actually forgot to mention that before I took any action i did this:

and it did in fact display

So i did the a2sd install anyway because it couldnt hurt and that didnt work. Said it couldnt find my ext 3 but I DID make the partition, twice, in fact. And I tried it with a ext2 partition also. AND my sd card size shows ~6GB rather than > ~7 as it should since i specified a 1GB ext3 partition
[Hero CDMA General] scirio:
You try running google Talk then going back in to market?

PS - dont hijack my thread :D
[Hero CDMA General] azn1:
damn, any chance on how to reinstall gtalk ? I removed it.
[Hero CDMA General] thajacka:
i have this same problem as well, it looks like its working, but everytime i install an app my system memory goes down, i am down to 30mb now too. how to fix this, i am running fresh latest rom.
[Hero CDMA General] thajacka:
i just installed a2sd-2.5-signed.zip and now my free memory says 115mb. so i guess its working now. i didnt move the dalvik cache either, and dont think i will as this is more than enough free memory. i think with the old one it was installing it at both places, on sd and internal memory. cause my apps all still work fine.
[Hero CDMA General] jerry43812:
I've just found this issue as well, I think... very strange situation here...

I wouldn't see the partition of the SD though, since I use windows, huh?
[Hero CDMA General] scirio:
UPDATE:

I just completed RUU 1.56 so I'm working from a clean slate.

Order of events

Rooted using the latest Fresh Kitchen

RA v1.6.2

Partitioned SD card - 32 swap; 1024 ext2

Flashed latest Aloysius ROM (that includes a2sd 2.5)

Booted phone - free space = 101mb

Installed TitaniumBackup from Market - free space = 99.25mb WTF!?

booted to recovery

Other > move apps and dalvik-cache to sd

converted ext2 to ext3 - "successful..."

booted phone - free space = 99.25mb WTF??!!

Help. ADB says my apps are in fact symlinked to the SD but they aren't... or they're ALSO on my phone memory :(
[Hero CDMA General] tkirton:
The problem is that it found the partition, just couldn't mount it since it was already mounted. Attempting to fix that in the next version since that is a confusing message.
[Hero CDMA General] tkirton:
Is the /data/dalvik-cache symlinked to /system/sd/dalvik-cache? Even if you copy files to the sd card, if you don't symlink, it won't store it on the sd card. To symlink it, run /system/bin/a2sd cache.
[Hero CDMA General] tkirton:
Windows doesn't know anything about ext2/ext3 partitions. To see that partition on your computer, you'll need Linux.
[Hero CDMA General] tkirton:
115mb sounds about right without the dalvik-cache moved.
[Hero CDMA General] Konikub:
You meant 2.0.4v3 right!?! V2 does not have apps2sd.......:)

....and if you rip v3 apart...you will find system/bin/a2sd :p
[Hero CDMA General] wjason:
I have tried to get A2SD working several different ways and my internal memory is still around 49MB. I would assume if A2SD is working that it would be higher.

Like a previous poster, the adb returns data indicating that it is working. I tried flashing the A2SD 2.6.1-signed.zip from another thread and no dice. I tried moving the apps through recovery and despite the successful message, no dice.

I am running Fresh Toast with BFS/OC so my SD Card is already partitioned. Am I missing something?
[Hero CDMA General] tkirton:
Try the A2SD 2.7 beta 1...it seems to work better than the 2.6.1 (did a complete rebuild of it).

http://www.darktremor.com/files/misc/a2sd-2.7beta1-signed.zip

I think the issue with 2.6.1 was that the program simply was too big and, if a ROM was time sensitive, it had a tendency to crash.
[Hero CDMA General] wjason:
I tried 2.7 with the same result. Internal phone storage is the same. Sorry for the noob question but do I have to "turn on" A2SD somehow to get it to work?

Thanks for your time.
[Hero CDMA General] tkirton:
What is your internal phone storage at?

It could be dalvik-cache. One of the new things with this version is that it looks for a line containing cm.filesystem.ready in your init.rc. If that isn't found, then your Rom is not designed to hold processing of dalvik until A2SD is completely ran. In those cases, it runs a lite version of itself that moves the apps, but leaves the dalvik-cache.

Since you are using 2.7, if you go into the phone and type /system/bin/a2sd check, it will tell you if everything is setup correctly.
[Hero CDMA General] wjason:
I wiped, repartitioned, and reflashed and now my internal is around 69MB free (most I have seen).

a2sd check shows the following:

A2SD Status Report

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

Apps - Linked to SD Card.

File .noa2sd not found.

[*] Programs run from SD card

Private Apps - Linked to SD Card.

File .noa2sd not found.

[*] Private Programs run from SD card

Dalvik Cache - Regular directory.

File .nocache found.

[*] Dalvik runs from Int. Storage.

Swap - Partition present.

- File .noswap not found.

- [*] Swap starts.

Property Patch - Property found.

- cm.filesystem.ready

- [*] Boot image init.rc patched.

Thanks for your time!!
[Hero CDMA General] tkirton:
That helped.

Your .nocache flag file is present...probably a leftover from 2.6.1.

In adb shell, type /system/bin/a2sd cache

That should put your cache on your sd card. It'll help with memory.
[Hero CDMA General] wjason:
It didn't take so I ran a2sd repair as instructed and there is an ! next to busybox installed, but symlinks are not present. I searched the forums and google and was not able to find instructions to create the symlinks (sorry).

:confused:
[Hero CDMA General] tkirton:
Should've done it automatically...but that's a new function with this version, so I may have to fix that.

In the meantime, type /system/xbin/busybox --install /system/xbin. That should create the symlinks.
[Hero CDMA General] wjason:
I now have 107MB free so it looks like I am all set. Thank you so much for your time and assistance.
[Hero CDMA General] tkirton:
Glad to see it is up and running for you. If you need any other help, let me know.
[Hero CDMA General] cmattern80:
thanx

i wanna say thanks wjason for asking the question about apps and davlik.Then i would really like to thank tkirton helped my memory alot brought it up to 101m. I'm running fresh 2.1.1 with 2.7 app2sd version pretty new to android trying to take it all in.
[Hero CDMA General] keijames:
Question to Sprint;

I did install your script to my 2.1 device T-Mobile Pluse & X10 mini, it works great ! Thanks for that.

Does these scripts work for Android 2.2 Froyo ?

I purchased APAD Freescale iMX515 Cortex A8 8" inch tablet, however the /data are as small as ~200MB, most of games apk do not support 2.2 Apps2SD, so it installed within /data/app directory, where I have 4GB internel SD with not being usefully. Also It has external SD 8GB as well, which I did partition with Ext2 ~1.4GB.

I am thinking your Apps2SD scripts may help in this case.

many thanks

James
[Android Software/Hacking General [Developers Only]] Floady:
Hi,

I'm building an open source 2D game engine in C++ called YoghurtGum(to be found here: http://code.google.com/p/yoghurtgum/).

It has a working Windows Mobile build, and I'm hoping to get an Android build working as well. Right now, the engine compiles without error and my test game links fine, but when I try to copy it to the emulator, it gives the following error:

knight666@Katja-Linux /media/Data/Shared/Galaxians $ acpy Galaxians.android
819 KB/s (420657 bytes in 0.501s)
link_image[1638]: 825 could not load needed library 'libstdc++.so.6' for '/system/sbin/Galaxians.android' (load_library[984]: Library 'libstdc++.so.6' not found)CANNOT LINK EXECUTABLE

acpy is a small script I wrote that looks like this:

#!/bin/sh

FILEPATH=`dirname $1`
FILENAME=`basename $1 .c`

adb push $FILEPATH/$FILENAME /system/sbin/$FILENAME
adb shell chmod 777 /system/sbin/$FILENAME
adb shell /system/sbin/$FILENAME

I'm using the following command to compile the test game:

oem@androiddev /media/YoghurtGum/Tests/Galaxians $ sudo make
arm-none-linux-gnueabi-g++ -g -Wall -Werror -O2 -w -static-libgcc -I ../../YoghurtGum/src/GLES -I ../../YoghurtGum/src -c src/Alien.cpp -o intermediate/Alien.o
arm-none-linux-gnueabi-g++ -g -Wall -Werror -O2 -w -static-libgcc -I ../../YoghurtGum/src/GLES -I ../../YoghurtGum/src -c src/Bullet.cpp -o intermediate/Bullet.o
arm-none-linux-gnueabi-g++ -g -Wall -Werror -O2 -w -static-libgcc -I ../../YoghurtGum/src/GLES -I ../../YoghurtGum/src -c src/Game.cpp -o intermediate/Game.o
arm-none-linux-gnueabi-g++ -g -Wall -Werror -O2 -w -static-libgcc -I ../../YoghurtGum/src/GLES -I ../../YoghurtGum/src -c src/Player.cpp -o intermediate/Player.o
arm-none-linux-gnueabi-gcc
-Wl,--entry=main,
-dynamic-linker=/system/bin/linker,
-rpath-link=/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib,
-rpath=../../YoghurtGum/lib/Android,-L/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib
-nostdlib
-lstdc++
intermediate/Alien.o
intermediate/Bullet.o
intermediate/Game.o
intermediate/Player.o
../../YoghurtGum/bin/YoghurtGum.a
-o bin/Galaxians.android

(The line breaks are just for clarity)

However, when I remove lstdc++ in the linker, the program doesn't compile.

My questions is this: how can I dynamically link to libstdc++.so.6 or remove the dependency entirely?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] Brut.all:
You should not compile Android native code manually - use NDK instead.
[Android Software/Hacking General [Developers Only]] knight666:
Hi. I'm the actual developer for this project. My friend was posting for me because I couldn't.

What are you suggesting, exactly?

That I use the compilers as provided by Google?
[Android Software/Hacking General [Developers Only]] Brut.all:
http://developer.android.com/sdk/ndk/index.html

Of course it is possible to crosscompile sources normally, but NDK makes you sure, that you are using official API only and that you are linking external libs properly. If you will compile it manually, then your app may not work on some devices or break in the future.
[Android Software/Hacking General [Developers Only]] knight666:
You don't think I know about the NDK?

I'm linking against the folder containing the libraries. (-rpath-link=/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib) I'm linking against libraries supplied by Google. (-lstdc++)

I'm just using CodeSourcery's ARM compilers instead of Google's.
[Android Software/Hacking General [Developers Only]] Brut.all:
Ohh, didn't notice that, sorry.

I don't have much experience with C++, so forgive me, if I will say something stupid, but... don't you think that if there is a problem with libstdc++.so.6, but Android doesn't have such file (has libstdc++.so), then probably you have accidentally linked it against libstdc++ from your operating system? Maybe path to NDK libs directory is incorrect, so system directories are used?

Still I suggest you to use NDK fully, not just link to it. You won't have such problems :-)

EDIT:

Or, rather, from CodeSourcery toolchain - system libs are for different architecture, so they shouldn't be used by linker :-)
[Android Software/Hacking General [Developers Only]] knight666:
This gives me a slew of new and exciting errors, mostly related to me using the STL even though that isn't available on Android. :)

I'll post again when I've fixed them and it still doesn't run on the emulator.
[Android Software/Hacking General [Developers Only]] knight666:
Alright, I'm getting the following errors:

/home/oem/android-ndk-r3/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-g++ -Wl,--entry=main,-rpath-link=/system/lib,-rpath-link=/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib,-dynamic-linker=/system/bin/linker,-L/home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib,-rpath=../../YoghurtGum/lib/GLES,--gc-sections -nostdlib -lstdc++ -lm -lc -lGLESv1_CM -z /home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib/crtbegin_dynamic.o /home/oem/android-ndk-r3/build/platforms/android-5/arch-arm/usr/lib/crtend_android.o intermediate/Alien.o intermediate/Bullet.o intermediate/Game.o intermediate/Player.o ../../YoghurtGum/bin/YoghurtGum.a -o bin/Galaxians.android
/home/oem/android-ndk-r3/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: warning: ../../YoghurtGum/bin/YoghurtGum.a(crtbegin_static.o) uses 32-bit enums yet the output is to use variable-size enums; use of enum values across objects may fail
intermediate/Game.o: In function `Galaxians::Init()':
/media/YoghurtGum/Tests/Galaxians/src/Game.cpp:45: undefined reference to `__cxa_end_cleanup'
/media/YoghurtGum/Tests/Galaxians/src/Game.cpp:44: undefined reference to `__cxa_end_cleanup'
intermediate/Game.o:(.ARM.extab+0x0): undefined reference to `__gxx_personality_v0'
intermediate/Game.o: In function `Player::Update()':
/media/YoghurtGum/Tests/Galaxians/src/Player.h:41: undefined reference to `__cxa_end_cleanup'
intermediate/Game.o:(.ARM.extab.text._ZN6Player6UpdateEv[Player::Update()]+0x0): undefined reference to `__gxx_personality_v0'
intermediate/Game.o:(.rodata._ZTIN10YoghurtGum4GameE[typeinfo for YoghurtGum::Game]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
intermediate/Game.o:(.rodata._ZTI6Player[typeinfo for Player]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
intermediate/Game.o:(.rodata._ZTIN10YoghurtGum6EntityE[typeinfo for YoghurtGum::Entity]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
intermediate/Game.o:(.rodata._ZTIN10YoghurtGum6ObjectE[typeinfo for YoghurtGum::Object]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
intermediate/Game.o:(.rodata._ZTI6Bullet[typeinfo for Bullet]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
intermediate/Game.o:(.rodata._ZTI5Alien[typeinfo for Alien]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
intermediate/Game.o:(.rodata+0x20): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
collect2: ld returned 1 exit status
make: *** [bin/Galaxians.android] Fout 1

When I add the options "-fno-exceptions" and "-fno-rtti", it compiles but it doesn't run. Basically it ignores the errors it finds on linking when those options are turned on.

I've had these problems before and last time I had to link using g++ instead of the linker itself. However that doesn't work here, because I'm already doing that.
[Android Software/Hacking General [Developers Only]] Brut.all:
Android doesn't support RTTI and exceptions (neither STL). Good news is that AFAIK these are all things, which Android lacks ;-)

There are many complaints about it (http://groups.google.com/group/android-ndk), some people tried to workaround these restrictions, e.g. using STLport.
[Android Software/Hacking General [Developers Only]] knight666:
When I disable exceptions and RTTI, the program compiles (hurray!), but the emulator returns the following:

knight666@Katja-Linux /media/Data/Shared/Galaxians $ acpy Galaxians.android
Filename: 'Galaxians.android'
462 KB/s (242397 bytes in 0.511s)
[1] Segmentation fault /system/sbin/Gal...

So it ignores the errors instead of resolving them. :(
[Android Software/Hacking General [Developers Only]] Brut.all:
You didn't think you will add some switches and then app, which use some missing features, will magically work, did ya? ;-)

If you want to run your framework on Android, then you should modify it to not use STL, exceptions and RTTI.
[Android Software/Hacking General [Developers Only]] knight666:
I'm not using any of these. Nor am I using exceptions. I'm also not using the STL in the Android build.

I do, however, have several base classes with virtual functions.
[Android Software/Hacking General [Developers Only]] Brut.all:
Isn't __gxx_personality_v0 connected to exceptions? You had some reference to it in Player::Update() method.

You don't have much errors, mainly these virtual methods. You should be able to easily port it to Android :-)
[Touch Pro2, Tilt 2 Windows Mobile General] Blitzzer:
Just got a new TP2 replacement for the TP1 I dropped, it came pre-loaded w/6.5, and im still running on the stock Sprint ROM w/no other apps, etc.

Ive read other posts, but maybe im just retarded or missing something.. I installed advanced configuration tool 3.3 > enabled "sms delivery notification" under messaging > soft reset > send text to gf > get reply from gf... *** no delivery notification!!

Anyone know why? Do I have to disable threaded layout or something? Or do they go somewhere other than the standard sms inbox?

Thanks!
[Touch Pro2, Tilt 2 Windows Mobile General] Jackos:
If you're using the HTC messaging app you need to enable delivery notifications while writing a message. Menu -> Tools -> Message Option
[Touch Pro2, Tilt 2 Windows Mobile General] Blitzzer:
thanks for the reply. but i cant seem to find 'tools' under any sms menu button.. and I assume by htc messaging app, you are referring to the one that opens if you select the sms icon in TF3D nav bar and then just tap the screen?

sorry for the n00b question lol.. but ive only had this phone for a couple of days now and am still trying to get the hang of it.
[Touch Pro2, Tilt 2 Windows Mobile General] Jackos:
You're welcome. The Menu appears when you writing a message.
[Touch Pro2, Tilt 2 Windows Mobile General] Zylograth:
Follow the screenshots. . .
[Touch Pro2, Tilt 2 Windows Mobile General] Blitzzer:
my menu is identical to yours, only it ends with 'recipient phone number'.. there is no 'message option' in the menu.

i also reopened advanced config and verified that 'sms delivery notification' was enabled.. and indeed it was. is that all you did to enable it on your phone, or did you use a different method?

thanks again for the help!
[Touch Pro2, Tilt 2 Windows Mobile General] Jackos:
Maybe the Sprint stock rom doesn't support this feature. No idea.
[Touch Pro2, Tilt 2 Windows Mobile General] Blitzzer:
hmm any idea how i could find that out?
[Touch Pro2, Tilt 2 Windows Mobile General] Zylograth:
Maybe try this?

http://xdaforums.com/showthread.php?p=4376025
[Android Software Development] Waza_Be:
Hello Everybody,

I am currently developing a program that get all the running apps and the icon. That work pretty weel on more than 2.000 users but recently, a sprint hero user told me about a force close. After investigation, this line in causing problem:

BitmapDrawable iconDrawableBitmap=(BitmapDrawable) monPackageManager.getApplicationIcon(pckName);

with the processus com.htc.android.htcime and I get this error:

So I guess that the htc virtual keyboard on a Sprint Hero has a 9patch icon instead of a static bitmap or png like all the other softwares?

What sould i do to detect a 9patch and transform it into a Bitmap Ressource?

Thank a lot.

Profete162
[Android Software Development] Brut.all:
But why do you want BitmapDrawable, not general Drawable object? You shouldn't do casting here, because this method may return any Drawable, not just BitmapDrawable or NinePatchDrawable. In the future you will have problems, because e.g. in some cases ClipDrawable will be returned.

I think you try to do something, that you shouldn't.
[Android Software Development] Waza_Be:
Hello

Thank you for the answer.

The reason why I don't want to use it as a drawable is simple: after in my code, i draw the icons of all the applications in a canvas.

And i draw with canvas.drawBitmap(...) and I cannot use a drawable there, so I need a Bitmap.

So, is there an other method to draw a Drawable in a canvas?

I am not an Android Guru, but I feel like when I have a number coded as a string and I need an integer for mathematical operations, no?

Thank a lot.
[Android Software Development] Brut.all:
I don't have much experience in developing Android apps, but I found this method:

http://developer.android.com/refere...e/Drawable.html#draw(android.graphics.Canvas)

:-)
[Android Software Development] Waza_Be:
Yes, and....?

This doesn't allow me to use a Drawable.... I need to instanciate it as a Bitmap and then draw into a canvas..
[Android Software Development] Brut.all:
Errr... this is method of a Drawable :-)
[Android Software Development] horb:
A part of my own code : I use Bitmap instead of Drawable, and create the Bitmap from the Drawable with my dTob method.
[Desire General] stuarm:
I have a htc desire on orange uk. The gmail labs feature 'green robot' allows you to show/see if you have an android phone or not, by an icon next to users.

When i use my new desire, it doesn't show that i have android against my account . Is this an orange issue with talk not being available? other users show fine.
[Desire General] TurkzZ:
yh mine went as well, i tink it happen when i changed the keyboard to the one where u can choose speach to txt
[Desire General] stuarm:
via what setting?
[Desire General] biemsy:
Those icons show your Talk status. If you are using the Orange firmware, you aren't signed into Talk on an Android phone. And even when you are logged in, it doesn't show your own icon as a robot, just anyone else's.
[Desire General] stuarm:
Day one and fallen fowl of the lack of gtalk/talk.

Annoying as hell that. Thanks for nothing Orange :-(

Hope you rethink that in future updates.
[Desire General] napsterdj:
Has anyone found a solution yet ? I mean its no big deal but its just annoying why my icon is not a "Robot" instead of a "dot" .

Ive enabled it on gmail labs and still its not showing up.