yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
Clang Kernel template for Marlin/Sailfish​

What is this?

This is a marlin clang template that can be used to create kernels that compile using clang toolchains. It has all the commits by [MENTION=6842057]nathanchance[/MENTION] that optimize clang for the Pixel and XL models

What Does this Mean for me?

The 4.x kernels use clang as a toolchain for compilation. Our kernel is 3.18.x, we do not immediately use clang for compilation. GCC is the key part when compiling a 3.18.x kernel. Using clang adds battery and stability improvements (which I have observed). People are readily adopting clang as a compiler and I just want to ease the workload to cherry pick all the commits required to run clang on a marlin or sailfish device.

Where can I find it?

It is found in my git repository linked here: https://github.com/kingbri1/MarlinClangRef

How Do I use it?

All you do is clone it and look at [MENTION=6842057]nathanchance[/MENTION]'s guide on how to compile with clang https://github.com/nathanchance/android-kernel-clang

Updates

I will be updating this kernel base to the latest security patches and versions, nothing more, nothing less

Thanks to...

[MENTION=614507]razorloves[/MENTION] -I used his kernel base

[MENTION=6842057]nathanchance[/MENTION] for putting the time in to create the commits for clang to be used on Pixels and other devices

Want to collaborate?

Feel free to private message me or email me at awesomecoder24@gmail.com so we can sort out the details
[Samsung Galaxy S8 Questions and Answers] elyl:
I've been using Tasker to turn on mobile hotspot automatically when I connect to my car's Bluetooth, so my headunit in the car can use the internet. Mobile Hotspot gets turned on fine, but nothing can connect to the hotspot until I unlock my S8. I will get "authentication errors" on anything I try to connect to the hotspot until the phone has been unlocked.

I can relock the phone afterwards and it still works, but it's obviously a pain having to take my phone out and unlock it every time (and kinda defeats the purpose of having Tasker turn the hotspot on). Is there some way around this?

I should add, this only seems to be a problem recently, since Oreo. Previously it worked without issue.
[Samsung Galaxy S8 Questions and Answers] haroon.y:
Go to settings - lock screen and security - secure lock settings - and uncheck the lock network and security. Should work, but I cannot test it since my phone is rooted. Good Luck
[Android Q&A, Help & Troubleshooting] folsom68:
I am trying to get Moon Reader to connect to a Calibre book server that is using a Let's Encrypt SSL certificate. I get a java error "trust anchor not found".

I can access the calibre libary using Firefox on the android phone along with Firefox on a laptop. Moon reader has a problem with the intermediate certificates. Another app called Calibre Companion has no problem accessing the server.

I have installed the two intermediate certificates from Let's Encrypt in the android certificate manager but I still get the error.

https://letsencrypt.org/certificates/

Does anyone know which certificates to install to allow Moon Reader to access my calibre server?

Thanks,

Folsom68
[Samsung Galaxy J3 (2017) Questions & Answers] catkraze:
Hello! A while ago, I bought a GameVice for my iPhone X, and it is by far the best accessory I have purchased for that device, as I am heavily into mobile gaming. I am now wanting to buy one for my Samsung Galaxy J3, but they do not have a model dedicated to the J3. After some quick browsing on GameVice's site, I found a model for the Galaxy S7 that looks like it could fit the J3. It looks like the connector is properly centered and oriented the correct direction. All I need to know now is whether the J3 is similar enough in size to the S7, or better yet, if anyone has tried this before. Does anyone know if it will work?

The link to the controller is here, for reference:. https://gamevice.com/collections/mobile-console-gaming-android/products/samsung-galaxy-s7-1
[Networking] osunick:
About once a day my IE refuses to load pages. It will do the Locating... bit and then load a white page with no errors. The only way I can get it to start working again is to either edit my AT&T MEdia Net connection and save without making changes, or bounce in and out of flight mode. Then I get the 'connecting to MEdia Net' dialog and all is fine. Has anyone else seen this? None of my other network enabled apps behave like this.

