*internal* mass storage - custom ROM suggestion - Samsung Galaxy Nexus

XDA custom ROM devs,
While I have yet to root my new Galaxy Nexus, I, as many other folks I presume, am extremely unnerved with lack of MSC mode. both MTP and PTP are bad, for a variety of technical reasons, but the implementation by Sammy/Google on this device make it even worse.
I run Linux as my primary desktop/laptop OS, and I have another Win7 laptop, and the experience has been awful on all three systems. I ended up using doubleTwist AirSync and AirDroid for my music/files management, but that is not I expect to be able to use the device.
Anyhow, long intro aside..
I have a proposal for reimplementing MSC on this device, and will probably do it once I root my device, but thought to kick it around here and see if anyone's interested.
Add the ability to create an ext4 image with 4/8Gb size, and mount it to /sdcard.
Sure, once rooting and changing ROM, it is possible just to make a secondary partition, but I believe doing the above gives more choice (in case you like have a flattened large partition, without MSC support), and would support a variable size more easily.
There is still a question if the device would automatically adjust to have a "partition" to mount/unmount, exposing MSC mode, or if it will behave like it does with external storage.
Any takers? Any reason you deem this not to work?
@tsella

Can't see why it wouldn't work.
Might be more effective to see if you can get the contents of /data/media shared using CIFS or NFS. That would probably be about the same effort, but you'd still retain the flexibility which exists today.
Or maybe get MTPFS working.

Well, this is the best solution I have ever tried, when it comes to moving files between devices.
It's fast, I don't have to wait for mounting/unmounting, and no need to eject the device.

i stil cant see whats so awful as how it go's now without masstorage.
i dont have any issues at all

Why don't you use gmtp for transferring files in Linux? It works perfectly... No problem at all
Sent from my Galaxy Nexus using Tapatalk

deeren said:
Why don't you use gmtp for transferring files in Linux? It works perfectly... No problem at all
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
It seems gmtp works fine with Verizon phones, not GSM version. I have been through gmtp, mtpfs, built my own libmtp - does not work for me.
On Windows, copying a large amount of files usually stops at some point and needs to be retried.
@tsella

deeren said:
Why don't you use gmtp for transferring files in Linux? It works perfectly... No problem at all
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Hello I have linux and I'm wondering what is gmtp? As I cannot currently put music or any files on my fine via computer.

C-4Nati said:
Hello I have linux and I'm wondering what is gmtp? As I cannot currently put music or any files on my fine via computer.
Click to expand...
Click to collapse
Have you ever heard of Google? It knows what gmtp is.

jstegeman said:
Have you ever heard of Google? It knows what gmtp is.
Click to expand...
Click to collapse
I'm sorry but that reply really didn't help help at all.
Sent from my Galaxy Nexus using xda premium

C-4Nati said:
I'm sorry but that reply really didn't help help at all.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Actually it does. Using the context clues, you can understand that he's informing you to stop being lazy and Google search it. If you have to ask questions before searching, you shouldn't be using Linux. IMO.

C-4Nati said:
I'm sorry but that reply really didn't help help at all.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yes, some people here can be very unhelpful. Try this instead:
http://bit.ly/sAL06b

daern said:
Yes, some people here can be very unhelpful. Try this instead:
http://bit.ly/sAL06b
Click to expand...
Click to collapse
hah that made my day.

daern said:
Yes, some people here can be very unhelpful. Try this instead:
http://bit.ly/sAL06b
Click to expand...
Click to collapse
Lulz...
Has anyone seen John Connor?

ghost010 said:
i stil cant see whats so awful as how it go's now without masstorage.
i dont have any issues at all
Click to expand...
Click to collapse
There are certain instances where you will run into issues. For example, a vast majority of 3rd party car stereos with USB ports only support mass storage mode. There are very, very few that support any other formats, including MTS. I can't listen to music off my Nexus with my car stereo and charge it all with one cable -- I have to bust out the auxiliary cable as well, which just gets messy.

Related

[News] Samsung Kies Air

