yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Manav Bhagia:
Error while compiling AICP for oneplus3 :

clang++: error: unable to execute command: Segmentation fault (core dumped)

clang++: error: clang frontend command failed due to signal (use -v to see invocation)

clang version 3.8

Target: arm--linux-android

Thread model: posix

InstalledDir: prebuilts/clang/linux-x86/host/3.8/bin

clang++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.

clang++: note: diagnostic msg:

********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang++: note: diagnostic msg: /tmp/rsCpuIntrinsicBLAS-573279.cpp

clang++: note: diagnostic msg: /tmp/rsCpuIntrinsicBLAS-573279.sh

clang++: note: diagnostic msg:

********************

build/core/binary.mk:735: recipe for target '/home/manavbhagia/AICP/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libRSSupport_intermediates/cpu_ref/rsCpuIntrinsicBLAS.o' failed

make: *** [/home/manavbhagia/AICP/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libRSSupport_intermediates/cpu_ref/rsCpuIntrinsicBLAS.o] Error 254

make: *** Waiting for unfinished jobs....
[Android Software/Hacking General [Developers Only]] sagarshah1729:
DragonTC is compatible with almost AOSP based ROMs only..It gives errors while compiling with cm based ROMs..
[Android Software/Hacking General [Developers Only]] fKm:
Grr, wanted to build a ROM with prebuilt DragonTC and Linux Mint but I get this error:

prebuilts/clang/linux-x86/host/3.9/bin/clang: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory

I searched at Google for an hour already but I can't seem to fix it. Maybe it is very easy to fix but I am too newbie for this. Can someone help me please?
[Android Software/Hacking General [Developers Only]] frap129:
Please read the OP for error fixing

All Roms get errors, they vary from rom to rom. The OP provides all the info needed for fixing said errors.
[Android Software/Hacking General [Developers Only]] fKm:
Damn, I still get this error when I try to compile AOSP based ROMs:

/media/fkm/TS/DragonTC/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:249: error: undefined reference to 'shm_open'
/media/fkm/TS/DragonTC/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:253: error: undefined reference to 'shm_unlink'
/media/fkm/TS/DragonTC/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:249: error: undefined reference to 'shm_open'
/media/fkm/TS/DragonTC/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:253: error: undefined reference to 'shm_unlink'
/media/fkm/TS/DragonTC/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:249: error: undefined reference to 'shm_open'
/media/fkm/TS/DragonTC/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:253: error: undefined reference to 'shm_unlink'
/media/fkm/TS/DragonTC/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:249: error: undefined reference to 'shm_open'
/media/fkm/TS/DragonTC/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:253: error: undefined reference to 'shm_unlink'
clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_executable_internal.mk:34: recipe for target '/media/fkm/Data/CandySix/out/host/linux-x86/obj/EXECUTABLES/asan_test_intermediates/asan_test64' failed
make: *** [/media/fkm/Data/CandySix/out/host/linux-x86/obj/EXECUTABLES/asan_test_intermediates/asan_test64] Error 1
make: *** Waiting for unfinished jobs....
clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_executable_internal.mk:34: recipe for target '/media/fkm/Data/CandySix/out/host/linux-x86/obj/EXECUTABLES/liblatinime_host_unittests_intermediates/liblatinime_host_unittests' failed
make: *** [/media/fkm/Data/CandySix/out/host/linux-x86/obj/EXECUTABLES/liblatinime_host_unittests_intermediates/liblatinime_host_unittests] Error 1

Does anyone know what to do here? sanitizer_posix_libcdep.cc doesn't even have lines 249 and 253. That's very strange...
[Android Software/Hacking General [Developers Only]] joshndroid:
[MENTION=5051294]frap129[/MENTION] any idea I'm still keen
[Android Software/Hacking General [Developers Only]] frap129:
What version are you trying to build?
[Android Software/Hacking General [Developers Only]] fKm:
No help me for me? Or do you also don't know how to fix the error?
[Android Software/Hacking General [Developers Only]] joshndroid:
It was 3.7opt for me mate I didn't want to go to far from stock version at first
[Android Software/Hacking General [Developers Only]] khan_frd2002:
i too get the same error, here the workaround i use

sudo ln -s /lib/x86_64-linux-gnu/libncursesw.so.5 /usr/lib/libncursesw.so.6

