yashsingh1/xdaforums huggingface dataset:
[Google Pixel Questions & Answers] daedric:
Hello

I have a chance for a deal on a 32gb Pixel.

It's used and aparently suffers from a (common?) problem where sound in calls stop until restarted.

Is this problem fixable ? Seller is asking for around 100

Would you buy it ?
[Google Pixel Questions & Answers] -Happy Feet-:
I have an 128 GB Pixel. Never heard from this issue. I have buy it 1 Year ago from Ebay.
[Google Pixel Questions & Answers] daedric:
There are various websites complaining about the Pixel1 and Pixel1XL call volume being too low, or none at all.
[Samsung Galaxy Mega] yamada!9:
Good day everyone. My sm-g750a is currently in a boot loop. The screen was going bad and the digitizer was not responding as well but apart from that the phone was in good condition. I noticed that even when the phones' screen wouldn't come on and digitizer not working, when i turn on the phone it would vibrate. A few days ago while taking the phone apart to make sure the screen really is bad and digitizer isn't working. i noticed that when i turned it on it wouldn't vibrate. I have changed the screen and then i noticed it stuck on a boot loop. It has never done this before and i have no idea why it is doing this now. After this incident,

when i press volume down + power + home; i can go into download mode and i can flash a new rom (i have always used stock rom on this phone). Pressing volume up + power + home; nothing happens. I can't go into recovery mode to wipe the cache or factory reset the phone. I tried connecting it to Samsung Kies but it was just loading. Any help will be appreciated. If i have to pay to get it resolved (micro soldering) i might have no choice. But the most important lesson is too always backup your files and not end up like me ; ;

Thank you
[Android Q&A, Help & Troubleshooting] radi424:
Hello folks.

So I am currently struggling to find something to help me remove my youtube feed, e.g. recommendations, youtube auto-generated playlist etc. I just want to able to play mine playlist and to remove all other videos. I found a solution for my pc, but I can not for my phone.
[Samsung Galaxy S8+ Questions & Answers] nvckj:
I want to disable the Samsung experience on my S8+ (on one ui) so I can use only a custom launcher. Sadly If i do this it removes the ability to use the recent tab. I know in android pie some launchers are able to have their own recents tabs, does anyone now how to use these?

No root please!
[Samsung Galaxy S8+ Questions & Answers] RebelShadow:
look at Nova launcher
[Huawei Mate 20 X Questions & Answers] filip_pine:
Does anyone having this strange problem ?

I set the Display Auto Adjust Off, but everytime, like 2 times per day, it does come automatically to ON by himself... I have 2 units Mate 20 X AL00 and on both devices does the same. One unit is running 195 and the other one 185 Update. :eek:
[Huawei Mate 20 X Questions & Answers] vandal_:
Same story
[Huawei Mate 20 X Questions & Answers] _sC:
Hello,

