MTP and Onecosmic - Galaxy S I9000 Q&A, Help & Troubleshooting

Hello,
Since Massstorage is default in Onecosmic's ICS RC1 build
Can anyone please tell me how do i re enable MTP mode in onecosmics RC1 build??
Mass Storage is disabled in the office

i'd like to know that too

Found the answer myself.
If MTP is enabled you have to use
Code:
setprop persist.sys.usb.config mass_storage,adb
to activate mass storage.
And from switching back from Mass Storage to MTP use this in terminal emulator and reboot
Code:
setprop persist.sys.usb.config mtp

Related

[Q] ICS 4.0.3 usb mass storage

Can anyone add the "Usb Mass Storage" to the notification
I don't want to use MTP mode
I need to go to Setting->more->USB.... to change to "Usb Mass Storage" mode.
It's too trouble....
Widgetsoid2.x (google play market) is the way for what you need.
It seems that stock ROM have complete driver (i.e. supporting audio HW decoding as today, only AAC can be hardawrely decoded), hopefully when sources will be available all kind of sound will be hardwarely decoded.
Regarding USB Mass storage, you can use the attached APK (found it in this very thread a hundred pages back). Just launch it and when you tap on the Bugdroid, you can access your SDCards from your phone and computer at the same time. Don't forget to eject them before taping the Bugdroid again 
Sent from my GT-N7000 using xda premium
http://forum.xda-developers.com/showthread.php?p=26169987
Sent from my GT-N7000 using xda premium
aht said:
Can anyone add the "Usb Mass Storage" to the notification
I don't want to use MTP mode
I need to go to Setting->more->USB.... to change to "Usb Mass Storage" mode.
It's too trouble....
Click to expand...
Click to collapse
Or try actived usb mass storage with runing following script on any terminal emulator ( I use rom toolbox)
> su (Superuser will ask for privileges. Say yes). then enter
> setprop persist.sys.usb.config mass_storage,adb then enter (PAY ATTENTION AT COMMAS)
Then restart your device ...
By default (ICS), usb mass storage didn't active as removeable disk on PC.
chantik said:
Or try actived usb mass storage with runing following script on any terminal emulator ( I use rom toolbox)
> su (Superuser will ask for privileges. Say yes). then enter
> setprop persist.sys.usb.config mass_storage,adb then enter (PAY ATTENTION AT COMMAS)
Then restart your device ...
By default (ICS), usb mass storage didn't active as removeable disk on PC.
Click to expand...
Click to collapse
Thank you very much!
i will test it tonight!!
chantik said:
Or try actived usb mass storage with runing following script on any terminal emulator ( I use rom toolbox)
> su (Superuser will ask for privileges. Say yes). then enter
> setprop persist.sys.usb.config mass_storage,adb then enter (PAY ATTENTION AT COMMAS)
Then restart your device ...
By default (ICS), usb mass storage didn't active as removeable disk on PC.
Click to expand...
Click to collapse
Hi, may I ask if I want to stop/delete the script. What can I do?
olmg said:
Hi, may I ask if I want to stop/delete the script. What can I do?
Click to expand...
Click to collapse
find & delete in build.prop > persist.sys.usb.config=mass_storage,adb
chantik said:
find & delete in build.prop > persist.sys.usb.config=mass_storage,adb
Click to expand...
Click to collapse
Will this command work on GB? I want it to mount as a mass storage instead of MTP.
jovan123 said:
Will this command work on GB? I want it to mount as a mass storage instead of MTP.
Click to expand...
Click to collapse
Didn't test on GB ... maybe you can test by yourself.
chantik said:
Or try actived usb mass storage with runing following script on any terminal emulator ( I use rom toolbox)
> su (Superuser will ask for privileges. Say yes). then enter
> setprop persist.sys.usb.config mass_storage,adb then enter (PAY ATTENTION AT COMMAS)
Then restart your device ...
By default (ICS), usb mass storage didn't active as removeable disk on PC.
Click to expand...
Click to collapse
Thank you very much Man!!! This is exactly what I need to achieve!
Works well with my Galaxy Note GT-N7000 Stock ROM. I have Dual Mount SD.. also working well.
Now I can use my new ICS phone like my GB phone...
Thanks alot!!!
But only one imperfection with my Dual Mount SD is that.. I can only mount the internal SD. But when I choose to turn on USB Mass Starage from the pull downn notifications, I have both internal and external SD mounted, like my old GB ROM... no problem at all...

