[DEV] Fusion Drive for the GS4 - Galaxy S 4 General

Hopefully we can implement a "fusion" drive like newer macs. I know it's possible to make your own with a few unix commands, so I wonder if another dev and I could get it working on the S4. A fusion drive is basically a SSD+Traditional HDD that the system sees as one drive. It automatically moves the lesser used items to the slower drive and keeps the system intensive files on the faster drive. Essentially we could use this technology to make our MicroSD and EMMC appear as one unit on the OS.
If any DEVs are willing to work with me please shoot a PM. No other users at this time please.

Related

[Q] Trouble Mounting 1TB Hard Drive

I purchased the G-Tablet because I wanted a way to download photos from my camera's memory, view them, and write them to an external hard drive. The problem I've run into is that I can't get my tablet (running TnT-Lite) to recognize my 1TB Seagate FreeAgent GoFlex drive to mount. I've done a lot of searching for answers, and my first thought was that the drive wasn't receiving enough power, but I've tried it through the docking station and a powered USB hub without any luck. I also reformatted it to Fat32 just to be sure it wasn't the drive format. Sniffer never even notices it's connected.
I'm using TnT-Lite, but am perfectly willing to try other ROMs if they have better external drive support. I'm not super familiar with linux so I haven't tried seeing if I could manually mount the drive, but if someone would be interested in telling me how to see if it's recognized and manually mount it I'm all ears.
Cheers!
Gaines Kergosien
(615) 412-9739
Kind of a repost...
http://forum.xda-developers.com/showthread.php?t=912212
Two things:
Make sure your harddrive format is supported by your kernel. Some kernels like clemsin support ntfs and other formats. I am not really sure what formats does the kernel that comes with tnt lite supports, but i recomend to check or install another kernel.
Second; make sure you connects your HDD to a power source before using it. I have not tried it myself, but i heard that the low power source of the usb port of the g tablet is not enough to supply power to the HDD.
Good luck with that, hope you find a solution to the problem.
Another thought, have you tried rebooting the tab after you've plugged the HDD in. I have a 500 gb WD elements, and if I'm having issues, usually rebooting with the drive plugged up takes care of it.
Pazzu510 said:
Kind of a repost...
http://forum.xda-developers.com/showthread.php?t=912212
Two things:
...
Click to expand...
Click to collapse
Yes, others have posted similar issues, albeit with different drives/ROMs and little or no followup to troubleshoot the problem and no real solution.
I believe I was very specific in mentioning during the opening post that I tried using external power (via the dock and powered USB hub) and different drive formats.
lordgodgeneral said:
Another thought, have you tried rebooting the tab after you've plugged the HDD in. I have a 500 gb WD elements, and if I'm having issues, usually rebooting with the drive plugged up takes care of it.
Click to expand...
Click to collapse
Thanks for the suggestion. I've tried having it plugged in via the dock and powered hub before boot, but still no dice.
The best case scenario for me is that someone here has the same drive, overcame this issue and is willing to share their solution. I'm hoping that I can at least find someone who knows enough about linux/ROMs to help me troubleshoot and figure out if this is a hardware, driver or software issue. Maybe the drive is being recognized but the partition isn't getting mounted for some reason? *shrug*
Try partitioning your drive to 2 500gb sections. I don't think android os recognizes 1tb drive sizes. Just a thought.
Mantara said:
Try partitioning your drive to 2 500gb sections. I don't think android os recognizes 1tb drive sizes. Just a thought.
Click to expand...
Click to collapse
Excellent suggestion. Just repartitioned it as (2) 465GB fat32 drives and copied over some test files, plugged the drive into the powered USB hub, plugged that into the G-tablet, booted...and at first I thought it didn't work. Then an hour later I look at my tablet and realize it's mounted! I can see the image file I was using to test it...except the image (png) doesn't open. I try moving it to the SDCard using iFileManager and it errors.
...so on the up side, the drive mounted. On the down side, there may still be some issues.
You didn't say what model drive. I got a 1TB drive to use on my Tonido plug server and server would not recognize it. apparently some of the new drives need non standard drivers. For bulk storage, the tonido works great and accessible from the web.
Rumbleweed said:
You didn't say what model drive. I got a 1TB drive to use on my Tonido plug server and server would not recognize it. apparently some of the new drives need non standard drivers. For bulk storage, the tonido works great and accessible from the web.
Click to expand...
Click to collapse
Is my opening post that difficult to read? Pretty sure I said it's a 1TB Seagate FreeAgent GoFlex.
not only is this not developement but snapping at the people trying to help you is just gonna not get you any help
Moved to general.
I have the exact same hard drive and the exact same problem as well. Running Cal's 1.1 with Clem's latest kernal ver. 6. No luck in seeing it.
Also, even with a thumb drive it cannot recognize it if it's formatted as NTFS. I know it's supposed to work but there must be something I'm doing wrong. Any ideas?
Thanks
thebadfrog said:
not only is this not developement but snapping at the people trying to help you is just gonna not get you any help
Click to expand...
Click to collapse
It seemed to me that troubleshooting problems with ROMs not correctly mounting drives fell under development along with the ROM being used.
As for snapping at people, maybe I wasn't as appreciative of their effort as I should have been, but I felt like people were replying without even reading the opening post where I had tried hard to explain the situation in detail. It's like taking your car to a mechanic and telling him it's making a clunking sound, then receiving a call from them later saying, "Yeah, we took a look and there seems to be a clunking sound."
you try using a file explorer like root explorer?? or only sniffer?
rover442 said:
I have the exact same hard drive and the exact same problem as well. Running Cal's 1.1 with Clem's latest kernal ver. 6. No luck in seeing it.
Also, even with a thumb drive it cannot recognize it if it's formatted as NTFS. I know it's supposed to work but there must be something I'm doing wrong. Any ideas?
Thanks
Click to expand...
Click to collapse
Hey rover442. I'm thrilled to have gotten it to mount and, hopefully if we work together, we can figure out how to get everything working properly. To recap, here's what I did to get it to mount:
Delete the existing partition using Windows Disk Management
Create two new partitions (under 500GB)
Format those partitions using fat32format
Plug the drive into the tablet via a powered usb hub
Reboot
Wait an undefined amount of time for it to magically mount
10roller said:
you try using a file explorer like root explorer?? or only sniffer?
Click to expand...
Click to collapse
I've tried all of them, but when it finally mounted I noticed it in Sniffer then was able to access it using iFileManager.
Ok gaines. I'll reformat the drive and partition it and see what happens. Thanks!
Gaines, I made two partitions. I put an mp3 in each partition. Loaded it into G Tab and it sees one of the partitions and the mp3. It does not see the other partition. FTR, I am not using a powered USB, just plugging straight into the G. (formatted fat 32 on the external hard drive).
Success
Ok here's what I did to make things work in FAT 32
I downloaded a partition software called EASEUS Partition master Home. It was free. I fromatted again the whole 1TB hard drive (931GB available). here are the following tests I did:
Partition 431GB successfully seen in G Tab
Partition 531GB successfully seen in G Tab
So since I broke the 500GB threshold I tried to partition 631GB and it was good. So then I just repartitioned for the whole 931GB available and it is now being seen in Sniffer and Root Explorer. So it's fine.
However, the G Tab still cannot recognize NTFS.
You need a kernel that supports ntfs. Android does not recognise ntfs natively

