yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
Bootloader can be unlocked without enabling debugging as you are not running adb commands, you need to run fastboot commands.
[Nexus 5 Q&A, Help & Troubleshooting] Vibed:
Thanks! Can I do it with NRT also?
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
Easiest way to unlock the bootloader on a windows machine is to do this:

make sure that the necessary fast boot drivers are installed;

boot phone into fast boot mode by holding down volume up, volume down, and power;

connect the phone to the computer;

type "fastboot oem unlock" without the quotation marks and press enter key.

Unlocking will wipe the phone.

Once unlocked, you can flash a stock ROM using fastboot commands.
[Nexus 5 Q&A, Help & Troubleshooting] Vibed:
Ok I did it. Do I have to proceed "fastboot reboot" command? when I am doing it it reboots and still bootlooping. When I enter bootloader it is locked again
[Nexus 5 Q&A, Help & Troubleshooting] audit13:
If the bootloader relocks itself when the phone is rebooted, the memory chip is damaged and will need a motherboard replacement.
[Samsung Galaxy S8 Questions and Answers] Konstigt:
Hello

I just tried to move from Nexus 6P to Galaxy S8. In the initial setup of the S8, after logging on to Wifi and then my Google account, I could not select restore from my Nexus 6P backup?

I can select my LG G4 and also Samsung Tab S2. But not my Nexus 6P which is my daily driver and the one I want to copy all apps an appdata from.

Is it not possible because the 6P uses Android 8.0 and the S8 uses 7.0?
[Samsung Gear S3] taprok:
Hi :)

I am using a Samsung Galaxy S5 with the current nightly build of lineageOS 14.1.

Today i got a Gear S3 and went through all the hassles for non-TouchWiz Users:

I changed the build.prop key "ro.product.brand" and "ro.product.manufacturer" both to "htc" and installed the Gear App, the Gear S Plugin and the Samsung Accessory Service from apkmirror, because unfortunatly i was still unable to install them via the play store.

The Gear App is running and connecting to the watch, but i am experiencing trouble while installing the "HERE WeGo" App from the Gear Store within the Gear App. After Downloading the Gear S Plugin says "transferring ... 0%" and crashes the whole OS - so lineageOS is rebooting.

I have no idea how to debug this issue?

dmesg shows no suspicious output after the reboot (i'm reading from adb shell), and the only hint i can see ist the output from the last_kmsg:

[ 228.628922] samsung_dsi_panel_event_handler : unknown event (6)
[ 228.666677] Restarting system with command ''.
[ 228.667536] Calling SCM to disable SPMI PMIC arbiter

No errors detected

But i'm not even sure if this is related to the gear app, i rather believe this is a function from android.

Could someone give me a tip how to debug this? Or even better, fix this?

By the way, i managed to install "Endomondo" on the watch and a watchface from the Gear Store without crashing the cell phone, so that must be something specific.

Would there be a alternative to the Gear Store to get apps on the watch? Like something comparable to F-Droid or even apkmirror?

I also can't find the komoot app within the gear store so thats could be a related issue with some mismatching compatibilities.

This is rather sad because i really don't want to go back to stock rom :(

Any help is appreciated :)

Thanks in Advance

taprok
[Samsung Gear S3] taprok:
I found that this problem occures only with bigger file sizes. Apps up to 5 mb are uploading well.

I also noticed that the accessory service doesn't come up if the file size is too big. For the small apps the Gear S Plugin states a transfer notification, the Accessory service comes up and the file transfers fine.

In the case of anything bigger (S Health, Here WeGO etc. ) the accessory services doesn't come up and the phone crashes.

I'm using:

Gear 2.2.17082261

Gear S Plugin 2.2.03.17101341N

Accessory Service 3.1.66.70830

Does this help anyone to help me? Thx :)
[Google Pixel 2 Themes, Apps, and Mods] um009:
Pixel 2 and XL have about 44 new wallpapers including the Underwater with 34 wallpapers, Keep looking with 9 wallpapers and one Rainy Day wallpaper.

In case anyone wants to download all the wallpapers, here they are: https://flb.st/VjOj7K
[Sony Xperia XZ1 Compact Questions & Answers] synergy1337:
Hi,

so i got my XZ1 compact today, started the android setup and immediately forgot the PIN to unlock the phone.

I tried to reboot into recovery for a factory reset (since its brand new, I have no data to backup), however Volume Up + Power does not boot into recovery mode (Volume Down + Power also wont work).