how to completely disable or uninstall or delete the mtp connection???

how to completely disable or uninstall or delete the mtp connection??? and use only Mass Storage.
is there any way i have a rooted stock rom xxLRG thanks in advance.
Google threw up this
Run this command in adb shell or with terminal explorer and reboot:
"setprop persist.sys.usb.config mass_storage,adb"
I myself have never used it : )

[Q] Can't connect my Note in MTP usb mode

Hello guys! I'm running Ultimate JB rom since v4 and since then I can't connect my phone USB in MTP mode. I tried many things like USB mode switcher from market, tried running manually script: setprop persist.sys.usb.config mtp,adb - but no success... It just connects in Mass Storage mode. After reboot it just goes in Mass Storage mode again! Mass storage mode works fine, but it's annoying to go and push the button to connect and then safely remove from computer and... Yeah, the process is slow and annoying for me.
Now im running Ultimate XXLSA JB v5, can somebody help me to fix MTP? Thanks in advance!
Same Prob
+1
Even I have the same prob .. But I am in Robbie's Alliance betA 1.1 ROM ... Pls help!

Nokia 4.2 ADB debug and mtp

Hi, on my Nokia 4.2 phone I've enabled adb debug mode, but when I set USB transfer mode to mtp, the adb connection gets disabled. Is there a way to have both features enabled?
Thank you

broken screen enable usb debugging

yes it's another one of these threads ^^
I think my best shot at accessing my phone, especially getting at my 2fa keys, would be to use something like vyzor.
I used this just last week so I thought I would have usb debugging enabled, but somehow when I connect my phone it is not listed under adb devices.
Unlocking my phone via a usb keyboard makes it show up in the explorer, but its still stuck in charge only mode.
I tried following this guide https://gist.github.com/varhub/7b9555cdd1e5ad785ffde2300fcfd0bd to enable usb debugging
(In recovery mode my phone is accessible via adb)
and also tried to put these values
Code:
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
into: /system/etc/prop.default
also created them as files in /data/property with the associated value (e.g. echo -n '1' > /data/property/persist.service.adb.enable)
set them via setprop (e.g. setprop persist.service.adb.enable 1 and later setprop persist.service.adb.enable true)
Before that I mounted system and data via:
Code:
twrp mount /system
twrp mount /data
mount -o rw,remount /data
mount -o rw,remount /system
But none of this worked and I also don't get how this would work without me needing to enter my pin? (I can decrypt via twrp decrypt, but I don't need to to set these values?)
Also in general lets say usb debugging is enabled, do I need to enter my pin before it will show up under adb devices
And if I don't set the adb_keys and have not yet trusted the RSA key it would show under adb devices as unauthorized?
My rom is iirc this:
[ROM][UNOFFICIAL][11.0][raphael] LineageOS 18.1
@abhishek987 any chance of a Xmas present this year? :giggle:
forum.xda-developers.com
With twrp and magisk installed.
Currently I am trying to enable file transfer via the usb keyboard by trying stuff out, taking screenshots during it and then rebooting into recovery to download those screenshots. (are there any keyboard shortcuts that would e.g. allow me taking a screenshot, or accessing search in the settings?)
Since I use the kiss launcher I can start apps by just typing the app name after unlocking. That way I managed to start a http server via termux, but termux doesn't seem to have access to any interesting files.
I also have nextcloud with instaupload enabled for my camera, which I could make it upload my Screenshots so I wouldn't need to reboot everytime ^^
Seems like this phone does not support hdmi out
Actually managed to turn on usb debugging this way. Was a bit easier cos my tv apparently through the app let me check my screenshots lol.
Is there any command or anything i can do to check that the RSA key is now permanently being accepted?
seems like a system restart resets usb debugging

Categories

Resources