Ext_sd - Samsung Epic 4G Touch

Is there any way to make my external sdcard mount in my phone as /sdcard? Right now its mounted as /sdcard/ext_sd and its conflicting with my setup I use. Just wondering if anyone could help me out, thanks.
Sent from my SPH-D710 using xda premium

That's because /sdcard is the phones internal sd card for you to use. I'm not sure if there's somehow a way to change it how you want, but I don't really see the point.
Sent from my SPH-D710 using Tapatalk

You might want to check here if you haven't already:
http://forum.xda-developers.com/showthread.php?t=1410262

&roid said:
You might want to check here if you haven't already:
http://forum.xda-developers.com/showthread.php?t=1410262
Click to expand...
Click to collapse
Thanks looks like exactly what I was looking for!
edit: this is more like what I was hoping for... http://www.theandroidsoul.com/use-external-sd-card-as-internal-memory-on-droid-razr/ & http://androidforums.com/esteem-all-things-root/484195-switch-internal-memory-external-memory.html
Any devs here wanna make 1 for our phone?
Sent from my SPH-D710 using xda premium

I wonder what happens if you just swap
Code:
export EXTERNAL_STORAGE /mnt/sdcard
export EXTERNAL_STORAGE2 /mnt/sdcard/external_sd
to
Code:
export EXTERNAL_STORAGE2 /mnt/sdcard
export EXTERNAL_STORAGE /mnt/sdcard/external_sd
in /init.rc, if you have root (I don't have root yet, so I can't try it).

^worth a shot ill give it a try and report back.
Sent from my LG-P999 using xda premium

arpruss said:
I wonder what happens if you just swap
Code:
export EXTERNAL_STORAGE /mnt/sdcard
export EXTERNAL_STORAGE2 /mnt/sdcard/external_sd
to
Code:
export EXTERNAL_STORAGE2 /mnt/sdcard
export EXTERNAL_STORAGE /mnt/sdcard/external_sd
in /init.rc, if you have root (I don't have root yet, so I can't try it).
Click to expand...
Click to collapse
Ok tried it but it seems to reset to default on reboot, thanks for the suggestion tho.
before reboot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
after reboot
Sent from my SPH-D710 using xda premium

d12unk13astard said:
Is there any way to make my external sdcard mount in my phone as /sdcard? Right now its mounted as /sdcard/ext_sd and its conflicting with my setup I use. Just wondering if anyone could help me out, thanks.
Click to expand...
Click to collapse
What is the conflict you are trying to resolve? Is it for specific apps or do you really need the entire internal and external SDs swapped.

sfhub said:
What is the conflict you are trying to resolve? Is it for specific apps or do you really need the entire internal and external SDs swapped.
Click to expand...
Click to collapse
Ya i need to swap internal sd with external sd, i cant get Link2SD to see my 2nd partition (ext2) becuase of the way its being mounted as /sdcard/external_sd. Link2sd can only read from /mnt/scard

You can probably play with
/system/etc/vold.conf
and
/system/etc/vold.fstab
to accomplish what you want. I don't have the time to experiment and make sure the settings are correct right now, so just backup the files and make the obvious changes. Be prepared you might not make the right changes initially so assume your sdcard will be inaccessible. That means back everything up and make a nandroid backup too. Also backup the vold.* files before you start messing with them.
---------- Post added at 09:16 PM ---------- Previous post was at 09:01 PM ----------
BTW are you sure link2sd cannot be configured to use /sdcard/external_sd?
Specifically I read this blurb in the features:
http://forum.xda-developers.com/showthread.php?t=919326
- changed the method for determining external storage to support devices that have more than one external storage (MMC and SD)
Click to expand...
Click to collapse

sfhub said:
You can probably play with
/system/etc/vold.conf
and
/system/etc/vold.fstab
to accomplish what you want. I don't have the time to experiment and make sure the settings are correct right now, so just backup the files and make the obvious changes. Be prepared you might not make the right changes initially so assume your sdcard will be inaccessible. That means back everything up and make a nandroid backup too. Also backup the vold.* files before you start messing with them.
---------- Post added at 09:16 PM ---------- Previous post was at 09:01 PM ----------
BTW are you sure link2sd cannot be configured to use /sdcard/external_sd?
Specifically I read this blurb in the features:
http://forum.xda-developers.com/showthread.php?t=919326
Click to expand...
Click to collapse
Thanks again for all your continued help sfhub i will look into your comment and see if i can get this accomplished, well i do have the latest Link2Sd app but i don't see any option to search for my external sd card partition, unless it's doing it automatically .. it's still failing to see it.

