yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 / 5 Plus ROMs, Kernels, Recove] Rayquaza:
no error like yours, but when I'm in call there is no voice at all (for both side)
[Xiaomi Redmi Note 5 / 5 Plus ROMs, Kernels, Recove] Lucifer2K16:
Do one thing... Flash 10.4.0.0 firmware firmware first then this rom zip and gapps too...
[Xiaomi Redmi Note 5 / 5 Plus ROMs, Kernels, Recove] AndroBuddy007:
Pie??? Or Oreo??
[Xiaomi Redmi Note 5 / 5 Plus ROMs, Kernels, Recove] OSTUNG:
Yeah this happens too.. Backing to Aex and waint RR/Viper pie :laugh:
[Xiaomi Redmi Note 5 / 5 Plus ROMs, Kernels, Recove] RUSTIK33:
please fix the bug with not working top speaker
[Samsung Galaxy S7 Edge Questions and Answers] Fredyhn504:
my model is g935U, can I install a custom rom?
[Huawei Mate 20 X Questions & Answers] Rasetsunoken:
I just want to ask why when i connect to wall charger and then the phone boot up by itself ?

so i must coonect the charger and then turn off the phone, so it will charge the phone on off state..

i cannot use fastboot oem off-mode-charge 1 it failed

btw the build number 9.0.0.137

Thx b4
[Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot] Simon 1.0:
Hi,

I have a problem with connecting my Android device (Samsung Galaxy A5 SM-A510F (2016)) via a ethernet adapter and a OTG cable with LAN.

I bought an ethernet adapter and an OTG cable on ebay.

I rooted my Galaxy A5 successfully.

I downloaded the apps "BusyBox" and "Ethernet" (the app "Ethernet" should enable all settings needed to get USB ethernet). This app does not come with any drivers!

I also tried to connect my device using an active USB hub.

However, you obviously need the ethernet driver on the smartphone (which is not yet installed on Galaxy A5).

Does anybody know how I can get this driver?

Or does something else cause the problem?

Are there some better apps for connecting a device to LAN? (for example one which already comes with ethernet drivers)

Thanks for your efforts!

Best regards,

Simon
[Samsung C9 Pro  Questions & Answers] asool.98:
HELLO EVERYONE:o

​

After i updated my Samsung C9000 pro , I had problem with mobile data !!

I can use WiFi properly , but I can't use my mobile data .:rolleyes:

:angel:
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] Horamero:
Hi

I am trying to upgrade my QTEK 909= to Windows Mobile so I try to follow the steps that appear in

http://wiki.xda-developers.com/index.php?pagename=HTC_Blueangel_WM6_WizzardUpgrade1_WM2003SE0

so I install EXTROM but when I try to run any of the programs (unhide, unlock, hide , lock) It says that there is a component missing

Any idea how to solve it?

Best regards and thanks in advance

Horacio
[LeEco Le Max 2 Questions & Answers] NoSenze:
Maybe I didn't look well, but I didn't find an answer to my problem.

Pratically, everytime I install a pie rom, when I boot to system, it asks me for an encryption password, and every password I put, it says that it's correct but that my data is damaged and so I can't boot, it then asks me to do a data format, and even if it does it, the process just repeats itself.

I tried different roms, different TWRPs recoveries, and I also tried different Firmwares, but I can't manage to install a Android 9 rom.

Please tell me what can I do, and if my problem is already been solved, please tell me where.
[LeEco Le Max 2 Questions & Answers] ali7_has:
you need to format internal storage.
[LeEco Le Max 2 Questions & Answers] NoSenze:
Already did that, and the problem still remains
[LeEco Le Max 2 Questions & Answers] Intex12345:
This issue is haunting many. It never happened with me before Pie Roms. I did format Data and it resolved the problem and system booted. But every time I flash updated rom through TWRP, this issue pops up again. I have tried every method such as removing screen lock, finger scans etc. etc. but there is no other way out than formatting data and go ahead.
[Android Q&A, Help & Troubleshooting] fede01_8:
I don't have a custom ROM but I have TWRP recovery. No root.

