[APP][ROOT][MARSHMALLOW] MTP enabler - Galaxy Grand 2 Themes and Apps

You can place a widget of 'MTP enabler' onto the Home Screen and tap it after you connect the USB-cable to PC. So can initiate a refresh on the PC-File-Transfer-Window without disconnect, reconnect USB-cable.
The MTP mode will be enable automatically by this actions...
And you can place a shortcut to 'MTP enabler's Action onto the Home Screen for quick Access now.
(Widget or shortcut - your decision)
The widget changes it backgroundcolor to orange, if usb-cable is connected.
MTP enabler doesn't touch any system-file (no init component is touched or needed)! - But it needs a rooted device!
And Google's security intent by User-Action for USB-connection remains preserved!
In the App-window (MTP enabler setup ) you can checkmark one option 'ask me for action', if you want to be able to select the connection type manually.
If you leave the checkbox unchecked the app will (try) to do the automatically taping MTP-option.
Note: If have enabled MTP enabler, it will start automatically after every reboot!
NEW(!):
You can activate notifications(with or without sound, with or without Android Wear notification) optinal.
See builtin interactive tutorial(showcase)
MTP enabler should work now stable on all Devices / all Marshmallow ROMs!
#Root is required!
Downloads Link:good:
https://uploadex.com/gvoexbhh779w
Credits>http://forum.xda-developers.com/member.php?u=2981094

Related

[Q] My Nexus 5 won't connect to my PC after installing the M Dev Preview

After installing android m preview, my pc (windows 8.1) doesn't detect my nexus 5. I have tried three different cable. It just charges the mobile. As you can see in the attachment below
I read that there are new drivers needed. They should be in the latest SDK.
solution
found the solution else where
Android M now has USB Configuration profiles under developer options which apparently upon playing with let us connect our Nexus 5 to the PC. No extra drivers were need to be installed. By default, it seems Android M has PTP (Picture Transfer Protocol) activated on the device and soon as you change it to MTP (Media Transfer Protocol) the device is instantly recognized by the PC.
How to Change USB Configuration on Android M
Go to Settings » About phone » scroll to the bottom and tap on Build number seven times to enable Developer options.
Go back to Settings page and select “Developer options” from here now.
Scroll a bit and you’ll see “Select USB configuration” under Networking options, select it.
Now select the USB mode you want to use from here. We selected the “MTP (Media Transfer Protocol)” from the list and it resolved our issue with Nexus 5 not connecting to the PC.
See here - http://forum.xda-developers.com/showthread.php?p=61024863
Sent from my Android M Nexus 5 yo!

[Completed] root Xperia Arc S enable reverse tethering + wifi hotspot that uses it in 10 minutes