make sure you have libncursesw5 install
[Android Software/Hacking General [Developers Only]] fKm:
Somehow I was able to compile DragonTC with a repo sync. But I still have the errors mentioned above while compiling AOSP based ROMs. No one was able to help me though :(
[Android Software/Hacking General [Developers Only]] khan_frd2002:
try the workaround i post before...it will build fine then

and now i am stuck with other error

target asm: libc_bionic <= bionic/libc/arch-arm/bionic/abort_arm.S
target asm: libc_bionic <= bionic/libc/arch-arm/bionic/__bionic_clone.S
bionic/libc/arch-arm/bionic/__bionic_clone.S:69:4: error: unexpected token at start of statement
1: # The child.
^
build/core/binary.mk:886: recipe for target '/home/khanfrd/Workspace/Rom/cm13.0/out/target/product/armani/obj/STATIC_LIBRARIES/libc_bionic_intermediates/arch-arm/bionic/__bionic_clone.o' failed
make: *** [/home/khanfrd/Workspace/Rom/cm13.0/out/target/product/armani/obj/STATIC_LIBRARIES/libc_bionic_intermediates/arch-arm/bionic/__bionic_clone.o] Error 1
make: Leaving directory '/home/khanfrd/Workspace/Rom/cm13.0'

#### make failed to build some targets (06:34 (mm:ss)) ####

[MENTION=5051294]frap129[/MENTION] any idea?
[Android Software/Hacking General [Developers Only]] fKm:
With my self-compiled DragonTC build I don't get that error anymore but the others mentioned above :(
[Android Software/Hacking General [Developers Only]] khan_frd2002:
i dont know much about roms just started buidling roms myself :p but you should try this

1. Clean everything out before start building rom again,

make installclean and make clean

2. use different gcc toolchain (try uber)

3. use prebuilt dragon tc

hope this help you :)
[Android Software/Hacking General [Developers Only]] frap129:
I've recently run into this error as well. The only thing I've been able to do is disable DTC for it
[Android Software/Hacking General [Developers Only]] Dark_Eyes_:
Hey [MENTION=5051294]frap129[/MENTION] [MENTION=2699658]xanaxdroid[/MENTION] ,

I've been using DragonTC 3.9 for a while without build errors (well after fixing a few of them). My problem is that, even though the ROM builds fine, I get weird issues with the OK Google voice command recognition. Most of the time, the voice commands get all mixed up. At first I didn't know what was causing it, so I tried different things, and I'm pretty confident now that the problem comes from DragonTC. Has anyone ever experienced this?

The fix is probably pretty straightforward, which is adding the culprit package(s) to disable_polly or disable_DTC, but I can't seem to identify which one... If you guys have any suggestions, that would be appreciated.

I'm thinking trying out 3.8 or 3.7, maybe that will help?

Thanks in advance guys.
[Android Software/Hacking General [Developers Only]] xanaxdroid:
No DTC wouldn't cause that. It doesn't build any of the HotwordEnrollment or Google App apk's. Check your vendor files and Google Apps.
[Android Software/Hacking General [Developers Only]] Dark_Eyes_:
Weird thing is, I have 2 identical builds (same source, same vendor, same kernel, etc.), but one built with DTC 3.9 and the other built with stock clang. The build with stock clang is good, the one with DTC is not. Can it be some device specific modules, or noise cancellation packages?

It really looks like it's something to do with DTC...
[Android Software/Hacking General [Developers Only]] khan_frd2002:
i am stuck with this now, anybody any idea

target Java: org.cyanogenmod.platform.sdk (/home/khanfrd/Workspace/Rom/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes)
javac: file not found: /home/khanfrd/Workspace/Rom/cm13.0/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
Usage: javac <options> <source files>
use -help for a list of possible options
build/core/java.mk:394: recipe for target '/home/khanfrd/Workspace/Rom/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes-full-debug.jar' failed
make: *** [/home/khanfrd/Workspace/Rom/cm13.0/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.sdk_intermediates/classes-full-debug.jar] Error 41

#### make failed to build some targets (10:41:26 (hh:mm:ss)) ####

edit : okay got it pass, i have build org.cyanogenmod.platform-res manually

make org.cyanogenmod.platform-res

but why anyone have any idea?

and also do we need to make any other changes other than op stated?
[Android Software/Hacking General [Developers Only]] nicknitewolf:
Hey has anyone tried compiling with CyanogenMod 13 again? I was pretty fed-up a few months ago because apparently dragon tc caused some error I can't find in the logs, stopping at some random java app compilation for maybe a day. Many modules also had to be disabled. Anyone got it to run on cm-13.0 fully successfully and what modules do I have to disable now?
[Android Software/Hacking General [Developers Only]] juginkrebs:
host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c

