yashsingh1/xdaforums huggingface dataset:
[Nexus One Q&A, Help & Troubleshooting] MintyFloss:
I'm traveling and will be staying in china for 2 months. I have a CMCC sim card, but only with unlimited minutes... I have access to 'browser, gmail, etc. but i'm wondering what the prices for data are if i dont have a plan.

I'm on Edge, if it makes a difference.

Thanks in advance.
[Nexus One Q&A, Help & Troubleshooting] chinaxujun:
oh it is terrible···1yuan 1m in beijing
[Android Software/Hacking General [Developers Only]] berardi:
If this doesn't exist, just tell me but I'd figure this was the best place to ask...

I'm looking for something like a C compiler for Android (please note I mean a C Compiler running ON android, not to compile FOR android). If there's a website that will run on android and will run C code like for learning purposes that would be great too.

Basically I'm learning C by reading on the train, and would love to be able to try my examples rather than just reading them. Appreciate any advice you might have. Worst case I just buy a netbook.
[Android Software/Hacking General [Developers Only]] berardi:
http://www.dignus.com/dcxx/compileit.html

I found this but it only outputs assembly language, which doesn't really tell me if my code is doing what I was hoping for. anything else along these lines?

Thanks again
[Android Software/Hacking General [Developers Only]] kevin@TeslaCoil:
There's a few websites that let you paste code and compile and run it. One such site is www.codepad.org. They're running in some virtual machine type environment for security purposes.

Another option would be to use something like ConnectBot to ssh to a computer somewhere and run gcc there.
[Android Software/Hacking General [Developers Only]] christine600:
On my Palm I fiddled a bit with OnBoard C. Would be great to get that one ported to Android. :)

http://onboardc.sourceforge.net/

Or an onboard version of Java for that matter.
[Android Software/Hacking General [Developers Only]] berardi:
Yeah I've considered the remote option, I can always do that. I guess I'm not really going to get a good experience no matter what when I'm on a tiny phone screen without a keyboard, right? :)

I really do appreciate that site though, that will be nice for playing around at work with.

That looks sweet
[Android Software/Hacking General [Developers Only]] Vineux:
Hi !

As far as I know, the Palm Pascal Compiler designer (PP and also PIAF and BIRD used by some onboardC users) is coding an onboard compiler for Android. It generates ARM executable code directly.

At this time, the application is not fully functionnal, but it nicely compiles some pieces of ISO Pascal code. It will also include an assembler (the disassembler is working well).

Once functionnal, I think it would be easy to create a C compiler (as it has been done with IZBasic)
[Android Software/Hacking General [Developers Only]] Fiberglass:
Probably a bit late but for any others looking for something similar

I just found this, it may not be 100% free but give it a look eitherway ;)

https://compilr.com
[HD2 General] Jonas981:
Hi, i just had an accident with my HD2 and now my display is broken, and i was wondering if there is any swedish here that knows any reparation places for my HD2 where i can turn it in ? TY M8s. dont know if i posted in the right place of the forum either :/ so sorry for that. Bye
[HD2 General] NoSecks:
im sry for ya ...

but can u may up a pic :-D? xD
[HD2 General] ALEXRUSS55:
Pics would be appreciated, maybe it would call more attention to other forum members that can help.
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Hi

Here is what I tried:

$ adb shell busybox df -h
Filesystem Size Used Available Use% Mounted on
FIX ME! implement getmntent() bionic/libc/bionic/stubs.c:354

I have to say it is a custom ROM.

Can it be moved from a ROM to another?

I'm cooking one with root acces (xbin/su) and Superuser.apk.

All this is under Froyo.

What did I do wrong?

Thx
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Solved

Pushed busybox-armv6l and no problem since

http://busybox.net/downloads/binaries/1.16.1/
[Nexus One Q&A, Help & Troubleshooting] britoso:
yup, it works fine. Thanks.

adb push busybox-armv6l /system/bin/busybox
adb shell chmod 755 /system/bin/busybox
[XPERIA X10 General] giwrgos:
i bought today my x10 and my searching a way for tranfer my contacts from outlook 2007 to my x10. i found a way using google calendar. is there any other way to transfer my contacts with out uploading to the net and after download it to my mobile?
[XPERIA X10 General] visitador02:
Either Google sync or Sony Ericsson sync. I think Android devices, given that it is Google software, wants you NOT to use anything related to Microsoft.
[XPERIA X10 General] ukon:
Well. you could export them from outlook and upload them onto gmail.com

Or you could syncronize your outlook with gmail.