So many people (who don't use Auto Adjust) are having this problem. Who knows why.

The "best" solution is to go into Settings > System > Developer Options > turn OFF "Increase readability under sunlight".

If you don't have Developer Options, go to Settings > System > About Phone > Tap "Build Number" Multiple times, until "you are a developer".

With this being said, I STILL do get my brightness settings resetting from time to time, but not nearly as frequently as before.

All you have to do when you see it change, is Lock your phone then and there, and then Unlock it. Then your brightness settings should be changed BACK to your preferences.

I have zero clue why this is.

I have Auto Adjust OFF, and Eye Comfort ON, constantly.

The Mate 20 X's Hardware is amazing, but the Software is still suspect after all these years.

Good Luck.
[Huawei Mate 20 X Questions & Answers] G0bl1n:
Can someone please upload Chinese version of the stock launcher (com.huawei.android.launcher)? I uninstalled mine to use Nova Launcher. Everything is fine but turned out I can't remove screen lock without the stock launcher. The system warns me that if I remove the screen lock it will revert back to stock launcher and then nothing happens since it doesn't find the stock launcher. Thank you.
[Huawei Mate 20 X Questions & Answers] G0bl1n:
Actually I realized how to retrun it back. When I uninstalled the stock launcher I only uninstalled for the current user (user 0). The apk itself is still on the phone. To return it back I used this command:

adb shell cmd package install-existing com.huawei.android.launcher
[Huawei Mate 20 X Questions & Answers] rowihel2012:
Every time

I wanna uninstall stock launcher it says failed error
[Huawei Mate 20 X Questions & Answers] s327374:
I likely can't help you.

But ... I finally got the ****s with using my work around for not having the swipe to home screen while using NOVA. I was using the dreaded home via dot. :( I guess it worked ok, but was just not fluid enough. I am thankful for seeing this here, as I can now revert back to stock launcher ---- sob.

My thoughts though, if it isn't workign, permissions are not ok for adb or you don't have usb debugging on in system/developer options

Cheers.
[Huawei Mate 20 X Questions & Answers] rowihel2012:
I can remove all apps except stock launcher

I could before b195

Now i can't
[Huawei Mate 20 X Questions & Answers] mr pnut:
Here you go.....

Download it to your Google drive, then from your Google drive download it to your device and install, you shouldn't get the error doing it that way.

https://drive.google.com/file/d/16zCD-iRvF9DTc7xxp6GyTGX4B6l_cbgg/view?usp=drivesdk
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Hi all!

y u quote OP?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Kachelistic:
Thanks for your work! Looking forward for a stable version. Wanna help but RP2 is currently my only working phone..
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] hertz9511:
u sir,deserve a beer,thanks for working rp2 and not to forget other devs who help u along the way,we will wait patiently,cheers!!!!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
Thank you.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Interesting discovery just now, seems that the stock kernel gives the same 'error' in dmesg when recording audio (but obviously audio recording still works).

[ 1365.950315] send_afe_cal_type cal_block not found!!

This could mean that Razer doesn't have a calibration profile for the microphone anyway (interesting, wonder if there's an opportunity to improve recording quality here?) and that I'm barking up the wrong tree re: calibration mismatches.

I've also confirmed that I get the same 'ASoC: no backend DAIs enabled for [backend name here]' messages in the stock kernel when brute force trying all PCM inputs with:

for f in `seq 1 80`; do tinycap /sdcard/wavs/device-$f.wav -D 0 -d $f -r 48000; done

It's also (very) possible that I don't understand how tinycap works.

I dumped the list of PCM inputs/outputs with:

for f in `ls -d /proc/asound/sdm845tavilsndc/** | grep pcm`; do echo "$f : `grep 'id' $f/info`"; done

and

cat /proc/asound/pcm

on both kernels (stock and custom) and they seem to match. :confused:

I'm thinking I should figure out how to record sound outside of android (from adb only) from stock kernel, and use that same test to try in the custom kernel. If I can find a test like that, I should be able to determine if I need to rename one of my DAI links to match whatever's baked into the XML files in /vendor/etc .

Any ideas?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
Are you using the audio.a2dp.default.so driver?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] blackknightavalon:
I doubt it. They won't even answer simple questions as to an estimate of when we're getting Pie
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RKBD:
>simple question

>eta

pick one
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rogeriskira:
Any progress on this kernel? I'm really curious now that we have pie.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
No progress as of yet, I've been busy with work recently and Razer hasn't dropped source for the new kernel version (still 4.9 but a different patch level).

I'm hopeful that Razer will drop the complete source for Pie's kernel and I can backport that to the Oreo kernel for those who want to keep the old OS.

I haven't updated my RP2 to Pie yet so I can test out any changes once the source for the new kernel is out. I'll be sure to post here when I have any updates :)
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Audio-kernel source is out! https://s3.amazonaws.com/cheryl-factory-images/audio-kernel-aura-2009.tar.gz

I'll be rebuilding my kernel very soon and testing.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
https://s3.amazonaws.com/cheryl-factory-images/
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Yup, I'm building it right now!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Yup, it works! I have fully working audio and microphone now. Seems like there's a bunch of DAI changes and some offset changes to calibration stuff that FIH added (ugh).

