Workaround for ums working on cm10/jb roms - AT&T Samsung Galaxy S II SGH-I777

Hi,
I don't know how many u guys have figured it out this workaround yet, but I still see many asking questions to the dev's about when UMS is gonna be incorporated in CM10/AOKP builds...
I have accidently found this neat little trick that enables UMS on CM10/AOKP roms..
Till now I have tried and got it working succesfully on Fusions cm10 kangs and Task/Ktoonez AOKP builds , but I do believe it should work on other cm10/aokp roms too..
So steps are fairly simple and here it goes :
1. Download the UMS 1.0 apk which is used as a TPA by many as a replacement. Many of U might have it , but for those who don't : https://www.dropbox.com/s/8490g42b01255t9/USB Mass Storage for JB.apk
2. Install the app. Open it .. it will take few seconds to get SuperUser permission.. then connect the USB connector and a notication will popup with blue androbot.. touch it and it will turn green to ur UMS will be connected.. Ensure that both internal and external SD are connected and accessible (Imp).
3. Turn off UMS and reboot the phone... Once booted up uninstall the UMS app
Reboot the phone again and then try to connect to USB again.. This time you will get prompted like this : (See screenshot)
4. Now u connect to the PC via UMS , and as always bot turns green.. Voila u have UMS now !!!
I do know some of you might have already been using this , and I don't boast it being a great discovery.. just something worth sharing for the unaware..
Cheers !!!

I wonder where that feature went. It don't matter to me because you can still transfer files including video and music to your phones. Without having to do those steps.
I would also assume you would have to do those steps every time you flash a new ROM or updated your old one. But thanks for the info
Sent from my SGH-I777 using xda premium

chibixzero said:
I wonder where that feature went. It don't matter to me because you can still transfer files including video and music to your phones. Without having to do those steps.
I would also assume you would have to do those steps every time you flash a new ROM or updated your old one. But thanks for the info
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Yes.. u can still transfer videos, music etc using MTP.... but in my case MTP was quite iffy... randomly throwing write errors and sometimes only copying partial files..
Also one more issue that I was facing with MTP was , with every new rom install, I was not able to pre-existing files on External SD .. although it showed certain space as full.. it didn't show the contents.
So I researched and finally got this working this way.. using UMS I never have any issues mentioned above.. Thus this solution maybe more beneficial for guys having this issue like me
And to your question - yes u do have to follow this step with every new ROM install..

I believe the reason for getting rid of UMS was to consolidate internal and external memory to a single "drive" and that's why MTP is used. I don't know if that's completely accurate but that was my understanding. But I agree, I'm no fant of MTP.

kool2zero said:
I believe the reason for getting rid of UMS was to consolidate internal and external memory to a single "drive" and that's why MTP is used. I don't know if that's completely accurate but that was my understanding. But I agree, I'm no fant of MTP.
Click to expand...
Click to collapse
I have no idea why MTP is implemented instead of UMS and I think u may be right on the money for the reason behind this, but I do know this -
MTP is really pain in the ass. U can't copy two files seperately at one time. Hell u can't even delete one file while copying other. Sure it does pull up both drives under same roof, but for cm10 its quite buggy for less fortunate like me

I hear ya brother

With UMS I had no issues. Now when copying over my music it fails with certain tracks stating the device was disconnected. Only those files though. It even warns me before the transfer that certain media files might not be playable. I accept the warning but if one of my tracks plays, they all should. My whole collection was ripped to mp3 personally using the same codec settings for all.
Currently on the CM10 2012.09.24 nightly.

kool2zero said:
I believe the reason for getting rid of UMS was to consolidate internal and external memory to a single "drive" and that's why MTP is used. I don't know if that's completely accurate but that was my understanding. But I agree, I'm no fant of MTP.
Click to expand...
Click to collapse
MTP allows the filesystem to be changed without unmounting it from the operating system. This allows phone apps and processes that use any resources on the volume to continue to use them. With UMS, the volume is unmounted and mounted via USB to the computer. Another 'feature' of MTP is that it doesn't have to be removed like UMS. Since UMS mounts as a USB volume and most operating systems implement some form of write-caching with normal volumes, even though a copy operation 'completes', it may be cached, and not actually have completed copying data.
In Windows, removing the device via the tray icon tells Windows to finish any operations it has pending, close open files, and unmount the filesystem. If you remove the device before doing these things, you CAN get corrupted data. From my experience, this rarely happened, and never with small files. Then you get that annoying dialog every time you reconnect the device that the volume needs scanning, blah, blah...