But I think that Moxxier or whatever it was called can sync with outlook, but I am not that sure tho.. Since I do not have Outlook anymore.
[XPERIA X10 General] phylax1:
Try CompanionLink USB. u can download a free 14-day evaluation version.
[XPERIA X10 General] Rashkae:
Companionlink worked beautifully for me.
[Android Apps and Games] zhs2472:
Have you ever heard the Mobile Phone Throwing Championships? You don't need to attend it. Try this app! It can let you know how far you can throw your cell phone. Just hold it to do a throwing action, but do not really throw it out. It can show you the best throwing distance.

Of course you can use it to do some arm exercises.

- An online top list included where you can submit score

Search "Mobile Phone Throwing" on Android Market.

Any questions or suggestions, I will be monitoring this thread!

Thanks Guys

View attachment 336027
[Android Apps and Games] Brut.all:
Was it calibrated in real-life situations? ;-)
[Android Apps and Games] fleity:
lol looks i some people might need a strap like on the wii-motes xD
[Android Apps and Games] farukb:
please be careful, misuse of this application can and will harm your device,and possibly your health
[Android Apps and Games] zhs2472:
i am trying my best to calibrate it but i found it is hard,because there are differences between different device's sensor.
[Android Apps and Games] o4kareg:
Could you put apk here?
[Android Apps and Games] zhs2472:
OK.i put it.
[Android Apps and Games] o4kareg:
thanx a lot! placed it at russian PDA forum, people have a lot of fun :D

UPDATE: tested it for several times, but it shows the much smaller distance than IRL. Are these any tricks? My top result is about 5m only.
[Android Apps and Games] DarkDvr:
I foresee a LOT of destroyed android phones in the future.

How about creating an app that shows how high you can throw your phone in the air based on GPS? You can always catch it when it comes down... or try to.

It's only a $600 phone =)
[Android Apps and Games] o4kareg:
especially if the PDA belongs to someone else :D
[Android Apps and Games] cten1:
um ok?

really weird app haha
[Touch HD Windows Mobile ROM Development] isaaccsloh:
dear forumer, i have facing is problem after i flash back from wm6.5 to wm6.1 stock rom1.59, it same as before i flash it to wm6.5. may i know from u guys, how to solve this problem. thank in advance. for all urs advise and opinion.
[Touch HD Windows Mobile ROM Development] mnemak:
check what radio u've been with b4 the downgrade- if u had 17 and now with stock rom u got most likely 14 this might explain the difference :)
[Touch HD Windows Mobile ROM Development] isaaccsloh:
battery drain fast than before after upgrade and downgrade.

bro what i check b4 everything the same is there any different on protocal? i m using the same battery (momax x-level 1500mAH. any advise? thank.
[Touch HD Windows Mobile ROM Development] triad88:
here you are

for win6.1 there is also some power/battery tweaks.

http://translate.google.com/translate?u=http://www.pocketpc.ch/htc-touch-hd/44641-htc-touch-hd-tipps-tricks-tweaks.html&hl=de&ie=UTF-8&sl=de&tl=en

the link above is translated from german to english.its a whole list of tweaks that i have used in the past when i had 6.1.kinda want to go back to also 6.1 but to lazy to flash and install all the apps and settings.the battery tweak is at #14.still thinking to install back to onkolog 6.1 version that is very light and fast here below is the link.

http://xdaforums.com/showthread.php?p=3317641#post3317641

PS:make a backup of your registry!good luck with tweaking and downgrading ;)
[Touch Cruise Android Development] syto203:
ever since android development for polaris started i've been trying to make it work on my device but at the end i lost hope

but now they could be installed to NAND. unfortunately this time it doesnt work as well

