Is there a method to move data in ext2 back to phone memory in my desire? I found some recovery tools allow that. But I don't find any way in clockwork mod.
Thanks for the help.
Make a backup of yours Apps+Data with Titanium Backup, make a backup of FAT32-Partition of the Card. Partition the SD-Card without swap and ext. Reboot the Desire and restore the SD-Card (with USB-Connection) and restore the backups made with Titanium Backup.
Thanks for the info. But Titanium Backup can't restore everything. Is there any other method to move ext2 data back to phone like some other recovery tools able to move ext back to phone.
n
Go into recovery, mount sd-ext and data.
Open an ADB shell and do the following
rm /data/app
rm /data/app-private
rm /data/dalvik-cache
Thats how you delete the links.
mv /sd-ext/app /data/
mv /sd-ext/app-private /data/
mv /sd-ext/dalvik-cache /data/
If it's correct there should be a app, app-private and dalvik-cache dir again, check like this:
ls /data/
Double check if there is still something important left on sd-ext:
ls /sd-ext
If there is a data folder you need to move it to, but I think there were only app, app-private and dalvik-cache.
Turn phone off, remove SD card and put it into your PC to repartition it. If you reboot the phone with SD card still in it will re-setup ap2sd.
By using this command all apps will move back to phone right?
Titanium Backup
I found an option in Titanium Backup allowing for a batch moving of all apps to the internal memory. I used it (because i need to also) and I checked in Settings>Applications>Apps on SD and none were there
mrusheen said:
I found an option in Titanium Backup allowing for a batch moving of all apps to the internal memory. I used it (because i need to also) and I checked in Settings>Applications>Apps on SD and none were there
Click to expand...
Click to collapse
Settings>Applications>Apps on SD only shows Froyo Apps to SD, it doesn't show old A2SD or A2SD+ apps, the phone is tricked into thinking those apps are installed internally
Yes that is the problem. So I want to find a way to reverse it.
My Note II (n7105t) was turned off while i trying to flash a custom rom. After i tried to flash stock rom through Odin, everything works except i can't access (read, write) the internal memory, EFS data is loss. I found down that /sdcard is linked to /storage/sdcard0. If i'm not mistaken, it should point to /data/media. I think that why the i can't read or write to internal memory, and the phone can't see the total memory of the internal memory. When i try to flash Wanam Rom, the efs unexpectedly works again (i can access mobile network and see imei), but still no luck with internal memory. The only way i can write to internal memory is use Root Explorer to mount it as Read&Write. However, other apps (Camera,music) still note able to open (It said not enough memory), due to not able to write and determine the total size i believe. Every data i tried to write to internal memory (it point to /storage/sdcard0) are loss after reboot the phone. So my question is: Is there anyway to point /sdcard to /data/media again.
So what I have gathered is that this phone even with root/cmod/titanium backup doesn't allow me to move apps to my _real_ sdcard. So is it really phone related or is there a way to do it with custom rom/kernel or some other way?
leripe said:
So what I have gathered is that this phone even with root/cmod/titanium backup doesn't allow me to move apps to my _real_ sdcard. So is it really phone related or is there a way to do it with custom rom/kernel or some other way?
Click to expand...
Click to collapse
on stock android 4.2 u could actually use app2sd to move some apps to external storage
using Cyanogenmode 4.3 based Carbon MOD i found that i no longer can do that, tried app2sd and link2sd
i read somewhere that external storage is defined in system PATH variables, dont know how relevant that is but seems connected
but i honestly dont know yet much about the android platform to fix this issue myself, so i might be wrong
we need some pro tip help
Would be very interesting to habe feature. Especially for phones with only 8 GB internal flash. Hope this will come for my s4 Mini. Samsung has this implemented in their stock Rom.
Gesendet von meinem GT-I9195 mit Tapatalk
tesme33 said:
Would be very interesting to habe feature. Especially for phones with only 8 GB internal flash. Hope this will come for my s4 Mini. Samsung has this implemented in their stock Rom.
Gesendet von meinem GT-I9195 mit Tapatalk
Click to expand...
Click to collapse
Yes this would be awesome, but seems that cmod has gone moneymaking company and tries to make cmod to google standards which means they have been starting to remove/hiding features. Their goal now is to make installing cmod without cwm and to remove root or have it as optional feature. Or all this is what I gathered over the net, but I still hope some other custom rom could have this feature.
Edit:
All of the above may not be like that nowadays, and this is somewhat speculation since there hasn't(?) been an official statement from cm about app2sd support. Though emulated sdcard may require something different.
(edited 19.2.2014)
Moving apps to external card.
leripe said:
Yes this would be awesome, but seems that cmod has gone moneymaking company and tries to make cmod to google standards which means they have been starting to remove/hiding features. Their goal now is to make installing cmod without cmw and to remove root or have it as optional feature. Or all this is what I gathered over the net, but I still hope some other custom rom could have this feature. This feature may only need one to repartition the sdcard, but I can't get it to mount as mass storage nor with sdcard reader(it shows "empty" card) in windows(maybe i should try it in linux).
Click to expand...
Click to collapse
About two months ago I upgraded my Xoom to JB 4.2.2, and because space was limited, I hadn't noticed whether I could move operating programs to the external card or not. This was a custom rom. Well, I was using a 32 Gig card that was nearly full of data.
This last week, I invested in a 64 Gig sdhc card and upgraded my rom to Kit-Kat 4.4.2. Thus its also a custom rom, but now I find that though, for the most part, I can designate the external card to store and access data from, I can't run programs from it. Hmm!
Here I am with all this memory. Sure wish I had better management options.
Kingsman1 said:
About two months ago I upgraded my Xoom to JB 4.2.2, and because space was limited, I hadn't noticed whether I could move operating programs to the external card or not. This was a custom rom. Well, I was using a 32 Gig card that was nearly full of data.
This last week, I invested in a 64 Gig sdhc card and upgraded my rom to Kit-Kat 4.4.2. Thus its also a custom rom, but now I find that though, for the most part, I can designate the external card to store and access data from, I can't run programs from it. Hmm!
Here I am with all this memory. Sure wish I had better management options.
Click to expand...
Click to collapse
Well check my thread on my signature and the requests section in the 1st post for more info on about app2sd.
Resolve the issue
Hi all,,,
This is my first time in XDA. Someone fixed this bug for me. You need to be rooted to fix this issue. Install from market Terminal Emulator and type the following commands
su
/system/bin/restorecon -R -v /data/media/
dlightx said:
Hi all,,,
This is my first time in XDA. Someone fixed this bug for me. You need to be rooted to fix this issue. Install from market Terminal Emulator and type the following commands
su
/system/bin/restorecon -R -v /data/media/
Click to expand...
Click to collapse
Can I check with you what bug this fixes?
Ability to use app2sd?
I use FolderMount and works real well. No need to partitioning sd card.
I've gotten to getting Link2SD working on the GT-I9195 with nightly 20140402 KitKat.
Based loosely on [Tutorial/HOWTO] Convert Your External SD Card from FAT/exFAT to EXT4! (3 ways!)
1. Clear everything out of your external SD card. We're gonna be formatting it so you'll have to backup your data.
2. Boot up into recovery and have a working ADB environment setup on your computer
3. adb shell (Do NOT mount your /storage/sdcard1)
5. Check that you have fdisk and mke2fs installed (Type fdisk --help and mke2fs --help ensure they don't throw up errors)
6. fdisk /dev/block/mmcblk1
7. Type o and Enter to destroy the partition table
8. Type n to create a new partition. Make sure its Primary (p). Select first partition and choose how many cylinders you want to allocate to it.
9. Type n to create your second partition. Again, make sure its Primary (p). Leave cylinder allocation blank to use remainder of space by default.
10. Verify partition layout by typing p to show partition layout.
11. Exit fdisk and save changes by typing w
12. mke2fs -t ext4 /dev/block/mmcblk1p1
13. mke2fs -t ext4 /dev/block/mmcblk1p2
14. reboot
15. Once CM has booted up, check if your external storage partition 1 has been mounted. It should be mounted at /mnt/media_rw/sdcard1
16. Try creating a folder in /mnt/media_rw/sdcard1 and /storage/sdcard1 to test if your read/write permissions are correct.
17. Install DiskInfo from playstore to check if your second partition is visible
18. Once done, install Link2SD and select ext4 when prompted to ask what kind of filesystem your 2nd partition is.
19. Reboot after Link2SD installs scripts.
20. Voila!
Let me know if there are any issues. I modified several files while doing this so not sure if any of them affected.
Should #16 not work, try:
1. Going to /system/etc/permissions/platform.xml and adding media_rw group to the element that only has sdcard_r group in it.
2. Typing mount in Terminal Emulator (su) or adb shell and see whether your partitions are mounted. If you're not sure, post the output out here.
Final mount output (filtered with mmcblk1 or sdcard stuff):
Code:
/dev/block/mmcblk1p2 /data/sdext2 ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_i
d=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:33 /mnt/media_rw/sdcard1 ext4 rw,dirsync,context=u:object_r:
sdcard_external:s0,nosuid,nodev,noexec,noatime,data=ordered 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1
023,default_permissions,allow_other 0 0
EDIT 2: *** IMPORTANT!! Do NOT select External in the App2SD option in Link2SD. Otherwise you will not be able to install any apps from the Play Store (Insufficient Storage error)
I use GL to SD on my Slimrom: https://play.google.com/store/apps/details?id=com.slf.ListglApp
It may not have fancy UI like FolderMount or Link2SD, and it slight complex to use. But it works on per app basis, without re-partition too.
Hi leripe !
I have got the same device and ROM like you and i would like to know if you have found a solution to move apps to the sdcard ?
Thank you in advance, regards.
Oijkn said:
Hi leripe !
I have got the same device and ROM like you and i would like to know if you have found a solution to move apps to the sdcard ?
Thank you in advance, regards.
Click to expand...
Click to collapse
If it non system apps, you can use GL to SD as I provide the link already above. It works.
TNCS said:
If it non system apps, you can use GL to SD as I provide the link already above. It works.
Click to expand...
Click to collapse
Hi, i tried your link but this tool don't show all my user app so i can't move them... Have you another tool that can do the job please?
Oijkn said:
Hi, i tried your link but this tool don't show all my user app so i can't move them... Have you another tool that can do the job please?
Click to expand...
Click to collapse
Nope, sorry. I tried this tool and it work so never bother to look for another one.
If GL to SD doesn't have the app you want to move, you can manually link the app and the relevant folder at GL to SD settings. After you linked them, at the main page of apps you can tell it to start to move.
This thread shows up on google for me when trying to figure out why minitool partition wizard doesn't detect my phone at all. The guide I'm following says USB-SDcard reader is required but is that really true?? Surely there is a way to mount the SDcard at a low enough level to partition it without addition hardware?? Even if I have to mount it using TWRP recovery or something I would think it's possible. Anyone know?
Hey guys, I upgraded to a 4.4 ROM from a 4.2 ROM. It looks like all of my previous internal SDcard data has been moved to /storage/emulated. How can I move this data to somewhere I can access it? Liquid Explorer file manager doesn't seem to be able to move the files to /sdcard1. And File Explorer from the app store can't even see these files. Titanium Backup and Gallery can't see any of the files either for the time being.
It looks like the permissions for sdcard0 (the new one created after flash) are drwx------ whereas the permissions for emulated (old data) are drwxrwx--x if that helps.
Also, will restoring my Nandroid for Android 4.2 mess up this data I can't access?
Edit: Tried to restore it and it keeps on failing at /data. Then it freezes. Fml
When I hit wipe data, it freezes as well.
Okay so CWM Recovery v6.0.4.5 still shows my internal data, for example if I hit "Choose zip from /sdcard" but I cannot restore my old Nandroid nor can I wipe data. Something is messed up with the /data/ partition. But my main issue right now is getting that data on the internal SDcard. Can someone help me get this data off the phone. It can access recovery just fine and it shows the files in recovery. When I mount the phone via USB, it only shows me stuff on my External SDcard.
Update: Slowly using adb pull to move all of the contents to my laptop. Now I need to figure out how to fix this mess and get a working device....
Tried to ODIN. Now it's hard bricked. No signs of life. QHSUSB_DLOAD
I have an old HTC One X running Android 5.1 (Pacrom), and TWRP recovery.
I think my dad screwed something up yesterday because the phone literally has NO internal storage. It doesn't exist. The phone just isn't registering the internal storage. I can install apps (due to that partitioning) but I can't take pictures, download files, etc.
I need to fix this within the next couple days, as my brother needs this phone.
What do I do? I'm not sure if ADB is working yet — but will that work with the lack of a storage folder?
In the TWRP File browser, there's no /storage or /sdcard but in the phone file browser, there is. It just can't be used. I can't mount storage either.
Any advice?
Maybe try formatting all partitions in TWRP?
If you haven't fixed yet.
dylankxs said:
I have an old HTC One X running Android 5.1 (Pacrom), and TWRP recovery.
I think my dad screwed something up yesterday because the phone literally has NO internal storage. It doesn't exist. The phone just isn't registering the internal storage. I can install apps (due to that partitioning) but I can't take pictures, download files, etc.
I need to fix this within the next couple days, as my brother needs this phone.
What do I do? I'm not sure if ADB is working yet — but will that work with the lack of a storage folder?
In the TWRP File browser, there's no /storage or /sdcard but in the phone file browser, there is. It just can't be used. I can't mount storage either.
Any advice?
Click to expand...
Click to collapse
Is your phone new layout?
If not then format everything and you are good to go