How to set desktop mode in Chrome/MTP USB permanently - Nexus 6P Q&A, Help & Troubleshooting

Those 2 things have been bugging me from the start. I have only ever used my PC to transfer files on to my phone so I would like it to go into MTP mode by default not into charging mode, I know there is some apk on the market that claims to do it but it is an Xposed module and I'm not running Xposed, any other way? Also I've always used the chrome-command-line trick to get my Chrome to always open desktop version of websites (mobile version are more than often way too buggy and poor looking, seriously wtf) but it no longer seems to work, apps from market also fail to change my user agent (or at least those few I tried). Any way to accomplish those 2 things? I'm running Nougat PureNexus. Flashable zips, Tasker scripts, apks? Anything? Thanks!

I only root just to use Xposed.
Sent from my Nexus 6P using Tapatalk

gjkrisa said:
I only root just to use Xposed.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
And I only root to get Adaway. I used Xposed on my previous phone and found it to be extremely unreliable, maybe it's time to give Nexus 6P's version a shot?

Yea I would I really like the hold power to turn on flash and being able to see how much data I'm using in the notification. Wish Android would just have this built in and having the USB selection memorized.
Sent from my Nexus 6P using Tapatalk

gjkrisa said:
Yea I would I really like the hold power to turn on flash and being able to see how much data I'm using in the notification. Wish Android would just have this built in and having the USB selection memorized.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Those things are already in PureNexus by default, the hold power for flashlight was the thing that tipped the balance and made me switch from stock.
Besides am I going blind or is there no Xposed for Nougat yet and this whole discussion was pointless??

theleet said:
Those 2 things have been bugging me from the start. I have only ever used my PC to transfer files on to my phone so I would like it to go into MTP mode by default not into charging mode, I know there is some apk on the market that claims to do it but it is an Xposed module and I'm not running Xposed, any other way? Also I've always used the chrome-command-line trick to get my Chrome to always open desktop version of websites (mobile version are more than often way too buggy and poor looking, seriously wtf) but it no longer seems to work, apps from market also fail to change my user agent (or at least those few I tried). Any way to accomplish those 2 things? I'm running Nougat PureNexus. Flashable zips, Tasker scripts, apks? Anything? Thanks!
Click to expand...
Click to collapse
If u r on a Custom ROM...then there is an option to set the USB connection mode..in Developers Option.

StariX37 said:
If u r on a Custom ROM...then there is an option to set the USB connection mode..in Developers Option.
Click to expand...
Click to collapse
You deserve a prize or something. Thanks

intruda119 said:
You deserve a prize or something. Thanks
Click to expand...
Click to collapse
Haha...just use the Thanks button..

StariX37 said:
If u r on a Custom ROM...then there is an option to set the USB connection mode..in Developers Option.
Click to expand...
Click to collapse
I know but it only works one time, notice if you set it and plug your phone in it's in file transfer, unplug it and plug it again and it's in charging mode again... Useless setting, that's why I was asking for a permanent solution.
EDIT1: Guys but what about the more important chrome user agent? It seems like a simpler problem yet I can't find any information what happened on nougat that made it impossible to edit, where is the user agent string now??
EDIT2: OK nvm about the Chrome thing I figured it out myself looks like they changed the directory chrome-command-line file should be in to /data/local/tmp and now it works.

theleet said:
I know but it only works one time, notice if you set it and plug your phone in it's in file transfer, unplug it and plug it again and it's in charging mode again... Useless setting, that's why I was asking for a permanent solution.
EDIT1: Guys but what about the more important chrome user agent? It seems like a simpler problem yet I can't find any information what happened on nougat that made it impossible to edit, where is the user agent string now??
EDIT2: OK nvm about the Chrome thing I figured it out myself looks like they changed the directory chrome-command-line file should be in to /data/local/tmp and now it works.
Click to expand...
Click to collapse
It doesnt happen with me..as i hv used that setting...it works each and every time i have used. I don't have to set the setting to Transfer mode everytime.

StariX37 said:
It doesnt happen with me..as i hv used that setting...it works each and every time i have used. I don't have to set the setting to Transfer mode everytime.
Click to expand...
Click to collapse
Just tried it again with no luck. The site where I found this solution said it only lasts until the first time a device is plugged in and it works exactly as described for me...