Is there another trick to get into recovery, maybe via USB ?
[Sony Xperia XZ1 Compact Questions & Answers] blackknightavalon:
ADB's not playing nice with my XZ1C, probably due to no bootloader unlock. Is there a "Forgot PIN" option on the lockscreen?
[Sony Xperia XZ1 Compact Questions & Answers] mhaha:
IIRC, Sony stock firmware does not have recovery. Maybe try reflashing the phone using Xperia Companion or Flashtool?
[Sony Xperia XZ1 Compact Questions & Answers] 4rz0:
A quick search gave me this

https://support.sonymobile.com/de/xperiaz1compact/userguide/restarting-and-resetting-your-device/
[Sony Xperia XZ1 Compact Questions & Answers] synergy1337:
Thats for the old Z1 compact (the XZ1 compact does not have a reset button).

Reflashing with the Xperia Companion (with Volume Down while connecting USB) worked, thank you!
[Sony Xperia XZ1 Compact Questions & Answers] 4rz0:
Ha, I missed that. Was wondering about the button thing.
[Sony Xperia XZ1 Compact Questions & Answers] Balder-spooky:
Hi all please I need help

The father of my wife died 1 week ago and he have sony xperia xz1

He have phone code security and we can't access the info or his photos there are anyway to do it ?

If not I try to wipe the data by recovery mod but not go to the boot how I can do that ?

Please help me:crying:
[Sony Xperia XZ1 Compact Questions & Answers] akonet.android:
There is a way but I'm a bit suspicious to share it here as from security point of view it's no good.
[Sony Xperia XZ1 Compact Questions & Answers] Balder-spooky:
Can be done on private because really I'm in big hard situation the phone won't work and the Sony company don't want to fix it so please help me
[Sony Xperia XZ1 Compact Questions & Answers] akonet.android:
Pls clarify, do you have recovery like TWRP installed, can you boot into it?
[Sony Xperia XZ1 Compact Questions & Answers] Dany XP:
If your issue is legit... Just contact Sony Customer Care
[Sony Xperia XZ1 Compact Questions & Answers] taxidrivr:
running into a similar issue though using a Mac...can you elaborate on this please?
[OnePlus 5 Questions & Answers] Cyclops Maran:
Can anyone help. I performed a userdata erase and formatted the data partition. The problem is I can flash the ROMs but can't boot into it. It keeps coming back to twrp and does some check and reboots again to do the same thing again and again. I don't know what's wrong. The only ROM i can boot into is the AiCP Rom. I'm in need of a desperate help. Help me guys.
[OnePlus 5 Questions & Answers] the_rooter:
Since u erased userdata u decrypted ur device. If u wanna stay decrypted u need to flash no verity zip after rom and root method and gapps.
[OnePlus 5 Questions & Answers] Cyclops Maran:
Solution found guys. Just follow the instructions on this thread. https://xdaforums.com/oneplus-5/how-to/guide-how-to-flash-encrypted-roms-t3659126
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
As most of you might know, OnePlus removed the proximity wake option from OOS lately, replacing it with the lift to wake feature. If you want to use the proximity wake feature, you either have to switch to a custom ROM or use an outdated version of OOS. Both options might be suited for most people, but in case you prefer to use latest OOS and still want to use proximity wake, I have some kind of workaround.

PLEASE NOTE: it seems that the given shell command does not work on Android Oreo (OOS Open Beta as of writing). Check the latest posts of this thread for any progress.

I came across this shell command, which will trigger the ambient display:

am broadcast -a com.android.systemui.doze.pulse com.android.systemui

A big shoutout to [MENTION=3563640]Quinny899[/MENTION] for providing me the code to trigger ambient display by shell command.

You can use this command with Tasker to trigger it when the proximity sensor is covered for some seconds or even when you wave your hand over it. I haven't had the time to get such a profile working until now, but I know that it can be archived easily.

In case you use the above command, ensure you check the "use root" option in Tasker's context menu for the shell command!

EDIT: I managed to get this working :good: Below my implementation. I am sure there is room for optimization, but this is just a basic task and it works for me (OOS 4.5.13 with Tasker 5.0u6).

You need three profiles. Two of them will check the proximity sensor state while screen is off, the third one actually triggers the ambient display while screen is off and proximity sensor has been covered (by waving over it for example).

