Remove HiSuite automount? - Honor Play Questions & Answers

Hi everyone,
so I noticed that on my Mac, after I switch to 'Transfer Files' usb mode, a HiSuite CD image is mounted on my system.
It's very annoying and I would like to stop the phone form doing that.
I have been reading around a bit and it seems the only way to efficiently prevent this behavior is to remove:
/data/hw_init/version/region_comm/oversea/cdrom/autoplay.iso
However, it seems, that I can only do this with root, since I always get a "Permission denied" when trying to remove it through adb.
Is there another way of just killing this without rooting the phone?
Thanks

Launch hisuite on MAC and then settings and disable launch when phone connected. It works on Windows but you could check on MAC as well. Hope it works.

Related

Easy Root for Bionic Stock 4.1.2 (Jelly Bean)

4th Update 5/2/2013 - Found a bug... Nothing that would affect the overall functionality, but it could cause some users to think that their phone is successfully connected via USB debugging, when it really isn't.
Update: 5/2/2013 - Per user requests, adding link to VirtualBox download site on the original post.
3rd Update 5/1/2013 - I changed the code that 'finds' the exploit file to make sure it get executed successfully. It's now using the "PATH" environment to do this. This is more reliable than the actual Linux 'find' command I was using before. Also added some additional instructions to clarify some steps based on feedback from users. Finally, added code to detect if the network adapter is not configured correctly. It will alert the user to configure the network adapter properly in the VirtualBox application.
2nd Update 5/1/2013 - I added some lines to the script to stress the importance of pressing one of the three hardware buttons on the phone (Volume up, Volume Down, or Power) once the exploit has been executed. After discussing this with the author of the exploit, this is an important step to obtaining root.
UPDATE 5/1/2013 - New and improved .ova file. Contains improved logic in the exploit script to help with some of the problems that have been encountered by users.
If you've had trouble rooting, please download the new version and try again!
Hey folks, I'm a UNIX admin by profession, so I took the challenge over the weekend to come up with an easy root process for Bionic stock Jelly Bean, specifically for those who aren't familiar with Linux.
I decided to build a Linux VM under Oracle VirtualBox on my Windows PC. This seemed like the logical choice since VirtualBox is free, a relatively small download, is easy to install and it's easy to import VMs.
My first attempt was using CentOS Linux. It worked, but the file required for users to download was over 450MB... Back to the drawing board!
Started looking for very small Linux distros and found Tiny Core Linux. This worked well. The file required for download is 50 MB.
Everything you need to root the Bionic is here and it is automatic. The process will walk you through connecting to the Samba file share, connecting the phone in USB debugging mode, and OF COURSE, it will run the process to root the phone.
Here are the steps:
1) Install Sun VirtualBox on your Windows PC.
http://download.virtualbox.org/virtualbox/4.2.12/VirtualBox-4.2.12-84980-Win.exe
Note: We've had one report that this file also works with VMWare Workstation and VMWare Player. If you don't want to install VirtualBox feel free try the file with VMWare.
2) Download the VirtualBox .ova file containing the Linux VM from one of the following links:
http://www.knite.net/Bionic/Root_Bionic_JB_20130501-4.ova
http://www.mediafire.com/?a2i6forosp77xrd
https://dl.dropboxusercontent.com/s...fhiAIiSwc0jD1AdVFNY27QdoeKP9ot_7IdDetSvw&dl=1
3) Import the .ova file into VirtualBox. (Click "File" then "Import Appliance".)
4) Start the imported VM in VirtualBox (Click the big "Start" Button. It has a green arrow icon.)
5) Follow the instructions on the Linux console.
That should do it. If you need help I will be monitoring this thread.
Willing Tester
I am not familiar with Linux but I am familiar with root, supersuser, recovery, and fxz/rsd lite. I am up for a new phone next month so I am willing to try this on my Bionic. This doesn't sound too hard....(famous last words). Will try on my Windows 7 laptop.
Will report if this works. Won't be able to until later today.
Thank you OP!
Found a problem with the script. Should work now. Download and import again, if you've already downloaded. I also managed to get the download down to 46MB by defragging and compacting the .vmdk file.
dl.dropboxusercontent.com/s/bb53ayj5c3nd5ie/Root_Bionic_JB.ova?token_hash=AAGSOYfPuDXTur_e9qlYl2JRERovPyfMwe-2xNzHXg4Lxg&dl=1
Downloading new link now. Haven't tried to root yet. I'm at work right now.
Do you have any other suggestions before I start? I don't have to be completely stock do I...? (all stock apps, no superuser, etc.) I am on stock jelly bean 4.2.1, ver. 98.72.22.XT875.Verizon.en.US, stock recovery...but I did use OTA Rootkeeper so I have a (semi-functioning) superuser install. Do you suggest starting fresh with fxz?
I will be home in a couple hours to give it a try.
Well....my problem is that I can get my phone to connect to the share. My guess is that its due to a network thing on my laptop. Is the phone supposed to be connected via USB when I try that?
Awesome! I've got root again thanks to this. Was very easy to follow your instructions, great job!
Great, I just wanted to do something to make it easier for everyone, since so many seemed to be struggling with Linux.
lc75 said:
Awesome! I've got root again thanks to this. Was very easy to follow your instructions, great job!
Click to expand...
Click to collapse
So, in order for the phone to connect to the share, your phone needs to be connected by wi-fi to the same network as the computer that is running VirtualBox and the VM.
TechnoHippie said:
Well....my problem is that I can get my phone to connect to the share. My guess is that its due to a network thing on my laptop. Is the phone supposed to be connected via USB when I try that?
Click to expand...
Click to collapse
marty45714 said:
So, in order for the phone to connect to the share, your phone needs to be connected by wi-fi to the same network as the computer that is running VirtualBox and the VM.
Click to expand...
Click to collapse
Ok that's gonna be my problem then ...I'll give it a shot when I get home and I'm not connected to my office network.
USB 3.0?
My laptop only has USB 3.0 ports. Is that why I am having trouble connecting to the VMbox? SMB share connected over WIFI no problem. USB fails every time.
I am struggling with the directions and feeling dumb about it... Not sure what to put for the "Host IP Address"
EDIT: Restarted the virtual machine and it gave me the information I needed. The first time around the field was blank.
I appear to still lack root because the SU app wants to update the binary and fails to do so.
I'm not sure, but one thing you can check. When the Linux console is up in the VirtualBox window, there is a section in the lower, right hand corner of that window that shows a bunch of icons. Click the USB icon and very that you see your Bionic as an option for hardware that is connected to your laptop.
Also, I'm making an assumption that you have the Motorola UBS drivers already loaded on your Windows system before you even started this whole process. Maybe I shouldn't make that assumption???
cakessi said:
My laptop only has USB 3.0 ports. Is that why I am having trouble connecting to the VMbox? SMB share connected over WIFI no problem. USB fails every time.
Click to expand...
Click to collapse
First of all, thank you very much for creating a easy root tool for those of us who thought the previous methods were too daunting.
I've got a 32bit Windows PC and followed the instructions as you listed them. The problem I kept encountering was that my phone would not accept the IP address or group name suggested by the VirtualBox. When I looked up IP address of the VirtualBox my computer (cmd/ipconfig) I noticed it conflicted with the address that the box was telling me to enter into my Bionic. I wonder if this is the cause of the connectivity issue, and I have a hunch it's because my router is set to give dynamic IPs to the devices on my home network (which is larger with multiple routers and devices).
Any input would be greatly appreciated. Thanks.
You can test the connectivity to the SMB share from your Windows PC first. That's what I suggest.
In your Windows PC, go to My Computer and type in:
\\192.168.1.11\share
where 192.168.1.11 represents the IP address that the Linux server is telling you to use.
You can also go to the windows command line (cmd) and type:
telnet 192.168.1.11 445
which will show if your windows computer can connect to port 445 (SMB).
If these are successful, you probably have an issue that your phone and computer are not connected to the same network.
If you believe they are, you may want to see if your router is set up to not bridge the wireless and LAN traffic, which would mean that the computers on the LAN segment cannot communicate with the computers on the WI-FI segment.
Hopefully something here will help you out.
Please post your results.
Also, make sure when you are typing in names, passwords, groups and IP addresses, that you are not leaving trailing spaces on the ends of things.
MNEman13 said:
First of all, thank you very much for creating a easy root tool for those of us who thought the previous methods were too daunting.
I've got a 32bit Windows PC and followed the instructions as you listed them. The problem I kept encountering was that my phone would not accept the IP address or group name suggested by the VirtualBox. When I looked up IP address of the VirtualBox my computer (cmd/ipconfig) I noticed it conflicted with the address that the box was telling me to enter into my Bionic. I wonder if this is the cause of the connectivity issue, and I have a hunch it's because my router is set to give dynamic IPs to the devices on my home network (which is larger with multiple routers and devices).
Any input would be greatly appreciated. Thanks.
Click to expand...
Click to collapse
Any way we can get another link for this. I'm really wanting to try this out.
Error (509)
This account's public links are generating too much traffic and have been temporarily disabled!
New link. See original post. I have it on Mediafire now.
dcmcc99 said:
Any way we can get another link for this. I'm really wanting to try this out.
Error (509)
This account's public links are generating too much traffic and have been temporarily disabled!
Click to expand...
Click to collapse
marty45714 said:
You can test the connectivity to the SMB share from your Windows PC first. That's what I suggest.
In your Windows PC, go to My Computer and type in:
\\192.168.1.11\share
where 192.168.1.11 represents the IP address that the Linux server is telling you to use.
You can also go to the windows command line (cmd) and type:
telnet 192.168.1.11 445
which will show if your windows computer can connect to port 445 (SMB).
If these are successful, you probably have an issue that your phone and computer are not connected to the same network.
If you believe they are, you may want to see if your router is set up to not bridge the wireless and LAN traffic, which would mean that the computers on the LAN segment cannot communicate with the computers on the WI-FI segment.
Hopefully something here will help you out.
Please post your results.
Also, make sure when you are typing in names, passwords, groups and IP addresses, that you are not leaving trailing spaces on the ends of things.
Click to expand...
Click to collapse
Thanks for the help and instructions. After a few hours of fiddling around I still cannot get my phone to connect to the SMB. My computer connects successfully and after I connect via \\192.168.1.11\share the VirtualBox even progresses a bit to the point where it asks me to plug in my Bionic, but without my phone's wifi file share the process stalls. I am sure that both phone and PC are connected to the same network, sharing is all on, and firewalls are down. At this point I must assume that my router isn't bridging for some reason. Tonight I'll do some more investigation into the Airport Express settings and see if it will fix this issue.
Alright, you can also verify the network connectivity between the phone and the VM by using the 'ping' command.
Find the IP address of your phone by selecting Settings, then Wi-Fi, then click your left most menu button on the bottom and select Advanced. You will see the IP address of the phone. The first 3 octets of that address (xxx.xxx.xxx) should be the same on both the computer and the phone on MOST networks.
So from the Linux console, if you press Ctrl-c, it will drop you to a Linux prompt, from here you can try to ping the phone:
ping 192.168.1.11
Again, where 192.168.1.11 represents the IP address of your phone, that you just found from the menu.
Also, you can try to ping the Linux VM from your phone. If you've installed the Android Terminal app, you can lauch it and type:
ping 192.168.1.11
Where 192.168.1.11 represents the IP address of the Linux server. This is presented to you by the Linux console when it gives you the information to put into your phone in order to connect to the SMB share.
MNEman13 said:
Thanks for the help and instructions. After a few hours of fiddling around I still cannot get my phone to connect to the SMB. My computer connects successfully and after I connect via \\192.168.1.11\share the VirtualBox even progresses a bit to the point where it asks me to plug in my Bionic, but without my phone's wifi file share the process stalls. I am sure that both phone and PC are connected to the same network, sharing is all on, and firewalls are down. At this point I must assume that my router isn't bridging for some reason. Tonight I'll do some more investigation into the Airport Express settings and see if it will fix this issue.
Click to expand...
Click to collapse
I made it all the way through and the exploit said it was successful, but I don't have root. Any thoughts there?
marty45714 said:
Alright, you can also verify the network connectivity between the phone and the VM by using the 'ping' command.
Find the IP address of your phone by selecting Settings, then Wi-Fi, then click your left most menu button on the bottom and select Advanced. You will see the IP address of the phone. The first 3 octets of that address (xxx.xxx.xxx) should be the same on both the computer and the phone on MOST networks.
So from the Linux console, if you press Ctrl-c, it will drop you to a Linux prompt, from here you can try to ping the phone:
ping 192.168.1.11
Again, where 192.168.1.11 represents the IP address of your phone, that you just found from the menu.
Also, you can try to ping the Linux VM from your phone. If you've installed the Android Terminal app, you can lauch it and type:
ping 192.168.1.11
Where 192.168.1.11 represents the IP address of the Linux server. This is presented to you by the Linux console when it gives you the information to put into your phone in order to connect to the SMB share.
Click to expand...
Click to collapse
Here are some tips that I posted for someone over on Droid Forums. Hopefully some of this will help us figure out what is going on:
Need you to do some investigation. Run the exploit again. Once your phone is connected to the SMB share and the Linux script verifies the connectivity, press Ctrl-C to break out of the script and return to the Linux command prompt. Make sure your phone is connected to USB. From there execute the following commands and share the output with me:
sudo ash
cd /home/guest/share
./adb.linux shell
(if you execute the above command and DO NOT see this prompt: [email protected]_targa/ $
then you have USB connectivity issues and need to make sure you get your phone successfully connected
to VirtualBox and the Linux VM)
ls -l /storage/rfs0
I want to see the output of the "ls" command to verify that the SMB share is being mounted to /storage/rfs0
This can cause the exploit to fail is it's not.
If you see no output from that command, run this command:
find /storage -name pwn
If you get that far and this looks good. Can you type:
su -
and see if you get a root prompt? A root prompt means your prompt will end with '#' instead of '$' before the cursor.
If you do get this, it could be that your Superuser app is simply broken and need re-installed.
The command that the exploit runs to root the phone, once you get this far is:
/storage/rfso/pwn 1
You can try running that manually and see what happens.
caskieadam said:
I made it all the way through and the exploit said it was successful, but I don't have root. Any thoughts there?
Click to expand...
Click to collapse