Please hold while I get the commit up on my Github, and I'll get a build with exfat going here in just a minute after.

Plan is:

- Github updates (readme changes, etc) UPDATE: done

- Upload this current build I just tested for anyone that wants it

- Add exfat module to kernel and rebuild / test UPDATE: exfat support works, BUT I need to recompile vold to support exfat. I can mount the SD card just fine, but Android doesn't understand that it's mounted because vold isn't tracking it

Also, <3 u razer, thanks :)

I'm bummed to hear about the layoffs, and I really appreciate whomever uploaded the source even after that. Hopefully Razer's phone team will grow again and get to make us a Razer Phone 3 at some point in the future.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
For anyone that's still running 8.1 and wants to try my custom kernel (no, no exfat support yet until I get vold fixed), here's a link: http://downloads.codefi.re/thecubed/aura2/kernel/boot_magisk_custom_10.img

Github has been updated as well.

I'll be sure to update the OP tomorrow when it's not 2AM.

EDIT: Fixed link, 2AM is not kind to my typing skills
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Youssarian:
Awesome work! Very excited to try it out tomorrow.

Also sad to see your post about their layoffs. Pretty fun phone with much potential for future.

I think some of the reviews are pretty harsh given the penchant of Pixel / Samsung / Apple worship out there.

Anyway, thanks so much for this. :)
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
Thank you for this!

It's showing up "Not found" on the download link though.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Fixed the link in my previous post - sorry about that!

I'll be updating the OP tonight too when I get home from work.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Gamesoul Master:
Looking good! Is the sound as good as stock (or maybe better, considering the low volume crackling we get)?

Hoping to give this a shot soon, as soon as I figure out rooting on 9.0. I saw a thread about it, but nobody answered my question there, and light digging through threads didn't turn up an answer, so trying this kernel will have to wait a bit. Makes me miss the HTC root days, when finding out about root was a simple yes or no situation... lol.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Sound seems to have the same issues as stock - slight popping sounds on audio playback, and loud popping sound recorded at start of any audio recordings, but I have a strong feeling these have everything to do with the tfa98xx code razer modified.

I suspect Razer isn't muting the inputs/outputs of the chip while it's being brought out of sleep/reset when audio isn't playing.

I should be able to merge in the latest tfa98xx code from CAF with the few necessary tweaks to fix the popping.

I'm not sure if this is fixed on 9.0 or not, since I'm not running 9.0 yet (I will when src is released).

Also, off topic, but to answer your question rooting 9.0 seems to be fairly straightforward - if you're already rooted on 8.1 you can just take the OTA before rebooting use magisk manager to "install to inactive slot" and it'll patch the freshly installed 9.0 partitions.

If you're not already rooted, you should be able to just flash someone's pre-rooted boot.img and be good to go. I won't get into detail in that here since I'm sure others have a better guide than I do.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rogeriskira:
This well sounds so exciting! You think you can also work on letting OMS themes work, such as substratum? I know Razer requires signed themes breaking substratum and leaving us with only the Razer theme store. I'm just curious if something like that can be adjusted?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rogeriskira:
Looks like the audio source for Razer phone 2 was release! That should definitely help!

https://xdaforums.com/razer-phone-2/how-to/razer-phone-2-audio-source-available-t3909505
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
He had it before Razer posted a link on their site.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rogeriskira:
Whoops! Yes, you're right guys. I got hyped with the post and forgot. ?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Rox598:
That he did :D little late on my end lol

But I'm really glad to see it's made a difference already.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
Did exfat support or vold ever get fixed?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Quick status update: Android 9.0 source is out, I'm going to switch my build targets (and update my phone) to 9.0 and start working through the exfat changes for 9.0 (no sense doing it twice when everyone's going to end up on 9.0 anyway).

