Related
Hi folks,
As you know, the Sony media and video player didn't show the mp3 and videos on the external SD card in his library.
Now my idea was to mount folders of the external sdcard into folders on the internal sdcard.
Solution:
I created a script for mounting photo, video and music folders from ext. sdcard to the corresponding folders on the int. sdcard. After successful tests, I implemented init.d support on my Tablet S for a 'autostart' solution at boot time and moved the script to 'init.d' folder. For me it works great and fulfilled my requirements 100%.
Enclosed the content of my 'automount' script:
#!/system/bin/sh
# need sleep 75 for right timing maybe you can reduce it to 30
sleep 75
mount -o bind /mnt/sdcard2/Music /mnt/sdcard/Music
mount -o bind /mnt/sdcard2/Video /mnt/sdcard/VIDEO
mount -o bind /mnt/sdcard2/Fotos /mnt/sdcard/Pictures
Click to expand...
Click to collapse
Here you can find my [HOW_TO] for init.d support:
http://forum.xda-developers.com/showthread.php?t=1505340
P.S.: If it do not work for you, try to increase the sleep value. If you have a 'fresh' system 30 should be enough ... if you use two or three widgets 'sleep 75' could be ok ... and so on ...
I hope that someone has the technical knowhow how to do this, that would be great to access extra memory
also one interesting thing in build.prop:
Code:
ro.separated.external.storage=true
Would you try what happened if you change to "false"?
I found the same entry ... but do not know what it mean.
Saw the same thing myself, but don't have an SD card with me, so I wont get to try till I get home.
But I guess the change of the mount point in the /etc/svold.fstab is particularly promising. I still waiting for a rating of a expert. No one here?
Changed that line in true, rebooted.
Openend up Poweramp and this had to scan my folders again.
Sd Card still there and working but nothing more I think.
Can't really see if there's anything changed.
I tried:
Removing nosdcard from ro.build.characteristics
Changing ro.external.storage.removable to true
Changing ro.separated.external.storage to false
I haven't been able to see any difference.
Things I looked at:
The stock video player won't recognize videos on my SD card.
Videos on SD card will play if I navigate to them using Root Explorer
I can move apps to SD card using Titanium Backup, and play them from the SD card.
Anyone have some tips on what else I can look for?
50% Solution
Hi guys,
I tried a other way (and more secure) from a hint in an other forum.
If you use the following command with adb or a app like "scripter" on your tablet,
you will mount the external card into the internal, but step by step:
1. create a new folder /external_sd under /mnt/scard/
e.g. with adb shell : mkdir -p /mnt/sdcard/external_sd
2. then mount the /mnt/sdcard2 to this folder
e.g. with adb shell: mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
3. now it is done and if you now refresh your media library, you will find all your media stuff on your media player.
Unfortunately you have to do the same after a reboot or switch off/on.
I am a little bit afraid to add this command line in init.rc or something else.
Do one of you have a proposal how we can make it permanent, without a risk?
obicom said:
Hi guys,
I tried a other way (and more secure) from a hint in an other forum.
If you use the following command with adb or a app like "scripter" on your tablet,
you will mount the external card into the internal, but step by step:
1. create a new folder /external_sd under /mnt/scard/
e.g. with adb shell : mkdir -p /mnt/sdcard/external_sd
2. then mount the /mnt/sdcard2 to this folder
e.g. with adb shell: mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
3. now it is done and if you now refresh your media library, you will find all your media stuff on your media player.
Unfortunately you have to do the same after a reboot or switch off/on.
I am a little bit afraid to add this command line in init.rc or something else.
Do one of you have a proposal how we can make it permanent, without a risk?
Click to expand...
Click to collapse
I will check it for you if you want but after work, evening
These are good news
I am sure for you it is a "child's play", but I think helpful for all of us.
Please let me know if I can test something ...
THANKS IN ADVANCE !
-- Edit --
Maybe we can add this command to rescan media files after mount command:
mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
pm enable com.android.providers.media/com.android.providers.media.MediaScannerReceiver
Click to expand...
Click to collapse
50%...............phew, getting closer, keep up the good work chaps.
http://www.androidtablets.net/forum...cation-discussion-post-root-2.html#post149151
Maybe this helps?
Good find there. Wonder if the Vizio is similar to the Sony.
Link2SD
If you want app data to be moved to external sd Link2Sd works but with a few extra steps only. Here is how I manage this on mine.
Installed Link2SD on tablet.
Formatted external card (in my case a 32GB microsd in an SD adapter) on my laptop using EASEUS to have to PRIMARY partitions 1st in FAT32 and second in EXT3 formats.
At first Link2SD does not recognise any ext partition present and if I try to recreate mounting script on it telling it EXT3 format it says something like could not do, directory does not exist or similar.
Then after a reboot Link2sd warning pops up saying the sd card was not mounted at boot and therefore the system did not load apps on it. You have an option to recreate a mounting script (which I did not need to do as did it already previously) and the quick reboot option (which is different from the regular reboot in the way that it only restarts the android interface not the whole hardware) - so I do this reboot and after everything starts you can see the extra partition and use it.
So currently quick reboot is needed after every total shutdown of the tablet - thankfully I almost never shut down the tablet completely unless run out of battery completely or some other rare reason or testing like this one.
Also note that quick reboot sometimes gives a close/wait warning just after it is done - I always chose wait and everything seemed ok after that.
Make sure you give Link2sd superuser permission. I decided to leave out Lib out of the app data I link because I noticed that if I move data back to internal storage link2SD shows that libs are unlinked already/ I know there is an option in link2sd to relink libs at boot but I was not able to confirm if it works and they tend to take little space internally anyway.
Regarding extra partition size I tried less than 1GB and ca 14Gb. With bigger than 1GB partition it seems to recognise its size in link2sd but once you move more than 1gb data to it does not reflect the increase above 1gb but still seems to make the apps I moved before and after that work still.
I wonder if multi mount widget could help when combined with link2SD somehow. My guess best solution would be to make android mount external card early in its boot.
Hope it helps
I tried today several things ....
@ps3taker
that sound a little bit more complicated then my solution with app scripter and the mount command.
I tried today several things to get a "autostart" solution but unfortunately without success:
- App "autostart (root)" don't work on Tablet S
- Change in svold.fstab need sd card eject and insert to be mounted after rboot
- Change in vold.fstab need sd card eject and insert to be mounted after reboot
- Add mount command in init.goldfish.sh don't work
- Startup script tweaks can't work, no "/system/bin/playlogosnow" on Tablet S
(http://forum.xda-developers.com/showthread.php?t=813309)
Someone additional ideas for a autostart option for the mount command?
-- Edit --
I did a little bit more investigations and find out, that after a reboot it needs a short time before the internal sd card is ready to use. Therefore it is senseless to search a solution during boot time. I guess this is the reason why the change in svold.fstab and vold.fstab didn't work.
That means we need a "autostart" App, as a Widget or a Virus scanner that mount the device and rescan the medias. Who is willing and to do that for us?
just create an init.d script and symlink the ext_sd folder to the desired folder on sdcard...
check if this device has:
/system/etc/install-recovery.sh
if it doesnt then check if the /init.rc (or other init.*.rc) files contain the text "install-recovery.sh"
if the text exists then just create the file /system/etc/install-recovery.sh which has the following at the top:
Code:
#!/system/bin/sh
followed by the symlink/bind code
and save file and give it 777 permission (chmod 777 /system/etc/install-recovery.sh)
that should automatically run the desired commands at each boot...
if the above is not possible then just create a GScipt script and execute it at startup
DooMLoRD said:
just create an init.d script and symlink the ext_sd folder to the desired folder on sdcard...
Click to expand...
Click to collapse
Hi DooMLoRD,
symlink will not work - because of fat32 sdcard! We've got to use mount -o bind, it works without problem, about autorun thing - thanks - i've got to try it
br
condi
@DooMLoRD & Condi
I did exactly this in my tests before, with the "install-recovery.sh".
The file "/system/etc/install-recovery.sh" don't exist but the the "init.rc" files contains the text "install-recovery.sh".
So I created the file "/system/etc/install-recovery.sh" with the commands:
#!/system/bin/sh
mount -o bind /mnt/sdcard2 /mnt/sdcard/external_sd
Click to expand...
Click to collapse
and give it 777 permission but unfortunately it dosen't work.
I guess the reason is the timing problem, that sdcard mount is not ready in this moment. I will try tomorrow add first the mount command for "/mnt/sdcard" in this file and will see what will happen.
Keep you informed.
thank you all for trying.
Could you please summarise what works currently please.
a) Do you manage to link apps to external sd as in rooted gingerbread?
b) or is it just for showing external sd media in the native player in a separate subfolder or something similar
c) do you manage to swap around external and internal sds, i.e. mnt\sdcard is now external as on gingebread and mnt\sdcard2 is the built-in/internal one
I think all of the above is useful but would like to know what's the initial plan.
UPDATE:
I now recommend using FolderMount instead of the scripts below.
Forum Link: http://forum.xda-developers.com/showthread.php?t=2192122
Market Link: https://play.google.com/store/apps/...251bGwsMSwxLDEsImNvbS5kZXZhc3F1ZS5mbW91bnQiXQ..
Click to expand...
Click to collapse
PART 1: obb "Game Data" to external_sd
Simple script that binds the internal obb folder to an external Gamedata folder on your sd to save space on Internal SD Card.
Use at your own risk.
1. Create a folder on the external_sd called "Gamedata"
2. Move all folders located in sdcard/android/obb to the newly created folder "Gamedata" (This takes a long time using Root Explorer, be patient. I recommend using Solid Explorer so that you can see the progress.)
3. Download the txt file and rename the extension to .sh OR Create a new script using:
Stock ICS:
Code:
mount -o bind /mnt/sdcard/external_sd/Gamedata /mnt/sdcard/Android/obb/
SnowJB (may or may not work on other JB ROMS) - Credit:
Code:
mount -o bind /storage/external_SD/Gamedata /storage/sdcard0/Android/obb/
4. Download Smanager from the playstore.
5. Find the script you created and set it to run with SU, make sure to save.
6. You can run it now to see if it worked. (If it did, make sure to edit the script to run at boot)
Notes:
I reclaimed about 6GB+ and was able to download several new games after doing this.
Occasional a folder called /Android/data/ gets created in Gamedata but it stays empty and doesn't effect anything. Just ignore it.
Newly downloaded game data will automatically be downloaded to the Gamedata folder. (As long as the addition data is downloaded through Google Play)
Works with Link2SD
This should work on every device that has an external sd card, however you might have to edit the paths to make sure they match up with how your device has the external sd card implemented (emmc, sdcard1, extSdCard). You may also have to edit the internal sd path for 4.2 and above to because of multi-user support.
Thanks to DeathmonkeyGTX! His music cache script gave me the idea to do the same for obb game data. They could probably be combined into one script, should you want to.
PART 2: Link2SD Info - for even more space saving
You can also use Link2Sd (found on the market) to store apps on the external sd card.
I formatted my external sd into two partitions. One 55 GB partition (For user data) and another 4 GB partition (for Link2SD).
Notes:
The highest app that I linked only saved about 50 MBs. Not really saving that much space, but after I linked several 50 MBs and under apps, I recovered about 1.2 GBs of space on the Internal.
The second partition can only be used for Link2SD.
To Set Up:
Backup your SD, format it to Fat32, use MiniTool to resize the first partition, then create a second partition (FAT 32 and make sure it is Primary) using the remaining space. You should now have two partitions. Now just launch the Link2SD app and create the start-up mount scripts. Reboot, launch the app once more, and finally start linking apps to your external sd card.
More info here: http://www.link2sd.info/home
I recommend reading the description and FAQ.
Both "PARTS" can be used together or separately just fine on ICS. However, I was not able to get Link2Sd working on SnowJB.
Seems to be working great! We now have so much more room for activities!
This is what I call a WIN: http://imgur.com/a/WBtHP
as far as I know I did everything I was supposed to but I went and deleted the files on my internal sd card and it deleted the ones on external sd card. I downloaded the app again and it saved the files in both locations and I deleted the internal one and it deleted both again. What could be causing this?
mws1986 said:
as far as I know I did everything I was supposed to but I went and deleted the files on my internal sd card and it deleted the ones on external sd card. I downloaded the app again and it saved the files in both locations and I deleted the internal one and it deleted both again. What could be causing this?
Click to expand...
Click to collapse
You have to delete the files before you set the script to run at boot. Otherwise you will be deleting the files on the external sd since the script tricks the system into thinking they are on the internal. I'm also think that your misunderstanding when you say they are on both. If you look at the total space when tapping the obb folder on your internal you will notice it goes from 11GB to whatever size you external sd card is. The two folders are binded so it would appear that they are on both but they are only on your external.
Joecascio2000 said:
You have to delete the files before you set the script to run at boot. Otherwise you will be deleting the files on the external sd since the script tricks the system into thinking they are on the internal. I'm also think that your misunderstanding when you say they are on both. If you look at the total space when tapping the obb folder on your internal you will notice it goes from 11GB to whatever size you external sd card is. The two folders are binded so it would appear that they are on both but they are only on your external.
Click to expand...
Click to collapse
I just noticed this today, I ran this correctly (thank you for adapting it btw) and saw that I had "duplicates" on my internal. Then I saw that the total space was listed as 32 gigs... and it clicked, lol.
For a little clarification, you will see the folder in both places, the one on the internal card is just a link, it shouldn't actually take up any room on the internal card.
I was also able to get this to work for another folder created by a game that didn't put the files in obb folder.
(Just make a copy of the script and edit the pathways in it and run as root at boot.)
bleached45 said:
I just noticed this today, I ran this correctly (thank you for adapting it btw) and saw that I had "duplicates" on my internal. Then I saw that the total space was listed as 32 gigs... and it clicked, lol.
For a little clarification, you will see the folder in both places, the one on the internal card is just a link, it shouldn't actually take up any room on the internal card.
I was also able to get this to work for another folder created by a game that didn't put the files in obb folder.
(Just make a copy of the script and edit the pathways in it and run as root at boot.)
Click to expand...
Click to collapse
Yeah it bugs me big time that some apps download files to different places. I noticed some apps that download additional files through the play store, download the data to the /android/data/ folder instead of /android/obb/. Google really needs to make that uniform, where all additional game data get downloaded to one place. I did, however, adapt my script to link the whole /android/ folder to the external sdcard.
I won't release that one because there is way more things that can go wrong. The /android/data folder is used for so much more than just games and if it's not set up just right you could get force closes and blank widgets on boot. But just FYI, it is possible and is working well for me.
Worked! Thanks a lot for the script man helped save a lot of data!
Sent from my LG-E970 using xda app-developers app
Well, I can't get this post deleted, but I was able to figure out my problem!
Thanks for posting this solution! So happy to have it!
Re: obb "Game Data" to external_sd and Link2Sd Info
I used both methods here, obb and links2sd and it helped me out tremendously. Nice work and thanks for posting this.
Sent from my LG-E970 using xda premium
Hey Joecascio2000,
Do you know how one would modify this script to work on the Stock 4.1.2 Jelly Bean LG-E973/1/5/0 CANADA / ATT / INTERNATIONAL rom?
I've read in that thread that the sdcard locations are different for Jellybean.
I've tried the following path to no avail.
mount -o bind /mnt/storage/external_SD/Gamedata /mnt/storage/sdcard0/Android/obb/
Using that path will have smanager error out stating the following:
card0:/AndroidObbSwap.sh'
mount: No such file or directory
Any input would be greatly appreciated.
Yoreo said:
Hey Joecascio2000,
Do you know how one would modify this script to work on the Stock 4.1.2 Jelly Bean LG-E973/1/5/0 CANADA / ATT / INTERNATIONAL rom?
I've read in that thread that the sdcard locations are different for Jellybean.
I've tried the following path to no avail.
mount -o bind /mnt/storage/external_SD/Gamedata /mnt/storage/sdcard0/Android/obb/
Using that path will have smanager error out stating the following:
card0:/AndroidObbSwap.sh'
mount: No such file or directory
Any input would be greatly appreciated.
Click to expand...
Click to collapse
I don't have JB installed yet so I don't know exactly how the sd card and external sd card are mount. I'm assuming your paths are correct. But I suggest making sure that the script is running from the internal SD card. Also, I would add a "sleep" line just to make sure the external sd is mounted properly before running the bind.
Try:
#start
sleep 30
mount -o bind /mnt/storage/external_SD/Gamedata /mnt/storage/sdcard0/Android/obb/
#end
Joecascio2000 said:
I don't have JB installed yet so I don't know exactly how the sd card and external sd card are mount. I'm assuming your paths are correct. But I suggest making sure that the script is running from the internal SD card. Also, I would add a "sleep" line just to make sure the external sd is mounted properly before running the bind.
Try:
#start
sleep 30
mount -o bind /mnt/storage/external_SD/Gamedata /mnt/storage/sdcard0/Android/obb/
#end
Click to expand...
Click to collapse
I gave that a shot, and it's still kicking out the same error. I think I'm going to post in that thread and see if anyone there can tell me if my path names are incorrect.
Well Joecascio2000, I figured it out after getting a good nights sleep. My paths weren't correct.
Anyhow, the correct path/command is as follows:
Code:
mount -o bind /storage/external_SD/Gamedata /storage/sdcard0/Android/obb/
Feel free to update your OP to notify anyone who may be using that rom to use the above script for things to work properly.
What would be the code to get this working with the new cm 10.1 conversion?
I tried
mount -o bind /storage/sdcard1/Gamedata /storage/emulated/0/Android/obb/
and a few others
Yoreo said:
Well Joecascio2000, I figured it out after getting a good nights sleep. My paths weren't correct.
Anyhow, the correct path/command is as follows:
Code:
mount -o bind /storage/external_SD/Gamedata /storage/sdcard0/Android/obb/
Feel free to update your OP to notify anyone who may be using that rom to use the above script for things to work properly.
Click to expand...
Click to collapse
Thanks. I updated to OP to include your code and put a link to your post.
whoamanwtf said:
What would be the code to get this working with the new cm 10.1 conversion?
I tried
mount -o bind /storage/sdcard1/Gamedata /storage/emulated/0/Android/obb/
and a few others
Click to expand...
Click to collapse
Again, not really sure how CM10.1 handles the external sd. Did you try the code directly above your post? It works for the JB port so it may work for the CM10.1 ROM.
EDIT:
Try:
mount -o bind /storage/sdcard1/Gamedata /storage/sdcard0/Android/obb/
That is what I have on my Captivate running CM10.1.
Re: obb "Game Data" to external_sd and Link2Sd Info
I'm not 100% for sure on this but doesn't cm10 handle the external sd as emmc?
Sent from my LG-E970 using xda premium
Re: obb "Game Data" to external_sd and Link2Sd Info
tmease1 said:
I'm not 100% for sure on this but doesn't cm10 handle the external sd as emmc?
Sent from my LG-E970 using xda premium
Click to expand...
Click to collapse
I know they used too on my Captivate but with the multiple users in 10.1 I think they might have changed it. And again it could be different for every device. I recommend using solid explorer to just search around. If you tap the little android icon in the top left it gives you the exact path of the folder you are in.
Sent from my LG-E970 using xda premium
Joecascio2000 said:
I know they used too on my Captivate but with the multiple users in 10.1 I think they might have changed it. And again it could be different for every device. I recommend using solid explorer to just search around. If you tap the little android icon in the top left it gives you the exact path of the folder you are in.
Sent from my LG-E970 using xda premium
Click to expand...
Click to collapse
Yeah it is weird I found the exact paths and changed the script but it still doesnt work, even got it to where it looked like it worked, went green and no mount error but no data
whoamanwtf said:
Yeah it is weird I found the exact paths and changed the script but it still doesnt work, even got it to where it looked like it worked, went green and no mount error but no data
Click to expand...
Click to collapse
Did you add the sleep line? Some ROMS take longer to mount the sd card than others. If the sd card isn't mounted before the script runs nothing will happen.
Code:
#start
sleep 30
mount -o bind /storage/external_SD/Gamedata /storage/sdcard0/Android/obb/
#end
This will wait 30 seconds before running the script. If the paths are correct, I don't see why it wouldn't work. Under smanager, click menu>more> advanced>configuration, and turn on "Show On Boot Script Log". That should give you an idea as to what is happening.
How do I go about converting my SD card from "Generic Hierarchical" File system to ExFAT?
trying to ROOT my phone for the 1st time.
I right click and it gives me an option to FORMAT,
but it does not give me any option as to what type of file system to format
to, no options for ExFAT or any other types of file system formats..
gymfreak81 said:
How do I go about converting my SD card from "Generic Hierarchical" File system to ExFAT?
trying to ROOT my phone for the 1st time.
I right click and it gives me an option to FORMAT,
but it does not give me any option as to what type of file system to format
to, no options for ExFAT or any other types of file system formats..
Click to expand...
Click to collapse
Assuming you are trying using your phone you will likely need a microSD-to-SD converted. I tried using a USB device and it just messed things up.
Oh, what size card? I think anything <64GB will format exFAT using the phone but since I have 64GB I'm not expert on that.
I assume PC if you're using right click. What OS?
In windows 7 it looks like this:
edit - oops apparently I'm too much of a noob to post a freaking picture on this freaking forum. Jesus.
And you can change the FAT32 to ExFat in the second drop-down.
Another option is to use minitool partition wizard (google it)
Another thought - are you trying to format this from your phone? If so you will need to get a card reader to format it from your pc, I do not think formatting the card using your phone as the "card reader" on your pc will work. (as stated in the post above me)
yes
Yes I was trying to format the SD card while it was plugged into my phone.
I am on WINDOWS 8
It is a 15 or 16 Gig SD card, the one that came with the phone.
Is that ok or do I need to get a new card with more GIGS?
Thanks for the fast replies!
denmalley said:
I assume PC if you're using right click. What OS?
In windows 7 it looks like this:
edit - oops apparently I'm too much of a noob to post a freaking picture on this freaking forum. Jesus.
And you can change the FAT32 to ExFat in the second drop-down.
Another option is to use minitool partition wizard (google it)
Another thought - are you trying to format this from your phone? If so you will need to get a card reader to format it from your pc, I do not think formatting the card using your phone as the "card reader" on your pc will work. (as stated in the post above me)
Click to expand...
Click to collapse
Oh no you'rre PLENTY good with 16 gigs. You really only need a very small amount of space to do this and then you can reformat the card in your phone and use it as extra storage if you'd like. But to do this exploit you'll need to get an external card reader to format the card on your pc. The only exception is if your card is 64gb, then you CAN apparently format to exfat in your phone. Go figure.
problem!
So i formatted the SD card..
I am using the latest Verizon samsung galaxy S4 the UAME7 one.. model # SCH-I545
I formatted the SD card, yet when i put it back in my phone and click properties.. it shows as a "GENERIC HEIRARCHICAL" file system
Is that right? It is not showing as ExFAT file system..
followed all these steps below..
when i get to typing the ./pwn , i get an error saying it cant find the file.. I hit ENTER or Return after i type each line correct?
1. Move all files and folders directly onto the root of your EXTERNAL microSD card only!
2. Download a Terminal Emulator app:
3. Open the Terminal Emulator app and run below 3 commands:
cd /mnt/extSdCard
./pwn
./script.sh
gymfreak81 said:
So i formatted the SD card..
I am using the latest Verizon samsung galaxy S4 the UAME7 one.. model # SCH-I545
I formatted the SD card, yet when i put it back in my phone and click properties.. it shows as a "GENERIC HEIRARCHICAL" file system
Is that right? It is not showing as ExFAT file system..
followed all these steps below..
when i get to typing the ./pwn , i get an error saying it cant find the file.. I hit ENTER or Return after i type each line correct?
1. Move all files and folders directly onto the root of your EXTERNAL microSD card only!
2. Download a Terminal Emulator app:
3. Open the Terminal Emulator app and run below 3 commands:
cd /mnt/extSdCard
./pwn
./script.sh
Click to expand...
Click to collapse
what steps did you take to format? (Used a card reader, right clicked in windows, select "format," change the filesystem type to from fat32 to exfat, etc)
and when you unzipped the zip file (root exploit package) in the link you found:
pwn
script.sh
readme
a folder called gs4ex
and moved all of these things to the root of your sd card?
when you type the first command in the terminal emulator and press enter what is the response you get back?
yea
I figured it out.. when i formatted it i had the QUICK FORMAT box checked.. i unchecked that, Formatted it again.. and finally got it to work!
So i got my phone rooted..
next step.. how do i backup the phone or ROM? Want to back it up before i install xprivacy or xposed.
Tried to do it holding the volume/home/power button, it shows me a recovery menu but no option to BACKUP the phone.
My goal here is to Permanently Disable the E911 GPS services.. for "911 calls/emergency only" which we all know is BS.. I would like to DIsable the E911 GPS but Would still like to be able to use my phone for GPS/DIrections. and disable any other apps from knowing my location etc.
I also want to disable any record keeping of phone calls or texts , is that even possible??
pretty much want to be untraceable, anonymous all around..
Any info on how to do so would be greatly appreciated.
From what my buddy told me i could install a custom ROM to turn off the Code for E911 GPS ?
or is there any other way to do so?
also formatted my SD card over all my PHOTOS, forgot to remove them first.... any way i can recover these? Or are they gone for good?
denmalley said:
what steps did you take to format? (Used a card reader, right clicked in windows, select "format," change the filesystem type to from fat32 to exfat, etc)
and when you unzipped the zip file (root exploit package) in the link you found:
pwn
script.sh
readme
a folder called gs4ex
and moved all of these things to the root of your sd card?
when you type the first command in the terminal emulator and press enter what is the response you get back?
Click to expand...
Click to collapse
ME7 currently has a locked bootloader and no exploit in sight. Still plenty you can do with root, and there appears to be workaround almost ready.
Check my response in this thread for all the relevant posts on the topic:
http://forum.xda-developers.com/showthread.php?t=2447640
E911
How do i DISABLE The E911 GPS feature?
I want to disable it, not just remove the ICON.. i want the E911 gps OFF
Why am i seeing things about people who want to just remove the E911 ICON?
That does not disable the actual E911 GPS does it?
gymfreak81 said:
...the one that came with the phone....
Click to expand...
Click to collapse
Woah...since when did it come with an SD card? Mine did not, and I just double checked the website and it still says sold separately for micro SD cards.
I recently did a backup with TWRP and then played a new firmware on it with LG UP. After that, I had to unlock the bootloader and flash TWRP on it again. In this process, all my data were deleted, so I restored them from my backup.
This worked well, but after I booted it again, it doesn't accept my PIN. My fingerprint is recognized, but I have to type in the PIN once after booting, and my old one doesn't work. It just states "Try again".
As far as I can see it from the lock screen, all my apps and setting are the same as before.
I don't have an internet connection with it and I can't activate it as this would require typing in the right PIN code. Same for ADB and MTP mode, but I can access the file system through TWRP. I don't want to remove the PIN by deleting the key files in /data/system, because my sd card is encrypted and I don't want to lose the data on it.
Is there a way to either to bypass the PIN without deleting the keystore files or decrypt the sd card manually with my PIN? I don't know if this matters, but there is a folder called .ecryptfs on my sd card, and the first two bytes of the file in there are identical with the first two bytes of a Linux wrapped-passphrase file. Is is possible that Android uses eCryptFS as well? If yes, shouldn't it be possible to extract the passphrase and decrypt the data with it? At least this works on Linux with eCryptFS ...
I hope this was clear enough If not, I will provide any missing details.
Thank you in advance for any idea :fingers-crossed:.
Can you access adb I'm twrp? If so, try these:
Make sure to mount/data first...
adb shell mount -o rw,remount /data
And I don't think you have to but if you get an error about read only filesystem or something, mount system too...
adb shell mount -o rw,remount /system
anonymus1994.1 said:
I recently did a backup with TWRP and then played a new firmware on it with LG UP. After that, I had to unlock the bootloader and flash TWRP on it again. In this process, all my data were deleted, so I restored them from my backup.
This worked well, but after I booted it again, it doesn't accept my PIN. My fingerprint is recognized, but I have to type in the PIN once after booting, and my old one doesn't work. It just states "Try again".
As far as I can see it from the lock screen, all my apps and setting are the same as before.
I don't have an internet connection with it and I can't activate it as this would require typing in the right PIN code. Same for ADB and MTP mode, but I can access the file system through TWRP. I don't want to remove the PIN by deleting the key files in /data/system, because my sd card is encrypted and I don't want to lose the data on it.
Is there a way to either to bypass the PIN without deleting the keystore files or decrypt the sd card manually with my PIN? I don't know if this matters, but there is a folder called .ecryptfs on my sd card, and the first two bytes of the file in there are identical with the first two bytes of a Linux wrapped-passphrase file. Is is possible that Android uses eCryptFS as well? If yes, shouldn't it be possible to extract the passphrase and decrypt the data with it? At least this works on Linux with eCryptFS ...
I hope this was clear enough If not, I will provide any missing details.
Thank you in advance for any idea :fingers-crossed:.
Click to expand...
Click to collapse
^^^^^
anonymus1994.1 said:
This worked well, but after I booted it again, it doesn't accept my PIN. My fingerprint is recognized, but I have to type in the PIN once after booting, and my old one doesn't work. It just states "Try again".
As far as I can see it from the lock screen, all my apps and setting are the same as before.
I don't have an internet connection with it and I can't activate it as this would require typing in the right PIN code. Same for ADB and MTP mode, but I can access the file system through TWRP. I don't want to remove the PIN by deleting the key files in /data/system, because my sd card is encrypted and I don't want to lose the data on it.
Click to expand...
Click to collapse
during making my experiences i got the same result! No way to enter pin! I think, during the update process, the "no-verity... patch was killed. So you can only try to use the solution you doesn’t want to use.
I will follow this thread to see if a way to solve was found.
Delete (wrong thread, sorry)
Craz Basics said:
Can you access adb I'm twrp? If so, try these:
Make sure to mount/data first...
adb shell mount -o rw,remount /data
And I don't think you have to but if you get an error about read only filesystem or something, mount system too...
adb shell mount -o rw,remount /system
Click to expand...
Click to collapse
I tried it and got the same result: I have access, but my SD card cannot be mounted anymore. Still, thanks for the answer.
anonymus1994.1 said:
I tried it and got the same result: I have access, but my SD card cannot be mounted anymore. Still, thanks for the answer.
Click to expand...
Click to collapse
Try this :https://www.google.com/amp/s/forum....king/remove-lockscreen-recovery-t3530008/amp/
In short, delete those files from "/data/system" and reboot. It also says that if it asks you to install superSU, say no
Craz Basics said:
In short, delete those files from "/data/system" and reboot. It also says that if it asks you to install superSU, say no
Click to expand...
Click to collapse
I did this. The problem is that after removing my PIN, I can't decrypt my SD card anymore because it was encrypted with this PIN. I even tried setting the same PIN as before, but the salt changed, so I still couldn't mount the SD card.
anonymus1994.1 said:
I did this. The problem is that after removing my PIN, I can't decrypt my SD card anymore because it was encrypted with this PIN. I even tried setting the same PIN as before, but the salt changed, so I still couldn't mount the SD card.
Click to expand...
Click to collapse
Check this out: https://www.easeus.com/storage-media-recovery/recover-data-from-encrypted-sd-card.html
Craz Basics said:
Check this out: https://www.easeus.com/storage-media-recovery/recover-data-from-encrypted-sd-card.html
Click to expand...
Click to collapse
I really appreciate your effort, but this doesn't work either. It does recover deleted files, even encrypted ones, but as I can't decrypt them, this does not help ...
The tool can't decrypt the files. I tried it out: it shows me a lot of deleted files, but all of them are still encrypted.
anonymus1994.1 said:
I really appreciate your effort, but this doesn't work either. It does recover deleted files, even encrypted ones, but as I can't decrypt them, this does not help ...
The tool can't decrypt the files. I tried it out: it shows me a lot of deleted files, but all of them are still encrypted.
Click to expand...
Click to collapse
Ah, so that means you can put them on your pc? If so I'd look for a program to decrypt them
Craz Basics said:
Ah, so that means you can put them on your pc? If so I'd look for a program to decrypt them
Click to expand...
Click to collapse
Yes, I can copy them to my computer. I used the Android setting to encrypt the SD card, and I have no idea how to decrypt them manually. I searched for a way, but all I found was "not possible" .
I do have my PIN, and I have access to all data which are not on my SD card (well, I have access to them, but they're encrypted). I think it should be possible to decrypt my files with these two factors. I just don't know enough about Android and what kind of encryption it uses for the external storage locations. It's file based, as I can see every single file on my SD card - I just can't open them. I tried, but they're encrypted and therefore just more or less random bytes.
Android Open Source Project has a some information about the encryption used for the internal storage, but nothing about the external storage.
If you have any idea how to decrypt the files - please tell me
anonymus1994.1 said:
Yes, I can copy them to my computer. I used the Android setting to encrypt the SD card, and I have no idea how to decrypt them manually. I searched for a way, but all I found was "not possible" .
I do have my PIN, and I have access to all data which are not on my SD card (well, I have access to them, but they're encrypted). I think it should be possible to decrypt my files with these two factors. I just don't know enough about Android and what kind of encryption it uses for the external storage locations. It's file based, as I can see every single file on my SD card - I just can't open them. I tried, but they're encrypted and therefore just more or less random bytes.
Android Open Source Project has a some information about the encryption used for the internal storage, but nothing about the external storage.
If you have any idea how to decrypt the files - please tell me
Click to expand...
Click to collapse
Does it ask for a password when trying to open a file? If so enter your pin. And I don't know how to manually, but im sure there is a program out there that can.
Edit: do you have the firmware you were on when you encrypted the files? If so you'll probably have to go back to that...
anonymus1994.1 said:
I did this. The problem is that after removing my PIN, I can't decrypt my SD card anymore because it was encrypted with this PIN. I even tried setting the same PIN as before, but the salt changed, so I still couldn't mount the SD card.
Click to expand...
Click to collapse
Try getting any file manager from play store and change rw/ rw to rw/ ro....see if this helps.
Craz Basics said:
Does it ask for a password when trying to open a file? If so enter your pin. And I don't know how to manually, but im sure there is a program out there that can.
Click to expand...
Click to collapse
No, it doesn't. It just tells me that it can't mount the SD card.
Craz Basics said:
Edit: do you have the firmware you were on when you encrypted the files? If so you'll probably have to go back to that...
Click to expand...
Click to collapse
I saved the system as well in my backup, but after I restored it (wiped everything in TWRP and restored the full backup), I have exactly the same problem as before (it doesn't accept my PIN).
stinka318 said:
Try getting any file manager from play store and change rw/ rw to rw/ ro....see if this helps.
Click to expand...
Click to collapse
If you mean the salt: it is stored in /data/system/locksettings.db. This is the file that has to be deleted to remove the PIN. I tried setting the salt in the new file (created after the first startup of the system after deleting this file) to the old value, but there is no salt at all without a PIN (I tried adding a line with the old salt, but it gets overwritten as I set a new password), and if I change the salt after I set my new PIN, I can't login again.
anonymus1994.1 said:
No, it doesn't. It just tells me that it can't mount the SD card.
I saved the system as well in my backup, but after I restored it (wiped everything in TWRP and restored the full backup), I have exactly the same problem as before (it doesn't accept my PIN).
If you mean the salt: it is stored in /data/system/locksettings.db. This is the file that has to be deleted to remove the PIN. I tried setting the salt in the new file (created after the first startup of the system after deleting this file) to the old value, but there is no salt at all without a PIN (I tried adding a line with the old salt, but it gets overwritten as I set a new password), and if I change the salt after I set my new PIN, I can't login again.
Click to expand...
Click to collapse
Talking about the permission only nothing else.......
stinka318 said:
Talking about the permission only nothing else.......
Click to expand...
Click to collapse
Of which file?
anonymus1994.1 said:
Of which file?
Click to expand...
Click to collapse
The permission to Wright to sd card itself......
stinka318 said:
The permission to Wright to sd card itself......
Click to expand...
Click to collapse
The files are encrypted already. Forbidding write access does not change this ...
My problem is that I have to delete the files which store my PIN code, but then I can't access my encrypted SD card anymore because it's encrypted with this PIN.
I have a chromebook (HP Chromebook x360) with the linux partition installed (official) on stable channel & for some reason I'm suddenly unable to copy anything from the downloads folder to the sd card using the builtin file manager. I'm able to move linux to the sd just fine but only through the terminal. I can't copy files from there either using the built-in file manager. I have had problems recently with chrome os not being able to read the flash drive, but all I had to do was eject it, & re-insert it. It hadn't given an error when trying to copy anything. This just started a few minutes ago. What's strange is that it copies from sd to downloads just fine using the file manager. When I try to create a folder on the sd, it gives me the same error, but the folder is still created.
[edit]
I just tried copying from Linux to sd again & it gave me the error:
cp: missing destination file operand after 'hyper-plugins.txt'
Try 'cp --help' for more information.
The sd also now says 0 bytes available. All files are still showing, on the drive. I just can't do anything with them.
[edit again]
for some reason, it just started working again on it's own. It now shows the available space on the drive, & I can copy files to it. I don't know why it started working again, but I'm glad it did.
tsaxda said:
I have a chromebook (HP Chromebook x360) with the linux partition installed (official) on stable channel & for some reason I'm suddenly unable to copy anything from the downloads folder to the sd card using the builtin file manager. I'm able to move linux to the sd just fine but only through the terminal. I can't copy files from there either using the built-in file manager. I have had problems recently with chrome os not being able to read the flash drive, but all I had to do was eject it, & re-insert it. It hadn't given an error when trying to copy anything. This just started a few minutes ago. What's strange is that it copies from sd to downloads just fine using the file manager. When I try to create a folder on the sd, it gives me the same error, but the folder is still created.
[edit]
I just tried copying from Linux to sd again & it gave me the error:
cp: missing destination file operand after 'hyper-plugins.txt'
Try 'cp --help' for more information.
The sd also now says 0 bytes available. All files are still showing, on the drive. I just can't do anything with them.
[edit again]
for some reason, it just started working again on it's own. It now shows the available space on the drive, & I can copy files to it. I don't know why it started working again, but I'm glad it did.
Click to expand...
Click to collapse
Sometimes reboot the system it's your best friend.
I've rebooted a few times since, but I have an old phone that I try it in & it says it's corrupted, but I wouldn't think I'd be able to see it on the Chromebook. I tried adding the write/remove permissions with chmod, but it didn't work.
tsaxda said:
I've rebooted a few times since, but I have an old phone that I try it in & it says it's corrupted, but I wouldn't think I'd be able to see it on the Chromebook. I tried adding the write/remove permissions with chmod, but it didn't work.
Click to expand...
Click to collapse
You're still with the problem?
Collen_Menezes said:
You're still with the problem?
Click to expand...
Click to collapse
No, I just hadn't checked my notifications for a while, so I was late replying.
tsaxda said:
No, I just hadn't checked my notifications for a while, so I was late replying.
Click to expand...
Click to collapse
Um, ok!