[Q] Connection to PC Problems/Retrieving Deleted Files

First of all, my HTC One is not rooted. My PC has Windows 7 Home Premium Service Pack 1 64-bit.
Here is how my problem started (the phone not being seen problem may have existed prior to this). I connected my phone to my computer (a sound played during connection). Autostart opened Windows Explorer showing the phone storage. I double clicked to find the folder where my videos were. I right clicked the video I wanted to transfer to my PC, chose 'cut', right clicked the desktop and chose 'paste'. The video disappeared from the folder on the phone, but was not on the desktop. I refreshed the desktop, but the file still did not appear.
I restarted both the PC and the phone. Tried reconnecting and started getting notifications in the taskbar 'installing drivers', as if the phone's driver's had been uninstalled. The driver installation failed. I tried a Windows update and found updates available, but the installation failed (code 800F020B). I ran System File Checker and repeated the above, but the update failed. Strangely though, if I opened Explorer, the phone showed up (however on some occasions it didn't).
I therefore installed 'Undelete 360'. Tried to access the phone to retrieve files, but the program couldn't see the phone (even though I could access files via explorer). I thought it may be the software, so I tried 'Remo Recover', but the same happened again.
I have also tried uninstalling drivers (unknown device in Device Manager) and restarting, but to no avail.
I have the latest version of HTC Sync Manager installed, but this program seems to be of no use.
The phone is in USB debugging mode and when attached to the PC is showing 'MTP Enabled' (I can't find anyway to change this). Android version 4.3. The only other noticeable problem on the phone is that HTC Sync, which was supposed to be in sync with Gmail, is hsowing 'Sync Off' and I can't switch it back on.
I would appreciate any assistance in resolving this. My objective is to retrieve the video files I tried to 'cut' and 'paste'.
You probably can't get the file back, sorry. The device connects with MTP which does not support the required low-level operations. I highly doubt an app from the Play store would work, but its your best bet.
In future you'd be better off copying and then deleting.
BenPope said:
You probably can't get the file back, sorry. The device connects with MTP which does not support the required low-level operations. I highly doubt an app from the Play store would work, but its your best bet.
In future you'd be better off copying and then deleting.
Click to expand...
Click to collapse
Thanks for your reply Ben. That's bad news.
So the fact that it only connects with MTP means that the device may not be visible in certain circumstances and I'll have to live with that. This doesn't explain why from time to time when I connect the phone, my PC starts to install drivers and sometimes the instillation fails. There seems to be something else afoot.

Cannot get ADB to see Gear live (bb refurb).

Hi guys,
just got my gear live refurbed from bb. (i bought it used, so no option to return) and it works just fine as is, but i want to update it lolipop.
I cant seem to get it to connect to my pc (tried, xp, 7 and 8.1 on three different boxes!).
Theres is no RSA confirmation, nothing.
I have debug mode turned on. Antivirus/firewall turned off. Even tried two different cables. No joy...
Tried three different versions of ADB.
- universal adb from samsung restore tool v2 (which many have said work just fine)
-minimal adb fasboot
- khoush universal adb
and still nothing... wont detect. even after many installs and reboots.
tried resetting watch and repeated everything. still no joy...
any help in getting adb to recognize my gear.. i know it must be something small as most others have managed to get it to work.
appreciate any and all help.
regards,
asmd.
got it working, for those who are stuck like me, follow this tutorial to fix it., Worked on win7 but not on XP Pro.
http://forum.xda-developers.com/gear-live/help/gear-live-to-recognized-adb-t2832140
regards,
asmd.
I always find adb connection to watch to occur at random. Didn't find a reliable way to connect

adb connection phone unauthorized

Hello,
I'm trying to connect my Android 6.0 phone to my Raspberry Pi 2 over adb.
It took me about two hours that the command "adb devices" detects my phone. Now I have the problem that I get the message "unauthorized", but I don't get the popup to allow the connection on my phone. When I try it over my mac, everything works fine.
I already tried to restart the server and reconnect the phone in every possible way.
Is there another way to connect my phone successfully?
Sincerely,
Mr.Tr33

File transfer does not work (keeps falling back to "USB for charging" always)

File transfer does not work (keeps falling back to "USB for charging" always)
Hi,
as the title suggests for a very long time (>1 month) my file transfer does not work.
The only way I can transfer files from PC to the phone is reboot into recovery (TWRP) and there it works normally, but it's a pain in the a...rm.
I've also tried different ROMs with the same effect, although I remember it did work very briefly for one boot cycle before I finished setting everything up and now it doesn't work again.
My suspicion is that some hidden setting that I'm not aware of is in conflict with the file transfer feature. Or maybe Xiaomi doesn't like it when you deny Mi Cloud permissions etc. and that's the way they get back at you, IDK!
Nobody else experiences this? Cause I didn't find too many complaints about this in the forum.
Happy new year and a very good and successful start into 2020, everyone.
If you not sure what cause the problem, just switch to another rom or do a hard reset.
Sent from my MI 9 using Tapatalk
anthropaki said:
Hi,
as the title suggests for a very long time (>1 month) my file transfer does not work.
The only way I can transfer files from PC to the phone is reboot into recovery (TWRP) and there it works normally, but it's a pain in the a...rm.
I've also tried different ROMs with the same effect, although I remember it did work very briefly for one boot cycle before I finished setting everything up and now it doesn't work again.
My suspicion is that some hidden setting that I'm not aware of is in conflict with the file transfer feature. Or maybe Xiaomi doesn't like it when you deny Mi Cloud permissions etc. and that's the way they get back at you, IDK!
Nobody else experiences this? Cause I didn't find too many complaints about this in the forum.
Happy new year and a very good and successful start into 2020, everyone.
Click to expand...
Click to collapse
First, do you have the correct drivers installed on your PC to identify your device?
Second, you can always turn on USB Debugging and see if that allows you to use FTP.
Third, if you have turned on USB Debugging, you can use adb push.
If I wanted to transfer Roblox to my phone, I would do this
adb push C:\Users\SenseiCheekClapper\Downloads\Roblox.apk /sdcard
To make it a hell of a lot easier, just type adb push, drag the file into the terminal and it will autofill the file location, and then type /sdcard.
Sent from my MI 9 using Tapatalk
When I have had this problem it has always turned out to be the USB-cable that was the culprit. This phone is very picky when it comes to cable, both for file transfer and Android Auto, at least for me! The original cable doesn't always work all the time for me, but a good quality cable of another brand always works for me.

Categories

Resources