yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8+ Questions & Answers] horatiopositronic:
That depends on which state you're in. In Virginia, for example, it's $181.
[Samsung Galaxy S8+ Questions & Answers] xile6:
Yea thats why its an est. Im in Tx and it 8.25% tax

Funny thing tho i order mines and then my wifes. Hers was $1 lower. No clue why.
[Samsung Galaxy S8+ Questions & Answers] ac16313:
For me in Arizona it was $78 tax. With AT&T all I had to pay was the tax zero down it was pretty refreshing not having a down payment like on T-Mobile.
[Samsung Galaxy S8+ Questions & Answers] Sonin66:
193 last sun. Surprised mee it was on the total of the phone!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] drtechie:
Moto G5 Plus Toolkit

This is a desktop app that allows you to unlock the bootloader and root a Motorola G5 Plus smartphone with a few button clicks. It's built with Electron and hence will work on Windows, macOS and Linux operating systems.

The toolkit follows the unlocking and rooting procedure for Motorola G5 Plus mentioned here.

Features

* No need of installing ADB and Fastboot binaries

* Works on Windows , Linux, and macOS

* Get bootloader unlock data from device

* Send bootloader unique key to device for unlocking

* Flash TWRP Recovery

* Flash SuperSU

* Commonly used ADB and Fastboot commands

* Bundled drivers for Windows

* Create and Restore backups with button clicks

* Flash any TWRP compatible ZIP

* Flash stock firmware / un-brick

[IMG="Screenshot"]http://i.imgur.com/teEZPG1.png[/IMG]

About the Project

I bought this phone two weeks back and as a web developer, had this idea of combining JavaScript and device communication. The project is built on Electron. The basic UI is adapted from Electron API Demos.

The source is available on Github.

Porting it to another device

Porting the toolkit to another device is easy. Change a few strings, variables and necessary files like recovery image and you are done. After all every phone can communicate with your computer with ADB or Fastboot.

Credits

This project bundles the work of many other devs.

*@vache for potter TWRP, boot.img and WiFi patch.

*@chainfire for SuperSU.

Downloads

Moto.G5.Toolkit-win32-ia32.zip (92.4MB)

Moto.G5.Toolkit-darwin-x64.zip (98MB)

Moto.G5.Toolkit-linux-x64.zip (87.3MB)

Issues

1. TWRP backups saved to computer might fail to restore. The ones saved to phone work fine.

2. TWRP gets stuck on logo if booted instead of flashed.

If the toolkit helped you, don't forget to click the thanks button!

Buy me lager!

Thanks to all lagers received :)

- Curtis Bullock

XDA:DevDB Information

Moto G5 Plus Toolkit, Tool/Utility for the Moto G5 Plus

Contributors

drtechie

Source Code: https://github.com/drtechie/moto-g5p-toolkit

Version Information

Status: Stable

Current Stable Version: 1.1.0

Stable Release Date: 2017-06-03

Created 2017-05-11

Last Updated 2017-06-03
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] drtechie:
Mine
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] zeft64:
God I wish this was out when I did things manually ?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Dahenjo:
But how are the newbies supposed to brick their phones now?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] atrac17:
Day late, dollar short... Seriously, nice toolkit. Will there be an update soon now that [MENTION=1829889]vache[/MENTION] just released a new TWRP that supports sd mount?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] drtechie:
Its my code. You never know. :D

Done. Links Updated. :) Thanks for the heads up!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] manikchathli:
#reserved
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
You'll learn the most by doing things manually! Being spoon fed is easy, but not always necessarily the safest way. (someone might give you 'bad food'). I always like to know what command I give!

Nevertheless: nice scripts!

Send from my Motorola Moto G5 Plus (XT1685) using Tapatalk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Synkr0:
Does it work on the normal Moto G5, or just on the Plus version?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] drtechie:
The toolkit and the bundled files are for Moto G5 Plus.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] cpthornman:
Agreed. But after a while having to not go through all the steps is pretty nice.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rubiicon59:
Such as a LG V20?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] dpryor88:
Ouch. I just got rid of my v20 for this g5 plus. That v20 is a mess of a phone, especially when it comes to rooting. Good luck!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rubiicon59:
Haha I think we need more than good luck mate

But thanks
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] andynx1:
Hi all,

In case anybody is interested, I just used this on my (un-messed with) phone. Mine was a UK, 32/2 gig, dual sim moto 5-plus. Worked perfectly, flawlessly, fantastically! It just worked... Used on Ubuntu linux.