i flash the panel1 31-03-10.nbh donut (latest at time

then after placing myn's warm donut androidinstall.tar in /andboot " yes it in root "

rebooting n pressing the vol.up then choosing install n agree to dialogues

it shows formatting n the text scrolls fast n im the menu again

i reboot n doesnt press on anything, i face this error

ANDROID [ 5.293032
] init: unable to open persistent proper
ty directory /data/property errno: 2

even through haret it doesnt work.

i used to have radio 1.65 n downgraded it to 1.59, reflashed original htc rom

so wut am i doing wrong.

btw, i have the old polaris pola100
[Touch Cruise Android Development] l1q1d:
How much time did you wait after error before reset the device?

Did installer succed in uncompress all data in Nand?

Did you use fix permissions?

Please change the topic name with something more accurate (like android boot problem on nand)
[Touch Cruise Android Development] syto203:
ive waited for over 30min

n i fixed permissions but i dont know if every thing got uncompressed
[Touch Cruise Android Development] idreadful:
Had almost the same trouble: installer loaded successfully, I coud choose to install even to partitions (sd was partitioned), but right after there was a lot of text running... something about "blocks" or "I/O". The reason was actually the SD itself. Can't say more and make a guess, but after I replaced sd card, all went smooth. Try another. Bad one is 1gb kit SD (it was in the box), now I'm using 4Gb Transcend class 6 SD.
[Touch Cruise Android Development] syto203:
Actually im using a 4gb Transcend class 6 but ill change it n try.

ill b so happy if it works, but pissed of how easy the solution have been
[Touch Cruise Android Development] idreadful:
I am so sorry, I made a mess of facts. 1Gb kit sd was ok, but very slow. Kingston 4Gb was bad one. Good one is 4Gb Transcend class 6 (TS4GUSDHC6).

So if you really has many IO errors then try to swap SD.

So much SDs around... sorry.

Hope it will help. I've spent much time on it too and understand you very well =)
[HD2 General] abmantis:
Hello,

When I want to compose a new SMS and need to type the contact in the "To:" field, the drop-down list that shows the contacts is all black (or just graphically messed-up sometimes).

If I press the button to open the contact list (instead of typing) it shows the contact list correctly. Only the drop-down list is messed up.

I think that this has something to do with something I installed (dunno what), because when I hard-reseted the device it was fine... Next day (and after installing my tipical applications), it's messed-up.

Any ideas?
[HD2 General] pistol44:
Couldn't tell you what is causing it but would guess the same as you. It's likely something you may have installed. You could either remove everything you installed one a time while checking to see if it's normal again otherwise hard-reset and install things one at a time to see what is causing the issue.
[Desire General] malctron:
hi, my htc desire is sending text messages twice for some reason and don't have a clue why. anybody have any ideas? or had this problem before.
[Desire General] Phil750123:
You on t-mobile by any chance?

Yer i had this a while ago, specially when it signal goes crazy up and down, only happened to one person though :S. Wouldnt sent text all day then sent them all in one go. Not had it since.
[Desire General] Phil750123:
Actually, ignore that.

Just spoke to gf about it as she only one i text loads, she says happens normaly once or twice a day.
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Hi XDA Community!

I know some Custom ROMS includes shell scripts that are executed at the boot.

Now, I'm cooking one, already made the script, just searching for a way to autostart it at boot.

I'm trying to add my script to some /etc/init.d folder but in my cooked ROM there is just a system/etc folder, extracted from an update.zip without any init.d

HowTo?
[Nexus One Q&A, Help & Troubleshooting] Jack_R1:
[edit] Checked Cyan's ROM and I see /system/etc folder with content, and init.d is there.
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Yes. In my rom, it is also mounted.

But init.d does not exists.

And I don't even know if it works that way on Android...

HowTo?
[Nexus One Q&A, Help & Troubleshooting] Jack_R1:
Edited my post above.
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Thx for your time.

Yes I also did.

In fact, I search for the answer quite some time before posting.

I see this folder in Cyan's ROM.

But it still do not tell me how to make my script run at boot:

- do I have to create init.d?

- will my script be under names conventions (like 01xx 02xx 03xx)

- will it loads automaticaly by Android 2.2 ?
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
some progress:

i found etc/init* in ramdisk!

trying a few things on that and report

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

Sent via the XDA Tapatalk App
[Nexus One Q&A, Help & Troubleshooting] fubaya:
On CM, try putting your script in /system/bin then adding it's name to /system/etc/init.d/20userinit.

There is also an app in the market called autostart which runs a script at /data/opt/autostart.sh which you have to create. I use it because it's the first way I found to execute scripts at startup and I just stuck with it, so I've never used the CM script, but I think that's the proper place to add it.

Unfortunately, I haven't seen a way to run things at startup on froyo yet. When someone figures that one out, please report.
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
I'm trying Autostart (root), the app you told me, but it seems you also say that you found no way to do such thing on FroYo...

Do you mean autostart (the app) do NOT work on FroYo?
[Nexus One Q&A, Help & Troubleshooting] fubaya:
Yes, autostart doesn't seem to work on Froyo. You talked about both Cyan and Froyo, which one are you using?
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
I said I was aware Cyan was using bootscripts, but Im using stock rooted froyo.

In fact, Im cooking one.
[Nexus One Q&A, Help & Troubleshooting] leonnib4:
Found it!

In Cyanogen sources:

in boot.img

in ramdisk

init.rc

# Execute files in /etc/init.d before booting
service sysinit /system/bin/logwrapper /system/xbin/busybox run-parts /system/etc/init.d
disabled
oneshot

dsixda should include in its rom kitchen ;)
[Nexus One Q&A, Help & Troubleshooting] ddvo:
Emulating the effect of the Autostart app

