[Q] Converting partition - Sony Xperia P, U, Sola, Go

Am I correct, that the data-partition is FAT32 by default? If that is the case, is there a tool available to easily format it to something else (ext,xfs,...) or would I need to do it by hand? How would it be unmounted before, i.e. is it needed to be mounted to have the system running?
I'm asking this, because I'm having trouble moving files (via Airdroid) onto the device, I encounter "Network errors" when filenames contain characters which are illegal on FAT/NTFS. As I'm running pure Linux, ok sometimes OSX, at home and I'm not planning to connect the phone directly to a Windows machine, that would be easier for me.

I think some devs are working on this. For now, I think it isn't possible. Also, Q&A section is for that...
Sent from my LT26i with Tapatalk 2

Ups, sorry, please move.
Ok, thought I could move something like ConnectBot to internal memory and do it from there or the same but via SSH.

Related

[SCRIPT] - Install2SD - Script to install any ROM to SD

WARNING: This script can be dangerous if you do not know what you're doing!!! I am not responsible for any of your files or hard drives that are deleted if the script is used the wrong way.
The following Bash script (built for Ubuntu) is a simple script that I wrote that does the following:
1. Lets you chose any non-SD ROM.
2. Lets you chose the drive to partition. (WARNING: This ONLY ignores /dev/sda as it assumes that it's your main hard drive. If you have more than one hard drive, do NOT use this unless you know what you're doing!!!)
3. Automatically partitions a Boot partition, a system partition (large enough to hold some BIG ROMs...), a data partition and the rest of your SD card (whatever size it may be) is partitioned as a standard FAT32 space.
4. It modifies both the ramdisk and the vold to boot from the SD and to see that 4th partition as the SD card.
5. If the ROM doesn't have gapps built in and uses the install script to copy them from your last ROM (like CM and MIUI do), it will download and install the gapps.
6. It creates all the required symlinks.
I've only tested it with my 8GB microSD and with MIUI. The permissions are not set up correctly for now due to a bug of sorts... but the ROM that I tested boots and works fine. (Set it all to 777 for now.)
This is only the first version. I just wrote it today. If you find bugs or have a better idea on how to do certain things (like ONLY display USB drives and SD cards) PLEASE let me know here.
If nothing in this thread makes sense, it's because I'm tired...
Update: Adding a bit more info.
Its a really good idea, but not many people can try it unless it's ported to Windows or Mac.
ikingblack said:
Its a really good idea, but not many people can try it unless it's ported to Windows or Mac.
Click to expand...
Click to collapse
I know most people use Windows but Windows isn't very well equipped to do the stuff that this script does. I could always try to make an actual program (make it in c or something) but that would require a complete rewrite. I mostly wrote this for myself (to make my life easier while I'm porting a ROM to the Nook) but figured someone else might be able to use it. (Mostly the people who make the SD img's for everyone else, not the general public.)
ivanmmj said:
I know most people use Windows but Windows isn't very well equipped to do the stuff that this script does. I could always try to make an actual program (make it in c or something) but that would require a complete rewrite. I mostly wrote this for myself (to make my life easier while I'm porting a ROM to the Nook) but figured someone else might be able to use it. (Mostly the people who make the SD img's for everyone else, not the general public.)
Click to expand...
Click to collapse
Well yeah, it is pretty hard. Anyways, your script works for me. Its really nice.
You can run bash in Windows using Cygwin
What's the benefit from using this script on the pc and not using verygreens installer on the nook?
joej said:
You can run bash in Windows using Cygwin
Click to expand...
Click to collapse
Does Cygwin include parted, mkfs.ext4 and mkfs.msdos?
TDO said:
What's the benefit from using this script on the pc and not using verygreens installer on the nook?
Click to expand...
Click to collapse
What installer? I didn't realize he had an installer that would let you install any "non-SD compatible" ROM into an SD card and make it SD-compatible. >.<
Just look at the thread directly below this one ... ;-)
http://forum.xda-developers.com/showthread.php?t=1000957
I am using it in this setup: http://forum.xda-developers.com/showthread.php?t=1022786
as alternate boot option.
TDO said:
Just look at the thread directly below this one ... ;-)
http://forum.xda-developers.com/showthread.php?t=1000957
I am using it in this setup: http://forum.xda-developers.com/showthread.php?t=1022786
as alternate boot option.
Click to expand...
Click to collapse
Reading that it looks like the differences are:
Mine:
Can do all that in the PC without having to touch the nook.
It's all automated. (Like downloading the gapps.)
You run the script then just pop the SD card into the Nook and go.
Meant more for devs who are testing new builds left and right or who are building an image for others to use.
His:
Doesn't require Linux nor any Linux experience (to choose the correct drive from the drive list that the script gives you.)
Meant for the average usage who wants to be able to easily update their ROMs and install new kernels without "wiping" the SD card's data partition.
ivanmmj said:
Reading that it looks like the differences are:
Mine:
Can do all that in the PC without having to touch the nook.
It's all automated. (Like downloading the gapps.)
You run the script then just pop the SD card into the Nook and go.
Meant more for devs who are testing new builds left and right or who are building an image for others to use. <snip...>
Click to expand...
Click to collapse
I like this... Thanks
I am using verygreen's installer on my Nook right now, but I am going to start playing with this script
P.S. Linux rocks, everyone should have it...for those who don't want to let go of Windows, you should at least have Linux installed as a virtual machine on your box using VirtualBox.
So I was playing with this for a few moments on my Mac at work today. Am I copying the ROM archive, say MIUI_us_encore_1.8.5_Eng_Deo_ZipA_Signed_andmer.zip or cm_encore_full-163.zip, into the same location as the Install2SD script?
Or am I to uncompress these roms into their respective folders and copy that folder into the same location as the Install2SD script?
I have yet to get another uSD to play with, so I have obviously not gotten to far with this just yet. I will be back to my Ubuntu machine after I get home from work with a new uSD to play with.
cdaters said:
So I was playing with this for a few moments on my Mac at work today. Am I copying the ROM archive, say MIUI_us_encore_1.8.5_Eng_Deo_ZipA_Signed_andmer.zip or cm_encore_full-163.zip, into the same location as the Install2SD script?
Or am I to uncompress these roms into their respective folders and copy that folder into the same location as the Install2SD script?
I have yet to get another uSD to play with, so I have obviously not gotten to far with this just yet. I will be back to my Ubuntu machine after I get home from work with a new uSD to play with.
Click to expand...
Click to collapse
I haven't tested to see if this works on a mac. That said, just run the script and it will tell you where to put the files (in linux (in nautilus to be exact...)) If not, when you run it the first time, it will create the necessary folder and you can put the files there.