Thanks DrTechie, you're a star dev.

I had been worried about installing TRWP after reading other threads, but this works. And because it's a gui with scripts, there aren't any real instructions to follow - that you could get wrong. Very well designed.

For what it's worth, I chose not to install su. This means it's not truly rooted, and such things as Android Pay should still work. But, with the bootloader unlocked, and a good functioning custom recovery - I can flash any rom I need. And, I can flash su anytime.

:) Thanks!!!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] drtechie:
Porting to another device

1. Clone the git repo

https://github.com/drtechie/moto-g5p-toolkit

2. You will need NodeJS installed and build tools.

Refer to https://electron.atom.io/docs/ build env instructions

Setting up the build enviroment is easiest in Linux.

macOS will need XCode tools and Windows will need Visual Studio etc.

Do npm install to get all Node dependencies.

Build Electron-usb (This checks for usb attach-detach events)

3. In the file main.js L19 you will see global.strings.deviceName = 'potter'

Change 'potter' to your device name.

4. Fire up the app with 'npm start' or 'gulp'

Subsequent ADB and Fastboot requests will check for the new device name.

Hopefully your device should be detected.

5. Then the files - TWRP, SuperSU etc

check main-process/common/files.js

Change the name of the twrp recovery to your new file name twrp-<device>.img or whatever.

Copy the same to files folder.

Now try flashing the recovery.

Now you get the idea, I hope.

6. There are main-process/common/adb.js and fastboot.js which carry out core ADB and Fastboot commands.

File names for SuperSU will have to be changed if you change them.

Some methods are named checkMoto etc. You can change them if you feel so.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] drtechie:
Glad I could help.

I have nothing to do with TWRP. I just copy pasted the file. :) It was developed by [MENTION=1829889]vache[/MENTION].
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] rubiicon59:
[MENTION=4968033]drtechie[/MENTION] re: post #16

Thanks for your time, it's really appreciated.

I'm not a Dev by any means, but I'll have a look through the info you've provided. Maybe, just maybe, I'll be able to understand how to accomplish it.

Wish me luck :D
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] kkn_13:
Is there any way to avoid unlocking bootloader via Moto website??
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] milav:
what is the purpose of flashing custom bootloader? i dont seem to get it. i am yet to receive my mobile but still curiosity. anyone who has experience please elaborate along with hurdles new one might face like me.

thank you
[Samsung Galaxy S8 Questions and Answers] samitro:
Hi, whats the latest security patch level? I just got my phone and it is showing after the firmware update 1-Apr-2017. My company is not permitting me to access exchange due to old security patch level. What is the latest version and is there a way to force it or install it somehow? Thanks.
[Samsung Galaxy S8 Questions and Answers] AW76:
April 1st is the current patch level.
[Samsung Galaxy S8 Questions and Answers] samitro:
thanks for the response, this will be a problem for me then as our admins will require the patch to be installed in a week or 2 after being released by Google.
[Samsung Galaxy S8 Questions and Answers] peachpuff:
Your admins seem a bit clueless when it comes to updates on android phones, let alone non-pixel phones.
[Samsung Galaxy S8 Questions and Answers] Skander1998:
In most cases, the patch level will be 15 to 20 days behind on the flagships in unlocked regions with no carrier bs.

The gap widens as major upgrades loom in (ex: from 6.0 to 7.0).

The s7 was left on an old security patch for a few months until 7.0 came out with the latest ones.

Oh, and as the device becomes older, updates switch to 4 month cycles, check the samsung security website for more details on what devices are on what release cycles. Currently, this is anything older than the S6.