[Q] Idea for hacking 64GB storage to an Android phone

Hi Guys.
What I was thinking is blooming genius, but I need an Android and electricial engineer to look over it to se if the theory is sound.
What I want to ask is could android support a JBOD array through it's Microsd (theorectically)?
My plan is basically to get a PhotoFast GM-5500 (see below) and use it's array and controllers as a base remove the casing and USB port and then either:
1 - Create a microsd interface so that it plugs into the current microsd sd slot
2 - solder it onto the micro USB pins to it's always connected.
Anyone interested in the practically of this, I was thinking of doing it to a Desire and then getting the back cover for a battery extender (see below) to create the space to house the array.
Mostly impossible because the OS, and the processor doesent know how to understand memory larger then 32Gb.
I've seen that the Samsung Galaxy Tab comes in a 64GB flavor with additional 32gb MicroSD slot. Is it just honeycomb that can support it or are you saying its a physical limitation imposed by the SOC?
In windows, or on Linux - what limites the HW expansions?
If you have a HD movie like 6Gb and you want it to be on a FAT16 partition it's imposlible. So if you have an 64Gb of RAM on a PC do you use it all??
It's about 0 and 1
I'm not sure what point you are trying to make...
Firstly, I'm talking about Android as this is the Android hacking forum.
Secondly I never mentioned HD files, this is irrelavent to my quesiton.
Thirdly, I didn't talk about file systems, however I will now, I was thinking 90% FAT32 ( Easily supported) and the rest EXT3 for system and apps.
Fourthly, I never mentioned RAM, I'm on about Storage.
I've tried to find a tear down of a 64GB Galaxy tab to see if they are using an SSD or flash memory ( i know they're mostly the same).
The galaxy proves it's possible to store more, I'm just wondering how the devil they did it and can it be replicated on the cheap?
Ok, m8 how will you tell the mother board, and the processor to alocate that extra storage, and how to write partition on it? It's not the OS itself, it's the whole thing.
Dont you think that Android development didn't think of that? To lets say put a small SSHD (solid state hard disk) to Android performance with dual core processors, and stuff
If tou think of extra lagre OS - then take a PC and run a Linux distro or a Windows.
For that mater buy an new Azbox STB with Android on it
This is what i was wondering, if it's only honeycomb that's able to do it then updating will soon be possible .
If we say theoretically we have Honeycomb on it, and the cards are partitioned correctly ( using gParted before being installed in the phone).
I know it's not possible to start swapping major components out of the phone.
I'm thinking of an SD array as it's already got the firmware to address SD, an SSD would require some serious OS tweaks.
I think we're getting a bit off topic of my original question, which was would/could Android support JBoD array?
Ok - there is no difference is there an 64Gb, 160Gb of an external storage - is it an SD, or an SSD, or a floppy. The point is that OS+CPU+MB of any now available phone is able to understand addressing 0-es and 1-es to extra storage.
It's like with old PC mother boards with old BIOS-es, HDD then couldn't be reckognised if larger then 30Gb.
So are you saying its possible?
Lets simplify it a bit, will android support a JBOD (Just a bunch of Disks) array?
Yes or no.
Forget the size of the storage, is really irrelavant to what I'm asking.
From simple to complicated.
Android OS - Yes (rewriten to match CPU and MB)
Android Hardware - NO
Android completly new level of development - Yes.
Bump.
Any ideas if this is possible?
Sent from my HTC Desire using XDA App