TWRP works on 8.1 with full decryption support thanks to Dees-Troy, but we're holding off releasing it until we test on 9.0 since we don't want to support multiple kernel versions for TWRP downloads (i.e. you'd need a twrp download for people still on 8.1, and one for people on 9.0, and then have to fix bugs for both).

I'll let y'all all know when I've got more info later this weekend most likely.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
Amazing news! Thank you so much. Also, I hope exfat can be sorted out. It blows my mind that it doesn't support it already.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Rox598:
Awesome work guys!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] blackknightavalon:
I would honestly have no problems with a separate download for each Android build. It takes maybe 2 seconds to flash recovery
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Status update: I'm working on getting everything building for 9.0, however while preparing my build trees I realized that audio-kernel source for 3110 isn't out, only 3040. I've posted in the other thread ( https://xdaforums.com/showpost.php?p=79171840&postcount=24 ) to see if Razer can upload the MR1 3110 sources when they're not busy.

My goal is to have a android-9.0-3110-MR1 branch in my Github once the source is available and a exfat kernel (using sdfat) shortly after. Then I'll start working on vold support for exfat.

We're still QA'ing TWRP, and I'll let you know when I have a status update there.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
Looks to me it's all the same.

https://developer.razer.com/razer-phone-dev-tools/kernel-source-code/?_ga=2.184187238.1995365126.1553112791-598559331.1548458885?_ga=2.184187238.1995365126.1553112791-598559331.1548458885
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] CurtisMJ:
I managed to compile with the techpack they have up now and indeed everything audio related does work. Also the linaro toolchain seems to cause memory corruption. I have no idea lol
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] CurtisMJ:
I've also tried to start upstreaming the kernel if you're interested. https://github.com/CurtisMJ/cheryl2_custom_kernel

Audio and WiFi immediately stop working citing mismatch of symbol in the log so modules need to be replaced on the vendor partition. I need to figure out how to compile that WiFi module...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
I would like to thank all the people coming together helping out the Razer community.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
You shouldn't have to replace those modules as long as you're compiling the kernel using the techpack. I'd recommend double checking that the techpack is being included by the defconfig properly.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] CurtisMJ:
Could be. I'm using the same defconfig as I did for an older build and sound worked though. I'll double check. I'm thinking maybe its the kernel headers used by the techpack, could result in slight differences in the final module with bad enough luck? I'll see.

Edit: maybe I'll just compile them in the kernel. Android kernels didn't use modules the last time I did this :P

Edit2: OK I googled it. The exact message I get is something like:

cd_dsp_glink: disagrees about version of symbol dev_warn

And apparently this is due to a kernel data structure changing, and the solution is to recompile the modules :( So stock modules may not be compatible with an upstreamed kernel.

https://unix.stackexchange.com/questions/125624/unable-to-load-module-disagrees-about-version-of-symbol-module-layout

Edit3: Theres apparently a config to disable version checks. Imma try it
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
Good luck are you working on custom Kernel or TWRP?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] CurtisMJ:
Custom kernel. So far I've figured out trying to modify the vendor partition is an absolute nightmare. I might just have a jerry-rigged magiskinit in the ramdisk to bind mount something from the ramdisk over it before they're modprobed, but we definitely need new modules. Disabling symbol checking just makes it go crazy

Edit: got something to work...I think. I'll try again later...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
Excellent ?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] lixindiyi:
Before I upgrade my RP2 to Android Pie, I forgot to uninstall the Xposed framework in Magisk, which caused I got a bootloop once I rooted the phone on Pie using Magisk. Although I have flashed stock boot.img to recover, I need rooting my phone to do some customization. It is so frustrating, and the only solution I've found so far is to uninstall the Magisk and its modules completely using TWRP. So I really need a working TWRP on Pie. I hope you guys can help me out soon. Thank you in advance!!!:good:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Warrior1988:
Have you tired my guide? Also try flashing stock boot.img then wipe cache then flash magisk boot.img But really data wipe would fix it which you're trying to avoid.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] lixindiyi:
I can't wipe cache in bootloader.

>fastboot erase cache

Erasing 'cache' FAILED (remote: 'Check device console.')

fastboot: error: Command failed