theleet said:
Those things are already in PureNexus by default, the hold power for flashlight was the thing that tipped the balance and made me switch from stock.
Besides am I going blind or is there no Xposed for Nougat yet and this whole discussion was pointless??
Click to expand...
Click to collapse
How you turn on that feature? No Xposed yet for 7+
Sent from my Nexus 6P using Tapatalk
---------- Post added at 09:55 PM ---------- Previous post was at 09:28 PM ----------
Nevermind just found the ROM
Sent from my Nexus 6P using Tapatalk

theleet said:
EDIT2: OK nvm about the Chrome thing I figured it out myself looks like they changed the directory chrome-command-line file should be in to /data/local/tmp and now it works.
Click to expand...
Click to collapse
Tried this and it didn't work. Anything else that had to be done besides basically copying the file into /tmp? This is the most frustrating part of Nougat for me.

Related

[Q] Lost Sound

Hi Guys
This is weird. My shiny new Note 3 is about three weeks old. It's working 99.9% perfectly except for a slight sound problem. The problem is that when it is connected to a charging dock it USED to play a tone. Now it just vibrates slightly (but still charges). I also noticed that my camera doesn't make a shutter sound when I take a photo. I wondered whether the two issues are related in some way?.
All other sounds seem to be working OK on the Note3 (so it's not a volume setting) and I have checked whether option for the dock 'making a sound' is switched on. Additionally, there doesn't appear to be an option in the camera settings to switch on/off the sound, so it can't be that.
OK none of this is a major problem, but it is a bit of a niggle!
I hate niggly things! .
Anyone have any ideas?
Thanks
You made any changes recently?
Hiya
Yes, gazillions of changes due to installing apps! Too numerous to narrow it down to a specific action
Cheers
Sent from my SM-N9005 using XDA Premium HD app
stevep said:
Hiya
Yes, gazillions of changes due to installing apps! Too numerous to narrow it down to a specific action
Cheers
Sent from my SM-N9005 using XDA Premium HD app
Click to expand...
Click to collapse
If you can't/won't narrow it down, how is anyone else supposed to?
Do you have these checked files in the screenshot?
Thank you. That looks like a useful screenshot - where do I go to check if the sound file is checked as in your screenshot? I guess thats your file manager isn't it? I'm using ES explorer and the phone isn't rooted. Do you happen to know which folder these sound files live? I did a file search and it couldn't find any of the files shown in your screenshot
Cheers
stevep said:
Thank you. That looks like a useful screenshot - where do I go to check if the sound file is checked as in your screenshot? I guess thats your file manager isn't it? I'm using ES explorer and the phone isn't rooted. Do you happen to know which folder these sound files live? I did a file search and it couldn't find any of the files shown in your screenshot
Cheers
Click to expand...
Click to collapse
I use Root Explorer, those files are in system>media>audio >ui.
However, as far as I know you can't access the system folder unless you're rooted, so I think it's unlikely that you've deleted them.
Lost Sound
B3311 said:
I use Root Explorer, those files are in system>media>audio >ui.
However, as far as I know you can't access the system folder unless you're rooted, so I think it's unlikely that you've deleted them.
Click to expand...
Click to collapse
Thanks again - at least I know i probably haven't deleted them. I don't suppose there's a way of 'force reinstalling' the stock camera app is there?
stevep said:
Thanks again - at least I know i probably haven't deleted them. I don't suppose there's a way of 'force reinstalling' the stock camera app is there?
Click to expand...
Click to collapse
No idea, sorry. I rooted mine 20 minutes after its first boot, hence clueless really uprooted devices
Lost Sound
B3311 said:
No idea, sorry. I rooted mine 20 minutes after its first boot, hence clueless really uprooted devices
Click to expand...
Click to collapse
OK case closed - I hard reset the phone, reinstalled all the original apps and the missing sounds are back. Sorted! Bit of a drastic measure though
Still don't know WHY the sound disappeared from just the docking process and the camera shutter, but it least it's all fine now
Thanks for all your help and suggestions.

Bloatware Tool

http://www.xda-developers.com/how-to-remove-bloatware-from-your-android-device-xda-tv/
Does not need root access, you can remove .apks with it if you have root access, but it lets you disable without.
Download the Debloater tool, turn Debugging on, plug your phone in, start the program.
I just disabled LG Health on my Verizon phone with it. I would like to disable VoiceMate but I'm not sure what the .apk is. My apologizes if this is already known to work on the G4; I haven't seen it mentioned in the G4 forums, but I can confirm it does work.
Maybe someone can use this tool and compile a list of apps that are safe to disable using it.
http://forum.xda-developers.com/g4/general/block-bloat-apps-root-t3133176
Funny you link an xda item from reddit back to xda...
Bootup said:
http://forum.xda-developers.com/g4/general/block-bloat-apps-root-t3133176
Funny you link an xda item from reddit back to xda...
Click to expand...
Click to collapse
lol. /fail. //endthread
I suppose, I'm just waiting on someone to get down to the nitty gritty and get a list going of what can be disabled.
ghostbustaj said:
lol. /fail. //endthread
I suppose, I'm just waiting on someone to get down to the nitty gritty and get a list going of what can be disabled.
Click to expand...
Click to collapse
Attached is a block list I used on the VZW LG4 I had... Just load it up with the debloater and block away.
View attachment 3375839
Misterxtc said:
Attached is a block list I used on the VZW LG4 I had... Just load it up with the debloater and block away.
View attachment 3375839
Click to expand...
Click to collapse
That is so metal. Thanks for the list.
Any knowledge of the Voicemate?
ghostbustaj said:
That is so metal. Thanks for the list.
Any knowledge of the Voicemate?
Click to expand...
Click to collapse
No problem but be sure to add DTIgnite to the list, I missed that one. You will probably be better off uninstalling the DTIgnite update and disabling it from the app manager. That's the worst bloatware/spyware I've seen them preinstall. It's terrible.
I'll play along. Everyone knows I love debloating!
fr4nk1yn said:
I'll play along. Everyone knows I love debloating!
Click to expand...
Click to collapse
Even nicer! Thank you sir!
I missed that one. You will probably be better off uninstalling the DTIgnite update and disabling it from the app manager.
fr4nk1yn said:
I'll play along. Everyone knows I love debloating!
Click to expand...
Click to collapse
I gotta say, I just went through the list you gave me....
I had probably about 60% of the apks you listed disabled already. But that other 40% (while getting rid of CHROME) and switching to Firefox....made a world of difference.
Holy smokes, this phone is flying now. There is absolutely zero lag and it seems way more touch responsive.
Thank you.
So, this only Hiden the apps or disable them like titanium backup?
wath I need to disable for lg health and voice mate?
thanks
sseuorosal said:
I missed that one. You will probably be better off uninstalling the DTIgnite update and disabling it from the app manager.
Click to expand...
Click to collapse
if you DL a DT Ignite tool and check, if it's disabled it still apears, albeit disabled. If you use this utility to hide it, it's not even found. Much bettet.
ghostbustaj said:
I gotta say, I just went through the list you gave me....
I had probably about 60% of the apks you listed disabled already. But that other 40% (while getting rid of CHROME) and switching to Firefox....made a world of difference.
Holy smokes, this phone is flying now. There is absolutely zero lag and it seems way more touch responsive.
Thank you.
Click to expand...
Click to collapse
I've been debloating a long time. ?
I haven't done it yet, I only have one computer that has fully working adb drivers, but try disabling the lg keyboard and split window as well. I hear they're both to blame for touch problems.
Th3PorTuGa said:
So, this only Hiden the apps or disable them like titanium backup?
wath I need to disable for lg health and voice mate?
thanks
Click to expand...
Click to collapse
It disables them.
Thanks for this! Only thing is I can not install my drivers for my vs986. When the computer restarts as part of the process installing the drivers, nothing happens when the computer is fully restarted. I searched for 2 hours for the solution to this. Any help would be appreciated.
JDROIDS said:
Thanks for this! Only thing is I can not install my drivers for my vs986. When the computer restarts as part of the process installing the drivers, nothing happens when the computer is fully restarted. I searched for 2 hours for the solution to this. Any help would be appreciated.
Click to expand...
Click to collapse
I had to install the Verizon software assistant when you first plug the phone in to the PC. After that the debloat tool recognized it. Also make sure you have USB debugging enabled on the phone.
Dang I was all excited until I realized I needed a Windows box. Guess I'll have to wait to get home and dig out my old laptop to do this.
I have to figure out how to install the drivers on a mac. I know it is possible. this debloater works on a mac as there is a .dmg file for it. I can not use the verizon software assistant because it only works on a pc. Thank you for your help though.
I feel stupid asking this but I can't get my adb drivers to work with my g4.
Sent from my LG-H812 using XDA Forums Pro.
andino said:
Dang I was all excited until I realized I needed a Windows box. Guess I'll have to wait to get home and dig out my old laptop to do this.
Click to expand...
Click to collapse
Can you not create a virtual machine with either Apple OS or Linux (or even run in Wine if you are using Linux)?
I can but its easier just to go home and use a windows laptop.

ExistenZ Marshmallow problems and solutions

Our beloved developer @niaboc79 is getting very tired of people always asking the same questions and posting their problems in the development topic of his rom.
So I decided to make this topic in the "general" section of the forum where people can post about their problems and hopefully some solutions, in the hopes that it will help him and the people having problems at the same time.
Whenever a cause or a solution for a problem is found, I will put it in the second post, right underneath this one.
I want to make clear that I'm not an expert and cannot help much myself, I will just collect and centralize information, and I'm in no way affiliated with @niaboc79 and his work, and do absolutely not deserve any credits for his work.
Also there is no guarantee that the information I collect and post in the second post will be a solution for your problem even if it has apparently worked for other people with similar symptoms.
I invite everyone that uses his rom to share helpful information here. (please)
Firstly ; a copy of the FAQ that @niaboc79 posted himself. You should read it before asking questions.
niaboc79 said:
Frequently Asked Questions
Q: How to flash the DRM fix and avoid loosing of recovery
A:http://forum.xda-developers.com/showpost.php?p=67111204&postcount=1169
Q: Hey, that thing doesn't work!
A: Check if there isn't an (*) at the right of setting description, that means that you must restart SystemUI.
If it is not the case, try to enable/disable option a few time and reboot or read thread to find an answer.
Q: Why is there greyed options in eXistenZ settings!
A: These otions aren't available yet.
Q: Weather isn't working on lockscreen or in expanded status bar...
A: Go in settings/eXistenZ/Notification Panel/Weather Settings;
Press on Weather panel icon, then on Display weather switch;
Select OpenWeatherMap as Weather source;
Use Custom Location;
Set your Location
Click to expand...
Click to collapse
Recovery access problems:
-Don't update busybox
-Don't update Kernel
-Don't flash DRM fix (see FAQ)
If you haven't done one of the above, you should be able to enter recovery by pressing volume down (repeatedly) while starting up the phone.
If you did do one of the above, simply reflash the rom.
Note: since version 4.7 (or alternatively version 3.9) lag is no longer appearing in the rom. If you do witness lag on 4.7 (3.9) there is probably something that you have done that is causing it. Check and double check your apps and settings before trying other solutions in that case!
Lag problems:
-Update to rom version 4.7 (or 3.9 for the rom based on the beta firmware)
-Follow the instructions posted here on rom version prior to 4.7 (3.9)
If you still witness lag after that:
-After installing, give the rom some time to settle, it has to index all your files and the memory management still has to find out what apps (you) are running. This takes a long time (depending on your usage) so give it some days.
-Some xposed modules and Greenify are known causes. Disable that if you use them and see if the lag still persists. If it is gone, you can find the exact module/setting that is the cause by disabling just one module/setting at a time and try if the lag has gone. (this also counts for other problems by the way)
-Stamina mode makes the phone slower as it lowers processor speed etc. Turn it off and check if the lag has gone.
-Many (also popular) apps use quite a lot of system ressources even if you aren't using them. You could uninstall your apps, then reinstall them one at a time, use the phone a bit to check if the lag came back, if not install the next app, and so on until you find the app that is making your phone lag/behave weird.
-Never restore a titanium backup (or similar) when coming from a lollipop rom. There are several differences between lollipop and marshmallow so you risk to restore incompatible stuff.
-Activating blur in recents causes lag (v 3.5, should be solved with the next update of the rom) Fixed in final version
Profile picture (top right of status bar) won't remain after reboot:
-Open the contacts app and go to the first contact (that should contain info about you, and no image) and choose the picture you would like to see in stead of the blue user icon (click on the pencil and then on the image)
Now the image for the user switch in the status bar has been changed too, and it will stick after reboot.
Switch user causes a crash of the beta feedback app and doesn't work
-Remove beta feedback app
You can now switch users, although the system will crash/reboot, it does switch. (will be fixed in a future release of the rom) Fixed in final version
Reserved for later use
i have a problem...
using v 3.5 existance and when i open camera then navigation bar does not showing.. any help?
Ab.Shaheen said:
i have a problem...
using v 3.5 existance and when i open camera then navigation bar does not showing.. any help?
Click to expand...
Click to collapse
Are you using the default camera app? Do you use a theme?
Knutselmaaster said:
Are you using the default camera app? Do you use a theme?
Click to expand...
Click to collapse
am using default camera..
it also does not works on previous versions of existanc marshmallow..
---------- Post added at 09:53 PM ---------- Previous post was at 09:51 PM ----------
Ab.Shaheen said:
am using default camera..
it also does not works on previous versions of existanc marshmallow..
Click to expand...
Click to collapse
i just checked on another camera app... but same result....
not showing there also..
Did you try another theme?
Did you try cleaning all data of the camera app(s)?
systemUI and lock screen are very laggy i tried clean install didnt work also dirty one and had same resualts and thats the only issure i ever faced using this rom since lolipop
Knutselmaaster said:
Are you using the default camera app? Do you use a theme?
Click to expand...
Click to collapse
nope default camera iam using.....which comes in existenz v3.5
rudhraraj said:
nope default camera iam using.....which comes in existenz v3.5
Click to expand...
Click to collapse
Knutselmaaster said:
Did you try another theme?
Did you try cleaning all data of the camera app(s)?
Click to expand...
Click to collapse
xRevengerZee said:
systemUI and lock screen are very laggy i tried clean install didnt work also dirty one and had same resualts and thats the only issure i ever faced using this rom since lolipop
Click to expand...
Click to collapse
Did you check the the lag part of the second post?
I tried all of what u mentioned but tonight i flashd xperia x system ui v1.5 and that made every thing smooth like never before also i dont have any mods installed but problem is after installing the other system ui now existenz feature dont work
xRevengerZee said:
No send me link please
Click to expand...
Click to collapse
The second post of this topic right here...
i did try to reflash the rom after upgrading busybox, but i just cant find a way to flash zip file through pc.
is there a way to flash the rom without flashing back to stock?
Maybe this will work
But if you have problems, there is nothing better than starting from scratch and do a clean install imo
Good morning guys
Any idea of what the hell is making Android OS drink my battery like a martini?
Sent from my Sony D6503 using XDA Labs
FellipeSilvaRJ said:
Good morning guys
Any idea of what the hell is making Android OS drink my battery like a martini?
Sent from my Sony D6503 using XDA Labs
Click to expand...
Click to collapse
By just looking at that image, not really.
I see that you haven't used your phone much during the time of the picture, so no apps are using battery, nor your screen. That automatically makes the operating system the most consuming thing, as it is needed to keep the phone running.
FellipeSilvaRJ said:
Good morning guys
Any idea of what the hell is making Android OS drink my battery like a martini?
Sent from my Sony D6503 using XDA Labs
Click to expand...
Click to collapse
By just looking at that image, not really.
I see that you haven't used your phone much during the time of the picture, so no apps are using battery, nor your screen. That automatically makes the operating system the most consuming thing, as it is needed to keep the phone running.
Click on the app to see what is consuming (radio, processing.... ) if it is the radio, maybe you had very bad connection. If it's the process that prevents the processor going to sleep you should try to find out what is running all the time.
Knutselmaaster said:
By just looking at that image, not really.
I see that you haven't used your phone much during the time of the picture, so no apps are using battery, nor your screen. That automatically makes the operating system the most consuming thing, as it is needed to keep the phone running.
Click to expand...
Click to collapse
Actually, I take at least 7 pictures with Camera FV-5/ 7 with stock app, with screen brightness full. Used WhatsApp and Telegram too, normally these apps and screen should be on top of the list. I have no idea of what the hell I do :silly:
Sent from my Sony D6503 using XDA Labs
FellipeSilvaRJ said:
Actually, I take at least 7 pictures with Camera FV-5/ 7 with stock app, with screen brightness full. Used WhatsApp and Telegram too, normally these apps and screen should be on top of the list. I have no idea of what the hell I do :silly:
Click to expand...
Click to collapse
F***ing 457mAh, there's something really wrong here
Sent from my Sony D6503 using XDA Labs

Need package info

Can anybody tell me what this is? com.sec.vsimservice
Uknowdis said:
Can anybody tell me what this is? com.sec.vsimservice
Click to expand...
Click to collapse
I know replacing it removes the rcs and volte icons that show up after rooting. That's all I know tho lol. It has to do with data service I believe.
Sent from my VK815 using XDA-Developers mobile app
Skizzy034 said:
I know replacing it removes the rcs and volte icons that show up after rooting. That's all I know tho lol. It has to do with data service I believe.
Click to expand...
Click to collapse
I was a lil nervous when i saw a notification for it...it was a devil face smiley lol. If it pops up again ill screenshot it
Uknowdis said:
Can anybody tell me what this is? com.sec.vsimservice
Click to expand...
Click to collapse
If I remember correctly that should have to do with video calling but not positive.
Sent from my SM-G935T using Tapatalk
Do we know anymore info on this? After rooting the s7 (at&t) everything was fine, accept sending texts through messeges failed. Then this notification came up, I could not remove it from notifications. I did a restart and got stuck in boot loop and had to factory reset. Now, I haven't finished root yet, but still on same rom and this has popped up again.
Skizzy034 said:
I know replacing it removes the rcs and volte icons that show up after rooting. That's all I know tho lol. It has to do with data service I believe.
Sent from my VK815 using XDA-Developers mobile app
Click to expand...
Click to collapse
Uknowdis said:
I was a lil nervous when i saw a notification for it...it was a devil face smiley lol. If it pops up again ill screenshot it
Click to expand...
Click to collapse
jds3118 said:
If I remember correctly that should have to do with video calling but not positive.
Sent from my SM-G935T using Tapatalk
Click to expand...
Click to collapse
i got the stupid devil faced notification too. its also from com.sec.vsimservice . I never had this before but it seems ever since i started using Digits from t-mobile.
I cannot remove it for the life of me and it doesnt matter what rom i am on. I tried clearing cache and data and also blocking notifications but i can still see it when i pull down the notifications. I get it right after i send a chat message using default samsung chat app. BTW im on the note 5 t-mobile.
EDIT: i found out that vsimservice stands for virtual sim service. Well it must be freaken t-mobile Digits beta program... =/ so annoying.
I started getting the devil notification after root on stock every time I get a voicemail. I can clear it like any other notification, it's just annoying.
monkeyass408 said:
i got the stupid devil faced notification too. its also from com.sec.vsimservice . I never had this before but it seems ever since i started using Digits from t-mobile.
I cannot remove it for the life of me and it doesnt matter what rom i am on. I tried clearing cache and data and also blocking notifications but i can still see it when i pull down the notifications. I get it right after i send a chat message using default samsung chat app. BTW im on the note 5 t-mobile.
EDIT: i found out that vsimservice stands for virtual sim service. Well it must be freaken t-mobile Digits beta program... =/ so annoying.
Click to expand...
Click to collapse
Anyone ever figure out how to get rid of. Not t-mobile as I'm AT&T. Also flashedvthe volt fix and he came back. I know something to do with messages but not out there on him that i found.
Mike the file nerd
I'm far from an expert at this but I could tell you how to avoid the problem in the future. I assume that if you have access to directories that contain system preconfig apps you must be running root privilege. Follow down the path to you're particular carrier. In my case I'm technically running on unlocked carrier but for the most part my phone still believes it is AIO(Cricket) ie boot still runs cricket sales code still runs as AIO. ECT. so in my example the file path would be /system/omc/AIO/etc. Inside your carriers file you will find several manifest (.xml) and text (.txt) files somthing along the lines of default_application_order.xml and/or enforcedskippingpackages.txt In my case on my s8 I have both. I haven't personally tried this yet so don't blame me if you try it and turn you phone into an 800$ paperweight (disclaimer) not to mention tampering xml is slightly outside of ethical phone use! That being said I'm of the opinion at least in my own case; if I pay for a device and don't have a contract against it i.e. I outright own the device I may set it up as i please. (Disclaimer) So ethics behind us. If I were to be experiencing this problem I would start by adding the problem pkg (...vsim...apk) whatever yours is called to the enforcedskipping.txt first (as it's slightly less unethical to change a text than a manifest) second find the system app either by an app like sysapp remover or like a real man inside the file system under probably something along the lines of "priv-app" dir or by superuser enabled terminals either abd via your computer/mac/linux whatever you run or by one of the many available terminals in the store of your choice and uninstall your problem apps (i highly suggest making a complete nandroid backup or tar or whatever recovery you use first and also saving a copy of the apk just in case) reboot your phone to recovery clear your cache partition remount the system and reboot. If this hasn't cleared up your problem back to recovery for a factory wipe with said modified files in place and backup ready. Reinstall everything then restore your backup via cmw/twrp/safestrap/bootstrap/odin/lgbridge/etc.etcetc whatever your preferred recovery method is your problem should be fixed. If still not mod the xml instead of the txt and restart from step one. Once again I do not know what dependency/gradles/etc may or may not depend on this what functions you may kill sim cards locked/ruined etc and I'm no professional so if you brickā˜ ??? your ??that's on you for listening to an amateur enthusiast. Now I'm sure one of our wonderful experts here will come along and correct everything I've just said but I'm ok with this I listen to these guys every day I wouldn't know a fraction of the things I do without this wonderful forum and these amazing devs. So I appreciate their criticism as tutoring.
---------- Post added at 04:44 AM ---------- Previous post was at 04:38 AM ----------
With all that said and out of the way I would like to hear from anyone who has tried this personally or other method for removing this as I myself was led to this particular thread because I was investigating the possibility of what I could change within this particular system app myself. I brick my phone phone twice a day usually so before I crash my very well set up system I usually investigate first the reciprocation/ramifications of adjusting system orientated files/apps.