Kies Air !!!
New app from Samsung.
Run Kies from your browser?
Very good. Check it out!!
Where? .......
tsinc said:
New app from Samsung.
Run Kies from your browser?
Very good. Check it out!!
Click to expand...
Click to collapse
Very good idea, but totaly useless, at least in this version. Constantly asking for permissions to connect to phone.
I'm on JPU 2.2.1 rooted with CF
It didn't ask me anything (Chrome) and it works like a charm!
edit: it asked me once.
@Spline1: Samsung apps within your phone!
edit: works fine on XXJPX stock. It asked me once (chrome).
Travel_Mate said:
Very good idea, but totaly useless, at least in this version. Constantly asking for permissions to connect to phone.
Click to expand...
Click to collapse
tsinc said:
I'm on JPU 2.2.1 rooted with CF
It didn't ask me anything and it works like a charm!
@Spline1: Samsung apps within your phone!
Click to expand...
Click to collapse
JPP stock,every move of the mouse on computer and phone ask for permission to connect, although "remember for today" checked. As I said: good idea, but useless for now. Probably in future firmwares...
Like it, permission asked onetime, browser firefox 3.6.9, newest java (u will need java runtime)
Sent from my GT-I9000 using XDA App
Slick app!!! Only asked for permission once here (Chrome + JPU).
A little bit slow to load everything, but I assume that's either my network speed or PC speed (it's a dinosaur)
It does so much! If It synced everything to the PC that would be better though...
Could someone provide .apk please? Whether it´s possible
Thanks
tsinc said:
New app from Samsung.
Run Kies from your browser?
Very good. Check it out!!
Click to expand...
Click to collapse
And where do I get this miracle app?
thecrucible said:
And where do I get this miracle app?
Click to expand...
Click to collapse
From Samsung Apps in your phone.
hanhav said:
From Samsung Apps in your phone.
Click to expand...
Click to collapse
I don't have Samsung Apps on my I9000 ...
Thanks but unfortunately not seeing it mine.
Sent from my GT-I9000 using XDA App
Lukeenho said:
Could someone provide .apk please? Whether it´s possible
Thanks
Click to expand...
Click to collapse
For those, who can't get the app from Sam Appl, here it is, just catch it
I found this to be really slow.
cool but slow
Madnessx9 said:
I found this to be really slow.
cool but slow
Click to expand...
Click to collapse
It is much slower than the usb connection but it is tolerable (I'm using wifi N but I'm not sure if this makes any difference) and I like the interface, I mean the whole layout + you don't have to usb connect to your computer and partialy charge the phone or loose the battery stats .
tsinc said:
It is much slower than the usb connection but it is tolerable (I'm using wifi N but I'm not sure if this makes any difference) and I like the interface, I mean the whole layout + you don't have to usb connect to your computer and partialy charge the phone or loose the battery stats .
Click to expand...
Click to collapse
whilst browsing I found a link to android manager which seems to beat Kies Air hands down
Madnessx9 said:
whilst browsing I found a link to android manager which seems to beat Kies Air hands down
Click to expand...
Click to collapse
You're right. It seems very good . Thanks man!
Alexander T. said:
For those, who can't get the app from Sam Appl, here it is, just catch it
Click to expand...
Click to collapse
Thank you m8 four this!
Sent from my GT-I9000 using Tapatalk
Madnessx9 said:
whilst browsing I found a link to android manager which seems to beat Kies Air hands down
Click to expand...
Click to collapse
Well put the apk then up in here dawwggg
Sent from my GT-I9000 using Tapatalk
Is it possible to update firmware with kies air?
btw: for this forum, i would suggest having only about 3-4 posts per page. Additionally, why not increase the size of avatars, buttons and signatures. Seriously, the amount of information on this forum (in terms of screen size) compared to the useless rubbish is appaling.

[Q] How to use Wifi direct to send images?