There is no "wipe cache" option in stock recovery either.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Pretty please don't make a kernel that requires a custom /vendor partition, since that's going to be a nightmare for users and difficult for everyone to debug when they come to XDA for help ;)

There should be no need for the data structures to change if you're compiling the source as provided by Razer.

If you're trying to do something like bump the phone to latest 4.9 you're in for a difficult time. If you absolutely had to, you could start from CAF 4.9 but that's just asking for trouble, and would be a major time sink for not much gain (unless I'm missing something here)

I'm currently working on getting P-MR0-3040 building, since that's what my phone updated to and is stuck at (lol, some days I wonder if I'm actually competent...).

My github is updated with the MR0-3040 source, and once that's building and stable (I need to update my build env to 9.0 first, since building in an 8.1 build env is trouble), I'll update it to MR1-3110 source and figure out how to get my phone updated too heh.

EDIT: I've fixed up the 3040 source, and have verified that it boots (and audio works properly) on my device. Next up, TWRP for 3040 so I can update myself to 3110 ;)

The source is on my Github: https://github.com/thecubed/android_kernel_razer_sdm845/tree/android-9.0-MR0-3040
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] CurtisMJ:
Hehe. I was indeed trying to update to latest 4.9, so yeah. Possibly a useless exercise but I'm having fun (sort of). The kernel modules are installed by an rc file in the vendor partition. I figured out a way to mod the ramdisk to bind mount newer modules Magisk style, just need to get it to do it early enough (they're loaded in early-init). The scripts could even just purge them from the ramdisk when they're done. It could be mildly interesting... Edit: I actually think it might be a good idea to mod the scripts to just load all the new modules first. modprobe should then just ignore the stock modules...

EDIT: I DID IT! IT NEEDS A CUSTOM BUILD OF MAGISK BUT I DID IT. YEEEESSSSSS. Well it's satisfying at least...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Twiggy000b:
is this still being worked on?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Youssarian:
To my knowledge, yes.

Op is a busy guy (as most are here), so need to give him whatever time he needs ofc.

Also, I reserve the right to be wrong and will take the appropriate punishment(s) as provided by the bylaws, rules and regulations. :)
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Twiggy000b:
Yeah I kind of figured I kept checking the GitHub and it was like it was not an worked on so I didn't know. Thanks for the response dude.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thecubed:
Hi all,

Nope, I'm not dead... just been traveling for work a bunch recently.

I do now have working exFAT support on my RP2 with the custom kernel (+a magisk module) for 3040 (P MR0) only.

I haven't been able to upgrade my phone to P MR1 yet, since the upgrade fails every time. Once I get that working, I'll update my source for that too.

If you're running P MR0 3040 (it MIGHT work on MR1, but I can't say for sure, and wouldn't recommend it), you can try it by:

- Download http://downloads.codefi.re/thecubed/aura2/kernel/boot-p-3040-custom_3-exfat.img and flash to your active boot partition

- Download http://downloads.codefi.re/thecubed/aura2/tools/magisk-exfat-utils.zip and install with Magisk Manager

I've updated the source on my Github: https://github.com/thecubed/android_kernel_razer_sdm845/tree/android-9.0-MR0-3040_exfat

And the source for the Magisk module is here: https://github.com/thecubed/magisk-exfat-utils

The Magisk module is necessary since vold requires /system/bin/mkfs.exfat and /system/bin/fsck.exfat to be present before it will mount an exfat formatted filesystem once the drivers are present in the kernel. Originally I thought I'd need to recompile vold, but it seems like android 9.0 has dynamic exfat support in vold, which is nice. The Magisk module just adds the two binaries to /system in a systemless fashion so you get to keep Safetynet. The binaries are compiled from android 8.0's exfat libraries, and are simply used for creating and checking exfat filesystems - they don't support fixing exfat problems, so you'll need a real Windows machine for that.

I've also been working on something more fun on the side - here's a teaser:

Hint: it's not quite Linda. It also needs kernel modifications to work properly, but I'm almost there.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Youssarian:
Thank you sir. This is awesome and fun news. :)