AKURO-DATA2SD - mount SD as /data via init.d - Galaxy Y GT-S5360 Themes and Apps

this post is to introduce below tags.
research AKURO-DATA2SD (mark, right click, run "contextual search" (enable that in forum user options) in :
http://forum.xda-developers.com/showthread.php?t=1766856
http://forum.xda-developers.com/showthread.php?t=1622052
kuro's files : http://d-h.st/users/kurotsugi
http://forum.xda-developers.com/showpost.php?p=30776034&postcount=748

akuro works in that it gives you full init.d support, but I noticed a slowdown in graphics display.

actually...it slow down our whole system a lil bit. compared to our actual /data partition, our sdcard have lower speed thus result in slower performance. the difference isn't big enough and most of us never realize it especially if we're using a fast sdcard. however, the result is quite "seeable" on benchmarking apps. the other drawback from this mod is that the ext partition on our sdcard never got unmounted when we turned off our device. if we're using low quality sdcard in several month the ext partition might get corrupted and we need reformat the partition. in my observation, with such low sdcard quality this problem comes after using this mod more than 6 months. if you get a lot of FC after using this mod for a long time then you might want to back up your files and reformat the ext partition. so far this issue is only a minor issue and rarely happened. in fact, I only got one report confirming this issue from the user. the best solution so far is trying to minimalize turning off our device or unmount it before turning it off.

Related

To cache or not to cache?

Ok so my question is... Should the cache file setup for a2sd be 0 or not? Some set it to 0 stating that the internal cache is faster and with apps on sd there is plenty of internal cache. Some set cache file when partitioning external. Should we not be setting a cache file up at all when partitioning for a2sd?
Thanks for any input. BTW I have 256mb cache, 1Gb ext3, on a 16Gb class 6 card.
I think you mean swap, not cache.
BTW, freeing up space in the system flash ( "/data" ) partition will not improve your phones' performance - unless you take other specific actions, that empty file space just sits there unused - it is not reclaimed to be "put to better uses". Not that it matters, anyway: it's flash memory, after all - not RAM (it's dog slow).
Your results using swap will vary. Some have reported that (most notably in the case of the browser or the "Home" provider), that using plenty of swap will prevent that app from being harvested, and so you don't have to wait for data operations to repeat (e.g. browser page reloading) when bringing the app back into the foreground.
OTOH, a good argument can also be made that adding swap merely defeats Android's built-in method for managing application harvesting, thereby making the device actually slower for a variety of operations - the automatic application harvesting kicks in "too late", and the phone gets slow for routine operations.
Having said all that, I'll tell you that I set mine to 0 (no swap at all); swap generally only helps improve your situation after you've already started to get into trouble; better to just stay out of trouble in the first place.
Good luck
bftb0
LOL... I feel like an idiot. Yep swap would be the intended question. Thank you for the very educated response, it truly helped.
Sent from my rooted playtoy

[Q] Items deleted from internal phone storage

Hi,
I recently got an atrix [Bell Canada] and have been a happy user. However couple of days ago, I encountered a very strange problem. My phone has lots of free internal storage and a small 1GB memory card. Few days back, when I was taking pictures from the camera [default storage: internal], I noticed that the camera wasn't saving the pictures at all. It would take the picture, I'd hear the shutter sound thingy but the picture wasn't saved [there was no error message]. Upon further inspection, I noticed that all my previous pictures as well as all the songs were gone. I was travelling at that time and just switched the storage location to memory card and camera started saving pictures.
Today when I got home, I connected the phone to pc and my internal storage area is almost empty [just 71MB used by some applications]. I've lost all my pictures and songs from the storage and apparently there's no trace of them. I'm definite that I was listening to music and viewing pictures at least one day before I noticed this problem, and in between I didn't see anything strange on the phone.
Has anyone any clue what might be the cause and if there's a way to recover the old stuff? Searching the forums/google didn't yield anything. Here's the version num etc.
System Version: Blur_version.0.37.23.MB860.BellMobility.en.CA
Android Version: 2.2.2
Baseband version: N_01.77.15P
Kernel Version: 2.6.32.9
Build Number: OLYLA_U4_0.37.23
It is a stock froyo with yet locked bootloader and no root.
I've had the problem where the internal sdcard periodically gets wiped.
I know two causes for this problem:
1. A defective app. The first time it started happening to me was right after I had installed Go Launcher. I saw another user posted about it, and I uninstalled it - and after that, the problem dropped almost completely.
2. If the volume itself is damaged, Android will either attempt a repair, or wipe the entire volume. This most likely will have occurred when people are in the habit of just pulling the USB cable out without properly unmounting the volumes from the PC first. The best way to deal with this is to format the volume (full format, NOT quick format) and make sure to always unmount the drives before pulling the cable. Note that when you format a volume for Android (whether it's the internal sdcard, or the external one), it's best to use a 32k allocation size.
My SD card seems intact. I did plug the phone with the PC but I didn't mount internal storage [selected None in the USB Connection notification]. Also I didn't have any launcher installed. All the apps I had looked pretty harmless [all very common and/or by well known publishers]. Anyway, it seems like the problem would remain a mystery. Everything seems normal now. Thanks for your answer.
Side question: Is it safe to format the internal storage? I assume OS, apps, and other critical data is stored on the ROM which is separate.
faisaliqbal said:
My SD card seems intact. I did plug the phone with the PC but I didn't mount internal storage [selected None in the USB Connection notification]. Also I didn't have any launcher installed. All the apps I had looked pretty harmless [all very common and/or by well known publishers]. Anyway, it seems like the problem would remain a mystery. Everything seems normal now. Thanks for your answer.
Side question: Is it safe to format the internal storage? I assume OS, apps, and other critical data is stored on the ROM which is separate.
Click to expand...
Click to collapse
First of all, how are you determining that your SD card is intact?
Second, I wasn't pointing at launchers specifically, nor did I say anything about malicious software or shady developers. Go Launcher is a very common app by a respected developer. I wasn't pointing at malware, I was pointing at applications with a bug - which can be any app whatsoever. If all this started happening after you installed something specific, it bears looking at - that's all.
As for your question, it's perfectly safe to format the internal sdcard, just make sure to look it over first, and backup anything you want to keep. Your camera may store the photos you take there, for example. Or Tasker stores the documentation it downloads there, etc... You're not going to harm the system itself in any way, but that doesn't mean there isn't something you'd miss. Just give it a look before you format.
It happened to me again, once again all the data was erased from internal memory. This time, I'm quite confident it was WinAmp app unless my phone has defective hardware (slim chance).
faisaliqbal said:
It happened to me again, once again all the data was erased from internal memory. This time, I'm quite confident it was WinAmp app unless my phone has defective hardware (slim chance).
Click to expand...
Click to collapse
Even if it was WinAmp, it's probably not a bad idea to reformat the internal sdcard partition. If you choose to do this, I would recommend a full (not quick) format, using a 32k allocation size.
Ok, I formatted the internal storage as you said and then also updated to Gingerbread. I hope it doesn't happen again. It's just a pain in the a$$ to recover all the deleted media.
Keep your important stuff backed up to the external sdcard.

SD Card preparation fault / unstable SD

Just to suggest possible fix that worked for me and I had a hard time to find anything clearly connected with this issue.
Applies to: 32GB micro SD cards, possibly other rather huge capacities.
- LG GT540 (Optimus), seen reported similar problems on various devices but with unclear solution
Primary symptoms:
(Observed on Android 2.1 Eclair)
- SD Card preparation sometimes taking notably long time.
- SD Card is unexpectedly removed (couple times a day)
- SD Card is corrupted (solved by manual phone reboot)
- System randomly restarts (once or twice a day)
(Observed on Android 2.3.7 Gingerbread)
- System restarts during every SD Card preparation process,
after restart SD Card is working (ie. accessible by explorer) but no media files are accessible through standard applications (ie. gallery, music, player, etc.)
Suggested solution:
Format your SD Card with selected allocation unit size equal 8192 bytes (8KB)!
Drawbacks:
As far as I know using that small allocation unit may cause speed performance to suffer.
Full story:
My problems started right away I bought my 32GB micro SD to my new phone GT540. While I was using the SD only as a data storage it worked quite good. From time to time it needs to remount the SD or better reboot completely. After I tried hack App2SD, it was clear that it had been completely unstable. Shortly after I installed all application I wanted, system rebooted and every single user application was gone. So I moved to Link2SD which is more user-friendly way to have applications on SD on Eclair. It worked similar to App2SD but when system rebooted then just another reboot made apps work again. But by the time the whole problem only getting worse with restarts more than couple times a day, mostly when you needed the phone the most.
I believed that the issues were related mainly to non-standard application moving to SD so I decided to move to Gingerbread but there the issue went so bad. No media was cataloged so entire SD data was practically useless. Moreover system restarts on every SD card preparation. So I played around hard and after some time found a solution that's working for me rock solid. (3 days and counting...)
Desperate, I was trying formating any where possible. The really frustrating thing really is that the phone system itself formats the card wrong way! So it was hard to believe that there might be an issue. I tried only formating with 8kb allocation unit, not any other. It's perfectly solved my problems. I think that the original cluster size was 16kb. I've seen on forum suggestions to use 32kb unit as it should have the best performance over the size but I don't know yet if it's also working without issues. I may try it if any one post their experience I'll update this post to collect as much useful information about this as possible.
me too, will try this out
Got the same symptoms on a SGA (5830) running PAC ROM 20.1.0. A brand new SanDisk microSD 32GB (have verified the card is okay, using h2testw.exe). Will give this a go and update with outcome in a few days. Thankyou

[Q] what is the difference between installing app on internal or external memory ?

After googling and searching alot, i didnt find my answer
so hope someone can help me here, and this will help others too.
so install apps on SD Card or Internal memory ?
The internal phone memory is generally of a lesser amount than the amount of the memory you'd have on a SD card. You cannot really change the amount of internal memory you have on your phone but you can always get a new SD card with a larger storage capacity.
So when you have apps that need a lot of space it is better to have them installed on the SD card.
will installing more apps on internal memory make the phone run slower ???
I don't think it will make the phone run slower, but you'll have lesser storage space for your other data which is stored in the internal storage like your contacts etc.
i have an HTC Sensation XE running on Darkforest ROM, this is my RAM (pic) how can i increase the free memory, thats the max i get around 180MB free
View attachment 1034360
Can I know why you wish to free up the RAM? In most cases you really don't need to because the OS manages that quite efficiently. It will free up the RAM and make room for the running applications whenever it needs to.
cuz in some apps after opening them for a while and try to close this app the phone restarts, so i read that its cuz of low RAM
please correct me if am mistaken
180 mb is a lot of RAM for a single application to use. And as I said, the OS, is pretty good at managing it. Although I cannot exactly tell you why your phone might be restarting when you close some apps, I don't really think it would be cause of the low RAM.
I checked my phone and it had about the same amount of RAM occupied as yours(i.e. 2 thirds of the total capacity). Then i started a game called Fruit Ninja which uses 3d graphics, which should need a lot of RAM. Then i pressed home and checked the RAM usage again. Even then the RAM usage did not go up by much.
You should try to verify this on your phone too. Check the amount of RAM thats being used. Then start the application thats causing the problem. Press the home button and check the RAM usage again.
An app will probably run quicker from internal mem because flash storage is much slower, but youre'e limited by space constraints.
Sent from my MB526 using XDA
Well it might load into the RAM quicker. But I don't really think there is much of a difference in speed while its running. Unless there are a lot of loading and writing operations.
Pay attention to one thing: internal storage and ram are not the same thing.
Ram is commonly allocated on a high speed journaled partition and it is 1000 times or more faster than both the internal emmc or the external SD (that'd why a swap partition is not as fast as real ram).
Just for the I/O parallelism, an app installed on the external sd could very likely run faster than one that resides in the internal emmc. Anyway, it also depends on the class of the external sd, though the class counts only when writing sequential data, while reading could even be faster when using a lower class SD.
lucaoldb said:
Pay attention to one thing: internal storage and ram are not the same thing.
Ram is commonly allocated on a high speed journaled partition and it is 1000 times or more faster than both the internal emmc or the external SD (that'd why a swap partition is not as fast as real ram).
Just for the I/O parallelism, an app installed on the external sd could very likely run faster than one that resides in the internal emmc. Anyway, it also depends on the class of the external sd, though the class counts only when writing sequential data, while reading could even be faster when using a lower class SD.
Click to expand...
Click to collapse
Doesn't an application get loaded into the RAM first when its started? So would its execution speed still depend on the sd/internal memory?
I thought that would come into the picture only when theres some kind of read/write thats happening to the sd/internal memory...
Well, if it is true that any app run inside the dalvik vm and such vm is able to run simultaneously multiple apps in its sandbox, I suppose that any app could need to access its installation files and its stored data while running.... I am not sure, anyway, it is just what I believe it could be.
To be true, my supposition mostly derives from what I've experienced with chrooted linux, which run faster when the .img file is stored on the external sd.
Anyway, if it should be as you say, the app's speed would be totally independent from the support where it was installed.
lucaoldb said:
Well, if it is true that any app run inside the dalvik vm and such vm is able to run simultaneously multiple apps in its sandbox, I suppose that any app could need to access its installation files and its stored data while running.... I am not sure, anyway, it is just what I believe it could be.
Click to expand...
Click to collapse
That is what I exactly meant. Although it differs from case to case, an application typically loads all the stored data it needs at the start. And then throughout the execution of this application, loading/saving of data is generally rare.
Of course this is a very generalized statement and such things are handled differently by different applications depending on how they were implemented and what they are intended to do.
Consider for example a game. The game would load all the textures, images, music it would need for a particular level. Then throughout the entire period of the level the game wouldn't need to load any data. It is only when some different support data would be needed by the game, or if the player's state is to be saved there would be a read/write operation. At such a time only would there be a need to access the sd/internal memory. So it really doesn't make the difference of where the game is installed very noticable.
Now on the other hand if you have an application say an Image viewer application which loads an image from the the sd/internal memory every time the "next" button is pressed. Then, maybe you'd have a noticable difference based on where the image is being loaded from. But even typical image viewers implement some sort of image caching to reduce such excessive loading.
Widgets
I had a problem where apps that used a widget option did, not give that feature anymore when the app is moved to the SD card...

[Q] Long-Term memory handling problem, please help!

This problem has got to the point of forcing me to register on XDA forums. I have a Samsung G II running android 4.1.2 (jelly-bean of course) and over the past week the memory (storage) handling has gotten really bad. It's as if the OS has given up on storing items now. Problems include-
After taking, receiving or downloading a photo (generally over whatsapp but it occurs to other apps like wallbase) The photo will be stored on my phone for the day until i turn off my phone, now after turning it back on however the photos are gone just leaving a blank space which displays "unable to load" in the gallery.
Next issues is that my apps i now install get installed in the next dimension because they don't appear to be on my phone even when i do a file search or plug in the device into my computer. But here is where it gets crazy they are on my phone and do take space up, but it's no where to be found.
The OS now presumes i have an SD card even though i don't have one plugged in. Because of this! big games and Apps now now try to use this fake SD that doesn't exist and this causes them to give me errors along the lines of "Sd is full or inaccessible". Pffft
Please someone help me, this issue is annoying me so badly and is rendering my phone useless if it can't store data.
I appologize you were forced to register here @ this great forum and though you still might find your answer here,ironic,anyway.Have you tried wiping cache,dalvik and fixing permissions,are you even rooted?I did'nt see you mention that,so i have no idea,also,you might want to back up what you want to keep and format and partition your sd card,not sure how big your sd crad is either,so you might need a bigger sd card for all your stuff.I myself use a 32GB Sandisk,class 10 and it works great,never ran out of space or had any speed issues on my OG EVO.
Diablo67 said:
I appologize you were forced to register here @ this great forum and though you still might find your answer here,ironic,anyway.Have you tried wiping cache,dalvik and fixing permissions,are you even rooted?I did'nt see you mention that,so i have no idea,also,you might want to back up what you want to keep and format and partition your sd card,not sure how big your sd crad is either,so you might need a bigger sd card for all your stuff.I myself use a 32GB Sandisk,class 10 and it works great,never ran out of space or had any speed issues on my OG EVO.
Click to expand...
Click to collapse
Rooted? yes. I've deleted all the caches under the sun and still no results. And i have over 4Gb of free internal storage according to my phone. I have my data backed up but i'd rather have a direction to go before starting anything. :crying:
I'm not seeing anything for your phone except this... http://forum.xda-developers.com/showthread.php?t=2192122

Categories

Resources