yashsingh1/xdaforums huggingface dataset:
[Tasker Tips & Tricks] Humpie:
Good you found out how adb shell works! From a pc normally you type "adb shell" and enter to enter the shell and then you can send commands like "input keyevent POWER". (And you can exit with typing "exit" or pressing Ctrl+C). "adb shell YOUR_COMMAND" is just shorthand to enter shell, send the command and exit it again.

If you turn on adb over wifi with "adb tcpip 5555" and plug out the cable you need to still connect your pc to your device. In this case you type "adb connect THE_IP_OF_YOUR_PHONE:5555" and then you can adb shell however you like.

Adb plug-in does this last thing automatically, so it connects to the device using "adb connect", it enters the shell using "adb shell" and then it sends your command. After your given timeout in ms, it closes the connecting and disconnects from the device over adb.

This means that if you did your tcpip command, adb over wifi should be enabled on your device and you should be able to use adbplugin using "localhost" as IP and "5555" as port.
[Tasker Tips & Tricks] deepesh_p:
Thanks for explaining what was happening there. Unfortunately, it still didn't change the fact that I couldn't run the command locally from the phone. But, I just got pointed to the fact that Tasker now has an in-built 'Turn Off' task under Action Category > Display that does exactly what I wanted—lock the screen while still allowing me to unlock using the FPS—albeit using a task shortcut instead of a portion of the screen. It also does so in a single tap, but given that we are so used to expecting a double tap for this, I replaced a 'If/Else/End If' tutorial to make a multi-tap button, to make a single tap output a Flash message to say "Tap again to lock" and a double tap to lock the screen. Ergo, mission accomplished :D.

I'm weirdly happy that my power button broke. It made me learn something I had absolutely no idea about. It's just another reason to love Android. Even without root, it's crazy what one can do on Android. Thanks for your prompt response and kudos on the plugin :)
[Tasker Tips & Tricks] Humpie:
Oh right, that's a lot easier!

Haha I'm glad you found a solution and learned something on the way too :D. For the same reason I'll always choose android myself too, it's just great! I'm one of those guys who does root their phone however, so I can do even more :)
[Tasker Tips & Tricks] Humpie:
• 6.2

- Thanks to those who do not understand that this is a Tasker Plugin. Because of you I got the idea you should be able to test the plugin without Tasker, so now you can!

- Let's see if this takes care of the 1 star reviews haha
[Tasker Tips & Tricks] gggg:
Hi THX for this great idea ! I am on S10 with Pie

6.2. it works from within your app.

1 In tasker the command is only executed when I reenter the tasker action and go into the config/edit screen... after about 1s on the edit screen .. the screen goes dark from the "input keyevent POWER"

2 After reboot it does not work at all (as long as one does not reenter adb tcpip 5555 on PC)

What am I doing wrong ?
[Tasker Tips & Tricks] Humpie:
Great to hear you like it!

It's strange to see the action only being executed after opening the adb shell app, I can't reproduce this from my end (as it works fine for me). But can you turn off any battery saving options for adb shell? (Just to be sure) and press the checkmark in the top of the Tasker app to save your changes.

Adb over network always disables after a reboot. This is known Android behavior and sadly I cannot help it. The only way to do it is with a custom rom or root access.
[Tasker Tips & Tricks] shaggydiamond:
Can someone help me?

Hi,

I'm having trouble running adb shell commands locally. I have filled in 'localhost' and '5555' but I cannot issue some commands. If I use adb on my pc: adb connect IP:5555 then I can issue any command I want and it just works. This means that adb tcpip is running at IP:5555. I can also do: input keyevent POWER and execute that locally succesfully using adb shell tasker plugin! Can someone take a look at my information and see what I'm doing wrong?

On my Nvidia shield tv tasker the setting network debugging is enabled and i see two authorizations. This is probably my pc and the adb shell plugin from when i first installed the plugin.

I have:

A1: ADB Shell Plugin, configuration: localhost:5555 adb shell am force-stop <com.package>

There is no error in A1. A1 gets a green light saying it fired.

The %output is:

adb shell am force-stop com.package,^@fosterer:/ $

adb shell am force-stop com.package,/system/bin/sh: adb: not found, 127|foster:/ $
[Tasker Tips & Tricks] Humpie:
You should leave out "adb shell" from your commands.
[Tasker Tips & Tricks] shaggydiamond:
:p ahhh now I see. How on earth didn't i see that
[Tasker Tips & Tricks] chunshuai:
"Remote Adb Shell" gets killed in the background and unable to be waken by tasker