-n.
[Android Q&A, Help & Troubleshooting] Shepard199:
Hello, I bought a Le Pro3 AI, and faced with the problem, how do I add my language to system applications without getting root? on Samsung this problem was easily solved by editing the file AndroidManifest.xml and ostavleniem the res folder only the localization files, but this way is not suitable, but rather the permission which were added in the AndroidManifest.xml (com.samsung.android.permission.SAMSUNG_OVERLAY_COMPONENT) not suitable for this phone, please tell me more ways to add your language without root Android, I will be very grateful for your help
[Android General] Tulsadiver:
This is a guide for Android 8.1 and Android P for removing the tint on the lockscreen wallpaper. It has been tested on Pixel, Pixel 2, and Nexus 5X but I would imagine it would work on others as well.

Pull and decompile the SystemUIGoogle.apk, SystemUI.apk, or whatever your SystemUI is named.

Go to the res/values folder and open the bools.xlm with notepad++

Find the below lines of code (these are not all grouped together)

<bool name="config_showDividersWhenGroupNotificationExpanded">false</bool>
<bool name="config_showGroupNotificationBgWhenExpanded">false</bool>
<bool name="config_showNotificationExpandButtonAtEnd">false</bool>
<bool name="config_status_bar_scrim_behind_use_src">true</bool>

and change them to this:

<bool name="config_showDividersWhenGroupNotificationExpanded">true</bool>
<bool name="config_showGroupNotificationBgWhenExpanded">true</bool>
<bool name="config_showNotificationExpandButtonAtEnd">true</bool>
<bool name="config_status_bar_scrim_behind_use_src">false</bool>

Next, open super_status_bar.xml located in the res/layout folder.

Add this after each of these 3 codes:

android:background="#00000000"

1.

android:fitsSystemWindows="true"

2.

android:id="@id/backdrop_back"

3.

android:id="@id/status_bar_container"

After this code add android:visibility="invisible"

android:id="@id/scrim_behind"

Your code might not be exactly the same but find the line that contains android:id="@id/scrim_behind" and you should be good. Save your changes, recompile, and replace your SystemUI.apk with your newly modded one with whatever method works best for you.

I have not found any adverse effects from these changes.
[Android General] Augustin79:
Has anyone tried this on Android Pie?
[Android General] Llamas_are_Good:
Yes it still does.
[Android General] zerolam:
Is this possible to apply on aosp rom?

I tried to decompile the systemui.apk with framework_res.apk and edit it then recompile the apk.

But no luck, after reboot my phone, the phone shows the home page directly without lock screen, status bar. I can't open the status bar or back to my lock screen until I restore the systemui.apk.

Maybe, there is something wrong with decompiling and recompiling. I will try again.
[Android General] Cebtenzzre:
This doesn't work for me.

If I sign SystemUI.apk with my own key, it can't acquire the right permissions (logcat says "this requires android.permission.INTERACT_ACROSS_USERS_FULL") and the keyguard is skipped (boots to home screen).

If I use the META-INF from the original apk, even with the original classes.dex, the phone bootloops and spams logcat with "android.content.res.Resources$NotFoundException: String resource ID #0x0".
[Android General] Cebtenzzre:
I was able to get these changes to work by making a Substratum theme for SystemUI. Ideally this wouldn't also apply to the notifications pulldown, but at least my lock screen finally looks good.
[Android General] Cebtenzzre:
I got it working!

So, I have been trying to modify the value of SCRIM_BEHIND_ALPHA_KEYGUARD in SystemUI, which needs more than just a Substratum theme.

I discovered that with "apksigner verify --print-certs" you can get helpful information about the verification status of an APK.

That command told me that the APK built by apktool was missing some resources. So instead of using that, I made a copy of the original APK and replaced the classes.dex with the one that apktool built.

That at least made the MANIFEST.MF agree with the contents, but the signature did not verify because the APK had been modified.

So, I signed it with the platform key using "apksigner sign --key platform.pk8 --cert platform.x509.pem --v1-signer-name CERT". Then the signature verified, and it had the same certificate digests.