dev997 said:
Hi,
I don't know how many u guys have figured it out this workaround yet, but I still see many asking questions to the dev's about when UMS is gonna be incorporated in CM10/AOKP builds...
I have accidently found this neat little trick that enables UMS on CM10/AOKP roms..
Till now I have tried and got it working succesfully on Fusions cm10 kangs and Task/Ktoonez AOKP builds , but I do believe it should work on other cm10/aokp roms too..
So steps are fairly simple and here it goes :
1. Download the UMS 1.0 apk which is used as a TPA by many as a replacement. Many of U might have it , but for those who don't : https://www.dropbox.com/s/8490g42b01255t9/USB Mass Storage for JB.apk
2. Install the app. Open it .. it will take few seconds to get SuperUser permission.. then connect the USB connector and a notication will popup with blue androbot.. touch it and it will turn green to ur UMS will be connected.. Ensure that both internal and external SD are connected and
accessible (Imp).
3. Turn off UMS and reboot the phone... Once booted up uninstall the UMS app
Reboot the phone again and then try to connect to USB again.. This time you will get prompted like this : (See screenshot)
4. Now u connect to the PC via UMS , and as always bot turns green.. Voila u have UMS now !!!
I do know some of you might have already been using this , and I don't boast it being a great discovery.. just something worth sharing for the unaware..
Cheers !!!
Click to expand...
Click to collapse
this is already implemented in cm10 you could simply just go to Settings > Storage > hit Menu > select either mtp, mass storage or ptp Connection. what this app do is just to activate the usb mass storage mode. It is already incorporated in cm10. cheers

gorgy76 said:
this is already implemented in cm10 you could simply just go to Settings > Storage > hit Menu > select either mtp, mass storage or ptp Connection. what this app do is just to activate the usb mass storage mode. It is already incorporated in cm10. cheers
Click to expand...
Click to collapse
Strange, it appears to have been left out of Taks's AOKP 9/24 release. Was that added to CM10 recently?

ugoff said:
Strange, it appears to have been left out of Taks's AOKP 9/24 release. Was that added to CM10 recently?
Click to expand...
Click to collapse
And since tasks AOKP isn't built from cm10 it makes sense.

Thanks fr the steps
I have Note 10.1 Model N8000 with JB 4.1.2 (Germany)
Pl tell me if I can install this on my N8000
If anyone has made it work, pl share the steps
Thanks

clive48 said:
Thanks fr the steps
I have Note 10.1 Model N8000 with JB 4.1.2 (Germany)
Pl tell me if I can install this on my N8000
If anyone has made it work, pl share the steps
Thanks
Click to expand...
Click to collapse
No go to the section for your phone.
Sent from my Zanpakuto using Getsuga Tensho!

clive48 said:
Thanks fr the steps
I have Note 10.1 Model N8000 with JB 4.1.2 (Germany)
Pl tell me if I can install this on my N8000
If anyone has made it work, pl share the steps
Thanks
Click to expand...
Click to collapse
Search for the right forum for ur tablet. Type ur model number then xda

Can I flash this on my iPhone 5?

please reupload this
the download link is "dead"

Phalanx7621 said:
Can I flash this on my iPhone 5?
Click to expand...
Click to collapse
yes this app is specially created for iphone 5 )

CaineRau said:
yes this app is specially created for iphone 5 )
Click to expand...
Click to collapse
Yes! Score!

Phalanx7621 said:
Yes! Score!
Click to expand...
Click to collapse
anyway to restore MTP functionality after doing this? MTP option just dissapeared.
and i need it because thats what i use when sincying my music (i mean i need both) but seemes like once i do this theres no turning back.
its either just connected or connected as Mass storage, akso my camera ptp mode disapeared :S

arana1 said:
anyway to restore MTP functionality after doing this? MTP option just dissapeared.
and i need it because thats what i use when sincying my music (i mean i need both) but seemes like once i do this theres no turning back.
its either just connected or connected as Mass storage, akso my camera ptp mode disapeared :S
Click to expand...
Click to collapse
Disclaimer: I have no knowledge of AOSP roms, or of the application in the OP. That being said...
File transfer behavior is governed by the system property /data/property/persist.sys.usb.config. This is a text file containing a single string. The settings are "mass_storage,adb" or "mtp,adb". Since this is a system file, it is necessary for the phone to be rooted, and then this file can be edited using a root file explorer. Change the text in the file to mtp,adb (without spaces), save the file, and reboot the phone. UMS, or USB Mass Storage is the first one. This is true for Samsung firmware.

Related

[APP][02/26] Nook Color USB Mass Storage utility - Mount any partition to your PC

