[R&D] "Device Companion" hidden USB mode - HD2 General

Hi all.
Change HKLM\Software\HTCUSBToPCPopUP\DeviceCompanion to 1 (maybe also OnlyTwoChoice to 0), and you'll unlock some "Device Companion" USB mode.
On my Leo it gives a USB drive (removable) which presents like a standard card reader with no card in it - click results in "Please insert media into I:".
Any ideas what that is? I imagine it originally was supposed to mount a ISO image w/ ActiveSync or WMDC installer, together with a PDF manual, but was omitted due to size constraints.
Marco

Related

[Q] Driver Problem

OK...so far so well, I put it out of the box, pushed the start button, and saw very pretty and nice pictures, but for the moment thats all! (
how the hell this thinks works?! No pc connectivity, no pc synchro, unable to browse base file system, unable to access sd card files. unable to access phone book(!?!?). After 6 clicks on the display I found where it is. And after 4-5 more I am finding the needed contact. For example on nokia, siemens, htc and samsung, this happens only with 3 clicks.
when I connect it to the pc, it just show me the new device dialog box, and after few clicks: unable to find propriate driver. No change after installing SEUS, and trying file by file from the driver dir of installation files of SEUS. After 45 minutes search with google, nothing apears.
On linux just shows Mass Storage with no media inside.
What the hell am I doing wrong?
firstly try pulling down the top box and selecting mass storage mount
-PiLoT- said:
firstly try pulling down the top box and selecting mass storage mount
Click to expand...
Click to collapse
Thanks for the tip
Briefly, when usb cable is connected to the pc, just drag down with a finger on the top left corner of the display, and press "Usb Connected". Then in the box press Mount.
After that on my machine was started an update of microsoft usb components: Microsoft WinUsb 1.0. And after all that the phone is ready to be found properly by the system. Just download SEUS from the sonyericsson support website, and extract the executable with 7zip. and extract ..\$[31]\drivers\SmartphoneDrivers.zip . In this archive are the drivers for X10i.
If you want to find drivers for flash, just put the device in a flash mode (pressing and holding the backarrow - the right key - while the phone is connected to pc), and then extract seehcri.zip from the same folder. There is the driver for the eeprom controler.
Solved!

MTP is failing to work after a hack attempting to enable USB mass storage connections

Subject: (SOLVED) MTP is failing to work after a hack attempting to enable USB mass storage connections.
ABBREVIATIONS USED HEREIN
"NOTE3":
- Verizon Galaxy Note 3
- SM-N900V (JSS15J.N900VVRUBMI9)
- Android 4.3
- Successful Root de la Vega <http://forum.xda-developers.com/showthread.php?t=2481590> (thank you very much)
"NOTE0":
- AT&T Galaxy Note
- SAMSUNG-SGH-I717
- Successful root The Unofficial (by Flappjaxx and The Collective) (thank you very much)
- Android 4.0.3 after the root (I forgot what it was before; 3.0?)
"PC":
- Windows 8
- Using USB 3.0 port with USB 3.0 cable to NOTE3
SYNOPSIS
USB mass storage (block transfer mode) works on NOTE0 but not on NOTE3. I've read that this removal of USB mass storage is a new feature of Android 4 but that it may still work for external SD cards. It does NOT work on my Note 3, neither internal nor external SD, but it does work for both internal and external SDs on NOTE0. It seemed to me that perhaps MtpApplication.apk was the culprit, so I set about copying that application from NOTE0 to NOTE3.
CREATING THE FAILURE
- Ran 'adb backup ...' from PC.
- Copied MtpApplication.apk from NOTE0 to NOTE3.
- Mounted /System RW.
- Moved original "/System/app/MtpApplication.apk" to a safe location.
- Deleted "/System/app/MtpApplication.odex". I figured the new file would be dexified when first run.
- Copied NOTE0's MtpApplication.apk to NOTE3 "/System/app/MtpApplication.apk".
- Set -rw-r--r-- root root on MtpApplication.apk.
- Mounted /System RO.
- Rebooted.
- Got "Android is updating" notice.
- Connect to PC.
- + The normal Installer CD drive appeared in Windows Explorer for several seconds.
- + The device "N900V" did not appear as it always has in the past. There are no references to NOTE3 in Windows Explorer.
- + Reinstalled Samsung device drivers on PC and rebooted PC.
- + Rebooted NOTE3.
- + No change. The MTP application has the three checkboxes for MTP, PTP, and USB 3.0, and the check can be moved to each, but there is no apparent communication between NOTE3 and Windows Explorer. The notification tray does show the normal "Click here to change USB connection mode" or whatever it normally says. The Installer does run as before but it is not now followed by the Explorer link to "N900V". No apparent difference with debug mode enabled on NOTE3. Debug bridge (adb.exe) works fine.
ATTEMPTING THE REPAIR
- Mounted NOTE3 /System RW.
- Deleted "/System/app/MtpApplication.apk".
- At this point I noticed that the "MtpApplication.odex" file was NOT created.
- Copied original "MtpApplication.apk" back to "/System/apk/".
- Set "-rw-r--r-- root root" on "MtpApplication.apk".
- Mounted /System RO.
- Rebooted.
- I didn't notice if the "Android is updating" notice appeared. Maybe I wasn't looking.
- At this point all is the same as under "Connect to PC" above. Still a failure.
- Still no "MtpApplication.odex".
- Ran 'adb restore ...' from PC.
- Rebooted NOTE3.
- At this point all is the same as under "Connect to PC" above. Still a failure.
- Still no "MtpApplication.odex".
- Installed and ran OdexerTool (13-11-2013) by MatrixDJ96, 'sysapp' command. System applications, including MtpApplication.apk were odexed or reodexed. MtpApplication.odex now exists.
- Rebooted.
- "System is updating dialog with an incrementing counter.
- At this point all is the same as under "Connect to PC" above. Still a failure.
WINDOWS DEVICE MANAGER
Windows Device Mangler shows a device with errors:
. ---------------------------------------------
. Portable Devices
. SAMSUNG Mobile MTP Device
. ---------------------------------------------
Properties on "SAMSUNG Mobile MTP Device" shows:
. ---------------------------------------------
. This device cannot start. (Code 10)
.
. The process hosting the driver for this device has terminated.
. ---------------------------------------------
It remains that way after uninstalling and reinstalling the Samsung drivers and after a reboot while standing on my toes facing east with my right arm extended above my head and screaming "WOM-A-TOOMA WOM-A-TOOMA WOM-A-TOOMA".
This was NOT a solution:
. <http://forum.xda-developers.com/showthread.php?t=1797344>.
Found the key "UpperFilters" and deleted that key, unplugged and plugged and still no MTP, PTP, or USB 3.0 connection.
None of the devices under "Universal Serial Bus Controllers" show an error.
REQUEST
- What did I do wrong?
- How do I undo that wrong?
- + Should I reapply the Root de la Vega? (Is that like a Spock Lock?)
- * How?
CONTINUING ATTEMPTS TO RECOVER
The next thing I hope to try is to unroot/restore, then root again with de la Vega, but the only unroot/restore instructions I can find are for retail locked devices.
- Found a stock ROM (http://forum.xda-developers.com/showpost.php?p=46424497&postcount=1) and flashed it. Success on the flash but still no connection with Windows File Explorer.
- Flashed Root de la Vega again. Success.
SUCCESS!
Problem solved. Windows File Explorer again shows the .SM-N900V icon and it is usable. Flashing the stock system should have fixed it so perhaps I just didn't reboot enough or didn't wait long enough after the devices installer program finished.
I sure hope someone gives us USB mass storage so I can work directly with the device's file system because MTP and Explorer are not suitable for the work I wish to do. The debug bridge might work but it is nearly as cumbersome as MTP.
Frank
(Why can't I thank myself too?)
UMS
Frank Westlake said:
CREATING THE FAILURE
- Ran 'adb backup ...' from PC.
- Copied MtpApplication.apk from NOTE0 to NOTE3.
- Mounted /System RW.
- Moved original "/System/app/MtpApplication.apk" to a safe location.
- Deleted "/System/app/MtpApplication.odex". I figured the new file would be dexified when first run.
- Copied NOTE0's MtpApplication.apk to NOTE3 "/System/app/MtpApplication.apk".
- Set -rw-r--r-- root root on MtpApplication.apk.
- Mounted /System RO.
- Rebooted.
- Got "Android is updating" notice.
- Connect to PC.
- + The normal Installer CD drive appeared in Windows Explorer for several seconds.
- + The device "N900V" did not appear as it always has in the past. There are no references to NOTE3 in Windows Explorer.
- + Reinstalled Samsung device drivers on PC and rebooted PC.
- + Rebooted NOTE3.
- + No change. The MTP application has the three checkboxes for MTP, PTP, and USB 3.0, and the check can be moved to each, but there is no apparent communication between NOTE3 and Windows Explorer. The notification tray does show the normal "Click here to change USB connection mode" or whatever it normally says. The Installer does run as before but it is not now followed by the Explorer link to "N900V". No apparent difference with debug mode enabled on NOTE3. Debug bridge (adb.exe) works fine.
Click to expand...
Click to collapse
I'm only making a guess that MtpApplication.apk is where UMS is enabled and I have no idea if a copy from Note0/4.0.3 will function on Note3/4.3, but it seems to me that it should work.
Prior to the attempt at importing MtpApplication.apk I tried bringing GoogleTTS.apk from my Note0 to my Note3 and it also failed. It appeared in Settings as an option along with the Samsung TTS engine but when I enabled it Settings reported an error with the package.
Should I have odexed first? For both MtpApplication.apk and GoogleTTS.apk?
Can anyone offer some guidance on this? My problem is that I cannot use Google Play because I cannot or will not agree to their privacy statement, so I have disabled all the relevant Play applications and I download only applications I can find on freeware sites.
Frank

Nokia 6 USB Driver

Hi. I am a Windows Phone transplant. I got my Nokia 6 from Amazon and I am connecting it up via USB to put my music collection on the SD card. When I connect, it mounts as a CD and there is a setup for what looks to be the drivers there. When I run setup, nothing happens. The computer is Win 10. When I took the phone out of the box (from Amazon US), I noticed that the Amazon preloaded app took me to the Chinese Amazon site. so I think that this version is based heavily on the Chinese ROM. Does anyone have a direct link to the USB drivers for the PC? The ones I have seen on searching all look very dubious.
It was pretty cool turning this phone into an Android powered/Microsoft Services phone.
thanks
The Amazon app is just configured for Chinese. You can select another language, just go to the link next to the flag, drop down box, find the USA flag.
For the USB connection, after you connect the phone to the PC, on the phone, swipe down from the top and you should see a notification "USB *****". The "****" could be PTP, charging, MTP, etc. You want to use MTP to transfer files to the phone.
I am using MTP to connect, but has I mentioned, The phone is opening as a CD-ROM on the computer where there is a setup program with Drivers on it and it is write protected. If I try to run the setup program that it presents, Nothing happens. It starts, and gives me the Admin make changes screen, but after that nothing. This is the drivers that I think need to be on my computer to mount the phone properly to transfer files.
Mine did the same but as the previous poster said change it to mpt on the phone then in file explorer Nokia 6 appeared and when I clicked on it both the internal and sd cards showed up and I copied my music folder directly to sd card
Sent from my SM-T800 using XDA Free mobile app
I have the same issue. I tried choosing the MTP, even PTP as well, from the USB options, but still no luck in seeing the internal storage of my phone. Maybe this is a Windows 10 issue? I tried connecting my phone on my windows 8.1 PC and it worked fine. Anybody has a workaround on this?
my phone always have a pop-up ask me if I want to enable file transfer when I connect to a pc, maybe check if yours have the same pop-up.
Sent from my TA-1003 using XDA Labs
Phone does not show as drive
When I connect my Nokia 6 via USB, I get a popup asking what i want to do (charge, charge and transfer and two I can't remember at the moment). It does not show up as a (USB) drive (i.e. it is not assigned a drive letter), but among the Libraries (like Downloads, Pictures, etc.). I see the CD-ROM drive with the USB driver setup as well, but I guess you only need that when the phone does not show up right away. (Maybe on older versions of Windows?)
I can write to the phone and the SD card. I have a 64 GB Samsung class 10 card, it writes at only 12 MB/s; is that normal?
When I clicked 'Properties' on the SD Card, I saw that it was formatted as FAT32, so that explains why I can't write large (>4 GB) video files to it. Shame. Does anyone have an idea if this is ever gonna change?. I tried formatting the card to ExFat, but then the phone just says 'incompatible file system' or something like that.
Can't get access to my phone data mother internal nor external
I am using MTP to connect, but has I mentioned, The phone is opening as a CD-ROM on the computer where there is a setup program with Drivers on it and it is write protected. If I try to run the setup program that it presents, Nothing happens. It starts, and gives me the Admin make changes screen, but after that nothing happens. Pls help me guy's......
I have the same problem on Windows 8.1 x64
Nevermind, I found the solution for my device, I can't guarantee it's the same for you.
Open your settings on your phone
Go to About Phone
Repeatedly tap on Build number untill a message pops
up saying that you're a developer now.
Go back into settings and open Developer options now
Scroll down and find USB Debugging and turn it on.
That's it, you should be able to manage your files now
Finally Nokia is making Andorid based phones now. Because Android is the kind of OS people need today. With tons of application choice.
You can download the ADB driver for your Nokia in this link:
https://dl-ssl.google.com/android/repository/latest_usb_driver_windows.zip
change your cable. That's what the problem is

ZTE Nubia Z17 USB connection problems & MyPhoneExplorer

Hi,
I just received the Z17. It looks well but I had many problems with the USB connection.
I use the connection too with my Jiayu S3Adv.
On that phone, I can read all the contents of the phone (SD Card and Internal mémory)
On the Nubia, I can read nothing into the windows 8.1 file explorer.
I just have (under My Computer main part) an icon named NX563J.
If I open this "drive" (or device), I just have a disk named "Shared internal space" (Espace de stockage interne partagé) (Sorry, I'm French, nobody is perfect, my English too ) with no files and one or two directories (log for example)
In order to have a "complete view", I had to change into Developper Option the default parameter "Charging" to "MTP"
Right, I can access the full contents of the phone...
I seems not activated by default.
Do you have the same problem ?
I use MyPhoneExplorer to synchronize data between my PC and mu phone. It works perfectly with the Jiayu.
I can't connect the Nubia to that application.
I'll have a new try with the "new MTP parameter" activated.
Thanks
Complement :
Each time I shutdownower off the phone and the computer, I need to reinstall the drivers...
Otherwise I can't access the phone contents.
I'm thinking to return the phone
May be I found one solution (or problem)
My computer (Lenovo Carbon X1 gen 3) is supporting "only" USB 3.0 specifications.
USB-C connection (I'm not speaking about the connector) need USB 3.1 and over specifications (thunderbolt).
So despite my device is recognized, it seams MyPhoneExplorer can't connect via USB-C protocol.
I had a small try with a connection via bluetooth, it seems to work.
But I can't see the phone contents when the phone is connected via USB.
Microsoft says USB-C connections are not supported by the windows OS under windows 10 (7, 8, 8.1)...
i have the same problem
Ursus91 said:
May be I found one solution (or problem)
My computer (Lenovo Carbon X1 gen 3) is supporting "only" USB 3.0 specifications.
USB-C connection (I'm not speaking about the connector) need USB 3.1 and over specifications (thunderbolt).
So despite my device is recognized, it seams MyPhoneExplorer can't connect via USB-C protocol.
I had a small try with a connection via bluetooth, it seems to work.
But I can't see the phone contents when the phone is connected via USB.
Microsoft says USB-C connections are not supported by the windows OS under windows 10 (7, 8, 8.1)...
Click to expand...
Click to collapse
The problem is the USB C connections I have a surface and It does not recognize the USB connection due to driver error, I try to find a way with no solution, have anyone of you tried to root the phone successfully?
Ok, it works... sometimes with W8.1 x64.
In your configuration panel, open the item "Device Manager" (sorry, I've the French Version only)
In the menu "View" (Affichage, the last menu item on your right before ?) clic on Show Hidden devices
On the "Unknown device" Clic on Properties (Propriétés)
Tab Driver => Update the driver
Find a driver on my computer
Choose in a driver list on my computer
Choose USB Device and choose USB MTP or something similar.
Clic on Next. The driver will be installed
In your file manager, you can now see your phone.
If you have more than one phone, may be you have to do that each time you connect an other phone on your computer
Hope this helps you
Add-on :
Download the latest (ZTE) usb drivers. You'll find them here on XDA

How to update the radio Alps full_8227L_demo

Hello, please help with updating and where to download new software for the above-mentioned radio. Chipset AC8227L, 1/16 GB. I downloaded programming from https://forum.xda-developers.com/t/help-with-this-chinese-hu-alps-8227l_demo.3930394/ ; every time ith throws an error to let me check the usb and files. I changed 3x USB stick and memory cards, each time the same, FAT32 format.
Hi, format SD card possibly greater than 4GB with standard settings - FAT32 or ExFAT file system and deafult allocation rate.
Next, download one of firmwares that suits your device (for 8227L it has a lot of them on this forum but your device maybe have different UI than XPH.8227_8_xxxxxx mentioned in this above link).
In my oppinion the ones that will work for your model begins with XRC,CHS, JC.
Firmware for download are like this example : CHS.8227L-8.UI4.Android_10_ver.6_xxxx(date of update)
After download and unzipping two files, .bin and .upd transfer those two files on freshly formated disk, nothing else just these two files. If transfering from PC or laptop make sure that you eject the drive before pulling out from PC.
Next step is to make the unit recognize system on SD card. Put the ignition key in contact mode or better turn engine on (before that insert SD card in memory card slot, not MAP slot !) and start tapping with one finger on center on screen untill message DETECTED is seen on upper screen area. If successful it will recognize files and start automatically updating (wait till finishes and enters system / UI), if not or fails to recognize files for update repeat process two or three times untill successful.
If still nothing, enter erase mode / recovery mode (purge of internal memory and files) by tapping with all five fingers on screen. When recovery is completed (it will turn to factory settings) device will be empty of all memory tasks, prevoius configurations etc. , just clean install of Android system, running and with no apps and settings configured. Then insert SD card and try update again.
If device even won't go in recovery mode then you have some factory settings like "protection" or "install" enabled. Turn this off both in factory settings / menu OTHER.
Good luck !
Can I ask for a link where can I download the above software ? unfortunately I cant't find it in google.
full_8227L_demo-userdebug 6.0 MRA58K 1535075152 test-keys
android-trunk-m0.AC8227L-V1.0
HMI : TSKJ.C.M.F.2.02.2019.05.08.17:30
MCU: TS907.190108(H) ----> my build number
tswvola said:
Can I ask for a link where can I download the above software ? unfortunately I cant't find it in google.
full_8227L_demo-userdebug 6.0 MRA58K 1535075152 test-keys
android-trunk-m0.AC8227L-V1.0
HMI : TSKJ.C.M.F.2.02.2019.05.08.17:30
MCU: TS907.190108(H) ----> my build number
Click to expand...
Click to collapse
It's on forum here just type in search bar 8227L firmware and find best choice for you. If not found wil send you a link.
Sorry but I am not able to find the latest software compatible with my radio, there is too much of it, please help.
I will add that my radio does not have slots for SD cards and Maps, there is only a female USB input to which I can connect a USB flash drive, the device is fully touchable without buttons.
it is probably a Chinese counterfeit I bought on aliexpress, there will be a problem with the selection of the update
Similar firmware to yours is here https://drive.google.com/drive/folders/1a9yoWoiuMZRoQVL5O677Y9tmQHHAtmbo
Try to install this one it is TSKJ/CHS UI firmware for devices with 8227L chipset.
Extzract and put downloaded files onto USB drive formated for FAT 32 and try updateing.
memory formatted in FAT32, tried for two different, only two files extracted, each time in green DETECTED and after a while in red "Fail, please check USB and files", I tried several times
restoring the settings with a five-finger touch also did not work
I deleted the data to the initial state, but the update still does not start
I noticed that if I detach the USB and I make a finger movement during startup, the symptom is the same, as if I would not see the usb
Do you have install option in factory settings disabled ? Or protection option ? If do deactivate PROTECTION and enable INSTALL in factory settings (pin code) / OTHER submenu. Then try updating again.
yes, I have it done, I also entered the pin, unfortunately unchanged
Use another USB drive with 2.0 speed not 3.0 if this is the case.
Maybe it's just some stupid thing like this that is keeping you from updating.
If this not succesfull either check your device usb ports if they are working thru USB debug command in factory settings, also turn on all USB to be 2.0 and not 1.1 maybe will help somehow. I think that USB port is missconfigured and are causing not to update.
Another thing , if you have by hand any SD card and USB card reader try with that.
I have debugging turned on in the settings after entering the code 8888, and the USB is switched to 2.0, I tried with a new pendrive and with an SD card reader that I put into the USB, unfortunately still unchanged, I also changed the USB input on the back of the radio by switching the cable
I have debugging turned on in the settings after entering the code 8888, and the USB is switched to 2.0, I tried with a new pendrive and with an SD card reader that I put into the USB, unfortunately still unchanged, I also changed the USB input on the back of the radio by switching the cable
Hm, this is a hard one, has this unit of yours been rooted ?
Honestly, I don't know how can I check it? how to root?
If it turns out I have root, does that change anything?
Install from Google play any app that contains root tester and see. Yes if it is rooted device is modified and altered and do not have stock firmwares, which leads to undesired complications and problems.
If the device turns out to be root, it is possible to work around it in some way to install other software?
I checked, the app showed that my device does not have root
today I bought memory 2.0, but still unchanged, these are my settings, is everything ok?
Radio - Google Drive
drive.google.com

Categories

Resources