[MOD] External SD access for apps on 4.4.2 - HTC Butterfly S

If you're on the latest version of the stock ROM and have trouble accessing your external SD card, try this mod based on information provided by @daorderdillon in one of the other threads around here... It just gives all apps with permissions WRITE_EXTERNAL_STORAGE and ACCESS_ALL_EXTERNAL_STORAGE (which has been changed to actually mean internal storage) full access to the external storage as well.
Only tested on stock 4.4.2 ROM, installed using TWRP.
http://amerhippus.x64.me/~johnny64/901S/extsd_permissions_fix-4.4.2.zip

Confirmed working on stock rooted rom 901s
Thanks

Just a quick note that this mod applies to the 4.10.708.1 version of stock as well.

Related

[Q] Change internal memory with external one (sdcard)

Hi, incoming wall of text
I'm a total newbie in the Optimus 2x, just got a new one, but not in the world of roms. I had an htc hd2 before. Maybe I think I know some stuff about roms, but the methodology is new and I¡m confused. For example, I have no clue what benefits I get by changing RIL, or how to find which one I have.
Ok, so I bought this phone, which is from vodafone from a guy who installed the stock 10b version. That worked nicely, internal memory was recogniced as sccard and sccard as external sdcard, so no problems at all.
Now however, it seems the phone is using the sdcard as internal memory and I can only access the internal memory from my computer. Also pimpmycpu says the kernel is not compatible with the app, I guess because it's not installed in the actual internal memory partition of the phone
Here are the steps I've done in case there's something wrong:
-From stock 10b I installed SuperOneClick v1.9.5 with debugging mode on and rooted the phone
-Then I installed Recovery 3.2.0.0 and copied the latest CM Rom (v49) and this kernel to the sdcard
-I wiped data, cache and davik cache
-I then installed the rom and the kernel with this exact name vorkKernel-20110616-1080-bc-lecam-silence-boost (no -internal) and the kernel afterwards
I've already read this forum for hours. Any help would be apreciated.
Thanks for the answers
I found that GB uses the external SD as standard, that I misspelled 1080p and silent
Also Upgrading Recovery to 3.2.0.1 (compatible with internal and external memory) helped

[Q] SafeStrap 3.0.x, multiple ROMs, and installing to SD card