It seems as though my phone only accepts a privileged system app if apksigner cannot disinguish it from one that was officially built and shipped with the ROM, which is probably a good thing.

Now I know to be more careful about A) assuming that apktool works seamlessly, B) replacing the right files in an apk and leaving everything else alone, and C) verifying an APK before putting it on my phone.
[Android Head-Units] johnedreid:
Hi guys, I'm pretty new around here but am seeking some advice on how to get Android Auto running on my headunit.

I recently purchased an Xtrons ICE/HU/TA707PL (running android 7.0), so far I've been mostly pleased with it however what I would really like to see it do is to run Android Auto (the standalone app built for driving by Google from Google Play, not the plug 'n play with a phone setup thats common on many new cars).

The first issue I encountered was when I tried to download it from Google Play it says its incompatible, so I tried to get an APK to which it is still incompatible. I then tried to root the device but couldn't seem to get that to work either although I'm not sure how helpful that would have been.

I've come to a bit of a standstill. Is it really impossible to get a copy of android auto to run on an android headunit? Why is there this compatibility issue and is there anyway to resolve it?

Any help would be much appreciated.

Cheers
[Android Head-Units] Croak:
Google requires an actual phone to run it, and/or has to be connected with an actual phone to an "authorized" device for Android Auto. It's never going to work on your Xtrons or any tablet or Android head unit without some serious hackery.

So download AutoMate Car Dashboard from the Play store, call it a day.

It's virtually identical to Android Auto in functionality and looks, with a few extra features.
[Android Head-Units] monark_78:
I am having trouble with android auto as well with my Xtrons TS702L it installs but will not load it wont load wjen a phone it plugged in through USB any help would be great
[Samsung Gear Fit2 Pro] tschwichow:
I'm trying to connect my gear fit 2 pro to net odin to flash its firmware. I have acquired the necessary AP, BL, and CSC files for the watch and have been successful in connecting the watch to my pc via AP mode. However, the watch reads "Plz run odin" over and over again. I have odin running with all of the files in place but I cannot get it to recognize the watch. I am running it with administrator privileges and gave it network permissions. Am I missing something? Thanks in advance for any help or advice.
[Huawei P20 Pro Questions & Answers] lorygia74:
Hi,

my daughter has change pattern screen lock.

I restart phone but it is locked, there is a method to unlock screen?

I have many photo that I haven't backup!!!!!!

Thanks a lot.
[Huawei P20 Pro Questions & Answers] danifilth4king:
Is your bootloader unlocked?
[Huawei P20 Pro Questions & Answers] lorygia74:
No, it's original
[Huawei P20 Pro Questions & Answers] danifilth4king:
I think you're screwed then. You could try using eRecovery, I've heard of people restoring this way and all their data on the phone wasn't wiped (as long as you don't choose the factory reset option) but I don't know if this will clear the password settings or it would remain after eRecovery.

Are your photos not backed up with Google photos/Huawei gallery backup?
[Huawei P20 Pro Questions & Answers] lorygia74:
Hi,

it's possible with secret codes access to phone and save data?

With this code *#*#2846579#*#* Project menù it's possible to use HiSuite to backup data?
[Huawei P20 Pro Questions & Answers] kupa:
And wipe all data and all the photos he/she wants to get hold on. That's NOT what he/she want to do.
[Huawei P20 Pro Questions & Answers] mpiekp:
What usb mode is it in, can you connect to PC to copy the photos off, then factory reset?
[Huawei P20 Pro Questions & Answers] RiTCHiE007:
Ha, dont think you can get around this otherwise the whole point of a lock screen is useless so i think you need to do a full wipe
[Huawei P20 Pro Questions & Answers] Jake.S:
Like others said, you gota do factory reset to be able to remove lock screen. There is no bypass since of security safety to prevent hackers and anyone who steals the phone from accessing the content. If you made a Huawei account, then check https://cloud.huawei.com and login with the same email. Hopefully the images and videos are synced there so you can restore it after factory reset.
[Huawei P20 Pro Questions & Answers] side_flip15:
tried asking your daughter for the lock pattern? :P
[Meizu M3 Note Questions & Answers] Paralix:
When i try to start my phone, stuck in flyme logo. I try to recovery and format but always block with stupid logo flyme. If i try add file update.zip in recovery, i can't because debug are inactive and can't transfer file, and for this too fastboot mode give me problem, i can't bootloader, because telephone can't open.. HELP ME PLEASE, MY PHONE STUCK IN FLYME LOGO.
[Huawei P Smart Questions & Answers] Domiś 123:
Hi, when I did the wipe I chose the wipe system and now I do not have the system, the bootloader is blocked, frp also. I can not install any system because I can not enable usb debugging. What can i do?
[Huawei P Smart Questions & Answers] Raiz:
That's a real problem , read this article to understand why :

