Freeing up memory - How do I delete old ROMs & data? - Galaxy Tab 2 Q&A, Help & Troubleshooting

FWIW, before I get berated, I did do a little searching.
In any case, I'm currently quite low on my tab's internal memory, and I'd like to free up some space.
I'm running AOKP's JB, and I really, really like it. Prior to this, I tried CM9, which I didn't like as much for my tab as I did on my phone. In any case, with what I suppose must be 3 ROMs (stock, CM9, and AOKP) now, along with some backups, etc., I'm really running out of space!
I tried deleting some of the backups I thought were unnecessary, and browsed files & folders for junk to remove, which amounted to very little.
I recall, previously, when I was using CM9 and adjusting my settings that most of my internal space was being used by "miscellaneous," and that within "miscellaneous," CWR was by far the biggest culprit, using, IIRC, more than 2gb. I figured it must be the backups I had made. However, I only have 2 backups left (that I know of), and now that I'm running another ROM I see that I have even less space remaining. I have also noticed that when I have flashed a recovery, EVERYTHING is recovered. I have also noticed the availability and accessibility of some app files & folders from previous ROMs. Thus, I imagine that all of the files & apps are potentially still stored on the device, and so I believe this is what is taking up the most memory.
Since I'm happier with AOKP at the moment, I would like to remove CM9, and the stock ROM as well. My only concern and question (besides how to go about this) is with regards to my latest recovery. Can I safely remove everything with regards to CM9 and the stock ROM even if my only other backup is into one of those ROMs?
Finally, how exactly do I go about this?
I'd be glad to reward whoever takes the time to help me understand and get through this via a PayPal "donation." The more detailed and thorough, the easier it will be for me to understand, as I'm obviously a noob; and this will also go a long way in how I measure the reward.
Thanks in advace!
Sent from my p3113 using xda app-developers app

Whenever you installed the rooms, did you first wipe the system drive of old data/cache?
You shouldn't still have the old system files on the drive.
Sent from my Desire HD using xda app-developers app

I did at times, but perhaps not every time.
Sent from my p3113 using xda app-developers app

When I go to System Settings > Storage - it shows that for Internal Storage, the Total Space is 4.59GB, of which is used:
Apps 394MB
Downloads 204MB
Available 851MB
I've noticed, in the past, and with ICS, there were more categories listed here, as I made mention above regarding the "Miscellaneous"category where I was able (in the past) to notice that much space was being used up by CWR. I don't know why these aren't being displayed anymore.
It seems to me that more memory is being used somewhere, and the system isn't telling me about it - Perhaps because it is partitioned off for one or both of the other ROMs and, so it is unaware?
Sent from my p3113 using xda app-developers app

in order for most of the roms to work without bugs, you would need to have cleared the data/cache.
I'm assuming you have the 16gb tab?
Furthermore, backups can be up to or over 1gb each.
I don't know how much media you have, but I noticed that pictures were taking up a huge part of my storage, so I got image resizer for windows to compress them. It went from about 3gb of space to a couple hundred mb (sorry if this doesn't apply to you).
The ROMs are also different sizes depending on what is packed with them. For example, there's a 200ish mb difference between my stock rom and Ice Cold Sandwich (AOKP).
Sent from my Desire HD using xda app-developers app

tuoggy said:
Whenever you installed the rooms, did you first wipe the system drive of old data/cache?
You shouldn't still have the old system files on the drive.
Sent from my Desire HD using xda app-developers app
Click to expand...
Click to collapse
Is it possible to do a retro-wipe of the data/cache for the previous ROMs, or will it wipe the data necessary for my current ROM as well?
Also, what exactly does this data/cache entail or include, in case I would like to try and preserve anything beforehand?
Sent from my p3113 using xda app-developers app

tehrectifier said:
Is it possible to do a retro-wipe of the data/cache for the previous ROMs, or will it wipe the data necessary for my current ROM as well?
Also, what exactly does this data/cache entail or include, in case I would like to try and preserve anything beforehand?
Sent from my p3113 using xda app-developers app
Click to expand...
Click to collapse
If you are installing the ROM through CWM, one of the options is to delete the data and to delete the cache. This will basically wipe the device, so it's a good idea to do a complete backup and copy it to your micro-sd card or computer before you do this. I would also recommend getting Titanium backup for your apps (the pro version is worth the $6, trust me, it's saved me hours).
Now having said all that, an 8gb drive is really small for a tablet that you are going to use a lot, and I promise you will continue to run into this problem no matter what you do. I would highly recommend grabbing a 32gb micro-SD card. You can pick one up on Amazon pretty cheap.
Once you do that, you will be able to move the apps to the SD card. I recommend Super Box for this, it's not necessary, as you can do everything within the app settings, but it has a nice intuitive interface, and it quickly shows you which apps you are able to move.
In all honesty, I wouldn't do anymore ROM installations until you have a big Micro-SD card so that you can make sure that everything is backed up.
I hope I'm helping...

In all likelihood, I did do the necessary wipes since I haven't run into any problems flashing.
While I do only have 8GB of internal memory, I do have a 16GB external SD card. Also, I have no media stored on the internal memory.
I do have titanium backup pro, though, I've never bothered learning to use it because I didn't really have the need, nor know what I should use it for; now I think I am beginning to understand - as I have just started flashing ~1 month ago, and the reinstallation & reconfiguration of certain apps and settings is becoming tedious.
In any case, I realized that my latest backups were being stored internally, rather than to my external SD card. The only way I can seem to manage to do a backup to my external SD card is in CWM Recovery mode. Perhaps, I'm overlooking an easier way within the CWM or romtoolbox apps?
I now realize the primary utilities of both tools, as well as titanium backup which I will begin to familiarize myself with ASAP.
OTOH, I do still have this current issue of limited memory, even after I deleted all backups stored internally, and wiped my data, cache, and dalvik cache a few times each. I also realize that my apps consume some space as well, and I will try out the app you mentioned since I have been unable to move any of the apps over to my external SD card. Albeit, I had only downloaded just a few apps with the latest ROM I was running.
Nonetheless, and despite taking the aforementioned steps above (performing the wipes & deleting backups) , I'm still missing about 3.5GB of space, which I assume is partitioned off and being used by the other ROMs? How do I access this space to remove all of that data?
Sent from my p3113 using xda app-developers app

