Related
I was trying to update a friends transformer to ICS (revolver) and I forgot that you have to put the zip on the internal storage (at least that's the only way I know how to do it) I'm using roach CWM based 5.5.0.4, I was playing around in there and, this is where I really screwed up, wiped /system. I have adb access and I'm in recovery but there's no rom installed on the tab because of me wiping /system. The rom is on the sd card (not the internal storage labeled as sdcard, an actual sd card). I tried pushing it from adb but I was probably doing it wrong. I was looking for a way to mount the internal storage but I didn't see any. I've tried several options but none have worked so any help would be appreciated. Thanks.
so why don't you just install the rom from the microSD?
You have a 5.xxx recovery, and that allows you to install zips from microSD. Just pop that into a PC and copy the rom file on it. Select install from microsd and there you go...
PS: wiping /system doesn't format the internal storage...
zdalin2003 said:
so why don't you just install the rom from the microSD?
You have a 5.xxx recovery, and that allows you to install zips from microSD. Just pop that into a PC and copy the rom file on it. Select install from microsd and there you go...
PS: wiping /system doesn't format the internal storage...
Click to expand...
Click to collapse
I have the rom on the external sd card. I tried the flash from sd and it was looking at the internal "virtual" sd card. I didn't see an option to switch to the external sd and I think there are some recoverys that use the external sd as default but I haven't been able to find one. If I did find one it would have to be an image so I could flash it through bootloader.
I was looking for a .img file to flash through bootloader but couldn't find one of those. I tried adb push to get the .zip onto the internal storage but, and I'm sure I was doing something wrong, that didn't work.
wait wait wait... just to clarify, are you using the full size sd card on the dock?
LE: what's your sbk version? if you're sbk1, you can also use nvflash
zdalin2003 said:
wait wait wait... just to clarify, are you using the full size sd card on the dock?
LE: what's your sbk version? if you're sbk1, you can also use nvflash
Click to expand...
Click to collapse
I think the guy said MicroSD up there, the one you inserted on the side. But the onboard CWM only detect the internal virtual SDcard.
Now he screwed because of the full wipe prior flashing while the intended Rom was placed in the MicroSD..
Yea, if the transformer comes with B70 or below, then you can use Flash to do the magic.
Sent from my Transformer TF101 using XDA Premium HD app
zdalin2003 said:
wait wait wait... just to clarify, are you using the full size sd card on the dock?
LE: what's your sbk version? if you're sbk1, you can also use nvflash
Click to expand...
Click to collapse
no, no dock. I'm using the external micro sd.
So I finally got it to push, I renamed the file ics.zip because I didn't feel like typing out the whole file name and because I used .zip at the end the file was actually ics.zip.zip, that's why it couldn't find it.
cmd says:
C:\Transformer>adb push ics.zip /sdcard
1333 KB/s <268182367 bytes in 196.431s>
It pushed but now I just tried "choose zip from sdcard" and I got "couldn't open directory. No files found"
Edit: For some reason nothing was showing up at all on the internal storage so I rebooted back into recovery and all the files that were there before returned. I didn't see my ics.zip in there though which was odd but in searching through the folders i found an older version of a rom I flashed on there when I first rooted it. It's on the welcome screen right now.
Thanks for your input, you were most helpful.
BTW, I did research and the problem is solved now, you'd have noticed if you read.
horndroid said:
I posted at 8:27
You edited your post at 8:28
I can't read the future.
And no you didn't research anything.
Any ADB guide would tell you to push files to /data/media for internal storage, not /sdcard
Click to expand...
Click to collapse
Once again, thanks for your assistance /sarcasm
horndroid said:
Any ADB guide would tell you to push files to /data/media for internal storage, not /sdcard
Click to expand...
Click to collapse
Hm interesting... Why wouldnt you be able to push to /sdcard/ (notice the extra slash)?
Is that folder not mounted correctly while in recovery? Ive never tried ADB in recovery, only in android and push to /sdcard/ works just fine.
pushing anything to /sdcard does not work though (notice the lack of the extra slash). Might be my rom but doubt it since its the same on my phone and other tablet...
Like you said, /sdcard is wrong.
The correct paths are /sdcard/, /data/media, and /data/media/.
Most ADB guides posted on this forum use /data/media(/) though.
horndroid said:
So much fail in this thread.
1. Because his version of CWM doesn't support microSD
2. Since when does 5.xxx recovery support installing from MicroSD?
3. wiping /system doesn't format internal storage but it wipes out the OS so there is no OS to boot into.
The correct path for pushing files to internal storage on TF101 is /data/media
Do some friggin research before you do things, wow.
Click to expand...
Click to collapse
1.&2. his version might not support it and since i'm using Rogue XM Recovery v1.3.0 (CWM-based Recovery v5.0.2.7), i just thought being v5 it would. It was just a fast answer, no need for your superiority complex.
3. *you don't say meme*
Your sarcasm doesn't work because I wasn't trying to assist.
I was just pointing out what an idiot you are.
Click to expand...
Click to collapse
I think the thread would eventually solved even without your intervention.
Don't help if you don't feel to.. With your high in moron wouldn't do good for the public seeking for assistant here.
There's alot others intelligent guys around with good manner will come forward..
I respect your knowledge level but you too come from zero at some point way before in the past..
Sent from my Transformer TF101 using XDA Premium HD app
farsight73 said:
I think the thread would eventually solved even without your intervention.
Don't help if you don't feel to.. With your high in moron wouldn't do good for the public seeking for assistant here.
There's alot others intelligent guys around with good manner will come forward..
I respect your knowledge level but you too come from zero at some point way before in the past..
Sent from my Transformer TF101 using XDA Premium HD app
Click to expand...
Click to collapse
There are a lot of people like him in all the forums, it's best just to walk away. I'm not new but I wasn't thinking clearly due to lack of sleep. Also the tf101 wasn't mine, I forgot how Asus had the storage set up, and I was thinking it would have the same path whether you were booted or through ADB. I knew I screwed up, that's why I said it right in the title. Oh well, it's fixed now. The problem is that a lot of people turn developers and newbies away by acting like that.
I just installed a new ROM and the SDCARD and SDCard-ext are in the wrong location. They are listed under the root director ( / ) and /storage instead of under /mnt/sdcard
Does it work? You could create a symlink. If that fixed it, put it in a script on bootup.
post-mortem said:
Does it work? You could create a symlink. If that fixed it, put it in a script on bootup.
Click to expand...
Click to collapse
Does it work is a relative question. (wasn't meant to sound wise-a$$). I can access them, but apps do not see them at all. They are looking for the cards in /mnt therefor not finding them.
I changed them in /system/etc/vold.fstab but now it won't boot. The not booting is not an issue, I can fix that, but I don't know how to fix these incorrect paths/
No one else who's using this ROM is having these problems? I say either reflash, create symlinks, or choose another ROM.
post-mortem said:
No one else who's using this ROM is having these problems? I say either reflash, create symlinks, or choose another ROM.
Click to expand...
Click to collapse
Not sure if anyone else is running it. Haven't been able to find a thread on here for it. How do you do symlinks?
mikemikemikexxx said:
Not sure if anyone else is running it. Haven't been able to find a thread on here for it. How do you do symlinks?
Click to expand...
Click to collapse
ln -s target shortcut
See a bit more here.
Make a script in your /system/etc/init.d directory, so these links will be created on every boot.
post-mortem said:
ln -s target shortcut
See a bit more here.
Make a script in your /system/etc/init.d directory, so these links will be created on every boot.
Click to expand...
Click to collapse
From what I have read you cannot use them on FAT.
Why does editing this file not work? I fail to see how Android could do anything other than read the file, provided permissions are the same.
mikemikemikexxx said:
From what I have read you cannot use them on FAT.
Why does editing this file not work? I fail to see how Android could do anything other than read the file, provided permissions are the same.
Click to expand...
Click to collapse
The internal memory is not FAT; typically, only the 1st partition on the SD card is FAT, everything else should be EXT. So, executing ln -s /storage /sd-ext should work (or wherever it's currently being mounted).
post-mortem said:
The internal memory is not FAT; typically, only the 1st partition on the SD card is FAT, everything else should be EXT. So, executing ln -s /storage /sd-ext should work (or wherever it's currently being mounted).
Click to expand...
Click to collapse
I meant the card but ln is not working.
One more thing I am going to try is an ADB pull and push. If that doesn't work I really need some community support.
bump to the front.
Are my questions that complex or that dumb that I get so few replays? /bump
Sent from my XT875 using xda app-developers app
Is there a good reason that you don't want to use another ROM?
Mainly speed and compatibility. I need the offline commands only available in JB. Stock ROM is dead slow and is only ICS. Other custom ROMs were also on the slow side and/or battery hogs.
Sent from my XT875 using xda app-developers app
So, is this right?
FAT partition is currently being mounted as /storage
EXT partition is currently being mounted as /mnt/sdcard
post-mortem said:
So, is this right?
FAT partition is currently being mounted as /storage
EXT partition is currently being mounted as /mnt/sdcard
Click to expand...
Click to collapse
Well the way my phone is laid out is
System (I assume too large so they split it in two which resulted in the below SD-Card)
SD-Card
SD-Card EXT (The actual SD Card) - FAT32
I assume the System and SD-Card are standard Android partition format.
Do you use a file manager on the phone, such as ES File Explorer? Are you familiar with using adb?
Edit: Basically, I'm trying to figure out the exact path of the mounted partitions, and where they're supposed to be mounted.
post-mortem said:
Do you use a file manager on the phone, such as ES File Explorer? Are you familiar with using adb?
Edit: Basically, I'm trying to figure out the exact path of the mounted partitions, and where they're supposed to be mounted.
Click to expand...
Click to collapse
They are 100% supposed to be mounted under: /mnt/sdcard and /mnt/sdcard-ext
Right now they are mounting to: /storage/sdcard and /storage/sdcard-ext
There is also an entry in under root ( /sdcard and /sdcard-ext --- For these two I am booting into stock ROM to see if they are suppose to be directly in root as well, will post up when I know)
Check the scripts in your init.d to see if one of them is mounting the sd partitions under /storage.
I suppose you could also try booting without the sd card in place, and see if those /storage directories still exist. Not sure how much that will tell you, though.
post-mortem said:
Check the scripts in your init.d to see if one of them is mounting the sd partitions under /storage.
I suppose you could also try booting without the sd card in place, and see if those /storage directories still exist. Not sure how much that will tell you, though.
Click to expand...
Click to collapse
The init.d for sure says to load sdcards to /storage . (on this particular ROM only)
I will try without the sdcard as you suggested and let you know. Battery died on me, phone won't boot even when plugged in until at least 10%.
Which script is mounting the sd card to /storage? Is it part of the ROM, or is it something which the dev included in this ROM? I ask in case the ROM expects the sd card to be mounted there.
Regardless, try changing the script to link to /sdcard.
I am a newbie into this rooting and upgrading stuffs on my android phone. Iv rooted, installed custom ROMs etc etc and tinkered with my phone a lot of times. I am also a curious learner. could anyone please tell me what exactly mounting storage, mounting data or mounting cache mean. Iv mounted and unmounted them alot of times going by the guidelines provided for the specific installations. Would be nice if i actually know why i am doing it Also Kindly let me on what actions can be performed or not performed when.they are mounted/ unmounted thank you.
#wannabeDeveloper
if you want to install a custom rom, sometimes a procedure for mounting tell you, it's like you open a permission to install that rom to your device
Sorry for my bad english
Achesh97 said:
I am a newbie into this rooting and upgrading stuffs on my android phone. Iv rooted, installed custom ROMs etc etc and tinkered with my phone a lot of times. I am also a curious learner. could anyone please tell me what exactly mounting storage, mounting data or mounting cache mean. Iv mounted and unmounted them alot of times going by the guidelines provided for the specific installations. Would be nice if i actually know why i am doing it Also Kindly let me on what actions can be performed or not performed when.they are mounted/ unmounted thank you.
#wannabeDeveloper
Click to expand...
Click to collapse
Mounting is the point where you can edit the files in the folder that you mount, it similar to that of mounting drives.
Similarly there are mounting such as when you use root explorers you can mount them as read/write or read only.
A Linux user can explain you in the best way, coz they usually mount their partitions as drives to work on them.
Hit thanks rather than typing it now Free
zipperX said:
if you want to install a custom rom, sometimes a procedure for mounting tell you, it's like you open a permission to install that rom to your device
Sorry for my bad english
Click to expand...
Click to collapse
your English is fine
so everytime you have to perform an update or flashing anything, you have to make sure that all the three are mounted? rigjt?
parkourkarthik said:
Mounting is the point where you can edit the files in the folder that you mount, it similar to that of mounting drives.
Similarly there are mounting such as when you use root explorers you can mount them as read/write or read only.
A Linux user can explain you in the best way, coz they usually mount their partitions as drives to work on them.
Hit thanks rather than typing it
Click to expand...
Click to collapse
Thank You there so whenever i have to flash a zip file or particularly an update, i have to mount everything? and what should be their states before rebooting? like mounted or unmounted?
Achesh97 said:
Thank You there so whenever i have to flash a zip file or particularly an update, i have to mount everything? and what should be their states before rebooting? like mounted or unmounted?
Click to expand...
Click to collapse
No need of mounting everytime you flash.
Mostly the zip files itself contains scripts to mount your partition, they do the job theirself.
In rare cases the developer of the flashable zip file would recommend you to mount the partitions required, in those cases only you need to mount through CWM
Hit thanks rather than typing it now Free
Since i cant yet post in the actual ROM thread i Though i would post here.
Ever since i flashed this ROM, my phone has created a copy of my drive and i can seem to access the original drive without going into the recovery.
It named the emulated drive 0.
When i try and system restore in order to do a clean flash, files carry over from the emulated drive and i cant figure out how to get rid of it. If anyone can help me i would appreciate it.
zepplin139 said:
Since i cant yet post in the actual ROM thread i Though i would post here.
Ever since i flashed this ROM, my phone has created a copy of my drive and i can seem to access the original drive without going into the recovery.
It named the emulated drive 0.
When i try and system restore in order to do a clean flash, files carry over from the emulated drive and i cant figure out how to get rid of it. If anyone can help me i would appreciate it.
Click to expand...
Click to collapse
I hear you bubba, I have wondered what the deal is with the /0, but I've never had any issues whatsoever with it, just have to poke around a bit differently now. I am still interested to know why/what/how though, learning is knowledge.
sammymcalaxy said:
I hear you bubba, I have wondered what the deal is with the /0, but I've never had any issues whatsoever with it, just have to poke around a bit differently now. I am still interested to know why/what/how though, learning is knowledge.
Click to expand...
Click to collapse
only problem is i cant remove the data from the initial drive so i have like 3 gigs left of storage when i could have the full 12 give or take.
I'd format the partitions.... not just wipe; then reflash.
sammymcalaxy said:
I hear you bubba, I have wondered what the deal is with the /0, but I've never had any issues whatsoever with it, just have to poke around a bit differently now. I am still interested to know why/what/how though, learning is knowledge.
Click to expand...
Click to collapse
Learning is knowledge. Mind you, the custom recoveries have newer versions so that part is the only thing that needs updating to today's standards.
So if I go to download the latest twrp (2.3.6.1) do I need to move it to the original SD and flash it from there? If that is the case I have no idea where the original one is. I can't find it in root explorer.
zepplin139 said:
So if I go to download the latest twrp (2.3.6.1) do I need to move it to the original SD and flash it from there? If that is the case I have no idea where the original one is. I can't find it in root explorer.
Click to expand...
Click to collapse
It should download to your Downloads folder if you downloaded it via a browser. If you used GooManager, then it would be in your GooManager folder. What are you using to flash TWRP 2.6.3.1?
SlimSnoopOS said:
It should download to your Downloads folder if you downloaded it via a browser. If you used GooManager, then it would be in your GooManager folder. What are you using to flash TWRP 2.6.3.1?
Click to expand...
Click to collapse
since its a .zip i figured i needed to flash it through my current recovery and then reboot but the downloads folder is in my emulated drive. Basically i cant see the actual drive anymore even in root explorer only the emulated drive and there is like 4 different ones.
zepplin139 said:
since its a .zip i figured i needed to flash it through my current recovery and then reboot but the downloads folder is in my emulated drive. Basically i cant see the actual drive anymore even in root explorer only the emulated drive and there is like 4 different ones.
Click to expand...
Click to collapse
If you're on JB AOSP, then your downloads folder is in /0/sdcard/downloads OR /sdcard0/downloads. Basically, start at /mnt OR /storage and choose "sdcard0" or "sdcard" as the phone interchangeably uses both to refer to internal storage. I'm used to using an IMG file for recoveries, if you don't mind my asking where did you find this TWRP zip from?
SlimSnoopOS said:
If you're on JB AOSP, then your downloads folder is in /0/sdcard/downloads OR /sdcard0/downloads. Basically, start at /mnt OR /storage and choose "sdcard0" or "sdcard" as the phone interchangeably uses both to refer to internal storage. I'm used to using an IMG file for recoveries, if you don't mind my asking where did you find this TWRP zip from?
Click to expand...
Click to collapse
Here is the .zip:
considering i cant post links yet i wont be able to link it too you but it was from the recovery thread in the dev forum.
I can get to that location the "/storage" but when im there i see "/emulated, /sdcard0, /sdcard1, /usbdisk1" .
when i open up /sdcard1 i see nothing and same with /usbdisk0.
/emulated has /0 and /legacy and both of them are identical inside.
but actually as im typing i just found the original sd card.
The path is /mnt/shell/emulated. so i guess thats some progress lol.
Glad you found that. It shouldn't matter, but what file manager are you using? Have you tried connecting to your computer and flipping through everything that way to find it? Ive found that to be a little less convoluted; knowledge is power.
sammymcalaxy said:
Glad you found that. It shouldn't matter, but what file manager are you using? Have you tried connecting to your computer and flipping through everything that way to find it? Ive found that to be a little less convoluted; knowledge is power.
Click to expand...
Click to collapse
Basically the Sd doesnt show up when i use the usb debugging and mtp so i cant access the original Sd from my pc i can only see the emulated drive, which is an issue. but im using root explorer.
Get ES3, open device (the"parent-most" directory) and then select extsd card.
Sent from my SCH-I535 using xda app-developers app
How is possible ? Does anyone knows ? can someone ask cody how to do it ?
LucasSaraiva said:
How is possible ? Does anyone knows ? can someone ask cody how to do it ?
Click to expand...
Click to collapse
You can use the build.prop swapping method you need to add, copy and paste these lines on the build.prop located in /system. And you must be root:
Code:
# Switch External With Internal
persist.sys.vold.switchexternal=1
# Storage configuration
ro.vold.switchablepair=/storage/sdcard0,/storage/sdcard1
And please make me the favor to tell me if it worked. If not just delete those lines and save, so your tablet will come back to normal.
Regards
356394 150
Mord Fustang said:
You can use the build.prop swapping method you need to add, copy and paste these lines on the build.prop located in /system. And you must be root:
Code:
# Switch External With Internal
persist.sys.vold.switchexternal=1
# Storage configuration
ro.vold.switchablepair=/storage/sdcard0,/storage/sdcard1
And please make me the favor to tell me if it worked. If not just delete those lines and save, so your tablet will come back to normal.
Regards
Click to expand...
Click to collapse
Didn't work... Please tell Coby that isn't working ...
LucasSaraiva said:
Didn't work... Please tell Coby that isn't working ...
Click to expand...
Click to collapse
Oh sorry you cant swap anything currently using Android 4.4.
But try to use foodermount or Link2SD for your apps
Mord Fustang said:
Oh sorry you cant swap anything currently using Android 4.4.
But try to use foodermount or Link2SD for your apps
Click to expand...
Click to collapse
Does anyone know other ways ?
LucasSaraiva said:
Does anyone know other ways ?
Click to expand...
Click to collapse
Sadly, none.
Someone tried foldermount?
Android-Andi said:
Someone tried foldermount?
Click to expand...
Click to collapse
no go for me. But, there is always the possibility that I am confused. Will wait for others to try.
CM11 has storage, mount and permissions bugs still to be squashed. Then, and maybe only then will we see a working storage swap. If I ever come across anything, though, I'll let you know
Sent from my GT-P3110 using xda app-developers app
I used foldermount and it works perfectly fine.
Mord Fustang said:
I used foldermount and it works perfectly fine.
Click to expand...
Click to collapse
Then I am in fact an idiot. Will try again and report. Many thanks!
FolderMount
I use FolderMount with next to no issues.
However, it would not automatically move the files when linking folders so I manually moved the files from internal to external THEN linked the folders. After that no problem with those folders except;
DCIM folder link caused my Camera to become unavailable and/or all photos taken were corrupted. Once link was removed all worked normally. Now using Dropbox w/ 50gb and it automatically saves all my photos, so I just removed them fron internal memory after that, freeing up a few gbs