Since the Autostart does not work on Android 2.2 (Froyo),

I simulate it by the following contents in /system/etc/init.d/20autostart :

#!/system/bin/sh
/system/bin/sh /data/opt/autostart.sh >/data/opt/autostart.out 2>/data/opt/autostart.err

which not only calls /data/opt/autostart.sh at boot time, but

also dumps its stdout to /data/opt/autostart.out

and dumps its stderr to /data/opt/autostart.err

which is very helpful for debugging the commands in /data/opt/autostart.sh

Note that you need to enter recovery mode before you can write to /system/etc/init.d/
[Nexus One Q&A, Help & Troubleshooting] connexion2005:
Did you create the 20autostart folder? Are you performing this with Autostart running? I'm trying to have insmod tun.ko perform at each boot so my VPN works without having to open TerminalE and doing it at command line on the phone.
[Nexus One Q&A, Help & Troubleshooting] ddvo:
20autostart is a shell script file, not a folder. All scripts in the directory /etc/init.d are executed on boot in alphanumerical order.

Autostart is non-functional at least on my HTC Desire with rooted 2.2 (Froyo); you can uninstall it, while the method I explained above is guaranteed to work.
[Nexus One Q&A, Help & Troubleshooting] -NRG-:
I've tried it but it doesn't work for me.

there is a rcS file which seems to run everything in the init.d folder

i made a file "20autostart" file containing the script you posted.

I didn't have an "opt" folder in "/data", created one.

Created "autostart.sh, containing "swapon /data/swap256"(script works with gscript).

But it isn't run and no autostart.out or .err file is created after reboot. Seems like it isn't run at all..

There is an "sh" file in the "/bin" folder so it should be able to call that function.

I have no experience what so ever with this but i've done all the steps necessary.

Never mind, created an other solution!
[Nexus One Q&A, Help & Troubleshooting] ddvo:
Hi NRG, I just checked again with my system, and there it still works.

Maybe because it's a specific custom ROM version of Android 2.2?

Mine is called "Eight Minutes to Eight O´Clock A.M." from android.modaco.com/content/htc-desire-desire-modaco-com/312051/oclock-custom-rom/

Maybe you used the wrong shell path: /bin/sh instead of /system/bin/sh.

Which other solution have you found meanwhile?
[Nexus One Q&A, Help & Troubleshooting] fubaya:
Tasker can run things at boot if anyone needs another way to do it. You can run shell commands with Tasker and the Locale Execute Plugin.
[Nexus One Q&A, Help & Troubleshooting] MrHassell:
/data/local/tmp

Hi, you are looking for - /data/local

chmod 755
[Nexus One Q&A, Help & Troubleshooting] JackJTP:
Hey Folks, mybe one of you can give me a hint.

I extracted the boot.img saved before with oneclick-recovery for zte v9 light using mytools from another post (unpack-bootimg.pl etc) and everything worked. i am using Ubuntu Linux on my pc. After i added the quoted lines i repacked it, using the repack script from that mytools and flashed it using

flash_image boot /sdcard/boot.img
reboot

Well- thats what bricked my phone. Dont worry, got the official zte flashing tool, a clean android 2.2 and unbricked it after a few days of worrying... But what am i making wrong to get the init.d contents get executed on boot?
[XPERIA X10 General] anagor:
Hi guys,

On my xperia x10i wifi refuses to turn on, when I click on Turn WiFi in the settings menu, it says "Turning on" and stays like that forever.

I've tried full reboot, removing battery, didn't help.

Apart from factory reset is there any suggestions as to how to resolve this?

Thanks :)
[XPERIA X10 General] gulpreet:
I get that problem too.. so what I do is basically select the router I'm trying to connect to and then select forget. And then it searches for all the ones in my area, and I click on it and press connect. Enter my password again, and it works. I don't know why it takes forever when you just turn it on, it pisses me off sometimes lol. But doing this works for me :)
[XPERIA X10 General] anagor:
Thanks

The problem in my case is not that the phone doesn't connect to some router. I can't even turn the wifi on, this is where it get stuck.

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

