yashsingh1/xdaforums huggingface dataset:
[Nexus One Themes and Apps] Zero_Tab_2011:
Solution

You should do the following steps.

1. You should root your phone or tab first

2. Install application: Root Explorer for Android

3. Start it, then search the following path (use back button): system/app

4. There you will see the pre-installed applications. Look for such a file: UsbMassStorageToggle.apk

5. Long press your finger on the file and select Delete

6. Copy and paste the new version into this directory (system/app)

7. Long press your finger on file and select Permissions

8. Select the following permissions only: User (Read, Write), Group (Read), Others (Read). Hit OK button.

9. Short press (tap) your finger on the file and select Install.

It will install without a problem and you can start it.

I recommend to download the latest version from here:

http://xdaforums.com/showthread.php?t=1389375

I am using version (1.2.0-pre) since version 1.0.1 was not working.
[Nexus One Themes and Apps] tariqso:
Thanks for ur work
[Nexus One Themes and Apps] cybdani:
Thank you very much!

Keep up the good work!
[Nexus One Themes and Apps] PYCON:
Not working on my LG 2X SK1 ICS 4.0.3 :(:(:(
[Nexus One Themes and Apps] bobsf40:
Transformer Prime with 4.0.3, it says:

'need to be rooted, you are not'.

My prime is rooted. It asks me for root, and I grant it.

Thats the first time I run the app. The second time, or anytime after it says "You cannot enable UMS with a USB connection.

Would love to have this working, since I believe that MTP is slower and UMS.
[Nexus One Themes and Apps] sahibunlimited:
Don't work on sgs2 cm9

mtp is broken

any workaround?:(
[Nexus One Themes and Apps] Dr01_D:
Successfully works on the jan5th alpha build ICS OG Droid
[Nexus One Themes and Apps] Blazing angel:
This doesn't work on the cm9 alpha for the Lg G2x (P999) :(
[Nexus One Themes and Apps] humjaba:
I am having the same problem :( Help?
[Nexus One Themes and Apps] beccionet:
Thanks. :):)
[Nexus One Themes and Apps] emmanueldmc:
Please!! support for GALAXY SII ics room`s!!! :(
[Nexus One Themes and Apps] maccumaccu:
Please support for Lg Dual....... i can mount my sd on Linux Fedora 16 only with mtpfs.

Contact me, i can make test for you.
[Nexus One Themes and Apps] zelitrex36:
Same here which is sad for two reasons :

1) it is supposed to work on kindle fire

2) this thread is linked on the miui.us thread so I guess it is supposed to work

so

What did we do wrong ? :)
[Nexus One Themes and Apps] drscript:
Thanks alot :)
[Nexus One Themes and Apps] evol4g:
htc evo 4g

I installed this apk and it worked like a charm when it came to mounting to my computer but when I move a file to my sd it doesnt load on my phone. when i plug it back into the computer the file shows as being there but when i unmount and use file explorer the file doesn't exist... Help?!

EDIT: after a third reboot it all showed up on my sd... interesting...
[Nexus One Themes and Apps] MrZammler:
This is great! Thanks!

Just tried it on an SGSII with CM9, works as it should.

Any chance you could initiate the media scanner when the cable is disconnected? :-)
[Nexus One Themes and Apps] Raadius:
Love it! Been using it for 3 weeks on my Evo 4G! Thanks!
[Nexus One Themes and Apps] rahulsuneja:
Hey.. It works perfectly on CM9 (SGSII).

But the problem is: the media scanner does not search for media files once I disconnect the device. Could you please correct it in the next update?

Thank you very much!!
[Nexus One Themes and Apps] g1n:
It seems that it doesn't work on Galaxy S2...However, the stock ICS has an option to enable USB Storage Mode which I just discovered. :o

Good work though! :)
[Nexus One Themes and Apps] marco.it:
How did you make it work? I installed the apk and the MTP stills connect before I press the droid to mount UMS. I press it, turns green and nothing happens.

CM9 nightly 22 Mar 12
[Nexus One Themes and Apps] rekrapg:
I don't think there's much point in posting asking for things to be added/fixed etc. If you check the github there's been no activity for months, since he released the version 2 pre. Hopefully Google sort it out asap in the OS itself :)
[Nexus One Themes and Apps] LGXX:
Doesn't work on LG P990 - When I touch the droid to connect, my phone reboots immediately.

May you fix that? Would be awesome! My Ubuntu netbook doesn't like MTP. :o
[Nexus One Themes and Apps] zakun:
-deleted-............
[Nexus One Themes and Apps] diehard2222:
nice work.
[Nexus One Themes and Apps] D4rKn3sSyS:
Hey dude, just checked your sources. The way you get sdcard path, seems dirty (no offense, everything is permitted on programming).

You better take a look to Environment.getExternalStorageDirectory().getPath();.

But this only applies for getting plane path (like /mnt/sdcard/). However getting the block then should be easier.

Great app, and thanks for making sources public!.
[Nexus One Themes and Apps] jontr:
you're talking about official Samsung ICS, right?

cause on CM9 there's no option like that unfortunatelly. and that's where the app comes handy.
[Nexus One Themes and Apps] MrZammler:
It does now, as from the 0404 nightly for the S2 :-)
[Nexus One Themes and Apps] mystery_tx_man:
9016

wrong place!
[Nexus One Themes and Apps] :
Any idea if this feature will ever be integrated into the ROM itself?
[Nexus One Themes and Apps] lesa0208:
Not working with Resurrection Remix ics v1.2 4.0.4 rom on SGS2
[Nexus One Themes and Apps] Aleq:
May I ask Pytlicek, what is the difference between this application and the native support? CM9 for SGS2 supports USB Mass Storage already.
[Nexus One Themes and Apps] .tnm:
1.2.0-pre stays constantly in notification bar for me (HTC Desire GSM, BCM)
[Nexus One Themes and Apps] kiwiboy1978:
+1
[Nexus One Themes and Apps] Pony Express:
Oh Yeah

Thanks a lot! Works on my Infuse with CM9.
[Nexus One Themes and Apps] Zoandroid:
Does not work on Acer Iconia Tab A500 running FlexReaper ICS ROM 12.5
[Nexus One Themes and Apps] iakughan:
work with the dk-zero_cool's rom for N1?
[Nexus One Themes and Apps] sbaeder:
don't need it on the BCM (dk-zero-cool) rom!
[Nexus One Themes and Apps] dodgedroid:
works on LG optimus sol CM9
[Nexus One Themes and Apps] iepurasu_poznas:
Not working with Resurrection Remix ics v1.7 4.0.4 rom on SGS2
[Nexus One Themes and Apps] rahulsuneja:
Goto settings>storage>usb connection (from options)

You won't need UMS app. :D

Phone: Samsung Galaxy SII (I9100)

ROM: Resurrection Remix ICS v1.7

Kernel: SiyahKernel v3.1.2 (or 3.1 rc6)

Don't feel shy to hit THANKS if I helped you. You're most welcome though. ;)
[Nexus One Themes and Apps] martinjochimsen:
Doesn't work on Galaxy Tab 10.1 (P7510) with AOKP build 34
[Nexus One Themes and Apps] Sp8ky:
thank you, very useful on sammy i9003
[Nexus One Themes and Apps] calvinljh:
Sorry pls ignore me, wrongly post
[Nexus One Themes and Apps] Diggia:
Not working with my S 2 with CleanBlank Rom (it's a porting of Nexus ICS original rom) http://xdaforums.com/showthread.php?t=1604366

And now, after using USB MASS Storage, my Win 7 doesn't recognize my S 2 ! O.O
[Nexus One Themes and Apps] shinyu:
THANK

It work on galaxy note n7000

rom ICS Alba 2.2
[Nexus One Themes and Apps] worldofhurts:
UbsMassStorage not working on my Evo 4G

I downloaded Swiperrat 2.5.25 miui rom for my HTC Evo 4G and installed the ROM with no issues. I want to add the USB mounting file from Brexton but am having issues. I downloaded the zip file and tried to install the zip file in recovery. when it starts to install is says it is and then says install aborted. Can someone please help. I am new to trying to install this so I hope I am doing it right. If I am doing it wrong can someone tell me when downloading a new rom and it has files to add like Usb Mass Storage or Gapps what is the whole process on installing......Thanks in advance!
[Nexus One Themes and Apps] .tnm:
you're not downloading a zip file (assuming you're donwloading from the first post), but an apk file. simply copy it to your sdcard and open the file with a file browser (like root explorer, or astro) android installer will guide you through.

you don't have to reboot, especially not into recovery, but you may need to enable installing applications outside play store.
[Nexus One Themes and Apps] k2828:
does not work correctly everytime on my NOTE with rooted stock ics rom.
[Nexus One Themes and Apps] worldofhurts:
The issue was when I clicked on the Usb Mass Storage link on Swiperrats Team Revolution website and when I downloaded it the link downloads as Net.bexton.Android.UsbMassStorageToggle-.1.14.zip. With myself being new to the whole rooting and installing ROMs I thought I was to install it with the MIUI ROM which also was a Zip file. When I logged in to see your response and understood what you were talking about I downloaded it over my phone which downloaded as a APK file. It works great now... Thanks again for all your help!
[Nexus One Themes and Apps] mojakolero:
this great thanks!
[Nexus One Themes and Apps] mobilevirus:
will this work with the galaxy s3, too?
[Nexus One Themes and Apps] astritm:
The idea is perfect, and the app looks good, but not working on my rooted Galaxy Nexus. It says enabled, but nothing's changing on my other device.

Keep the good work, and finally make it ready for GNEX :)
[Nexus One Themes and Apps] .tnm:
UMS only works (and AFAIK will ever only work) with phones that have separate sdcards. GNEX does not have one, sorry.
[Nexus One Themes and Apps] RainesX:
I would likw to know this as well.

Right now its hella slow and my wifes iMac is impossible to transfer to right now :(
[Nexus One Themes and Apps] arian44:
can you make this native?
[Nexus One Themes and Apps] Zoandroid:
Does not work on Acer Iconia A500 running Tegraowners ICS v169.
[Nexus One Themes and Apps] jhondidfool:
Have a Galaxy Nexus with Android Revolution HD and Franco's Kernel. I had ir running, and it worked, abut I had to wipe everything and install again, and now it does not work. Any help?
[Nexus One Themes and Apps] digitalhigh:
Hey, just wanted to say thanks for the great app...and that you can now confirm that this works with MIUI v4 on the Evo 3D. We just released a port for it, and will be including this with releases till we get it worked out system-side.

So, again, thanks for the great app. ;)
[Nexus One Themes and Apps] Mohan herle:
It works like a charm......

Thanks a ton and it works like a charm on Samsung Galaxy Note (N7000) without any issues.

So I suggest you include Galaxy Note (N7000) in your "Confirmed supported devices (only devices with ICS ports listed)":laugh:
[Nexus One Themes and Apps] ponces:
Thanks for this :p
[Nexus One Themes and Apps] Bexton:
Thanks for the feedback. Added the device to the list.
[Nexus One Themes and Apps] htchd2ics:
great

that is a very useful app :)
[Nexus One Themes and Apps] Bexton:
welcome @ xda. if something is helpful for you, then please click the thanks button and don't type it. :good:
[Nexus One Themes and Apps] dparrothead1:
This works great on my Samsung Infuse....:laugh::laugh:

Does not work on my Nook Color...:crying:
[Nexus One Themes and Apps] Bexton:
Thanks for feedback. Added Infuse to the list of supported devices (and sorry it doesn't work for your nook).
[Nexus One Themes and Apps] RheinPirat:
PLZ make a JB (4.1.1) Port for the Galaxy Nexus :good:

I hate the MTP - it is so useless
[Nexus One Themes and Apps] Bexton:
The App should generally work with JB, too. But I didn't got UMS-over-MTP working for ICS.. So I won't try again (until I get myself a device to test on).

------------------------

Edit: Okay guys (and gals).. I've found a working solution in the Galaxy SII forums for using UMS instead of MTP.

Can somebody with a MTP device (eg GN) see if he can get UMS working as follows:

This was taken from the SGS2 forums, but i'm curious to see if that works for the GN too!?

If it does - and your Kernel support init.d scripts - you can try flashing the following zip via recovery to permanently enable UMS instead of MTP:

http://xdaforums.com/attachment.php?attachmentid=1039728&d=1336096142

If that works, but your kernel does NOT support init.d scripts I can implement this solution in the App so you don't have to do the whole rocedure every time you plug in USB. Please let me know.

Also, can somebody with a Galaxy Nexus please let me know if you have a file a file named persist.sys.usb.config in /data/property ? Thanks!
[Nexus One Themes and Apps] PecanCM:
very good work

this app working very good on LG Optimus Me cm9 port

thanks for your work :good::good::good::good::good:
[Nexus One Themes and Apps] Bexton:
Thanks for your feedback. I added the LG P350 Optimus Me to the list of supported devices.
[Nexus One Themes and Apps] l3s:
Hi Bexton!

I try your 1.1.4 apk, not working in my GT-P3110 CM9. :(

But thx anyway.
[Nexus One Themes and Apps] Bexton:
What is the mount point for /sdcard ?
[Nexus One Themes and Apps] l3s:
/mnt/sdcard (internal)

/mnt/extSdCard (external)
[Nexus One Themes and Apps] Bexton:
can you please post the full result of

cat /proc/mounts
[Nexus One Themes and Apps] l3s:
Here is the terminal output:

app_34@android:/ $ export PATH=/data/local/bin:$PATH
app_34@android:/ $ cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/DATAFS /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc,discard 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/CACHE /cache ext4 rw,nosuid,nodev,noatime,errors=panic,barrier=1,nomblk_io_submit,data=ordered 0 0
/dev/block/platform/omap/omap_hsmmc.1/by-name/EFS /efs ext4 rw,relatime,barrier=1,data=ordered 0 0
/sys/kernel/debug /sys/kernel/debug debugfs rw,relatime 0 0
/dev/fuse /mnt/sdcard fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:25 /mnt/extSdCard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
app_34@android:/ $
[Nexus One Themes and Apps] Bexton:
Okay.. Can you please check if you have this file: /sys/devices/platform/usb_mass_storage/lun0/file

ls /sys/devices/platform/usb_mass_storage/lun0/

If you have that, can you please connect your device via USB to PC and issue from terminal:

echo /dev/block/vold/179:25 > /sys/devices/platform/usb_mass_storage/lun0/file

If that doesn't mount external sd, try

setprop persist.sys.usb.config mass_storage,adb
echo /dev/block/vold/179:25 > /sys/devices/platform/usb_mass_storage/lun0/file

Did that worked?

Edit: make sure that you issue terminal commands as root (type su)!
[Nexus One Themes and Apps] l3s:
I no have /sys/devices/platform//usb_mass_storage folder.
[Nexus One Themes and Apps] Bexton:
Okay. I'm sorry I don't have any more time today. I'm gonna check your device's fs structure and post an update tomorrow. So please check back tomorrow (or just add subscribtion for the thread and you'll get an email whenever I post an update).
[Nexus One Themes and Apps] l3s:
okay!

Thank you!
[Nexus One Themes and Apps] taodan:
I installed the app v1.1.4 via adb but when connected it doesn't appear as a removeable drive when enabled. USB debugging is also enabled. I am testing the Jelly Bean ROM on a Nexus One.
[HTC EVO 3D] alfamega190:
I got rock band apk which is almost 200mb, I had to adb push the apk to system/app but now it wont open
[HTC EVO 3D] dastin1015:
No talking of warez on the forums. Read the rules.

私のEVO 3Dから送信される。
[EVO 4G General] Royalfox:
I wonder if it damages our phone's battery. I only have time to set my phone to charge at 10pm and sometimes 1-2am (like right now lol) and wake up at 6am. Does this harm my phone? I don't want to end with a useless battery/phone.

Classic EVO. 'nuff said!
[EVO 4G General] Lacedaemon:
Dude/Dudet, I start charging my phone at, like, 6 PM and unplug it the following day around 9 AM; I'm still getting great battery life. :o I used to run viperMOD until I found the Car-o-Dope tweak. Quick question: is it safe to run viperMOD and Car-o-Dope at the same time? :confused: The introduction said that running anything alongside it would mess up the setup, or potentially harming your device.

Sent from my iPad 2
[EVO 4G General] Royalfox:
I dunno, sorry. I'm a sense guy lol.

Classic EVO. 'nuff said!
[EVO 4G General] oOflyeyesOo:
Im wondering the same thing. From just a quick glance last night, I think it would not effect it as different things are being adjusted. I think atleast..

EDIT: Just checked and there should not be any problems, it looks like carhauler is running incredicontrol, which does the same thing as vipermod but is done manually instead.
[EVO 4G General] sitlet:
With lithium ion batteries, this will not harm them. Plus the phone has the charging circuitry built in to stop charging after it gets full.
[EVO 4G General] Lacedaemon:
If the tweak "does the same thing as viperMOD", viperMOD is then no longer needed, right?
[EVO 4G General] ReapersDeath:
Now a day phones CANNOT be overcharge unless you somehow modify the phones hardware. the light always turns green though before its actually 100%.. theres like a secret 20% sometimes.. but once the standard battery (1400ma) reaches its peak, it auto cuts off.

Source: read through the phones guide and battery details XD
[EVO 4G General] AZ1412:
It depends on your kernel. SBC kernels can degrade your battery over time, although it could take a while. Also, you should not be running car-o-dope with vipermod. Pick one and completely remove the other.
[EVO 4G General] 94tbird:
there is ZERO proof that sBC degrades a battery. dont speak about what you dont know.
[EVO 4G General] AZ1412:
Keeping a lithium ion battery at 100% will cause it to degrade. This is true and I am just trying to help the OP, if I'm wrong then science has failed me and I have made a poor career choice.

Sent from my EVO
[EVO 4G General] -EViL-KoNCEPTz-:
It would only degrade if you left it at 100% constantly for several days the few hrs its on the charger after its full over night would take a very long time to significantly degrade the cells even leaving it filled at 100% for a week straight wouldn't do much harm unless your battery is defective. Cradle chargers for batteries keep them charged to 100% constantly and some ppl leave spares in them for months and they still test fine its overheating that does more damage to a li-ion battery than keeping it fully charged.

Sent From My EViLizED-iCS-EVo4G
[EVO 4G General] stevovanburen:
Hey,

I leave mine plugged in and it wont hurt your battery, even if it does, their 10 bucks for a new one no biggie. and dont get me wrong, as someone posted before me if it does sit at 100% and is still being charged it WILL destroy your battery, but*

But the evo has a lovely feature that it charges up to 100% and turns your status light green but it stops charging. So if you leave it on all night you might unplug it and boom your battery could drop up to 10% depending on how long it was plugged in D: now this is a tragic thing! so what I do is leave it over night, when I get up in the morning I unplug it, let it sit for a few, plug it back in, and i do this 2 or 3 times and it tops my battery off and im set for the day.

This is true to my extended battery anyways...

Hope I could help,

Stevo
[EVO 4G General] shinesthru:
Vipermod is an undervolting tool. The Car-o-dope tweaks optimize RAM. They do completely different things. There is no harm in using both at once. You should not, however, use the COD tweaks along side any other scripts that optimize RAM, like the v6 scripts.
[Galaxy S II Q&A, Help & Troubleshooting] sebastiane:
I am putting Gentoo on my S2 according to a link i got from another post in this forum. Sadly, I am not allowed to post links yet on XDA. Otherwise I would.

I found out 2gb drive is not enough to compile some basic stuff. (Recompiling system with new useflags). What I was wondering is, is there any way to get it to delete the compiling thing that takes so much space, after it is installed? Like automatically? I am using (10)4 gigabytes this time due to 2gb not being good enough.

If this is not a thing that is possible, I dont see it is possible to run on the G2. It is a interesting thought, though, having a desktop OS on the phone. for easy access at all times!

Please help me out here.

EDIT: Files over 4GB isnt allowed, so I have a desperate need for help here.
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
I am not allowed to post links yet on XDA. Otherwise I would.

T hats cause noobs post questions in the wrong place .

jje
[Galaxy S II Q&A, Help & Troubleshooting] pisiiki:
Sure it is.

You can compact your gentoo to probably 150MB. I have not used it for a long time so I can't tell you exactly, but you can post a question in the gentoo forums. You can remove all the portage stuff, libs and so because portage downloads everything or builds it as it goes.

Regards.
[Galaxy S II Q&A, Help & Troubleshooting] AzureusPT:
You can compile Gentoo from stage 1 in 8Gb without problems (counting all the partitions + swap space). You should be able to compile it without problems using only the internal memory.

You can also mount an external SD Card if you need more space.
[Galaxy S II Q&A, Help & Troubleshooting] sebastiane:
Well, I do not know exactly where to look.
[Galaxy S II Q&A, Help & Troubleshooting] sebastiane:
And BTW, I gave this project up, as it drained my battery so much. I might start it again sometime soon, but that will be after I fix some hardware issues
[Galaxy S II Q&A, Help & Troubleshooting] Flint2:
Installed Gentoo on ext2 partition

I've installed Gentoo following this guide, except that i've created a new ext2 partition in /dev/block/mmcblk0p13.

http://www.hubholic.com/content/60/getting-gentoo-on-my-galaxy-s-2

And linked distfiles to /mnt/sdcard/downloads
[Galaxy S I9000 General] IceTi:
Hi,

which Kernel have I to flash to use the BLN Control App on CM7.

The App tells me, that my Kernel is noch compatible...

Thanks!
[Galaxy S I9000 General] duffymm:
BLN is already included in Cyanogen 7, by default

Just check inside Settings
[Galaxy S I9000 General] IceTi:
I know, but I can not configure a timeout oder night-sleep or something like this... The BLN Controll App has more preferences... Is it even possible to use this?
[Galaxy S I9000 General] nevrlow:
Its not in cm7.1.0.1 run the 7.1.0 RC. Its more stable anyways.

Or

Use francos kernel in rom manager or drew garens kernel in rom manager. Make sure you wipe delvik before flashing.
[Galaxy S I9000 General] IceTi:
Thanks, but where can I find Kernels in ROM Manager?

With 7.1.0 RC I really can use the Control App? oO
[Galaxy S I9000 General] nevrlow:
Which phone do you have?
[Galaxy S I9000 General] IceTi:
The Galaxy S i9000
[Galaxy S I9000 General] nevrlow:
Gotcha. U need to flash a kernel that supports voodoo. For example bali kernel. Im not sure if tht kernel works on cm7 for the i9000.

sent from my Nexus S
[Galaxy S I9000 General] IceTi:
Ahh, thanks! :)

I´ll search for an proper Voodoo Kernel....
[Galaxy S I9000 General] nevrlow:
Good luck man. If u need more help pm me

sent from my Nexus S
[Galaxy S I9000 General] IceTi:
hmm, are there large differences between the available Kernels or I can not go wrong? :)

For example I fount this one:

http://xdaforums.com/showthread.php?t=1041532&highlight=bali+kernel

or this?

http://xdaforums.com/showthread.php?t=1112908
[Galaxy S I9000 General] kot7k:
If you are looking for a kernel for cm7 be sure to read good the posts, the second one you posted isnt a cm7 kernel. About the first one, it would meet your requerimet of using bln as they say in its features.
[Galaxy S I9000 General] nevrlow:
i used bali kernels on my tmobile vibrant and everything was peachy. id go with the bali kernel for your galaxy S