prebuilts/clang/linux-x86/host/3.9/bin/clang: error while loading shared libraries: libncursesw.so.6: cannot open shared object file: No such file or directory

build/core/binary.mk:806: recipe for target '/home/metin/cyanogenmod/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o' failed

make: *** [/home/metin/cyanogenmod/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 127

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

Note: system/extras/verity/Utils.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: system/extras/verity/Utils.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

# In case value of PACKAGES is empty.

make: Leaving directory '/home/metin/cyanogenmod'

#### make failed to build some targets (04:37 (mm:ss)) ####

metin@metin:~/cyanogenmod$
[Android Software/Hacking General [Developers Only]] fKm:
Look at post #168
[Xperia Z5 Compact General] harrywarry:
Created with prf-creator.

Just flash the zip-file with twrp.

If someone is able to debloat the rom it would be great.

Just click the megalink below:

https://mega.nz/#!eFFDDbwB!ipn3TXNcVwEZSbEmXbJBXsXEi05UvaISxTOetbiwW-M
[Xperia Z5 Compact General] acabreram:
could you tell me how did you do??

Thanks!
[Xperia Z5 Compact General] harrywarry:
You can find all information about the prfcreator tool here:

http://xdaforums.com/showthread.php?p=55082588

You can download the ftf's from xperifirm.
[Xperia Z5 Compact General] sumguyatvt1128:
Thanks for putting this together! Is this based on the most recently released software (not Marshmallow of course)? I'm not the most avid technical expert in the world so please excuse my question.
[Xperia Z5 Compact General] harrywarry:
As far as I know it is the most recent stock version available.

I'm not a techical expert either :beer:
[Xperia Z5 Compact General] sumguyatvt1128:
Haha sweet thanks! Won't boot up now. I get blinking red lights, and the phone resets. I believe I'm stuck in a boot loop :(
[Xperia Z5 Compact General] acabreram:
I think you have to flash a custom kernel you could try Andro kernel. The stock kernel is not compatible i think
[Xperia Z5 Compact General] harrywarry:
You could be right. I came from this one:

http://xdaforums.com/showthread.php?p=63443547

But.... It is a stock rom including the stock kernel.
[Xperia Z5 Compact General] acabreram:
well you could flash a prerooted firmware and after power off and boot in fastbootmode and flash a custom kernel with cmd

check this one too http://xdaforums.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605
[Xperia Z5 Compact General] harrywarry:
I don't understand why It doesn't work for you. It is a completely stock Sony .200 rom with supersu added.

Nothing more, nothing less.....
[Xperia Z5 Compact General] civicsr2cool:
Me neither. I can't even flash tool the .200 either. Common denominator would be bootloader?
[Xperia Z5 Compact General] harrywarry:
I wouldn't know. Are you on E5823 or e5803?
[Xperia Z5 Compact General] civicsr2cool:
5823. I unlocked the bootloader right out of the box and put twrp without taking the ota to .200 and now I'm stuck. I'm hoping when m comes out next week or so that's not the case!
[Xperia Z5 Compact General] harrywarry:
The phone is not working at all now?
[Xperia Z5 Compact General] civicsr2cool:
Phone functions fine. I can't get xposed to work at all so I'm trying to update to test. Currently using hotspot to keep my prior phone running the xposed apps I need lol
[Xperia Z5 Compact General] asl0501:
Hi

I installed this in twrp and did a wipe system before installing.. I'm just wondering if the system should be as big as 20,54gb??

Have i done something wrong?

Thanks in advance.
[Xperia Z5 Compact General] harrywarry:
I Am not using this rom anymore, so i can't check. I am on mm now and that 'android system' is 9.4 gb.

20 gb seems very large to me.
[Xperia Z5 Compact General] xcvash:
Hi,

It tried to install this rom, but now my phone is stuck showing "Android is starting" popup.

Sometimes, before being stuck, it optimize some applications (18 or 23, it's depends) but it's still stuck after.

I try to came back in recovery (twrp) but my phone is not listed in adb devices and plug the charger when holding vol- does nothing ...

If anyone know how to save my phone ? ^^

Thanks !

Edit: Saved my phone with Flashtool, updated to a 6.0.1 firmware :)
[X Style (Pure) Q&A, Help & Troubleshooting] anantharam:
Vibe X3 doesn't have it's own dedicated XDA forum yet so I was thinking weather we will be able to use the Custom ROMs from Moto X Style in Vibe X3 since they are from the same OEM with same chipset or will it be atleast easy to modify the ROMs from here to make them work on Vibe X3?
[HTC One A9] falcon26:
Is the the HTC A9 on Amazon the normal one or is it some kind of International version that is different? Seen here....

http://www.amazon.com/HTC-A9-5-0-In...ie=UTF8&qid=1455904718&sr=1-5&keywords=htc+a9

Will this work on T-Mobile here and get the full LTE like Band 12.

Thanks
[HTC One A9] kozimor:
That listing is for the international version. Here a copy paste from the features:

Nano SIM; Works with GSM carriers such as AT&T, T-Mobile etc. 4G in N/A in North America

Aside from the typo, this clearly indicates it isn't compatible with US LTE. You'll still get 3G and HSPA, but that's probably it.
[Upgrading, Modifying and Unlocking] f.gentili:
Hello :)

How to remove connection status icons on today screen?
[Upgrading, Modifying and Unlocking] f.gentili:
Nothing? :(
[Xperia SP Q&A, Help & Troubleshooting] rcallmann:
Solved. I used Link2sd uninstall the up grade for google Clock. Now google clock is working

Hi guys ....Clock not work in CM 12.1 .... I just try open clock and It stopped... Any solutuon ?
[Samsung Galaxy Alpha] cvek032:
Guys please help!!! I need best 4.4.4 firmware for SM-G850F, lolipop is suck. Please help :D
[Samsung Galaxy Alpha] tomxass:
Best way is to flash your original FW (your CSC).
[Samsung Galaxy Alpha] tileeq:
http://www.sammobile.com/firmwares/

Sent from my SM-G850F
[Galaxy S 5 Q&A, Help & Troubleshooting] lombardy:
Hello Guys,

I'm in trouble with a G900M device, after a OTA update, it stay in bootloop, but i cannot enter in a recover mode, when i try flash any room in Odin (various versions) don't work and i receive a message on the screen:

" ODIN: flash read failure"

" ERROR: there is no a pit binary"

"SECURE CHECK FAIL : PIT"

" ODIN: flash read failure"

i have tryied to flash de pit file from this forum, and another in the internet, bot i had the same message.

can anyone help me ?

Thx.
[Galaxy S 5 Q&A, Help & Troubleshooting] keithross39:
The messages you are getting would indicate this is Odin not communicating with the device, so it's probably a PC end problem....

There is a basic checklist for odin flashing, the chances are you are probably doing everything correctly, but it won't hurt to make sure....

1) which version of Odin are you using. (3.10.7 is usually the best for the S5)

2) do you have the Samsung USB drivers installed on your PC. (You will get them when you install Kies)