How to root Sony Ericsson Xperia Arc S and enable reverse tethering + wifi hotspot that uses the reverse tethering in 10 minutes:
I just learned how to do it
took me about 5 hours to learn and succeed, thought I might share it in case someone else might want to try in the future:
guide is only for windows machine, but you can use the sources to do the same with Linux or a Mac
It only requires a few tweaks to drivers installation and terminal code.
Also it might work with other Xperia devices but I can't promise it will, you might want to check sources for in depth look.
Sources:
https://www.youtube.com/watch?v=OxF4O5E2RiY&index=10 - how to root Xperia Arc S video
http://talk.sonymobile.com/t5/Andro...martphones-2011-and-2012-Xperias/td-p/287857- how to root Xperia Arc S
http://forum.xda-developers.com/showthread.php?t=2287494 - how to enable reverse tethering
http://forum.xda-developers.com/showthread.php?t=1882852 - how to get your wifi hotspot to share reverse tethering
http://forum.xda-developers.com/showthread.php?t=2635830 - drivers in case you need them
1) root your device:
in phone:
settings -> applications -> enable "unknown sources"
settings -> applications -> development -> enable USB debugging"
settings -> Sony Ericsson -> connectivity -> USB connection mode -> set to "mass storage mode (MSC) -> OK
Connect your device to windows
Windows should automatically install the required drivers
If in some case it does not, or if you have problems rooting your device
Just install the drivers from this link:
http://forum.xda-developers.com/showthread.php?t=2635830
If the link is broken in the future I uploaded it to tinyupload:
http://s000.tinyupload.com/index.php?file_id=00631373727411836001
Just install the driver that you need
Xperia Arc S actually is actually not listed there, I just installed all the ones that have "s" and "arc" in them
It takes a bit of space so try to not just install all of them
Download the rooting software from
http://www.mediafire.com/download/5r0ad6lgvu5sv27/Eroot_1.2.exe
Once it downloads activate it
A green windows written in Japanese should pop up
You don't need to understand a bit of what it says
If you see a big green button that says "ROOT" then all is good
If you don't it means some of the steps above were not done correctly
Either you didn't change your phone settings or you don't have the necessary drivers
Press the big green button that says "ROOT"
it should show you a list of 4 things
The 3 first things will change to a V sigh rather quickly
The 4th thing should take a little bit more
Once it's finished you should see a different big green button that says "*SomethingInJapnese*ROOT"
DO NOT PRESS IT
Just exit the program
now you phone is rooted
2)enable connection sharing in your computer
Go to Control Panel\Network and Internet\Network Connections
If for some reason it doesn't find the path
Press Start+R, write "ncpa.cpl" (without the quotation marks) and press enter
This is taken from the "how to enable reverse tethering" guide I linked in above, it explains it nicely:
right click on an Internet connection that you have.
I assume that you are using a desktop which doesn't have any wifi adapter, so right click on LAN Ethernet connection with Internet, and select "Properties".
in tab "Sharing" (or "Advanced" for Windows XP), click "Allow other network users to connect through...", then select the USB connection in dropdown list below.
click OK. Windows will automatically setup your USB network connection and assign to it an IP address, default for Windows 7: 192.168.137.1, default for Windows XP: 192.168.0.1.
You can see your Internet connection is now "Shared" and your USB connection is now "Unidentified network".
In case you don't see a dropdown list (like me) it works anyway so just move on.
Once you press OK it should take some time for your machines to set things up so don't panic if it loads for a minute or so
3)install terminal emulator on your phone
You have 2 options here
1) register your phone with a fake gmail account, download the playstore app (from the market app) and download what you need
it didn't work for me, for some reason even after I registered it said that my account is not connected even though it certainly was
If you want to risk it you may try but for me it was just a waste of time
2) download the apk for the app and install it using the phone built in package installer.
Using your phone browser, go to
https://apps.evozi.com/apk-downloader/
IF IT POPS UP A REQUEST TO CONTINUE OR CANCEL ALWAYS PRESS CANCEL
it just tries to redirect you to an advertising site, it won't affect your download if you press cancel
copy and paste the link from the Google play store site of the app you want to install
In this case the link is:
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
press "Generate Download Link", I should load a bit and then open a new green button that says "Click here to Download"
(if you don't see it scroll down)
press it and it should start the download.
You can open the file directly by opening the notification bar and pressing on the file that was just download
(notification bar like a drop down curtain, just slide your finger from the top of the screen downwards)
select "Package installer" as the app to open it with and it should install it quickly.
Also for later if you don't have one already installed, install some kind of note app
I just installed this one:
https://play.google.com/store/apps/details?id=com.mervsy.notes&hl=en
4)
connect your device to your computer
In your phone go to
settings -> wireless&networks -> Tethering & portable hotspot -> enable USB tethering
Wait for it to connect, once it does you can move on
Go to your terminal emulator, write "su" (without the quotation marks) and press enter
What it does is asks the phone to give you "Super User" permissions to change your phone built in settings
Give the app permission to do so.
The sign in the terminal emulator should change from $ to # to indicate that you have Super User permissions
Next, copy those lines to the terminal emulator and press enter
(you might want to save them in your note app before, I'll explain why in a bit)
netcfg usb0 dhcp
ifconfig usb0 192.168.137.2 netmask 255.255.255.0
route add default gw 192.168.137.1 dev usb0
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
iptables -P FORWARD ACCEPT
first 3 lines - for reverse tethering
Next 4 lines - for wifi hotspot reverse tethering sharing
couple of notes:
1)if it prints something like "iptables failed strangely: No such file or directory"
just ignore it, it works anyway
2)if you get an error relating to "dhcp" - make sure you enabled "USB tethering" in your device, and that you enabled connection sharing in your computer.
3) if for some reason you have other errors, try replacing "usb0" with "rndis0" in lines 1,2 and 3
not sure if you also need to change the "usb0" in line 6, but if it still gives you an error I didn't describe try chaging that too.
if you did get any errors just copy and paste the code (with the needed changes if any are needed) to the terminal emulator again
remember to do so only in su mode! (# instead of $)
also, save the final version (the version that worked for you) of the code lines in the note app you installed (step 5 explains why)
everything should now work perfectly
reverse tethering should work
and if you want to enable wifi hot spot just go to
settings -> wireless&networks -> Tethering & portable hotspot -> enable Portable WI-Fi hotspot
5)
for me the reverse tethering and wifi hotspot sharing stops working after I reboot the phone
In such a case just
1)connect your phone to your computer
2)in phone: settings -> wireless&networks -> Tethering & portable hotspot -> enable USB tethering
3)go to terminal emulator
4)go to Super User mode (write su and press enter)
3)copy and paste the code you saved from the note app to the terminal emulator and press enter
and it should work again
if you want to connect your phone to another computer, to the exact same steps but remember to enable connection sharing in your computer before!
hope this little guide helped you
-dmagen
dmagen said:
How to root Sony Ericsson Xperia Arc S and enable reverse tethering + wifi hotspot that uses the reverse tethering in 10 minutes:
I just learned how to do it
took me about 5 hours to learn and succeed, thought I might share it in case someone else might want to try in the future:
guide is only for windows machine, but you can use the sources to do the same with Linux or a Mac
It only requires a few tweaks to drivers installation and terminal code.
Also it might work with other Xperia devices but I can't promise it will, you might want to check sources for in depth look.
Sources:
https://www.youtube.com/watch?v=OxF4O5E2RiY&index=10 - how to root Xperia Arc S video
http://talk.sonymobile.com/t5/Andro...martphones-2011-and-2012-Xperias/td-p/287857- how to root Xperia Arc S
http://forum.xda-developers.com/showthread.php?t=2287494 - how to enable reverse tethering
http://forum.xda-developers.com/showthread.php?t=1882852 - how to get your wifi hotspot to share reverse tethering
http://forum.xda-developers.com/showthread.php?t=2635830 - drivers in case you need them
1) root your device:
in phone:
settings -> applications -> enable "unknown sources"
settings -> applications -> development -> enable USB debugging"
settings -> Sony Ericsson -> connectivity -> USB connection mode -> set to "mass storage mode (MSC) -> OK
Connect your device to windows
Windows should automatically install the required drivers
If in some case it does not, or if you have problems rooting your device
Just install the drivers from this link:
http://forum.xda-developers.com/showthread.php?t=2635830
If the link is broken in the future I uploaded it to tinyupload:
http://s000.tinyupload.com/index.php?file_id=00631373727411836001
Just install the driver that you need
Xperia Arc S actually is actually not listed there, I just installed all the ones that have "s" and "arc" in them
It takes a bit of space so try to not just install all of them
Download the rooting software from
http://www.mediafire.com/download/5r0ad6lgvu5sv27/Eroot_1.2.exe
Once it downloads activate it
A green windows written in Japanese should pop up
You don't need to understand a bit of what it says
If you see a big green button that says "ROOT" then all is good
If you don't it means some of the steps above were not done correctly
Either you didn't change your phone settings or you don't have the necessary drivers
Press the big green button that says "ROOT"
it should show you a list of 4 things
The 3 first things will change to a V sigh rather quickly
The 4th thing should take a little bit more
Once it's finished you should see a different big green button that says "*SomethingInJapnese*ROOT"
DO NOT PRESS IT
Just exit the program
now you phone is rooted
2)enable connection sharing in your computer
Go to Control Panel\Network and Internet\Network Connections
If for some reason it doesn't find the path
Press Start+R, write "ncpa.cpl" (without the quotation marks) and press enter
This is taken from the "how to enable reverse tethering" guide I linked in above, it explains it nicely:
right click on an Internet connection that you have.
I assume that you are using a desktop which doesn't have any wifi adapter, so right click on LAN Ethernet connection with Internet, and select "Properties".
in tab "Sharing" (or "Advanced" for Windows XP), click "Allow other network users to connect through...", then select the USB connection in dropdown list below.
click OK. Windows will automatically setup your USB network connection and assign to it an IP address, default for Windows 7: 192.168.137.1, default for Windows XP: 192.168.0.1.
You can see your Internet connection is now "Shared" and your USB connection is now "Unidentified network".
In case you don't see a dropdown list (like me) it works anyway so just move on.
Once you press OK it should take some time for your machines to set things up so don't panic if it loads for a minute or so
3)install terminal emulator on your phone
You have 2 options here
1) register your phone with a fake gmail account, download the playstore app (from the market app) and download what you need
it didn't work for me, for some reason even after I registered it said that my account is not connected even though it certainly was
If you want to risk it you may try but for me it was just a waste of time
2) download the apk for the app and install it using the phone built in package installer.
Using your phone browser, go to
https://apps.evozi.com/apk-downloader/
IF IT POPS UP A REQUEST TO CONTINUE OR CANCEL ALWAYS PRESS CANCEL
it just tries to redirect you to an advertising site, it won't affect your download if you press cancel
copy and paste the link from the Google play store site of the app you want to install
In this case the link is:
https://play.google.com/store/apps/details?id=jackpal.androidterm&hl=en
press "Generate Download Link", I should load a bit and then open a new green button that says "Click here to Download"
(if you don't see it scroll down)
press it and it should start the download.
You can open the file directly by opening the notification bar and pressing on the file that was just download
(notification bar like a drop down curtain, just slide your finger from the top of the screen downwards)
select "Package installer" as the app to open it with and it should install it quickly.
Also for later if you don't have one already installed, install some kind of note app
I just installed this one:
https://play.google.com/store/apps/details?id=com.mervsy.notes&hl=en
4)
connect your device to your computer
In your phone go to
settings -> wireless&networks -> Tethering & portable hotspot -> enable USB tethering
Wait for it to connect, once it does you can move on
Go to your terminal emulator, write "su" (without the quotation marks) and press enter
What it does is asks the phone to give you "Super User" permissions to change your phone built in settings
Give the app permission to do so.
The sign in the terminal emulator should change from $ to # to indicate that you have Super User permissions
Next, copy those lines to the terminal emulator and press enter
(you might want to save them in your note app before, I'll explain why in a bit)
netcfg usb0 dhcp
ifconfig usb0 192.168.137.2 netmask 255.255.255.0
route add default gw 192.168.137.1 dev usb0
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t nat -A POSTROUTING -o usb0 -j MASQUERADE
iptables -P FORWARD ACCEPT
first 3 lines - for reverse tethering
Next 4 lines - for wifi hotspot reverse tethering sharing
couple of notes:
1)if it prints something like "iptables failed strangely: No such file or directory"
just ignore it, it works anyway
2)if you get an error relating to "dhcp" - make sure you enabled "USB tethering" in your device, and that you enabled connection sharing in your computer.
3) if for some reason you have other errors, try replacing "usb0" with "rndis0" in lines 1,2 and 3
not sure if you also need to change the "usb0" in line 6, but if it still gives you an error I didn't describe try chaging that too.
if you did get any errors just copy and paste the code (with the needed changes if any are needed) to the terminal emulator again
remember to do so only in su mode! (# instead of $)
also, save the final version (the version that worked for you) of the code lines in the note app you installed (step 5 explains why)
everything should now work perfectly
reverse tethering should work
and if you want to enable wifi hot spot just go to
settings -> wireless&networks -> Tethering & portable hotspot -> enable Portable WI-Fi hotspot
5)
for me the reverse tethering and wifi hotspot sharing stops working after I reboot the phone
In such a case just
1)connect your phone to your computer
2)in phone: settings -> wireless&networks -> Tethering & portable hotspot -> enable USB tethering
3)go to terminal emulator
4)go to Super User mode (write su and press enter)
3)copy and paste the code you saved from the note app to the terminal emulator and press enter
and it should work again
if you want to connect your phone to another computer, to the exact same steps but remember to enable connection sharing in your computer before!
hope this little guide helped you
-dmagen
Click to expand...
Click to collapse
XDA Assist is not the place for this post.
Thread closed.

