yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] guohui:
After removing -DOPENSSL_NO_DES, still have many errors.

after remove one by one, i found that the below option can be compile without error

LOCAL_CFLAGS += -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_ECDSA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_SHA256 -DOPENSSL_NO_SHA512 -DOPENSSL_NO_IDEA -DOPENSSL_NO_SEED -DOPENSSL_NO_BF -DOPENSSL_NO_CAST -DOPENSSL_NO_RC5 -DOPENSSL_NO_CAMELLIA
[Galaxy S I9000 Android Development] luismanson:
thanks, i will use this option unless the OP says something before im @ home
[Galaxy S I9000 Android Development] guohui:
Hi,

I am trying to translate steam recovery to chinese, but after compile, all of the chinese character cannot show(become blank) in steam recovery.

is there any way to display Unicode or add the character encoding?

I am newbie in C programming...
[Nexus S General] tekkitan:
This isn't necessarily a Nexus S problem as it happened on my G1 running Froyo as well... before Froyo though, if I turned off my truck while playing music via bluetooth it would pause the music player (Pandora, Winamp, etc). Ever since going to Froyo though (and now Gingerbread) if I turn off my truck, then my phone will start playing the music through it's speaker.

Is there a way to restore this feature? It can be incredibly annoying when this happens because then I have to unlock my phone, go into said application and pause the audio manually (especially in the winter with having to take your gloves off, unless you use your nose to navigate the phone which I have done before). I am hoping it is some setting somewhere I have just been missing every time I look into it.
[Nexus S General] BruceCLin:
No setting I can find. I use tasker to end music player when bluetooth disconnect.
[Nexus S General] diversificationied:
Pause it before you turn the car off. =P
[Nexus S General] tekkitan:
That is what I am doing. If you read my post though, you'd know how annoying it is to me having to take off my gloves to unlock the phone then open pandora and hit pause :P
[Nexus S General] tekkitan:
Thanks. I wish there was a trial to try before you buy. I hate how Google limited refund to 15 minutes after purchase. Some apps you need more than 15 minutes to try out to make sure you are completely satisfied with them.
[Nexus S General] diversificationied:
I meant from the radio. (I'm assuming your pairing the phone and the stock truck radio?)
[Nexus S General] BruceCLin:
There's a 7 days trial directly from the dev.

http://tasker.dinglisch.net/faq-ov.html#g3
[Nexus S General] tekkitan:
i don't think i can pause pandora from the radio, i can't even goto next song from the radio with pandora. i can however with winamp.
[Nexus S General] tekkitan:
thanks! 10char
[GT540 Optimus General] igorilla:
I can`t set up mp3 to phone call. All basic solutions not work for me.

Maybe some one had similar problem?
[Epic 4G General] decalex:
Does anyone know where exactly the Call Log database file is located?

I did a manual (selective) restore thru titanium pro, and apparently didn't have my call logs backed up- is this part of /system/?

I have a nandroid backup from yesterday, have already extracted the. Img files, and just looking for the right one to restore. Help greatly appreciated :-)

Sent from the future.
[Epic 4G General] decalex:
bah.. I found it.

data/data/com.sec.android.provider.logsprovider/databases/logs.db

now.. the best utility to merge databases?
[Galaxy S I9000 Android Development] sztupy:
Android Compiler VM 2.0

This is the second reincarnation of the Kernel Compiler VM, now with complete support for building Android binaries too.

The installation is simple.

1. Download the file (around 700MB!)

2. Extract using 7-zip

3. IMPORT the VM into VirtualBox (you have to import it, or else the HDD will be read only!)

4. Enjoy

I made some modifications to the default config, that will now allow one to use putty to connect to the VM without too much hassle. This was done by using two virtual LAN cards, from which one can connect to the internet, and the host computer can connect to the VM using the other one. Usually the IP changes, but it seems if you only have one VM it is: 192.168.56.101. USername/password is still kernel/kernel

The other change was to split the home and sys directories, so one can simple switch the home HDD if it gets full (a complete AOSP build can take a lot of space). To make this easier all compiler applications are now put inside the system partition (codesourcery was inside home in the earlier release).

As ususal the VM supports compiler scripts, using a shared folder you have to put somewhere. I don't know whether anyone made a compiler script for the previous VM besides me (and some patches of course), but the possibility is still there. There are of course compiler scripts for the whole Steam kernel/recovery suite, which can be obtained here
[Galaxy S I9000 Android Development] sztupy:
DL link: (large file!) http://android.sztupy.hu/dl/AndroidCompilerVM-2.0.7z
[Galaxy S I9000 Android Development] Arise:
Hi there.

I worked a lot with your first kitchen, and banged my head against wall a couple of time.

I also managed to add a secondary network interface (host mode only) but only to be able to connect over samba on the windows host machine.

The initial box grow so much that at some time I run out of space. :) At that point I considered switching to an auto-resizeable vdi (no longer vmdk) file.

Also, I've deleted the internal swap partition and created a new vdi file just for swap on /dev/sdb1.

Anyway, the big result result...

Running Eclipse on Windows, I can map files over samba in Virtualbox. Not very sure if I'm clear in my idea, but the source code of the kernel inside the VirtualBox is shared over the host Windows so I can work with the linux kernel inside Eclipse.

The compiling is still done on the inside virtualbox, didn't bothered much, but I guess with some nicely crafted commands over ssh, it is possible to compile the whole kernel/modules/single files right from the Eclipse IDE interface.

Screenshot attached, maybe I'll make a quick and dirty tutorial.
[Galaxy S I9000 Android Development] sztupy:
I never got around to code in java using this VM, and for C code putty+vim+screen is all I need. Although a tutorial would be great.
[Galaxy S I9000 Android Development] ragin:
This is a VM on windows or linux?
[Galaxy S I9000 Android Development] Arise:
Ok, just done it:

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

It doesn't matter, the virtualbox VM can run on either host, be it windows or linux.
[Galaxy S I9000 Android Development] ragin:
Awesome work.
[Galaxy S I9000 Android Development] sztupy:
V3.0 released here: http://xdaforums.com/showthread.php?t=1022407
[Desire HD General] gavin watson:
Hi all,

Not sure if realted, but thoguht i'd put it out there see if anyone is having similar issues.

It would seem that since I have owned my HTC DHD, my Hotmail account has been compromised. Now I'm not saying it is definately this, but it is a coincidence.

My Hotmail account is sending out messages to all my contact list. It's not spoofing as they appear in my sent box, even weirder, I saw them go from my drafts box to sent. My PC's antivirus is up to date and I am very careful with my data/security.

Has anyone had a similar issue?

What should I do about security with my DHD (antivirus, etc)?

Thanks.
[Desire HD General] Andy:
I'm quite surprised that you've created a link between your DHD and your compromised Hotmail.

There can be a whole multitude or reasons your Hotmail was breached. If you used a 3rd party app to sync your Hotmail to your DHD, have you checked the comments section in the market to see if other users are experiencing the same?

Also, do you happen to use any Gawker Media sites? (Lifehacker, Jalopnik, etc..) Their account system has been breached and email addresses & passwords have been publicly released.

I think that your DHD is almost certainly not the cause of your Hotmail breach.
[Desire HD General] gavin watson:
I have linked it because it has only started to happen since I have had the phone and I use it to view emails on this account (Hotmail) and it is the only one to have been compromised, hence my link.

I use the standard 'Mail' app that comes with the phone and don't really go on any sites other than my own and a few others...
[Nexus S Q&A, Help & Troubleshooting] Smokexz:
I used to be able to zoom in and out with my Vibrant for video and stills, however... when I got on my Nexus S, I couldn't pinch to zoom or use the volume rockers. So where is it? I tried the Camera 360 app, it told me that zooming is not enabled on the device. Please tell me why... please...

Sent from my Nexus S
[Nexus S Q&A, Help & Troubleshooting] nxt:
Easy, walk closer to the subject you're trying to take a picture of.
[Nexus S Q&A, Help & Troubleshooting] kalagas:
Seriusly it doesn't support zoom in Camera mode???

It's strange...
[Nexus S Q&A, Help & Troubleshooting] Joshfu13:
I was pretty shocked by this as well. No 720p and no digital zoom is out of characteristic for a top of the line phone. I'm hoping for a Google update of the camera application bundled with some native video chat. *fingers crosses*

It's not out of the realm of possibility. They DID add multi-touch to the N1 soon after release.
[Nexus S Q&A, Help & Troubleshooting] kalagas:
As some users here say that the 720p video recording is hardware limitation, maybe also the zoom fuction is also hardware limitation...???

As the native google camera app has the zoom fuction, it's strange that they didn;t put on Nexus S. That's why i am thinking may the camera zoom is also hardware limitation...

I think Samsung kept the good 5Mp Camera hardware for its phones (such as Galazy S and feature ones...)
[Nexus S Q&A, Help & Troubleshooting] tominater12:
No digital zoom is not a hardware limitation just an oversight by google. I hope we get an update to add this and make the browser faster.
[Nexus S Q&A, Help & Troubleshooting] tekkitan:
It's the same camera, but they had to remove the image processing chip for the camera to make room for stuff (like NFC). N1 didn't have 720P recording either (due to bandwidth limitations of the hardware) until someone hacked it in at a bandwidth that the hardware could support (22fps).
[Nexus S Q&A, Help & Troubleshooting] bob.zxr:
Digital zoom is not a real zoom. Only thing it does is image crop then stretch. You can do that if you want on your pc after taking the pic. No real use of digital zoom.
[Nexus S Q&A, Help & Troubleshooting] headsh0tshurt:
lol @ walk closer.
[Nexus S Q&A, Help & Troubleshooting] Rusty!:
It's the last option on the 'toolbar' normally.
[Nexus S Q&A, Help & Troubleshooting] bcl0328:
i don't get how the 720p is hardware limited on the nexus s when the mytouch 4g has about the same specs and can do it.
[Nexus S Q&A, Help & Troubleshooting] hah2110:
This.... There is ZERO purpose to digital zoom.
[Nexus S Q&A, Help & Troubleshooting] Avinant:
Agreed. Digital zoom does more damage than good. To get a better picture on a subject, just walk closer to it. You could use this method for even digital cameras because at a certain point those even use digital zoom (you can tell because the quality decreases dramatically and it usually stops zooming in at that point, making you manually start zooming in again).
[Nexus S Q&A, Help & Troubleshooting] ekerazha:
If I am at the stadium I can't "walk closer". My 8-year-old Nokia does have digital zoom, that's just ridiculous.

Yeah, I can stretch the image on my PC, but what about videos? I can stretch videos on my PC so why have I a smartphone? I can just surf the Internet at home or use the telephone at home. :rolleyes:
[Nexus S Q&A, Help & Troubleshooting] ykphuah:
+1 on stadium, +1 on shooting wild life as well, where I can't just "walk closer". Most of the time I only need 800x600 to upload to facebook and stuffs straight thru my phone. So I won't save it to my pc first and then use my pc software to crop it.

Any 3rd party software that does cropping?
[Nexus S Q&A, Help & Troubleshooting] kolyan:
Galaxy uses volume buttons to zoom
[Nexus S Q&A, Help & Troubleshooting] A_Flying_Fox:
Did y'all try the volume buttons?

Took me a while to figure out that's how to zoom in on the epic 4g lol

EDIT: nevermind. Idk I guess samsung just wanted to gimp the nexs s. And you guys need to stop trying to justify missing features that are standard....my 5 year old LG had. 1.3 mp back camera and digital zoom lol wtf
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] iannius:
Hello everybody!

I hope you can help me.

I got HD2 European.First when i unpack it,it was the official firmware 1.66,i downloaded the last one,and flashed it,after i made HSPl.It was good,but the custom that i was downloaded was a bit buggy,so i wanted to make an back up to old,official.I tried to flash it form my sd card,but here starts the most weird thinks.Its not flashing from sd card.I removed the HSPL,by the HSPL method and chose the 2.08.0000(from some forum told me to do that,to remove hspl)

But now i got memory bag,i cant install any program because there is no memory.

Please help me,how can i flash it with original firmware,to make it as it was from the shop?

Why its not flashing from sd card?(i tried on 3 sd cards,but still nothing.....)

I see the boot,starts the loading for a sec,and again boot.

Thx to everyone who can help me.

(I got the last firmware,boot 2080000)
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] iannius:
anyone?

Please???
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] fred_up:
Put the phone into Bootloader Mode (with phone off, press and hold the Volume Down button, then tap the Power button). what does it display?

What size of SD card did you try to use to do the flashing with?
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] russpattaya:
Hi

Can you flash via your computer with active sync or windows mobile device center?

Its better than using the sd card, as the micro sd i had was corrupted.

If you need stock roms : http://xdaforums.com/showthread.php?t=623283

Russ
[Galaxy S I9000 Android Development] sztupy:
Hi! I managed to compile a bionic version of cryptsetup with libcrypto instead of gcrypt, and I put it inside Steam Kernel, so anyone can play with it. This is actually not new to android, as from Froyo, the APKs that can get installed on the external SD, are actually also uding dm-crypt, although they are doing through vold, and not via device-mapper. It is actually strange, that Android has filesystem encryption on inside the kernels by default, but they are using it to keep us out from the system, and not actually to make other people get inside the system more harder.

In Steam Kernel, you can now chose to apply filesystem encryption to any of the 3 main partitions (cache, data, dbdata). The password can be entered using the screen by one, or multiple Swypes (up to 255 elements). Each swype creates a word, and words will be separated by "_". This mechanism was invented, as with this one can potentially achieve a good-enough entropy (although I'm not a cryptoanalyst), than by for example a simple PIN code entry box.

If you worry about speed, quadrant scores are around 1400 if using ext4+crypt, so they're still better, than stock rfs. I can't say much about battery life yet.

This feature is beta however, so don't rely valuable data to it yet, as it hasn't been throughly tested yet. (ancrpytion should be fine, I'm actually worried about data corruption).

The way to secure android is not yet finished however. I'm trying to find a way to secure adb, even if it's running root mode. (as running adb in root mode is good for debugging, but bad for security).

Questions on this topic is welcome.
[Galaxy S I9000 Android Development] supercurio:
Very impressive stuff, and still opensource.

It's a real innovation, congrats!
[Galaxy S I9000 Android Development] supercurio:
First weak security point for the Galaxy S phones is definitely the ability to flash anything with Odin.

As you cannot trust, well... anything your Filesystem Encryption approach is definitely the good one!

Other current weak point is the adbd exploit (rageagainstthecage) - so easy to use. I guess you can replace adbd in your ramdisk by the Gingerbread one, which is not vulnerable, if not done already
[Galaxy S I9000 Android Development] GadgetCheck:
Yes this is really impressive man...

You should be hired by samsung to set there software ass rite :-D
[Galaxy S I9000 Android Development] sztupy:
You would still lose the benefit of being secure + having the comfort of adb root. I'm more into the fact you have to login to the phone in order to use adb, just like you have to login to a real linux.
[Galaxy S I9000 Android Development] supercurio:
I meant, for general security, we can replace the vulnerable adbd by a non vulnerable updated one - just that - ;)
[Galaxy S I9000 Android Development] ragin:
I feel your title could have security under [ ]. More noticiable.

AS I SEE IT NOW. supercurio's THANK's meter stands at 666. ROFL... :D:D:D

EVIL
[Galaxy S I9000 Android Development] kidoucorp:
Seems really great !

I'm not sure about a thing : Does this work when you power on the device (ie, you'll have to enter a pass to make it boot to Android), or before to be able entering into recovery ? Or none of these two things, and I totally misunderstood what you're saying :D ?

I was about to make a request to Koush if he could add some (basic?) security system to his recovery, as if you phone is stolen, they even won't be able to reflash a new rom.

This security layer + WaveSecure or any similar soft, and you would be sure that even if you phone is stolen / lost, nobody will be able to use it :D

Anyway thanks for your big stuff, will look deeper for sure when I'll get some free time, but your steam package seems amazing :)

Cheers
[Galaxy S I9000 Android Development] sztupy:
This works when you want to mount the partition. (eg at every boot). The partition can not be mounted wirhout a password ever
[Galaxy S I9000 Android Development] mr_at_sgs:
Amazing project. Good work.
[Galaxy S I9000 Android Development] patriarha:
Now wait just a moment...why would you encrypt those directories, when you alone (the user) are responsible for giving applications certain permissions. I mean...you agree to giving access to your Radio, messages and...whatever when you install applications, but then you want to encrypt certain directories. Why? You've already installed a trojan or a root kit and given it permission to do whatever it wants to do. :) That's the main security issue.
[Galaxy S I9000 Android Development] sztupy:
If your phone gets stolen they can't access your data.
[Galaxy S I9000 Android Development] crypta:
... But another issue! Great work, Great project!

Edit: to slow, I was referring the post 2 above ;)
[Galaxy S I9000 Android Development] kidoucorp:
And I guess the partition has to be mounted if you want to flash another rom (By recovery, Odin, Kies, whatever) ?

If it's the case, then it's really really great !!!
[Galaxy S I9000 Android Development] aronsky:
No, if you're flashing a new ROM, you don't have to mount the partition. But the point is that nobody can read your data from the partition - that's the security risk sztupy is trying to prevent.
[Galaxy S I9000 Android Development] sztupy:
When you flash a new rom the data will be inaccessible (unless it's a steam rom and you know the password, or you can dump the partition AND know the password. Without the password the data can not be accessed, as it's AES encoded there).

This means that if you use all the security feautres inside Android (lockscreens, pin code, etc.), and use this too, and you don't allow adb to be run as root, there is actually no way of accessing your data (unless you can circumvent the security provided by Android, like the lockscreen), not even by flashing a new ROM.
[Galaxy S I9000 Android Development] ArminC:
Good work these kind of improvements make android better and better. I think the phones should be encrypted from the factory.
[Galaxy S I9000 Android Development] cybermage1:
Great idea

If I might suggest though - can you make it so that it turns off decryption a couple of minutes after the screen is locked so that you have to enter the code again? Otherwise if the unit is on and stolen and never rebooted...

Being in Healthcare related IT I can say you'd have a product that is in severe need if any doctors really want to start using an Android tablet.
[Galaxy S I9000 Android Development] Sierra November:
@sztupy

This is simply the best thing to happen to my SGS I've ever heard.

I can not test it right now (running 2.2.1 Darky's mod) but I have some questions about the security.

- What type of encryption is used? 128/256? weaker?

- Is it possible for you to figure how to use this encryption with different kernels/mods? We're talking about quite big a deal breaker for lots of people here. Perhaps even a separate app? I almost bought a blackberry as a second phone *kugh kugh* because android lacks encryption I so hardly need.
[Galaxy S I9000 Android Development] sztupy:
As already stated Android already uses dm-crypt for encrypting the application data on the external sd card, so in theory any kernel can actually use dm-crypt. Originally Android kernels only support aes-plain (which is AES-128 I think), and that is what you can use on probably every 2.2+ android (and even on some 2.1 too). (You can get a stronger encryption if you compile a better kernel as aes-plain has some weaknesses).

The hard part is actually not the encryption therefore (You just have to run cryptsetup before init, which is very-very similar of the process of creating "lagfixes"), but the fact that you'll need a way to enter the password every run. The latter is problematic, as you'll need to access the framebuffer to show the user the pin code panel, then leave the framebuffer in a state, so Android can boot from it without problems. On SGS, and probably all SGS based devices (including the Nexus S), this is already accomplished (in steam kernel). On other devices it might work too, but the framebuffer support might need to be rewritten. On other devices the fact that they use yaffs2 might also pose problems (as yaffs is working on a block), but that can be circumvented using a few tricks (like creating loop devices, putting the /data partition on the sd card, etc.)
[Galaxy S I9000 Android Development] sztupy:
While the device is running you have to take care of security inside Android. Using lock screens is currently the only way to secure that part. If the lock screen cannot be circumvented, and the attacker has no access to adb (eg. it's disabled), your probably safe, as for most of the other attacks he'll need to shut down the device.
[Galaxy S I9000 Android Development] -Tiz-:
This project is highly appreciated. Thank you.

There are two things why current Android phones cannot be used for any "serious" / business purposes:

non-encrypted file system -> data can be easily stolen by physical attacker

no granular firewall (allowing address & port specific rules) -> data can be easily stolen by any apps requiring internet access (phone home, spyware, trojans etc.); in respect of any apps not requiring internet access droidwall is fine
[Galaxy S I9000 Android Development] sztupy:
droidwall is just a frontend to iptables, so the device has iptables which means it can actually be configured to be more secure (but the gui of droidwall doesn't support it)
[Galaxy S I9000 Android Development] -Tiz-:
Is there any Linux firewall which is based on IP tables and has a "rules assistent" like windows-based firewalls (e.g., kerio, outpost, eset smart security)? The rules assistent needs to pop up when an application wants to make an outgoing connection so that the user can create a rule (address & port specific, if necessary).