3) Which version of Windows are you using. (From Windows Vista onwards you need to run Odin as administrator and Odin has had problems with Windows 8)

4) Do you have firewalls/antivirus disabled.

5) have you killed all Kies processes in task manager. (Kies interferes with Odin)

6) Are you using a primary USB socket on the pc. (A USB socket connected directly to the motherboard instead of one that runs through a 'hub')

7) are you using an official Samsung USB cable. (Other, cheaper, non branded cables are known to cause issues)

http://i.imgur.com/rVnFwJM.jpg
[Galaxy S 5 Q&A, Help & Troubleshooting] lombardy:
i've tryed to flash again whit Samsung USB 3.0 cable, and have the same trouble, i'm using windows 10, and have tested much versions for odin.
[Galaxy S 5 Q&A, Help & Troubleshooting] keithross39:
What about Kies? Have you installed it? It will give you the latest USB drivers.....

Also I'm wondering if you using Windows 10 is the problem.....it's a new OS and I'm not sure if Odin is 100% compatible yet.

If you have access to an older pc it could be worth giving it a try on that.....

I have an old XP laptop that I use whenever I flash a device......I refuse to get rid of it....lol

http://i.imgur.com/rVnFwJM.jpg
[Galaxy S 5 Q&A, Help & Troubleshooting] lombardy:
i'd installed Kies, samsung smart, drivers around internet forums and nothing, (i uninstall each item rsrs)

now i have tested at windows XP computer and odin return it:

<ID:0/005> Initialzation..

<ID:0/005> Set PIT file..

<ID:0/005> DO NOT TURN OFF TARGET!!

<ID:0/005> FAIL!

<ID:0/005>

<ID:0/005> Re-Partition operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

Device screen returns:

" ODIN: flash read failure"

