Samsung S2 Cyanogen12 storage disappeared - Galaxy S II Q&A, Help & Troubleshooting

Hello
And thanks for Cyanogenmod 12 to S2 didn't really expect that I was running 11 for most of the time
I have downloaded Cyanogen12 and Gapps the very mini one for it because there is enough storage I have been getting
Formatted cache , wiped data and wiped calvik
Installed Cyan12 and Gapps mini and booted into Cyanogen everything is fine except one problem which is I can't mount my internal storage
I can't open Gallery nor files nothing
The file explorer gives me sdcard0 a secure storage and has a password :/
I saw someone posting that I should flash the ROM without the sdcard but what does that help? and from where can I flash it if the sdcard is not present and I can't use the internal sdcard..
I've tried this :
Download this mini-sdk package and extract it to c:\mini-sdk
Connect your device to the PC
Start up the device normally, wait until system is fully loaded
Open a command prompt on the PC (cmd.exe), type and confirm each command with ENTER:
cd /d c:\mini-sdk
adb shell
su
restorecon -FR /data/media/0
exit
Click to expand...
Click to collapse
but didn't help
If someone can help I would appreciate it.

which version you use? http://forum.xda-developers.com/galaxy-s2/development/rom-cyanogenmod-12-1-t3185406 - works fine for me

It seems that flashing CM12 corrupted the partition for some reason I don't know what it is.
I've flashed CM11 back to get CWR back.. formatted sdcard0 , mounted it , flashed CM12 and it worked charm
And for some reason I thought I was posting in CM forum in the first post
Thanks.

Related

[Q] P7510 Total Reset and reformat sdcard

Hi Folks,
I'm running CM10.1 Nightly on my P7510. Because I've just been using the update feature and not reading the forums regularly I've only just found out about the new file structure on the built-in sdcard.
I'm looking for a wiki or website that will help me.
Here's what I want to do.
Update to latest CWM 6.0.2.7.
Totally reformat tablet inc sdcard
Reinstall latest CM10.1 with wingray gapps
If someone could point me in the right direction :fingers-crossed: It's how to format the sdcard without screwing things up that's worrying me.
Ok I've flashed 6.0.2.7 using Odin.
Any help on the other bits ?
gibbylinks said:
Ok I've flashed 6.0.2.7 using Odin.
Any help on the other bits ?
Click to expand...
Click to collapse
in CWM, format /system, flash rom and then flash wingray gapps.
if you want to delete your userdata (setup tab again in OS), wipe (in CWM).
if you want to remove everything on the internal sdcard:
while in recovery:
adb shell
mount /data
cd /data/media/
rm -rf .* * 2>&-
you can also pull files off prior to removal.
from your local host:
adb pull /PATH/TO/FILE/FILE .
Thanks
I only want to format the internal memory because JB restructured it. If I wipe the internal memory will the folders be recreated on boot ?
gibbylinks said:
Thanks
I only want to format the internal memory because JB restructured it. If I wipe the internal memory will the folders be recreated on boot ?
Click to expand...
Click to collapse
empty folders will be re-created on fresh boot the same as it was (/0/..., obb, legacy).
pershoot said:
empty folders will be re-created on fresh boot the same as it was (/0/..., obb, legacy).
Click to expand...
Click to collapse
after you are done in recovery with /data (while in adb shell):
cd / && umount /data

[Q] stuck in cwm

i yesterday install a new rom to my rooted s3(intl) today i try to reboot another rom i was stuck in cwm recovery...i wanted to install another rom from my sd card. but it says cant find any file in sdcard.... i cant back restore cz i dnt have back up file in phone as i moved my back up to laptop...when i search abt thz i found out this hapn because my sd card having some issue.
You most probably have an unpartitioned sdcard, clockworkmod however assumes that is partitioned and wants to mount the first partition (/dev/block/mmcblk0p1).
You can fix this by repartitioning your sdcard so that it has a mountable fat-formatted first volume and then retry.
If you don't mind using the commandline, boot to recovery and connect via adb shell to it, then mount your sdcard manually: mount /dev/block/mmcblk0 /sdcard and retry.
Technical explanation:
cat /proc/partitions lists:
/dev/block/mmcblk0 is your FAT formatted volume (no more partitions at all)
should be:
/dev/block/mmcblk0 (whole device)
/dev/block/mmcblk0p1 (1st partition, FAT formatted)
/dev/block/mmcblk0p2 (sd-ext partition, only for those that use SD2ext and such)
im new to rooting and these stuffs plz explain what is adb shell and how i can mount my sd card....
btw i also tried factory reset it didnt wrk too....i dnt want any files i just want my phone back cz i badly need it....plz help me on this guys :crying: plzzz :crying:
In cwm under mounts and storage there should be the option to format sd card...
Adb is android debugging, it's used to connect to, pull/push files, get logs and more from your phone using a terminal or command prompt window.
http://developer.android.com/tools/help/adb.html this site shows the adb commands available including shell which is connecting to your phone via the terminal to allow you to enter commands.
Also maybe try mount USB storage through cwm and see if you can connect you phone to your pc and transfer the files needed.
If I helped you in some way, take a second to hit the Thanks button.

