Dual Boot with Android & Full Fledged Desktop OS (i.e. Ubuntu Linux) - Android Software/Hacking General [Developers Only]

I just had this mid day fantasy where I could switch my phone use between normal phone and complete desktop experience.
I own a LG Optimus 2X ( P990 ) and was thinking about how with the HDMI, bluetooth, wifi, minijack and ~5GB internal SD card have the potensial for complete desktop use by bluetooth/wifi keyboard/mouse and any HDMI TV/Monitor output. Of course the touchscreen could be used as a trackpad and soft keyboard when nessessary. And the other SD card files could also be accessable from both OS.
I suppose what I am asking/proposing/hoping for is that its possable to dual boot between the Android ROM (CM7 nightlys for me at the moment) and a desktop GNU/Linux distro that I imagin could be placed on the internal (or external) SD card.
Well thats my idea and hope rolled up in one. Thanks for reading and please respond if you have any real concrete knowlage on where as this is possable.

see here: http://forum.xda-developers.com/showthread.php?t=1151931

I have done this on G1 dual booting. check my sig. don't know if it will work for other phones but you can give it a try

what about the Samsung Galaxy S II
is it possible for the galaxy S II ?
if it can be done, can someone point me to where i can find out please?
thanks everyone.
TechGuy217

Related

WP7 SD Decrypt

Hello
Cockers, Crackers, Coders, what ever you wanted to be
Is it possible to write/create a tool wich can decrypt the sd card from WP7 ? Its not important to get/hold the Data, it would be fine to kill the ecryption with an formatting.
I think you would help a lot of HD2 WP7 Users e.g like me. And if not, you probably would only help me and make me happy
Greetings
You mean just format it so you can use it with other device?
You can do that either on:
- Windows Mobile phone
- Android phone (needs to be formatted twice, at least it worked for my card from WP7-HD2 in friends SGS with Froyo)
- Symbian phone
- PC - using diskpart from command line
I believe this has been answered a lot of times on forums
Oh this is possible ? Im sorry for opening a thread, i think only the Nokia N9 could remove this encryption. I didnt know that nearly all other can remove it too
Thanks a lot, i will test and post the Result
OndraSter said:
You mean just format it so you can use it with other device?
You can do that either on:
- Windows Mobile phone
- Android phone (needs to be formatted twice, at least it worked for my card from WP7-HD2 in friends SGS with Froyo)
- Symbian phone
- PC - using diskpart from command line
I believe this has been answered a lot of times on forums
Click to expand...
Click to collapse
no go on any of the options since windows doesn't even begin to recognize the card. Nor does android, nor does the hd2
OndraSter said:
You mean just format it so you can use it with other device?
You can do that either on:
- Windows Mobile phone
- Android phone (needs to be formatted twice, at least it worked for my card from WP7-HD2 in friends SGS with Froyo)
- Symbian phone
- PC - using diskpart from command line
I believe this has been answered a lot of times on forums
Click to expand...
Click to collapse
I think it needs to be clarified that Ondra has been running WP7 on his HD2. Apparently that does not apply the same encryption that a normal WP7 device employs. Currently, the only known way to reformat a WP7-encrypted sd card is to use a Symbian device, as those, of all things, actually support the "secure" part of the secure digital protocol. It does not have to be a recent version, either. My old Nokia n75 on s60 supports it.
FL5 said:
I think it needs to be clarified that Ondra has been running WP7 on his HD2. Apparently that does not apply the same encryption that a normal WP7 device employs. Currently, the only known way to reformat a WP7-encrypted sd card is to use a Symbian device, as those, of all things, actually support the "secure" part of the secure digital protocol. It does not have to be a recent version, either. My old Nokia n75 on s60 supports it.
Click to expand...
Click to collapse
Newer distros of the WP7 Roms are now supporting the native encryption system present on a real WP7.
Just thinking aloud .... because I did not try it but it's always worth a go ...
- Panasonic SD Formatter?
- GParted in Linux?
The latter one especially is able to do a lot of tricks ... to partitions and quite frankly I think it should work because GParted is capable of recognising paritions that diskpart cannot ... so worh a try ... Try and delete the partition / mbr from within GParted and report back if you succeed.
If none of the above work, then the only way I can think of that can make the SD Card useable again is to Remove the Encrypted Partition within WP7 is to create an application which runs on the OS itself and wipes off the partition but it's easier said than done primarily because I read somewhere WP7 stripes data between its system partition and the SD Card .... (similar to Raid 0 on PC)
I really wish we could come with a solution to this issue, especially for those of us who would want to shift to Android later ...
Cheers
Al
As far as i know - every card reader which can correctly use SD card capabilities described in its standard is able to do that. Unfortunately 99% readers /or their drivers/ cannot use main feature of SD cards - security.

