Turn on samsung J7 when plugged into usb - Android Auto General

Hi. I want to permanently leave the cell phone connected in the car, but I want it to turn on when the usb port detects voltage. (That is, it turns on when the cell phone starts to charge).
I have tried replacing the contents of the LPM file with this:
#! / system / bin / sh
/ system / bin / restart
https://forum.xda-developers.com/showthread.php?t=1187631
But it has not worked for me.
Does anyone know how I could do it?
Thank you
Alexander

Related

PC cant find my device

Hi, i was using a custom ROM on my GT-i9000B. Few days ago, my windows stop recognizing my phone.
I plugged a SGS SII and a Galaxy W at my PC, after that I wasnt able to find my own phone using USB.
I did a system factory reset. Now I am at stock 2.2.1 and I still cant connect it using USB. adb devices doesnt show nothing. Odin shows nothing too.
I also try reinstall kies and samsung usb drivers.
Alog cat shows:
E/MTPRx ( 4020 ) Battery charging. plugType = 1
E/MTPRx ( 4020 ) Not of USB charging. DOnt launch MTP APP
Can anyone help me?
What does your Windows Device Manager show?
it shows nothing... ;(
my friends can use their phone here. THey have a Xperia S and a sgs W.
I am not able to use my GT-I9000B. Now I cannot even change my ROM cause odin is not able to find it! ;(((((
Try in order:
1) Use other USB port on your PC, preferred is on the motherboard (back side of the case) if it's desktop.
2) Use other USB cable.
3) Use other PC.
4) Check if charging works from PC
5) Check if charging works from charger
1) I am using a notebook asus A42F I tried on 3 USB ports
2) I have 2 original samsung usb cables
3) I tried at my friends pcs and it failed too. At mine pc, when I plug the phone at my notebook , it plays a sound but it didn´t show the phone and the internal sd cards. ;(
4) charge works from usb cable
5 ) charge works from power charger
thanks
sektorNBA said:
3) I tried at my friends pcs and it failed too. At mine pc, when I plug the phone at my notebook , it plays a sound but it didn´t show the phone and the internal sd cards. ;(
Click to expand...
Click to collapse
Plays a sound on PC or on the phone?
If it is only a phone playing the sound (charging start) then I'd suspect some failure (dust particles or broken connection) in the phone's USB connector - please take a look in to the phone usb socket - does it look ok, are there any bent pins, some large particles etc?
It seems its all ok.
I am worried about what alogcat shows.
E/MTPRX Intent Action android.intent.action.ACTION_POWER_CONNECTED
E/Setting Battery charging. plugtype = 1
E/Setting Not of USB charging. Dont Lauch MTP APP
I guess i will upload a new rom to my phone using wifi and update it from cwm.
I read about some roms on that format update.zip.
WHat do u think?
I put my device at download mode and odin is not able to show it.
Is it ****ed?
This log part looks like charger connection.
So looks like although Ground and +5V connections are ok - otherwise there'd be no charging, two other wires - data connection are not connected or are shorted.
See e.g. http://forum.xda-developers.com/showthread.php?t=799160
http://forum.xda-developers.com/showthread.php?t=910931
http://forum.xda-developers.com/showthread.php?p=12593413#post12593413
But I can't be 100% sure of course, might as well be a software glitch, so you may try usual routine - wipe cache partition, flash some good stock rom?
STill the same problem
Alog cat shows:
E/MTPRx ( 4020 ) Battery charging. plugType = 1
E/MTPRx ( 4020 ) Not of USB charging. DOnt launch MTP APP
Did your previous ROM have fast charge? Did you ever enable it?

Note 5 USB Port Not Working Except for Slow Charging

I have researched the issue of my Note 5just being able to slow charge via USB, and not be able to do anything else. I have tried all the proposed solutions I found, but can not fix the issue. The things that I have noticed to not work are:
Fast Charge: Cable and USB charging is detected, but cannot fast charge. I have tried the same charger and cable on other S7 edge, and it able to Fast charge. Fast charging is enabled in the battery menu
Connect to PC: Whenever connected to any PC, the PC shows “USB Device Not Recognized." I have the latest version of Smart Switch and the latest drivers. I have tried multiple computers and windows 7, 8 and 10. I have also tried to connect to the PC when the phone is in Download and Recovery mode and get the same error.
Connect to any OTG peripheral: Nothing is detected by the Note 5. Same cable working on other device.
Connect to Gear VR: When connecting to Gear VR, it gives the chime, the black screen with the little x in the corner appears for a second and then it goes back to the home screen.
What I have tried to do to fix:
Different cables/chargers/USB ports
Checked if any of the 5 pins are broken in the cable
I have lifted the tongue of the charging port in the phone via tooth pick
Done a factory reset
Any insight on this issue would be appreciated.
Thanks
musab_bari said:
I have researched the issue of my Note 5just being able to slow charge via USB, and not be able to do anything else. I have tried all the proposed solutions I found, but can not fix the issue. The things that I have noticed to not work are:
Fast Charge: Cable and USB charging is detected, but cannot fast charge. I have tried the same charger and cable on other S7 edge, and it able to Fast charge. Fast charging is enabled in the battery menu
Connect to PC: Whenever connected to any PC, the PC shows “USB Device Not Recognized." I have the latest version of Smart Switch and the latest drivers. I have tried multiple computers and windows 7, 8 and 10. I have also tried to connect to the PC when the phone is in Download and Recovery mode and get the same error.
Connect to any OTG peripheral: Nothing is detected by the Note 5. Same cable working on other device.
Connect to Gear VR: When connecting to Gear VR, it gives the chime, the black screen with the little x in the corner appears for a second and then it goes back to the home screen.
What I have tried to do to fix:
Different cables/chargers/USB ports
Checked if any of the 5 pins are broken in the cable
I have lifted the tongue of the charging port in the phone via tooth pick
Done a factory reset
Any insight on this issue would be appreciated.
Thanks
Click to expand...
Click to collapse
Have you tried different 2A charging bricks? A regular 1A charger would still take a long time to fully chargeNote5.
You could also be looking a bad USB-port or a faulty battery, both of which would be covered under warranty provided no large physical damage is evident on your device.
Thanks for the reply. I have tried the original Samsung charger, 2A, 1A, and 0.5A charging bricks, but the phone shows either Cable or USB charging.
About the faulty battery, will that cause the PC and other peripherals to not detect the phone?
musab_bari said:
I have researched the issue of my Note 5just being able to slow charge via USB, and not be able to do anything else. I have tried all the proposed solutions I found, but can not fix the issue. The things that I have noticed to not work are:
Fast Charge: Cable and USB charging is detected, but cannot fast charge. I have tried the same charger and cable on other S7 edge, and it able to Fast charge. Fast charging is enabled in the battery menu
Connect to PC: Whenever connected to any PC, the PC shows “USB Device Not Recognized." I have the latest version of Smart Switch and the latest drivers. I have tried multiple computers and windows 7, 8 and 10. I have also tried to connect to the PC when the phone is in Download and Recovery mode and get the same error.
Connect to any OTG peripheral: Nothing is detected by the Note 5. Same cable working on other device.
Connect to Gear VR: When connecting to Gear VR, it gives the chime, the black screen with the little x in the corner appears for a second and then it goes back to the home screen.
What I have tried to do to fix:
Different cables/chargers/USB ports
Checked if any of the 5 pins are broken in the cable
I have lifted the tongue of the charging port in the phone via tooth pick
Done a factory reset
Any insight on this issue would be appreciated.
Thanks
Click to expand...
Click to collapse
Same happened to me two days ago. I restored an old backup, done a factory reset and restored my actual rom again and problem solved. Idk what the problem was related to. Try wiping cache again, maybe it helps.
mansillaluis said:
Same happened to me two days ago. I restored an old backup, done a factory reset and restored my actual rom again and problem solved. Idk what the problem was related to. Try wiping cache again, maybe it helps.
Click to expand...
Click to collapse
I have done a wipe from TWRP, but the issue was not fixed. I can not change ROMs etc as I can not connect the Note 5 to the PC via USB cable, even in TWRP.
Was your phone just not Fast Charging, or it wasn't being recognized by the PC, etc.
Thanks
Actually y have the same problem, unfortunately I don't have root access.
Try the app called USB host check, maybe they can help you.
Is not possible to me because the PC don't detect the phone connection and obviously I can't make the root.
musab_bari said:
I have researched the issue of my Note 5just being able to slow charge via USB, and not be able to do anything else. I have tried all the proposed solutions I found, but can not fix the issue. The things that I have noticed to not work are:
Fast Charge: Cable and USB charging is detected, but cannot fast charge. I have tried the same charger and cable on other S7 edge, and it able to Fast charge. Fast charging is enabled in the battery menu
Connect to PC: Whenever connected to any PC, the PC shows “USB Device Not Recognized." I have the latest version of Smart Switch and the latest drivers. I have tried multiple computers and windows 7, 8 and 10. I have also tried to connect to the PC when the phone is in Download and Recovery mode and get the same error.
Connect to any OTG peripheral: Nothing is detected by the Note 5. Same cable working on other device.
Connect to Gear VR: When connecting to Gear VR, it gives the chime, the black screen with the little x in the corner appears for a second and then it goes back to the home screen.
What I have tried to do to fix:
Different cables/chargers/USB ports
Checked if any of the 5 pins are broken in the cable
I have lifted the tongue of the charging port in the phone via tooth pick
Done a factory reset
Any insight on this issue would be appreciated.
Thanks
Click to expand...
Click to collapse
I have the same issue tried the same fixes. No luck. Have you found a solution please?
I ultimately had to change the motherboard. Changing the charging port did nothing.
However, I suspect it was a corrupted firmware. If you can somehow flash a latest stock firmware and check, that would be great.
In trying to fix the firmware I had corrupted Stock ROM. Since I could only use WiFi to transfer files via WiFi FTP type apps, and I didn't have a working ROM backup on my phone, after the Stock ROM was corrupted, I could not upload any new files to flash with TWRP so I had to change the motherboard.
musab_bari said:
I ultimately had to change the motherboard. Changing the charging port did nothing.
However, I suspect it was a corrupted firmware. If you can somehow flash a latest stock firmware and check, that would be great.
In trying to fix the firmware I had corrupted Stock ROM. Since I could only use WiFi to transfer files via WiFi FTP type apps, and I didn't have a working ROM backup on my phone, after the Stock ROM was corrupted, I could not upload any new files to flash with TWRP so I had to change the motherboard.
Click to expand...
Click to collapse
Hi, i have the same issue as you, i'm currently thinking try to fix this by replacing the usb charging port circuit board, you think this should work or not??
lotharient said:
Hi, i have the same issue as you, i'm currently thinking try to fix this by replacing the usb charging port circuit board, you think this should work or not??
Click to expand...
Click to collapse
If you see the "USB Device Not Recognized" message when you connect to the PC, then I think the charging port is fine. It is some issue with the firmware as phone is not able to provide the correct PID and VID to the peripheral devices to identify itself. The charging port and its circuit doesn't hold that info. If possible, try to flash a stock firmware from TWRP as ODIN will not work (I am not aware of the exact procedure). Just MAKE SURE you have make a backup of your current setup and leave it on the phone as if you have an unsuccessful flash, you will not be able to use ODIN or ADB as your cable will not work.
musab_bari said:
If you see the "USB Device Not Recognized" message when you connect to the PC, then I think the charging port is fine. It is some issue with the firmware as phone is not able to provide the correct PID and VID to the peripheral devices to identify itself. The charging port and its circuit doesn't hold that info. If possible, try to flash a stock firmware from TWRP as ODIN will not work (I am not aware of the exact procedure). Just MAKE SURE you have make a backup of your current setup and leave it on the phone as if you have an unsuccessful flash, you will not be able to use ODIN or ADB as your cable will not work.
Click to expand...
Click to collapse
I've messed up, I've already clear the cache, Dalvik , Data and System without having backup Rom/firmware in my internal memory. I've try using OTG. Still no hope. Twrp won't regconized it. :crying:
If there no hope to solve this... I think ,I will sell my note5 for replacement parts , sadly.
lotharient said:
I've messed up, I've already clear the cache, Dalvik , Data and System without having backup Rom/firmware in my internal memory. I've try using OTG. Still no hope. Twrp won't regconized it. :crying:
If there no hope to solve this... I think ,I will sell my note5 for replacement parts , sadly.
Click to expand...
Click to collapse
I got into the same problem. I then ordered a replacement motherboard from China and installed it. After that it is working flawlessly.
I'm in same predicament pc won't recognize phone and charging is extremely slow. Attempting to restore old twrp backup or flash older firmware. Crossing fingers
lotharient said:
I've messed up, I've already clear the cache, Dalvik , Data and System without having backup Rom/firmware in my internal memory. I've try using OTG. Still no hope. Twrp won't regconized it. :crying:
If there no hope to solve this... I think ,I will sell my note5 for replacement parts , sadly.
Click to expand...
Click to collapse
Are you still interested in selling the phone?
Same problem but with 2 phones
My note 5 and my friends S6 edge were totally fine, but on our farm (which now i found that has a low voltage eccentricity at around 190 V), we put them on my charger (the original charger that came with the note 5) and both of our phones now have the same problem, they charge very slowly ( up to 6 hrs for a full charge) and are not detected by any pc using 3 cables that work with other phones normally, the charger itself is okay, and works well with other devices (at home of course, and fast charge works with other devices).
I have tried everything, restart, safe mode, delete cache, charge while its off.. with a number of chargers and cables, it does not make any difference.
If any one knows how to fix this, your help is appreciated.
Mine is a little different, My Note5 is not charging at all via USB but works fine with wireless charging. In short, even if i plugged it via PC or via charger, it does not charge anymore.
But I noticed something, when I am in TWRP recovery, my USB OTG drive is readable and when i am in download mode, Odin reconizes the Note5's COM port. I did a reflash of the stock ROM hoping this will do the trick. but it failed. still does not charge at all via USB.
Can anyone help me with this? Thanks in advance. all answers appreciated.
this seems like you have faulty usb port .

Can I turn on usb file transfer on a Galaxy Note 5 with a broken screen?

Hi,
I am in dire need of assistance. My note 5 fell from about 30 meters and the screen was BROKEN and actually was SEPARATED from the body of the phone. To my utter amazement, the phone is still working. The phone charges normally, can be powered on and shutdown, can be unlocked by connecting a keyboard through an OTG cable, the speaker still works, and the vibration still works. There is no custom recovery on the phone and it's not rooted
I desperately need the data that's on the phone. I have tried using smart switch but it shows a message telling me that "USB file transfer" is not allowed. I tried using ADB but the phone is not detected when I use the adb devices command
All I need is a way to enable usb file transfer so I can backup the data on the phone using smart switch or a way to copy all the files from the phone.
CAN ANYBODY HELP ME?

[Q] How to turn on then charger is connected?

I would like to use my old Nexus One as car computer / navigator.
Is there a possibility to turn device on automatically then charger is connected?
I heard for other devices it can be done after modification of init.rc - 'on charger' section.
But thwere is no such section in my init.rc, even than I added it manually - no success.
It has CM7 installed but I can upgrade it if it's possible on higest version of Android.
Please help.

USB connection to PC - only charging

Dear All,
Yesterday I switched on my old Pixel 4a5G then connected to the PC and... nothing happened.
I dont have any notification on Windows (even on Ubuntu) about new device (checked also device manager) and the same on the Pixel.
Phone only charged.
I decided to check another cables and I had the same result. I even bought new cable USB Ato C 3.2 gen 1 and still nothing only charging.
I checked on another PC the same - only charging my device and no connection. Of course I switched on usb debugging on Developer Mode and USB/Android Auto File Transfer option, even PTP doesen't work.
So I had:
- no notification about USB connection on the Pixel
- no notification about new device on the Windows (missing sound , no device Android or another name in Device Manager on the Windows)
I switched Pixel in safe mode - the same result
I connected to the Pixel my WD SE protable hard drive and... I had notification about USB device, I opened it and had two options:
- This device (which was choosen)
- Connected Device
rest like File Transfer, Connection Thetering were grayed out
I choose Connected Device and there was an info "switching" and after couple seconds "cound not switch..."
If anyone had the same problems? could be software problem or USB port broken on the Pixel?
I have latest updates installed on the Pixel. I did Factory Reset but nothing changed. Even on Fastboot mode Windows didn't recognize device (no sound nothing)
Xrzysioo said:
Dear All,
Yesterday I switched on my old Pixel 4a5G then connected to the PC and... nothing happened.
I dont have any notification on Windows (even on Ubuntu) about new device (checked also device manager) and the same on the Pixel.
Phone only charged.
I decided to check another cables and I had the same result. I even bought new cable USB Ato C 3.2 gen 1 and still nothing only charging.
I checked on another PC the same - only charging my device and no connection. Of course I switched on usb debugging on Developer Mode and USB/Android Auto File Transfer option, even PTP doesen't work.
So I had:
- no notification about USB connection on the Pixel
- no notification about new device on the Windows (missing sound , no device Android or another name in Device Manager on the Windows)
I switched Pixel in safe mode - the same result
I connected to the Pixel my WD SE protable hard drive and... I had notification about USB device, I opened it and had two options:
- This device (which was choosen)
- Connected Device
rest like File Transfer, Connection Thetering were grayed out
I choose Connected Device and there was an info "switching" and after couple seconds "cound not switch..."
If anyone had the same problems? could be software problem or USB port broken on the Pixel?
I have latest updates installed on the Pixel. I did Factory Reset but nothing changed. Even on Fastboot mode Windows didn't recognize device (no sound nothing)
Click to expand...
Click to collapse
could very well be the phones usb port i had one similar on a htc u11 that acted the same,the only way to know for sure is to replace it or try cleaning it really goor with a squished qtip ,, lol
hammered58 said:
could very well be the phones usb port i had one similar on a htc u11 that acted the same,the only way to know for sure is to replace it or try cleaning it really goor with a squished qtip ,, lol
Click to expand...
Click to collapse
I will send it to the service to check it and replace
Mine stopped connecting to PC after Nov2022 security update, still will not connect & Google dont want to know, they just shut threads down.
Hi !
I have had the same problem for a long time !!! No more notifications to choose it when connect my Pixel to PC !!? no Pop-up to choose "Connection, Photo Transfer, Charge, etc..."
The simplest solution is to connect the Pixel via USB to the PC/MAC then open Settings/Connected Devices/USB/ To finally access to choose "File Transfer, Connection Sharing, Midi, Etc..." menu.
Do not forget to first activate the developer mode and USB debugging.
But I don't understand why I never see the notification to choose

Categories

Resources