yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ajituchiha:
I am getting this error while compiling linaro v4

Error while making subdir_lib for glibc!

check_fds.c: Assembler messages:
check_fds.c:82: Error: no such instruction: `brk '
../o-iterator.mk:9: recipe for target '/home/ajit/Desktop/tools/toolchain/build-tools-gcc/build-glibc/csu/check_fds.o' failed
make[2]: *** [/home/ajit/Desktop/tools/toolchain/build-tools-gcc/build-glibc/csu/check_fds.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../sysdeps/aarch64/libc-tls.c: In function ‘__tls_get_addr’:
../sysdeps/aarch64/libc-tls.c:30:32: error: __builtin_thread_pointer is not supported on this target
/home/ajit/Desktop/tools/toolchain/build-tools-gcc/build-glibc/sysd-rules:485: recipe for target '/home/ajit/Desktop/tools/toolchain/build-tools-gcc/build-glibc/csu/libc-tls.o' failed
make[2]: *** [/home/ajit/Desktop/tools/toolchain/build-tools-gcc/build-glibc/csu/libc-tls.o] Error 1
In file included from ../csu/libc-start.c:23:0,
from ../sysdeps/unix/sysv/linux/aarch64/libc-start.c:28:
../csu/libc-start.c: In function ‘__libc_start_main’:
../sysdeps/unix/sysv/linux/exit-thread.h:36:70: error: invalid register name for ‘_x0’
../sysdeps/unix/sysv/linux/exit-thread.h:36:114: error: invalid register name for ‘_x8’
In file included from ../sysdeps/unix/sysv/linux/aarch64/libc-start.c:28:0:
../csu/libc-start.c:298:49: error: __builtin_thread_pointer is not supported on this target
/home/ajit/Desktop/tools/toolchain/build-tools-gcc/build-glibc/sysd-rules:9: recipe for target '/home/ajit/Desktop/tools/toolchain/build-tools-gcc/build-glibc/csu/libc-start.o' failed
make[2]: *** [/home/ajit/Desktop/tools/toolchain/build-tools-gcc/build-glibc/csu/libc-start.o] Error 1
make[2]: Leaving directory '/home/ajit/Desktop/tools/toolchain/build-tools-gcc/glibc-2.27/csu'
Makefile:215: recipe for target 'csu/subdir_lib' failed
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory '/home/ajit/Desktop/tools/toolchain/build-tools-gcc/glibc-2.27'
Makefile:9: recipe for target 'csu/subdir_lib' failed
make: *** [csu/subdir_lib] Error 2
[Miscellaneous Android Development] ajituchiha:
I tried to compile gcc 5 and gcc 7 and i still get the same error. I am running ubuntu 16.04 LTS
[Miscellaneous Android Development] ajituchiha:
have you fixed this issue ? I am facing the same error. I looked around the thread and saw that we need to use an older version of ISL but that is already being used in the build script

In file included from ../../gcc/gcc/graphite-optimize-isl.c:27:0:
/home/ajit/Desktop/build-tools-gcc/gcc/isl/include/isl/map.h:46:10: note: declared here
unsigned isl_map_n_out(__isl_keep const isl_map *map);
^
../../gcc/gcc/graphite-optimize-isl.c: In function ‘isl_union_map* getScheduleMap(isl_schedule*)’:
../../gcc/gcc/graphite-optimize-isl.c:414:67: error: ‘isl_schedule_get_band_forest’ was not declared in this scope
isl_band_list *BandList = isl_schedule_get_band_forest (Schedule);
^
[Miscellaneous Android Development] PaulPizz:
Can you point me in the right direction to information on these supporting commits to use toolchains above 4.9 please..
[Miscellaneous Android Development] djb77:
[MENTION=6842057]nathanchance[/MENTION]

Nice work :)

I'm going to have a go at compiling a Linaro 7 arm64 toolchain,hopefully it serves me well :)

Btw, i added a pull request to your repo, bumped Linux to 4.16 and Linaro to 7.3-2018.03
[Miscellaneous Android Development] nathanchance:
Hopefully it works, I haven't been good about maintaining the script as I really don't use it anymore.

Hmmm I don't see it? https://github.com/nathanchance/build-tools-gcc/pulls
[Miscellaneous Android Development] djb77:
Sorry was looking at the wrong repo lol.

I only needed to update Linux.

It's done now :)
[Miscellaneous Android Development] darkness:
any help :confused:

../../../../../../kernel/samsung/msm8974/kernel/trace/trace_output.c: In function 'trace_graph_ret_raw':
../../../../../../kernel/samsung/msm8974/kernel/trace/trace_output.c:1088:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
error, forbidden warning: trace_output.c:1088
/home/ptaoubi/AospExtended/kernel/samsung/msm8974/scripts/Makefile.build:307: recipe for target 'kernel/trace/trace_output.o' failed
make[3]: *** [kernel/trace/trace_output.o] Error 1
/home/ptaoubi/AospExtended/kernel/samsung/msm8974/scripts/Makefile.build:443: recipe for target 'kernel/trace' failed
make[2]: *** [kernel/trace] Error 2
make[2]: *** Waiting for unfinished jobs....
../../../../../../kernel/samsung/msm8974/kernel/auditsc.c: In function 'audit_log_exit':
../../../../../../kernel/samsung/msm8974/kernel/auditsc.c:1696:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
error, forbidden warning: auditsc.c:1696
/home/ptaoubi/AospExtended/kernel/samsung/msm8974/scripts/Makefile.build:307: recipe for target 'kernel/auditsc.o' failed
make[2]: *** [kernel/auditsc.o] Error 1
/home/ptaoubi/AospExtended/kernel/samsung/msm8974/Makefile:966: recipe for target 'kernel' failed
make[1]: *** [kernel] Error 2
Makefile:130: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2
[Miscellaneous Android Development] alecxs:
Noob Question

Is there a reason why Linaro don't provide prebuilt toolchains for arm-linux-androideabi? latest download i found was Linaro NDK, a drop-in replacement for the Android NDK but this is from 2014. i was searching for hours, the link in Prebuilt Toolchain Binaries is dead. I have seen a statement from Bernhard Rosenkränzer that Google has integrated Linaro since Android 7. But Changelog Android NDK r18 tells that "GCC has been removed".

What am i missing here or mixing up? And how is GCC, Linaro GCC and CLANG related?
[Miscellaneous Android Development] krasCGQ:
You can compile your own using crosstool-NG with NDK r17c (last version to support GCC).

Google is attempting to get rid of GCC from AOSP, so NDK r18 removed support for it.
[Miscellaneous Android Development] RebelLion_:
They do, although it's prefix is different which might be your confusion (arm-linux-gnueabi). You can find their toolchains in their Linaro Releases page. Here's the link to the latest GCC 7 toolchains, you can find other versions by going to "parent directory" at the top

https://releases.linaro.org/components/toolchain/binaries/latest-7/
[Miscellaneous Android Development] alecxs:
arm-linux-gnuabi aka arm-[none-]linux-gnuabi is for building linux target, for example ubuntu running on arm device. There are no android libraries. The prebuilt toolchains from this thread are named arm-gnu-linux-androideabi or arm-linaro-linux-androideabi, which have android target. a simple statically linked binary may run on both, linux and android, but don't mix up OS (they are different)
[Miscellaneous Android Development] krasCGQ:
linux on that name means that the toolchain is using Linux kernel headers. gnu means that it uses Glibc for C compiler, android = uses Bionic C compiler.
[Miscellaneous Android Development] alecxs:
... and that means, we can use arm-linux-gnuabi for target android, or not?

suspicious enough, that we have to use Android NDK r17c toolchain for compiling Linaro toolchain. But this points me to an answer about API selection:

For KitKat we have to set API-Level=19 but Linaro does not have an option to choose. Does it mean, set API-Level in Android NDK for compiling Linaro with crosstool-NG will make Linaro Toolchain with API 19?
[Miscellaneous Android Development] krasCGQ:
That only matters for compiling applications or libraries targeting Android.
[Miscellaneous Android Development] Atifbaig786:
Hey Guys I know that is a Little crazy to come at you like this but I somehow managed to compile a kernel from a modified device source in android Ubuntu Chroot and everything went smooth and got a zImage pretty Quick to my surprise.So,I flashed it using various ways but wasn't able to boot up th device.I wanted to know if there were any differences between cross-compiling and compiling as I was able to successfully compile and boot the zImage using this linaro toolchain.I just tried to be funny as I had a Ubuntu bionic chroot with gcc-7.3.0 so I unpacked the kernel sources and make the defconfig and execueted make command to get a zImage at the end of process Which I thought wasn't possible.
[Miscellaneous Android Development] alecxs:
there should be no difference except a smaller file size maybe
[Miscellaneous Android Development] Pierre2324:
same how did you fix this?

sorry wrong post
[Miscellaneous Android Development] Thaodan:
Sorry to question on that so late but I have the same question: shouldn't matter for kernel builds should it?

Has anyone tried gcc 8 from arm.com?

https://developer.arm.com/tools-and...developer-tools/gnu-toolchain/gnu-a/downloads
[Miscellaneous Android Development] Watanabe_You:
Gcc8 is fine.
[Miscellaneous Android Development] cristihan:
Thank you [MENTION=6842057]nathanchance[/MENTION] for your great work.

I tried to build a Linaro 7.x toolchain for x86_64 but although I followed all the instructions in Github I get the error from the attached image. I'm on Ubuntu 18.04 LTS. What am I doing wrong?
[Miscellaneous Android Development] nathanchance:
Looks like autoconf-archive needs to be installed on Ubuntu: https://github.com/USBhost/build-tools-gcc/issues/32#issuecomment-494173124

If you have further issues, open an issue in that repo as I no longer maintain that script.
[Miscellaneous Android Development] cristihan:
Thank you [MENTION=6842057]nathanchance[/MENTION] but unfortunately after almost 30 min of compilation it gave me error. I will use Linaro latest realese. Regards

I built a kernel for my device from the same source. One compiled with GCC 4.9 and the other compiled with Linaro 7.4. The kernel built with GCC works perfectly ... the one built with Linaro gives me bootloop although it did not give any warning or error during compilation. Does anyone have any idea why?
[Miscellaneous Android Development] nathanchance:
I would recommend reading this guide that I have: https://gist.github.com/nathanchance/965028fc180b1cced015ac7530b2eaeb
[Miscellaneous Android Development] rajit:
broken?
[Miscellaneous Android Development] c3c3:
latest linaro try to compile busybox

/home/c3c33/Desktop/busybox-1.31.1/scripts/gcc-version.sh: line 11: /home/c3c3/Desktop/busybox-1.31.1/home/c3c3/Desktop/gcc/bin/aarch64-linux-gnu-gcc: No such file or directory

CC applets/applets.o

/bin/sh: 1: /home/c3c3/Desktop/busybox-1.31.1/home/c3c3/Desktop/gcc/bin/aarch64-linux-gnu-gcc: not found

make[1]: *** [scripts/Makefile.build:198: applets/applets.o] Error 127

make: *** [Makefile:372: applets_dir] Error 2

i can't figure out , for local machine works fine to compile.

export ARCH=arm64

export SUBARCH=arm64

export CROSS_COMPILE=$(pwd)/home/c3c3/Desktop/gcc/bin/aarch64-linux-gnu-

make defconfig

make menuconfig

make

:confused:
[Miscellaneous Android Development] alecxs:
you set a binary as path?
[Galaxy S6 Edge Q&A, Help & Troubleshooting] lvlessi:
Hello Guys.

about 2 months ago i received Android Nouget update. i installed that and my S6 Edge was working very good. now about 2 to 3 weeks ago i received another Software Update which was about 250+MB. you guys may have received that update too.. before installing that update my phone's battery was good. but now my battery drain quickly than before..

what should i do now ? can i uninstall or should i uninstall that new update i got ?

kindly tell me the solution please.
[Galaxy S6 Edge Q&A, Help & Troubleshooting] callumbr1:
Check battery stats first to see if anything is draining the battery abnormally since updating.
[Xiaomi Mi 5 Themes, Apps, and Mods] chhapil:
Hi Folks,

Uploading the systemless fonts i have created with magisk templates. tested on Mi 5

As of now,

1. Segoe WP

2. LG's Smart Gothic

3. One plus's Lato UI

4. Samsung One

5. Samsung Sans

All credit goes for fonts, templates goes to original authors.

[MENTION=4706011]Humorce[/MENTION] for the systemless font published in the magisk repo

[MENTION=4470081]topjohnwu[/MENTION] for Magisk offcourse!

All other members of XDA who helped published different system dumps for the reference of this work.
[Xiaomi Mi 5 Themes, Apps, and Mods] teddy0209:
Might be good to post a preview of the fonts... ?
[Xiaomi Mi 5 Themes, Apps, and Mods] chhapil:
You can help :)
[Xiaomi Mi 5 Themes, Apps, and Mods] chhapil:
fixed the samsungone font.
[Xiaomi Mi 5 Themes, Apps, and Mods] morph027:
Awesome, thanks for that.

Here's Bariol font which i'm still loving (from Melior NUI CM Theme back in the days ;) )
[Xiaomi Mi 5 Themes, Apps, and Mods] lsl640:
is there a tutorial to create systemless fonts?
[Xiaomi Mi 5 Themes, Apps, and Mods] Kleinerkleiner29:
When i flash "SegoeWP" then my SafetyNet Status went "false". before flashing it, it was true. can someone explain me that?

OnePlus 5T Nougat OxygenOS 4.7.6
[Xiaomi Mi 5 Themes, Apps, and Mods] oroboros74:
How about previews?
[Samsung Galaxy J5 Questions & Answers] The_LLH:
Hello again.

I was wondering what' the latest update for j5o6 (I mean the official one ofc)?

I've got j510fn (europe) and mine is stuck on the december security patch while clearly there have been updates & everytime I go to update it says it's already running the latest update.

Confused.

I'm still on stock rom, unrooted, knox 0x0...
[Samsung Galaxy J5 Questions & Answers] tweakradje:
https://www.sammobile.com/firmwares/galaxy-j5-2016/SM-J510FN/

Waiting for Nougat update.

Cheers
[Samsung Galaxy J5 Questions & Answers] BlackAxiom:
if never comes :D
[Samsung Galaxy J5 Questions & Answers] The_LLH:
My country's not even listed lol

They are pretty slow with uodates :eek:
[Samsung Galaxy J5 Questions & Answers] tweakradje:
Don't hold my breath for it. But J520 just announced with Nougat. Little effort to release it for J510 too?
[Samsung Galaxy J5 Questions & Answers] The_LLH:
If it doesn't get it I'm leaving Samsung :P
[Samsung Galaxy J5 Questions & Answers] tweakradje:
Country not important. Only for csc. Root it and you can change that too if you want.
[Samsung Galaxy J5 Questions & Answers] BlackAxiom:
J520 probably gonna be even more unsupported by custom ROMs xD
[Samsung Galaxy J5 Questions & Answers] nikos7hellas:
September 18th

According to Samsung We will take it Nougat 7.0 firmware on the 18th of September for J52016 FN for Europe starts roll out...

https://xdaforums.com/galaxy-j5/how-to/touchwiz-nougat-update-galaxy-j-series-t3558373
[Samsung Galaxy J5 Questions & Answers] The_LLH:
Got an update today, minor stuff really, basically an april security patch...
[ZTE Blade V8 Pro Themes, Apps, and Mods] hijibiji:
Download ZTE Blade V8 Stock Wallpapers Fro
[Samsung Galaxy S8 Guides, News, & Discussion] scgf:
Anyone else received their free speaker? I took delivery of mine this morning and am rather impressed - what a nice little freebie! I sounds better than I thought it would and goes way louder than other Bluetooth speakers I have used.

I registered my claim on 20th April and got the 'Claim Validated' email on 8 May.
[Samsung Galaxy S8 Guides, News, & Discussion] amyf27:
Is this carrier specific? I didn't know about any free speakers, but I'm on Tmobile
[Samsung Galaxy S8 Guides, News, & Discussion] scgf:
It was an offer by the UK's CarphoneWarehouse on pre-orders of the S8. I would buy one if I didn't get it free - it is a Samsung branded IPx7 water resistant speaker and can provide power to charge your phone. Apparently not too expensive online through eBay. Looks really nice and perfect for my bathroom!
[Samsung Galaxy S8 Guides, News, & Discussion] amyf27:
Oh ok. In the US here. I was thinking about Bluetooth speaker maybe to attach to my road bike or just to have around the house too. I use Amazon a lot and sometimes Ebay
[Samsung Galaxy S8 Guides, News, & Discussion] kash20:
I also submitted my claim 20th April and got it validated 8th May, I'm still waiting on mine to arrive, my claim was in the 2000 region so guess it'll come in the next few days
[Samsung Galaxy S8 Guides, News, & Discussion] scgf:
My claim ID was 213. I did pick up my S8 around 9.30 am on 20th April and submitted the claim within the hour, lol!
[Samsung Galaxy S8 Guides, News, & Discussion] russ18uk:
Probably got a while before getting mine then as I'm 29102, validated 9th May.

It was the only decent offer in the UK - the VR Americans got would have been better and help the VR ecosystem increase in popularity.
[Samsung Galaxy S8 Guides, News, & Discussion] lynxblaine:
Claim number 12000ish and got validated 8th May. I hope to see mine next day or two.
[Samsung Galaxy S8 Guides, News, & Discussion] kash20:
Just got mine through today, didn't realise after getting the message saying your claim has been validated, you get a final message saying your claim has been processed
[Samsung Galaxy S8 Guides, News, & Discussion] lynxblaine:
Got mine yesterday. It is quite good. Takes forever to charge but imagine i won't be charging it often. The Samsung Level app is useful.
[Samsung Galaxy S8 Guides, News, & Discussion] Lukehunt02:
I received mine today but the micro usb doesn't fit the s8+ so if I wanted to use it as a portable charger does that mean I have to buy a different connecter?
[Samsung Galaxy S8 Guides, News, & Discussion] lawrence750:
the galaxy s8 comes with a micro usb to usb c adapter you can use

I got the JBL Flip 4 speaker free with my phone (O2-UK)

Love it! Fantastic bit of kit.
[Samsung Galaxy S8 Guides, News, & Discussion] jj03:
got mine yesterday. quite impressed with it..reasonable quality too...
[Xiaomi Redmi Note 3 Questions & Answers] {s3rious}:
Can somebody please port the stock cm13 camera app so that it can work with other roms?

Or maybe give instructions on what to copy/paste so that it will work with AOSiP 5.9?
[Xiaomi Redmi Note 3 Questions & Answers] {s3rious}:
I' ve found the solution. I found an apk file in cm13 rom, here is the apk: https://www.mediafire.com/?qyx9bzj7iexa03o

1st edit:

I've installed that apk in aosip 5.9, enabled camera2 api, but high framerate and slow motion doesnt work. When I try to change slow motion settings the camera crashes. What to do so I can have slow motion?

2nd edit:

Whenever I try to record a video with this app it crashes, so the problem is in video recording. Any help?
[Xiaomi Redmi Note 3 Questions & Answers] arnavbatra:
The camera app in CM13 and LineageOS 14.1 is called Snap.

Here is a flashable Snap zip that will enable all features.

It used to work in Nitrogen OS but I don't know whether it will work in AOSiP or not. Uninstall all camera apps and flash this zip in TWRP.

Report back whether it works or not.

https://xdaforums.com/showpost.php?p=71508356&postcount=5585
[Xiaomi Redmi Note 3 Questions & Answers] {s3rious}:
Yeah, I've flashed this but no new app shows up in app drawer.

edit: I installed camera from cyanapps and video recording isnt working
[Xiaomi Redmi Note 3 Questions & Answers] bloodytolits:
It's a problem with CAF based ROMs. Video recording on Snap does not work. Same problem with AOSP-CAF by mistercheese.

If slow mo(120 fps) is what you want then you can try this:

blackberry cam

Moto Cam

Both made by -fluffy- for One Plus 3 but works for our device.

Cons of blackberry cam: Auto flash does not work, no HDR

Cons of Moto cam: Cannot save pics directly to SD card, touch to focus does not seem to work when using at low light.
[Huawei P9 Lite Questions & Answers] apun:
Hi,

I'm using an app called GPS Joystick to mock location and it worked fine on my previous nexus devices.

Now that i have a Huawei P9 Lite, i can not manage to make it work as before and it keep rubberbanding between real location and mock location.

The developper give the information that all that is done is disabling "Fused Location Service" in order to avoid that.

Trying to do that directly with an app like disable services, i cannot reboot (stuck at attached screen every time) the phone once the service is disabled, and i have to restore from a previous backup.

Anyone can help me understand what is specific to that phone to disable location services so that app can not get access to real location even if GPS is enabled?

Thanks
[Huawei P9 Lite Questions & Answers] geno93:
I have the same problem with p9lite using fake gps ... Anyone know how patch it?
[Huawei P9 Lite Questions & Answers] geno93:
Hey your p9lite is branded or debranded?
[Huawei P9 Lite Questions & Answers] mrceli:
I had the same issue when disabling location service, phone went to bootloop. It never happen to other phones. guess huawei lock the service so that its hard to disable it. anyone has success to disable location service without bootloop??
[Huawei P9 Lite Questions & Answers] Comensal:
I have the same issue with Huawei P8. Everytime I disabled fused location service can't boot the phone...

Have you tried older roms? Before security patch?
[Android Q&A, Help & Troubleshooting] adityaparmar07:
Hey everyone i'm building an AOSP rom for my device but the problem is i don't know how to create a device tree for my device.

I have kernel and source code for my device (What HTC give on their developer site)

So anyone please help me to make my build successful !

Thank you.
[Tilt, TyTN II, MDA Vario III General] hubrix:
Folks,

I have been flashing ROM after ROM onto my Tilt and find that I then need to spend about 20-30 min re-setting up my device. If it's just different versions of the same ROM I can usually just restore a backup but otherwise I am clicking 15-20 cabs from the sd card to get them to install and then entering serial numbers galore. What do other people do? It would be really nice if there was a program that you could select all CAB's you want to install and just have it install all in a row, in the right order, clicking all the buttons for you. Anyone know of anything like that?
[Tilt, TyTN II, MDA Vario III General] edi:
this interests me too ;)
[Lenovo Vibe K4 Note Questions & Answers] TheRSW:
Many MTK device's users are facing the WiFi NVRAM WARNING err 0x10

This method is easy as any other methods..

What you need to perform the methods..??

1. A Rooted MTK device

2. Root Browser.apk

3. Wifi Error Fix.rar

How to do this?

Extract the files from the WiFi fix.rar

On Your Rooted device go to root Explorer after opening u are in system root.

Then navigate to File system root/

nvdata/APCFG/APRDEB

There you will found to files named 1) WIFI , 2) WIFI_CUSTOM just simply delete these files

Now put the two files from WiFi Fix.rar in that location (system root/

nvdata/APCFG/APRDEB)

After this process complete You need to just reboot your device. Now go to the wifi setting the nvram msg is gone..!!

I tested this on my Lenovo A7010a48 aka K4 Note aka X3 Lite.

Links for downloading

1. WiFi Fix.rar

https://drive.google.com/folderview?id=0BxRqjyNWrdw2aUtNbC1ta181WVE

2.Root Browser

https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree

If I helped you all just say thanks by hit the Thanks Button...
[Lenovo Vibe K4 Note Questions & Answers] rnatsu7:
Did not work.....any other options I can try ?
[Lenovo Vibe K4 Note Questions & Answers] ediktepe:
Thanks. it worked for me.
[Lenovo Vibe K4 Note Questions & Answers] vaidhy2007:
Thanks. It worked for me
[Lenovo Vibe K4 Note Questions & Answers] bhikha:
Great man! Its working as it saying. Thanks
[Lenovo Vibe K4 Note Questions & Answers] kagadhvi:
thank you bro worked it good.

you made my day and efforts

thank you
[Lenovo Vibe K4 Note Questions & Answers] bUenAz14:
i managed to remove the nvram error but my wifi signal is too weak
[Nexus 6P Q&A, Help & Troubleshooting] str0311:
Hi, I just switched to Android from Windows Mobile. I'm using a nexus 6p. I'm having some issues with the play store where it doesn't check for app updates. I could see update if I search for the app through play store. No update being shown under my apps and games in playstore. I already update to the latest play store through apk. What can I do to fix this issue? Thank you.
[Nexus 6P Q&A, Help & Troubleshooting] tharweb:
If you go into Play Store then Settings, look if you have "Do not auto update apps" checked.