When this app is in background, after a while it will be killed on one of my device, note yhat this still happens when I lock it onthe background and disable battery optimize for it, it still gets killed. And when it gets killed, whem I use tasker plugin action, it won't recieve the action and won't react.

Could you, author, make a little bit more aggressibeethod to keep this app at background? Or, add an intent way to pass the parameters, so that tasker can send an intent to this app to perform shell codes and also wake up this app if necessary.
[Tasker Tips & Tricks] Humpie:
You just described exactly what Tasker does, it sends an Intent to the plugin's broadcast receiver. Your phone should start the plugin if it receives a command, it's not running in the background normally, only when executing the command.

I could however maybe make it run in the background and use Tasker's relatively new Service system. I used that before for my Hotword plugin (Although, I use that to send events to Tasker, not to receive actions now that I think of it... Maybe it works for both, I'd have to check).

I don't have much time currently however, with other apps, university etc, so I'm putting it on my to do list.

Of course anyone with the expertise could create a pull request on GitHub as the plugin is open source ;).
[Tasker Tips & Tricks] Humpie:
• 6.3

- Plugin is now way faster using Tasker's intent service system! [MENTION=7002977]chunshuai[/MENTION] :)

- Added donation option

• 6.2

- Thanks to those who do not understand that this is a Tasker Plugin. Because of you I got the idea you should be able to test the plugin without Tasker, so now you can!

- Let's see if this takes care of the 1 star reviews haha
[Tasker Tips & Tricks] nomobytes:
Using your plugin to activate mouseToggle on fire tv devices that won't start up following a device restart -

---

Specifically, on Fire TV Edition TVs (Insignia & Toshiba) and Fire TV 3rd generation (Pendant), the mousetoggle app by fluxii - [https://play.google.com/store/apps/details?id=com.fluxii.android.mousetoggleforfiretv] will hang on device startup and requires a smartphone to complete . This command obviates the need for an external device to complete the activation:

"/data/local/tmp/.mousetoggle/nmouseg start &"

--

And on mouse pointer freezes (after heavy use) you can stop mouse toggle:

"/data/local/tmp/.mousetoggle/nmouseg stop"

---

Simply create two actions using your plugin:

mouseStart Configuration 127.0.0.1:5555 /data/local/tmp/.mousetoggle/nmouseg start & and,

mouseStop Configuration 127.0.0.1:5555 /data/local/tmp/.mousetoggle/nmouseg stop

---Roll mouseStart into a Device Boot profile and mousetoggle will activate on startup without any user intervention.

thanx
[Tasker Tips & Tricks] starbase64:
Hi, possible to activate tcpip 5555 without pc, directly on phone?
[Tasker Tips & Tricks] Humpie:
Only android 11 and some phone manufacturers can do that. (Also, the wireless adb function on android 11 currently is incompatible due to new security stuff)

If you don't have a pc but you do have another phone, tablet, chromebook etc. you can give bit.ly/adboverwifi a try.
[Tasker Tips & Tricks] daver:
hi

Anyway of using this plugin to delete the mbcache build up on firestick along with tasker

@ the moment I can clear the cache by typing

pm clear com.amazon.tv.launcher from my pc using adb shell on adblink.

If we can run it from my pc surely may be possible to do it local on device..

I have tried your plugin test feature but does not work.. I can get it to work locally using another app called remote adb but this can not work with tasker

My device is Not Rooted

Any help please
[Tasker Tips & Tricks] Humpie:
Tasker has adb wifi built in now, you can try that if you like!
[Tasker Tips & Tricks] chris247:
Hi, why is ADB Shell tasker plugin not available in Google Play Store France ? (I have a S20 on Android 13)

I have "This app is not available for your device"

I know it is available in Asia (tested with 3 persons, they also have a Samsung in Android 13).

Is it available in the US ?
[Tasker Tips & Tricks] Humpie:
@chris247 no clue, I haven't updated the app since Tasker gained ADB wifi capabilities. There are countless apk hosting websites that still have the apk though.
[OnePlus 2 Android Development] gtpitch:
Who's back? We're back.​

CarbonROM is an aftermarket firmware based on the Android Open Source Project. We are dedicated to fast, stable, and feature-filled roms, honesty and communication with our users, and openness with our code. We like frequent builds, with the very latest and greatest hardware support and fixes. We strive to not only provide you with the best rom we can build, but also to give back to the Android community and our fellow developers. For us, this is about creating something we can be proud of and hope you will enjoy.

Please feel free to look, build, and use our code at CarbonROM's GitHub... and at CarbonROM Gerrit.

Disclaimer:

While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device, family, pets, or perception of reality. We ask that you do your part to know your device and know how to recover from problems before you flash! If you have questions, ask your fellow users or ask us in #teamcarbon on freenode IRC.

Support:

We spend an astonishing amount of time developing this software. We can't spend much time on XDA as a result, so if you need support, please try the following:

1) Search. Search, search, search. Yes, you. I don't care how unique or important your question is, it's very likely someone has adressed it already. Especially if you're even close to new at this.