Hello,
I've been patiently following this thread http://forum.xda-developers.com/showthread.php?t=1804665 for the past several months. Thanks to the selfless, hard work of Hashcode, dhacker, and also sylentprofet and jarveson (and apologies to anyone I haven't credited), the recent builds seem to have arrived at a level of functionality and stability that I'm thinking of trying to install my first custom ROM (I've already had SafeStrap 3.0.x installed for months).
My question is the following: I understand from the above thread and from Hashcode's blog that now the external SD card will be used as the default storage location. I was wondering what happens when an app is "installed to SD". From my previous experience on an original Motorola Droid, I know that "installing to SD" would move some files to a special directory on the SD card. I was wondering if this would cause collisions if the same app was installed under multiple ROM slots using SafeStrap.
Thank you for entertaining this newbie's question.
Actually the way I understand it is there is still the internal storage and external SD which are the same, but the internal storage gets partitioned separate from the rest of the storage so if you install an app to the SD card, I think it just goes in a regular folder. The system thinks the /system partition is in the regular storage for it but it actually is tricked to the internal storage.
I hope that makes sense.
MrObvious said:
... so if you install an app to the SD card, I think it just goes in a regular folder ...
Click to expand...
Click to collapse
Thank you very much for your response.
Is this regular folder on the external SD card? If so, does it mean that this regular folder will be shared by the ROMs in multiple slots if I have the same app installed under the ROM in multiple slots?
Thank you again.
alvin_a_garcia said:
Thank you very much for your response.
Is this regular folder on the external SD card? If so, does it mean that this regular folder will be shared by the ROMs in multiple slots if I have the same app installed under the ROM in multiple slots?
Thank you again.
Click to expand...
Click to collapse
If it's on the external SD then yes it is.
I had the same doubt when I recently started using ROMs on my Droid3. This thread helped me a lot.
I have lots of apps in my stock ROM that I've installed before rooting it. Do I have to install it all again on external SD? If yes, do I have to use a new flashed ROM or the stock ROM?
Thiago AmP said:
I had the same doubt when I recently started using ROMs on my Droid3. This thread helped me a lot.
I have lots of apps in my stock ROM that I've installed before rooting it. Do I have to install it all again on external SD? If yes, do I have to use a new flashed ROM or the stock ROM?
Click to expand...
Click to collapse
On minimoto I noticed it was using the exact same sd configuration as stock, perhaps because its stock based. On CM10 the external SD card is the default /sd card but you can still access the internal sd.
Regardless of how the sd card is configured you'd still have to reinstall apps when going to another ROM. I recommend using Titanium Backup then its quite simple to restore apps on another ROM. For SD data you could just manually copy and paste the folders from the internal to external SD.
spunker88 said:
On minimoto I noticed it was using the exact same sd configuration as stock, perhaps because its stock based. On CM10 the external SD card is the default /sd card but you can still access the internal sd.
Regardless of how the sd card is configured you'd still have to reinstall apps when going to another ROM. I recommend using Titanium Backup then its quite simple to restore apps on another ROM. For SD data you could just manually copy and paste the folders from the internal to external SD.
Click to expand...
Click to collapse
Thanks! So, a separate partition on SD Card would be a waste of "space", since the ROM's doesn't share acess to this partition. I've only tried with CM10, I'm going to try with MavROM and Minimoto, but i'm almost sure that I'll end backing all up with Titanium.
Thiago AmP said:
Thanks! So, a separate partition on SD Card would be a waste of "space", since the ROM's doesn't share acess to this partition. I've only tried with CM10, I'm going to try with MavROM and Minimoto, but i'm almost sure that I'll end backing all up with Titanium.
Click to expand...
Click to collapse
Sort of kind of. Basically this would be useful if you want to share apps and their settings between the custom and Stock ROMs installed on your phone [may be odd on an app by app basis depending on a few things but a good number *should* work [I dont use external SD as it eats the battery and is MUCH slower than using the /data partition so haven't tested this], so following should be close if not 100% correct
You would in stock ROM set your apps2SD app up [I DO NOT advise you to use the sdcard function found in manage apps>app area instead you should be using an app like Link2SD that actually creates a partition on your external SD and formats it to EXT3 or EXT4 [suggest using EXT4]. This way things like widgets still work whereas they don't when using the built-in android function [this happens as android uses a folder on the SDCard [which is FAT32 by default] and file permissions needed to run Widgets and some code can't be copied as needed on to a FAT32 partition so by using an app that partitions [or the recovery can do this but you would still need an app to manage which apps are in this partion] the SDCard app instead actually formats part of the card to the EXT 3 or 4 File system so it is the same as the /data partion so Android can copy EVERYTHING and nothing is affected and broken.
So you open your SDCard app manager in Stock ROM and format the External SD [THIS WILL ERASE EVERYTHING RUN APPROPRIATE BACKUPS BEFORE PARTIONING [move them to a computer and back if you dont have enough internal storage to absorb your data]]
When that completes open the app again [usually needs a restart first to mount the new partition before continuing].
Once you get that done open the Manager app and select the apps to move to this new partition.
CUSTOM ROM: Now once that is done boot in to safestrap and either setup a Custom ROM or change to it's boot slot. Next boot in to Custom ROM and install the same SD Card App Manager you used in Stock.
Next, once you open it it should say it found a partition and ask if you want to use it if it doesn't and just lists the app view the settings in the Manager app and HAVE IT SETUP AN EXISTING PARTITION. DONT PARTITION YOUR SDCard AGAIN [or all your newly moved data will bite it].
Now restart and allow it to boot back in to the Custom ROM again. Once this happens all the apps you moved to the SDCard partition should magically appear and be usable.
SO LONG AS YOUR STOCK AND CUSTOM ROMs ARE THE SAME VERSIONS DONT DO THIS IF YOU HAVE ICS ON THE SAFE SIDE AND JELLYBEAN AS A CUSTOM ROM IT WILL MOST LIKELY CAUSE ALL KINDS OF PROBLEMS

[Q] Want to flash DjangoManouche X 1.1 however stuck while flashing..please help

Hi all,
I am quiet new in try ROM's. Desperately looking for help/guidance. I am very much interested to try ICS and though of flashing DjangoManouche X 1.1 (NoOC) rebuilded on 30a. Till this morning, i was with Temasek unofficial GB rom.
I downloaded the rom - DjangoManoucheX1.1KoBNoOC.zip but did not move to external SD card. I followed the instructions the below instructions.
1. To change partition layout from old to new (if you come from GB roms) and unlock bootloader using AIO tool by Spyrosk.
2. Flahed New v30a recovery v6.0.1.5 based on v30a kernel.
3. Cleared Dalvik cache.
I could login to recovery without any problems. Now in order to flash new Django's ROM, i need to have the zip file my SD card however i dont have it. How do I install the new ROM now without having it SD card.
I tried CWM sideload to move the zip file however it threw error "adb sideload failed to write protocol fault error". Please help me to move the zip and install this new ROM. I tried using the SD card with a reader in my laptop however it didnt detect (perhaps due to new formatting?)
rameshbitra said:
Hi all,
I am quiet new in try ROM's. Desperately looking for help/guidance. I am very much interested to try ICS and though of flashing DjangoManouche X 1.1 (NoOC) rebuilded on 30a. Till this morning, i was with Temasek unofficial GB rom.
I downloaded the rom - DjangoManoucheX1.1KoBNoOC.zip but did not move to external SD card. I followed the instructions the below instructions.
1. To change partition layout from old to new (if you come from GB roms) and unlock bootloader using AIO tool by Spyrosk.
2. Flahed New v30a recovery v6.0.1.5 based on v30a kernel.
3. Cleared Dalvik cache.
I could login to recovery without any problems. Now in order to flash new Django's ROM, i need to have the zip file my SD card however i dont have it. How do I install the new ROM now without having it SD card.
I tried CWM sideload to move the zip file however it threw error "adb sideload failed to write protocol fault error". Please help me to move the zip and install this new ROM. I tried using the SD card with a reader in my laptop however it didnt detect (perhaps due to new formatting?)
Click to expand...
Click to collapse
Hey i got a way to move the zip to SD card from CWM recovery. I mounted as USB storage from CWM and then my computer detected it without any problems
Btw, i am exploring the ROM. It is butttery smooth and looking great. Thanks Carburano. Happy new year..
you could have also put it on internal card, no need for sd card... works flawlessly...

[Q] Installing apps on KitKat 4.4.4

Hi guys
I've done a fair bit of searching but still cannot find the full and final answer to this question. I'm getting mixed answers which seem to be confusing me more and more.
I've installed Evervolv's 4.4.4 (non DM) on my TP and can install apps but only onto my internal storage. I believe KitKat doesn't allow you to install apps to external storage (i.e. Sd cards), however I believe the SD cardfix that you can download from the play store allows you to fix this.
I've installed it and ran it - which now says all is good but I still cannot seem to install apps to my sd card. I've got 6gb+ waiting to be used whereas I can only install a couple on my internal storage.
Any help would be great. If I need to install another ROM to get this functionality then please let me know which.
Thanks in advance

[Q] Install CM 10/10.1/11/12 Fully on External SD

Hello All,
TLDR
Are there any CM based ROMs that are preconfigured to be loaded entierly onto an external SD? Any kernels/recoveries that have mount points modified for full external SD (not swap)? Any way to do this manually?
Longer Version
About two years ago my i9000 died to the failure of the internal memory. I tried all of the normal recovery procedures but nothing worked so I concluded it was toast and moved on. Recently I thought it would be a good backup phone in the event that found myself between sales of my main phone so I decided to revive it by loading the OS entirely on an external SD. This is a bit of a rabbit hole and finding information that actually worked was quite challenging. Almost all of the threads have to do with swapping internal/external cards to gain memory but I don't want to swap, I want everything on the external card.
Eventually I found build based on XXJVU (2.3.6) that was pre-configured to install (via ODIN) and run off of the external card directly. It works but it's dog slow. The problem is the 3e recovery won't flash anything that isn't signed so I can't move to a CM based rom. And, when I flash another kernel/recovery like speedmod, it's doesn't "know" about my unusual storage configuration so any further flashing fails.
At this point I'm open to any suggestions. Maybe the solution is simple and I'm doing something wrong. As far as I can tell, I need a CWM/TWRP based recovery that has it's mount points modified to the external SD card. I don't care to move all the way to KitKat, I'd be happy to get onto CM in basically any version. At some point along the way (4.2/4.3?) the mount point configuration moved out of vold.fstab and into the kernel which basically requires a kernel compiled specifically for this problem. If it's easier, I'd be happy to run the version just prior to this change so I can edit the mount points manually.
If anyone has suggestions or threads I should be reading that would be helpful. Just to be clear, I am currently using the phone, rooted with 2.3.6 and installed entirely on the external SD.
Thanks
Read this. I don't think there are any preconfigured CM based ROMs for external SD card installation.
Also this is a way to fix your broken internal memory. It might work.

Categories

Resources