I've compiled a simple app to be able to easily mount to your PC any given partition.
Feel free to donate if this app is of any use to you. Much appreciated.
Please note that changes to the drive will not be saved if you do not properly unmount/eject the drive from PC (in Ubuntu: right click, unmount. In Windows, eject.).
For those using stock browser, apk files often fail to download.. You can install Astro explorer and activate downloads in settings (last option). Then you should be able to download this file.
Dolphin should work without issues..
This is a Beta release.
This requires a working root (su). By that I mean your nook must be rooted. Regarding HC, see j4mm3r's thread.
This can be used, for example, to open your SD or internal data on your PC..
You can mount pretty much any partition to your computer with this app:
- SD
- Media (internal drive for your media and documents...)
- SD Partitions (up to 4)
- Internal storage - BE VERY CAREFUL WITH THIS!!
There are two "mount points" on the nook (lun0 and lun1)
So you can simultanously mount two partitons.
As an example, you can mount SD on 1st and MEDIA on the 2nd.
Each mount point has it's own tab.
Please try it out and post feedback.
Thank you.
EDIT (13.02.2011):
This has been tested on HoneyComb and Froyo (not in Eclair 1.0>1.1).
In Froyo: USB Mass Storage (Notification bar) should be turned off.
Compatibility mode will need to be disabled in Spare parts (reboot required).
If this doesn't work for you, try entering manually in ADB while NC plugged in to your PC:
Code:
adb shell
echo /dev/block/mmcblk0p8 > /sys/devices/platform/usb_mass_storage/lun0/file
And post result here.
Sam
----------------
UPDATES:
13-02-2011: 0.2b => minor bugs and made app scrollable for Froyo Landscape
26-02-2011: 0.3b:
- Changed 'settings' label (mistake) to system.
- Added a "Make sure you properly unmount/eject drive from PC when finished" message when mounting.
- Added dual boot system and data (p9 and p10).
- Changed 'Confirm mounting' to 'Confirm', as poster suggested. Thanks.
--------------
Hmm can't quite seen to get it to work right. The app does nothing for me when I select a partition to mount. I can get the SD card mounted via android's USB connected notification. I've tried the app with it turned on and off. It's got super user, so that's not it. By the way, I'm running Froyo 6.7 off the eMMC. Let me know what to try.
EDIT: Got it to work after running the ADB command in 1st post. Awesome app, thanks.
Sam,
Thank You, you program made my day. It works great, I have been messing with vold.fstab for days and I could only mount the boot of my sdcard. So, I went with manually pushing file to /sys/devices/platform/usb_mass_storage/luno/file which worked but your app make the process much better.
Again Thank you for everything you have done.
Biz
Could this work as a Xbox media storage? I want to get a new demo, and I got no Hard Drive
Works great!
this is great! i was thinking (since your help in the other thread) about trying to cobble something like this together myself in android app creator suite but didnt know if i could manage or not. Now i dont need to even try! thank!
EDIT: 2 things, one, is it possible to have this setting survive a reboot? and secondly, is the display supposed to be tiny? it only fills like a third of the screen and is centered at the top. this is on emmc froyo 0.6.7 the screen is scrollable as you said so just have to scroll down for the confirmed button
Does it unmount them on the nook when they are attached to the PC? I was playing with the echo command and it seems that the nook is unable to see any changes to the filesystem. I wrote a script that unmount them then runs the echo statement. Then another script that remount them once they are disconnected.
Good question. As I said, this is beta. I'm open to any suggestion. From what I tested, changes did actually occur even when mounted on android..
Unchecked compatibility mode in spare parts and reboot for fullscreen..
Sent from my HTC Desire using XDA App
samuelhalff said:
Good question. As I said, this is beta. I'm open to any suggestion. From what I tested, changes did actually occur even when mounted on android..
Unchecked compatibility mode in spare parts and reboot for fullscreen..
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
you did say that huh... sorry
This provided an easier way to fix root (SU binary) to make SuperUser work again on HC.
Glad it helped.
Over 100 downloads and very few feedbacks...
Sam
Sent from my HTC Desire using XDA App
samuelhalff said:
Over 100 downloads and very few feedbacks...
Click to expand...
Click to collapse
Interesting. I did see that if you try to download / install directly from the HC browser it doesn't work. Perhaps people do this instead of trying with their computer and assume it doesn't work? Downloads don't equal successful installs.
For Windows users, it (currently) provides the only way to mount the 4th partition of my HC SD card. Am I mistaken? Perhaps others don't realize what this is or are put off by the UI?
Keep it up. This is a much needed utility ATM.
The UI isn't THAT awful, is it?
Anyway, this can help a lot of people, especially the ones not too familiar with ADB..
Sam
Sent from my HTC Desire using XDA App
samuelhalff said:
The UI isn't THAT awful, is it?
Anyway, this can help a lot of people, especially the ones not too familiar with ADB.
Click to expand...
Click to collapse
To a person familar with partitions and the android file system it's fine. To those expecting a more fruity / friendly UI, it's far from it. However, you can't please everyone and it might be a waste of your energy to try. It's practical / functional and that's all I need it to be.
Indeed it can, much preferred over ADB even though I can use it just fine. You might want to make it more clear in the OP that users that have problems may need to type "adb shell" before the echo command. Not everyone will know this.
You app works well Sam! I can finally access my media partition via USB. I am looking forward to updates. Perhaps retaining setting after a reboot? Great work man!
Works great! I downloaded it with dolphin browser (running froyo on emmc) Then used root explorer to navigate to downloads and just clicked to install. Doesn't get any easier than that!
Would it be possible to have it mount media partitions? Like if I have dual boot setup would it be possible to mount the extra partitions to edit them?
Which media partitions?
Right, forgot about dual booters.. I'll implement that in 0.3..
Thanks.
Sent from my HTC Desire using XDA App
I want to thank you so much for this samuelhalff. I mean it. Something like this that may seem trivial to someone who can just do it means a WORLD to someone like me and i truly truly appreciate it. The devs/peeps here have made my little wanna be ereader ((hehe)) a great honeycomb tablet. I think its great for someone that cant afford the next great thing **xoom** to be able to join in the tech fun. You all have made me very happy with my little tablet.
Jamie.
Love the app!!!! but i got a issue now... There is no way for me to browse the media partition on the device... so I can not access my pictures that I placed on the internal storage...any insight?
Working great for me, HC on eMMC. Appreciate it!