2) Read our FAQ, which can be found on our website. Carbon FAQ

3) Ask a question in your device forum. Someone will no doubt try to help you. Warning: this help may come in the form of telling you it's a dumb question that has been asked before. See step 1 - such are the perils of asking questions when you haven't done the research yourself. Android is about helping yourself.

4) Ask a question on our IRC channel. Connect to #teamcarbon on irc.freenode.net or click here. You'll find several other Carbon fans and usually one or more devs as well. Please be polite.

We only support Dynamic GApps, reports on force closes with any other packages will be ignored.

Download Here - Nougat Builds

GitHub

Gerrit

Kernel source

Remember, every penny you send to us goes right back into the rom. It's used for hardware, server costs, etc - all the things that help us make Carbon better with every release. Your support means the world to us! If you've enjoyed Carbon, please consider a donation toward this goal. Thank you, and we hope you continue to enjoy Carbon!

XDA:DevDB Information

CarbonROM - OnePlus2, ROM for the OnePlus 2

Contributors

gtpitch, CarbonROM

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.10.x

Based On: AOSP

Version Information

Status: Stable

Created 2017-02-23

Last Updated 2018-03-17
[OnePlus 2 Android Development] gtpitch:
The reason this is unofficial for now is that some of the features included in this build are from our gerrit and haven't been pushed into source. This device will go official on CarbonROM shortly.

Thank you to [MENTION=5284595]kwoktopus[/MENTION] and [MENTION=3816568]Myself5[/MENTION] for all their help

What doesn't work?

you tell me

anything else - you let me know with logs if you can
[OnePlus 2 Android Development] Yousvel:
Welcome back!

Glad to see carbon for oneplus2. Thanks for your hard work.

For your information, [MENTION=7372752]gtpitch[/MENTION] download link is not working.
[OnePlus 2 Android Development] adinkwok:
Link is up and running!
[OnePlus 2 Android Development] Yousvel:
Have a look at this
[OnePlus 2 Android Development] adinkwok:
Try re-clicking the download link
[OnePlus 2 Android Development] _Kosmas_:
This is the link in OP:

https://www.androidfilehost.com/?fid=529152257862705340"

You have to delete "%22" - that's all
[OnePlus 2 Android Development] Yousvel:
Working link

https://www.androidfilehost.com/?fid=529152257862705340

Edit:eek:P's link is working now.
[OnePlus 2 Android Development] Dranoel18:
Thanks for a new rom for our Oneplus 2! Does this rom have OMS if I may ask?
[OnePlus 2 Android Development] Yousvel:
Screenshots

Here are some screenshots for those wondering
[OnePlus 2 Android Development] gtpitch:
Yep.
[OnePlus 2 Android Development] gtpitch:
By the way I'll be posting a new build tonight with the fixes for the sim settings crash.

Once official this will go to weekly
[OnePlus 2 Android Development] Dranoel18:
Nice :) thanks for the quick answer!
[OnePlus 2 Android Development] Yousvel:
I have using this for about three hours now. All I can say is:"That's what a rom needs to be"!
[OnePlus 2 Android Development] Prinjal Dave:
Onscreen navigation bar is not working....

There is no option to swap hardware keys...
[OnePlus 2 Android Development] megatpanji:
please read before ask..
[OnePlus 2 Android Development] ali1777up:
Hi new DEV man "o) For now, all what i can write is.. Glad to see Carbon Build(s) for us AGAIN HERE on this XDA world "o)

Realy, thanks... "o)
[OnePlus 2 Android Development] bindaasathar:
Hello [MENTION=7372752]gtpitch[/MENTION],

Thanks a lot for the wonderful work.

Glad to see OP2 getting the dev community support with another great ROM.

Cheers!

For others running this rom,

Can this be used as daily driver? Since this is the only phone I've got.

Does VoLTE work?

Thanks
[OnePlus 2 Android Development] mousse04:
Some initial feedbacks

No way to invert software button

There is no menu for the one plus commit (to define the notification slider)