First of all, we need to ensure that Tasker will monitor the proximity sensor while screen is off. For this, open the three-dot menu, select Preferences and navigate to the Monitor tab. Set "Proximity Sensor" to "On". That's it.

Second, you have to enable the Ambient Display option via Settings -> Display, otherwise this won't work at all (thanks to [MENTION=6114233]Devildire[/MENTION] for confirmation)

Let's have a look at the needed profiles:

[B]PROFILE [I]Prox OFF[/I]
[/B]State -> Sensor -> Proximity Sensor -> invert
State -> Display -> Display State -> "Off"

[B]TASK [I]Proximity uncovered[/I]
[/B]Variable -> Set -> %Prox = false

[B]PROFILE [I]Prox ON[/I]
[/B]State -> Sensor -> Proximity Sensor
State -> Display -> Display State -> "Off"

[B]TASK [I]Proximity covered[/I]
[/B]Variable -> Set -> %Prox = true

[B]PROFILE [I]Wake Ambient Display[/I]
[/B]State -> Display -> Display State -> "Off"
State -> Variables -> Variable Value -> %Prox = true

[B]TASK [I]Wake Proximity Display[/I]
[/B]Task -> Wait -> 1s
Task -> IF -> %Prox = false
Code -> Run Shell -> am broadcast -a com.android.systemui.doze.pulse com.android.systemui (DON'T FORGET TO CHECK "USE ROOT")

That's it. Now turn off your screen and try to wake the ambient display by waving your hand over the proximity sensor.

EDIT: Tasker profiles can be found in post #7.

EDIT #2: [MENTION=4928198]Arstoien[/MENTION] provided us with an improved version of my basic tasks, check it out here.
[OnePlus 5 Guides, News, & Discussion] Rey009:
Thanks for the guide on how to, great work from you for the community
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
OP updated with instructions. Feel free to comment and share your experience or any kind of optimization proposes. Please note that the implementation is only a rough imitation of the original proximity wake feature, most likely this implementation needs some polishing.
[OnePlus 5 Guides, News, & Discussion] saccentekennedy:
Hey there. Sounds intriguing... I'm not understanding the stacked profiles... It seems you've got it triggering with two conditions. How do you do that?

Or... Would it be possible to upload the profiles and tasks for importing?
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
[MENTION=4954797]saccentekennedy[/MENTION]

If you want to add another trigger to a profile, just long-press the first trigger condition and Tasker will prompt you with a popup window where you can select to add another trigger option.

If anyone else is interested, I might upload the profiles later.
[OnePlus 5 Guides, News, & Discussion] ravikeshri_0341:
Hi guys , any file so that we can import it on tasker (if it has such system) to get this. !!??!!
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Please find attached the requested profiles.

EDIT: You might want to change the wait time within the wake ambient display task to 1s instead of 300ms, this one actually works way better.
[OnePlus 5 Guides, News, & Discussion] saccentekennedy:
Works! Thanks for sharing this.
[OnePlus 5 Guides, News, & Discussion] BloomerzUK:
Is root required?
[OnePlus 5 Guides, News, & Discussion] obol2:
Yes look in the code last line
[OnePlus 5 Guides, News, & Discussion] dre-z:
Mhm I have root, Tasker has a root-entry in magisk, added the profiles in post #7, changed the proximity sensor to yes, but it is not working.
[OnePlus 5 Guides, News, & Discussion] saccentekennedy:
Ok... So I've discovered that this breaks pocket mode... Every time I took my phone out to unlock with my finger, it had already registered several attempts my leg had made. I guess it makes sense this might be a problem.
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
As said before, this is just a rough workaround, it works for me (but not as perfect as the former in-built option). It works if you move your hand slowly over the sensor.

Hmm, I don't have this issue, but we might add another trigger option to the wake ambient profile: only trigger if display is face-up. This way it won't be triggered if the device is in your pocket.
[OnePlus 5 Guides, News, & Discussion] Stupifier:
After looking over what you steup in Tasker........The biggest question is "What does the phone do when it is in your pocket?" I think if you can figure out a solid Tasker-based solution to that question, this will be something worth using. Great work.
[OnePlus 5 Guides, News, & Discussion] Diablos86:
It works (more or less)
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
[MENTION=2593250]dre-z[/MENTION]:

try changing the wait time within the wake ambient display task to 1s instead of 300ms. Works better for me and might enable the whole thing on your device. 300ms to wait until your hand moved over the sensor completely seems to be a bit too short.
[OnePlus 5 Guides, News, & Discussion] dre-z:
I think I am doing something wrong. Doesn't work at all. Thanks for your help anyways :)
[OnePlus 5 Guides, News, & Discussion] Devildire:
Seems like the command is not working for me. The command triggers, but the screen doesn't wake up. Any ideas what's wrong?
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Did you check the "use root" option in the corresponding task?
[OnePlus 5 Guides, News, & Discussion] Devildire:
I use the downloaded profles and yes, root is checked. Using OP5 up to date OOS.

Edit: maybe there is something wrong with shell execution. Can you give me information about what I have to enter using tasker's "send intent" action instead?
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
I don't know what intent will trigger ambient display. Could you verify if the task is indeed running properly by setting the wait time to 3 seconds, manually trigger it and immediately turn off your display? This should trigger the ambient display.
[OnePlus 5 Guides, News, & Discussion] Devildire:
Already did that. I also added a short vibration right before the shell command which triggers properly. SU logs also show the root request.
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
I might have found a solution. Do you have enabled the ambient display option within Settings -> Display? I disabled this option and the ambient display won't come up anymore. Enabling it again results in the proximity wake working again.

[MENTION=2593250]dre-z[/MENTION], this might also solve your issue.
[OnePlus 5 Guides, News, & Discussion] Devildire:
That did it, silly me. Disabled that since I don't use that lift feature anyways. Thank you for your support :highfive:
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Good :) I will add this information to the OP :svetius:
[OnePlus 5 Guides, News, & Discussion] dre-z:
That did it for me too :)
[OnePlus 5 Guides, News, & Discussion] Arstoien:
Considering the OS "pocket mode" uses the proximity sensor, I don't expect Tasker polling it while screen off to add to the battery drain much. has anyone got some observations on the matter?

