yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] gchild320:
target thumb C: libcrypto_static <= external/openssl/crypto/bio/bss_dgram.c

external/openssl/crypto/bio/bss_dgram.c: In function 'dgram_ctrl':

external/openssl/crypto/bio/bss_dgram.c:581:5: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign]

In file included from prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/netdb.h:66:0,

from external/openssl/e_os.h:563,

from external/openssl/crypto/cryptlib.h:65,

from external/openssl/crypto/bio/bss_dgram.c:64:

prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/sys/socket.h:73:18: note: expected 'socklen_t *' but argument is of type 'unsigned int *'

external/openssl/crypto/bio/bss_dgram.c:597:5: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign]

In file included from prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/netdb.h:66:0,

from external/openssl/e_os.h:563,

from external/openssl/crypto/cryptlib.h:65,

from external/openssl/crypto/bio/bss_dgram.c:64:

prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/sys/socket.h:73:18: note: expected 'socklen_t *' but argument is of type 'unsigned int *'

external/openssl/crypto/bio/bss_dgram.c:628:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

external/openssl/crypto/bio/bss_dgram.c:628:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

external/openssl/crypto/bio/bss_dgram.c:628:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

cc1: some warnings being treated as errors

make: *** [/home/gchild320/Source/out/target/product/i605/obj/STATIC_LIBRARIES/libcrypto_static_intermediates/crypto/bio/bss_dgram.o] Error 1

make: *** Waiting for unfinished jobs....

Anyone have any ideas on what is causing this?
[Samsung Galaxy S (4G Model)] daothanhduy1996:
Open ROMsourcepath/external/openssl/Android.mk and add in LOCAL_CFLAGS += -fno-strict-aliasing
[Samsung Galaxy S (4G Model)] Neo:
Cherry pick https://github.com/VigorCM/android_external_openssl/commit/7582c39823336321c33c1e28ba7e477faf3f17ec
[Samsung Galaxy S (4G Model)] DJLamontagneIII:
There's a few configurations up there. Different toolchain and flag setups :p

I think your right:D.. once you do . build/envsetup.sh the toolchain gets locked in.. Even experienced it one sleepless night half asleep tried to switch toolchains on the fly switching build branches and it still compiled with the toolchain that was set from the original . build/envsetup.sh:p
[Samsung Galaxy S (4G Model)] fusionjack:
I think both of them need to be changed.

There is a build script version that uses TARGET_GCC_VERSION:

https://github.com/SlimRoms/android_build/commit/df26436c8c15cd7f76f80a11b11f04858efb76c7

This method is very convenience especially if you need to compile multiple devices using different toolchain version. You just need to set up the TARGET_GCC_VERSION in each device board config.
[Samsung Galaxy S (4G Model)] gchild320:
I get it now...thanks for your help guys, I'm flying through these errors now. Didn't realize the two links at the beginning of the thread would be such a help (esp. the cm one so far).
[Samsung Galaxy S (4G Model)] Neo:
This is interesting. I'll try this later today and report back if I get boot.
[Samsung Galaxy S (4G Model)] DJLamontagneIII:
I've used that method and it works great:D...You just need to do more to get the kernel to build with a different toolchain then the one you set so its more work if you like to switch between 4.7, 4.8, and 4.9 toolchains a lot like me :p.
[Samsung Galaxy S (4G Model)] fusionjack:
You can override kernel toolchain in envsetup.sh with TARGET_KERNEL_CUSTOM_TOOLCHAIN in device board config.

Usually it points to prebuilt folder, but you can change it to point prebuilts folder in core/tasks/kernel.mk.
[Samsung Galaxy S (4G Model)] Sultanxda:
I tried many different flag configurations and different Linaro toolchains but my HTC Sensation still reboots to recovery with a Linaro built ROM and gives this error in the last_kmsg:

init: untracked pid 239 exited
init: untracked pid 240 exited
init: untracked pid 242 exited
init: untracked pid 245 exited
init: untracked pid 241 exited
request_suspend_state: wakeup (0->0) at 18485480538 (1970-01-02 00:00:16.812283325 UTC)
init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode

Any ideas on how to fix that error?
[Samsung Galaxy S (4G Model)] Neo:
Pioneered my way through getting a strict aliased Werror=3 build up to a 4.9 gcc.. Many new repos that need patching in order to get it to build. I will be uploading them all on Monday to my git and sharing later with everyone.

EDIT: All the commits needed to build a 4.3 rom with strict aliasing and the newer toolchains are now uploaded to my github account (cm-10.2 branch). Keep in mind that the source is CM based and may not work or cherry-pick easily on other source. Also, I did this with SaberMod's chains and not linaro so linaro may require additional commits which I have for 4.2 source and have not tested yet for 4.3.

Additionally, I am putting together a script that can be run from your main working folder and it will do everything for you and much much more... Will be releasing that soon as well.

https://github.com/IAmTheOneTheyCallNeo?tab=repositories
[Samsung Galaxy S (4G Model)] androidfr33k:
Will this be device specific? Are there Roms that are built with Linaro and Sabermod? IS Sabermod a modified linaro toolchain or just completely written from scratch? A hybrid toolchain maybe?
[Samsung Galaxy S (4G Model)] relevant_placeholder:
After reading older thread about Linaro build not made by you, and going through all the posts there, I'm finally in a condensed, proper thread.

I have built the ROM at -O3 for Lenovo K860/i but using prebuilt kernel as so far there is no source update coming for JB.