Double tape to wake option is present but need kernel auditor to work
[OnePlus 2 Android Development] gtpitch:
New build is up https://www.androidfilehost.com/?fid=457095661767139920

The enable navigation bar option works now and is moved to advanced options under buttons.

The sim settings crash and Google assistant crash are fixed.

Next up will be the ability to swap the hardware buttons, define longpress options on software keys and a menu to control and reverse slider actions.
[OnePlus 2 Android Development] DeathCzar:
Feature Request

Also, Someone asked for this before but couldn't get the phrasing right for you to understand, desperately need the option to turn off display/ lock device for hardware keys (Like the one in Oxyegn OS, long press or double tap options)

Also, this is my first Custom ROM after a long time, and your ROM is super awesome! Stable, and great battery life. You're doing awesome work.

This one literally brought me back to custom ROMs after almost a year in Stock wilderness.

EDIT: Also, if possible, option to re-position the data traffic indicators to the left. it gets overlapped when center clock is enabled. If i remember right, Reserruction Remix has it's implementation spot on(in case you need an example).
[OnePlus 2 Android Development] Kaffer94:
Love the rom, rock stable and buttery smooth. Only downside (for me) is the phone heats up alot, battery life seems to decrease with evry new nightly. Tried different kernels, fixed the heatups but battery life is even less. Maybe wiping the cache will work?
[OnePlus 2 Android Development] gtpitch:
It's possible. I don't officially support custom kernels though so I can't really fix that.

Stock kernel shouldn't have those issues so long as you're not tweaking it too much. Gotta remember the processor in these phones is like blowtorch sometimes.
[OnePlus 2 Android Development] Kaffer94:
Well, i did not tweak the kernel at all, so that should not be the problem. i think i will try a few other kernels and see what works best!

Thanks for the reply, keep up your work, i'm loving it!
[OnePlus 2 Android Development] gtpitch:
I'll look at the data indicators thing and see what we can do to move them around.

The screen off action will be part of the new hardware buttons implementation.
[OnePlus 2 Android Development] asingha94:
This is the best rom available for this mobile.Love this rom. So much stable.
[OnePlus 2 Android Development] DeathCzar:
Thank a lot.

Also, about the data indicators, it might take some work. Because during normal use, indicators to the left work great, but on the lockscreen, there's the carrier label but no center clock, so they can be moved to their original postion, to avoid overlap.

Also, another workaround could be to allow size of text to be reduced to avoid overlap, and/or the Roaming Indicator to be integrated into signal cluster, instead of a separate "R" Beside the signal indicator that eats up space and causes overlap.
[OnePlus 2 Android Development] tema84:
Hi guys,

How to install this room?

My OPT is running OxygenOs 3.5.8.

Stock kernell and recovery to.

Regards
[OnePlus 2 Android Development] Gratak:
tema84, first do this: https://www.xda-developers.com/128865-2/

Then copy ROM and Gaaps on phone, boot in to recovery, full wipe and install rom and gaaps. Reboot, wait few minutes, enjoy :)

Rom looks great, works very smooth but i have a problem with network signal strenght. I live in big city and on stock rom i have full bars for both cards (LTE enabled). On Carbon the card that is not currently used for network traffic (and thus working in 2G) has full coverage and the second one with LTE enabled looses signal. I noticed that there are also some problems with voice connection on main card.

Switching cards has the same effect.

Any ideas?
[OnePlus 2 Android Development] parasthakur37:
Does this rom has the option to set Vibrate as a notification slider state?
[OnePlus 2 Android Development] Nimrodz91:
Yes! That's one of my most needed features.
[OnePlus 2 Android Development] gtpitch:
New weekly is up. Not many changes in this one but bigger things in the works for next week.

Added toggle to launcher settings to remove search bar
[OnePlus 2 Android Development] parasthakur37:
[MENTION=7372752]gtpitch[/MENTION] I was wondering if it was possible for you to add AppsOps in the next build?

I'm on the current build and its solid, thanks. :)
[OnePlus 2 Android Development] gtpitch:
I don't know about next weekly but this will probably come at some point. Lots of requests. Will look into it.
[OnePlus 2 Android Development] sid.8491:
will any of below mentioned features will be there in next build? sorry, waiting for these eagerly.

long press nav bar keys (back key) to lock the phone

control vibration intensity