tehrectifier said:
Nonetheless, and despite taking the aforementioned steps above (performing the wipes & deleting backups) , I'm still missing about 3.5GB of space, which I assume is partitioned off and being used by the other ROMs? How do I access this space to remove all of that data?
Sent from my p3113 using xda app-developers app
Click to expand...
Click to collapse
just an idea, never done this my self (i'm also a noob )
if its about partition, i remember there is an option to repartition a device on odin
by what i have read about that option, i get an understanding that odin will recreate the whole partition table, therefore wiping your partition clean and create necessary new partitions
i also think that not every ROM could be flashed through odin, so i think you should flash stock odin friendly ROM then reflash your favorite ROM
then again, this is just an idea, not sure if its applicable

You should flash the stock rom using Odin then reroot and reflash the custom ROM again. I have never had ROM space issues.

seems you have p3113 with only 8GB on it.
mine have p3100 have 16GB internal storage, and other version have 32GB storage.

p3113owner said:
You should flash the stock rom using Odin then reroot and reflash the custom ROM again. I have never had ROM space issues.
Click to expand...
Click to collapse
I would second this. I'm not sure why you would be having space issues like this.
Just make sure that before you do the ROM installation, you do a full wipe in CWM. This should take care of any partitioning issues you may have.
After that, just make sure you have your apps, backups, and extra media on the SD card.
Sent from my Transformer Prime TF201 using xda app-developers app

p3113owner said:
You should flash the stock rom using Odin then reroot and reflash the custom ROM again. I have never had ROM space issues.
Click to expand...
Click to collapse
Dang. This is what I was thinking about doing yesterday, only I was hoping there was an easier way.
I will have familiarize myself with Titanium backup, and it looks like I've got a good reason to do so, now.
Sent from my p3113 using xda app-developers app

Get DiskUsage app from Play Store.
Good Luck!

I have the same issue. I am running AOKP JB Milestone one and it says's I have a total space of 4.59GB. So I am also wondering where my extra GBs are located. When I installed AOKP I made sure to wipe everything and deleted all apparent backups, I even formatted the SD. So where is the missing space?

Alright, after fooling around and doing a fresh install of AOKP I have learned the following.
{
"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"
}
As you can see in the screen shot above I appear to only have around 4GB usable for apps, movies, etc. The "missing" GBs are reserved for system files which as you can see barely use any of their reserved space.

Related

Data2ext get more room for apps.

Ive been looking for something since I got this phone. Today with just system apps and 20 user apps on the internal partition I ran out of space yet again. So off to search google and I found this.
http://forum.xda-developers.com/showthread.php?t=1342387
What this will do is create a link from /data/app to a created partition on your sd card. It can move dalvik and a few other things to the /sd-ext partition.
I created a 1 gig partition and I have over 300 megs left for apps. I dont forsee a problem in the near future.
Good find. I'll need to check this out.
I just glanced at this briefly, but isn't this the same as app2sd which our phones already have? Or do o need to look at it closer? Lol
Sent from my SGH-I727 using xda app-developers app
Look closer!
Appps2SD isn't compatible with all apps, and it doesn't move the whole app.
Data2ext moves the whole thing to sd partition as well as all dalvik cache.
Good find eollie I yesterday saw this script that let's user fix the "low storage" this script works for our with cm9, aokp and nexus beam(haven't test the other roms)
So if you guys test with data2ext here's the link http://forum.xda-developers.com/showthread.php?p=26375859
Sent from my SGH-T959V using Tapatalk 2
Huh, I have 100+ apps, and lots of free space!
And all of them are 2mb +
I go to settings and manually move unmoved apps to sd card. For some reason CM isn't doing it automatically
thomas.raines said:
I just glanced at this briefly, but isn't this the same as app2sd which our phones already have? Or do o need to look at it closer? Lol
Sent from my SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Like airflip said read closer. This does more than just move the app to the sdcard. It fools your phone into thinking it has a larger /data partition and also moves a lot of stuff to the /sd-ext partition and sym links it back to the /data partition.
Im going to try this for a couple days and make sure it doesnt give me some wild errors.
Airflip I had a lot more apps installed when I was on stock roms. But cm based roms seem to fill the data cache up super fast. Atleast that is what I can figure out. The "app" I linked to has a option to fix the cm based data issues. I havent enabled it yet want to read up on it more.
Are your apps on SD? On CM9 I have a lot more storage than kj6.
Sent from my SGH-T959V using xda premium
{
"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"
}
Woops posted the wrong picture initially. See how much free space it says I have?
Sent from my SGH-T959V using Tapatalk 2
Hi eollie
This looks amazing.
I hate it when I restore with TB and have to push apps one by one to sd card, to spare space and not all apps like it (dropbox) ..
I will definately test it on my next ROM flash.
sent from me
I dont suggest turning on the cmdalvik option or swap. Both of those made me extremely laggy. So far no issues.
Hey eollie,
This brings up an interesting discussion.
I've been thinking about moving to the SGS/Aries partitioning scheme.
MTD:
0 = boot (kernel)
1 = recovery (not usable... Maybe steal this space for system)
2 = /system
3 = /cache
4 = /efs
5 = /radio
6 = /datadata (mounts to /datadata which is symlinked to /data/data)
7 = reservoir
SD:
1 = /sdcard
2 = /data
This would of course mean that those with bigger sd cards will have more room for data.
Let me know what you think.
Sent from my SAMSUNG-SGH-I717 using xda premium
Basically it would work kinda like this zip does then right?
For this zip to work you have to have a ext2/3/4 partition.
Would adding data to sdcard work on the native partition?
The reason for needing the ext partition is it is much faster than the fat partitions.
Im all for giving people more rom for apps without having to flash apps and zips.
bhundven said:
Let me know what you think.
Click to expand...
Click to collapse
Yes please. I would really like to see this.
This phone's lack of internal memory drove me to buy a 32GB SD Card (Sandisk, ebay, fastest, claimed to be 'special for Android apps & games', for only 32$).
Looking forward towards this implementation.
sent from me
That scheme is confuzzling me.
So, /datadata is the same as our current data, but only important stuff like dalvik and etc will be there.
/mnt/sdcard/data is real data that the system will think is an internal data partition right?
/mnt/sdcard/SD is SD card right?
If I am right, boot will be faster, you will rarely run out of sd space unless you depleat sd card, if you pull out your sd card, then you will have no data partition, but sd mount from SystemUI will just mount /mnt/sdcard/SD right?
And in a perfect world, only apps will be there and not settings data which should remain in /datadata because if you boot without sd card, then phone will reset every time and ask to sign in, but then again, it'd look for a non-existant symlink and phone would still reset.
But won't widgets and other downloaded home replacements take forever to load? Or is there a way to move an app to /datadata?
In a way it's good cause you won't need apps2sd to auto move without the fear of low internal space.
Bad: Just like apps on Sd card that take 2-3 minutes to populate on app drawer, this would be consistent for all downloaded apps. Unless it mounts sd during boot proccess.
---------- Post added at 02:11 PM ---------- Previous post was at 02:08 PM ----------
This reminds me of my G1.
Swap partition wouldn't allow me to boot w/o sd card.
That is why a ext 2/3/4 partition is used because android read them faster. They are native to the os. I have only noticed problems with things when the sdcard used is a cheap four dollar one you find on ebay.
Basically what he is looking to do is build this .zip into the rom natively. Right now the only problem with this is a permissions issue. But other than that is has worked on other devices just fine without problems. Hopefully the permissions will not be a issue once we can move to mtp insteadof mass storage like bhundven is hoping for.
What is mtp?
Also, this will change the phones mounts completely, not just inbuilt zip. Resulting a new recovery.fstab, and new twrp requirement.
Sent from my SGH-T959V using xda premium
airfluip1 said:
What is mtp?
Also, this will change the phones mounts completely, not just inbuilt zip. Resulting a new recovery.fstab, and new twrp requirement.
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
MTP
Ill defer the rest of those questions to bhundven.
SO... I assume that the under MTP, /mnt/sdcard/SD will be mounted, but we will still be able to use it as a normal transfer method for roms and such not just media, correct?
Also, thanks for not sending me to LMGTFY despite my laziness in not googling it for myself.