Sent via the XDA Tapatalk App
[EVO 4G Accessories] wildcard:
Whats a good screen protector? I don't want one of those rubbery / sticky feeling ones..

I want one that is clear and hard

any good brands? or links to cheapies on ebay?
[EVO 4G Accessories] MrDSL:
have you read any of the other 3 or so topics on this?
[EVO 4G Accessories] wildcard:
ya but none of them state which are good, clear hard screen protectors. they only say "this is a good one " or "I like this one" or "this one sucks" etc, etc...
[EVO 4G Accessories] MrDSL:
maybe this will be helpful?

http://forum.ppcgeeks.com/showthread.php?t=55053
[EVO 4G Accessories] Tenny:
This may assist more:

http://androidforums.com/htc-evo-4g/81127-evo-screen-protectors-thread.html
[EVO 4G Accessories] MrDSL:
Doh..I was on my cell..wrong link I meant to post this one..which is also mentioned in the one you posted.

http://androidforums.com/android-lounge/79662-ultimate-screen-protector-body-skin-thread.html
[EVO 4G Accessories] cmart4:
Boxwave....ftw!

Chris
[EVO 4G Accessories] jimmiekain:
yeah I agree with you, I cant stand the way zagg feels on my TP2 its too sticky and makes my finger skip across the screen. I read 2 different threads at ppcgeeks and one on here and everybody just talks about which on is there favorite even on youtube all you find is unboxings and people talking about if they like it or not. I cant find anyone saying I have "_____" and it feels like "_____" so i understand exactly what you mean!

I even went so far as to ask on yahoo answers and got the same responses "Dude go with zagg its the best" or "heres a coupon code for phantom skins" nobody answered my question which was "How do the different skins feel?"

So... I emailed bodyguardz, phantomskins, ghostarmor, and clairvue.... they all replied except for clairvue and said they wernt sticky like zagg but the only one who is currently shipping the evo skin is bodyguardz and they wante like $40 to ship it to me b4 the june 4 launch date (NO FREAKIN WAY) now that its been a week and clairvue hasnt replied to me even if they do i dont wanna do business with them because if they poor customer service b4 i become a customer how are they gonna treat me once they already have my money?

Here is what I decided to do. I live in California so I'm surrounded by malls Ontario Mills, Montclair Plaza, Tyler Mall, Victoria Gardens and so on... I'm gonna go to one of them find a phone kiosk (you know those little carts in the mall that sell phone accessories?) and buy my skin from one of them because they will open it and let me feel it b4 i buy. I paid $45 for my full body zagg at the mall they guy put it on for me and everything but i hate it. My cousin went to a mall kiosk and paid $25 for some off brand one the guy put it on for him it feels great not sticky or anything protects his full phone sides and all (my zagg does not) and his phone doesnt have one scratch on it. I would go where he went but they closed down but all of those kiosks sell the same stuff its no big deal...
[EVO 4G Accessories] nachyochez:
Ghost Armor.

It repels my face grease, my g'f's makeup, and my carkeys without fail. Comes with a lifetime guarantee, that will be good even if you have to switch the device through TEP! (Note: you have to bring the protector back to them and pay the installation fee again!).

It's not "terrible" on price ($15 for the screen, $25 for a full body + $5 for the installation) and works perfectly.

I've had others on older phones (Invisible shield) and they where sheer fail, but this one is exactly what I wanted!!

The feel is slightly rubbery, but I never have traction or grip issues. TBH it almost seems like my screen is MORE responsive with it on there!
[EVO 4G Accessories] bleomycin:
Honestly, i picked up the 3 pack screen protectors they carry at sprint when i got my phone and think they're fantastic. They're a hard screen protector, easy to apply and have absolutely no stickiness or rubbery feel to them at all, my finger glides across without resistance. Like you i've been trying to find a "better" alternative but so far all i've found is more expensive and sticky options.

http://shop.sprint.com/NASApp/onlin...=Carry+&+Protect&selectedAccessoryID=ZCH6900V
[EVO 4G Accessories] zikronix:
I went with these after verifying with the seller that they are the hard type have a cut for the speaker and a hole for the front camera. they also cover from top to bottom including the buttons.

hkcyberport ebay
[EVO 4G Accessories] AllanonMage:
zagg is a little sticky, but doesn't seem to be interfering with anything yet. I was turned on by the whole "made for helicopter blade" thing, and it was the only screen protector I could get between the Sprint and Best Buy stores withing a few days of launch.

Turned on -> non sexually.