quick unlock (where we don't have to press on tick mark if the pin is correct, the phone unlocks)
[OnePlus 2 Android Development] gtpitch:
Yes long press to turn screen off and kill app will be options in hardware buttons options next build.

Vibration intensity is coming. Probably not in the next weekly. It can be controlled with root and kernel auditor for now though (I do this)

Can look into this one. Probably not too hard to implement.
[OnePlus 2 Android Development] sid.8491:
i have root and i installed kernel auditor, but did not understand how to do this. :(

do we have to change any build.prop line?
[OnePlus 2 Android Development] parasthakur37:
A bit of help from my side :)

http://gerrit.dirtyunicorns.com/#/q/topic:"App+Ops"+(status:open+OR+status:merged)
[OnePlus 2 Android Development] gtpitch:
I don't have it installed right now but I'll send you a screenshot but it's an option. No need to modify build.prop
[OnePlus 2 Android Development] asingha94:
What an wonderful rom...!Best OP2 rom out there
[OnePlus 2 Android Development] parasthakur37:
Bug report and a probable fix : Sometimes when I call place a volte call it ends in a second, so I have to turn on and off the airplane mode and then place it again.

Talked to [MENTION=7681940]Subham[/MENTION] and he said it happens if the HD symbol is removed and that's true for this rom as it has been already removed.

Maybe you could put it back in?
[OnePlus 2 Android Development] gtpitch:
We never actually took it out. It was never there to begin with because of the AOSP base that we use.

It would be helpful if you get a log of it.
[OnePlus 2 Android Development] parasthakur37:
Deleted
[OnePlus 2 Android Development] parasthakur37:
Attached it.

Also [MENTION=7681940]Subham[/MENTION] could you help out here?
[OnePlus 2 Android Development] rambird:
Hi, downloaded today's weekly: nothing to report so far.

Any idea what is new in this one? Could we users not start a list for new discoveries on this rom every week?

Thanks for your work, it is a beautiful and stable rom! Better than the OP Nougat update that never was (and never will be officially now) for this device!
[OnePlus 2 Android Development] Prinjal Dave:
Does this rom support ota?
[OnePlus 2 Android Development] Myself5:
Are you looking for a changelog :P?

https://carbonrom.org/changelog

Not yet. The OTA update system we ship at the moment is broken, but we're working on bringing back our former glorious CarbonDelta updater :)
[OnePlus 2 Android Development] gtpitch:
Will take a look. Thanks for logs
[OnePlus 2 Android Development] parasthakur37:
No problem at all, I think it's an issue with the vendor.
[OnePlus 2 Android Development] luketanti:
Issues and question

Hi, I have been using this ROM for a week now and it is very stable and great battery life.

The only two issues I have found are these:

WiFi speed is slower than the stock ROM. I am connecting to a 5GHz AP and with the stock ROM I used to get 100Mbps, now I only get 17Mbps.

The second issue has to do with Telegram messenger app. When I place a call, the other side can not hear me but I can.

Small question: If I install the weekly via TWRP will I loose my installed apps and settings or all will remain the same?

Thank you! :)
[OnePlus 2 Android Development] gtpitch:
Hmm I'm not able to reproduce the wifi issue. I get speeds I am expecting across multiple ROMs.

So long as you're on a weekly build now, you can flash the most recent weekly on top without losing anything. Of course I'd always recommend a backup first just in case.
[OnePlus 2 Android Development] luketanti:
Thanks. will try it now!
[OnePlus 2 Android Development] Prinjal Dave:
Can we expect volte icon in status bar in next weekly? [MENTION=7372752]gtpitch[/MENTION]
[OnePlus 2 Android Development] parasthakur37:
HD icon is also missing right?

Are you using jio lte?
[OnePlus 2 Android Development] Prinjal Dave:
Yes
[OnePlus 2 Android Development] parasthakur37:
And there's no issue in making calls each time with jio?
[OnePlus 2 Android Development] Myself5:
No.

That incredibly ugly icon will not be added. There is no use fot it. Its just an indicator VoLTE is connected. It does NOT help any kind of coverage...
[OnePlus 2 Android Development] Prinjal Dave:
I know it does not help in coverage... But its just helps to notify whether volte is enabled or not...

Simultaneously a toggle switch can be given in status bar icons... Who doesn't like that can just switch it off.....

---------- Post added at 09:37 AM ---------- Previous post was at 09:37 AM ----------

No issues here
[OnePlus 2 Android Development] Bingi46:
Feature Request :

Expanded desktop [MENTION=7372752]gtpitch[/MENTION] ik this is too much to ask but pls pls consider this feature ,I miss it so freakin bad and looking at my screen with status bar not immsered luks too conjusted !Thanks a lot..:)