EDIT: Link: http://security.samsungmobile.com/introsm.html
[Samsung Galaxy S8 Questions and Answers] samitro:
Not so good :( I was looking forward to move away from my iPhone. Thanks anyway.
[Samsung Galaxy S8 Questions and Answers] sabaatworld:
I purchased an S8 and found out that the security patch is outdated and is not supported by my employer :(
[Samsung Galaxy S8 Questions and Answers] JaeMelo:
OP are you using Microsoft Intunes/Company Portal to handle your Exchange account?!
[Samsung Galaxy S8 Questions and Answers] Skander1998:
May release is already out since 25th~ of May in some (if not most by now) markets, run an update.
[Samsung Galaxy S8 Questions and Answers] sabaatworld:
No, my company required Airwatch MDM to access corporate email.

My S8 is the USA unlocked version. No update till now. (Already checked)
[Samsung Galaxy S8 Questions and Answers] Skander1998:
Can you please screenshot your settings -> software info page?
[Samsung Galaxy S8 Questions and Answers] peachpuff:
Your employer is an idiot if he thinks all android phones will be on the latest security patch, only the pixel is updated monthly.
[Samsung Galaxy S8 Questions and Answers] sabaatworld:
Here you go
[Samsung Galaxy S8 Questions and Answers] Ripley30:
My employer doesn't require I use any specific phone, they require that the phone I use on their network be patched with the latest OS Security patch (whether Android, Apple or Microsoft). That doesn't make them an idiot, it makes them conscious about data-loss/breaches. As a consumer of technology you REALLY want that.

More employers are requiring that mobile phones have monthly security patches applied. So far only Apple and Google fit the bill. Google has even cranked up the price of their mediocre flagship because they KNOW this. All the other mobile manufacturers are just handing the business market to Apple and Google by being blind to this.

And I can verify what the OP said. I just purchased an Unlocked S8+ and the security patch level is April 1, so it's 2 months behind the Samsung promised "montly security patching".
[Samsung Galaxy S8 Questions and Answers] mbashat:
Received a firmware update today plus security patch for June
[Samsung Galaxy S8 Questions and Answers] mbashat:
Now you can easily hide the nav bar for immersive experience. Very nice addition.
[Samsung Galaxy S8 Questions and Answers] daleski75:
It's a very welcome edition and saves messing around with adb commands to get the full immersive experience, shame though that you cannot enable or disable it yet on a per app basis.
[Samsung Galaxy S8 Questions and Answers] mbashat:
I have checked and the good news is that you do have the option to select which apps run in full screen mode. Not all apps are supported though.

To do this select Settings>Display>Full Screen Apps.
[Samsung Galaxy S8 Questions and Answers] maik005:
Thats something else and only means the app is filled to the 18.5:9 screen ratio. That was there since launch of the S8(+)
[Samsung Galaxy S8 Questions and Answers] sousa_2005:
my last was april... shame Samsung...
[Samsung Galaxy S8 Questions and Answers] mbashat:
It still works as an option in a round about way. If you choose to hide your nav bar but for a certain app you choose to deactivate full screen from Full Screen Apps, then for this app the nav bar will not be hidden.

Try it out.
[Samsung Galaxy S8 Questions and Answers] maik005:
Yes you are right.... Just noticed the same.. But then the app is not using the full screen...
[Samsung Galaxy S8 Questions and Answers] zahedandrd:
Hello XDA Members

I tried to flash a stock rom into this s8 plus retail demo model# G955XU through ODIN 3.12.3 using stock firmware from sammobile. I get a PASS from ODIN but when the phone reboots and tries to install the files it goes upto 32% then restarts then this message comes up:

"Security Error: This phone has been flashed with unauthorized software & is locked. Call your mobile operator for additional support. Please note that repair/return for this issue may have additional cost"

I tried 3 different firmware from BELL, Rogers & Telus G955W Canadian carriers but no result. Also when I unzip the firmware files from Sammobile I get 5 files BL. Ap. CP. CSC_OYA & Home_CSC_OYA but in odin there are only 4 slots. I tried both home and CSC file into the CSC slot but no results. Your help will be greatly appreciated
[Samsung Galaxy S8 Questions and Answers] Success100:
Why do you want demo mode? It's literally a resource hog and can only be removed with hard reset. If you want the demo videos that come preloaded, you can download them from the Samsung retail website
[Samsung Galaxy S8 Questions and Answers] Tiges:
Read his post again[emoji17]
[Samsung Galaxy S8 Questions and Answers] singularoctopi:
Is it just me, or does it sound like someone stole a demo phone.....?
[Samsung Galaxy S8 Questions and Answers] babyshanks:
Thought the same thing, 1st post, joined today, asking to flash a demo phone. I'm sure theres ways of getting a demo phone legitimately, i just haven't heard of one this early in a phones lifecycle.
[Samsung Galaxy S8 Questions and Answers] Deleted member 2870764:
kind of wondering the same. hopefully that's not the case, but yeah, kind of comes off that way with the little information given.
[Samsung Galaxy S8 Questions and Answers] 2nIce:
Hello

Hello there

I am facing the same problem, flashed with Odin and got and error message: The phone has been flashed with unauthorized software & is Locked. Call your mobile operator for additional support.

Any way around this problem?

Do let me know guys
[Samsung Galaxy S8 Questions and Answers] LuMe96:
In Europe for the S6 and S7 the demo units do not have the same hardware as the retail products for cost efficiency. There is therefore no way to get them to work with a retail software version.

I have not had any feedback as to the S8 but chances are that it is the same.

Shops here often get them free of charge and some do sell them to make some extra money.

Envoyé de mon SM-G950F en utilisant Tapatalk
[Samsung Galaxy S8 Questions and Answers] xeathpk:
1. Sounds like a stolen phone?

2. Hardware may be, and likely is, different as another user pointed out.

3. Even if you got it to work you couldn't make phone calls or use mobile data as the IMEI will likely be blocked/blacklisted by all the telcos.
[Samsung Galaxy S8 Questions and Answers] SATZDAS:
Hey there guy I got a S8 SM-G950X LDU . Anybody knows how to flash it with odin?
[Samsung Galaxy S8 Questions and Answers] Vatsal:
This just doesnt seem right.

It is likely a stolen phone or something else.

I am closing thread for now.

Regards

Vatsal,

Forum Moderator.
[Coolpad Cool1 Questions & Answers] Wreckktangle:
I recently tried flashing my phone cool pad cool1 as i was desperate to get my ota updates, when i try to flash it using YDGP tool is comes up with a error "check CID fail","bootloader is old" and several other errors that i saw in the dump file saved, so i tried updating all my driver's , but still it didn't work, then i tried a other trick of coverting my cpd file so that i can flash it through sp flash, but it was unsuccessful as i didn't find a .txt scatter file in download folder of YDGP tool, now i desperate,tired and i took it up as challenge to flash my phone at any rate

Coolpad cool 1

Rooted

Twrp installed

I can provide all the dump files and error screenshot

I am badly desperate , it would be great if someone can help me please /thanks in advance/i am new here, expect a and soon a possible
[Coolpad Cool1 Questions & Answers] raavanan:
In coolpad forums u can find a full stock rom that can be flashed using twrp. link
[Coolpad Cool1 Questions & Answers] Wreckktangle:
Flashing it using twrp!

Is it equivalent to flashing my phone to its original manufacturer's state? I ll elaborate my problem onve again i want to have my ota update and in order to do that i have to flash my phone and thats where the problem pops up,i cannot flash my phone using pc ,i am having a error ,so will flashing the above rom with twrp help solve my problem and is the above rom a custom rom??
[Coolpad Cool1 Questions & Answers] mymosi@12:
hi

i have a problem during updating cool 1

after reboot it show error (failed update bcz corrupted ) it can not see the file update

any help??????
[Coolpad Cool1 Questions & Answers] subhanguru:
open techamu.com

open this webiste
[Coolpad Cool1 Questions & Answers] mymosi@12:
hi

i installed custom recovery to cool 1 c 103

after it finished model number changed to 106

what i have to do?????
[Samsung Galaxy S8 Questions and Answers] x.0ni.x:
Does anyone know of or is using a semi transparent,blurred,or fully transparent theme including the pulldown toggles? I'm just curious if there's one out there I'm not finding on the Samsung theme store. Thanks in advanced.
[Samsung Galaxy S8 Questions and Answers] Akram.:
Looking for same. Did u find any?
[Samsung Galaxy S8 Questions and Answers] Yorgo1982:
I can't believe I can find nonesens color of themes red and pink ( what a mix ) and other no taste in some themes. But I can't find blur pull-down or transparent :/ and I'm on Snapdragon so I don't have a root to create freely a theme.

I hope someone will make one.
[Samsung Galaxy S8 Questions and Answers] razrlover:
Yes nothing yet i have been looking for basic pixel, material colors with transparent and blur but not really all there yet.

Apparently not so easy on this device
[Samsung Gear S3] PJtrick4020:
Hey guys! Quick Newb question. :confused: I was just curious if there is any method of using the gear s3 to access system files on a phone to modified permissions? Thanks :)
[OnePlus 2 Q&A, Help & Troubleshooting] barni090:
I've installed the newest Lineage OS, but I want to turn of "Double Tab to wake". But after one day, it automatically turned on again, but without showing it in the settings (showed that it's turned of). Now I have the question if there is any possibility to turn it off?

