yashsingh1/xdaforums huggingface dataset:
[Android Software Development] kwshl:
this will lessen the nuisance i hope

root@DESKTOP-LT91RJI:/mnt/g/linux/oreo# bash k.sh

make: execvp: /home/kwshl/aarch64-linux-android-4.9/bin/aarch64-linux-android-gcc: Permission denied

HOSTCC scripts/basic/fixdep

HOSTCC scripts/basic/bin2c
[Android Software Development] kwshl:
moved it in to home folder manually
[Android Software Development] kwshl:
fixed now

git cloned directly in to the folder

thnks
[Android Software Development] otonieru:
do not move or edit file through windows file explorer,

always do it directly from bash, else it messed up permission
[Android Software Development] prabhjot368:
i think you are usin diff toolchain ..
[Android Software Development] kwshl:
crct pick up for samsung arm 64 bit

---------- Post added at 02:30 PM ---------- Previous post was at 02:25 PM ----------

got it thnk u, i tried using superr kitchen but superr is detecting bash as command prompt

is there anyway to fix this

my setup would be complete, i don't want to run a tripple boot currently using windows, linux and andriod
[Android Software Development] otonieru:
you dont have to do triple boot. Windows 10 can run linux from within its subsystem using WSL (not virtual machine). Thats what i've been using now. Help me lessen the hassle of having dual boot (am dual booting win and hackintosh previously)
[Android Software Development] kwshl:
do u mind trying superr - kitchen on linux subsystem

thnk u
[Android Software Development] kwshl:
so problem is superr kitchen is detecting bash on windows as terminal

i hv mentioned the same in one of the cmnts above

can u pls help me with it

thnk u
[Android Software Development] paul89rulez:
thank you very much!
[Android Software Development] Never_Sm1le:
Excuse me, but why the mediatek section only include "arm" arch? Does that mean this guide cannot be applied to mediatek with arm64 arch?
[Android Software Development] imhercules:
Hi. I did try to compile the kernel but it turned out introduce error. Could anyone please take a look at what's going on?

Firstly, Samsung a9 Pro is a ARM64 device.

I tried to compile permissive kernel by referencing from this two guide.

A Noob Guide On Building Your Own Custom Kernel on WIN10 (ARM & ARM64 & MTK)

https://xdaforums.com/and...ernel-t3775494

Compiling a permissive Android kernel

http://graemehill.ca/compiling-permi...ndroid-kernel/

So here's what I did.

1. Install Ubuntu in Windows 10

Setting up environment

2. apt-get update

3. sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2

4. a) Download ndk from https://developer.android.com/ndk/downloads (I downloaded Linux 64-bit (x86) version android-ndk-r10e-linux-x86_64)

b) Extract the content to home/android/ folder

5. a) Download a9 pro source code from http://opensource.samsung.com/reception.do

b) Extract Kernel.tar.gz to home/android folder

6. a) Open up ~/android/kernel/security/selinux/Makefile with notepad

b) change EXTRA_CFLAGS += -DCONFIG_ALWAYS_ENFORCE from true to false

EXTRA_CFLAGS += -DCONFIG_ALWAYS_ENFORCE=false

7. RUN export CROSS_COMPILE=~/home/hercules/android/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-

8. cd ~/android/Kernel

9. make clean && make mrproper

then introduces below error

scripts/Makefile.clean:17: /home/hercules/android/Kernel/drivers/gud/TlcTui/Makefile: No such file or directory

make[3]: *** No rule to make target '/home/hercules/android/Kernel/drivers/gud/TlcTui/Makefile'. Stop.

scripts/Makefile.clean:94: recipe for target 'drivers/gud/TlcTui' failed

make[2]: *** [drivers/gud/TlcTui] Error 2

scripts/Makefile.clean:94: recipe for target 'drivers/gud' failed

make[1]: *** [drivers/gud] Error 2

Makefile:1074: recipe for target '_clean_drivers' failed

make: *** [_clean_drivers] Error 2

9. make ARCH=arm64 msm8976_sec_a9xprolte_sea_defconfig it introduces below error