[Q] Internal Memory and SD access

Hey there, Archos users.
There is an issue i have with my Archos 101 since I have upgraded to 2.3.20 (I have the same on 2.3.26) with internal memory and SD card.
Here is what I have:
After i boot the device, within some time (from 1 minute up to 30 minutes) the SD icon appears on the top saying "SD card safe to remove: You can safely remove SD card". When I am trying to access the file system from "Files" app - i can see no files even on my internal memory and a message: You can not use the internal storage while it's connected and mounted to the USB..
At the same time all files on internal memory and SD can be fully (RW) accessed via alternative file managers (ASTRO etc.).
As I have no posibility to downgrade to older firmware - I have installed Uruk 0.7. I was playing with it for about 30 minutes - no problems.
Did anyone faced the same issues? I am in Ukraine so have no local Archos support so dramaticaly need your help.
Just tried chulri's method of rooting - same problem.
As I understand, this method uses the installed firmware as a basis and puts root in it.
gsmguru said:
Just tried chulri's method of rooting - same problem.
As I understand, this method uses the installed firmware as a basis and puts root in it.
Click to expand...
Click to collapse
I suspect there is a filesystem problem use the recovery menu to check the disk.
wdl1908 said:
I suspect there is a filesystem problem use the recovery menu to check the disk.
Click to expand...
Click to collapse
Will do now, but how come Uruk is working fine? Does it allocate some dedicated part of internal storage?
UPD: Well, it did not help. I did the disk check twice and got the same problem right after i boot up.
Anyone? Really need you help people.
Sounds like you are having the same exact problem I was having a few weeks ago and am having again now. The only solution I found that seems to work 100% is a full system wipe unfortunately. Meaning... wipe the entire Archos drive clean AND remove SDE as well as Android (if you happen to have Android), then reinstall Android first, then reinstall the 2.3.20 SDE as well, then reflash your 2.3.20 firmware again and rebooting after each step. Doing so solves the problem BUT I have no idea why it keeps happening to me still? In addition to having the same message as you... I then try to connect my A101IT to my laptop via the micro USB cable it reads "USB Operation Failed, There is a problem using your device's memory for USB storage. Only problem is that I never uninstalled or touched anything in the A101IT's system folders that I wasn't supposed to even though I have Chulri's Permanent Root Access via Firmware 2.3.20. So any help with the BOTH of these messages would be much appreciated too. By the way, like (gsmguru) I still have the problem when I go to my Recovery Menu and click on Check Disc.
I think i have the solution for this problem . Please try and post your results.
I suspect it has something related with latest fw's and wifi "Network share" .
When i deleted my home network and connected again BUT NOW checking the "disable network share" option the problem stopped for me the last 3 days.
Post your results so we can inform Archos about this bug.
You sir, are a genius!! Disabling Network Share in my personal Wifi Settings solved it in 2 seconds! Thanks!
.... Let's see how long Disabling Network Share lasts before the initial problem arises again...
Just got online. Let me check...
1. Staring up Archos
2. Problem with internal memory apperared immidiately.
3. Settings - WiFi - Forget...
4. Connect to.... Disabling Network Share
5. Reboot...
6. Where is that "Thank you" button?
It hellped. But... no more "The Big Bang Theory" from my NAS.
There is a bug in the new firmware. Just sent a custommer request via archos site from my account.
THANK YOU lagoskon.
spicy_puerto_rican said:
In addition to having the same message as you... I then try to connect my A101IT to my laptop via the micro USB cable it reads "USB Operation Failed, There is a problem using your device's memory for USB storage.
Click to expand...
Click to collapse
I also had the same. Just did not mentioned.
Anyway - I am kind of happy it's not HW issue. Hope it'll be fixed.

[Q][SOLVED] Xperia Pro MK16i stopped acting as Mass Storage Device