In any case, thank you so much for being so helpful to everyone and having patience for every post reply. It helped me tremendously.
[Samsung Galaxy S (4G Model)] Neo:
Not device specific. However, my repos are cm based and may/may not work for pure AOSP google builds. [MENTION=2394329]sparksco[/MENTION] Sabermod toolchains are written by him. They are not associated with linaro. He built them following the same kind of method google uses only he's made several optimizations and changes specifically for AOSP.
[Samsung Galaxy S (4G Model)] gchild320:
target thumb C: libcorkscrew <= system/core/libcorkscrew/arch-arm/ptrace-arm.c
system/core/libcorkscrew/arch-arm/ptrace-arm.c: In function 'free_ptrace_map_info_data_arch':
system/core/libcorkscrew/arch-arm/ptrace-arm.c:72:49: warning: unused parameter 'mi' [-Wunused-parameter]
void free_ptrace_map_info_data_arch(map_info_t* mi, map_info_data_t* data) {
^
system/core/libcorkscrew/arch-arm/ptrace-arm.c:72:70: warning: unused parameter 'data' [-Wunused-parameter]
void free_ptrace_map_info_data_arch(map_info_t* mi, map_info_data_t* data) {
^
target SharedLib: libz (/home/gchild320/Source/out/target/product/i605/obj/SHARED_LIBRARIES/libz_intermediates/LINKED/libz.so)
system/core/libcorkscrew/arch-arm/backtrace-arm.c: In function 'unwind_backtrace_signal_arch':
system/core/libcorkscrew/arch-arm/backtrace-arm.c:555:49: warning: unused parameter 'siginfo' [-Wunused-parameter]
ssize_t unwind_backtrace_signal_arch(siginfo_t* siginfo, void* sigcontext,
^
target asm: libskia <= external/skia/src/opts/S32A_Opaque_BlitRow32_neon.S
arm-linux-androideabi-g++: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
make: *** [/home/gchild320/Source/out/target/product/i605/obj/SHARED_LIBRARIES/libz_intermediates/LINKED/libz.so] Error 1
make: *** Waiting for unfinished jobs....

Anyone have any ideas for this? Can't seem to get past it.
[Samsung Galaxy S (4G Model)] DJLamontagneIII:
https://github.com/DJL10-2/android_system_core/commit/fd6f4776440210733b5c92c9d78935fa7a0056e5
[Samsung Galaxy S (4G Model)] gchild320:
Hey DJ, I actually already picked that commit! :confused:

Not sure what's causing it.
[Samsung Galaxy S (4G Model)] DJLamontagneIII:
Looks like a issue with your toolchain. What's your setup?
[Samsung Galaxy S (4G Model)] gchild320:
I was afraid of that. Using 4.8 linaro. Funny that it let about 30 errors come through (I patched them individually) and now this pops up :/
[Samsung Galaxy S (4G Model)] droidmk:
I have tried building two ROMs with SM and Linaro toolchain, neither will boot. I tried the following combinations with no luck.

Kernel: SM 4.8, ROM: SM 4.9

Kernel: Linaro 4.8, ROM: SM 4.9

Kernel: Linaro 4.8, ROM: Linaro 4.8

I checked DJL10-2 github for fixes for errors that stopped build, but had a lot of warnings that did not stop build.

ROMs I am trying to build: Slimbean, and Beanstalk.

Any help is appreciated.
[Samsung Galaxy S (4G Model)] Neo:
Have you modified any compiler flags during this process ie: -O2 to -O3 or -Os to anything else? Also, what process are you using to build with the toolchains?
[Samsung Galaxy S (4G Model)] droidmk:
Beanstalk is default -Os, and I added a global cflag for Wno-error=unused-parameter

Slimbean is default -O3, and I changed nothing.

I tried modifying the build files several times and I finally went with just editing my device tree.

Added the following to boardconfig.mk

TARGET_KERNEL_CUSTOM_TOOLCHAIN := linaro-4.8

TARGET_TOOLS_PREFIX := prebuilts/gcc/linux-x86/arm/linaro-4.8/bin/arm-linux-androideabi-

I copied Linaro folder in prebuilt and prebuilts so I wouldn't have to edit any of the default build files. I also deleted all other toolchains. After a couple of error fixes they built fine, but no boot. I tried a working kernel boot.img and still no boot. I am trying now with Linaro 4.7 kernel and Linaro 4.8 ROM, will report back, but if you have any ideas I appreciate it. I am building for Sprint LG Optimus G (LS970).
[Samsung Galaxy S (4G Model)] droidmk:
Ok 4.7 kernel and 4.8 ROM didn't boot either.
[Samsung Galaxy S (4G Model)] DJLamontagneIII:
Whats your kernel makefile look like?
[Samsung Galaxy S (4G Model)] droidmk:
I finally got them to build with Sabermod 4.7 kernel, and 4.9 ROM. Is that really the optimal build?

Edit: Any reason why on these ROMs with Sabermod it says unknown for baseband version?
[Samsung Galaxy S (4G Model)] Neo:
Did you try SaberMod 4.8 armeabi?
[Samsung Galaxy S (4G Model)] droidmk:
Yes I tried sm 4.8 first. I was hoping to get that to work. Is sabermod better than linaro or vice versa?
[Samsung Galaxy S (4G Model)] Neo:
It is of my opinion that it is yes. It linaro is better than stock Google gcc (also my opinion)
[Samsung Galaxy S (4G Model)] thomasbell:
They have some cool comparisons benchmark tests with linaro vs. Other on youtube worth looking at
[Samsung Galaxy W I8150] fsl7th:
hi there, is anyone know where's to edit the timestamp background color on mms apk, i was change the message conversation bubble from standard white to blue but after i change it, the timestamp background color is still white.... thanks before,
[Samsung Galaxy W I8150] eza azami:
You can ask to adi aisiteru reborn., he really master about your thread.. :)
[Samsung Galaxy W I8150] fsl7th:
thanks i'll contact him soon, thanks a lot :))
[Samsung Galaxy W I8150] honeyx:
There are already a lot of guides on how to mod mms.apk.

Here are two examples:

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

http://xdaforums.com/showthread.php?t=1781297
[Samsung Galaxy W I8150] fsl7th:
amazing, thanks a lot mr honyx, maybe next time i should search it by myself rather than making thread, sorry newbie :D:D
[Galaxy Note II Q&A, Help & Troubleshooting] paulwap:
Hi,

I have a strange problem with the phone (or the battery).

Since some moment, battery level is always at 99%. It stays at 99% all the time, until the phone shuts down when battery is completely drained.

I read on the Internet about one of the methods of resetting incorrect battery data: when the phone is turned off because of drained battery, do not power on the phone, but plug it and let it charge for long time.

I plugged the phone to the USB cable at the evening and this is what I saw at the morning:

Phone was cycling through 3 states:

1. Showing empty battery with green line at the bottom and lighting dots below the battery.

2. Then screen goes to sleep and orange LED is on, showing that the phone is charging.

3. After 15-30 seconds, the screen shows battery at 100% and green LED is on. After that it goes to #1.

I left the phone connected until the evening and at the evening it was the same.

It has stock ROM, no root, no custom recovery.

Android version: 4.1.2

Baseband version: N7100XXDME4

Kernel version: 3.0.31-1071214 se.infra@QBAGENT177 #1 SMP PREEMPT Fri May 31 11:14:19 KST 2013

Build number: JZO54K.N7100XXDME6

Are there any methods of fixing this without rooting the phone? If not, what are the methods of fixing this, that include rooting the phone?

Thanks.
[Galaxy Note II Q&A, Help & Troubleshooting] artorelis:
Buy a new battery or a CHARGING DOCK and see if the problem continues.
[Galaxy Note II Q&A, Help & Troubleshooting] aukhan:
try this try to drain out your battery completely make sure due the phone dies no battery juice left and then charge to 100% using the walloutlet charger not the usb charger
[Samsung Galaxy Nexus] ChaosBlades:
Is there any place that still sells the official car dock for the GSM Galaxy Nexus? Also are there any alternatives that use the Pogo pins? Even better one that uses the Pogo Pins and supports a case like the Diztronic TPU case?

Let me clarify, anyone still selling the official GSM Galaxy Nexus Car Dock that isn't ~$75? Because at that price I will just hold the thing in my hand the whole time. I seen the Verizon versions going for like $10 on eBay.

http://www.amazon.com/gp/product/B006GJ5S2E/ref=oh_details_o00_s00_i00?tag=androidcentral00-20
[Samsung Galaxy Nexus] n2rjt:
I bought a car dock when they were new but never use it because the audio is overdriven. It would work with attenuation in the line I think.

What I wish I had bought is the horizontal pogo pin desk dock. That would be so sweet at work.
[Samsung Galaxy Nexus] chasmanian:
http://db.tt/IOTCtxAL

http://db.tt/xkq6aqCA

I'll sell mine for $35. It's been modified for the Verizon phone, but there's no reason it shouldn't work for gsm as well..

I've also got the desktop dock with HDMI out that I'll sell for $15.

http://db.tt/5rN3m3Vj

http://db.tt/wcirK91K
[Samsung Galaxy Nexus] n2rjt:
I'm looking for the 3rd dock, not one of these two. . .

Horizontal, pogo pin charging, no HDMI output.

It looks like OP has an option, though. Thanks1
[JAM, MDA Compact, S100 General] D7egm:
I have only just got my MDA a few weeks ago & can't understand why I have missed out on such a cool tool for so long!

That aside, I was flying out of the UK this week and when I was sitting in my seat, I remembered I had to turn my phone off. Racking my brains (only having glanced at the manual for a few seconds.....I wanted to play with my phone!) I remebered something about pressing and holding the power button.......I pushed the power button for 2 seconds.......and the screen went off/ into sleep..........I tried it again & no joy.........how do I turn the fu :twisted: :evil: ing this off?

I ended up ripping the back off and taking out the battery :oops:

Is there a must be a more sophisticated way of not causing a 'plane to crash?
[JAM, MDA Compact, S100 General] kha:
Tap to the radio icon (signal strength) and tap "Turn on flight mode" :-)
[JAM, MDA Compact, S100 General] D7egm:
Wonderful, thank you!

This makes it 'airplane safe', but I take it there is no way it can be 'turned off' as opposed to put into sleep mode?
[JAM, MDA Compact, S100 General] Loboman:
Sleep mode is the furthest you'll make it go.
[JAM, MDA Compact, S100 General] bamse:
Pushing the power button for 2 seconds will turn the backlight off, pushing it again for 2 seconds will turn backlight on again. With backlight off the device looks like it is off, not like some other devices where you have some kind of transreflective screen that can be used without backlight.

I think what happened to you (it has happened to me a couple of times) was:

1. Pressing power button 2 secs - turning off backlight.

2. Pressing power button shortly - going to sleep mode.

3. Pressing power button 2 secs - nothing happens.

4. Pressing power button shortly - going out of sleep, backlight still off.

The only way to wake the backlight up again is to find a strong light source to find out if the device is in sleep mode or with the backlight off. If it is in sleep mode you need to press the power button shortly to get out of it before you press power again for 2 secs to get the backlight back.
[JAM, MDA Compact, S100 General] 1471:
If only those idiots who wrote the manual hadn't got the most basic thing wrong, we wouldn't have to go through all this time and time again!

http://xdaforums.com/viewtopic.php?t=17085&start=0&postdays=0&postorder=asc&highlight=

:twisted:
[JAM, MDA Compact, S100 General] D7egm:
:oops:

I'm sorry I asked now.........this is much more embarassing than having to rip the battery out!
[JAM, MDA Compact, S100 General] 1471:
Hey, don't worry about it. It's always easy when you know how. I just find it funny that they couldn't even get the on/off instructions right in the manual, and that some people insist that their way is the only way.:lol:

Imagine the hoo-hah if Ford and GM got their handbooks that wrong! :shock:
[JAM, MDA Compact, S100 General] bamse:
There is no such thing as a stupid question. The first time it happened to me I thought the little bugger had died on me!
[Android Apps and Games] dejanzivanovic:
Find out which pictures are taken near your location!

Travel and find interesting places near you.

Clicking on Full Image you will have detail information of picture. Title, Description, Author, Other Author Photos, Photo location on map.

All pictures are kindly provided by Flickr. Pictures are copyrighted by Flickr and their Authors.

Serach on Google play: "Dejan Zivanovic" and you will find app: com.dejan.photos_by_location
[General Questions and Answers] flipster112:
Hey guys,

I was wondering, is it possible to install bluestacks on an older type laptop(WinXP). Without an i7 processor or anything. And if it is possible to start bluestacks on boot instead of Windows.

Does anyone have any experience?

Tapatalking via Xperia T
[General Questions and Answers] AndreRaptor:
try it... it's a application whit a disk image not a complete s.o. but you can try to install the image of the android so (a lot of functions not supported)
[Verizon Samsung Galaxy S III] ericyao:
Long story short. I have a GS3 dropped on the street and run over by a couple of cars. The screen is shattered to million pieces. Sad... Amazingly, it still rings when I call it. The insurance covers most of it. I'm just wondering if there's any way to salvage the rest part. It seems to me like a computer with no I/O or display, but the other parts are still working, judging by its working phone function
[AT&T HTC One (M7)] asjshenry:
I have a firmware question that I can't seem to find the answer to by searching. I ask running arhd 11 on an att HTC one. Should I upgrade the firmware on my phone? Will there be any benefits to this since I am on att and not international? Also how do I go about updating the firmware and does it wipe the device? Longtime Samsung user so please excuse the noobness.
[AT&T HTC One (M7)] cschmitt:
I would hold off with updating firmware as there are issues with some ROM's and recoveries and the touchpad drivers in the latest firmware. A firmware install doesn't wipe the device.
[AT&T HTC One (M7)] Eradik:
I just updated mine to 2.24 last night. A few issues at first (mainly with TWRP and recoveries after flashing), but found a great guide that made it all easy.

I don't know if I'd do it again. Now that I'm finished, I don't have any issues at all but I suppose if its not broke don't fix it. I worried I bricked my phone last night when I did something wrong, but ultimately I figured it out with lots and lots of reading. I don't really notice anything different, but, if you're like me and have to have the latest and greatest, it can be a hard itch to scratch. You'd also want to upgrade to ARHD 12, since it would match the firmware version you're going to be upgrading to. IIRC 11 isn't based on the 2.24 fw.

If you want to do it, use vomer's guide here. Follow it to a T, including the TWRP download. You HAVE To download the TWRP from his link. The one from the official page loses touch with the new firmware (one of the issues that took me an hour to figure out). You'll also have to be S-Off, which is going to open a whole new can of potential issues, so be aware what that means and what you have to be careful of.
[AT&T HTC One (M7)] gmac1990:
I did the same as [MENTION=2794694]Eradik[/MENTION] using the same methods. Like he said, follow them exactly (not hard to do) and use vomers twrp recovery (as the touch drivers are fixed in it).

The main difference I noticed was much better capacitive button response and when coupled with arhd 12 a very response experience. Other than that I'm not sure if there really are any noticsble benefits but it really isn't difficult to do at all and you don't lose anything with vomers method.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Bizarre48:
Are there any apps/mods that help maximize audio sound? I remember when I had my S3 they had KingBeatz, just wondering if there is anything similar for the S4. Thanks
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] Obartuckc:
Faux has a sound mod available on the Play Store (but it's a paid app), and there's also an "increase volume mod" as well (though I don't think it has anything to do with quality really).

Sent from my AT&T Samsung Galaxy S4 Badass
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] scott14719:
There's a mod in the App section that makes the sound louder. I'm not sure if it is what you are looking for and I haven't personally tried it. But it is there if you want to check it out.
[RAZR HD Q&A, Help & Troubleshooting] Lorenzo VonMatterhorn:
i currently have a droid x2. and while i would like to say that i could wait until the x-phone comes out, or the htc one comes out. i just cant stand having a non-functional phone anymore.

my question is:

do you guys think this phone is worth upgrading to ?

does development seem to be growing since unlock? ( does future development seem likely?) ( 5.0+ ? )

should i consider going with a galaxy device? (s3 or s4) i am kind of indifferent towards these plasticy devices.

i like motorola a lot. their build quality is fantastic. but i am not sure how i feel about a non removable battery (essentially limiting the life of the phone) , or the slightly outdated specs.

just looking for some users two cents on the topic. thanks guys. :cowboy:
[RAZR HD Q&A, Help & Troubleshooting] deeje00:
It's a great phone and if your worried about battery get the maxx version.

Sent from my PACMAN MATRIX HD MAXX
[RAZR HD Q&A, Help & Troubleshooting] SFG:
+1000000000000000
[RAZR HD Q&A, Help & Troubleshooting] JJT211:
I love this phone....battery life of course is phenomenal and I've yet to hear of anyone's battery crapping out on them. I've had mine now for several months and I think I've used my car charger maybe once. And thats only because I didnt charge my phone the night before.

The whole S4 oct-core plasticky phone's are outright redonkulous. The 1.5 ghz dual core is all you really need.

As far as development, since the unlock, it's skyrocketed. And its just in its infancy. Hashcode already has a new Kernel up for review as we speak. Once Cynaogenmod approves, we'll get official support and the development will be on par with the rest of the other top tier devices.

This board is just the tip of the iceberg. Check out www.droidrzr.com for more...