How can I set MTP as default USB connection (with root)

I am so annoyed by changing the USB connection every time. Is there a way to set MTP as default?
I tried some Xposed modules as well as apps from but none of them worked.
Is there any way to change MTP to default? Is there some sort of a config somewhere?
Enable developer options. It's in there
Scaevola said:
I am so annoyed by changing the USB connection every time. Is there a way to set MTP as default?
I tried some Xposed modules as well as apps from but none of them worked.
Is there any way to change MTP to default? Is there some sort of a config somewhere?
Click to expand...
Click to collapse
There is a build.prop line you can add for persistent mtp connection via USB... Just not sure what it is off the top of my head
Sent from my PH-1 using XDA Labs
ziddey said:
Enable developer options. It's in there
Click to expand...
Click to collapse
THIS!
tech_head said:
THIS!
Click to expand...
Click to collapse
I think everyone knows its in there. The problem is that you have to keep going in there and changing it back to MTP because it keeps resetting or defaulting back to charging.
Jank4AU said:
I think everyone knows its in there. The problem is that you have to keep going in there and changing it back to MTP because it keeps resetting or defaulting back to charging.
Click to expand...
Click to collapse
You are correct.
It isn't sticky. It only lasts until you connect and then you need to set it up again.
Well I was already aware about the related option in Developer Options, but I just assumed that it's not being sticky is a known fact, so I didn't need to mention it.
I tried editing build.prop but it didn't work. It seems that you need to recompile Android itself to enable MTP as default.
I found another solution based on Tasker. It is a crude one but works nevertheless.
http://forum.joaoapps.com/index.php...ransfer-mtp-connection-with-the-computer.198/
Scaevola said:
Well I was already aware about the related option in Developer Options, but I just assumed that it's not being sticky is a known fact, so I didn't need to mention it.
I tried editing build.prop but it didn't work. It seems that you need to recompile Android itself to enable MTP as default.
I found another solution based on Tasker. It is a crude one but works nevertheless.
http://forum.joaoapps.com/index.php...ransfer-mtp-connection-with-the-computer.198/
Click to expand...
Click to collapse
Yeah, I wasn't aware it was not sticky.
But tasker does work. I changed the behavior of the adaptive brightness based on my own preferences via tasker.
I have adaptive brightness levels I like.
I think I'll just fix this via tanker also.
I can't even get mine to stay in MTP or PTP. Everytime I attach a cable it goes strait to charging. Each time I select MTP or PTP it just jumps back to charging. ugh
ziddey said:
Enable developer options. It's in there
Click to expand...
Click to collapse
That doesn't work. This is a years old bug. It's a so called safety feature by google that you have to choose charge or data transfer EVERY time you plug your stinking phone in. He's asking for a way around this. Dev options does NOTHING to this. It's overridden. This is old news.
---------- Post added at 12:16 PM ---------- Previous post was at 12:15 PM ----------
tech_head said:
THIS!
Click to expand...
Click to collapse
Doesn't work! Try it!
Cool yer jets.
It does work on 9.0. I set it in dev options when I upgraded a few weeks back and it's still true now (just tested a moment ago by plugging it into my pixelbook).

Categories

Resources