https://www.xda-developers.com/huawei-honor-request-bootloader-unlock-code/

If you didn't get your bootloader unlock code , there isn't any other way I know to repair this .:(
[Huawei P Smart Questions & Answers] Domiś 123:
Okay I managed! Huawei erecovery helped me
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] shivatejapeddi:
reserved
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Chityanj:
.Guys If you have any problem or confusion ask us in telegram group or XDA before proceeding

.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] N-Gage4ever:
Congratulations! Thanks everyone to work in this project!..
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Beackman:
Great work guys.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] diemoon98:
good!
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Wow! Impressive stuff guys! How is the P GSI? Working well?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dlearin:
****! All of you are incredible, thanks a mil for this hard work.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Adriano-A3:
I have no words

Congrats to all devs involved
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kksatpathy:
I am unable to understand anything. So dumb.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Crystal-L:
Pro3 users come to congratulate. How do I admire it! With the same CPU, zl1 can't use Android P.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Jotinha's:
It's a new way of life Thank you all.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
This really works nice, and very easy process,. I am running the AEX treble ROM at the moment, but tried the P gsi for a while - it booted up OK and runs, looks nice, but has a message on boot saying there is an error with the device, and has a notification that the P system is updating that never seems to complete and so you can't log in to google account or complete phone set up.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
Did you flash post GSI zips for P?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Yes, the three of them
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] prajjwal.laad:
Ahh. Then it's typical GSI behaviour. Maybe a final version will be more stable. :D
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] arpit1234567:
Thanks to all of the developers for bringing the much awaited treble support in our device.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] shivatejapeddi:
U should install google play services app link is there in that android p gsi XDA ,download and install problem solved
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] shivatejapeddi:
Hi don't worry, pro 3 will get very soon, devs working on it,
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] bamonkey:
Should have noticed that link earlier when i first tried. many thanks!

just wanted to add i got FC while restoring from the cloud on my google account, i think it was called data transfer tool, i had click on the 'i' to bring up the service/app and then give it storage permissions to continue. after that everything back and even my apps are now updating from the play store.:good:

edit 2: also for those needing usb connectivity after for whatever reason you can enable by going to developer options and changing default usb configuration to file transfer. learning do and donts as i go here as well lol
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
I ran into boot loop installing mido zip. There are two ways to resolve this:

1. Install p-dp4-volte_fix.zip prior to installing mido zip. This will show HD on status bar and HD Capability in notification

2. Install Oreo patch VoLTE+Patch+[o].zip by [MENTION=5881712]althafvly[/MENTION] at

https://xdaforums.com/2015-moto-g/themes-apps/osprey-volte-patch-android-n-roms-t3527635

This patch will not show HD.

But both work without any issue. I have tested each of them individually.

The decision to live with losing VoLTE on reboot completely or with re-setting data network is left to the user depending on requirement until a permanent solution arrives.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Or more simply you can just use TWRP and take a backup of the vendor partition right after flashing AEX

---------- Post added at 09:19 AM ---------- Previous post was at 09:15 AM ----------

Regarding Google Photos backup in DP5 - I just took a couple of 4K videos (about 2GB total size) and backed them up to Photos cloud. As yet the used space on my Google Drive account is unchanged, so seems like at the moment we are able to get free unlimited original resolution backup as if it were a Pixel.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
True, I did not think of that having used TWRP backup for full image backup for ages. And I have been doing it since venturing into Treble due to my data/calls requirements going back and forth (to custom Oreo) every night for the last few days. As you and [MENTION=4292993]pssyz[/MENTION] pointed out that this is a much easier solution. Thank you both.