[Q] Mount Xoom as USB Storage

I just swapped my Samsung Galaxy Tab with a Xoom and I'm a bit miffed. I understand that the Xoom has 32GB of internal storage and does not come with an external SD card (or at least the person I bought it from kept the card).
With my SGT, when I plugged it into my Win7 64bit PC, the SD card would come up as a USB mass storage device.
Is there any way to do this with the internal storage of the Xoom? It's aggravatingly SLOW transferring files through the Personal Music Player icon that Win7 tosses in My Computer. I (as well as several other apps I use) would rather have a physical drive letter to copy to and from.
Not afraid to use a custom ROM or a modded apk or other system file. Yes, I did search and I also read the suggested topics that came up on the posting page, nothing was specifically related to the Xoom.
Yes. The Tiamat Rom, as well as the official 3.2 update activated the SD card slot in the xoom. No, the Xoom didnt ever come with a sdcard already in the slot like phones do, so you didnt get ripped off. the xoom file system is a little funny, "SDcard" is a seperate partition in the internal memory. If using Tiamat, and you have a sdcard in the sdcard slot, its labeled "external1" in the /mtn partition. When first placing an sd card in the slot, the system does take f o r e v e r, to recognize it (make sure you are also pushing the "mount sdcard" button in the storage settings menu). I generally just reboot the xoom after mounting a new card, that usually speeds up the process. When its all said and done when you plug the xoom into your pc you will get two hard drives that pop up, internal and sdcard. And heads up, you still cant put apps2sd like phones can, and you have to use root manager to move files from internal sdcard to external.
Yeah, that's the problem. At the moment, I don't have an SD card to put in it, but I was still expecting the internal storage to be mapped to a hard drive. I don't mind the Xoom showing up as a PMP but a lot of the apps I use as a developer (and some I use recreationally) need an actual drive letter I was hoping that even without an SD card mounted, that the internal storage would show up as a local disk. I've got 3.2.2 if that helps any.
Bought several SD cards, seems one of the contacts on the inside is dead, so I'm out as far as SD cards are concerned
LycaonX said:
Bought several SD cards, seems one of the contacts on the inside is dead, so I'm out as far as SD cards are concerned
Click to expand...
Click to collapse
If that's the case, you got a bad deal. Generally, the Xoom is excellent and though you can work around it, having the sdcard feels pretty essential to me. Hopefully you can get it fixed or get your other tab back.
The contact wasn't dead, it had a piece of clear plastic tape over it (not intentionally, it was a corner of what looks like shipping or packing tape). Got a whopping 4GB SD card plugged in, shows up fine under /mnt/external1 but neither of them are showing up as drives in Explorer
I've got 3.2.2, 4G build (HLK75D), tried this with and without root, no luck with any config.
Edit: Okay, lots of searching later, and it seems Google thought it was a wonderful idea to not include such functionality with Honeycomb. I am extremely well versed in c++ but I have never written a driver before, but I will be downloading and studying the Windows Driver Development Kit and seeing if I can write a replacement driver specifically for the Xoom to create an MTP to Logical Disk bridge driver.
In effect, you'll replace the standard Windows MTP Driver for the Xoom with this custom driver, which will bridge MTP to a lettered drive in Windows Explorer. Yeah, I know it's a complicated step but I want my damn Xoom to have drive letters in Explorer and as a programmer, I usually end up solving my own problems when the software giants pull retarded stuff like this.
LycaonX said:
The contact wasn't dead, it had a piece of clear plastic tape over it (not intentionally, it was a corner of what looks like shipping or packing tape). Got a whopping 4GB SD card plugged in, shows up fine under /mnt/external1 but neither of them are showing up as drives in Explorer
I've got 3.2.2, 4G build (HLK75D), tried this with and without root, no luck with any config.
Edit: Okay, lots of searching later, and it seems Google thought it was a wonderful idea to not include such functionality with Honeycomb. I am extremely well versed in c++ but I have never written a driver before, but I will be downloading and studying the Windows Driver Development Kit and seeing if I can write a replacement driver specifically for the Xoom to create an MTP to Logical Disk bridge driver.
In effect, you'll replace the standard Windows MTP Driver for the Xoom with this custom driver, which will bridge MTP to a lettered drive in Windows Explorer. Yeah, I know it's a complicated step but I want my damn Xoom to have drive letters in Explorer and as a programmer, I usually end up solving my own problems when the software giants pull retarded stuff like this.
Click to expand...
Click to collapse
Cool. Let us know when you've got it. I'm sure there will be interest for such a driver.
Just an update, the MTP side of the bridge appears rather simple to do. I may see why Google decided on MTP instead of the old unmount/mount dance. MTP allows the device to basically 'share' the storage without isolating it to a single device. Although if a hobbyist programmer like me can feasibly believe that they can program an MTP bridge, I don't see why the college educated, career programmers at Google couldn't do the same.
Basically what I am looking at is a driver that will bridge the MTP side of the Xoom over to a virtual hard disk device in Windows. It looks like I'll need to implement a way to present the virtual drive as a FAT32 (or maybe NTFS) formatted device, since software-wise all a virtual disk handles are pointers to what amounts to the 'raw' areas of a disk. Still working on it, as mentioned before I'm a hobbyist and have never dug into driver development.
LycaonX said:
Just an update, the MTP side of the bridge appears rather simple to do. I may see why Google decided on MTP instead of the old unmount/mount dance. MTP allows the device to basically 'share' the storage without isolating it to a single device. Although if a hobbyist programmer like me can feasibly believe that they can program an MTP bridge, I don't see why the college educated, career programmers at Google couldn't do the same.
Basically what I am looking at is a driver that will bridge the MTP side of the Xoom over to a virtual hard disk device in Windows. It looks like I'll need to implement a way to present the virtual drive as a FAT32 (or maybe NTFS) formatted device, since software-wise all a virtual disk handles are pointers to what amounts to the 'raw' areas of a disk. Still working on it, as mentioned before I'm a hobbyist and have never dug into driver development.
Click to expand...
Click to collapse
I forgot that Team Tiamat had implemented usb mass storage in an earlier verion of their Xoom kernel, but decided to remove it as it caused many complications. Look in the back pages of the Development section, for tiamat kernels and also dinomite's mass storage watcher thread. You may be able to find something you can use.

