[Q] data folder reverts with restart or remount. No permanent uninstalls. - Samsung Galaxy SL i9003

I was using XXKPQ Gingerbread. Soon my phone started restarting and giving errors.
When I use ODIN I can put new files in to system folders. I installed XXKPE and clockworkmod, then I used adb remount, adb shell to delete everything under data/data, data/app, sdcard, sd-ext. When I do ls it said folders were empty but after restart everything came back!
Is there a way to mount a file system as a volatile memory? It accepts all the changes I say but it reverts back when unmounted and remounted. I thought it might be permission problem but fix_permissions script does not solve it. Also I heard 0 available memory bugs in the forums but my case is not that either.
On recovery menu, I used clockworkmod options to mount the data folder, I erased everything in it via adb shell, and without restarting I unmounted and mounted again using CWM, the files were there again in adb shell!
Since there are files under data/data and data/app folders, I get crashes of those applications all the time when I try to use the phone. If I install the same application from market it works fine but after restart it reverts back to crashing.

snlzkn said:
I was using XXKPQ Gingerbread. Soon my phone started restarting and giving errors.
When I use ODIN I can put new files in to system folders. I installed XXKPE and clockworkmod, then I used adb remount, adb shell to delete everything under data/data, data/app, sdcard, sd-ext. When I do ls it said folders were empty but after restart everything came back!
Is there a way to mount a file system as a volatile memory? It accepts all the changes I say but it reverts back when unmounted and remounted. I thought it might be permission problem but fix_permissions script does not solve it. Also I heard 0 available memory bugs in the forums but my case is not that either.
On recovery menu, I used clockworkmod options to mount the data folder, I erased everything in it via adb shell, and without restarting I unmounted and mounted again using CWM, the files were there again in adb shell!
Since there are files under data/data and data/app folders, I get crashes of those applications all the time when I try to use the phone. If I install the same application from market it works fine but after restart it reverts back to crashing.
Click to expand...
Click to collapse
Exists even after xxkpe + pit flash?
Try converting to ext4 and formatting and then flash xxkpe + pit.
Having read many such issues now, it seems its MoBo issue. Search around a bit. From what i have read, probably service center's the only one who would be able to help you now.

Try VurrutRom , when you install it the rom exchange the internal sd with the external sd.
you will see that your /data folder is now in the external sd. I hope this fix your problem.

@ggclanlord: This phone had motherboard issues before but this looks more like a protection to me. No matter which rom I install the applications and their settings just stay there. I might try ext4 later as well.
reivaj20 said:
Try VurrutRom , when you install it the rom exchange the internal sd with the external sd.
you will see that your /data folder is now in the external sd. I hope this fix your problem.
Click to expand...
Click to collapse
How do I change the internal sd with external sd? I have found this but it does not say it needs to be Vurrut. Is it somehow easier with Vurrut?
http://forum.xda-developers.com/showthread.php?t=1088474

First of all, why are you trying to clear any partition manually ?
Second, /data is a separate partition altogether neither on internal sd nor external.
Flash a full xxkpe with pit and re-partitioned checked. Then flash CF-root. Your phone should return to normal.
Generally you should not need to manually format partition ever but in case you need there are options under Advanced in CWM.
Hope it helps!
Good luck !

Related

Tried apps to SD now phone wont boot!