I enabled the wifi direct toggle but I cannot find an option to send it via wifi.
Booker-T said:
I enabled the wifi direct toggle but I cannot find an option to sebd it via wifi.
Click to expand...
Click to collapse
can i suggest you to read at this?
http://en.wikipedia.org/wiki/Wi-Fi_Direct
Viridis Draco said:
can i suggest you to read at this?
http://en.wikipedia.org/wiki/Wi-Fi_Direct
Click to expand...
Click to collapse
Replying like spam, not related to my question at all
Booker-T said:
Replying like spam, not related to my question at all
Click to expand...
Click to collapse
have you read it?
because i could be wrong but that technologies did not mention file tranfer at all.
next time i think i will not give you and hand at all.
have a nice day
Draco.
Viridis Draco said:
have you read it?
because i could be wrong but that technologies did not mention file tranfer at all.
next time i think i will not give you and hand at all.
have a nice day
Draco.
Click to expand...
Click to collapse
I do have read it before asking this question and I do know what wifi direct is and transfer files via wifi direct is available in Galaxy S II.
http://www.youtube.com/watch?v=gCEawDprnOQ
When enable the Wifi Direct in Galaxy Nexus, there is a notification asking users to touch for setting but there is no setting page like the Galaxy S II.
http://www.youtube.com/watch?v=QVvxoP6Xhxw
here a video sending file from a galaxy nexus
andQlimax said:
http://www.youtube.com/watch?v=QVvxoP6Xhxw
here a video sending file from a galaxy nexus
Click to expand...
Click to collapse
This means Galaxy Nexus doesn't have a build-in interface to send files via wifi direct?
Perhaps the option to send via wifi only is listed after you are connected to a device? Are you trying to do this between two GNexus'?
Sent from my Galaxy Nexus using Tapatalk
RTContent said:
Perhaps the option to send via wifi only is listed after you are connected to a device? Are you trying to do this between two GNexus'?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Cannot find the way to connect other devices
Booker-T said:
Cannot find the way to connect other devices
Click to expand...
Click to collapse
did you pressed search like in the video? from there u can search other deives after u activated wifi direct
EDIT: it seems u need a third party app to send files with the gnext..actually no app on the play store to do that...but i could be wrong
The wifi direct in 4.0.3 is buggy as ****, you do need a 3rd party app and i'm assuming that since there aren't many out there is because it's so buggy. A buddy at work here made a quick one and testing was bad, upon further investigation we found that there are a bunch of bugs in the google code.
spectre85 said:
The wifi direct in 4.0.3 is buggy as ****, you do need a 3rd party app and i'm assuming that since there aren't many out there is because it's so buggy. A buddy at work here made a quick one and testing was bad, upon further investigation we found that there are a bunch of bugs in the google code.
Click to expand...
Click to collapse
WTF.....a semi-finished phone with no wifi-direct when pointed it as one of the main selling points and no noise cancellation
I am gotta mad about this "EXPENSIVE" phone.
So who do we bytch and moan to either fix the google code or to implement this feature in core android apps such as the Gallery and Play Music?

[MOD]webcam as fully functional rear cam!