Thanks,

Philipp
[OnePlus 2 Q&A, Help & Troubleshooting] NeoVsk:
The setting does not stick after the reboot. You have to enable it and disable it again. Then it should be really disabled until the next reboot.
[OnePlus 2 Q&A, Help & Troubleshooting] barni090:
Okay, thank you. I hope they will fix it soon
[OnePlus 2 Q&A, Help & Troubleshooting] Yousvel:
I think it may be because you flashed a custom kernel.

Some custom kernels break dt2w
[OnePlus 2 Q&A, Help & Troubleshooting] B!Gguy:
Until they fix this you can use a script to disable it. Use init.d or any automate app to run the script at boot. It'll turn off the tap2wake.

#!/system/bin/sh

tap2wake=/proc/touchpanel/double_tap

echo "0" > $tap2wake
[OnePlus 2 Q&A, Help & Troubleshooting] barni090:
could you maybe tell me how to use this command? Sorry for that, but I am new in that and don't know what to do
[OnePlus 2 Q&A, Help & Troubleshooting] B!Gguy:
Since you're new to this I'll give you the easiest way to do this.

1. Download the script from the link given below. (or use my last post's code to make a script yourself)

2. Put it in a folder in sdcard.

3. Install 'init.d scripts support' app from play store.

4. Open the app & tick 'try to aquire root privileges'. Grant root access.

5. Tick 'run scripts at boot time' option.

6. Set 'execution delay' to a desired time.

7. Select the folder you put the downloaded file.

Tap2wake disable script - http://www.mediafire.com/file/r4h5z8p1ez21jpi/tap2wakedis.sh

Done. Now every time you reboot, app will execute the scripts in the selected folder which contains our script to disable double tap2wake.

You can always execute the script using ini.d, su.d, tasker, macrodroid etc.
[OnePlus 2 Q&A, Help & Troubleshooting] barni090:
I have some problems with activating it, I've put the error message as attachment maybe you could look over it.
[OnePlus 2 Q&A, Help & Troubleshooting] B!Gguy:
I forgot to change the line ending to Unix. I edited the post check it again.
[OnePlus 2 Q&A, Help & Troubleshooting] barni090:
It's still not working, I used another app and it's telling me permission denied. But thank you for your help :)
[OnePlus 2 Q&A, Help & Troubleshooting] B!Gguy:
Try the link again this time it should work. lol. I've added /bin/bash not /bin/sh. old habits. If you're using a terminal issue 'su' first then 'sh SCRIPT_PATH'.
[OnePlus 2 Q&A, Help & Troubleshooting] barni090:
worked now :) Thanks so much :victory:
[LG Watch Urbane 2] jinkerz9430:
Hello my LG Urbane 2nd edition LTE is coming next week I was wondering if there's any root available for it!
[Samsung Galaxy S8 Questions and Answers] erclalle:
Since our beloved S8 has an iris scanner, which works using both the front-facing camera and an infrared reader, is there any way to gather data from said infrared reader? Not sure how useful it could be, but reading remote controls, or making infrared-light selfies (depending on the resolution of the sensor) would be possible!