I got a notification there's a new Android update. Downloaded it. I hit reboot but it goes to twrp instead of installing it an it does nothing. I go to reboot > system and after it reboots I get the update notification again.
[Android Q&A, Help & Troubleshooting] ChazzMatt:
You can't install inferor partial image OTA since you are not full stock. You have TWRP custom recovery. You need to install the superior full image file -- but leave off recovery or you will wipe out TWRP.

Also, many devs make TWRP-FLASHABLE zip files to update stock firmware.

Sent via open market LG US998 V30/V30+
[Xiaomi Poco F1 Questions & Answers] DoudouJack:
Taking WhatsApp as example (I get the most notifications from this app), when I receive a message, the screen lights up and the notification shows up properly. However, the vibration for the notification comes some seconds later, so that in some cases if I receive the notification on lock screen and power off the display, it wakes up again and vibrates for the notification.

Any hints where this can come from?

If it helps: I have Mi Band paired, getting notifications through Mi Band Tools app, the notification on the Mi Band comes at the same time as the vibration (not the initial notification).
[Android Q&A, Help & Troubleshooting] appdevsw:
Hi,

I have Lineage OS with Nova Laucher.

Phone: Xiaomi RN4 mido.

When I fast tap four times a back button, a search popup is showing on the screen.

How can I disable this functionality?

I don't even know, if it's as Android or LineageOS or Nova fault.
[Huawei Mate 10  Questions & Answers] Sheldd:
Hello, i just got the Mate 10 Pro and i still have warranty so i wanna know if i should change it or not. I have a camera problem, some colors looks snappy and i can see little weird dots... But when i take a photo/video everything looks fine, it only can be seen on screenshots. I'm adding 3 screenshots. Look at the grey part... Running B157.
[Huawei Mate 10  Questions & Answers] Sheldd:
This SS is taken from a video shot on the phone... It doenst look well at all...
[Huawei Mate 10  Questions & Answers] zayidhs:
I'm not sure tbh, I've not had that problem. But if reset of camera app & cache or phone reset don't fix it, I'd suggest you consider a replacement since you still have warranty.

Make sure you backup important data before any reset.
[Huawei Mate 10  Questions & Answers] Cityhunteruk:
Do you have a case on the phone?
[Huawei Mate 10  Questions & Answers] Sheldd:
Yes, the original one from the package.
[Huawei Mate 10  Questions & Answers] JoshuaLintag:
That's normal. It's Huawei's noise reduction
[Galaxy Tab S2 Q&A, Help & Troubleshooting] sliding_billy:
I am coming with hat in hand fully expecting to find out that there is no solution and I am out the $$$ it will cost me to replace. After having this device for close to 2 years, I decided I would root it. I have 5 other devices currently that are rooted and numerous others that I have rooted over the years (including Samsung). Admittedly, I dislike Odin and a lot of other things about rooting Samsung devices. That is part of the reason this was the only device that I ever kept unrooted for more than a month or two. I installed twrp_3.1.0-1_sm-t713_14417n with Odin with no issues. I had SuperSU 2.82 in internal. When I got into TWRP to install it, I saw nothing but directories in internal and it became clear to me that it was encrypted. Attempts to mount, wipe and even reset data all ended up with me booting back to TWRP. I'm sure frustration set in the more things I tried, but now I can't even shut the device down from TWRP or by long pressing power and volume down. Even that just goes back to TWRP. Obviously, I can't get into download mode or system. I just get the recovery booting set warranty bit: recovery message when it starts back up to TWRP. Can't say I have ever seen a device that can't even be forced to shut down, LOL. Thanks in advance if anyone can help.