I was trying to install my apps to my sd card today and now my phone wont reboot. This is what went down. I partitioned my 4g micro sd card, or so i thought. I used Paragon and it gave me an error after reboot;
invalid partition data- partition control blocks information incompatible"
So I restarted my computer. I checked on my phone and it showed i only had 3 gigs available. The partition i made was for 1, so i figured what the hell. It did work. I checked in Paragon and it showed the two partitions. Anyway, i proceeded to input the prompts in adb and it connected, but the second cmd wouldnt work $ mkdir /backup. I went ahead and followed the rest of the commands. At $ adb shell reboot the phone of course rebooted.
I didnt finish the last two commands but accidently restarted my phone. Now it hangs at the G1 screen. rooted g1 by the way.
I have wiped the data and cache, but of course that will do nothing in this case. So it does get me to that screen. I can also hold the camera and power and see my skating androids. But how do i get my phone to boot back up?
At the recovery utility using Alt X to get to console gives me a # prompt.
Help would be greatly appreciated guys, i dont have another phone haha!
Thanks
I'm guessing what you means by "I didnt finish the last two commands but accidently restarted my phone." is that you weren't able to do the "ln -s /system/sd/app /data/app"? If so then at that # prompt, you need to type those very same commands,
Code:
ln -s /system/sd/app /data/app
reboot
hopefully will work after that
Nope. Thats a no go. However, i decided to throw the update back onto my sdcard via sdcard reader. I put the sd card back in and its about done updating back to rc33. I'll report. Seems good so far.
Its all good!
Thanks
you wiped data and that symbolic link is still there?
I wiped my phone and want to redo the app to sd process, but the apps are still on my sd card ext2 partition is there a way I can restore those apps after a wipe or do I have to wipe the ext2 partition and just start over, if so how would I go about doing so.
Joeriginal said:
I wiped my phone and want to redo the app to sd process, but the apps are still on my sd card ext2 partition is there a way I can restore those apps after a wipe or do I have to wipe the ext2 partition and just start over, if so how would I go about doing so.
Click to expand...
Click to collapse
You've done accidentally what I did intentionally.
I moved apps and data over to the SD ext2 partition, then intentionally wiped the phone to start as fresh as possible.
I thought all I needed to do was recreate the symlinks with:
Code:
ln -s /system/sd/app /data/app
ln -s /system/sd/data /data/data
reboot
That should have worked, but didn't. Maybe you'll have better luck than I did.
I was using the LucidREM mod of the JF1.42 firmware which comes with scripts for moving the data and apps.
If you aren't using this version, you'll need repeat the whole manual process of modifying the mount.d and init.rc files so you can see the /system/sd partition on the card.
If you are, you can use the copy.sh undoapps and copy.sh undodata commands and that will put everything back on your phone. At that point it should be exactly as it was before.
If successful, you can try moving everything back either with the Market app, or one of the other scripts floating around on here....
For what it's worth, I never could get things to work when I moved /data/data.....I've had to keep that on my phone and just move the apps. Others seem to have more success moving both without issue.
Joeriginal said:
I wiped my phone and want to redo the app to sd process, but the apps are still on my sd card ext2 partition is there a way I can restore those apps after a wipe or do I have to wipe the ext2 partition and just start over, if so how would I go about doing so.
Click to expand...
Click to collapse
I can give you the code to do it, or you can just use my app that runs the same commands I'd give you. If you use the app just uncheck the checkbox before pressing the move apps to sd button. If you want to go the code route, follow my tutorial starting from the recovery terminal part.
EDIT: oh and 4phantomii: did you just do that code or did you rm -r /data/data and rm -r /data/app first? If you didn't remove the directories first I have no idea what that would do but it seems like it'd make a symlink INSIDE the /data/app and /data/data rather than making them the symlinks.

[Q] Writing to interal sdcard flash (/mnt/sdcard) galaxy s i9000 not possibe

Hello !
I have a big problem with my galaxy s.
Since January i am working with my JPY firmware quiete fine. On sunday the phone rebooted without anything done by me. Afterwards my homescreen was empty.
Most of my apps are not working now. So i have done a wipe. Nothing, the same. Interesting is, that all my data was still on the device. Then i try to format the internal sd. Not working, no error message. When I delete all files and deinstalled all apps, everthing was gone. After a reboot all data is back on the internal sd as before.
OK then i tried to flash different 1 and 3 file firmware versions with odin(also with repartitioning). But no version is really working and i never get to the homescreen. So I flashed the JPY back. Then everything is like before my first steps. All data is on the phone, i can not delete anything.
I tried do delete the storage also with recovery mode. Nothing.
I tried with adb (android sdk), deleted all files in /mnt/sdcard. After a remount all data appears back.
What can i do to get my phone working ? I have found no possibility so far.
Thanks in advance for your help!
Frederik
Fred001 said:
Hello !
I have a big problem with my galaxy s.
Since January i am working with my JPY firmware quiete fine. On sunday the phone rebooted without anything done by me. Afterwards my homescreen was empty.
Most of my apps are not working now. So i have done a wipe. Nothing, the same. Interesting is, that all my data was still on the device. Then i try to format the internal sd. Not working, no error message. When I delete all files and deinstalled all apps, everthing was gone. After a reboot all data is back on the internal sd as before.
OK then i tried to flash different 1 and 3 file firmware versions with odin(also with repartitioning). But no version is really working and i never get to the homescreen. So I flashed the JPY back. Then everything is like before my first steps. All data is on the phone, i can not delete anything.
I tried do delete the storage also with recovery mode. Nothing.
I tried with adb (android sdk), deleted all files in /mnt/sdcard. After a remount all data appears back.
What can i do to get my phone working ? I have found no possibility so far.
Thanks in advance for your help!
Frederik
Click to expand...
Click to collapse
try to update it using kies or if u have latest version then try flash your device using odn flasher
Thanks for your help harmandeep45. But all this is already done. I worked on this issue little longer and can say that there is some unrepairable problem with the internal sd. I can not delete any partition neither with adb (parted /dev/block/mmcblk0p1 rm). When I do a print everything is there. I am able to mount and unmount the partitions. No problem. But it is not possible to reorganize them. Even if i write on the sdcard partition, after a remount it is as before the write. Maybe the flash memory is broken. Does anybody had the same issue? I already tried the things written in this post, but without luck : http://forum.xda-developers.com/archive/index.php/t-845708.html
I have the same problem, i had installed another firmware on my sgs and start throwing me program errors I had before in my other firmware and when it comes to memory I saw that the folders that were there had not cleared and when I trying to delete the folders and files reappeared.
Ok, what i have tested is to flash different firmware versions. Nothing worked. I used the debug console adb to log in and tried to delete the partitions from /dev/block/mmcblk0 with parted. Nothing happens. I am not able to delete them. I don't want to send the phone to the samsung service, because there is important company data on it, like emails, banking, ebay, etc. I tried to mount it in Linux as usb memory device and used gpartet to create new partitions and overwrite all with dd if=/dev/zero of=/dev/sdb1, but after reboot everything was like before. Is there any other possibility to delete the flash???
Fred001 said:
Ok, what i have tested is to flash different firmware versions. Nothing worked. I used the debug console adb to log in and tried to delete the partitions from /dev/block/mmcblk0 with parted. Nothing happens. I am not able to delete them. I don't want to send the phone to the samsung service, because there is important company data on it, like emails, banking, ebay, etc. I tried to mount it in Linux as usb memory device and used gpartet to create new partitions and overwrite all with dd if=/dev/zero of=/dev/sdb1, but after reboot everything was like before. Is there any other possibility to delete the flash???
Click to expand...
Click to collapse
you have to flash it with jtag box riff, but I doubt you have one, you have to find a place where they have the box