Btw, here is imo better solution than the one suggested by the OP. It's also all in one profile. It should activate much sooner than 1 second after the proximity has been activated BUT keep "waiting" for as long as 2 seconds. Adjust to your needs. Just make sure that the profile has "enforce task order" disabled and the entry task has Collision Handling to "abort existing task".
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
That's a good optimization of the initial profiles. Thank you for sharing it :good:
[OnePlus 5 Guides, News, & Discussion] Ventigo:
First of all thx for this neat little tasker profile!

Been using it since it came up at xda . I can confirm this method works on the op3 and several Oreo roms .

And even when I set the wait time to 50ms the battery drain is not noticable
[OnePlus 5 Guides, News, & Discussion] KD6266:
Can I use this code for my Moto G5 plus
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
This should work, yes.
[OnePlus 5 Guides, News, & Discussion] belumira:
Is it posible that after some time of inactivity it stops responding?
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Did you check if Tasker is affected by Androids battery optimization?
[OnePlus 5 Guides, News, & Discussion] Stupifier:
When you first install Tasker.... Tasker tells you to set it to Don't Optimize battery...... So my guess is it affected by that setting
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Yes, I might have been unclear. What I meant was if Tasker is set to "Optimize" in battery settings.
[OnePlus 5 Guides, News, & Discussion] gawain.j:
Hi and thanks for giving us back an ambient display feature!