Tricky question: Access and reset smartwatch over wifi or bluetooth

So I bought a smartwatch called X89 with full android 4.4.1 system. Wifi and bluetooth are active but there is no usb connection to my computer. The charging cable does not support usb-data contacts and can only be used for charging. Usb debugging is not activated.
The problem is:
-I installed "smart launcher" as an alternative to the stock laucher. The launcher is already set as default. When I boot the watch the launcher opens a window about "first steps" but I can't click the window away, because of display or resolution problems. The 'skip' buttons are off limits.
What I want to do:
-make a factory reset somehow using wifi or bluetooth
OR
-mirror the watches screen to a smartphone or pc without installing any app to the watch. (remember: I can't get past the startscreen and I can't access the watch with usb.)
What I can do:
-boot and shut down the watch
-access the watches browser by clicking a link on the launchers startscreen
-connect the watch with wifi or bluetooth to my pc or smartphone
Maybe anyone can help me out with an idea???
Best regards
Steve

Can I use adb without USB debugging?

I got a rare and old bug for Android 6/7 phones on an old phone that I use to backup important stuff (since I never turn wifi on) and it has a lot of important data
The bug is something related to the setup wizard
What happens is
-Developer options won't work (says not available for this user)
-Recent and home buttons don't respond
-Notification bar won't show notifications (only sound) and won't get fully pulled
-Google play store won't download/update any app
-cant enable vr mode
There have been 3 fixes until now
1- launch setupwizard through activity launcher apps
2- using termux apps (needs root)
3- using adb (need USB debugging from devs options which are disabled by the bug)
My phone's setup wizard doesnt launch from the activity launcher (crashes)
And it isn't rooted
So the only remaining way is the adb option
I know it needs USB debugging enabled
But can I get it to work somehow without it? Or enable usb debugging outside settings?
You can run ADB in Wireless Mode. means no USB-cable connection is required.
If you never turn wi-fi on, how would Google Play ever download or update anything?
What has ADB to do with downloads from Google Play Store?

How To: Change Default USB Configuration

If you're like me and hate having to switch your device to "File Transfer" every time you connect it to your computer, you're in luck. Here's how to change the default USB mode:
Enable Developer Options:
Go to Settings > About Phone > Scroll to bottom
Tap on Build number 8 times. You will get a notification reading "Congratulations, you are now a developer!
Go back one menu and tap System
Tap Developer Options
Scroll down until you see the Default USB Configuration toggle. It is in the Networking group right after the WiFi settings. Enable the toggle.
Select your desired USB mode:
File Transfer / Android Auto: Pretty self explanatory, your device will automatically appear as an external device when connected to your PC, and Android Auto will automatically connect
USB Tethering: This is the wired version of the hotspot
MIDI: This is for sound/musical applications, usually with an external instrument and/or mixer
PTP: In this mode your device will appear to your PC as a digital camera
No data transfer: This is the standard 500mA USB charging mode. Please note your device will continue to charge in other modes so there's no need to select this mode specifically to charge.
Hope this helps!
Will USB mode 5. No data transfer or charging only prevent juice jacking?

Categories

Resources