*I've made some progress. I managed to back door my way into download mode by installing the boot.img from the external SD card. That didn't fix anything, but after that I was able to hold down power down and volume and spam the home button until I got to the download screen. I was able to get back into Odin, but the full firmware file I tried to install errored out at the end with a rev check fail. Hopefully, it was because it thought it was downgrading, so I am downloading the newest file now. The samsung-firware.org D/L is brutally slow. Has a few more hours to go, and I am not positive if it will work yet. Cross your fingers, and throw out any ideas if you have them.
[Galaxy Tab S2 Q&A, Help & Troubleshooting] sliding_billy:
Well, it's alive. Everything is back to normal (except needing to reinstall). Time to root now, LOL!

OK, tried again and ended up restoring the full image again (minus D/L time at least). I am ready to scrap root on this device. I have tried to do everything in the [TWRP 3.1.0-1][ROOT] Galaxy Tab S2(2016) - SM-T713/SM-T719/SM-T813/SM-T819 - 1/4/17 thread. https://xdaforums.com/tab-s2/development/twrp-3-0-2-1-galaxy-tab-s22016-sm-t713-t3390627 I would have tried installing no verify, but no matter what I do not see the SU and no verify files on the tablet either after format data without reboot or after rebooting into TWRP. After the format, it shows that data is mounted. Looking at the pictures in the thread, I think maybe it needs the work done on the external SD but the instructions say nothing about that. Time to sleep on it, and maybe someone smarter than me can think of what I might be missing and maybe better step by step instructions are available. At least it is up and running, KNOX trips be damned. I'll post to the TWRP/ROOT thread. BTW, the OS version I am running is XAR-T713XXU2BRB2_T713XAR2BRB2-20180206.
[Galaxy Tab S2 Q&A, Help & Troubleshooting] sliding_billy:
Well, thanks to some middle of the night assistance from ashyx and about 3 hours sleep in the past 48 hours, I am not only restored and working but now rooted with TWRP 3.1.0-1 and Magisk 17.1! Time for a nap.
[Galaxy Tab S2 Q&A, Help & Troubleshooting] rholm:
I am thinking about rooting my T713. Are there better instructions? What did you have to do differently?

I'd like to get it a go, but the instructions aren't as good as for the many devices I've rooted in the past.

Thanks!

Cheers,

Rich
[Galaxy Tab S2 Q&A, Help & Troubleshooting] sliding_billy:
The instructions in the TWRP thread are OK, but they could be a little clearer in some places. Take a look at the interaction between ashyx and I towards the end of the TWRP thread.

https://xdaforums.com/tab-s2/development/twrp-3-0-2-1-galaxy-tab-s22016-sm-t713-t3390627
[LG V30 Questions & Answers] TotallyAnxious:
So I've had to use logcat extreme for a while since it's the only one that would work consistently. Now it's crashing and it appears Matlog is active again. I can't get a logcat to consistently display. Most of the time nothing shows. And well I'm not really sure how to debug without a logcat. Done all the typical steps of clean flashes and such.
[LG V30 Questions & Answers] Septfox:
I've always used Catlog, if I'm not using a toolkit app's bundled reader or the ADB console window.

Speaking of which, have you tried hooking up to your computer and pulling it via ADB?
[LG V30 Questions & Answers] TotallyAnxious:
I just don't always have my laptop on me. That's all. I've figured some stuff to make the logcat show but it's just annoying.
[LG V30 Questions & Answers] Septfox:
Oh, I know. It's definitely not an ideal solution.

But using the ADB console to run logging (better yet, have it stream to a text file so you can search by the package name after launching the offending apps a few times), you can open up your apps and see what error(s) they're throwing. Use logcat to debug logcat, like.
[LG V30 Questions & Answers] TotallyAnxious:
https://play.google.com/store/apps/details?id=com.sungroup.logcat

This works for some reason. It's clearly a fork/clone of MatLog but it works everytime.
[Samsung Galaxy Tab A series Questions & Answers] redheelerdog:
[SM-T580] Odin Hangs at: “Initalzation…”