[Q] USB Mass Storage (UMS) on Transformer Prime / Ice Cream Sandwich (ICS)

Hi!
I know, that this question has been asked many times, so I'll try to formulate it a little different. I know, that Google wants to abandon USB Mass Storage (UMS) with Ice Cream Sandwich (ICS) and focus on MTP / PTP.
This is however a pain in the @ss for most users. Since the Transformer Prime (TF-201) has only 1 partition, which can not be "exported" via UMS - because it has the system on it - would it be possible to modify ICS so, that the internal storage will be partitioned? Let's say 5GB for ICS and Apps, the rest on a separate partition. And the second partition could act like an "SD Card", like it's on most phones?
Would this somehow be possible?
I prefer UMS over MTP/PTP, since the latter 2 are not usable on Linux, and even in Windows Total Commander does not show the MTP/PTP devices (no official support, no plugins that work...) and I'm "forced" to use Windows Explorer
Thats what i though too when i connected my prime to the pc.
Was expecting to connect it in UMS.
Usually partitions are defined by the bootloader, so this would need a bootloader edit which nobody really wants to try due to the lack of nvflash access
Would it be possible with root?
brantje said:
Would it be possible with root?
Click to expand...
Click to collapse
No, because UMS would require having an actual "sdcard" partition on the device, and this is not the case. As Diamondback said, to change the partitioning of the storage would require full bootloader access which is not possible without the likes of nvflash.
Personally I think you are better to figure out a way to use the MTP. I use Linux so ?I know what a pain it is, but for the very occasional times I need to access sdcard from my PC MTP works "well enough".
Android 4.0 Compatibility Definition at 7.6.2. Application Shared Storage says
Regardless of the form of shared storage used, device implementations MUST provide some mechanism to access the contents of shared storage from a host computer, such as USB mass storage (UMS) or Media Transfer Protocol (MTP). Device implementations MAY use USB mass storage, but SHOULD use Media Transfer Protocol.
Click to expand...
Click to collapse
I read that as saying the method used is down to the developer. I think if mtp was required then the word "MUST" would be used and "SHOULD" is "do this unless there are valid reasons not to do it"
peterk-1 said:
Android 4.0 Compatibility Definition at 7.6.2. Application Shared Storage says
I read that as saying the method used is down to the developer. I think if mtp was required then the word "MUST" would be used and "SHOULD" is "do this unless there are valid reasons not to do it"
Click to expand...
Click to collapse
I don't think it is down to the "developer" as in the ROM chef. Your quote clearly says "Device implementations" - i.e. the way the device is set up. So, a device manufacturer who is creating an ICS device could either configure the device with a separate partition or card for /sdcard and use UMS or they have a single shared partition and use MTP.
The problem with UMS as I understand it is that it requires a dedicated partition, and when that partition is mounted on the host PC, it cannot be accessible to Android (remember all the issues with widgets which were installed on the sdcard on previous android versions not working ?).
The MTP method, on the other hand, does not have this restriction and also allows the dynamic sharing of a single partition between /data and /sdcard which makes much more efficient use of available storage.
So basically this was a design decision which the manufacturer made at design time. In order for a ROM developer to change that, they would need access to be able to split the current /data partition into two chunks: one for /data and one for /sdcard. That capability does not exist with the Prime.
Then again, I could be totally wrong
barryflanagan: Quite right in what you say. It's such an easy mistake to type developer instead of manufacturer!!
Cheers
Diamondback said:
Usually partitions are defined by the bootloader, so this would need a bootloader edit which nobody really wants to try due to the lack of nvflash access
Click to expand...
Click to collapse
barryflanagan said:
No, because UMS would require having an actual "sdcard" partition on the device, and this is not the case. As Diamondback said, to change the partitioning of the storage would require full bootloader access which is not possible without the likes of nvflash.
Personally I think you are better to figure out a way to use the MTP. I use Linux so ?I know what a pain it is, but for the very occasional times I need to access sdcard from my PC MTP works "well enough".
Click to expand...
Click to collapse
Hi Guys!
First, thanks for the answers.
Second: "well enough" is not what I would aim for in a high quality and premium device like the TF Prime...
So, if I'm interpreting this right, "we" (the geeks & developers at XDA) need only nvflash for the Prime. That doesn't sound too hard. Personally I don't know nvflash, or how to get it working on the Prime (I'm not a developer), but since we already have root access and an unlocked bootloader it should be no problem.
I ran into the following site after a quick Google search: http://androidroot.mobi/2011/06/13/nvflash-on-asus-transformer/
I think I'm not alone, when I say, that UMS is better than MTP/PTP. Personally I don't care about a shared storage. When I want to copy music or movies to my phone or tablet I'm prefer the UMS method (umount on device, mount on PC).
<rant>On another note, why I dislike MTP: many years ago I had a Creative Zen Touch (20GB), which used MTP. On 2 out of 3 PC's I could not get it work, no matter what I had done, and even the rare times it worked, I could not copy bigger file (I think 1GB or larger) to the device, the transfer always broke up.
After I got the TF Prime, I was really disappointed to see, that ASUS chose this path too (since it's not mandatory, only recommended - I think some ICS Phones have a partitioned internal storage, where 1 partition can act like an SD card). The first thing that happened to me after I got the Prime: I copied a directory from my work notebook on the TF Prime. After some time I deleted that directory (I used the File Manager that came with the device). Then (after the directory was deleted) I connected the Prime to my home PC (the TF Prime was *never* connected to that PC before), and the first thing I saw, was the previously deleted directory - though I did *not* see the directory in the File Manager anymore! So that's why I'm against MTP/PTP. </rant>
drunken_m said:
Hi Guys!
First, thanks for the answers.
Second: "well enough" is not what I would aim for in a high quality and premium device like the TF Prime...
So, if I'm interpreting this right, "we" (the geeks & developers at XDA) need only nvflash for the Prime. That doesn't sound too hard. Personally I don't know nvflash, or how to get it working on the Prime (I'm not a developer), but since we already have root access and an unlocked bootloader it should be no problem.
Click to expand...
Click to collapse
If only it were that simple. Let me know when you have it ready
As for the whole MTP issue, I agree with you but the reality is it ain't going to change any time soon, at least not in the Prime.
The Galaxy Nexus (Google's own flagship device) I think shows the strategy being pursued, which is not only MTP-only, but also has no storage expansion. What Google, Apple and the rest want is to force us all onto the dreaded Cloud and wean us off local storage all together.
BTW, even on the GNex, I am not aware of any ROMs which have implemented UMS, and that phone IS totally unlocked, unlike the Prime.
Sent from my Galaxy Nexus using Tapatalk 2 Beta-4
I've been very frustrated with this issue, but it does make a bit of sense. It sounds like the underlying issue here, going forward, is that what we really need better support across the board. If MTS is going to be the future, it will need to be much more robustly supported on other devices, and we'll need android tools to manage what is available on those devices.
I'm currently looking into other methods of network file access, which will allow me to transfer what I want where I want it, to and from TF201, files of large size and small, with decently high throughput. Running an SFTP server on my tablet looks to be the most likely candidate for what I'm trying to do.
The worst part for me is that MTP volumes are not detected in file recovery programs.. I recently accidentally lost a small lot of pictures and couldn recover them as a result of MTP...

[MOD] Flashable Sync Manager ISO Replacement (Mount Virtual CD from Phone)

Just a quick note for anyone strolling in. I am still supporting this modification. If you have any questions or comments, please feel free to post.
Hello everyone. Hopefully this hasn't been done before. This mod is a bit more of a fun one (In my humble opinion ).
You may have noticed that when you connect your phone up to a computer, while booted into a Sense-based ROM, the phone will mount two drives -- one being a mass storage device, and the other being a CD-ROM drive. Interestingly enough, when you select HTC Sync Manager from the USB connection type list, it makes the computer think that you inserted a CD-ROM.
That's interesting because that means that you could essentially hook the phone up to just about any computer, and it would recognize that "CD-ROM drive."
Click to expand...
Click to collapse
Background
I found that you can actually change that CD-ROM to just about anything you could possibly want (having some trouble with bootable ISOs though).
There is a file named PCTOOL.ISO inside the /system/etc directory that normally contains the HTC Sync Manager Software. By replacing that ISO with another, it'll mount that one instead. Because there isn't too much room to spare in the /system partition, the file should probably be kept relatively small.
Click to expand...
Click to collapse
Okay. Why does this matter? I can think of two reasons:
1. ROM Developers can include a package that contains a copy of the ADB and Fastboot executables within their ROM. ADB would be useful while the device is on; Fastboot would probably have to be copied to the computer.
2. Because the ISO is mounted as Read-Only media, it could be incredibly useful for field technicians who need to run portable software, without the risk of being infected with a virus on the host machine.
Click to expand...
Click to collapse
Info/Download
It's not hard to create these ISOs, and flash them to the phone. I can put up a how-to in the second post if anybody would like me to.
For now, here's a flashable zip containing ADB and Fastboot executables for Windows, Linux, and Mac OS X.
Just flash the file like you would flash any other.
There is an old version of the PCSC.apk in this file. A newer version is here for the time being.
Download
Click to expand...
Click to collapse
How to use
To use it, while booted, change the device-connection type to HTC Sync Manager. Tap 'Done'. You'll likely see a message on the phone that says "Connecting to HTC Sync Manager ..." Just tap the back button on your phone to clear that message.
On your computer:
If you're running Windows, you may get an AutoPlay window that gives you the option to launch the "ADB and Fastboot Command Prompt." If you click that, you'll get a Command Prompt Window that's pointed at the drive already. To use any of the commands, just type adb [COMMAND], or fastboot [COMMAND] (again, fastboot may be useless unless copied to the computer).
If you don't get an AutoPlay window, open up the CD-ROM drive, and double-click on the 'ADB_FASTBOOT_SHELL.BAT' icon to bring up the window. That batch file contains only one command (just to launch the Command Prompt to the CD location).
If you're running Linux, you may have to copy the binaries over to your computer to use them (they may not have correct permissions).
On Mac OS X, you'll likely have to open a terminal window and navigate to the CD-ROM drive to use them.
Click to expand...
Click to collapse
I know that this isn't anything huge, but I'll put this down here anyways. Developers, if you are interested in the ADB/Fastboot ISO or flashable ZIP, and would like to include it in your ROM, please feel free to do so. Modify it however you like. Only thing that I would ask of you is that you post here (or even PM me) saying that you used it. I'd just love to see if/where it's being used. This isn't a strict requirement though. Thanks!
Disclaimer: I am not responsible for anything that happens (including, but not limited) to your phone, computer, Sprint contract, etc. This is provided free of charge without any warranty.​
Reserved
This is extremely interesting to me my friend. I ordered a 64gb sd so i could store pc repair programs such as hiren or others. So i woild always have with me. If i could just load a iso. God that would kick but. Id have a few o.s so ready at all times lol
Sent from my ice cream powered Evo Lte!
I definitely like the idea and possibilities this has. Good find, Closeone! I am goin to download just to keep for future. As I am only rooted stock, but I do plan to unlock soon. Was waiting on s-off but doubt that'll happen anytime soon, being that u can still flash kernels n etc with just unlocked bootloader.
Sent from my LTEVO via Tapatapa
When I connect my EVO to my PC running Windows 7 64 bit , it doesn't recognize it as MTP (Thank God, by the way....IMO), it mounts as a normal USB flash drive. I didn't install HTC Sync, so I am not sure if that has anything to do with it.
Are you referring to bone stock and you click on the Disk drive icon or the HTC Sync Manager when you plug in?
Just curious if I am using drivers that maybe others might get use of...
kaos420 said:
This is extremely interesting to me my friend. I ordered a 64gb sd so i could store pc repair programs such as hiren or others. So i woild always have with me. If i could just load a iso. God that would kick but. Id have a few o.s so ready at all times lol
Click to expand...
Click to collapse
Thanks! I'm not sure about the ability to boot. I did try a bootable ISO, which unfortunately was unable to boot. I may have to look closer into this. Also, the size restriction might hold you back. I wouldn't load a huge ISO into the /system partition, but there is one of two different things might be able to be done. One would be to possibly symlink the ISO and have it load from another place, the second would be to modify where the software would load the ISO from. Humm...
drewski83 said:
I definitely like the idea and possibilities this has. Good find, Closeone! I am goin to download just to keep for future. As I am only rooted stock, but I do plan to unlock soon. Was waiting on s-off but doubt that'll happen anytime soon, being that u can still flash kernels n etc with just unlocked bootloader.
Click to expand...
Click to collapse
Thanks, drewski83!
pinky059 said:
When I connect my EVO to my PC running Windows 7 64 bit , it doesn't recognize it as MTP (Thank God, by the way....IMO), it mounts as a normal USB flash drive. I didn't install HTC Sync, so I am not sure if that has anything to do with it.
Are you referring to bone stock and you click on the Disk drive icon or the HTC Sync Manager when you plug in?
Just curious if I am using drivers that maybe others might get use of...
Click to expand...
Click to collapse
The only way, I believe, that the system will mount the phone as MTP (or is it PTP in this implementation?) is by selecting the Media sync option when connecting. The two advantages I see to mounting it this way are that the SD Card doesn't have to be dismounted while connected, and the device shows both the "Internal SD" and the actual SD Card as separate drives that you can copy files to and from.
I haven't installed HTC Sync either. I'm referring to most any Sense-based ROMs for this device. If the phone doesn't give you a choice, it's possible that it's still hidden in the notification menu. If not, you can change that by going into Settings > Connect to PC, and tap Ask me, or you can change the default connection type from within that menu as well.
~co~
Closeone, you are awesome.
-Cupper- said:
Closeone, you are awesome.
Click to expand...
Click to collapse
Thank you -Cupper-. You are awesome, good sir!
~co~
bump for awesomeness
Quick question...if you flash this mod, do you have to reflash it every time a new ROM is flashed? Thanks in advance
bard77 said:
Quick question...if you flash this mod, do you have to reflash it every time a new ROM is flashed? Thanks in advance
Click to expand...
Click to collapse
Hi bard77. Yes. When you flash a new ROM, system data will (should) typically be wiped. This is written there. It's simple to flash however.
Thanks,
~co~
good stuff!! thanks
Just freakin' sweetness man. Pure epic find!
Sent from my EVO using Tapatalk 2
Androidious said:
Just freakin' sweetness man. Pure epic find!
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Agreed, nice work closeone. This is amazing.
evo401 said:
good stuff!! thanks
Click to expand...
Click to collapse
Androidious said:
Just freakin' sweetness man. Pure epic find!
Click to expand...
Click to collapse
regaw_leinad said:
Agreed, nice work closeone. This is amazing.
Click to expand...
Click to collapse
Thanks guys.
~co~
Closeone, good job on finding this!
I do computer repair, and I currently have an external 2.5" drive set up to be bootable to a Grub bootloader. From Grub, I can boot any ISO or boot partition on the drive. With the Sync Manager emulating a CD-ROM drive instead of showing up as a disk drive, it would be a huge advantage for booting, letting any computer (especially older ones) recognize it.
If you could find a way to keep the phone in Sync Manager even when it's not connected, the computer's BIOS should be able to see it as a CD-ROM and boot from it. As it is now, my BIOS won't see it because it's not treating the phone like a USB device. It would be excellent if you could map to an ISO on a different partition. Another option is to have the loaded ISO simply bring up a bootloader to boot from any ISO/partition you want, though this takes away the advantage of the selected ISOs being recognized as a CD-ROM drive. Grub can have problems when you boot from an ISO of a live CD and the booted OS needs to access the disc. The OS can't find a CD-ROM, so it doesn't work.
If you could successfully map this to an ISO on the SD card, you could even build a little app to let you choose which ISO you want to be selected. You could simply have it remap to the different folders with the respective PCTOOL.ISO files. For example, if you select "Acronis" from the app menu, it would direct it to sdcard/acronis/PCTOOL.ISO, and if you select "Ubuntu," it would map to /sdcard/Ubuntu/PCTOOL.ISO.
I hope this is all clear enough. Once I read this, I got pretty excited about all the possibilities!
This is going to be awesome if things can be modified to make this a bootloader. I would even donate for this functionality if someone wanted to tackle it.
Having the ability to have things like UBCD, Win XP PE (With Antivirus / MalwareBytes), etc as options running straight from my phone would be a computer guy's dream.
jamiphar said:
Closeone, good job on finding this!
I do computer repair, and I currently have an external 2.5" drive set up to be bootable to a Grub bootloader. From Grub, I can boot any ISO or boot partition on the drive. With the Sync Manager emulating a CD-ROM drive instead of showing up as a disk drive, it would be a huge advantage for booting, letting any computer (especially older ones) recognize it.
If you could find a way to keep the phone in Sync Manager even when it's not connected, the computer's BIOS should be able to see it as a CD-ROM and boot from it. As it is now, my BIOS won't see it because it's not treating the phone like a USB device. It would be excellent if you could map to an ISO on a different partition. Another option is to have the loaded ISO simply bring up a bootloader to boot from any ISO/partition you want, though this takes away the advantage of the selected ISOs being recognized as a CD-ROM drive. Grub can have problems when you boot from an ISO of a live CD and the booted OS needs to access the disc. The OS can't find a CD-ROM, so it doesn't work.
If you could successfully map this to an ISO on the SD card, you could even build a little app to let you choose which ISO you want to be selected. You could simply have it remap to the different folders with the respective PCTOOL.ISO files. For example, if you select "Acronis" from the app menu, it would direct it to sdcard/acronis/PCTOOL.ISO, and if you select "Ubuntu," it would map to /sdcard/Ubuntu/PCTOOL.ISO.
I hope this is all clear enough. Once I read this, I got pretty excited about all the possibilities!
Click to expand...
Click to collapse
webdude12 said:
This is going to be awesome if things can be modified to make this a bootloader. I would even donate for this functionality if someone wanted to tackle it.
Having the ability to have things like UBCD, Win XP PE (With Antivirus / MalwareBytes), etc as options running straight from my phone would be a computer guy's dream.
Click to expand...
Click to collapse
Apologies for my late response. I've been... tied up for the last couple weeks.
Thanks. Precisely. I thought that it would be a nice tool for technicians. I work in that field myself. There are a few problems that I noticed with how the PCTOOL.ISO is accessed. From my understanding, I believe that the problem with reading it from the SD Card (Internal Memory or External) is that it doesn't expect that it's going to be reading from a FAT32 formatted partition. It gets a bit more difficult with the fact that a huge ISO really probably shouldn't be placed in your system partition. Making it bootable is messy (I mean, it was intended for a completely different use in the first place though ). At the very least, an ISO with your favorite portable applications can be put in there and loaded up when needed. That alone is very valuable because it acts as read-only media, the phone can't be infected with anything nasty from the computer you plug it into.
Thanks again!
~co~
Why could we not partition a section of the SD card as EXT3 or whatever PCTOOL.ISO wants to see, then create a symalink as mentioned? Nothing says the entire SD card has to be partitioned FAT32. I actually had part of mine partitioned as EXT2 for the longest time, because the card wasnt always in my phone.
webdude12 said:
Why could we not partition a section of the SD card as EXT3 or whatever PCTOOL.ISO wants to see, then create a symalink as mentioned? Nothing says the entire SD card has to be partitioned FAT32. I actually had part of mine partitioned as EXT2 for the longest time, because the card wasnt always in my phone.
Click to expand...
Click to collapse
True. True. I didn't think about that. The first thing that's got to be done though is making the phone mount the ISO, or at least not wait for a request from the computer to go ahead and make the phone pop up with the menu of actions, and in turn say to the computer "Hi there, I see that you're booting. I'm a USB CD-ROM drive. Oh yeah, and you can boot from me now." Easier said than done, at least for myself.
~co~

Android USB File Transfer - Major Problems

This is one of the strangest problems I have ever encountered, so be prepared to be stumped.
I have many android devices, as you can see in my sig. Lately, I have been having problems with pulling files off of all of my devices., Here's what happens.
Say I use mybackup pro. I create a backup of my apps and their data on 9-6-2013. Then I create one on 9-7-2013. If I plug in my device on 9-8-2013, and attempt to copy the 2 backups I made, not all of the files will transfer to my computer.
Guessing that the files are corrupt or something, I deleted them. I create a new backup on 9-8-2013. HOWEVER, when I plug the device back into my computer (doesn't matter which machine), Explorer still shows me the OLD files that I deleted off of the device! It appears that something is caching my device's filesystem but I cannot clear that cache or refresh the device's content list.
This happens with all of my computers and all. of my Android devices. The only similarity is that I am running Windows 7. That's it.
Can someone help me please diffuse this problem?
jerry43812 said:
This is one of the strangest problems I have ever encountered, so be prepared to be stumped.
I have many android devices, as you can see in my sig. Lately, I have been having problems with pulling files off of all of my devices., Here's what happens.
Say I use mybackup pro. I create a backup of my apps and their data on 9-6-2013. Then I create one on 9-7-2013. If I plug in my device on 9-8-2013, and attempt to copy the 2 backups I made, not all of the files will transfer to my computer.
Guessing that the files are corrupt or something, I deleted them. I create a new backup on 9-8-2013. HOWEVER, when I plug the device back into my computer (doesn't matter which machine), Explorer still shows me the OLD files that I deleted off of the device! It appears that something is caching my device's filesystem but I cannot clear that cache or refresh the device's content list.
This happens with all of my computers and all. of my Android devices. The only similarity is that I am running Windows 7. That's it.
Can someone help me please diffuse this problem?
Click to expand...
Click to collapse
EDIT
----------------
Ah did some more digging around. It appears it's this known bug.
https://code.google.com/p/android/issues/detail?id=38282
Solution for now is to reboot before using MTP to copy files off the tablet. Simple enough workaround for now.
Thank you for the reply, even if the thread was necro'd, Lol! At least I finally got an answer

broken Webtop (atrix 4g)

Hello! I'm new here and I don't know where to write about it. So, I have atrix and laptopdock. Also I have Tegra2Ubuntop there and everything worked very well. But now, when I insert my atrix into dock I see..... standard desktop!!! When I type sudo gpaint or sudo dosbox these programs doesn't start. That is to say all my programms damaged. Although I can see old folders such as lxdepanel or lxde. File manager show me these directories: 1) adas ; 2) desktop ; 3)MOT ; 4) 9.8 GB Volume; 5)SD/MMC Drive, But I don't see directory OSH. Before it, I tried to run ubuntu linux. I followed by instructions from Complete Linux installer. I think I damaged webtop (which is on my flash card) by using android terminal. (While I tried to run Linux) What I should to do? Please HELP ME !
P.S. Hope you understand me.
Sbf?
Sent from my MB886 using xda app-developers app
Yup. Or there was a project called simoletop, is original webtop with minimal changes. You could flash it and kibda of start over
Enviado desde mi MB860 usando Tapatalk 2
hm sorry for my english... But I said that I have laptop dock station with Tegra2Ubuntop. And had installed Complete Linux Installer from market and followed this instructions. (Run linux on your phone) And then destroy osh directory (I guess) And I must install Tegra2Ubuntop again, right?
Nick_Su said:
hm sorry for my english... But I said that I have laptop dock station with Tegra2Ubuntop. And had installed Complete Linux Installer from market and followed this instructions. (Run linux on your phone) And then destroy osh directory (I guess) And I must install Tegra2Ubuntop again, right?
Click to expand...
Click to collapse
You've said in both posts something to the effect of a damaged/destroyed/edited /osh partition. Start with the basics. Flash the sbf, then test your phone on the lapdock to ensure it works. Then work from there and rebuild your device the way you want it.
Sent from my MB886 using xda app-developers app
only one note. My atrix and webtop work well (but the last with the standard environment) "Flash the sbf" - Now I'm really afraid to destroy my atrix. But the main thing I understood - I should reinstall it.
Nick_Su said:
only one note. My atrix and webtop work well (but the last with the standard environment) "Flash the sbf" - Now I'm really afraid to destroy my atrix. But the main thing I understood - I should reinstall it.
Click to expand...
Click to collapse
Sbfs aren't that scary if you are using the ones made for your region. But yes, reinstalling is the end result
Sent from my MB886 using xda app-developers app
ok, I have linux on my PC and when I connect my atrix I can get access to osh. I have 16 Gb flash drive and I think to format osh into ntfs. So I will have flash card 16Gb volume. (ntfs) (now it's 9.8 gb ntfs and 4 gb osh). And try to reinstall again
Good luck with NTFS. Honestly, it seems you don't really know what you're doing and you're about to make your situation even worse. But I could be wrong.
hmm.... you are right! I'm not sure with it. So I try to get a good advice from xda
Ok, let me recap to see if we are missing something here.
First of all, do not touch the /osh partition in any way other than flashing something. You wil break a lot of things if you do so and maybe end up with a nice, hi-tech battery powered paperweight.
Now. You said that linux on android destroyed your webtop yet somehow you can load it up..?
Third: is very unlikely that s tool designed for all kind if android phones just smashed through an very rare(as in only two devices of the thousands) partition thats not standard.
If you installed ubuntop, what prevents you from installing it again?
Enviado desde mi MB860 usando Tapatalk 2
andresrivas said:
Now. You said that linux on android destroyed your webtop yet somehow you can load it up..?
Click to expand...
Click to collapse
If I understood right, so.... Yes, I can run webtop. Open PDF, launch Firefox and so on. (But it's not a TegraUbuntop! just standart environment)
Second, It's my supposition that Complete Linux Installer (exactly android terminal) has destroyed /osh.
I must to confess.... the other guy has installed Ubuntop, not me.
And now I have Android 2.3.6 with Webtop 1.3 but If I install (flash) android 4.x ICS so, I have webtop 3.0 . But what's better? Reinstall ubuntop or install android 4x ICS ? Or you have other ideas?
Aaaaaahhhh
Now I get it. Ubuntop was installed on a second partition on the external sd card, that's why you can load the original webtop, because is in internal sdcard partion.
You got 3 options.
1) Remove linux on android (which also uses external sdcard's second partition, that's why your ubuntop got overwritten) and install ubuntop again (using webtop2sd, all the info is in the forums).
2) Upgrade to atrics (or icsrom) which is the only firmware that has webtop 3.0. Beware, because webtop 3.0 is only android with a tablet interface, not a linux fesktop as original webtop.
3) keep the original webtop and linux4android
Enviado desde mi MB860 usando Tapatalk 2
andresrivas said:
Aaaaaahhhh
2) Upgrade to atrics (or icsrom) which is the only firmware that has webtop 3.0. Beware, because webtop 3.0 is only android with a tablet interface, not a linux fesktop as original webtop.
Click to expand...
Click to collapse
I know about it. But it seems quite dangerous. I can destroy my atrix.
And I can't use Complete Linux Installer because it doesn't work. (something wrong with it) So I have standart webtop
But I'd prefer 1 option. (in my view, it's more safety) But what I should to do with /osh? It's already exist! (and takes 4gb) In my opinion, I should clean it. I mean format it into ntfs (fat32) and only then try to reinstall ubuntu. What can you advice?
So your device is broken and you want to fix it, but you don't actually want to do anything because everything is scary and looks dangerous?
Come one dude, get over yourself. Either you want to fix it or you don't. You've been given plenty of advice, now quit whining and do something about it.
Nick_Su said:
But what I should to do with /osh? It's already exist! (and takes 4gb) In my opinion, I should clean it. I mean format it into ntfs (fat32) and only then try to reinstall ubuntu.
Click to expand...
Click to collapse
it's my last question. And then I'll act
It looks like you need to learn URGENTLY about filesystems, mounts and mountpoints, before you destroy everything. Your /osh is most definitely NOT 4GB in size, what you're looking at is another part of the filesystem (could be anywhere but is most likely on your external SD card) that just happens to be attached to /osh.
hm ok. By the way, I'll use webtop2sd, but webtop has been already transferred to external Sd card! What I need to do? Ext3 already exist. And if I insert new Sd card?
Nick_Su said:
hm ok. By the way, I'll use webtop2sd, but webtop has been already transferred to external Sd card! What I need to do? Ext3 already exist. And if I insert new Sd card?
Click to expand...
Click to collapse
Webtop2sd has already been transferred? Ok then why are we still dealing with this issue? You chose a method given by andresrivas, now finish setting up your webtop setup. And what do you think will happen if your phone is setup to read something from an sd card, and suprise! The sd card isn't there? Hint - file not found ring a bell? This is really basic stuff and you're turning it into an "i'm a noob and wants everyone else to fix my mistake and do the legwork to get info to my questions" session.
Sent from my MB886 using xda app-developers app
Just skip the webtpo2sd setup and carry on to next step.
Do not touch the osh partition on internal sd.
You should read about how linux mounts storage devices onto the filesystem so you can get an idea about what's going on there and act accordingly
Enviado desde mi MB860 usando Tapatalk 2

Categories

Resources