Does Nokia N1 got OTG support? I have Tried to connect my USB Flash through OTG cable but doesn't work for me ....
Doesn't work for me either >_<
I don't have an otg cable myself (yet) but can you try to use USB Host Diagnostics (available in play store) and post the report?
FYI I got an OTG cable myself and it didn't work. I dug a bit deeper and found out that OTG is most likely not implemented because Nokia N1 is using legacy usb controller over usb C - see below:
Converting USB 2.0 OTG SoCs to USB Type-C
While existing Device, Host, and DRD devices can be converted to support the USB Type-C connection with some effort, it is not practical to convert existing OTG SoCs. OTG requires a new state machine using the configuration channel to support USB Type-C. Host Negotiation Protocol is used to swap host and device role for OTG, while Power Delivery communication is used to change roles for USB Type-C. Combined, these challenges preclude simple upgrades of OTC SoCs to USB Type-C. - See more at: https://www.synopsys.com/Company/Pu...esign-type-c-2015q1.aspx#sthash.Ri02Guwe.dpuf
Click to expand...
Click to collapse
The only chance to get otg to work is most likely preparing a kernel patch (are the sources even available?) to manually switch the connector to host mode and power the attached device externally
After a bit of hacking around I was able to enable usb otg on my N1!
I've had a look at kernel sources for device with similar SoC (Nexus Player) and saw an interesting debugfs entry. To my surprise it worked like a charm and immediately detected the attached usb hub with a thumb drive, it even powered the hub so I didn't have to use an external power source!
To enable host mode, the following command has to be enterted in root console:
echo A > /sys/kernel/debug/usb/dwc3_debugfs_root/otg_id
Caveats (will try to find a way to resolve them):
- after enabling host mode N1, won't charge from the usb port - a reboot is required to enable the charging again
- probably same is true for pheripherial mode (connecting n1 to a pc). In theory, changing a to b in the above echo command should bring the tablet back to normal mode but for some reason it won't charge without a reboot so I'm assuming that same is true for non otg usb connectivity. Will have a look at the sources and debug messages to find out what's going on
wodz69 said:
After a bit of hacking around I was able to enable usb otg on my N1!
I've had a look at kernel sources for device with similar SoC (Nexus Player) and saw an interesting debugfs entry. To my surprise it worked like a charm and immediately detected the attached usb hub with a thumb drive, it even powered the hub so I didn't have to use an external power source!
To enable host mode, the following command has to be enterted in root console:
echo A > /sys/kernel/debug/usb/dwc3_debugfs_root/otg_id
Caveats (will try to find a way to resolve them):
- after enabling host mode N1, won't charge from the usb port - a reboot is required to enable the charging again
- probably same is true for pheripherial mode (connecting n1 to a pc). In theory, changing a to b in the above echo command should bring the tablet back to normal mode but for some reason it won't charge without a reboot so I'm assuming that same is true for non otg usb connectivity. Will have a look at the sources and debug messages to find out what's going on
Click to expand...
Click to collapse
Thanks for your hard job.
I have tried on my N1. It is amazing that otg did work. However, the otg can not coexist with charging function as yours. Hope someone could find a solution.
adagiov said:
Thanks for your hard job.
I have tried on my N1. It is amazing that otg did work. However, the otg can not coexist with charging function as yours. Hope someone could find a solution.
Click to expand...
Click to collapse
Hey,
Are you on Android 5.1.1 or 5.0 ?
I've had a look at the code of the usb driver of the a phone with similar chipset (asus zenfone 5) and it seems that the source of the problem is that the tablet fails to detect an appropriate charger type, which could mean either that the otg cable does not support this or the code of the driver does not work properly with usb C. Was wondering if something changed around this after the update?
wodz69 said:
Hey,
Are you on Android 5.1.1 or 5.0 ?
I've had a look at the code of the usb driver of the a phone with similar chipset (asus zenfone 5) and it seems that the source of the problem is that the tablet fails to detect an appropriate charger type, which could mean either that the otg cable does not support this or the code of the driver does not work properly with usb C. Was wondering if something changed around this after the update?
Click to expand...
Click to collapse
Hi, mine N1 is still running the android 5.0.
I am afraid Root is the prerequisite to hack otg. Unfortunately, root is not available on android 5.1.1 till now, so even the android 5.1.1 driver support it, that won't help.
Thanks,dude.
Yeah exactly for that reason I haven't upgraded my tablet yet
my a2 lite does not connet to my pc, I have installed drivers, put it on usb debug, but my pc does not recognize de phone, I have tried different usb ports and cables with no success, it does charge eventually with some cables, but I don't know if this is hardware problem or there is any setting I am missing, it does not give me any choice of chosing the usb kind of conection
it is a new phone just prepped for everyday use, not hacked or modded in any way
USB OTG is working but only reading, I cannot write in external usb drive with es file explorer, or the includer file aplication, it says unsupported operation
any help?
Set hardware id in the adb_usb.ini file perhaps
cpu004 said:
Set hardware id in the adb_usb.ini file perhaps
Click to expand...
Click to collapse
thank you, but I cannot acces from adb as there is absolutely no conection from my computer, it only starts charging but as if it were just a charger, there is no usb mode options avalaible y my phone, and the pc does not recognize anything conected
I have tried to connect with another computer with the same results, it only gets power, but no data comunication whatsoever
as nobody gives any clue or info about some hidden setting, I must assume this is another case of bad quality control in xiaomi products, I will check with the seller
Did you specifically set file transfer mode via the notification drawer or left it on charge only?
cpu004 said:
Did you specifically set file transfer mode via the notification drawer or left it on charge only?
Click to expand...
Click to collapse
the phone does not detect either that it is connected to a computer, so the notification to select the mode of connection does not even show
I have tried usb otg and I can read fine but I cannot write at all in a pendrive
I have installed also an sd card as internal memory and have storage errors all the time so I have removed it
I have tried also conection in fastboot mode but the computer still does not recognize anything connected
I have uses several cables, usb ports and even 2 different pc with same results
My only guess is that there were some hidden config setting that is messing with the phone, that's the reason I am asking before going to the seller.
Seems like a broken USB pin then
cpu004 said:
Seems like a broken USB pin then
Click to expand...
Click to collapse
an usb pin should not affect internal sd memory, and usb does not work like water pipes, one pin data in one pin data out, they need both data pins for reading also, so as it can read from pendrive the problem is somewhere else, not in the connector.
This could be a hardware problem. Have you tried to connect it to another computer?
I have already tried on 3 diferent computers with same results. The only diference so far is that it actually does not read either the content of a pendrive connected through OTG, the first day it read it, now it only detects but reads nothing.
Also when sd is configured as internal memory, instead of reading internal memory, that seems to be the normal result, I can read only the sd card with android file explorers
I have the same problem.
No connection data with pc/mac, it only charges.
I'm italian and like many other italians, I've also the problem with Sim slot 2 with no connect..
robiox said:
I have the same problem.
No connection data with pc/mac, it only charges.
I'm italian and like many other italians, I've also the problem with Sim slot 2 with no connect..
Click to expand...
Click to collapse
It is good to know I am not the only one.
F**k, this phone starts to look like a piece of garbage I dont connect to USB, I dont use SD not 2nd sim, so I did not experience these issues, but, f**k again..
Have you tried rebooting? Press the power button for 15secs. to power it off. Use another cable, use another PC, make sure the cable is plugged in properly... bla bla bla. Oh, have you tried placing the phone into a dry rice bowl? Haha (sorry, I had to). I'm sure you've tried it all.
So, I have not much to say. Only that I had a similar problem with a Moto G after I flashed a LineageOS ROM. It worked fine before, but with the new ROM, the USB didn't work at all (it could only read OTG). It was stuck in the "charging" mode. No notification nor option to turn it to file transfer. The PC didn't recognise it at all, either.
Solution? Initially, I turned on USB debuging option and the PC saw the phone (on windows device manager, it was there, but not on MyPc). It was some advance. I can't remember if adb detected it.
Final solution? Luckily my phone was rooted and had a custom recovery, so I could easily flash the same ROM from the TWRP recovery and everything works fine now.
You might try using Xiaomi's flash tool to try to flash the orginal ROM again IF the phone is recognised by the tool (try if it can see the phone) http://en.miui.com/download-354.html
And I suggest contacting Xiaomi for a warranty claim if needed, 'cause it looks like a harware problem (a pin the the microUSB port issue). But be ready to answer the questions posted above several times haha.
Good luck!
adriakus said:
Have you tried rebooting? Press the power button for 15secs. to power it off. Use another cable, use another PC, make sure the cable is plugged in properly... bla bla bla. Oh, have you tried placing the phone into a dry rice bowl? Haha (sorry, I had to). I'm sure you've tried it all.
So, I have not much to say. Only that I had a similar problem with a Moto G after I flashed a LineageOS ROM. It worked fine before, but with the new ROM, the USB didn't work at all (it could only read OTG). It was stuck in the "charging" mode. No notification nor option to turn it to file transfer. The PC didn't recognise it at all, either.
Solution? Initially, I turned on USB debuging option and the PC saw the phone (on windows device manager, it was there, but not on MyPc). It was some advance. I can't remember if adb detected it.
Final solution? Luckily my phone was rooted and had a custom recovery, so I could easily flash the same ROM from the TWRP recovery and everything works fine now.
You might try using Xiaomi's flash tool to try to flash the orginal ROM again IF the phone is recognised by the tool (try if it can see the phone) http://en.miui.com/download-354.html
And I suggest contacting Xiaomi for a warranty claim if needed, 'cause it looks like a harware problem (a pin the the microUSB port issue). But be ready to answer the questions posted above several times haha.
Good luck!
Click to expand...
Click to collapse
I have done all your sugestions previously, even reseting phone with a new gmail account so no config setting from other phone could interfere, I have also tried fastboot, but although phones goes to fast boot mode the pc does not recognize connection either
it is not an usb pin issue, tried 6 cables, 4 computers, 10 or more usb 2 an 3 ports, I am negotianting in aliexpress a refund, we'll see
If I go into recovery mode with power vol+ a broken android appears.
elsita said:
I have done all your sugestions previously, even reseting phone with a new gmail account so no config setting from other phone could interfere, I have also tried fastboot, but although phones goes to fast boot mode the pc does not recognize connection either
it is not an usb pin issue, tried 6 cables, 4 computers, 10 or more usb 2 an 3 ports, I am negotianting in aliexpress a refund, we'll see
If I go into recovery mode with power vol+ a broken android appears.
Click to expand...
Click to collapse
I don't know if you already did this, but try using a PC with Linux (you can use Ubuntu without installing it on the PC, then install the fastboot package).
Hi,
I had no problem with fastboot and adb with Mac!
Phone recognized by the machine and do transfer boot.img for magisk...
Now I Win!
I can see the internal memory with Android File Transfer (Trasferimento File Android in italian!) - this is the link https://www.android.com/filetransfer/.
My version of Build is V.9.6.8.0.
Solution:
- Connect the phone to pc/mac;
- Go to: Settings -> System -> Developer Options -> Select USB Configuration -> select first "Charge" and then "MTP" (Media Transfer Protocol)
- The system recognize the phone!
[for italian, like me, andare su Impostazioni -> Opzioni Sviluppatore -> Seleziona Configurazione USB -> scegliere "Ricarica" e poi "MTP" (Media Transfer Protocol) ]
robiox said:
Hi,
I had no problem with fastboot and adb with Mac!
Phone recognized by the machine and do transfer boot.img for magisk...
Now I Win!
I can see the internal memory with Android File Transfer (Trasferimento File Android in italian!) - this is the link https://www.android.com/filetransfer/.
My version of Build is V.9.6.8.0.
Solution:
- Connect the phone to pc/mac;
- Go to: Settings -> System -> Developer Options -> Select USB Configuration -> select first "Charge" and then "MTP" (Media Transfer Protocol)
- The system recognize the phone!
[for italian, like me, andare su Impostazioni -> Opzioni Sviluppatore -> Seleziona Configurazione USB -> scegliere "Ricarica" e poi "MTP" (Media Transfer Protocol) ]
Click to expand...
Click to collapse
somehow i was able to connect through fastboot with the help os some advanced users, I unlocked boot and managed to flash original firmware using fastboot mode, the result: no usb connection, no pendrive otg, sd card as internal memory gives storage errors all the time ...
so the phone is faulty, now I am at aliexpress hands claiming for a refund and send back phone
elsita said:
somehow i was able to connect through fastboot with the help os some advanced users, I unlocked boot and managed to flash original firmware using fastboot mode, the result: no usb connection, no pendrive otg, sd card as internal memory gives storage errors all the time ...
so the phone is faulty, now I am at aliexpress hands claiming for a refund and send back phone
Click to expand...
Click to collapse
Where are you from? Where did did you purchase the phone (the actual store, is it in China)? Depending on where are you from and what country did you buy the phone from, by law, you'll get manufacturer warranty. So, any "official" distributor in your country will have to provide a warranty solution for you. If Ali Express is unable to provide you with a solution, look into that.
Let us know how it work out for you
adriakus said:
Where are you from? Where did did you purchase the phone (the actual store, is it in China)? Depending on where are you from and what country did you buy the phone from, by law, you'll get manufacturer warranty. So, any "official" distributor in your country will have to provide a warranty solution for you. If Ali Express is unable to provide you with a solution, look into that.
Let us know how it work out for you
Click to expand...
Click to collapse
I am from Spain, and the aliexpress seller has store in Spain, but you know how chinese vendors act ... no agreement so far, and now aliexpress decides, whenever they turn back to work, because China as you may know is a whole year vacation place for workers ...
As stated in the title, When I plug my phone into a computer, it only charges. The dropdown menu allowing you to select different options (MTP, only charge, etc) never appears.
Things I have tried :
- Cleaning out the USB charging port
- Multiple reboots (with airplane mode, without, with USB debugging on/off)
- Using different cables (2 of which I am sure can be used to transfer data as I've done it in the past)
- Different computers (My laptop has debian, desktop has windows 7. Also tried on a windows 10 computer)
- Updating firmware to 8.4.19 (recommended firmware for multiple ROMS)
- Dirty flashing to final Ressurection Remix release from a July nightly
- Searching google and crying
I would like to Format data and try another ROM, but without USB transfer and ADB sideload, my hands are kinda tied.
Anyone have any suggestions as to what I can try ? Part of me thinks its a software issue because the usb-c cables fit in so tightly and snug inside the port. In the mean time, I've ordered a new charging port from aliexpress. I'm hoping I don't have to open up my phone though.
Thank you for your suggestions !
LittleW0lf said:
As stated in the title, When I plug my phone into a computer, it only charges. The dropdown menu allowing you to select different options (MTP, only charge, etc) never appears.
Things I have tried :
- Cleaning out the USB charging port
- Multiple reboots (with airplane mode, without, with USB debugging on/off)
- Using different cables (2 of which I am sure can be used to transfer data as I've done it in the past)
- Different computers (My laptop has debian, desktop has windows 7. Also tried on a windows 10 computer)
- Updating firmware to 8.4.19 (recommended firmware for multiple ROMS)
- Dirty flashing to final Ressurection Remix release from a July nightly
- Searching google and crying
I would like to Format data and try another ROM, but without USB transfer and ADB sideload, my hands are kinda tied.
Anyone have any suggestions as to what I can try ? Part of me thinks its a software issue because the usb-c cables fit in so tightly and snug inside the port. In the mean time, I've ordered a new charging port from aliexpress. I'm hoping I don't have to open up my phone though.
Thank you for your suggestions !
Click to expand...
Click to collapse
Use an usb otg with a usb stick memory and see if your phone recognize it. I'm using otg to flash roms and firmware via TWRP.
mArIuS% said:
Use an usb otg with a usb stick memory and see if your phone recognize it. I'm using otg to flash roms and firmware via TWRP.
Click to expand...
Click to collapse
Thank you for the suggestion. I don't have one, but I suppose if I can find a cheap one it's worth a shot !
I also just realised I can plug in the little dongle and listen to music through wired headphones... Strange !
LittleW0lf said:
As stated in the title, When I plug my phone into a computer, it only charges. The dropdown menu allowing you to select different options (MTP, only charge, etc) never appears.
Things I have tried :
- Cleaning out the USB charging port
- Multiple reboots (with airplane mode, without, with USB debugging on/off)
- Using different cables (2 of which I am sure can be used to transfer data as I've done it in the past)
- Different computers (My laptop has debian, desktop has windows 7. Also tried on a windows 10 computer)
- Updating firmware to 8.4.19 (recommended firmware for multiple ROMS)
- Dirty flashing to final Ressurection Remix release from a July nightly
- Searching google and crying
I would like to Format data and try another ROM, but without USB transfer and ADB sideload, my hands are kinda tied.
Anyone have any suggestions as to what I can try ? Part of me thinks its a software issue because the usb-c cables fit in so tightly and snug inside the port. In the mean time, I've ordered a new charging port from aliexpress. I'm hoping I don't have to open up my phone though.
Thank you for your suggestions !
Click to expand...
Click to collapse
Even if you are inside TWRP/fastboot mode the computers don't recognize it?
xikz said:
Even if you are inside TWRP/fastboot mode the computers don't recognize it?
Click to expand...
Click to collapse
Nope, I can't see anything. It wasn't the case before, I used to transfer ROMS while twrp was loaded, no problem
So I just changed the physical piece (charging port) with a non-oem one, and nothing changed. Still charges, but won't connect to PC. I'm lost as to what I can now do
mArIuS% said:
Use an usb otg with a usb stick memory and see if your phone recognize it. I'm using otg to flash roms and firmware via TWRP.
Click to expand...
Click to collapse
Tried OTG, I only get the "USB supplying power to attached device" notification. You reckon if I "hide" a rom in the / folder or some other top level folder, I can go ahead and format data and wipe everything. I wouldn't delete the Rom in the process ?
LittleW0lf said:
Tried OTG, I only get the "USB supplying power to attached device" notification. You reckon if I "hide" a rom in the / folder or some other top level folder, I can go ahead and format data and wipe everything. I wouldn't delete the Rom in the process ?
Click to expand...
Click to collapse
Put a rom on usb stick, reboot phone into TWRP, connect USB-OTG to the phone, get the stick into otg and go to install -> select storage -> usb otg (hit it) install the rom.
If your phone can detect the otg you should be able to install rom and firmware.
mArIuS% said:
Put a rom on usb stick, reboot phone into TWRP, connect USB-OTG to the phone, get the stick into otg and go to install -> select storage -> usb otg (hit it) install the rom.
If your phone can detect the otg you should be able to install rom and firmware.
Click to expand...
Click to collapse
I tried that. It won't let me mount in TWRP. When i'm booted in the OS, only power is transfered through USB when I connect a usb key using the OTG dongle. No data. Oh well. Can't say I didn't try. At least the rom I'm using is good. I just wanted to upgrade to android 9.0 but it seems like that won't be happening.
LittleW0lf said:
I tried that. It won't let me mount in TWRP. When i'm booted in the OS, only power is transfered through USB when I connect a usb key using the OTG dongle. No data. Oh well. Can't say I didn't try. At least the rom I'm using is good. I just wanted to upgrade to android 9.0 but it seems like that won't be happening.
Click to expand...
Click to collapse
Seems you're phone usb port it's broken....you will be stuck on current rom. It's a pity that xiaomi didn't put an sd card slot......