[Q] File beam external hardrive

So I recently discovered the awesomeness that is Twonky... So while beaming a movie to my xbox, it dawned on me... Could I usb my external hard drive to my gs3 and beam the movies on that to the xbox? Anybody ever tried this and have any ideas or tips to make this work?
You need a powered hub to provide enough power to spin the hard drive, the S3 can't push that much back out.
You need a fat32 filesystem on the hard drive - android can't see ntfs if coming from windows base.
The results become more wonky the larger the drive.
Mass media on a fat32 filesystem is not so fun, especially video.
That was a very well thought out and precise answer. So my follow up will be, any way to make it work? Or any better ideas to pull the video files from the hard drive?
Sent from my SCH-I535 using xda app-developers app
I've been using one of these: Seagate Wireless HDD
...but haven't had a chance to use it with the S3 yet. I did just get the new version of their app for it ( you don't need it, makes it easier though).
The way it works is the HDD creates its own wifi network and then you connect to that. Downside to this is you lose wifi internet while talking to the HDD.
Fantastic to have 500 gigs of immediately available storage in my pocket. The battery is decent even today and I got it right around launch.
First generation of self-contained wireless storage, so I expected it to be a lot more buggy and hit-or-miss then it is.
I had issues streaming video to tv on my last device, but there were issues with that beyond anything that may or may not have been caused by the device or it's app. Mostly gingerbread and htc's take on it being the problem.
Having installed the app on the S3, and just updated to the JB OTA, i'm looking forward to playing with it and using the MHL out to my tuner.
----
Otherwise, though, I don't have any video game consoles, so i'm kinda in the dark about how or what happens when you communicate with something like an xbox - also haven't heard of twonky before this thread and haven't looked it up.
----
I would absolutely love MHL and OTG in one OEM cable. That would give OTG with it's own power and maybe allow dropping the powered hub from required stuff to drag around with you. Who knows when or if we'll get it, if anyone's involved in making that happen beyond the general consensus of everyone wanting it.
----
I am curious about the best way to manage a video collection and in it's presentation. I have a ton of video from digital cameras and android devices over the last decade. I'd love to be able to casually present it on displays I come across at residences and such. The whole "bring a bag full of adapters and cables" bit precludes it happening a lot.
The S3 really opens up the use of the memory card as a memory card, what with the internal SD being a safe haven for your apps data so you don't break them when you swap cards. This makes it finally useful to carry a handful of sdcards with different stuff on it.
I have a 64 gig card in my 32 gig S3, so that's covered me on the video i've taken - however - I am all for learning how to make it work from non-local storage (like a hard drive, or the wireless one I have).
----
Every step like bringing the data into the device with an sdcard, or having the hard drive be wireless or whatever like that is a cheater step, though. The end goal would be to be able to utilize any random usb hard drive you came across - so if your friend has a hard drive with video on it, how do get that in your hand and make the S3 present that video to the display in front of you both?
----
I am not sure when I can get around to playing with the wireless HDD and video output, but sometime over the next few weeks is a likely time frame for my curiosity to make time to find out. I'll see about finding this thread to toss some details about how it went when I get the chance. Meantime, that is only one avenue to goal - what others can we come up with?
Edit - also the most recent firmware claims to be able to allow wifi internet access and access to the drive at the same time, so maybe the biggest turnoff was handled. Now really can't wait to find time to try it out.

[DEV] Fusion Drive for the GS4

Hopefully we can implement a "fusion" drive like newer macs. I know it's possible to make your own with a few unix commands, so I wonder if another dev and I could get it working on the S4. A fusion drive is basically a SSD+Traditional HDD that the system sees as one drive. It automatically moves the lesser used items to the slower drive and keeps the system intensive files on the faster drive. Essentially we could use this technology to make our MicroSD and EMMC appear as one unit on the OS.
If any DEVs are willing to work with me please shoot a PM. No other users at this time please.

Categories

Resources