drivers/battery_v2/Kconfig:75:warning: type of 'SAMSUNG_BATTERY_ENG_TEST' redefined from 'boolean' to 'tristate'

arch/arm64/configs/msm8976_sec_a9xprolte_sea_defconfig:78:warning: override: reassigning to symbol AFC_CHARGER_MODE

KCONFIG_SELINUX((null))

KCONFIG_LOG_SELINUX((null))

KCONFIG_TIMA((null))

KCONFIG_DMVERITY((null))

KCONFIG_VARIANT((null))

***

*** You must specify VARIANT_DEFCONFIG !

***

/home/hercules/android/Kernel/scripts/kconfig/Makefile:129: recipe for target 'msm8976_sec_a9xprolte_sea_defconfig' failed

make[1]: *** [msm8976_sec_a9xprolte_sea_defconfig] Error 1

Makefile:510: recipe for target 'msm8976_sec_a9xprolte_sea_defconfig' failed

make: *** [msm8976_sec_a9xprolte_sea_defconfig] Error 2
[Android Software Development] Joker1716:
***

*** You must specify VARIANT_DEFCONFIG !

***

The defconfigs are in arch/arm/configs of the kernel folder.
[Android Software Development] xswapsx:
I didn't find the device specific defconfig in the source code

I have downloaded the kernel source from the provider's website but defconfig for my device is not present there. Although there are several other defconfig files in the config folder of the source so i am stucked there only. Please tell me if there is any way to create/extract device specific defconfig.:(:(
[Android Software Development] Wyneg:
Hi!

When I try to build kernel, I got this error:

aarch64-linux-gnu-gcc -print-file-name=include [Errno 8] Exec format error

Then, it finished with error 2.

My ubuntu subsystem is x86_64.

What can I do?

Thanks!
[Android Software Development] enweazudaniel:
:good:
[Android Software Development] SirDre:
The issue is with Windows. :silly:

Basically, enabling file case sensitivity in Windows will solve the 'drivers/gud/TlcTui' error because in Linux creating two or more files of the same name is okay as long as the file naming is case sensitive (TlcTui.o and tlcTui.o). :cool: In windows you need to enable it. :(

The enable:

Open windows powershell (admin)

Type fsutil.exe file setCaseSensitiveInfo c:/home/hercules/android/Kernel/drivers/gud/TlcTui enable

Then try building your kernel again.

:good:
[Android Software Development] ardhani:
Very good and clear tutorial, thanks sir, i'll try to build kernel
[Android Software Development] platinumthis:
Hey guys i need help i got error when building rom

DTB combiner:

Input directory: ''

Output file: '/home/whitewidow/crDroi/out/target/product/hima/dt.img'

Failed to open input directory ''

=> Found -1 unique DTB(s)

Generating master DTB... error writing output file, please rerun: size mismatch 4096 vs 4120

[ 0% 14/73829] ADSP firmware link: /home/whitewidow/crDroi/out/target/product/hima/root/firmware/image/adsp.b12

ninja: build stopped: subcommand failed.

11:36:12 ninja failed with: exit status 1

#### failed to build some targets (7 seconds) ####

Can anyone help to get pass this mismatch error ?
[Android Software Development] techjohnny:
How do you define gclang and gcc and toolchains when building the Android kernel? I am using export CROSS_COMPILE=/opt/toolchains/bin/aarch64-linux-android- but this kernel also needs the gclang.
[Android Software Development] XxshaokhonxX:
Anyone found out how you can make a Deconfig file or make your own kernel when your device does not appear to have a defconfig?
[Android Software Development] huz17:
where can i find a toolchai for mediatekn?
[Android Software Development] lolvatveo:
how to overclock exynos, dragon, mtk, spd? please post an example
[Android Software Development] lolvatveo:
My source code don't have any build.sh file https://github.com/daishi4u/J7_Afterburner
[Android Software Development] lolvatveo:
I install linux ubuntu separately, not linux live program in windows
[Android Software Development] bksvc:
I can't compile zImage

My kernel source code : https://opensource.samsung.com/uploadSearch?searchValue=sm-n980f

Version : N980FXXS3EULF

: My Command Set :

export ARCH=arm64

export CROSS_COMPILE=/home/SM-N980F/new-make/gcc-linaro/bin/aarch64-linux-gnu-

mkdir kout

make -C /home/SM-N980F/new-make/ O=output/ exynos9830-c1slte_defconfig

: ERROR OUT :

make: Entering directory '/home/SM-N980F/new-make'

make[1]: Entering directory '/home/SM-N980F/new-make/output'

HOSTCC scripts/basic/fixdep

GEN ./Makefile

HOSTCC scripts/kconfig/conf.o

YACC scripts/kconfig/zconf.tab.c

LEX scripts/kconfig/zconf.lex.c

HOSTCC scripts/kconfig/zconf.tab.o

HOSTLD scripts/kconfig/conf

arch/arm64/Kconfig:1339:warning: multi-line strings not supported

drivers/input/misc/hall/Kconfig:41: syntax error

drivers/input/misc/hall/Kconfig:40: invalid option

drivers/gpu/arm/Kconfig:28: syntax error

drivers/gpu/arm/Kconfig:27: invalid option

drivers/gpu/arm/Kconfig:29: syntax error

drivers/gpu/arm/Kconfig:28: invalid option

'rivers/soc/samsung/linkforward/Kconfig:4:warning: ignoring unsupported character '

'rivers/soc/samsung/linkforward/Kconfig:5:warning: ignoring unsupported character '

'rivers/soc/samsung/linkforward/Kconfig:6:warning: ignoring unsupported character '

'rivers/soc/samsung/linkforward/Kconfig:7:warning: ignoring unsupported character '

'rivers/soc/samsung/linkforward/Kconfig:8:warning: ignoring unsupported character '

fs/sdcardfs/Kconfig:19: syntax error

fs/sdcardfs/Kconfig:18: invalid option

make[2]: *** [../scripts/kconfig/Makefile:104: exynos9830-c1slte_defconfig] Error 1

make[1]: *** [/home/burak/SM-N980F/new-make/Makefile:547: exynos9830-c1slte_defconfig] Error 2

make[1]: Leaving directory '/home/SM-N980F/new-make/output'

make: *** [Makefile:146: sub-make] Error 2

make: Leaving directory '/home/SM-N980F/new-make'
[Android Software Development] bksvc:
I'm such a stupid mistake -_-

i solved it with these parameters

export PLATFORM_VERSION=11

export ANDROID_MAJOR_VERSION=r
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] donerkebab:
So an employee had to leave on short notice - he handed phone back but PIN locked and google account still on. Have no way of contacting ex employee.

Tried wiping phone via factory reset in safe mode. On restart it prompts to validate via Google account?

What is best way to root or totally wipe?

Thanks
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] ashyx:
You are FRP locked. Only way is to use the right credentials or bypass FRP.
[Samsung Galaxy A3, A5, A7 (2017) Questions & Answe] donerkebab:
So any way to bypass FRP on Samsung A5?

Edit Thanks found the link on XDA - just search ;) worked a treat as well
[Android Q&A, Help & Troubleshooting] lucahack:
Hi,

I'm luca112358. I'm from France, I'm only 15 years old. I'd like to port a bluestacks/others (such as Memu) alternative to easily run android on Windows.

What is WSL??? WSL is the abreviation for "Windows Subsystem for Linux". Sometimes wrongly called "Bash on windows", WSL is a compatibility layer for running Linux binary executables (in ELF format) natively on Windows 10.