HELP No internal SD found

I have been having reboots lately and now I cannot access my internal SD nor is it found when I plug the device into the computer. ADB reboot recovery just reboots the device. No SD card found when trying to view storage settings, gallery, or ROM manager. Not sure how to fix this and looking for some guidance. Thanks.
It looks like you can boot in to android, use a file manager that can go up to root and see if theres anything in /data/media/. If there is then your internal SD data should still be there.
Did you happen to try a new rom or something before this occured? I recently had a rom remap my mount from /sdcard/ to /storage/sdcard0/, see if anything's there.
If it is the case that it was remounted, flashing superwipe LITE should be able to get the filesystem remapped properly. The LITE version will wipe everything except for /data/media, which is where your sdcard data is as that was the original mapping.
This is indeed the case. I have all my files in the data/media and I was remapped to storage/sdcard0. Where do I get super wipe LITE? I can't boot into my recovery so how do I flash something? Presumably I will need to use adb.
Sent from my Galaxy Nexus

[Resolved] Phone unable to use internal SD

I just has my USCC Galaxy S3 replaced under warranty. To save my internal SD files, I used an ADB pull /storage/sdcard0 in recovery. When I got the new phone rooted and CM10 installed, I booted to recovery and used an ADB push to restore the files. The files all ended back on the SD card, but now my apps cannot write to the folders on the SD card. The permissions are set to 644, and I cannot change them. I have tried with chmod and through file managers to change to 777, and although they claim success, the permissions stay 644. I'm unsure where to go from here, but I really would like to keep these files on my device. Any ideas on how to fix these permissions? Thanks!
Try copying/moving files around using the phone's file manager, & see if the changes stick. Also try "adb shell" -> "su", and change permissions that way, & see if it sticks.
Make sure you have an updated busybox.
Well, I tried moving them with file manager, su and updated busybox, changing permissions, and then I finally decided to go into recovery, pull, and format /sdcard. Once I did that, my apps were able to use the card again. I then was able to copy over the files via usb mount to windows. This seems to be working so far.
Thanks!

How to fix /mnt/local shows empty?

Hello, i have a problem with the internal storage of my android tablet, basically i installed a custom rom a while back but the wifi didn't work on it so i decided to go back in CWM and wipe data, cache + dalvik cache and /system, after that i restored my backup and everything went good (app installs fine from playstore and they work) but i can't see my internal storage on the integrated file manager or even from my pc, it just shows my sd card, the folder where the internal storage was is /mnt/local and now when i go there even with adb it shows empy, so with adb i went to /data/media and i tried this command i found on the internet :
mount -o bind /mnt/local /data/media
but it didn't work i still don't see anything in my /mnt/local dir
(and now after using that i don't see anything in my /data/media either)
my device is running Android 4.0.3 ICS and it is rooted, i also tried to restoring my backup again but i still have the same issue :/, before installing the rom i also created an image zip from the recovery just for safety but now im stuck as the only thing i found on the internet was one video of one person that just factory reset his phone and it worked again for him but for me it didn't, here is the video i saw, which has the same problem as me:
Thanks for the help.
Ok i fixed my /data/media directory by using umount /mnt/local, now if i do ls in /data/media via ADB all files show again but still no internal memory on file manager.
bump
bump
hello? can anyone help me please?
jonnyprogamer said:
hello? can anyone help me please?
Click to expand...
Click to collapse
hey again!did you try a different file manager?
notnoelchannel said:
hey again!did you try a different file manager?
Click to expand...
Click to collapse
yes i did, i tried zarchiver but it shows empty, and when i connect the tablet to pc it only shows one drive named "Sd Card" when before it showed "Sd Card" and "Internal Storage" folder, i think that by restoring the stock rom the mnt/local got unmounted

Categories

Resources