I've got a similar issue to what's described in this thread: http://forum.xda-developers.com/showthread.php?t=1103682
My Sony Ericsson Xperia Pro MK16i used to show up as a mass storage device when I plugged it into my Windows Vista computer. The microSD was assigned a drive letter and became a normal part of my filesystem, same as any USB stick or external hard drive.
Now though, it appears as a media device called Xperia Pro, and inside that there's SD Card, which contains the data of the microSD.
This wouldn't be that much of a problem for me since I still have access to my files, but the lack of a drive letter gives me some trouble when trying to address the location in various programs.
I'm not sure if it changed from Mass Storage to Media Device when I installed CM9.0RC0 FreeXperia 114, or if it happened after that, but I can't find any option in the phone's settings to change it back to Mass Storage.
I've also tried uninstalling the drivers from the PC but as soon as I plug it in again they get re-installed without it ever showing up as a mass storage device.
So in the end, my question is this:
What can I do to get it to connect as a Mass Storage device like it used to?
Hopefully there's a solution that allows me to stay with FreeXperia and not have to go back to the stock ROM.
spiritofcat said:
I've got a similar issue to what's described in this thread: http://forum.xda-developers.com/showthread.php?t=1103682
My Sony Ericsson Xperia Pro MK16i used to show up as a mass storage device when I plugged it into my Windows Vista computer. The microSD was assigned a drive letter and became a normal part of my filesystem, same as any USB stick or external hard drive.
Now though, it appears as a media device called Xperia Pro, and inside that there's SD Card, which contains the data of the microSD.
This wouldn't be that much of a problem for me since I still have access to my files, but the lack of a drive letter gives me some trouble when trying to address the location in various programs.
I'm not sure if it changed from Mass Storage to Media Device when I installed CM9.0RC0 FreeXperia 114, or if it happened after that, but I can't find any option in the phone's settings to change it back to Mass Storage.
I've also tried uninstalling the drivers from the PC but as soon as I plug it in again they get re-installed without it ever showing up as a mass storage device.
So in the end, my question is this:
What can I do to get it to connect as a Mass Storage device like it used to?
Hopefully there's a solution that allows me to stay with FreeXperia and not have to go back to the stock ROM.
Click to expand...
Click to collapse
My advice is to go back to stock. Theres no way to fix that by not going into the ROM files that I know of. The developer must have left it out due to bugs or something.
Thanks for the reply!
I guess I'll just learn to live with it.
It's not worth it for me to go back to the stock rom just for this.
Maybe a future release will enable the mass storage mode again.
Okay, I've just switched rom from the FXP114 ICS CM9.0 over to FXP 115 GB CM7.2 and I've got normal Mass Storage functionality again.
So my problem lay either with CM9 or ICS.
Anyone got any word on which it is? Is the media device connection an ICS thing or something specific to CM9?
Hi,
the problem is within CM9 and releases > 113, because the kernels have the issue with the blank screen on boot.
I found a fix for the blank screen problem in another thread and send a PM to FXP.
The fix is described here:
Also, bear in mind:
Originally Posted by DooMLoRD View Post
there is a bug in the semc S1 bootloader... sometimes if the boot.img isnt of a correct size then the device will not boot... the workaround is to add a "filler" file (which is say 512KB file with junk data) to the ramdisk so as to increase the size of the final boot.img file...
thanks to jerpelea for this incredible tip... i must have wasted atleast 10-15 hrs trying to figure out why my kernel failed to boot
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1477845
I tested it myself (unpacked fxp113 and fxp 115 kernels, copied "filler" file from fxp113 to fxp115 dir, repacked to new boot.img and flashed) and I have now a working CM9 FXP115 with the FXP115 Kernel.
Mass-Storage works, Torch is working again, but still no Video recording.
Hi,
just fyi, there is now a working kernel for fxp115 and cm9 online in the fibreupload folder.
I just tried it, and it works!
No more blank screens
Jolli20 said:
Hi,
just fyi, there is now a working kernel for fxp115 and cm9 online in the fibreupload folder.
I just tried it, and it works!
No more blank screens
Click to expand...
Click to collapse
I tried that file.
FXP115-cm9.0-boot-iyokan.img
It still gave me a black screen and no recovery mode.
edit:Actually, now that I check that link again the file seems to be gone.
Checking the link from FXP's signature I see another one though.
FXP115-cm9-boot-iyokan-fix.img which I guess must be the actually working one.
I'll download that now and give it a try.
Jolli20 said:
Hi,
the problem is within CM9 and releases > 113, because the kernels have the issue with the blank screen on boot.
I found a fix for the blank screen problem in another thread and send a PM to FXP.
The fix is described here:
http://forum.xda-developers.com/showthread.php?t=1477845
I tested it myself (unpacked fxp113 and fxp 115 kernels, copied "filler" file from fxp113 to fxp115 dir, repacked to new boot.img and flashed) and I have now a working CM9 FXP115 with the FXP115 Kernel.
Mass-Storage works, Torch is working again, but still no Video recording.
Click to expand...
Click to collapse
That sounds great! I've got zero experience with unpacking and re-packing kernel files though, so is it possible for you to upload your fixed FXP115 kernel file so I can just download and use it?
Edit: Never mind, I'm trying the new fixed version of the img file now.
Hi,
go to the following thread:
http://forum.xda-developers.com/showthread.php?t=1445819
and there go to the fibreupload link for CM9.0 RC0
FXP115.
Inside the folder there's a file: FXP115-cm9-boot-iyokan-fix.img
That's the working kernel.
It's directly from FXP and works for me and the Xperia Pro.
spiritofcat said:
That sounds great! I've got zero experience with unpacking and re-packing kernel files though, so is it possible for you to upload your fixed FXP115 kernel file so I can just download and use it?
Click to expand...
Click to collapse
Yes,
the FXP115-cm9.0-boot-iyokan.img doesn't work.
The new uploaded FXP115-cm9-boot-iyokan-fix.img works. (without the .0 ;-)
Yes, the new one with fix in the name works for me too.
I've got FXP115-cm9.0 installed now and it's beautiful!
Mass Storage is working.
LED Torch is working.
It's all good!
Except there doesn't seem to be a file manager packaged with the rom like there was in cm7.2
Not a huge problem though, since I can use titanium backup to restore the one from cm7.2