EDIT: sorry for the jittery video new one on its way! and added another link just to amuse you
hey guys!
today i was really curious as to how i could get a webcam to fully function, and to maybe permanently use one as a web cam. after hours of surfing, i found that their is a way to preview, but not to actually use one. so i wanted to fix this problem!
after hours of research, and a bit of testing, and have finally reached some success!
found a thread in the viewsonic g tablet section, that managed to do about the the same. since they were both tegra based, with similar enough soc's , i decided to experiment. with stock kernel and firmwares, the nexus 7 has drivers for plug and play webcams. what this mod does is gives permissions and makes the webcam show up as a rear camera feed. WITH THIS MOD ACTIVE YOU CANNOT USE YOUR FRONT CAM.
it was made for the g tab. if modifications are made, we may be able to bring it back.
WARNING: as usual, i am not responsible for any mishaps that may happen by you doing this mod, including nuclear monkeys taking over the world.
i am coating the writer at the g tab thread for the credits on who originaly made the base for this mod for the gtab : "Credit BELONGS to Borkata at "another site""
so first, u will need:
1. a UVC webcam. or simply, a plug and play camera. anything that didnt need anything extra to work, other than you plugging it in. some only need the extra cd to use its full potential, but may work without one. check here: http://www.ideasonboard.org/uvc/#devices
95% of webcams should work.
2. the attached file. (camera.tegra3.so)
3. nexus 7
4.OTG CABLE!
5.a camera app other than stock. (lgcamera or similar)
STEPS!
EXTRACT and COPY the camera.tegra3.so FILE INTO your tablet's /SYSTEM/LIB/HW folder, and reboot. BACK UP THE ORIGINAL camera.tegra3.so if u want to revert later.
plug in your camera.
open up terminal emulator. run this:
su
chown system.camera /dev/video0
chmod 660 /dev/video0
now go to your camera app and check it out!
taking pics works fine. video has bad fps though. response is a bit slow too. but i think these are software issues.
you will need to put those lines in the terminal everytime you plug in the camera. (or make some kind of a script, or ask someone to)
i am not improving this mod simply because i dont have the experience to. but i did want to share this with you.
here is a little demo i uploaded of it so u guys can get an idea of it-
http://www.youtube.com/watch?v=kU-JoTLGUvk&list=UUobzyrXBHPPRBxTzbHtFRsQ&index=1
original g tab thread- http://forum.xda-developers.com/showthread.php?t=1789642
MUST WATCH- http://www.youtube.com/watch?v=JXpsxB0oD-E
hit thanks if i helped
Nice Work.....Thanks Man.....It works great
rgds
Hi there,
there is any chance to exclude the input script every time connected the camera?
Is possible to make any permanent script so when camera connected, starts working on the go?
Regards.
hasafly said:
Hi there,
there is any chance to exclude the input script every time connected the camera?
Is possible to make any permanent script so when camera connected, starts working on the go?
Regards.
Click to expand...
Click to collapse
yes, but i honestly dont know how. it shouldnt be that hard. i am sure some other dev can help out here. definitly possible, but i just suck at making scripts.
my cam logitech quickcam xpress does not suppors(((( black screen in display.
At the beginning it takes some time, but after successful work, it has recognized my Logitech Webcam Pro 9000 and works fine with it.
Thanks again
hmm i wonder is there any chance getting photosphere to work with this mod
is there a possibility to record video (on motion) ?
like with motion or mjpeg_streamer?
thx
can i put this in my rom giving you full credits?
azoller1 said:
can i put this in my rom giving you full credits?
Click to expand...
Click to collapse
sure! not a problem! its xda! everything posted here is meant to be shared and used
misterjoji said:
hmm i wonder is there any chance getting photosphere to work with this mod
Click to expand...
Click to collapse
should work with a camera app that has photosphere built in or similar. havent tested much though.
File not found while writing "chown system.camera /dev/video0"
How can i fix that?
Sent from my Nexus 7 using xda premium
Streykatorato said:
File not found while writing "chown system.camera /dev/video0"
How can i fix that?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Could mean a few things. Either USB otg not working, or the tablet doesn't recognize the web cam as a webcam because it doesn't support plug and play, or incompatible ROM or kernel. Most probably the webcam's fault.
All of them was recognized by usb host controller... tried 4
Sent from my Nexus 7 using Tapatalk HD
R: [MOD]webcam as fully functional rear cam!
Good thanks
Streykatorato said:
All of them was recognized by usb host controller... tried 4
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
try a different rom+kernel maybe? when you plug in the webcam, a folder should be created here: /dev/video0 .
did you put in su before the commands?
unreal3000 said:
try a different rom+kernel maybe? when you plug in the webcam, a folder should be created here: /dev/video0 .
did you put in su before the commands?
Click to expand...
Click to collapse
Yes i wrote su
Sent from my iPhone 4S using Tapatalk
Would love to see this further developed. Make a camera app to be able to switch between the two.
Sent from my J-Bmd GN-2 using XDA Premium App
BDR456 said:
Would love to see this further developed. Make a camera app to be able to switch between the two.
Sent from my J-Bmd GN-2 using XDA Premium App
Click to expand...
Click to collapse
Wouldn't it be possible to take the stock camera app and to modify it so we can have access to the 2 cameras and photosphere? (This is assuming we do have the camera app source code available)
Sent from my Nexus 7 using Tapatalk HD
wow, impressing.
Just the video is not very 'professional' you shaked too much mate
wildcolor said:
wow, impressing.
Just the video is not very 'professional' you shaked too much mate
Click to expand...
Click to collapse
thanks for the feedback handling a cam with one hand, while handling a tablet and 2 webcams in another wasnt easy
not to mention a bad cam itself will improve

[Q] I can't change the USB setting on my Htc One X

hello gays, recently i got a Htc One X, Now problem is I can't change the usb setting , if i connect the usb it will automatically gone on charging mood, can any body tell me how can i change the setting for Asking every time when i connect usb.
my Android version : 4.1.1
Software number: 3.14.720.24
I think its on docking settings. 3rd option from bottom in settings.
Anda stop calling us gays
Sent from my EndeavorU using Tapatalk 2
Anda stop calling us gays
Click to expand...
Click to collapse
Ummm. LOL!:good:
zuadao said:
I think its on docking settings. 3rd option from bottom in settings.
Anda stop calling us gays
Sent from my EndeavorU using Tapatalk 2
Click to expand...
Click to collapse
Negative.
I'm having the same issues and the ability to set connection default to DD has mysteriously made itself absent.
Which is sucking a lot of ass right now, since I deleted photo's for work that I really need!
---------- Post added at 08:18 PM ---------- Previous post was at 07:25 PM ----------
OK, so I now know that setting SD to Disc Drive is no longer an option.
How do I recover deleted pics??
Mine just shows up as a portable media player device. If I double click on that, the storage area is available to see just like a disc drive.
shteve said:
Mine just shows up as a portable media player device. If I double click on that, the storage area is available to see just like a disc drive.
Click to expand...
Click to collapse
This is correct, but which of those files contains deleted pics for recovery?
Since the device displays as "portable media player device", it is not recognised as a drive with a letter, as such, so is not seen by recovery software....
Apologies to OP for hijack
Unless you are rooted you cant, JB uses MTP ....media transfer protocol. Are you rooted, custom recovery ? Then mount the sdcard inside the recovery as a mass storage device. No other option at this time afaik
Mr Hofs said:
Unless you are rooted you cant, JB uses MTP ....media transfer protocol. Are you rooted, custom recovery ? Then mount the sdcard inside the recovery as a mass storage device. No other option at this time afaik
Click to expand...
Click to collapse
Fudge.
No, not rooted and was enjoying that fact.
:wallbash:
Well maybe there is an option i dont know of. I didnt dive in this very deep..... but at least i cant get it to show up as a drive in any way and i tried a lot.
Wi-Fi File Explorer works pretty well
Sent from my Nexus 7 using XDA Premium HD app

USB LTE Dongle

I have a Verizon USB LTE Dongle U620L that I would like to use with the Pixel C. I have successfully. used it in the past on a Chromebook by add a custom udev rule in the /etc/udev/rules.d directory. I believe this should work on the Pixel C but can't figure out on how to make the filesystem writeable to add this directory and the rule file needed. Can anyone help? I would like to avoid rooting if possible so that I can still receive updates.
Sent from my iPad using Tapatalk
dzeek said:
I have a Verizon USB LTE Dongle U620L that I would like to use with the Pixel C. I have successfully. used it in the past on a Chromebook by add a custom udev rule in the /etc/udev/rules.d directory. I believe this should work on the Pixel C but can't figure out on how to make the filesystem writeable to add this directory and the rule file needed. Can anyone help? I would like to avoid rooting if possible so that I can still receive updates.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
I don't think this can be gotten to work without a custom kernel; I can see if I can enable relevant kernel config options for xceed (and also, there is no udev on the Pixel C, so those udev entries can't help there).
cheep5k8 said:
I don't think this can be gotten to work without a custom kernel; I can see if I can enable relevant kernel config options for xceed (and also, there is no udev on the Pixel C, so those udev entries can't help there).
Click to expand...
Click to collapse
Thanks. FYI, here is a link that explains the details when I submitted as a change for ChromeOS.
https://bugs.chromium.org/p/chromium/issues/detail?id=544893
Sent from my Pixel C using Tapatalk
Also, I meant to ask previously, is there a way for me to run dmesg -wH or the equivalent to see what messages Android is generating when I plug in the USB device? It seems to recognize it when I plug it in via a USB to USB-c adapter since the light on it changes as I would expect it to.
Sent from my Pixel C using Tapatalk
cheep5k8 said:
I don't think this can be gotten to work without a custom kernel; I can see if I can enable relevant kernel config options for xceed (and also, there is no udev on the Pixel C, so those udev entries can't help there).
Click to expand...
Click to collapse
Does the Pixel C have the usb_modeswitch command. That could be an alternate method.
Sent from my Pixel C using Tapatalk
dzeek said:
Does the Pixel C have the usb_modeswitch command. That could be an alternate method.
Sent from my Pixel C using Tapatalk
Click to expand...
Click to collapse
Something like it.. that's actually a good idea. But I'm at work right now, I have to get back to you about this a bit later.
cheep5k8 said:
Something like it.. that's actually a good idea. But I'm at work right now, I have to get back to you about this a bit later.
Click to expand...
Click to collapse
Ok. Thanks!
Sent from my Pixel C using Tapatalk
dzeek said:
Ok. Thanks!
Sent from my Pixel C using Tapatalk
Click to expand...
Click to collapse
Could you give me the USB vendor and device IDs of the adapter?
cheep5k8 said:
Could you give me the USB vendor and device IDs of the adapter?
Click to expand...
Click to collapse
Vendor name is Novatel Wireless
Vendor ID is 1410
Product ID is 9020
Sent from my Nexus 5X using Tapatalk
dzeek said:
Vendor name is Novatel Wireless
Vendor ID is 1410
Product ID is 9020
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
OK, great!
I'll check the kernel for the right drivers, and then I'll modify the init.rc files so that the dongle should be recognized, and make a new post with the kernel image.
But from there on it'd be up to you to test it. You don't really need to root the device, but without the modified kernel it's rather unlikely that this is going to work. Maybe with some app, but I guarantee that it will require root.
cheep5k8 said:
OK, great!
I'll check the kernel for the right drivers, and then I'll modify the init.rc files so that the dongle should be recognized, and make a new post with the kernel image.
But from there on it'd be up to you to test it. You don't really need to root the device, but without the modified kernel it's rather unlikely that this is going to work. Maybe with some app, but I guarantee that it will require root.
Click to expand...
Click to collapse
The dongle is already being recognized. It shows up when I use the lsusb command. The problem is there needs to be a method of doing the mode switch.
dzeek said:
The dongle is already being recognized. It shows up when I use the lsusb command. The problem is there needs to be a method of doing the mode switch.
Click to expand...
Click to collapse
OK, great. I'll look into that then. Gonna get back to you at end of the day.
cheep5k8 said:
OK, great. I'll look into that then. Gonna get back to you at end of the day.
Click to expand...
Click to collapse
That would great. Thx
cheep5k8 said:
OK, great. I'll look into that then. Gonna get back to you at end of the day.
Click to expand...
Click to collapse
Hey, just wondering if you had a chance to work on this?
dzeek said:
Hey, just wondering if you had a chance to work on this?
Click to expand...
Click to collapse
Ooof, not really. I'm really busy at the moment so I have to select a little bit what to do on my kernel (or if anything at all), so, I'm sorry but I'm not sure when exactly I'll get to it
cheep5k8 said:
Ooof, not really. I'm really busy at the moment so I have to select a little bit what to do on my kernel (or if anything at all), so, I'm sorry but I'm not sure when exactly I'll get to it
Click to expand...
Click to collapse
No problem. I decided to return the Pixel C and get the Xperia Z4 Tablet.

Categories

Resources