[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.

Use simcard reader of netbook as full android phone

Hello!
I have this netbook "acer aspire one 531". I can just plug my sim card and surf to gprs/hsdpa/umts what ever you wana call it. Now i wonder how much i can get out of this pice of hardware.
the most epic thing would be to mirror my android phone into a virtual machine which uses the cardreader as sim provider, then i would be able to make calls and this stuff.
it would be best if i can launch just a app in the win32xp there, but i have also a ubuntu in dualboot.
maybe i just have to install a real android to the harddrive.
please give any advice how to turn my sim card reader in a fully functional android smartphone, maybe with software and filesystem synchronisation to my htc device.
many thanks for answers!

Why can't various SSH servers see my sdcard?

Hi,
I have a stock Galaxy S7 running 6.0.1 with an SD card configured as portable storage. I tried two SSH servers (Ssh Server and SSH Server, I know the names are not very helpful) and they both work fine. However they can't access my SD card.
Is it possible to get this to work, can this never work, etc.? Various file managers can work with the SD card. I don't understand why the SSH servers don't.
The question behind this question is what's the easiest/fastest way to get a 100 gig of files onto an SD card that a phone or tablet running Marshmallow can access. Without Windows or Mac I don't know of any better way. Why, oh why didn't Android provide a normal plug and play USB interface like you normally get with most devices where you can mount all the drives and act like they're local...
If anybody has ideas on this that would be nice. If not if I can at least access my SD card from an SSH server running on the device I'll be able to pump my files over from my various systems.
Thank you.
Updated: I built the latest libmtp and stable gmtp today and it starts working great but eventually crashes in the middle of transferring a bunch of files. Oddly, it seems to die on the same file each time. I don't have time right now but later I'll check and see if I can prove whether it's after some amount of time/data/whatever or if the file is bad (unlikely). So unless somebody has a better idea how we can get good ole' 1990s USB mass storage working I'm kinda screwed atm.
midnightrider said:
Hi,
I have a stock Galaxy S7 running 6.0.1 with an SD card configured as portable storage. I tried two SSH servers (Ssh Server and SSH Server, I know the names are not very helpful) and they both work fine. However they can't access my SD card.
Is it possible to get this to work, can this never work, etc.? Various file managers can work with the SD card. I don't understand why the SSH servers don't.
The question behind this question is what's the easiest/fastest way to get a 100 gig of files onto an SD card that a phone or tablet running Marshmallow can access. Without Windows or Mac I don't know of any better way. Why, oh why didn't Android provide a normal plug and play USB interface like you normally get with most devices where you can mount all the drives and act like they're local...
If anybody has ideas on this that would be nice. If not if I can at least access my SD card from an SSH server running on the device I'll be able to pump my files over from my various systems.
Thank you.
Updated: I built the latest libmtp and stable gmtp today and it starts working great but eventually crashes in the middle of transferring a bunch of files. Oddly, it seems to die on the same file each time. I don't have time right now but later I'll check and see if I can prove whether it's after some amount of time/data/whatever or if the file is bad (unlikely). So unless somebody has a better idea how we can get good ole' 1990s USB mass storage working I'm kinda screwed atm.
Click to expand...
Click to collapse
there is a Galaxy S7 forum
http://forum.xda-developers.com/galaxy-s7
Sent from my XT1254 using XDA Labs
sd_shadow said:
there is a Galaxy S7 forum
http://forum.xda-developers.com/galaxy-s7
Sent from my XT1254 using XDA Labs
Click to expand...
Click to collapse
Thanks, but this is a generic Android Marshmallow issue as far as I know.
It appears the SD card filesystem is not world writeable. TotalCommander allows me to change it in the GUI but it doesn't actually get changed. No error or warning messages either.
edit: ok after hours of searching here and on the net this is apparently caused by design in Marshmallow. The permissions on the SD card make it not happening to directly update the card. I think, but I am not sure, there is an API for applications that want to write to the card. Some apps can certainly do it. I found a thread here where a guy figured out a solution if you are rooted. I'm sorry but I accidentally closed the tab (DOH!) and lost the link.
The choices seem to be:
1) ask the dev to fix his app to be able to write on the SD card
2) root your phone and change permissions or change the xml file to deal with it
3) use your SD card as adoptable storage. This only works if you have a really fast/expensive card otherwise your performance will suck hard and you'll be miserable. Lots of other downside to this, probably not worth it.
I have no idea if this is going to be fixed in N. I hope so because it is a huge PITA. And stupid!
I just built the linux fuse support for exfat and am downloading a bunch of doc to the sd card from linux. After I fill up the card I'll test it out and update again. Very easy build, the whole thing was less than 3 minutes. For anybody who wants to try this on a non package managed linux (I use Slackware) see here: https://github.com/relan/exfat

Categories

Resources