d12unk13astard said:
Ok tried it but it seems to reset to default on reboot, thanks for the suggestion tho.
Click to expand...
Click to collapse
I don't have root yet--I want to make sure I'm safe with respect to warranty before I root--so I can't check, but you might want to look around and see if there is another copy of init.rc somewhere else on the device which gets copied to / on boot.
One could maybe try setting /init.rc to read-only (chmod 555 /init.rc), though that might be risky (maybe it will cause the boot to fail if it tries to overwrite it and fails)? (Don't complain if it bricks.)

arpruss said:
I don't have root yet--I want to make sure I'm safe with respect to warranty before I root--so I can't check, but you might want to look around and see if there is another copy of init.rc somewhere else on the device which gets copied to / on boot.
One could maybe try setting /init.rc to read-only (chmod 555 /init.rc), though that might be risky (maybe it will cause the boot to fail if it tries to overwrite it and fails)? (Don't complain if it bricks.)
Click to expand...
Click to collapse
Ya dont think ill try that lol
Sent from my SPH-D710 using xda premium

I ended up just screwing up my phone's mount points and had to reformat and flash blazer rom, i'm all good but don't think im gonna be messing with it anymore, i just wish it wouldnt be soo complicated to get what i needed done. Was never a problem with older phones, but with samsungs way of partitioning the phone to have internal mount as /sdcard screws with my setup i used with every phone before this one fml :lol:
I know your extremely busy sfhub and i appreciate all your help you have given me already, but do you think when u get some free time you can integrate this into your 1 click flashing tool to swap mount points like what is done in this link http://androidforums.com/esteem-all-things-root/484195-switch-internal-memory-external-memory.html for our phones.
Edit: I know its more than likely a brick factor messing with this stuff, so if you think its not a good idea to do it I would understand.

Related

Download to External SD Card

How do I make my external SD card the default download place? I am using Dolphin Browser and it always saves it to my internal SD card.... any one have this issue?
Jess813 said:
How do make my external SD card the default download place? I am using Dolphin Browser and it always saves it to my internal SD card.... any one have this issue?
Click to expand...
Click to collapse
I have never really noticed. I just move it to sd card. But that is a good question. I'm gonna dig a bit you got me thinking.
Indrid Cole said:
I have never really noticed. I just move it to sd card. But that is a good question. I'm gonna dig a bit you got me thinking.
Click to expand...
Click to collapse
Figured it out, settings (dolphin) and then change the folder directory for downloads! Duh lol!
Now to figure out the mms directory! As u can see my MMS pictures that I save all go to the internal SD .... suggestions?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok this is what ya do. Goto settings/data settings. Scroll down and you will see download directory. You can choose anywhere you wish to save anyfile downloaded. This is for Dolphin.
Hope this helps.
---------- Post added at 12:29 AM ---------- Previous post was at 12:24 AM ----------
Hmmm. I don't get much mms's I prefer email attach. Mms low res kills. I might be mistaken but I think you cant change mms default location? Someone else wanta chime in here. Lol.
---------- Post added at 12:31 AM ---------- Previous post was at 12:29 AM ----------
Man u type fast. I'm slow as hell..lol.
Anyone? 10char
Keepin' this thread alive for you. I think mine save to the external sd. Let me check and see how I did it and I'll let you know. Worst case though, get handcent and turn off all notifications. Then point it to the external sd and use it to save MMS pictures.
EDIT: Nope, they save to the internal. You'll have to use Handcent or Go SMS to do it. Unless a symlink in place of the download folder on the internal sd will work. Never tried that. I'll play around with it tonight.
KCRic said:
Keepin' this thread alive for you. I think mine save to the external sd. Let me check and see how I did it and I'll let you know. Worst case though, get handcent and turn off all notifications. Then point it to the external sd and use it to save MMS pictures.
EDIT: Nope, they save to the internal. You'll have to use Handcent or Go SMS to do it. Unless a symlink in place of the download folder on the internal sd will work. Never tried that. I'll play around with it tonight.
Click to expand...
Click to collapse
Thanks KCR. all out for today but I'll hit ya later.
No problem Cole. Unfortunately though, simply using Root Explorer I can't create a symlink because it's an sdcard and apparently they don't support symlinks. Maybe someone else knows how to create them on an sdcard.
KCRic said:
No problem Cole. Unfortunately though, simply using Root Explorer I can't create a symlink because it's an sdcard and apparently they don't support symlinks. Maybe someone else knows how to create them on an sdcard.
Click to expand...
Click to collapse
You beat me too it. I can find no workaround either. Yeah symlink is a nogo. Its deeper than I thought.
The physical SD card on this phone is in the sdcard folder.
I believe its /mnt/sdcard/external_sdcard
Can you not just set it to there? Its mounted inside the internal as its own directory.
RainMotorsports said:
The physical SD card on this phone is in the sdcard folder.
I believe its /mnt/sdcard/external_sdcard
Can you not just set it to there? Its mounted inside the internal as its own directory.
Click to expand...
Click to collapse
Trying to save to the ex sd card.
Indrid Cole said:
Trying to save to the ex sd card.
Click to expand...
Click to collapse
Did you read my post? I am trying to direct them to the external sd card. I was only slightly off going off the top of my head. This is linux/unix the drives are mounted as a directory and can be inside another drives directory.
/sdcard/external_sd/ or /mnt/sdcard/external_sd/
RainMotorsports said:
Did you read my post? I am trying to direct them to the external sd card. I was only slightly off going off the top of my head. This is linux/unix the drives are mounted as a directory and can be inside another drives directory.
/sdcard/external_sd/ or /mnt/sdcard/external_sd/
Aaaa Yeah I read your post.wtf. You obviously have not read the OP or the subsequent post below. We are trying to find a way to save mms pictures received. To the ex sd card as default.
Trust me I know where all my folders are. No need to clutter this thread with your folder pic's.lol. So if you CAN tell me or OP how to default save mms to ex sdcard. Then you will have your thanks. Until that time comes I suggest you read entire thread. It's only 2 pages shouldn't take long.
Click to expand...
Click to collapse
Indrid Cole said:
You obviously have not read the OP or the subsequent post below.
Click to expand...
Click to collapse
You just mean I didnt read the subsequent post then, because I did read the OP and that was the problem. I saw his screen shot but he still had it pointed to the wrong directory which is why I had posted.
As for MMS its not going to be straight forward. Any of the rom architects should be of help for the MMS issue. Yeah I missed the words saying he solved that issue, I had seen that the thread divided into 2 topics though.
I dont need or want any thanks lmao, just hadnt seen anyone mention the directory and missed he solved it himself despite his screen shot being pointed to the former location. If the thanks button is why everyone helps out then something is wrong with the world.
All is good moto. Thanks for trying ta help though. I think I may have misunderstood your post also. I was not trying to be a ****. And I appreciate your follow up response. You're all right in my book.
I understand what you're saying however, there's no setting in the stock SMS/MMS app to direct it in such a way. Like you said, it can be done but it's going to require a dev decompiling the .apk and directing it's save directory to mnt/sdcard/external_sd
Far beyond what the average user, even on these boards, is comfortable doing.
I'm thinking it may be a safeguard in Rom Manager preventing the symlink - maybe a shell script would do the trick. As stated before this is linux and you can symlink to another drive on a desktop as far as I know. The system sees an sdcard as just another drive.
So maybe something like this (not the best at scripts):
Code:
ln -s /mnt/sdcard/external_sd/downloads /sdcard/downloads
Include that in one of the init.d files and it will execute every time on boot.
Anyone better at scripting please edit this if it's not correct. I don't want to mess anybody up by claiming this will work. Also, what would 'ln -sf' accomplish that 'ln -s' doesn't?
It seems im a little behind on browsers but i suppose on the stock browser im sol all together..right.
wiseguyy said:
It seems im a little behind on browsers but i suppose on the stock browser im sol all together..right.
Click to expand...
Click to collapse
???? Not sure what you are asking ? Clarify plz.
---------- Post added at 10:36 AM ---------- Previous post was at 10:34 AM ----------
KCRic said:
I understand what you're saying however, there's no setting in the stock SMS/MMS app to direct it in such a way. Like you said, it can be done but it's going to require a dev decompiling the .apk and directing it's save directory to mnt/sdcard/external_sd
Far beyond what the average user, even on these boards, is comfortable doing.
I'm thinking it may be a safeguard in Rom Manager preventing the symlink - maybe a shell script would do the trick. As stated before this is linux and you can symlink to another drive on a desktop as far as I know. The system sees an sdcard as just another drive.
So maybe something like this (not the best at scripts):
Code:
ln -s /mnt/sdcard/external_sd/downloads /sdcard/downloads
Include that in one of the init.d files and it will execute every time on boot.
Anyone better at scripting please edit this if it's not correct. I don't want to mess anybody up by claiming this will work. Also, what would 'ln -sf' accomplish that 'ln -s' doesn't?
Click to expand...
Click to collapse
Hey thanks for still trying. I don't even think the OP is even interested. He has not posted forever. Lol.
You are all right in my book Kcr. You got my thanks bro.
Well it seems that options are remotely available using the Fish browser but i am on the stock one that's came on the phone. I haven't really thought i would receive a dramatic benefit from something else.
Jess813 said:
Figured it out, settings (dolphin) and then change the folder directory for downloads! Duh lol!
Now to figure out the mms directory! As u can see my MMS pictures that I save all go to the internal SD .... suggestions?
Click to expand...
Click to collapse
I'm in the downloads directory and I can't seem to locate the external sd. No mnt folder too

Issue with Titanium Backup

So, I've set the Backup directory to storage/extSdCard/Titanium Backup, but then I noticed that External storage is set to /storage/sdcard0/, so what's the deal with that? :S
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That's a feature of jellybean and because of the partitioned internal. Do not worry. As long though as you point it to your 64gb external card as you have done you are OK.
Sent from my GT-N7100 using xda premium
mariosraptor said:
That's a feature of jellybean and because of the partitioned internal. Do not worry. As long though as you point it to your 64gb external card as you have done you are OK.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Thanks for the reply mariosraptor....no wonder why the Move to SD feature in the pro version doesn't really work. I tried moving an app it moves it and I see the memory card icon then when I go back it just disappears and is not listed as an app stored in the ext sd.
Yep cause the apps actually are already in the sd. It's about the partions.
Sent from my GT-N7100 using xda premium
mariosraptor said:
Yep cause the apps actually are already in the sd. It's about the partions.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Yeah I know...I just thought to try the move apps to external SD card..but then it's useless.
Guess the only way is Directory bind, but then for some reason I can't find the directories for all my apps? Aren't they supposed to be in /Android/Data? I looked in there and only a few apps are there not all of them. What is the path for the apps?
XeroHertZ said:
Yeah I know...I just thought to try the move apps to external SD card..but then it's useless.
Guess the only way is Directory bind, but then for some reason I can't find the directories for all my apps? Aren't they supposed to be in /Android/Data? I looked in there and only a few apps are there not all of them. What is the path for the apps?
Click to expand...
Click to collapse
I do not use directore bind. I use a more convenient solution.
http://forum.xda-developers.com/showthread.php?t=2036796
You already hace root. You need a kernel with init.d support.
I have been using this since my S3.
With this I have about 9gigs to install apps in the "real" internal card. All others like game data, and photos and stuff are in my 64gb extcard which now is internal.
Just read the thread by Mattia.
Sent from my GT-N7100 using xda premium
mariosraptor said:
I do not use directore bind. I use a more convenient solution.
http://forum.xda-developers.com/showthread.php?t=2036796
You already hace root. You need a kernel with init.d support.
I have been using this since my S3.
With this I have about 9gigs to install apps in the "real" internal card. All others like game data, and photos and stuff are in my 64gb extcard which now is internal.
Just read the thread by Mattia.
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
I have tried it and it worked but it caused me more confusion than make things easier and had trouble with the camera and gallery so I removed it. What I hated most about this mod is the reversed partitions when copying things from the pc via MTP
I may give it another try and see how it goes..
I have no problem in camera nor anywhere else.
The first time though after flash that you will open camera and it says it detected a memory card just say NO when it ask if you want to store them there.
Also in browser set phone as where to store downloaded data so you don't end up with this or that file is corrupted.
Hope this help
Sent from my GT-N7100 using xda premium
mariosraptor said:
I have no problem in camera nor anywhere else.
The first time though after flash that you will open camera and it says it detected a memory card just say NO when it ask if you want to store them there.
Also in browser set phone as where to store downloaded data so you don't end up with this or that file is corrupted.
Hope this help
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
Alright will consider this the next time I flash the mod...I better of start doing it from scratch after a full wipe.
Thanks again
Sent from my GT-N7100 using Tapatalk 2
XeroHertZ said:
Yeah I know...I just thought to try the move apps to external SD card..but then it's useless.
Guess the only way is Directory bind, but then for some reason I can't find the directories for all my apps? Aren't they supposed to be in /Android/Data? I looked in there and only a few apps are there not all of them. What is the path for the apps?
Click to expand...
Click to collapse
No, Android/Data will contains only such application which requires to download/store some external data.
All application data stores in hidden data folder, titanium backup is actually backup applications in that folder.
Directory bind useful which have big data like gameloft/navigation map. rest of data is very small and can be created again once you hard reset.
dr.ketan said:
No, Android/Data will contains only such application which requires to download/store some external data.
All application data stores in hidden data folder, titanium backup is actually backup applications in that folder.
Directory bind useful which have big data like gameloft/navigation map. rest of data is very small and can be created again once you hard reset.
Click to expand...
Click to collapse
Right...thanks for clearing that up dr.ketan...I just thought if its possible to bind apps that are above 70MB coz I have several ones of those that I would like to move to the external sd.
Sent from my GT-N7100 using Tapatalk 2

[Guide][How To] Fix Sdcard / Find backups after cm10.1 Flash!

We all had that problem, we can't find our backups after flashing Cm 10.1. IT IS FIXABLE! So why would you factory reset through Odin? Here is how to fix it.
Step One: Make sure you are on a ROM with the play store. (When I flashed CM10.1, I had CM10 still on my sdcard with the Gapps, so I flashed that.)
I use ES file explorer, but you use what you want. Be sure to rename any important folders just in case so the files don't over lap.
********************************
If you play games.. BACKUP YOUR DATA! THIS PROCESS DELETES GAME AND APP DATA! I AM SORRY! USE BACKUP PRO OR TITANIUM BACKUP IF YOU ARE FAMILIAR WITH IT! YOU HAVE BEEN WARNED!
*********************************
Step Two: Go into your 0 folder and highlight everything in there except Android. Shown here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step Three: Hold down on a folder and select "Move to"
Step Four: it will bring up a box, go up till you get to the parent folder, shown here, and select SDcard (Internal SD!).
Step Five: After Selecting the internal SD Card, hit "ok" and it will move everything up to your parent folder where the "0" is. You can delete the "0" Folder (Make Sure there is nothing left in there that you need!), reboot into recovery, and get your backups back!
-----------------------------------------
Hope that saves someone from doing a factory reset with Odin! Any questions just ask!
corrupt files
i tried to transfer files between my internal memory to my sd card and half the files got corrupted, and also write protected my sd card afterwards. has anyone else experienced this?
bone6606 said:
i tried to transfer files between my internal memory to my sd card and half the files got corrupted, and also write protected my sd card afterwards. has anyone else experienced this?
Click to expand...
Click to collapse
the only time I saw writer protected is when I used a computer...
Sent From My Galaxy S3 Running Stock...
Won't this just be a problem later when you go to download more stuff. The phone will continue to store files in the "0" folder and not the internal SD card or will it reroute all files to that folder from that point on?
ArmyGurl2011 said:
Won't this just be a problem later when you go to download more stuff. The phone will continue to store files in the "0" folder and not the internal SD card or will it reroute all files to that folder from that point on?
Click to expand...
Click to collapse
I said in the guide to select the internal SD card. I will show you what I mean. This is what my Sdcard looks like before I delete the 0 folder.
This Should be your end result.
Sent from a Nexus Galaxy S3 Running 4.1.2
!!!
Thanks for this, I had about eight "0" folders, driving me nuts!
Lobster$ said:
Thanks for this, I had about eight "0" folders, driving me nuts!
Click to expand...
Click to collapse
No problem! Hope this helped fix your problem! I had about 5 0 folders and I would see everywhere people having problems with it, so I thought I would post it.
Sent from my SPH-L710 using xda app-developers app
!
Whiplashh said:
No problem! Hope this helped fix your problem! I had about 5 0 folders and I would see everywhere people having problems with it, so I thought I would post it.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Only issue that I encountered was I lost a bunch of my pictures in the transfer, When I selected internal SD to move them to, a box popped up saying if I wanted to override something and I clicked yes...I wonder if that was the issue. Also I lost all of the files that I downloaded to the internal such as new roms.
Lobster$ said:
Only issue that I encountered was I lost a bunch of my pictures in the transfer, When I selected internal SD to move them to, a box popped up saying if I wanted to override something and I clicked yes...I wonder if that was the issue. Also I lost all of the files that I downloaded to the internal such as new roms.
Click to expand...
Click to collapse
I didn't have that problem... you moved everything right? Maybe all add to the OP to change the picture file name. Maybe that will save ot
Sent from my SPH-L710 using xda app-developers app
Whiplashh said:
I didn't have that problem... you moved everything right? Maybe all add to the OP to change the picture file name. Maybe that will save ot
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Actually I recall that I ran out of internal memory while the move was going on so some things probably didn't make the transfer. All those "0" folders really sucked up my space!
Lobster$ said:
Actually I recall that I ran out of internal memory while the move was going on so some things probably didn't make the transfer. All those "0" folders really sucked up my space!
Click to expand...
Click to collapse
When the 0 file is made, it adds extra empty folders. You could delete those
Sent from my SPH-L710 using xda app-developers app

[HACK| Link2SD without second partition and PC? Why not?

WARNING! THE BELOW PROCEDURE IS A ONE DIRTY HACK.
PLEASE READ CAREFULLY BEFORE PROCEEDING AND AS ALWAYS BACKUP YOUR FILES. IF YOU HAVE ANY DOUBT, YOU KNOW YOUR WAY OUT.
YOU ARE CHOOSING TO MAKE THE MODIFICATIONS. I WILL NOT BE HELD RESPONSIBLE FOR ANY LOSS OR CORRUPTION OF YOUR DATA AND ANY MISBEHAVING OF YOUR DEVICE.
ALSO PLEASE DON'T REPORT BUGS TO THE DEVELOPER OF THE APP BEING USED HERE. THE APP WAS NOT DESGINED TO BE USED THIS WAY AND MAY NOT WORK AS EXPECTED.
Hello, everyone, i was just fiddling with many tools that increase memory size, which basically is move the files to external sdcard one way or another.
Most of these solutions required to have a second partition, and so does Link2SD, but i liked Link2SD interface, and wanted to find a way to use it to create links without having to partition my sdcard at least in real, so i began testing commands in the terminal emulator and finally found a way to do so.
This does not require to format or touch the partitions, just a file is created on the sdcard which will hold all the apps. While this is nothing but a simple mounting of a somewhat virtual filesystem it works for me.
And the best part is the file size can be increased or decreased by simply typing two commands, so within few minutes you can make room for more apps or your other files.
The only limitation being the filesystem that can't handle < 4gb files.
But hey if you don't have that big sdcard, or don't need that much space for apps, then you are good, right?
If your sdcard is bigger than 8gb then you are good with a partition. but people with lesser size of sdcard have to choose between apps or their other files. and maybe this can somehow be helpful to them. .
Requirements:
*A non-partitoned external sdcard.
*Busybox symlinked, terminal emulator and root access
*Any kernel with init.d and ofcourse ext4 support
*Any rom should work, I'm using cm7.2. Just make sure other methods,scripts are not installed to avoid conflicts
*Basic knowledge of commands, and the terminal
*Oops, how could i forgot Link2SD.
Procedure:
*Backup your important files, while this method doesn't require formatting or touching partitions. I cannot guarantee anything, plus i can say that i warned you to backup your files, incase you screw up.
*Decide how much space you want for the *virtual* second partition file, although you can increase/decrease it later. It is good to allocate needed space beforehand.
After you got that going, it's time to get the hands dirty with the terminal emulator
*Open up the terminal emulator emulator and type
Code:
su
Grant it superuser access if you havent already, then you will drop to root shell "#"
We are now going to create a file, that we will use as our *virtual* second partition. Make sure you have enough needed free space for the creation of the file.
If you are familiar with how dd works, you can adjust the commands yourself.
busybox dd bs=16M count=n if=/dev/zero of=/sdcard/sdext.img
For starters, just divide the size required in mb by 16 and substitute the value of n in count.
WARNING! dd can be very dangerous , double check the command you typed, and yes, the commands are case sensitive
I will use 128mb as example: 128/16 would be 8, so i will type.
Code:
busybox dd bs=16M count=8 if=/dev/zero of=/sdcard/sdext.img
Wait for sometime, now that that will create a 128mb file named sdext.img in top folder of your sdcard.
Now we need to create a ext4 filesystem in our newly created sdext.img.
Just simply type and hit enter
Code:
mke2fs -T ext4 /sdcard/sdext.img
You will get something like, this
/sdcard/sdext.img is not a a block special device.
Proceed anyway?(y,n)
Click to expand...
Click to collapse
That is quite normal, just type "y" without quotes of course, and hit enter then wait for the creation to complete.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Journaling:
Journaling is mostly enabled by default, but it can be disabled at the creation but there's no need to, as we will be writing, when linking only. and it does not quite impact the read speed, plus it's safer to not disable. Unless you are planning to move apps data files and are going to use apps which perform heavvy I/O on their data files(the files that are in /data/data/appname), which most of the apps don't. you will be fine with journaling enabled. You can disable if you want but don't ask me how to.
That's it for the terminal part. now you can quit terminal emulator and install Link2SD if you haven't already.
Now if you open Link2SD then tap Menu, and select Storage info you will see that SD card 2nd part is not detected.
That will soon change.
The below should be pretty starightforward, and you probably have done it many times, so i won't go into details.
Download the attacted zip file put into top folder of your sdcard.
Reboot to CWM recovery. Make sure /system and sdcard are mounted.
Install the zip from the sdcard, and reboot to system.
After booting is completed, open Link2SD and check the Storage Info again. The second partition should be detected.
Wait! we are not done, yet.
First check that media scanner works, by opening gallery or camera.
Then test that the linking works, by selecting "User" filter on the Link2SD page and linking some common apps and opening them.
Now, reboot to make sure that the apps are not lost on reboot.
The above issues shouldn't hopefully happen, but we are testing it just to be sure. In any case if the above issue happens, please describe the problem clearly and don't forget to take a logcat.
After all this you can link other apps too provided that you won't come to hit me incase anything wrong happens.
Basic options works fine like creating and removing links, cleaning up, but i haven't tested them all.
Some things to consider.
You see the below screenshot.
NEVER EVER MAKE THE MISTAKE OF TAPPING "Recreate mount scripts".
It will try to detect primary second partition on the external sdcard, which we don't have and that could cause undesirable behavior.
If Link2SD is having trouble detecting the partition. dump a logcat here, and i will see what i can do.
Do not umount your sdcard.
Make sure apps like clean master don't clean itself by deleting the image file.
And it is possible to resize the image after creating it. Instructions to that will come later.
Request to linux ninjas: Please help by improving the init.d sh script used to make this work. it can be found in /system/etc/init.d/01mountsdextimg after installing.
As it currently stands it is a one big hairy mess.
Big thanks to developers of Link2SD, Android Terminal Emulator, Busybox, CWM and all others.
The countless sites on the internet where i learned most of the stuffs from.
(°_o) said:
Hello, everyone, i was..
.
Click to expand...
Click to collapse
Plz post the procedure Sir.....who r u waiting for....its like You show some sweets, and asking that you eat or not.
imElectronica said:
Plz post the procedure Sir.....who r u waiting for....its like You show some sweets, and asking that you eat or not.
Click to expand...
Click to collapse
I'm sorry, actually, i posted this right after it looked like it was working,
But then i rebooted, but the apps were lost after reboot, :0
After many hours of tweaking i finally managed to get it work somehow, but then the media scanner was broken.
So, i just let it be for yesterday, and today i managed to fix it too.
I will just edit the OP with procedure , just give me few more days hehe :cyclops:
imElectronica said:
Plz post the procedure Sir.....who r u waiting for....its like You show some sweets, and asking that you eat or not.
Click to expand...
Click to collapse
Updated the OP. Procedure is up.
(°_o) said:
Updated the OP. Procedure is up.
Click to expand...
Click to collapse
which rom u r using ?? and font ??
imElectronica said:
which rom u r using ?? and font ??
Click to expand...
Click to collapse
rom is cm7 and font is droid sans..
(°_o) said:
rom is cm7 and font is droid sans..
Click to expand...
Click to collapse
rom link plz...is there any bug
@op : after flashing zip file , Link2SD didnt detect second partition.
i'm using CM7.2rc4 based Reincarnation V6
kevin_tn said:
@op : after flashing zip file , Link2SD didnt detect second partition.
i'm using CM7.2rc4 based Reincarnation V6
Click to expand...
Click to collapse
did you follow the steps correctly?
and please upload a logcat
(°_o) said:
did you follow the steps correctly?
and please upload a logcat
Click to expand...
Click to collapse
sorry i can not take a logcat.
i'm using angpyshar kernel , and Pure Performance X script.
any conflicts ??
kevin_tn said:
sorry i can not take a logcat.
i'm using angpyshar kernel , and Pure Performance X script.
any conflicts ??
Click to expand...
Click to collapse
you can just open terminal emulator.. drop to root shell with su
and type
logcat > /sdcard/log.txt
it will keep going, just close the terminal emulator..
and upload the log.txt anywhere..
i cannot say anything for sure without logcat..

recovering deleted pictures from internal sdcard

hello , is there anyway to recover deleted pictures from internal sdcad after formating system ??? , i tried many apps through google but all failed ,
i desperately need these pictures cuz they contain credit card informations which i must have
You are going to have to put your SD card into the computer and use a recovery program. SD cards don't have a "trash" so you will need to find software to recover it. IMPORTANT!! DO IT AS SOON AS POSSIBLE! the more reads and writes to your card, the more likely that the files you are looking for will be purged off. The reason I know its possible is because I just had to do this about 6 months ago. Good luck
Sent from my HTC One_M8 using XDA Free mobile app
Success100 said:
You are going to have to put your SD card into the computer and use a recovery program. SD cards don't have a "trash" so you will need to find software to recover it. IMPORTANT!! DO IT AS SOON AS POSSIBLE! the more reads and writes to your card, the more likely that the files you are looking for will be purged off. The reason I know its possible is because I just had to do this about 6 months ago. Good luck
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
internal SD.....not external SD ! zo thats a nice idea but not going to work as its not removable.
as long as you can't mount the internal SD as an USB disk its a no go to run recovery software as 99% of those type of software needs a USB disk to run and NOT MTP type of storage.
I think I saw a hack around XDA that allowed you to mount the memory, or extract the contents, to be able to recover (possibly) data. But it seemed like a lot of hoops to jump through. Plus, data recovery programs will often be only partially successful, under the best of circumstances.
Consider it a lesson learned, and backup your photos next time. With a variety of easy cloud options, there is really no reason not to.
pinkslips said:
hello , is there anyway to recover deleted pictures from internal sdcad after formating system ??? , i tried many apps through google but all failed ,
i desperately need these pictures cuz they contain credit card informations which i must have
Click to expand...
Click to collapse
do you have a Nandroid ? why didn't you use the Google drive or Dropbox for backup ?
HTC gives every One owner a Google Drive just for this reason
pinkslips said:
hello , is there anyway to recover deleted pictures from internal sdcad after formating system ??? , i tried many apps through google but all failed ,
i desperately need these pictures cuz they contain credit card informations which i must have
Click to expand...
Click to collapse
well you could try
reboot to TWRP recovery to avoid further damage to the partition, make sure /external_sd is mounted
Code:
adb shell dd if=/dev/block/mmcblk0p47 of=/external_sd/mmcblk0p47_userdata.img
(that should be a raw ext4 partition)
once that's done, take out your external sdcard, and using a card reader, try mounting it in linux then use some recovery program,
you may possibly need to convert it the raw partition, but i'm not sure about all that, just trying to point you in the [possibly] right direction
but in all cases, very low chance of success probably
EDIT: for example, i was able to mount the partition (i made a backup when i first got the phone), just to test using DiskInternals Linux Reader:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
thanks all i managed to do it , i went for a guy and he recovered them for me using terminal emulator and some other program i can remember its name
pinkslips said:
thanks all i managed to do it , i went for a guy and he recovered them for me using terminal emulator and some other program i can remember its name
Click to expand...
Click to collapse
Wow that's Great news... Please find out what he used to recover the files . I could really use it.
if you are rooted, there is an app available through the playstore called diskdigger that recovers deleted files from your internal storage
methslushee said:
if you are rooted, there is an app available through the playstore called diskdigger that recovers deleted files from your internal storage
Click to expand...
Click to collapse
yes exactly diskdigger root paid one
https://play.google.com/store/apps/details?id=com.defianttech.diskdiggerpro&hl=en
u can try the free version first if it didnt work for u go for pro , i dont know why int the reviews alot of people says it doesnt work but it worked like a charm , i even used it later afterwards to recover some music and some videos i shot with the camera ,
methslushee said:
if you are rooted, there is an app available through the playstore called diskdigger that recovers deleted files from your internal storage
Click to expand...
Click to collapse
pinkslips said:
yes exactly diskdigger root paid one
https://play.google.com/store/apps/details?id=com.defianttech.diskdiggerpro&hl=en
u can try the free version first if it didnt work for u go for pro , i dont know why int the reviews alot of people says it doesnt work but it worked like a charm , i even used it later afterwards to recover some music and some videos i shot with the camera ,
Click to expand...
Click to collapse
Disk digger works very very well. I have used it a few times to help others out. It's success rate is pretty high.
Just ensure to recover to the external sd card.
I suggest that you try this htc data recovery solution.
Good luck.
peternik999 said:
I think not possible for internal storage.
Click to expand...
Click to collapse
Phone based data recovery apps (such as from the Play store) are your best bet.
As you may be referring to (hard to tell with a one line, vague post) PC based programs have been (at least somewhat) successful recovering data from smartphones in the past. But since Android has moved to MTP protocol (versus USB mass storage), most of those programs won't work.
The phone apps will work to some degree, with internal storage. But data recovery is always an iffy proposition. Once the memory blocks get overwritten, the data is gone for good (at least by any reasonable, consumer level retrieval methods).

Categories

Resources