SOLVED: Jellybean now on my GT-P5113 tablet, all internal sdcard storage is gone.

Hey Guys,
Wow, the filesystem of AKOP is a LOT different than stock, rooted touchwiz Samsung ICS filesystem!
My current ROM came from these instructions and these two packages:
Install CM10.1 based Android 4.2.1 update on Samsung Galaxy Tab 2 10.1 GT-P5113
cm-10-20121130-EXPERIMENTAL-p5110-CODEWORKX.zip
gapps-jb-20121130-signed.zip
Look folks, I know this is a lot to read. I am sorry but I have 5 questions that I really need answered. Please speed read or just tell me what you know. Please!
Why is my 16Gb of internal storage down to 507Mb free?
What can be removed from internal storage to make more room?
"Settings, Applications, Developer, and check USB Debugger box" is NOT in Jellybean, how to enable it?
I am using cm-10-20121130-EXPERIMENTAL-p5110-CODEWORKX.zip. Is there a newer, better JB ROM for me that is stable and will not "break anything"?
Does this mod contain a screenshot app or must I install one?
Remember I was telling you that I could not get Milestone JB to install on my tablet. Well, I found some different instructions here: Install CM10.1 based Android 4.2.1 update
And this worked perfectly!
One issue that I am having is with Titanium Backup. I keep getting this message:
"System settings may cause problems. Go to Settings, Applications, Developer, and check USB Debugger"
There IS NO SUCH option in Jellybean. The Settings/Apps options only lists the applications; downloaded, running, and all. It shows all of this being in Internal Storage, 11Gb used, 516MB free. I cannot restore all of my apps, I have no more room to install anything. This is the same device with same internal 16Gb sdcard and 32Gb ExtSdCard. There are NO developer options in the Cyanogen ROM that I installed. Is this a real problem or is there a hidden option or workaround for it?
Picture of the About Device Screen:
{
"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"
}
Now this worked like a charm. No problems at all and I really like Jellybean. I also installed the corresponding gapps zip and all is well. Deleted the cache and the dalvik cache and went clean. Of course I did a CWM backup first and did all of this in CWM ROM Manager. I am really happy with all this and I think there are updates that are better as this is from November and is labeled as EXPERIMENTAL.
There is now another one, the gapps is a file called: gapps-jb-20121212-signed.zip I did update with CWM but did not get the gapps so I had to restore. This Cyanogen ROM is nice but the filesystem is different. sdcard is in root AND under /mnt. /mnt now contains 7 folders. extSdCard is also under root and under /mnt.
asec
extSdCard
obb
sdcard
secure
shell
usbdisk0
Both sdcard (internal) lead to the same location. Both sdcard folders appear to be the same, not sure how to tell with ES File Explorer Properties. Both of them are called "Folders" and appear identical. No mention of symlink or anything else. Do I have duplicate of the same storage device?
One serious problem I have is that all my internal storage is all but gone. I can only restore about 30% of my apps without data before I run out of room. I DO have a 16GB external SDcard where I keep my pictures, personal files, and many installed apps have the option to move to SDcard by ZDbox or Android Assistant. Now I have a serious storage problem. I cannot install all my apps "because there is no room on card".
Internal Storage shows a big bar graph, about 30% is used up by the color bands listed below, over 60% is dark gray and what I assume to be available. All categories are colored bands on the bar graph.
Settings/Storage does list my two cards, what size, and what is free and used.
Internal Storage Total Space = 11.87Gb. Available = 525Mb
Available = 525Mb
Apps = 625M (app data & media content)
Pictures, Videos = 692Mb
Audio (music, ringtones, podcasts, etc.) = 853Mb
Downloads = 226Mb
Cached data 18.76Mb
SD Card Total Space = 14.53Gb
Available = 3.02Gb
Here is a picture of my Storage Settings View:
This AKOP stuff is GREAT, but where did all my internal storage go? I have sdcard duplicated, The bar graphs tell me nothing about where are all the additional gigs of space, and I cannot restore most of my apps because there is no more room.
I really love this and want to keep it but I need some room back on my card! When I wanted to restore from CWM, Touch or even regular, no backups could be found because they were on the internal card where CWM put them, yet all I could access was the extSdCard. I could choose to mount the internal sdcard, from CWM boot menu, but it would NOT mount, thus the backups were not available. Is this an issue that I can fix or should I copy ALL backups to the extSdCard?
Just checked Properties in ES File Explorer on the /sdcard (Internal) Shows as "Folder". Size 3.86Gb. How can I check this internal card and get my space back? Let me check in ESFE my extSdCard "Folder" size while I am at it. 11.6Gb.
Please, give me some insight!
Can you guy give me some ideas or help please? Thanks!
Well, I got my answer, sort of. This build of jellybean just plain sucks. I recently got up the balls to install jellybean on my Droid Razr Maxx. This is something I was really cautious of doing. It is one thing to mess up the tablet, I can live without it for a week if I mess it up, but the phone is my business, phone, everything and I cannot be without it. Too risky to try, especially after this snafu of a ROM with this tablet. Too many bugs. Audio jack and loss of audio and voice typing over the jack. Constant nag screens when headphone jack plugged into AUX jack on car. And the worse thing ever, all of my SD storage is just, ...gone. Out of 16Gb space, this should take not even ΒΌ of the space, yet I have maybe 528Mb free space. When all calculations are done, they do not add up at all. The space just "disappeared". I cannot install any apps larger than 500Mb and only one if that. No room for a picture or anything. Totally unacceptable, this ROM is ah, "not so good".
So I went "ROM shopping" for the phone and found 3 different sources for the 4.2.1 jellybean ROM and downloaded all of them with instructions. One uses CWM to wipe cache, wipe dalvik cache, factory reset, put zips for gapps and system on SD card, use CWM to install and do all processes. TOTAL FAILURE! I bricked the phone!
Other ROM was CM 10 with CWM, did not try it. And last but the best and what saved the day was an all in one script for Windows, Mac, or Linux. Came with 4 options.
1 Flash Official Jellybean Firmware (Wipe Data)
2 Flash Official Jellybean Firmware (No Data Wipe)
3 Razr Blade: Motorola Droid Razr 4.1 Root Exploit by djrbliss
4 Install Safestrap & App by Hashcode
Use AP FastBoot Mode, USB to phone, run script in Linux, option 1 to get new system. Option 3 got my root back. After that, installed CWM and Titanium Backup to get everything back plus my Google accounts. Now this version of jellybean rocks and kicks total stinking behind off the planet. NO bugs, NO problems, Nothing wrong with it at all, everything works, and the storage is normal and just fine.
So, I am off to go ROM shopping for the tablet again to get it right this time. I wish this script would work on the tablet. This is what I used, now I really have to find something like this for the tablet.
[SCRIPT] DROID RAZR Utility XT912 Jellybean -- Windows + Mac + Linux (All In One!)
Cheers mates. All is not lost, we will get this right!
BIG Help
Update: 4/1/2013
Uhm, for Developer Options, go to Settings, then About Tablet. Tap the Build Number 7 times. Now you have Developer Options added and can turn on USB Debugging.
This dude got the missing storage problem, SOLVED, spot on! Follow his directions, step by step, and you get all of your storage back. Yeah, you will start over, but Google put ALL my stuff back in less than 30 minutes. This really, really rocks. Follow link below. I will re post his instructions just for convenience, but take no credit for this fantastic and very helpful post by Rated RR. Quoted text is posted in blue.
Get your Storage Back!
Reclaiming Lost Gigabytes
If you feel you've lost internal sdcard space to the unknown, and you don't mind starting over, then follow the next steps:
1, Go to recovery
2. Mount /sdcard
3. Format /sdcard
4. Wipe data/factory settings
5. Reboot system
6. Check-up your Settings > Storage if everything went fine (see Note 2, below)
7. Restore your Google account, and set back until all your apps are reinstalled by Google Play.
Notes 1:
Running the factory defaults option through CM GUI settings WILL NOT reclaim your lost SDCard space.
No CM ROM/kernel will be lost of course, only your customizations (with apps).
It seems GApps will be intacted as well.
Notes 2:
If everything is fine you should have free around 12GB for a 16GB version, assuming you have partitioned to 4/12.
Okay, that was him. This is me. I hope this helps, *somebody* had to try and help and finally, it is here.
Edit: Here is a screenshot of my storage now. As you can see, it really is working.
funny, this has been driving me crazy.
i did a search and this came up. worked like a dream.
funny how that search thing works huh
DangerChicken said:
funny, this has been driving me crazy.
i did a search and this came up. worked like a dream.
funny how that search thing works huh
Click to expand...
Click to collapse
Yeah man. We cannot find it because the dude put it onto a very last page of a long, ongoing thread. This is SO important that it should be in it's own help post. If he does not do it, I will, giving proper credits, mind you. If my post helped you, please click the Thanks button. Ciao!

