I've turned on the developer options and can enable the USB Debugging option to be able to use Titanium backup. However I notice when I reboot the device it gets disabled again. Does anyone know of something/somehow to ensure it's enabled on boot?
Thanks!
---Eric
Got it, need root shell of course:
- Remount /system in readwrite mode.
- Add this to /system/build.prop: persist.service.adb.enable=1
- Save, remount as read only.
- Reboot.
Well...didn't really work...though it did, any ideas? USB debugging for me has to be manually picked each time.
So what seems to work for me upon reboot is that I use SManager and have a script run as root at boot up:
#!/system/bin/sh
echo 1 > /data/property/persist.service.adb.enable
This seems to enable USB debugging upon each boot. The build.prop worked once, but did not seem to keep it enabled.
Any chance anyone else has come up wth a different way to retain USB debugging on reboot? I just had to rebuilt my phone from scratch by restoring from stock and executing a script at boot up could potentially be fatal. I'm a linux admin so I do know what I am doing but without a unlocked bootloader and the ability to recover from a CWM backup, I'd rather not mess with the OS too much if possible.
x86cpu said:
So what seems to work for me upon reboot is that I use SManager and have a script run as root at boot up:
#!/system/bin/sh
echo 1 > /data/property/persist.service.adb.enable
This seems to enable USB debugging upon each boot. The build.prop worked once, but did not seem to keep it enabled.
Click to expand...
Click to collapse
JCDinPGH said:
Any chance anyone else has come up wth a different way to retain USB debugging on reboot? I just had to rebuilt my phone from scratch by restoring from stock and executing a script at boot up could potentially be fatal. I'm a linux admin so I do know what I am doing but without a unlocked bootloader and the ability to recover from a CWM backup, I'd rather not mess with the OS too much if possible.
Click to expand...
Click to collapse
I use Tasker with the secure plugin.
It allows turning on USB Debugging. I use it to turn on USB Debugging as a condition after boot.
Also the worst case with a script, you re-install/flash the OS.
I've reinstalled my Verizon LG G3 from stock ROM twice now. The first time I rooted it with IOROOT and the USB debugging option stays enabled after reboot. The second time I rooted it with Stump root and the USB debugging option does not stay enabled after reboot. No idea what is different between them but maybe someone else can dig through and figure it out.
I have the same problem, when I reboot the phone and open titanium backup.
tech_head said:
I use Tasker with the secure plugin.
It allows turning on USB Debugging. I use it to turn on USB Debugging as a condition after boot.
Also the worst case with a script, you re-install/flash the OS.
Click to expand...
Click to collapse
Could you share how to set this up? Thanks
bamemanxxa3416 said:
Could you share how to set this up? Thanks
Click to expand...
Click to collapse
Set up a task with the "secure Settings" plug in.
You are going to go into the "System Actions" and select "USB Debugging" then select the radio button to "On" then save.
Now you are going to create a profile that uses an Event.
The even will be a "System" type of event and under system you will see "device boot".
Once you have created the event add the USB Enable task you created.
This all assumes you know how to use tasker.
problem fixed......
tech_head said:
Set up a task with the "secure Settings" plug in.
You are going to go into the "System Actions" and select "USB Debugging" then select the radio button to "On" then save.
Now you are going to create a profile that uses an Event.
The even will be a "System" type of event and under system you will see "device boot".
Once you have created the event add the USB Enable task you created.
This all assumes you know how to use tasker.
Click to expand...
Click to collapse
Very nice instructions and thanks for taking the time
because of stumproot, if using iosroot then problem will never appear.
ericsmart said:
because of stumproot, if using iosroot then problem will never appear.
Click to expand...
Click to collapse
Actually not true.
I used ioroot and I have the issue of USB Debug not sticking.
That's why I came up with the way to fix it in tasker.
tech_head said:
Actually not true.
I used ioroot and I have the issue of USB Debug not sticking.
That's why I came up with the way to fix it in tasker.
Click to expand...
Click to collapse
but, it's good to have other solution, it's all good that you guided them who have similar problem.
I have the same problem as you.
tech_head thanks for giving this tasker newb enough bread crumbs that I was able to figure it out and solve the problem (and learn something in the process).
Real easy check usb debug,then plug phone into computer go to your folder that you have adb shift right click mouse all at once open cmd window here check Ethernet mode on phone check rsa cert when prompted type adb devices press enter then adb reboot then enter when LG logo appears unplug phone now your usb debug will always stay checked
WHATSAMATTA U ALUMNI
the tasker approach is now disabled and deathsquad737`s approach has caused it to stay checked... Thanks!
Hi Guys
I found a easy way to fix it.
1) turn on USB debugging
2) Connect G3 to your PC
3) Reboot your G3 when keep connected to PC
4) Unplug
Now the debugging option will be kept.
Related
ok, i just rooted, havn't flashed a rom yet, and i can't cause when i plug my phone up to my computer, it won't bring up the "mount" option. I went into my phone settings and turned on usb debugging, then it would bring up the mount option, but wouldn't show up on my computer. help please?
Are you using the cable that came with the phone?
Have you tried another USB outlet?
Have you updated the drivers?
Root would not affect this, at all.
From the home screen:
Menu>Settings>Applications>USB settings> now select "ask on connection"
Let me know if that helps
Also make sure the phone's drive letter that the system assigns isn't being hung up by another drive. You can check this by right-clicking the My Computer icon in Windows -> Manage -> Disk Management and make sure it's there. If it is, click on the drive and then right-click -> Change Drive Letter & Paths.
Hope this helps,
~SB
and of course make sure debugging is on, forever and always
TopShelf10 said:
and of course make sure debugging is on, forever and always
Click to expand...
Click to collapse
curious to know, why do you need debugging on? I keep it off myself.
ok i've tried all of these things and nothing works, the only thing i havn't tried is updating the drivers, how do i do that?
vballrkc said:
ok i've tried all of these things and nothing works, the only thing i havn't tried is updating the drivers, how do i do that?
Click to expand...
Click to collapse
Go to the sticky vibrant Bible topic. There should be a link there.
Sir Incognito said:
curious to know, why do you need debugging on? I keep it off myself.
Click to expand...
Click to collapse
If you use adb or any rooted apps that requires it. For example, titanium backup requires you to have USB debugging on from what i remember. Oh, and if you're a developer.
Sent from my SGH-T959 using XDA App.
Anyone know which app to freeze to prevent the Rezound from automatically triggering the prompt to load Verizon Media Manager on connect to PC?
There used to be a way to do it through a dial-in sequence on the Incredible; that doesn't work on the Rezound.
Doesn't pop up on mine. Are you talking about their website on your computer screen, or the app on your phone? In settings you can change how the phone reacts when connecting to your PC.
I know that. When I connect I get an immediate prompt to download Verizon's Media Manager software, and the web page pops up in a browser (or additional tab if the browser is already open). On the Incredible, there was an *.iso file in the system root that could be de-activated by dialing a sequence of numbers and getting a feature menu which would de-activate CD-ROM. That menu is missing from the Rezound, so something else is triggering the pop-up.
There might be an *.iso file somewhere in there, but I am hesitant to delete or write anything to the ROM. Last time I did that I had to do a factory reset. I'm hoping it's an apk that can be frozen by Titanium during temporary root.
you did check off to connect via "USB Debugging Mode" in settings right?...
i do it that way & when i connect to my PC the only thing it does will bring up the prompt on the phone itself asking if i want to do "charge only" or "hard drive".
voxigenboy said:
you did check off to connect via "USB Debugging Mode" in settings right?...
i do it that way & when i connect to my PC the only thing it does will bring up the prompt on the phone itself asking if i want to do "charge only" or "hard drive".
Click to expand...
Click to collapse
Usually keep USB debugging ON, not off, but even setting it to off produces the prompt when I connect. It appears to "see" CD-ROM which would suggest that there *is* an *.iso file somewhere. Guess I'll have to go back into temporary root and see what's in there.
hgoldner said:
Usually keep USB debugging ON, not off, but even setting it to off produces the prompt when I connect. It appears to "see" CD-ROM which would suggest that there *is* an *.iso file somewhere. Guess I'll have to go back into temporary root and see what's in there.
Click to expand...
Click to collapse
yeah when i go to 'windows explorer' after the phone's connected, it shows that 'CD-ROM', as well as both the drives from the phone itself & then the sd card.
oh wait... perhaps it's because i have "autorun" in windows disabled. anytime i pop in anything, nothing happens. i just go into explorer and manually open things. so my guess is that it's your PC's autorun feature.
i believe once you have the phone connected, go into windows explorer and right-click on the 'CD-ROM' listing, there should be an option somewhere to "autoplay/autorun" & you can disable it.
there's a way to disable autoplay/autorun completely in windows & there's more info on that here:
http://answers.microsoft.com/en-us/...indows-7/7ba51974-c009-44ad-9067-f3968744175b
or here:
http://support.microsoft.com/kb/967715
hgoldner said:
I know that. When I connect I get an immediate prompt to download Verizon's Media Manager software, and the web page pops up in a browser (or additional tab if the browser is already open). On the Incredible, there was an *.iso file in the system root that could be de-activated by dialing a sequence of numbers and getting a feature menu which would de-activate CD-ROM. That menu is missing from the Rezound, so something else is triggering the pop-up.
There might be an *.iso file somewhere in there, but I am hesitant to delete or write anything to the ROM. Last time I did that I had to do a factory reset. I'm hoping it's an apk that can be frozen by Titanium during temporary root.
Click to expand...
Click to collapse
It has never popped up for me. In any case, what if you just Freeze that app using TB? (I think I froze that one on my last trip into Temp Root.)
Hello- USB debugging is turning itself on(putting a check on itself in the settings) automatically as soon as I plug in the USB cord and enable USB storage.
I am using the ROM located at http://forum.xda-developers.com/showthread.php?t=1442889
Any help is appreciated, thank you!
as far as i see its always enabled in stock roms... and there is nothing to worry about unless you have some virus in pc which will use adb to format phone or steal data
madman_amit said:
as far as i see its always enabled in stock roms... and there is nothing to worry about unless you have some virus in pc which will use adb to format phone or steal data
Click to expand...
Click to collapse
The problem is I can not turn off USB debugging, this is not normal behavior. It automatically turns itself on...
Download ROM Toolbox from Market, go to root browser, build.prop Editor, click the pencil on the extreme upper right type - persist.adb.notify=0 in the end of the textbox. Should solve the problem I think..
I currently have 5.1.1 installed on my honor 5x and am able to use adb automatically without accepting an RSA prompt (have installed twrp, rooted, etc.) but when I dload a MM stock rom and use usb debugging it is unauthorized and I get no RSA prompt I've even gone as far as to delete /data/misc/adb from my device and adbkey.pub from my desktop but there is still no pop up authorization in MM
Developer options -> Revoke authorisation (something like that), replug. If that doesn't help, change connection mode to file transfer and try again.
ShadySquirrel said:
Developer options -> Revoke authorisation (something like that), replug. If that doesn't help, change connection mode to file transfer and try again.
Click to expand...
Click to collapse
I actually don't have a "revoke authorization" button below usb debugging, odd I know but I've tried all those options to no avail
Tsunetoma said:
I actually don't have a "revoke authorization" button below usb debugging, odd I know but I've tried all those options to no avail
Click to expand...
Click to collapse
Tried toggling the debugging switch? I had issues like these on one of my previous devices, but usually these were fixed with a simple port change or debug off/on switch, if revoke->replug didn't work.
Have you checked drivers, or if dmesg says something about the device, if you're on Linux? Sometimes even running multiple adb instances (like one from terminal and one from Android Studio, for example) can cause this behviour.
Enable rsa key authentication
Hello,
I have a big problem to uninstall a package that I naively installed on the phone.
First of all, the phone works rather normally but:
a) I can't uninstall this app
b) I can't uninstall any other app
c) The app is present in the Accessibility section as a service (it's a clone of LiveNetTv).
The package is named com.a02f252e890bf12d80.eccfe059f8f8a9f521.
I would like to connect the phone to PC via Adb so that I can uninstall the app
from Adb using the indications described here:
h ttps://gadgetstouse.com/blog/2020/07/10/how-to-uninstall-stock-apps-from-android-without-rooting/
The big problem is this one: from the Developer options, when I enable "Debug USB" option,
immediately the option is turned off (every single time), so it's almost impossible for me
to see the phone from PC: if from Powershell I launch the command "adb devices", the device
is never recognized so I can't launch any command to uninstall the app.
I hope you can help me with step by step: the device is not rooted and I prefer not to root it.
Thanks so much for the attention.
vaiadubai said:
The big problem is this one: from the Developer options, when I enable "Debug USB" option,
immediately the option is turned off (every single time), so it's almost impossible for me
to see the phone from PC
Click to expand...
Click to collapse
Restore Android's default settings in Developer options. Re-boot Android. Then re-try.
jwoegerbauer said:
Restore Android's default settings in Developer options. Re-boot Android. Then re-try.
Click to expand...
Click to collapse
In Developer options I don't see the option you quote.
Under System -> Advanced -> Reset options I only have 3 voices:
a) Reset Wi-Fi, mobile data and Bluetooth: I already did it.
b) Reset App Preferences (once clicked, the menu disappears immediately).
c) Reset All Data (I hope to solve before doing this).
For better info, the software of this device is of the type Android One.
Thanks for the answers,
at the end I preferred doing a reset of the phone's data.
With apps memorized in Google Drive it seems not so long to recuperate
a configuration similar to the original.