I tried the improved profile by [MENTION=4928198]Arstoien[/MENTION] (https://xdaforums.com/showpost.php?p=74246643&postcount=27) but I cant' make it work.

I'm on OOS 5.0 (Oreo - OnePlus 3) , rooted with magisk latest version (14.5), I've checked all tasker settings (proximity sensor is on, task and profile settings are ok) and ambient display is on (I'm using it with lift gesture).

I've tried to set up a dummy task for testing purpose: "wait 3s, vibrate, run command (as root)" - I manually run the task, shut the display and phone vibrate after 3 seconds but ambient display is not showing, any idea?
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
No idea, as I am still on Nougat. Maybe OP changed something in their code and removed the ambient display function at all (note that the one by OP differs from the one we use here). Anyone on OOS Oreo can confirm this issue?
[OnePlus 5 Guides, News, & Discussion] gawain.j:
Thanks [MENTION=5901790]Portgas D. Ace[/MENTION], do you know if there is a way to collect the broadcasted intents ? It may allow us to know what intent OP is using and insert it to this tasker profile
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
[MENTION=2834710]gawain.j[/MENTION]

sorry, no idea, was looking for something like this myself, but haven't come across a solution yet.
[OnePlus 5 Guides, News, & Discussion] bertmag:
This has been working a treat for me, thank you! I was curious, would there be a way to tweak the profiles to emulate the always on ambient display of the Pixel 2?
[OnePlus 5 Guides, News, & Discussion] Augustin79:
Anyone know if this will work on the OP5 Oreo open beta?
[OnePlus 5 Guides, News, & Discussion] neildalal:
+1

I was thinking that too, would be awesome to have an AOD.
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
I am not sure if this is possible on Nougat right now, but maybe we will get it working on Oreo (either by some kind of workaround or natively from within OOS). There are some apps in the Play Store that claim to be working on OOS Nougat, but haven't tried any of those yet.

Someone reported that it doesn't work on Oreo OB, but if you are already on Oreo, just give it a try and report back.
[OnePlus 5 Guides, News, & Discussion] Augustin79:
I just flashed Oreo and can confirm this is not working for me now :(
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
I feared so. Seems that OP removed the code from OOS completely. But maybe we can find another workaround in the near future.
[OnePlus 5 Guides, News, & Discussion] Augustin79:
Just a thought/question: I see that when I activate Tasker from Quicksettings the "persistent notification" says "No active profiles". Is this right or something wrong in Tasker? (When entering Tasker the imported "Proximity sensor on"-profile seems active there... So I was just wondering if the profile isn't running in Tasker and that's why it's not working. What's your thought on this?
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Not sure about this, but I guess Tasker only shows a profile as currently active if it is triggered properly (so not via quick setting tile, for example) when all triggers are met. And as this profile uses the "screen is off" trigger, it won't be shown at all. But as said before, not sure about this one.

Can you add some notification (either toast message or regular notification) to your profile and trigger it manually? When you see the notification, you'll know that the profile works as intended, but the shell command isn't running properly.
[OnePlus 5 Guides, News, & Discussion] Augustin79:
I think you're right about this, however I'm not very experienced with Tasker so after testing I can't say 100% for sure.

Never thought I'd miss this "mod" as much I do, really hope someone will figure it out for Oreo (where the ambient notifications are much nicer than in Nougat as well)
[OnePlus 5 Guides, News, & Discussion] Augustin79:
Hi Arstoien! I really miss this mod since ugrading to Oreo open beta 1. Do you think this will be possible to recreate on Oreo in time, or has Oreo "killed" this altogether you think?
[OnePlus 5 Guides, News, & Discussion] Arstoien:
Unfortunatelly I don't know of a way to catch a broadcast that activates the ambient display. It's easy to recreate by turning on the screen for X seconds but that's obviously not ideal. If it's a Tasker challenge, count me in, but I'm not familiar enough with Android itself to be able to do that :(
[OnePlus 5 Guides, News, & Discussion] Augustin79:
Am I right in thinking we're in need of a shell command that triggers ambient display on Oreo in order to make a tasker profile similar to the one that was originally introduced in this thread?
[OnePlus 5 Guides, News, & Discussion] Arstoien:
Yes, that's how the original profile works. So if there is such a command, the same should be easily achievable.

PS: I should have probably made it clearer that this was the reason it did not work in Oreo, sorry.
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Haven't looked into detail, but this might be helpful. If not, maybe Quinny899 can help us out here, he was the one originally providing the intent to trigger ambient display on Nougat.

https://www.xda-developers.com/ambient-lock-screen-music-pixel-2/
[OnePlus 5 Guides, News, & Discussion] Augustin79:
Unfortunately this is the answer I got from Quinny last night when I asked him about the possibility of recreating this on OP5 Oreo: "I don't control what OnePlus do (it still works on AOSP so it's their problem) and don't even have a OnePlus device so probably not."

So for now it's not looking like we're getting any closer to a functioning shell command for this.
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Hmm, that's too bad.
[OnePlus 5 Guides, News, & Discussion] LORD.ABUMOHAND:
Any updates guys?
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Unfortunately, no.
[OnePlus 5 Guides, News, & Discussion] imna357:
Just an update, OMNI ROM 8.1 has Always on Display... Works great, only thing is NFC on that ROM is not working yet, but besides NFC everything works great.
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Okay, but I don't see how this is related to

OxygenOS

Ambient Display not working on OOS
[OnePlus 5 Guides, News, & Discussion] imna357:
Ambient Display is Working on OOS, what I mean is the Always on Display like the one I PIXEL 2
[OnePlus 5 Guides, News, & Discussion] Portgas D. Ace:
Ambient display itself, yes. But not the proximity wake feature.