I let my Tab A SM-T580 battery run totally dead, when I tried to restart with the USB cable it gave me the “Kernel is not seandroid enforcing” message.

I messed around and tried to reflash with the stock image which failed.

The error I receive with Odin is that the tablet is detected, the files load with MD5 check fine but it hangs at the “Initalzation…” stage.

I have tried 3 PC’s and 2 laptops with the same result. It seems there is some type of protection on the tablet that will not allow any data to be written to it.

Any ideas appreciated.

Here is a capture of Odin and my Tab screen:
[Samsung Galaxy Tab A series Questions & Answers] ashyx:
“Kernel is not seandroid enforcing" is normal if you have modified/rooted or installed twrp.

You must have seen this before as you have modified the boot and recovery images.
[Nokia 3 Guides, News, & Discussion] anryl:
I HAVE TWO SIMCARDS TO GET UPDATED

on TMOBCZ is update never working so i have to switch to VODACZ to get the update

https://android.googleapis.com/packages/ota-api/nokia_ne1_ta102000ww/f7296179480ec20748f094f2d2187e142dcb9238.zip
[Android Software Development] zx2c4:
Like being able to do quick cycles of `fastboot boot out/arch/arm64/boot/Image.lz4-dtb`, but annoyed by the lack of root this way? Well this atrocious idea might be the thing for you!

Git repo: https://git.zx2c4.com/kernel-assisted-superuser/about/

Instructions:

1. cd into your kernel tree.

2. Run this command:

curl -LsS "https://git.zx2c4.com/kernel-assisted-superuser/plain/fetch-and-patch.sh" | bash -

3. Enable CONFIG_ASSISTED_SUPERUSER=y in your config.

4. Gain root by running su.

For so many reasons, this is an awful idea and totally insecure. Don't ship kernels to your users with this enabled! I've tested this on the Pixel 3.

[IMG="Screenshot"]https://git.zx2c4.com/kernel-assisted-superuser/about/screenshot.png?xda[/IMG]

XDA:DevDB Information

KernelSU - Kernel-Assisted Superuser for Android Root Shell, Kernel for all devices (see above for details)

Contributors

zx2c4

Source Code: https://git.zx2c4.com/kernel-assisted-superuser/about/

Kernel Special Features:

Version Information

Status: Snapshot

Created 2018-11-22

Last Updated 2018-11-23
[Android Software Development] Parthib:
Good stuff! Keep it up :)
[Android Software Development] LazerL0rd:
Great, actually amazing, work on this,. I'm sure Google will be having a meeting of angry "security specialists" sometime soon crying about the future of Android.

Also can't wait for the first idiot to put this in their production kernel.
[Android Software Development] linuxct:
A really amazing idea that needs to improve it's implementation. Kinda curious to see how this will connect with an userland "Manager" app to allow or deny root permissions to specific apps.

Best of luck
[Android Software Development] janjan:
Can't get the patch to apply.

[+] Downloading

Please run this from the top level of your kernel tree.
[Android Software Development] Xihexa.io:
I'm having the same problem, not really tripping on it tho since it's still a new thing.

Question though, would this theoretically become a solution/work-around having a locked bootloader? Or does the OEM toggle still need to be a thing?
[Android Software Development] freeza:
Brilliant. Compiled and used successfully!
[Android Software Development] joluke:
Awesome stuff. Can't wait to see more development on it! Keep it up

Enviado do meu SM-N950F através do Tapatalk
[Android Software Development] zzs20020430:
interesting:good::)
[Android Software Development] Haxk20:
This is really cool. Keep up the great work !
[Android Software Development] zx2c4:
Could you give me a link to the github for your kernel source?
[Android Software Development] Yousef Algadri:
Super cool works, awesome!

Keep up the good work :good:
[Android Software Development] janjan:
Do u mind to share your secret? How did u apply the patch?

---------- Post added at 12:17 PM ---------- Previous post was at 12:13 PM ----------

