Jump to content

RAID 1 For Android?

Guest
Go to solution Solved by Mark77,

Hmmm, let's see where do I start.  First you'd need a completely custom kernel for your device with the md RAID compiled in.  As certainly the stock kernels do not incorporate RAID as there's no need for it on a mobile device.   Of course, it goes without saying that you'd need root access to your device to accomplish this. 

 

Once you've built a kernel with the RAID, you'd also need to incorporate the RAID management tools into the android distribution.  This would probably mean figuring out the framework for cross-compilation.  Then, and only then, would you be able to get into a shell, and actually create this RAID volume. 

 

Impossible?  Nope.  But you have to have a decent understanding of Android architecture, Linux kernel compilation, and how to work with all of the associated debugging and recovery steps. 

I couldn't think of a better title to explain my question. I recently bought an S7 Active and also a microSD card. I'm wondering if it would be possible to somehow force the phone to save photos, videos, documents, etc to internal storage AND the microSD card at the same time by default, just in case one gets corrupted I can have a second copy. Is this natively supported or can it even be done? I'm not very good with phones so sorry if this has an obvious answer; Google wasn't much help. Thanks!

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Stylized_Violence said:

I couldn't think of a better title to explain my question. I recently bought an S7 Active and also a microSD card. I'm wondering if it would be possible to somehow force the phone to save photos, videos, documents, etc to internal storage AND the microSD card at the same time by default, just in case one gets corrupted I can have a second copy. Is this natively supported or can it even be done? I'm not very good with phones so sorry if this has an obvious answer; Google wasn't much help. Thanks!

I'm sure it's somehow possible, but I don't know of any ways. I do have an alternative for you: Google Photos. It's free and gives you unlimited photo storage. Set it up to where whenever you take a photo, it'll automatically back it up to the cloud.

COMIC SANS

Link to comment
Share on other sites

Link to post
Share on other sites

Hmmm, let's see where do I start.  First you'd need a completely custom kernel for your device with the md RAID compiled in.  As certainly the stock kernels do not incorporate RAID as there's no need for it on a mobile device.   Of course, it goes without saying that you'd need root access to your device to accomplish this. 

 

Once you've built a kernel with the RAID, you'd also need to incorporate the RAID management tools into the android distribution.  This would probably mean figuring out the framework for cross-compilation.  Then, and only then, would you be able to get into a shell, and actually create this RAID volume. 

 

Impossible?  Nope.  But you have to have a decent understanding of Android architecture, Linux kernel compilation, and how to work with all of the associated debugging and recovery steps. 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, TopWargamer said:

I'm sure it's somehow possible, but I don't know of any ways. I do have an alternative for you: Google Photos. It's free and gives you unlimited photo storage. Set it up to where whenever you take a photo, it'll automatically back it up to the cloud.

Thanks for the advice, but I actually have a home server that all my stuff is backed up to. I mainly would like this feature for even more redundancy because I'm paranoid.

 

1 hour ago, Mark77 said:

Hmmm, let's see where do I start.  First you'd need a completely custom kernel for your device with the md RAID compiled in.  As certainly the stock kernels do not incorporate RAID as there's no need for it on a mobile device.   Of course, it goes without saying that you'd need root access to your device to accomplish this. 

 

Once you've built a kernel with the RAID, you'd also need to incorporate the RAID management tools into the android distribution.  This would probably mean figuring out the framework for cross-compilation.  Then, and only then, would you be able to get into a shell, and actually create this RAID volume. 

 

Impossible?  Nope.  But you have to have a decent understanding of Android architecture, Linux kernel compilation, and how to work with all of the associated debugging and recovery steps. 

So in other words not a chance in hell, at least with my limited knowledge of Android. And to be clear I wasn't really talking about an actual RAID set up, I was more using that as what I'd like to do in principle. But if that's basically the only way then I guess I have my answer. I'll leave this up for a bit in case someone has a second opinion, otherwise I'll mark yours as correct and move on. Thanks!

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 month later...

Late reply, but if you use Tasker, you can make a profile to make copies of things on your internal storage to your external one by checking if that file already exists in a certain directory on your external storage. It would take a bit of study on how to work with some variables and commands, but it can be done.

Link to comment
Share on other sites

Link to post
Share on other sites

You could try this app.

https://play.google.com/store/apps/details?id=com.touchbyte.photosync&hl=en

First one I found after a 15 second Google search. I'm sure there are other apps that do the same thing and are more extensive, just have to do a little digging for yourself.

CPU: Ryzen 9 5900 Cooler: EVGA CLC280 Motherboard: Gigabyte B550i Pro AX RAM: Kingston Hyper X 32GB 3200mhz

Storage: WD 750 SE 500GB, WD 730 SE 1TB GPU: EVGA RTX 3070 Ti PSU: Corsair SF750 Case: Streacom DA2

Monitor: LG 27GL83B Mouse: Razer Basilisk V2 Keyboard: G.Skill KM780 Cherry MX Red Speakers: Mackie CR5BT

 

MiniPC - Sold for $100 Profit

Spoiler

CPU: Intel i3 4160 Cooler: Integrated Motherboard: Integrated

RAM: G.Skill RipJaws 16GB DDR3 Storage: Transcend MSA370 128GB GPU: Intel 4400 Graphics

PSU: Integrated Case: Shuttle XPC Slim

Monitor: LG 29WK500 Mouse: G.Skill MX780 Keyboard: G.Skill KM780 Cherry MX Red

 

Budget Rig 1 - Sold For $750 Profit

Spoiler

CPU: Intel i5 7600k Cooler: CryOrig H7 Motherboard: MSI Z270 M5

RAM: Crucial LPX 16GB DDR4 Storage: Intel S3510 800GB GPU: Nvidia GTX 980

PSU: Corsair CX650M Case: EVGA DG73

Monitor: LG 29WK500 Mouse: G.Skill MX780 Keyboard: G.Skill KM780 Cherry MX Red

 

OG Gaming Rig - Gone

Spoiler

 

CPU: Intel i5 4690k Cooler: Corsair H100i V2 Motherboard: MSI Z97i AC ITX

RAM: Crucial Ballistix 16GB DDR3 Storage: Kingston Fury 240GB GPU: Asus Strix GTX 970

PSU: Thermaltake TR2 Case: Phanteks Enthoo Evolv ITX

Monitor: Dell P2214H x2 Mouse: Logitech MX Master Keyboard: G.Skill KM780 Cherry MX Red

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

18 hours ago, dizmo said:

You could try this app.

https://play.google.com/store/apps/details?id=com.touchbyte.photosync&hl=en

First one I found after a 15 second Google search. I'm sure there are other apps that do the same thing and are more extensive, just have to do a little digging for yourself.

I appreciate you looking but that isn't what I'm after. I've actually looked into that app and installed it for a few days but it didn't accomplish what I set out to do. Thanks anyway though!

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×