The most amazing thing is that it provides a Linux-compatible kernel interface with NO linux kernel code. (see: https://doc.ubuntu-fr.org/wsl and https://docs.microsoft.com/en-us/windows/wsl/install-win10 for more infos)

It is ways faster than virtualization, that's why my project will be using it. I've successfully runned android using WSL, but I have no idea of how I can open the android GUI. I think I should try to code a virtual screen but I'm not sure.

I will be spending all my free time in this project. Unfortunatly with my exams comming I won't have so much time.

Thanks in advance for your help,

Have a nice day!!!

Legend:

In oblique: My life. You don't need to read
[Android Q&A, Help & Troubleshooting] LazerL0rd:
U tried X-Server displays? I'm not sure if it works on Andorid.

PS- If you search around the net deep enough there are quite a few Android WSL packages. You might be able to kang some stuff from them. I'll upload mine somewhere soon and I'll give MS an eMail about tryna get Android into the Store when a GUI-supported WSL gets released publicly.
[Android Q&A, Help & Troubleshooting] taxueliuyun:
hello, I just saw your thoughts, coincidentally, I have the same idea. Can you talk about your progress?
[Honor 5X Questions & Answers] Hnízdil:
So... I am just having a little problem.

I want to change a contact picture on my phone.

There are two windows for contacts:

Smaller circle ( don't care about this one)

And larger upper window in every contact.

And I want to change it, but I don't know how.

There is edit at the bottom, but it only gives me to choice change the smaller circle.

Don't know if it is just ne, or old version.

Please help..
[HTC 10 Questions & Answers] azZA_09:
Hey guys, not a big problem here, but anyway: While setting audio profiles, when selecting quick answers it doesnt let me rename that profile. Accurate method lets me change the name, but I want to know if it is a chance to change the name from system files or any other way *my eyes hurt seeing Personal audio profile 100393 and not Mode 2*. Thanks in advance
[HTC 10 Questions & Answers] azZA_09:
I have Acoustix and v4a but I disabled them and nothing changed
[Honor 8 Questions & Answers] renttudiktaattori:
I'm not sure is xda right place for phone hardware repair quides but still.....

So i'm asking that do you guys need a repair guide for H8? Like how to repair charging port or how to replace a screen etc.
[Honor 8 Questions & Answers] thinhster:
No ifixit has pretty much everything already on their site.
[General Topics] Menneisyys:
Important Vista note: you MUST log off before logging in with TSMobiles!

At first, I had severe problems with connecting to Vista and the FAQ of TSMobiles didn’t help either (other than starting it has become Vista-compliant as of version 2.3.11). After trying to connect, it just announced it can’t: it displayed a “Received disconnect” error message. (Incidentally, I’ve also tested the heavily outdated and in no way recommended Mocha RDP client (version 1.2); it didn’t work either – but, of course, I didn’t even expect it to work, it being based on RDP4 only (dunno if RDP4 is phased out in Vista – I think it already is).

Of course, RDM worked (just like XP’s / Vista’s built-in RD client) just great with exactly the same remote Vista desktops. So did TSC in WM5. I’ve tested this on two different remote Vista desktops, one of them running Vista Business, the other running Vista Ultimate, with both firewalls and virus protection apps enabled and disabled – no success, while, again, the RDM client worked just great.

Fortunately, finally, I found out what the problem was: you MUST log off your Vista account so that TSMobiles can log in. Then, it works just great:

This is, in my opinion, a major problem with TSMobiles, which should be addressed promptly.

Note that the console mode didn’t seem to work with Vista.

Verdict

While it’s certainly way better than the pre-WM6 TSC’s (unless you use the well-known vijay555 full screen hack to fix one of its major problems: the lack of a full screen mode), it has little advantage over the built-in WM6 client, RDM, in the new version. If you already have RDM, you might want to stick to it unless you really need the special features of it (console mode – if it does work, that is -, special characters, ability to send more sophisticated mouse actions etc.). In generic use, I’d stick with the default RDM, particularly if you count in the VERY high price ($35) of TSMobiles.

On touchscreen-less phones (including MS Smartphones, Symbian and BlackBerry phones), the situation is pretty much different: on them, it’s already a decent alternative if and only if you MUST use RDP to access a remote desktop. If sticking to RDP isn’t a must, I’d go for RDM+ instead because of the vastly superior feature set (file transfer, less data usage, usable through firewalls, not that restrictive a protocol etc.)
[LineageOS Questions & Answers] OpenAct:
Hi,

Probably a noob question but cannot find a clear answer on the web.

I've started to develop a multi platform game using Unity and now looking at testing the game on various devices (including old second-hand handsets from eBay). Since I am interested in testing different versions of Android, would LineageOS a good option for testing the game?

I assume if the game works fine on LineageOS it should work fine on other Android variants (stock, touchwiz etc) ?

Thanks

Will
[LineageOS Questions & Answers] Ibuprophen:
I'm not exactly sure how to address your question but, you may be able to obtain some member guidance within one of the following General Q&A threads.

https://xdaforums.com/showthread.php?t=2257421

https://xdaforums.com/showthread.php?t=2259645

If your question is regarding some feedback about which device to purchase and/or where to purchase it, then your best bet (specifically for that) is to post it within one of the following threads that is specific to that your question.

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

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

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[LineageOS Questions & Answers] kurtn:
I don't think a test on lineageOS says anything about compatibility with older devices on stock ROM up to lollipop. But you can test dependency on Google play services by not installing GApps.
[LineageOS Questions & Answers] OpenAct:
any version below lollipop is less than 20% of the market so I am happy to have the game available only for lollipop or even marshmallow onwards

So you think testing an app or a game with lineageOS 14 or 15 is not a good test for compatibility with other Android handheld devices on similar versions? I may not be on the right forum but what is the usual approach for ensuring an app is compatible with a maximum of Android devices?
[Huawei P10 Questions & Answers] IntiCRO:
What is normal battery span (in hours) for brand new Huawei P10?

I've downloaded GSam Battery Monitor and it says that my Battery Life is 12h 6m and Screen On Time 6h 41m.

Is this normal for BRAND NEW P10 or not?

+ on that app it says Screen (39%) and App usage (41%) are using most of the power.

I'm using mostly Messenger, YouTube, Facebook, WhatsApp and playing Score Hero.

Battery is good but I don't know is this normal sot (down below on the picture) or not.
[Xiaomi Mi A1 Questions & Answers] luxerinolt:
So this is my battery life now, and it's now horrible. Any help? RR OS, Franco Kernel, March Update, Magisk 16, underclocked cpu. [IMG="abc"]https://imgur.com/a/h2lK8[/IMG]

EDIT: After posting i realised its the wrong forum for it, sorry.
[Xiaomi Mi A1 Questions & Answers] N1ck474:
Same for me my friend, installed all kind of MODS, Kernels and ROMs, always the same bad battery life, with stock March is good...
[Xiaomi Mi A1 Questions & Answers] simorangkir_dcs:
Maybe try analyze what app using most of your battery?
[Xiaomi Mi A1 Questions & Answers] dvdhaxor:
The EXACT SAME setup as yours. Maybe 1h on data, the other on WiFi
[Xiaomi Mi A1 Questions & Answers] luxerinolt:
Reinstalled the newest version of rr, mint kernel. Hope it helps.
[Xiaomi Mi A1 Questions & Answers] pooniaprashant:
stock march also isn't something to write home about, but atleast its better than op
[Xiaomi Mi A1 Questions & Answers] bornlivedie:
Well, first of all, Facebook Messenger is a battery killer.

Check your apps and the strength of your data signal. Poor strength or signal loss has a huge impact on battery life.

Also how do you use your phone? What kind of usage?
[Xiaomi Mi A1 Questions & Answers] taurnilf:
Enable adaptive brightness. I get around 4.5H SOT @50%.
[Xiaomi Mi A1 Questions & Answers] ajlir:
I saw Facebook notification

Get Frost Test app in Apps and Games in XDA
[Xiaomi Mi A1 Questions & Answers] luxerinolt:
I think it was a problem with the ROM. Now i have about 6-7 hours of SOT with AOSP Extended and Franco Kernel. All apps are the same, nothing changed.
[Xiaomi Mi A1 Questions & Answers] rajay1234:
Same for me i also facing battery problem
[Xiaomi Redmi 4X Questions & Answers] rajak7xda:
I have tried Lineage, DOT, Resurrection Remix, Dirty unicorn and many custom rom with oreo. Few times VOLTE working and some times volte not working. What is the main issue, why volte is not stable in OREO. Please help me.
[Xiaomi Redmi 4X Questions & Answers] Yousef Algadri:
Wrong thread sections lmao
[OnePlus 5T  Questions & Answers] JD_2322:
Delete thread pls
[Xperia Z4/Z3+ Q&A, Help & Troubleshooting] Alessioromatm:
Hello, my z3+ is very slowly when I open some WhatsApp chat, about 40-60 to see that the keyboard is shown and is possible to write a new message.Did someone have the same problem?
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] sihTaM:
Hey, I'm pretty new here and have a kind of Problem.

So, as you may know the Galaxy S4 mini only gets to 4.4.2 KitKat, so I decided to install LineageOS 15.1.

Everything worked fine and I'm really enjoying my phone again.

I'm not so good with that Software Stuff, so before messing something up I wanted to ask a question:

Can I uninstall System Apps with Titanium Backup (like the stock SMS or Phone Application)? I ask that question because I prefer the Google Messages and Phone App or Google Chrome and I've already set them as default, but I wasn't sure if it is okay to uninstall the Stock Lineage Apps, or if my phone would take any damage of that.

I hope you guys have an answer to that question, it would be a huge help for me.
[Galaxy S 4 Mini Q&A, Help & Troubleshooting] HemanthJabalpuri:
Backup before doing any experiment
[Samsung Galaxy Note 8 Questions and Answers] lerider96:
Hello,

My

Galaxy Note 8 GT-N950F

sensors are not working. Proximity, heart rate, barometer, rotation, iris scanner and other sensors are not working.

Any HELP please !

Happened today, i saw some people got same issues since the new Android 8.0 updates.

ANYONE HELP ME PLEASE!!!
[Samsung Galaxy Note 8 Questions and Answers] OnnoJ:
Did you check sensors from test menu:

*#0*# (in phone/dialer)?
[Samsung Galaxy Note 8 Questions and Answers] lerider96:
Yes already dialed. Nothing is working. Download CPU-Z too, nothing is working. Hard reset too. Same issues.

Any other solution?
[Samsung Galaxy Note 8 Questions and Answers] Ripthulhu:
Same thing happened to a friend on 7.1.1 with a 950F.

He had to claim warranty on it since we tried multiple firmware's, but nothing brought the sensors back.
[Samsung Galaxy Note 8 Questions and Answers] rockman_x:
its a motherboard problem... it happened to me too, I did everything... so i brought it to Samsung, and they said its the motherboard, so they replaced the motherboard for free (its still under warranty) and now its working perfectly
[Samsung Galaxy Note 8 Questions and Answers] myechophone:
Go to Samsung ASAP to get it fixed under warranty
[Samsung Galaxy Note 8 Questions and Answers] lerider96:
I've claimed the warranty, still waiting for the phone

Will I lose all my stuff on the phone? Or will It be the same?
[Samsung Galaxy Note 8 Questions and Answers] Nick216ohio:
Chances are you won't get your exact phone back. But a refurbed one. Just use samsung backup app. Works pretty well. And of course factory reset afterwards.
[Samsung Galaxy Note 8 Questions and Answers] guntherfurlong:
I'm having the same issue with my device past few days (Exynos Chip)

My reply was here.

https://xdaforums.com/showpost.php?p=77245884&postcount=7
[Samsung Galaxy Note 8 Questions and Answers] coolsongs95:
Hey everyone I'm facing the same problem on my note8. All sensors stoped working but they were working before on 7.1.1 and i updated my device to oreo and realized all sensors stoped

Then i got another updated for about 900mb i thought maybe this update will fix them and also that update said tha after updating the user cannot downgrade to nougat but after updating the problem still exsist. Please if anyone can help i also try to flash same oreo firmware with odin but doesn't fixed the sensors
[Samsung Galaxy Note 8 Questions and Answers] sefrcoko:
I haven't experienced it myself, but previous posts in the thread indicate a hardware problem... If you already flashed the latest stock firmware with full wipe and it's still not working, then it seems to confirm that hardware issue.