" ERROR: there is no a pit binary"

" SECURE CHECK FAIL : PIT"

" ODIN: flash read failure"

using two different cables (a xperia Z2 cable and 3.0 usb for samung S5 )

no longer know what to do...
[Galaxy S 5 Q&A, Help & Troubleshooting] lombardy:
My S5 is dead?
[Galaxy S 5 Q&A, Help & Troubleshooting] jesec:
You can use Kies Firmware Recover instead of flash via Odin.
[Galaxy S 5 Q&A, Help & Troubleshooting] lombardy:
kies returns the same error at device screen, i'm now thinking for the trouble is in logicboard.
[Galaxy S 5 Q&A, Help & Troubleshooting] keithross39:
Sorry fella, I'm pretty much out of ideas if you want to remain stock.....I know of a website where you can get engineer or repair firmwares for the S5.....but I've already checked and they don't do one for the M variant. I don't suppose there's any way you can take it to a service centre is there?......

Have you thought about trying out a custom rom setup?

http://i.imgur.com/rVnFwJM.jpg
[XDA Assist] XDA Visitor:
I have a Samsung Galaxy S6 that was dropped into a hot tub :/ The water damage has been rectified and a new battery put in but the issue with it now is that it keeps connecting and disconnecting from the provider network so sometimes texts and calls come through and sometimes I don't get them until it connects again hours later. I've tried the SIM card in another phone and the SIM card is fine. I've tried resetting it back to factory settings and a friend went into the developer settings and played with a couple things in there (I'm not sure what but he knew what he was looking for). That fixed it for about an hour but now it's back to the same thing.
[XDA Assist] GuestK0087:
Greetings,

Thank you for using XDA Assist.

Please create an XDA account so you can ask the experts found within your device's forums found here:

Samsung Galaxy S6

Your questions will go here:

Galaxy S6 Q&A, Help & Troubleshooting

Good luck and welcome to XDA!
[Asus Transformer TF700] mgrankin:
I have to Asus tf700 that will not boot they were only vibrate when you push the on button. One is rooted with zombie and the other is stock I get a display on the rooted tablet on the monitor I have connected through HDMI and I am able to navigate on the tablet with the keypad attached. The other one stock unit I am NOT able to get a display on my monitor I have truck I have tried holding the on button and depressing the up and down volume keys no joy. I have tried pushing the manual reset button in the little hole on the side of the tablet. No joy. Is there anyone that can help me thank you in advance for your help.

I'd like to add that both tablets had their batteries drained and his condition appeared after I attempted to recharge them and start them up. Thanks again
[Asus Transformer TF700] berndblb:
Both of them started t do this at the same time???? Did you have power surge when you were charging them? Thunderstorms?

Very strange...

Anyway, if the rooted tablet boots normally and only the display is dead, it's exactly that: the backlight is out and you need a new screen.

The stock unit: Not much yoou can do with a locked bootloader. Can you get it into the bootloader menu with Power +Vol Down?

If not, there's not much more you can do. But you can cannibalize the sceen andput it into the rooted unit!
[Asus Transformer TF700] evimarn:
Restarts as soon as it enters recovery

Hi, my tablet froze last night and could not get out of the frozen screen, so I forced a restart , only to have it boot loop.If I try to go to recovery it just gets to the Twrp image and restarts again.

any help is appreciated.Unit cannot shut down and gets hot at the top left hand corner.Tried to hard reset using the side reset but to no avail.

Thanks.
[Asus Transformer TF700] berndblb:
This is happening a lot lately.... What rom and TWRP version are you running?

Check out the last few pages of the Katkiss Katshmallow thread. That's where we successfully solved this lately.

But I would really like to find out what's causing this. Can you try to access the tab in adb while it's looping in recovery?

Try to pull the recovery log and dmesg log.

Read this:http://xdaforums.com/showthread.php?t=3040645
[Asus Transformer TF700] evimarn:
Thanks after a lot of attempts manage to get the thing going but could not get to get a log as it was restarting after a second or two in twrp screen but managed to push asus stock and unit is ok. Will root again and use a custom as it surely runs much better.

Thank you for your attention.
[Asus Transformer TF700] GCq1w2e3:
Hey, I'm experiencing the same issue right now.

In my search I found this:

http://forums.androidcentral.com/as...216663-tf700t-now-won-t-turn-post2270270.html

I plugged it into my pc and after a short period, pressing the power button showed a battery icon in the red zone. so I'm going to leave it plugged in overnight.