Mounting tf201 to transfer files from Windows in Voyager's 2.6.3 Recovery....

OK so I've tried everything I know. I was on PACMan ROM on the 03102013 version and wanted to try the newest nightly of 28011014. I wanted to do a clean install but I wanted to update my twrp first. I did that through fastboot.
Once I got that all done I tried to install the ROM from my microsd but twrp doesn't recognize it. I tried mounting my tablet to windows to copy ROM to internal storage and was unable to do. What do I need to do to get twrp to recognize both?
Please help as I really would like my tablet back. Thanks!
alias4ever said:
OK so I've tried everything I know. I was on PACMan ROM on the 03102013 version and wanted to try the newest nightly of 28011014. I wanted to do a clean install but I wanted to update my twrp first. I did that through fastboot.
Once I got that all done I tried to install the ROM from my microsd but twrp doesn't recognize it. I tried mounting my tablet to windows to copy ROM to internal storage and was unable to do. What do I need to do to get twrp to recognize both?
Please help as I really would like my tablet back. Thanks!
Click to expand...
Click to collapse
Is it just the sdcard that can't be mounted? Look in mounts in twrp and if you can't mount system, data etc also then you have flashed the wrong twrp for your bootloader.
If you can mount all the others then TWRP doesn't like that sdcard, it has different drivers to the actual OS. Try using a small one if fat32.
If the small fat32 one doesn't work then you can adb push the rom onto the device and install it from there.
flumpster said:
Is it just the sdcard that can't be mounted? Look in mounts in twrp and if you can't mount system, data etc also then you have flashed the wrong twrp for your bootloader.
If you can mount all the others then TWRP doesn't like that sdcard, it has different drivers to the actual OS. Try using a small one if fat32.
If the small fat32 one doesn't work then you can adb push the rom onto the device and install it from there.
Click to expand...
Click to collapse
Thanks for the help. :good: When I got into mounts I have the Select Partitions to Mount:
System
Cache
Data
Micro SDCard
SD-Ext
I am able to check System, Cache, and Data but I can't check Micro or SD-Ext. When I click on the Storage: Internal Storage (27361 MB) on the right it asks to Select Storage and shows Internal or Micro. From here I can't select Micro SDcard.
My card is a 64GB SanDisk Class 10 that I have been using for my Prime for the past 8-10 months. I put the ROM and Gapps on the MicroSD card. It is formatted in FAT32 through Windows.
Edit: How can I get my tablet to show up in Windows so I can transfer the necessary files to my Internal Storage and install them that way? I hear the noise when I plug in my tablet but it will not show up in my Windows. Using Windows 7 64-bit.
alias4ever said:
Thanks for the help. :good: When I got into mounts I have the Select Partitions to Mount:
System
Cache
Data
Micro SDCard
SD-Ext
I am able to check System, Cache, and Data but I can't check Micro or SD-Ext. When I click on the Storage: Internal Storage (27361 MB) on the right it asks to Select Storage and shows Internal or Micro. From here I can't select Micro SDcard.
My card is a 64GB SanDisk Class 10 that I have been using for my Prime for the past 8-10 months. I put the ROM and Gapps on the MicroSD card. It is formatted in FAT32 through Windows.
Edit: How can I get my tablet to show up in Windows so I can transfer the necessary files to my Internal Storage and install them that way? I hear the noise when I plug in my tablet but it will not show up in my Windows. Using Windows 7 64-bit.
Click to expand...
Click to collapse
Some later versions of TWRP had problems with big cards. Try a small one first formatted in fat32.
flumpster said:
Some later versions of TWRP had problems with big cards. Try a small one first formatted in fat32.
Click to expand...
Click to collapse
Would a 32gb be too small as it is the only size I have other than my 64gb as I use it for my phone. Thanks!
I was able to use adb push to get the ROM and GAPPS onto my device. I just went into cmd (command) on my windows and typed in the following:
cd android\sdk\platform-tools (where my adpush was located)
Then typed:
adb push c:\pac_tf201-nightly-20140128.zip /sdcard/ (I put my ROM onto my C: drive
adb push c:\gapps-jb-20130813-signed.zip /sdcard/ for GAPPS.
It worked as I now have both ROM and GAPPS in my Internal Storage. Thank you SO MUCH Flumpster for all your help I really do appreciate it. :good:
Last question will the TWRP 2.6.3.0 Voyager recovery show up my TF201 on Windows so that I can transfer files that way or is that not possible?
alias4ever said:
I was able to use adb push to get the ROM and GAPPS onto my device. I just went into cmd (command) on my windows and typed in the following:
cd android\sdk\platform-tools (where my adpush was located)
Then typed:
adb push c:\pac_tf201-nightly-20140128.zip /sdcard/ (I put my ROM onto my C: drive
adb push c:\gapps-jb-20130813-signed.zip /sdcard/ for GAPPS.
It worked as I now have both ROM and GAPPS in my Internal Storage. Thank you SO MUCH Flumpster for all your help I really do appreciate it. :good:
Last question will the TWRP 2.6.3.0 Voyager recovery show up my TF201 on Windows so that I can transfer files that way or is that not possible?
Click to expand...
Click to collapse
It wont show up like it does when you are in Android but you are still free to use adb to throw files over to any folder like you did with the zips.
If you don't like typing commands there are apps out there to help you. When I just did a quick google I found one I have never seen before but it looks cool.
http://forum.xda-developers.com/showthread.php?t=1057059
If that don't work get another.

[HELP] Can't mound /emmc in Philz recovery

SOLVED! See 2nd Post
Hi,
Galaxy S II 16GB 2.5 Years old.
I friend came to me with a problem : Waze can't start because it complains no access to sdcard (internal, no external present)
A bit fiddling and I see /storage/sdcard0 is mounted as RO!
I remount as RW, and I can now start waze, but as soon as I use the phone further, the mount reverts to RO.
I try to format it via recovery (philz) but it fails deleted odd named files in DCIM/Camera/cache.
So I try to delete the files myself but it fails.
Next up, I mount usb storage in recovery, and run windows Checkdisk, it finishes while fixing some stuff, the format still doesn't work.
Eventually using Minitool I am able to format it. BUT, now, when I boot android, it says the internal storage is damange, and attempt to format it via Android fails always.
Still, when I boot into philz, and mount usb storage, i can browse it via my W7 PC, copy and delete files freely. So I guess something is not mounted or formatted correctly. I decide to reinstall stock rom with Odin + repartition.
So I take pit file from a thread that aims to increase /data at the expense of internal storage, and I find the stock pit there and use it.
Rom flashes fully, but sdcard still not working.
What I want to do is :
Boot into Recovery and use Android commands to properly mount/map this so the phone recognizes it.
I have linux knowledge, I know how to get around a linux shell and use VI and permissions etc. I also messed sometimes with fstab on a pc to set up mount points, so I am not a complete stranger. I am rooted and need help
Any help would be appreciated.
So, I searched the net for quite a few hours, and found this post :
http://forums.whirlpool.net.au/forum-replies.cfm?t=2147315&p=-1&#bottom
Which solved my problem
I registered on that forum to thank the dude!
This command solve my problem :
newfs_msdos /dev/block/vold/259:3
I knew it will work the moment I saw the 259:3 which I saw in logcat that android cannot format.
Good work finding a fix yourself Hopefully other people in the same situation will find it useful

Can´t mount any Partition in Recovery Mode

Hi!
Yesterday i got my wifes old S3 because she has an S5 now.
As Android 4.3 Original FW was installed i´ve rooted the phone using Odin 3.09 and CF-Autoroot which worked flawless.
Then i´ve flashed TWRP Recovery (newest version) using also Odin.
So everything is working well but i can´t mount any partitions in the recovery to connect the phone via usb and push roms or other data to it.
I get the following error message: Unable to find storage partition to mount USB
I´ve tried CWMTouch and TWRP - both are not able to mount any partition.
Plz does some1 have a conclusion for my problem?
Thx in advance!
b0mb
Can you reboot to system?
rp158 said:
Can you reboot to system?
Click to expand...
Click to collapse
Yes!
Everyhting is working fine but i can´t mount the internal sd card for xmpl to move a rom file to flash via usb to the phone
You wrote first: can't mount any partitition. Now it's only sdcard0. Can you write to sdcard0 and extSdCard within the running system, fe downloading from internet?
rp158 said:
You wrote first: can't mount any partitition. Now it's only sdcard0. Can you write to sdcard0 and extSdCard within the running system, fe downloading from internet?
Click to expand...
Click to collapse
i can´t mount any partition in recovery but i only need the internal sd card for flashing roms and some other stuff...
when the rom is booted i can write to internal sd card without any problem
as i don´t own an external card i can´t test this...
If there aren't any important data on sdcard0:
try in TWRP fix permissions and wipe internal storage.
rp158 said:
If there aren't any important data on sdcard0:
try in TWRP fix permissions and wipe internal storage.
Click to expand...
Click to collapse
but when i wipe internal storage i might get problems i think ...
Make a backup.
If your system is ok, you only loose temporary files in /Android and TWRP-settings in /TWRP. And in daily use, downloads, photos... of course.
I´ve tried to push a rom now via adb and twrp sideload option but windows doesn´t recognize the device
adb usb
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
Edit:
Meanwhile i´ve flashed a 3 part stock rom using odin and i´ve also re-partioned but still the same problem
wicked!

Categories

Resources