Here you go. I tired with this kernel source. Theoretically it should work with every kernel source or?

https://android.googlesource.com/kernel/msm.git/+/android-wear-8.0.0_r0.51

Thank you for your time.
[Android Software Development] ianmacd:
Great concept. Thanks for developing it.

It's working like a charm here on an engineering build of APGK, although a lot of apps (e.g. AdGuard and Titanium Backup) don't recognise the availability of root via this mechanism.
[Android Software Development] ananjaser1211:
This is a really interesting way of getting root access. this combined with an application to direct it would be amazing!, great work !

Cant wait to implement it in my test kernels. reflashing root every build is annoying :laugh:
[Android Software Development] jprimero15:
For arm64 only?? I tried it in 3.4 kernel, arm device and it gives error when compiling with this patch..
[Android Software Development] zx2c4:
Works for me:

zx2c4@thinkpad /tmp $ git clone --depth=1 -b android-wear-8.0.0_r0.51 https://android.googlesource.com/kernel/msm.git
Cloning into 'msm'...
remote: Counting objects: 54085, done
remote: Finding sources: 100% (54085/54085)
remote: Total 54085 (delta 1547), reused 16213 (delta 1547)
Receiving objects: 100% (54085/54085), 150.50 MiB | 4.91 MiB/s, done.
Resolving deltas: 100% (1547/1547), done.
Note: checking out 'd168a1c746673da2b858fd8be7e09553a9dd87a2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b <new-branch-name>

Checking out files: 100% (51192/51192), done.
zx2c4@thinkpad /tmp $ cd msm
zx2c4@thinkpad /tmp/msm $ curl -LsS "https://git.zx2c4.com/kernel-assisted-superuser/plain/fetch-and-patch.sh" | bash -
[+] Downloading
[+] Patching
[+] Committing
[detached HEAD faebd9fb] android: Add superuser driver
3 files changed, 153 insertions(+)
create mode 100644 drivers/base/superuser.c
[+] Done!
[*] Remember to enable CONFIG_ASSISTED_SUPERUSER=y for this to work. Then simply use `su` for root.
[Android Software Development] zx2c4:
Right now, yes. Feel free to send me a patch if you want it to work on arm. Shouldn't be too hard to do.
[Android Software Development] janjan:
Yes. It works now. It works when I use "git clone --depth=1 -b".

It patched successfully and I also compiled without any issue. I will test the kernel later tonight and see if it works for arm. It is very useful for Android Wear/wear os. No need to use supersu and magisk. I will let u know later. Thanks again for your effort to bring this. keep it up.

UPDATE: I just tried to use it with the following kernel source.

https://android.googlesource.com/kernel/msm/+/android-wear-p-preview_r0.5

It applied successfully but it give me error when I try to compile.