Jelly Bean and Enabling Mass Storage

hello friends
can some one please point me to a thread link or something that helps me in Enabling Mass Storage on my device which is rooted and flashed with jelly bean
ankscorek said:
hello friends
can some one please point me to a thread link or something that helps me in Enabling Mass Storage on my device which is rooted and flashed with jelly bean
Click to expand...
Click to collapse
in setting/storage/advance menu/tick usb mass storage
nitinvaid said:
in setting/storage/advance menu/tick usb mass storage
Click to expand...
Click to collapse
system settings-->storage i see no advance menu only data available for internal storage and apps using space..
there is only one option "Erase SD card"
"Advance menu" is hardware menu key.
przemcio510 said:
"Advance menu" is hardware menu key.
Click to expand...
Click to collapse
yeah i am aware..the hardware key on the left when pressed does not respond and doesnot give me any option
is it a bug?
ankscorek said:
is it a bug?
Click to expand...
Click to collapse
try the solution in the link and see if it wrks for u
USB Mass Storage.Apk
su
setprop persist.sys.usb.config mass_storage,adb
reboot
ty sun90 the link worked...
please przemcio amplify the location of persist.sys.usb.config
it looks like a permanent so9lution
ankscorek said:
hello friends
can some one please point me to a thread link or something that helps me in Enabling Mass Storage on my device which is rooted and flashed with jelly bean
Click to expand...
Click to collapse
Go to settings>Storage>menu key>USB mode> Choose Mass Storage
I had this "problem" before
In Jelly Bean 4.1.2:
Settings/More settings/USB utilities/Connect storage to PC
There is no way in Storage to select something with the menu key
cpl.Bower said:
In Jelly Bean 4.1.2:
Settings/More settings/USB utilities/Connect storage to PC
There is no way in Storage to select something with the menu key
Click to expand...
Click to collapse
Dude..which ROM are you on?
I am on Stock XXELL4 and I cant see "USB Utilities" on "More Settings"
Did you install any mod?
msri3here said:
Dude..which ROM are you on?
I am on Stock XXELL4 and I cant see "USB Utilities" on "More Settings"
Did you install any mod?
Click to expand...
Click to collapse
he already mentioned that he is on Jelly Bean 4.1.2
this is available in Jelly Bean 4.1.2 stock XXLSJ
Jelly Bean 4.2.1 [CM 10.1] and Enabling Mass Storage
ankscorek said:
hello friends
can some one please point me to a thread link or something that helps me in Enabling Mass Storage on my device which is rooted and flashed with jelly bean
Click to expand...
Click to collapse
Look in to this...
http://forum.xda-developers.com/showpost.php?p=29949177&postcount=63213
Sun90 said:
try the solution in the link and see if it wrks for u
USB Mass Storage.Apk
Click to expand...
Click to collapse
Just in case this wasn't seen before, as I already commented on the thread mentrioned here, I'd thought to let people know that Webroot SecureAnywhere found the file installs com.teampassion.stunner.UsbMassStorage, which contains a variant of android.sms.fakeinst trojan!!!
Anyway, none of the solutions here worked, but I finally found two solutions that do under Jelly Bean 4.1.2:
1 - Multi Mount SD Card, the latest version supposedly does not require root, it uses a widget, some features require purchase of the pro version.
2 - SGS3 Easy UMS from right here, requires Root and BusyBox Installer and is freeware/donationware
In both cases, only the external SDCard is accessible. Although the internal memory also shows as a drive, it is NOT accessible by the PC.
To me, however, it finally permits me to do some real file system work and very speedy direct file transfers without date corruption like what happens using the MTP.
przemcio510 said:
su
setprop persist.sys.usb.config mass_storage,adb
reboot
Click to expand...
Click to collapse
Thank you so much for this, przemcio510! After applying this, now when I plug in the USB cable the option to connect a USB mass storage device automatically pops up like it did with previous versions (like JB 4.2.1 even). Before this, nothing would work. I tried selecting the newly-repositioned option under Storage, click Options button, USB connection options, but every time I actually plugged in a USB cable it would automatically revert to the far-inferior media connection option.
I should add that you need to make sure USB Debugging is turned on first BEFORE entering this line of code.
As a note to others who are questioning the need for USB Mass Storage connectivity, besides the significant speed boost (and the fact that Windows actually treats it as a storage device, can give you a measurement of speed and progress, it acts just like a hard drive, etc.), I found there WERE problems with using MTP, primarily that Windows was unable to see all the actual data files in certain Android folders. I wanted to copy over some backups I did using clockworkmod to my home server, and Windows could not SEE half of them! Very strange.
btw I am running JellyBAM 6.5 (JB 4.2.2). This was my only real issue with that otherwise-magnificent ROM, but it sounds like it is some kind of JB 4.2.2 bug.
przemcio510 said:
su
setprop persist.sys.usb.config mass_storage,adb
reboot
Click to expand...
Click to collapse
Hello, I'm having a similar problem connecting. can someone talk me through how to enter this code? I recently rooted my phone to 4.2.2 but I'm new to this. Thanks.
mistystorm said:
Hello, I'm having a similar problem connecting. can someone talk me through how to enter this code? I recently rooted my phone to 4.2.2 but I'm new to this. Thanks.
Click to expand...
Click to collapse
You would need to have a app that allows you access to superuser and that can input command scripts,
or you can simply download "terminal emulator" from the Playstore.
After this, type in exactly what is quoted above.
Note:
You need to have Root access, to check if you do, after you type in "su" into the terminal emulator, the sign "$" show switch to "#" on the following line after you entered the code.
This method works for some devices, but not other all other ones.
Hope this helps.
przemcio510 said:
su
setprop persist.sys.usb.config mass_storage,adb
reboot
Click to expand...
Click to collapse
You, sir, are a kind soul.
Is this a "permanent" fix or is it an operation that has to be performed each time? How is it reveresed? Thanks!