Habits hardly die.....:D
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Anyone know how to disable the hardware nav buttons when using the P gsi? Seems a bit pointless having them on when you have the gesture control or soft buttons.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
I am also searching for a solution to this. To avoid duplicates I have disabled on screen navigation buttons. Plus is some more screen real estate. But the hardware navigation buttons LEDs do not turn on. I am searching for a solution for this as well. No I do not want an app for this.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Yeah, I also disabled soft keys for now. Assistant isn't working with the hardware home button though.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dbkarthikbabu:
If your phone is rooted, you can install the attached small APK file.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mardeck:
For me does not work
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
That's the middle option. Turning them on works, but they are set very dim even then. Personally I can manage without backlight. After nearly two years, I know where to press without looking.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] dbkarthikbabu:
You can try the last one. Otherwise you can update value 40 on brightness TXT file which is located at below location

sys/class/leds/button-backlight

But this update will permanently switch on you button backlight. It won't switch off if screen turned off.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
The value doesn't change for me. Reverts back to 0. File located at /sys/devices/soc/leds-qpnp-9/leds/button-backlight directory. It's linked to what you have mentioned.

Command used echo 40 > brightness as root. The value seems to be forced back on reboot. May be I'm doing it wrong?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] msuki:
v2 of new VoLTE fix released. Link here https://xdaforums.com/showpost.php?p=77196622&postcount=223

Appear that this new version doesn't reset more settings after each reboot.

Ps. i don't tested this, because i returned to 8.1 due high battery usage in standby.

Again I modified the VoLTE_fix_mido_v2.zip because of vendor/build.prop file inside the zip. For me better remove this file from inside of zip, because this file is specific for Xiaomi Redmi Note 4. Or use modified zip file of this post.

Ps. flash VoLTE_fix_mido_v2 before first boot
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Chityanj:
Volte fix for P

https://drive.google.com/file/d/1h-2qTwhUidU9gDBFzj86RMfZn-vwLOnG/view#
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] joseluis0209:
Ambient screen does not work
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] sergjhb:
P is great, but there is a problem. This is pointed in other forums -

Speech volume during the call is very low !

Somebody have solution to increase volume?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] an.pandiyaraj:
What is this file?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] mamarama9904:
awesome work. could you provide the Treble to Leeco Le2?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] a1005747470:
I feel confused.There is a fix.zip,a p-sensor-fix.zip,a volte-fix-for-max2.zip.

I should flash 1 and 2 after POST 1-3,and restart,and back to twrp to flash volte fix.Am I right?
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] binbin5678:
How to make Android p support official fast charge? Who can answer it? I still hope to support the official fast charge. After all, my charger can still be used... Thank you for the tutorial, really good. Support you!!! Then I hope I can tell me how to support fast charge.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kayyappan:
Please take a look at this for Assistant

https://del.dog/ivajosukux.sql

forwarded from here

https://gist.github.com/kdrag0n/b54c83a4c355ab58cc1767b60eb5a8c5

under Disable software/hardware keys.

Hope that helps.

---------- Post added at 02:11 PM ---------- Previous post was at 01:57 PM ----------

Take a look at this for battery drain. No idea if it'll help you.

https://gist.github.com/kdrag0n/b54c83a4c355ab58cc1767b60eb5a8c5
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] kanagawaben:
Thanks but I already went back to Lineage 15.1 Oreo. P is nice but don't feel it is quite daily driver ready yet. Will wait for proper release and hopefully an X2 optimised treble ROM.
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Beast love 69:
Can I use AOSIP instead of AEX for Treble
[LeEco Le Max 2 ROMs, Kernels, Recoveries, & Other ] Dark Stranger:
Only if AOSIP has treble support. If it does not it will not work causing bootloop. Or you can install AOSPI Gsi.