External SD as Internal SD on Photon Q 4G LTE 4.1.2 OTA

I take no credit for this, but I don't see anything on the Photon Q threads here really detailing how to do this or confirming that it works.
From forum xda-developers com showthread.php?t=2229848
Courtesy of ZaYAC-ua (forum xda-developers com member.php?u=2303983)
Mount the external SD in place internal SD.
Option for editing via Root Explorer
Go to the folder "System" to set it right R / W.
Find the file "build.prop" and open it as a text.
Find the line "persist.fuse_sdcard = true" (in the middle of the file)
Change the "true" to "false". It turns out "persist.fuse_sdcard = false"
Save and exit. To turn off the simulation data/media on the internal SD
Go to the folder "/system/etc" and find the file "vold.fstab"
Separates it as text.
Find the line "dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host"
Change the "1" to "0"
Add the line "dev_mount external /storage/sdcard1 auto /data/media"
Save and exit. Now External SD card is mounted in place internal SD.
Restart.
Click to expand...
Click to collapse
I've done this to mine and the only side effect so far is the loss of ~4GB of internal memory that didn't swap (if someone could figure that out it'd be nice to have I guess). However, I now have my full 32GB SD card as the "internal SD" instead. There's risk involved here, loss of data if your SD card corrupts being the biggest worry. However I need that space available for apps. The first time it filled up, I knew there was something wrong. I have a little over 3GB of music that I keep locally on my phone because I frequently go out of service areas and 4G isn't quite online here in Detroit just yet.
Some other things
- You need root (I used Motochopper from droidrzr com for simplicity)
- I used AntTek File Explorer from my phone to make the changes. Other methods work, but see post #8 in that thread for exceptions
FIRST DO NOT drag files from phone to PC modify them then place back on phone this corrupts files result no Boot!!
Second ROOT EXPLORER would not modify files no matter what I tried yes I,m aware of RO RW and so on.
Third Download ES FILE EXPLORER Brilliant APP for file access, connecting to your LAN and seamless transfer of files between Phone and PC
oh yes and Editing system files.
- Tested on current OTA 4.1.2, CM users need the other process from that thread.
- I still had to symlink to get Google Play to dump onto my SD card. ROM toolbox pro made that pretty easy with it's shortcut function.
doesn't work on cm10.1
I've done this method since I was using Atrix HD. It will work on any Moto Qualcomm devices with JB 4.1.2. First,you should edit build.prop to turn off data/media. The rest is editing vold.fstab. But,it won't work on any CM10.1 based ROMs coz different mount point of storage. You can use the whole internal as storage for apps and the whole external sdcard as internal sd so that you can have a lot of huge game data.
huatz84 said:
I've done this method since I was using Atrix HD. It will work on any Moto Qualcomm devices with JB 4.1.2. First,you should edit build.prop to turn off data/media. The rest is editing vold.fstab. But,it won't work on any CM10.1 based ROMs coz different mount point of storage. You can use the whole internal as storage for apps and the whole external sdcard as internal sd so that you can have a lot of huge game data.
Click to expand...
Click to collapse
In that case, i'm switching back to 4.1.2.
I also read your post "http://forum.xda-developers.com/showthread.php?t=2231480". Does this works for the photon q @ cm10.1 as well ?
GoodWiesKapot said:
In that case, i'm switching back to 4.1.2.
I also read your post "http://forum.xda-developers.com/showthread.php?t=2231480". Does this works for the photon q @ cm10.1 as well ?
Click to expand...
Click to collapse
For CM10.1,there's an init.d script by Younggun. It works but I haven't tried it yet.
Sent from my XT912 using Tapatalk 2
huatz84 said:
For CM10.1,there's an init.d script by Younggun. It works but I haven't tried it yet.
Sent from my XT912 using Tapatalk 2
Click to expand...
Click to collapse
Care to share the link for younggun I could not find any.
aviwdoowks said:
Care to share the link for younggun I could not find any.
Click to expand...
Click to collapse
Here's the link : http://forum.xda-developers.com/showthread.php?t=2270545
I tried this out, and it worked!
Here's a screenshot of my 64 GB SD card as internal storage.
{
"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"
}
I wonder if it is possible to boot from external sd card, when internal sd cards partition table is messed up. Will the photon try to boot from the external sd card then?
Nope (Secure boot).
Skrilax_CZ said:
Nope (Secure boot).
Click to expand...
Click to collapse
Any idea why the younggun... cm 10,1 script won't work on 422 roms for a xt907? See also my post on the ATRIXHD thread above.
How about using Link2SD app rooted? That seemed to solve the issue for me.
CM10.1 and CM10.2 ported by Skrillax has storage swapping option. It's much better.
Sent from my XT897 using Tapatalk 2
ZenInsight said:
How about using Link2SD app rooted? That seemed to solve the issue for me.
Click to expand...
Click to collapse
App2SD is not supported on photonq
CornholioGSM said:
App2SD is not supported on photonq
Click to expand...
Click to collapse
Correct. But I did not say anything about App2SD.
I stated to use Link2SD, which requires a dual formatted microSD card with both partitions marked as Primary. Link2SD can see the secondary one, and send data from apps, even system apps, to that hidden partion.
Trust me. It works. I am using it now.
ZenInsight said:
Correct. But I did not say anything about App2SD.
I stated to use Link2SD, which requires a dual formatted microSD card with both partitions marked as Primary. Link2SD can see the secondary one, and send data from apps, even system apps, to that hidden partion.
Trust me. It works. I am using it now.
Click to expand...
Click to collapse
I used to use Link2sd on my Motorola Charm. It worked great. But,it can't store game data on SD. Only apk,cache n dalvik which can be linked to SD.
Sent from my XT897 using Tapatalk 2
huatz84 said:
I used to use Link2sd on my Motorola Charm. It worked great. But,it can't store game data on SD. Only apk,cache n dalvik which can be linked to SD.
Sent from my XT897 using Tapatalk 2
Click to expand...
Click to collapse
Hmmm...that's odd. I am playing "Waking Mars" and it worked fine on Link2SD. Mine show that
Application file
Davlik-Cache
Library Files
Can all be linked. I would assume, and by looking at the less data usage, that Library files are the main file data that takes up the most space.
But, I'm not an expert.
I think there is a program out that that reverses the external and internal SD card usage. But that might not be a safe solution either.
....i have found better way...search xda for Directory Bind.
I have test it with Re-Volt game (approx 100mb) and it works
Oh, Re-Volt exist for Android too? Great.
Link2SD - Issues from Xperia pro not on Photon Q?
ZenInsight said:
How about using Link2SD app rooted? That seemed to solve the issue for me.
Click to expand...
Click to collapse
Hi,
on my Sony Xperiy Pro (Android 2.3.4) I used Link2SD for a long time - until I had to reboot the phone some times.
After each rebooting, a lot of important apps were missing, and everything was a big mess. It took me 2 days to get it working again - until the next reboot.
Finally I found out:
Link2SD did a great job with linking DEX-files and apk-files to the third partition. That worked great.
But when rebooting the phone, some weird services of android (or: Sony?) did a kind of cleanup:
All .dex files were created freshly on the small internal partition. Each time this took about 10 to 15 minutes - until this partition run out of space. Then this process seems to have been stopped and the rest of the apps were missing. This problem could not be solved by a simple relinking in Link2SD...
So my question is:
Can I use Link2SD on my Photon Q without having to care for enough space for dex-files on the internal partition? I'm using the original Motorola Android 4.1.2.
Thank you.

[Q] SCH-R530U Complete make-over NEED GENIUS**!!!!

I have a SCH-R530U US Cellular GS3 running on JB 4.2.2 with AOKP's mr1 build 5.
Kernel: 3.0.67-aokp-00038-g5a02406
I'm bored of this ROM and want to try Liquid Smooth for the features and hopeful battery life extension. I have been trying to get my phone back to stock EVERYTHING every couple weeks for the last few months now, and have not found any stock rom/kernel files that do anything other then brick my device into a hard boot loop. I have a NANDROID backup, so all is not lost, but I'm just so sick of not being able to find ONE file that will give me stock kernel and stock ROM so I can try a new ROM with new features and speed. I would flash LS over the AOKP build, I just haven't found any info on whether or not the ROM is compatible with my kernel, or if that's even an factor and Iv freaked out too many times over thinking my phone was F$*!ed to be that ballsy in trying something without having exact instructions or some sort of literature/video. So Id rather be safe then sorry and start completely fresh.
Also to get rid of all the non-sense i have on my phone from flashing tons of files to get rid of AOKP, and not knowing how to delete them.
The other issue. My SD card isn't recognized by anything. I cant move apps to my SD card with any app out there, the file is emulated and what i think happened was somehow, I ended up with two SD card files, and they have mixed files in them. So being as newb as I am, idk what files i need to keep in order for proper functioning of my phone and which I can delete, so i can move apps to the SD card and pictures and all that stuff to free up space on my phone. Im more then willing to delete everything on the card, but that wont fix my unorganized internal file clusterf$!*#.
Iv seriously being looking for months, downloaded ADB toolkit to try and get stock back that way, but just another boot loop.
TL;DR
1. Need stock ROM/kernel files for my version that will actually work and not bootloop me.
2. Can any ROM be flashed over any kernel, or are there restrictions with specific ones?
3. How can I fix my SD card problem (not recognizable by any App2SD app; literally none -says my SD card is emulated), with messed up internal files?
PLEASE HELP!!!!
Through your recovery do a full wipe (system, data, cache, dalvik) Sounds like you want to wipe your internsl sd too? Depending on where you keep your info you can wipe your internal SD but it's not necessary.
When you flash a ROM it will come with it's own kernel so you don't have to worry if a ROM is compatible with your kernel. Just make sure you flash a ROM that is compatible with US Cellular.
Sent from my SCH-I535 using xda app-developers app
Thank you for your reply, honestly.
I vaguely remember doing a full wipe (system, cache, delvik, and data) and it not fixing the issue. But, I will try again. I'm more concerned about my SD card issue and all the messed up files. Will wiping all this fix that? Using ES explorer, I have about six /0 files... Idk if you know much about that, but from what I've learned, within that ONE /0 file, there should be storage for my SD card (data/media) and of course, there's nothing there. So, do you think or do you know that doing a full system wipe will remedy the problems? No tone intended, not trying to be a jerk, simple curious for the future.
Just format the SD card. Wipe everything off if your comfortable with losing the info. You can save important stuff top your CPU if necessary.
Sent from my SCH-I535 using xda app-developers app
Won't formatting the SD card just erase everything anyway? This would fix my "corrupt" file issue though, correct? The multiple files and unoraginzation?
Sent from my SCH-R530U using xda app-developers app orginized
Yes formatting it will completely wipe it.
Sent from my SCH-I535 using xda app-developers app
And that's something I can do through my recovery, yes?
Sent from my SCH-R530U using xda app-developers app
I'm using TWRP and it can be done though recovery.. wipe > advanced > check sd card
Just backup anything you want to save
Sent from my SCH-I535 using xda app-developers app
Will responded with results later tonight. This stuff always scares me... Gatta risk it for the biscuit though.
Sent from my SCH-R530U using xda app-developers app

[Q] Thinking about porting CM to the Pantech Element. Many questions.

Hi folks, I'm new here and new to Android/CM development. I have some goals that I will outline below and a whole bunch of questions about CM development. Hope you can help answer some or all of them!
I have a Pantech Element (P4100). It's not a bad budget tablet for it's day (2012/ICS) but I think it could be a lot better with the right ROM.
GOALS-
Gain more space for applications and their data on my Pantech Element. This device has about 1GB available for apps and data that can't be placed on the internal "media" partition or the external SD card.
Move up to a newer, more modern version of Android. More responsiveness, move functionality (Google Now would be nice.)
Remove bloatware AT&T apps.
[*}Learn something new.
WHAT I HAVE:
Pantech Element with official ICS update applied, rooted, with TWRP installed
Ubuntu 12.04 VirtualBox environment with Android dev tools, cyanogenmod Jellybean for Pantech Burst downloaded from github
TWRP backup of system, data, cache , boot.
Linux experience - both as a user and programmer
I have found the following resources:
Pantech Burst kernel and device tree in github (The Burst phone is a close cousin of the Element)
Pantech Pororo (=Element codename) kernel and device tree - nonworking? abandoned? in github
Insecure boot.img from somewhere on the web.
build.prop and partition map from my device
QUESTIONS-
How best to accomplish all of the above goals? I am assuming that a port of CM10 to the Pantech Element is my best option, as it would give me Jellybean and the possibility of using sd-ext for app storage (true?) but I'm open to looking at other options.
I'm not sure if it is necessary to build my own kernel as part of a CM10 installation. Seems less risky to use the stock kernel. Any reason why I would not want to use the stock kernel? Any issues with using the built-for-ICS stock kernel with JB?
I really, really need to avoid bricking this tablet. Anything I can do to brick-proof my development efforts beyond the TWRP backup I have done already?
Thank you for your help!.
34 views and no responses.
I sure hope you do
I really have nothing to offer except encouragement. I'm a pretty advanced user, but no dev. I also have a rooted, unlocked, TWRP equipped Element, just dying for cyanogen. (which, btw, I wasn't sure from the topic that's what you meant, when I see "CM" I think Clockwork Mod, maybe why your topic isn't getting hits, I dunno)
I've tinkered with mine quite a bit, using secret code revealer to turn on tethering, and then...the framework thing, I forget the name...XTerra? Xzibit? Xience? whatever, to change a few things. ROM toolbox to change some others, like the start-up animation and sound. (mine plays "Bad Moon Rising" instead of stupid AT&T jingle on boot-up, it's awesome) Lucky patcher and a modified, uh...this and that. Etc, etc.
Also, I have a HEAVILY modified rooted, rommed Samsung Continuum running Gingerbread (that phone never got any update past Froyo) my point is, I'm not afraid to mess with stuff. I have zero advice for your porting, but I'll try it if you figure it out :good:
Element
I also have no experience to help you but we do need a new ROM for the Element P4100. One thing that might be considered if and when you work on a ROM. The Element mounts 2nd partition on micro sdcard, while most devices mount the first partition. So apps like link2sd can't work properly as they mount the 2nd partition, would help in moving apps to micro sdcard for internal space.
Hoping something comes for the Element
I completely agree and I hope you can make a go of it. A friend of mine a while ago was trying to help me port CM to this tablet. But he's a math Major now in grad school, so.... let's just say he has other priorities. Oh, also, I moved continents. I gave my element to my sister and my mom has one too, so I'd love to see an update to the OS through the community. The worst is when it says it doesn't have sufficient storage to install a couple of simple apps. There's really no reason for it considering you can store that kind of stuff on the sd card. I think Pantech set it up to install apps to the rom, which if I recall correctly is only 1 GB or so. but it has at least 12 GB of free built in storage out of the box and with a nice big SD card, plenty of additional storage. It really irks me that pantech didn't do a better job implementing the os. Anyway, I'm here for moral support Wish I could help test as well, but as mentioned, both elements I had access to are no longer anywhere near me
[EDIT]
Oh, I almost forgot. My friend who was helping me also had me set up a linux harddrive just for the development process. We never got very far, but if you wanted to look at the file structures, it might be helpful if you're new to developing. I remember we got a working recovery going a couple of times.... well... not fully functional, but it loaded... This was before twrp was a huge thing. anyway, if you want, I can try to repo the build files somewhere so you can look at what he had done in case it can help you figure things out a bit.
shizenyasuya said:
I completely agree and I hope you can make a go of it. A friend of mine a while ago was trying to help me port CM to this tablet. But he's a math Major now in grad school, so.... let's just say he has other priorities. Oh, also, I moved continents. I gave my element to my sister and my mom has one too, so I'd love to see an update to the OS through the community. The worst is when it says it doesn't have sufficient storage to install a couple of simple apps. There's really no reason for it considering you can store that kind of stuff on the sd card. I think Pantech set it up to install apps to the rom, which if I recall correctly is only 1 GB or so. but it has at least 12 GB of free built in storage out of the box and with a nice big SD card, plenty of additional storage. It really irks me that pantech didn't do a better job implementing the os. Anyway, I'm here for moral support Wish I could help test as well, but as mentioned, both elements I had access to are no longer anywhere near me
I can give you a work around for insufficient storage, I also had that. Just install link2sd and at least an 8 gig micro sdcard. Partition the micro sdcard in 2 partitions , 1st about 1 gig and 2nd the rest of the card. Both in fat32. Link2sd will write its script when you open it and then ask to reboot, from there you just link all installed apps to micro sdcard and set settings to link all future apps there. Element does have to be rooted and you won't be able to use the micro sdcard for personal stuff, not with es file explorer but some of the others will write to it. You wont have any problem with space then.
Usually the tablet writes to 1st partition and link2sd will use 2nd but for some dumb reason Pantech's software uses the 2nd instead. I called their tech and ask about it and all they said was we know.....duh.
Sent from my PantechP4100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
On that link2sd thing...
ALD3 said:
shizenyasuya said:
I can give you a work around for insufficient storage, I also had that. Just install link2sd and at least an 8 gig micro sdcard. Partition the micro sdcard in 2 partitions , 1st about 1 gig and 2nd the rest of the card. Both in fat32. Link2sd will write its script when you open it and then ask to reboot, from there you just link all installed apps to micro sdcard and set settings to link all future apps there. Element does have to be rooted and you won't be able to use the micro sdcard for personal stuff, not with es file explorer but some of the others will write to it. You wont have any problem with space then.
Usually the tablet writes to 1st partition and link2sd will use 2nd but for some dumb reason Pantech's software uses the 2nd instead. I called their tech and ask about it and all they said was we know.....duh.
Click to expand...
Click to collapse
I did this method, and had a couple question, if it's not too much of a derailment. You say the Pantech software uses the 2nd partition, but when I do it... yes, it does, but so does link2sd. I assume the method you describe you plan to use the first partition for linking apps, right? How do I make that happen?
What I have is: I just lose a gig of my card that I can't "see" with any file explorer and have a second big partition that is Fat32 so I CAN link apps, but I can't move data using link2sd. (I get a "your partition is Fat, so you can't put data there" error) AND it's the partition that shows up in settings/storage and root browser, etc. The ONLY partition, really. Ideally I'd make a 1gb partition of ext2 (so I can link apps AND private data from Chrome, etc.) as recommended by the app, but that doesn't work for some reason. I'd settle with having two true partitions that I can use, but I can't get there either.
I think part of this problem is this whole "interior/exterior SD" business. Apps in general and Android itself seems to be at a loss to smoothly integrate the two. Even Link2sd shows apps as "On SD" when it means media storage. I can't see my media storage in Clean Master, etc.
Click to expand...
Click to collapse
I haven't been able to use the first partition for anything. What I did was let both use the 2nd partition. I did make a folder to store any files that I wanted on the micro sdcard as the rest will be loaded with apps from lin2sd and makes it hard to find other files. Also another problem that I found is that ES File Explorer can't write/ move any files or pictures to the 2nd partition after link2sd writes its script. So I use File Manager which will move/ delete files and pictures on micro sdcard 2nd partition. So no problem with space and still able to use micro sdcard for my files. I did lose the 1gig 1st partition and can't use that.
Sent from my PantechP4100 using XDA Premium 4 mobile app
I know nothing about modding apart from I would like to do mine as well
Its rooted, but that's as far as I got
I have 4 of these unlocked in Australia that could really benefit from it so will be following with interest
ALD3 said:
I haven't been able to use the first partition for anything. What I did was let both use the 2nd partition. I did make a folder to store any files that I wanted on the micro sdcard as the rest will be loaded with apps from lin2sd and makes it hard to find other files. Also another problem that I found is that ES File Explorer can't write/ move any files or pictures to the 2nd partition after link2sd writes its script. So I use File Manager which will move/ delete files and pictures on micro sdcard 2nd partition. So no problem with space and still able to use micro sdcard for my files. I did lose the 1gig 1st partition and can't use that.
Sent from my PantechP4100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yeah, okay, that's basically what I did. I ended up just making a 100mb first partition, since it doesn't do anything, and using the rest of a 4gb sd card I had lying around for the second. I have an 8gb SD, but it's in my old phone and full of apps, and I'm too cheap to buy yet another card.
I haven't had any problem putting images or anything else on that second partition(along with app files) for whatever reason. Maybe because I'm using Root Browser or maybe because I use QuickPic app for my photos, I dunno. Some weird behavior with some apps, and I wouldn't need this at all, probably, if I could pull the trigger on just deleting Chrome and all it's junk. Between it and Facebook app, there goes my one gig of app storage. (I hate Chrome on Android, at least on this device it's completely useless. I use Puffin and stock browser, but need some Chrome features and my saved data, etc)
Latest Firmware
I just found out there is a recent update for the Pantech Element (P4100). It was a Security Maintenance Release.
FW: JWUS11162015
OS: Android 4.0.4
Here's the amount of storage available with a fresh factory reset. I have not tried to root it, yet. Nor have I tried to install a Recovery
{
"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"
}
---------- Post added at 10:59 AM ---------- Previous post was at 10:42 AM ----------
Not successful rooting it with the existing instructions out on the internet, which is expected since it is now Android 4.0.4
adb reboot bootloader
fastboot flash recovery cwm-5.0.2.7-pororo.img
fastboot flash boot element-boot-insecure.img
fastboot reboot
Successful Root with TowelRoot for the firmware I cited above!

Categories

Resources