Has anyone tried getting data out from the sensor?
[Samsung Galaxy S8 Questions and Answers] russ18uk:
Like a thermal camera? I'd doubt the data would, in any way, be useful.
[Samsung Galaxy S8 Questions and Answers] Pastorelli's:
The infrared camera supports only a fixed focal point, any other will be useless
[Samsung Galaxy S8 Questions and Answers] pete4k:
As far as I know all cameras have infrared filter build in to limit IR light from affecting visible light color balance. It still does pick up some IR light (you can check it by shining remote control into camera), but if you want IR photo you need camera that can bypass IR filter altogether (there are some). Also I don't think iris sensor ir emitter is strong enough to light up anything except for close proximity, even if you could bypass ir filter. And in case you wonder, yes IR photo can have some strange side effects in certain circumstances.
[Samsung Galaxy S8 Questions and Answers] Zealhybrid:
Yes, the camera actually takes an infrared video, you can try this by typing *#0*# on the dialer, and then selecting 'IRIS CAMERA TEST'. But only the security sub-system has access to it (Try and take a screenshot or screen recording and you'll see) so my guess is that it would be possible with root access (?)
[Samsung Galaxy S8 Questions and Answers] Arfyness:
I just want to turn the ir light on and off at will. How to do that?
[General Questions and Answers] sukrant:
i was using my phone(its never rooted or try to experiment something its just a original factory setted piece) and suddenly my moto g2 gets switched off and when I try to switch it on a black color screen came with just a message saying "AP Fastboot Flash Mode (S)"

Please help me with this

I have tried to unlock the bootloader I got the unlock code from motorola and when iam using the next query "fastboot oem unlock xxxxxxxxxx......." then error comes invalid unlock data

please help me in making my phone normal with back to stock rom