CC fs/debugfs/file.o
../drivers/base/superuser.c: In function 'superuser_init':
../drivers/base/superuser.c:120:39: error: '__NR_newfstatat' undeclared (first use in this function)
read_syscall((void **)&old_ ## name, __NR_ ## name); \
^
../drivers/base/superuser.c:133:2: note: in expansion of macro 'read_and_replace_syscall'
read_and_replace_syscall(newfstatat);
^
../drivers/base/superuser.c:120:39: note: each undeclared identifier is reported only once for each function it appears in
read_syscall((void **)&old_ ## name, __NR_ ## name); \
^
../drivers/base/superuser.c:133:2: note: in expansion of macro 'read_and_replace_syscall'
read_and_replace_syscall(newfstatat);
^
../scripts/Makefile.build:257: recipe for target 'drivers/base/superuser.o' failed
make[3]: *** [drivers/base/superuser.o] Error 1
../scripts/Makefile.build:402: recipe for target 'drivers/base' failed
make[2]: *** [drivers/base] Error 2
make[2]: *** Waiting for unfinished jobs....
CC fs/devpts/inode.o

It is kinda strange. It applied and let me compiled successfully with source "android-wear-8.0.0_r0.51" but failed to compile with "android-wear-p-preview_r0.5". It gives me the above error.
[Android Software Development] ante0:
Good job!

Kind of works as intended for me... Though, when I run 'su' in terminal I get:

"You are now root.

Killed".

However. I do have 'su' access in terminal without running it, so I guess it's kind of working as it should?

Only Root explorer has managed, so far, to work using your kernel su.

Titanium Backup complains about su not being found (It does look in /system/bin/su, so it should work I guess).

Edit: This is on a Mate 10 Pro using Pie.
[Android Software Development] sunilpaulmathew:
Great work [MENTION=5434776]zx2c4[/MENTION]

Worked fine on my OnePlus 5T, and even my kernel manager gained root privilege...

Looking forward to seeing this concept as a fully developed rooting solution in the near future...

Cheers...
[Android Software Development] sunnyraj84348:
Great Work , Keep it up
[Android Software Development] lovekobeme:
cd into your kernel tree.

But where is kernel tree directory.

I'm try find it in (root@ubuntu18.04:/usr/src# whereis kernel

kernel: /usr/lib/kernel /etc/kernel /usr/src/linux-headers-4.15.0-34/kernel /usr/src/linux-headers-4.15.0-29/kernel /usr/src/linux-headers-4.15.0-42-generic/kernel /usr/src/linux-headers-4.15.0-42/kernel /usr/src/linux-headers-4.15.0-34-generic/kernel), when I run curl -LsS "https://git.zx2c4.com/kernel-assisted-superuser/plain/fetch-and-patch.sh" | bash - command in /usr/lib/kernel or another dir, Always hint "[+] Downloading

Please run this from the top level of your kernel tree."
[Android Software Development] janjan:
You have to clone your device kernel source and then execute. Seems you are in the wrong place to apply. Which device do u have? Currently it only works with arm64.
[Android Software Development] redlee90:
Nice and easy way to get root, thanks!
[Android Software Development] bynarie:
Cool idea

That's a pretty good piece of work you got there. I 100% agree not safe, but you might be on to something better. That's awesome though for testing. Nice work ~!
[Android Software Development] Cyborg321:
Any change to make it work on ARM instead of ARM64?

ARM does not support the newfstatat system call, arm64 supports it, use fstatat64 system call under ARM.

Is there a way to use fstatat64 perhaps to make it work under ARM 32-bit?
[Android Software Development] zx2c4:
It's pretty easy to support arm32. I'll happily apply a patch to do so, if you want to email one to me with git-send-email.
[Android Software Development] janjan:
Do u mind to support for

https://android.googlesource.com/kernel/msm/+/android-wear-8.0.0_r0.21

Or

https://android.googlesource.com/kernel/msm.git/+/android-wear-8.0.0_r0.51

Both are arm32.
[Android Software Development] knpk13:
Lol, you literally quoted his answer... He said feel free to to send him a patch for ARM/32bit if you want support. As he already did earlier here:

https://xdaforums.com/android/softw...roid-kernel-development-t3870559/post78398487
[Android Software Development] janjan:
LOl, seems I drunk too much last night. My bad :)
[Android Software Development] zx2c4:
Indeed it shouldn't take more than 5 minutes to get rolling on arm32. Good opportunity for community involvement in things like this. Awaiting your patches!
[Android Software Development] janjan:
What u mean by a patch? Do u mind to explain a bit more. I can probably send u a patch. Merry Christmas
[Android Software Development] shaqman89:
Git format-patch command, I assume
[Android Software Development] thermatk:
Great thing, using it instead of constantly failing Magisk. I've managed to implement a whitelist for myself based on uid:

https://github.com/thermatk/OnePlus6/commit/451937b65e30ac5042fe4cccee8a8c112d4c07e5

But how can anything be done to properly change selinux context, instead of disabling enforcing as it is done now? Didn't find any good references for that in kernel code or known exploits