[Q] Is there a mod that allows me disable the Installer on USB connection

Is there a mod that allows me disable the Installer from automatically coming up when connecting to a pc through USB?
Tyetiger said:
Is there a mod that allows me disable the Installer from automatically coming up when connecting to a pc through USB?
Click to expand...
Click to collapse
I was able to by deleting autostart.iso file from \system\etc
I use Mac and it no longer mounts the mobile Verizon app. I assume its the same for windows.
Itsmyphoneyo said:
I was able to by deleting autostart.iso file from \system\etc
I use Mac and it no longer mounts the mobile Verizon app. I assume its the same for windows.
Click to expand...
Click to collapse
Ive been trying for days! Haven't been able to find that folder or file. Unfortunately I have a PC
Tyetiger said:
Ive been trying for days! Haven't been able to find that folder or file. Unfortunately I have a PC
Click to expand...
Click to collapse
You need root to do this... I probly should have mentioned that. Sorry. Getting root is easy now, there are a could threads on how to root with very easy step by step instructions. After you gain root, purchase root explorer from PlayStore (yes, you have to spend a couple $ but its worth it) and use that app to navigate and delete the file. You will likely use the app again, unless you switch to an iPhone. So it's worth the little bit of money.
I see autorun.iso, I assume that's what you're referring?
Sent from my SCH-I545 using xda app-developers app
Itsmyphoneyo said:
You need root to do this... I probly should have mentioned that. Sorry. Getting root is easy now, there are a could threads on how to root with very easy step by step instructions. After you gain root, purchase root explorer from PlayStore (yes, you have to spend a couple $ but its worth it) and use that app to navigate and delete the file. You will likely use the app again, unless you switch to an iPhone. So it's worth the little bit of money.
Click to expand...
Click to collapse
Ok. I was able to download a root explorer and remove the autorun.iso. But I notice the phone still says "Installer is connected" and I still can't view the sdcard or drive on the phone unless I'm in Camara(PTP) mode.
Tyetiger said:
Ok. I was able to download a root explorer and remove the autorun.iso. But I notice the phone still says "Installer is connected" and I still can't view the sdcard or drive on the phone unless I'm in Camara(PTP) mode.
Click to expand...
Click to collapse
Check your usb debugging settings. you might need to either check that box or unchecked it. I can't help much more than that if you're using Windows, I'm a mac user. But that sounds like all you would need to do. Hope it helps.
Verizon installer
Okay here is a weird one (or maybe not). Started getting this when I first connected the S4 to PC via USB. Now when I connect my S3 I am getting the same popup. S3 is rooted never had this message.
I am thinking this is somehow embedded into the new Samsung USB drivers. When the phone is plugged in, some form of check reveals a VZW phone which triggers the installer????
Did anyone figure this out? I was able to stop the Verizon Installer Pop up by renaming the autorun.iso, but there is still a 30 second delay before I get access the the phones internal and external memory.
Gam3r 4 Life said:
Did anyone figure this out? I was able to stop the Verizon Installer Pop up by renaming the autorun.iso, but there is still a 30 second delay before I get access the the phones internal and external memory.
Click to expand...
Click to collapse
Bump, I'd like to know the same thing.
ecen92 said:
Bump, I'd like to know the same thing.
Click to expand...
Click to collapse
I'm getting connect/disconnect every 3 seconds.
Gam3r 4 Life said:
Did anyone figure this out? I was able to stop the Verizon Installer Pop up by renaming the autorun.iso, but there is still a 30 second delay before I get access the the phones internal and external memory.
Click to expand...
Click to collapse
Still trying to figure this one out........any ideas......anyone????
Zelmo88 said:
Still trying to figure this one out........any ideas......anyone????
Click to expand...
Click to collapse
Bump! Anyone find a cure for this yet?
I think I figured it out. I'm still on original MDK build. I don't know if that changes anything.
1. autorun.iso removed (may not be necessary, but mine is gone)
2. enable hidden menus (step 2) http://forum.xda-developers.com/showthread.php?t=2303905
3. enter dialer code *#0808#
4. select MTP+ADB
5. reboot (may not be necessary)
My phone originally had nothing selected. I don't know how to go back to that unselected mode. I can't guarantee anything. It's working for me. My phone now connects in MTP mode within a second or two of connection (unless the phone is in the middle of a reboot, then that has to complete first.)
Chris000001 said:
I think I figured it out. I'm still on original MDK build. I don't know if that changes anything.
1. autorun.iso removed (may not be necessary, but mine is gone)
2. enable hidden menus (step 2) http://forum.xda-developers.com/showthread.php?t=2303905
3. enter dialer code *#0808#
4. select MTP+ADB
5. reboot (may not be necessary)
My phone originally had nothing selected. I don't know how to go back to that unselected mode. I can't guarantee anything. It's working for me. My phone now connects in MTP mode within a second or two of connection (unless the phone is in the middle of a reboot, then that has to complete first.)
Click to expand...
Click to collapse
Tried this on Sophisticated 2.5 . It's a 4.3 rom I get this: error: device offlineerror: device offline even though Link Status is Device Connected. My autorun.iso file was in /system/etc I renamed it. Changing the dialer code *#0808# to MTP works until I reboot. Same thing with dialer code *#7284#. I edited a file in /efs/carrier/HiddenMenu "OFF" changed to "ON" all in capital letters This survives a reboot.
But MTP doesn't
desertopal said:
Tried this on Sophisticated 2.5 . It's a 4.3 rom I get this: error: device offlineerror: device offline even though Link Status is Device Connected. My autorun.iso file was in /system/etc I renamed it. Changing the dialer code *#0808# to MTP works until I reboot. Same thing with dialer code *#7284#. I edited a file in /efs/carrier/HiddenMenu "OFF" changed to "ON" all in capital letters This survives a reboot.
But MTP doesn't
Click to expand...
Click to collapse
I'm on MK2 rooted and I have the same problem with the setting not surviving a reboot. Anyone have any other ideas?
Removing the file should work, if it's giving you a delay then my guess is either your computer or the device is trying to find the file. Back on my s3 and dna rom I had only removed the file and vzw installer didn't show up
Sent from my SCH-I545 using XDA Premium 4 mobile app
CovXX said:
Removing the file should work, if it's giving you a delay then my guess is either your computer or the device is trying to find the file. Back on my s3 and dna rom I had only removed the file and vzw installer didn't show up
Sent from my SCH-I545 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Removing the file does not solve the problem, it still connects as installer for a while before connecting as media device. It's not a huge problem, just annoying! I'm curious if everyone has this problem, or if it's just a few of us??
Zelmo88 said:
Removing the file does not solve the problem, it still connects as installer for a while before connecting as media device. It's not a huge problem, just annoying! I'm curious if everyone has this problem, or if it's just a few of us??
Click to expand...
Click to collapse
I have the same issue. I've tried looking through/changing settings in build.prop, default.prop and init.usb.rc with no luck. I need to do a little more searching to better understand init.usb.rc as a lot of the settings are jibberish to me.
Chris000001 said:
I think I figured it out. I'm still on original MDK build. I don't know if that changes anything.
1. autorun.iso removed (may not be necessary, but mine is gone)
2. enable hidden menus (step 2) http://forum.xda-developers.com/showthread.php?t=2303905
3. enter dialer code *#0808#
4. select MTP+ADB
5. reboot (may not be necessary)
My phone originally had nothing selected. I don't know how to go back to that unselected mode. I can't guarantee anything. It's working for me. My phone now connects in MTP mode within a second or two of connection (unless the phone is in the middle of a reboot, then that has to complete first.)
Click to expand...
Click to collapse
Running the Casual-gnote2 I get this: file/ Open Casual Script (go to location, click on the downloaded Casual-gnote2.jar) it opens and gives me this
Description for /home/wade/Downloads/CASUAL-GNOTE2-Hidden Menus.jar
File Not Found Error: /home/wade/Downloads/CASUAL-GNOTE2-Hidden Menus.jar.txt
Delete this debug line in MenuItemOpenScriptActionPerformed()
If I just open Casual-gnote2 and click DO IT I get this: error: device offlineerror: device offline
In both cases the Link Status = Device Connected

Categories

Resources