Strange Out Of Memory errors on ME301T - Transformer TF300T Q&A, Help & Troubleshooting

Hi guys...
I'm getting mad about this... Tried everything... I'm getting random issues while copying/moving large amount of files from/to external 64GB SD Card with EVERY file manager I tried . The error is ENOMEM. I used CM11 with Grimlock compatibility pack kernel, OmniRom with original kernel, with or without GApps installed.
An hint seems to be that even the media scanner service has problem during the boot as I can see into the logcat. It gets stat() errors on a lot of media files. :crying::crying::crying: Another strange issue is that I get those out of memory errors in the terminal emulator If I run the followinf commands
su
find / -name something
/storage/sdcard1/folder/file1.jpg: Out of memory
/storage/sdcard1/folder/file2.jpg: Out of memory
/storage/sdcard1/folder/file3.jpg: Out of memory
/storage/sdcard1/folder/file4.jpg: Out of memory
......
The SD has no problems because it works well on PC.
And the BAD thing is that I tried to put it on an Asus HD7 ME173X with Android 4.2.1 and it works flawlessly without any error. But the WORST thing is that I got the same errors on my I9000 with CM 10.2.1 stable release.
Perhaps Android > 4.3.x is the problem?
Because both omni and CM11 are based on the same sources, something maybe is corrupted in both?
Please help!

Update ....
After a flashaholic hour I reverted back to CROMi-X 5.4 with GRIMLOCK 0.8 OC Kernel.
Surprise... IT WORKS....:laugh::good::highfive:
Really strange.... As CROMIi-x is based on 4.2.1 my supposition about Android version could be true...

Well Well Well.... I was getting mad about that, but...
At last I found the real issue....:victory::victory:
My external SD is formatted as exFAT FS and seems to be a it cannot be read correctly by CM11 ROMS.:silly:
Hints of this problem could be find just googling for 'CM11' and 'exFAT'.

I have the same issue on my Samsung Galaxy S3 with CM11 and a 64 GB exFAT SD-Card. You may format it with FAT32 and no problems occur but then you will not be able to store files larger than 4 GB anymore. If you often take HD videos this is inacceptable.

Related

[Resolved] [Q] Problem with StarBurst Froyo HTC 2.29.405 [30 Jan]

I have bought a new 16gb Kingston SD card. I partitioned it 11GB FAT32 and the remainigng ext4.
I rooted my HTC Desire, wiped it, installed StarBurst and then installed Data2SD. So far so good. The phone booted back up and all seemed well but accessing apps was slow. I then tried downloading an application from the market and got the error "Sorry, there is not enough space to install this application".
I checked and my SD card is showing 11gb free space and my internal memory is showing 3gb.
Has anyone seen this problem?
Many Thanks
Formatted both partitions and reinstalled Staburst Lite 1.2.0 and getting same error. As the phone recognises there is space, could there be a permissions problem?
When you flash Starburst, it sets the permissions just before it finishes the install. You're ROM might be bad, you should try downloading the full one. Doing a factory reset. Flashing the ROM. Then rebooting and flashing the App2SD install and reboot again. Hopefully things work out for you. I'm having problems with Starburst too.
I completely wiped and reformatted SD partitions, downloaded the lite ROM (had tried standard) and installed that. Same problems, the phone seen the 3gb internal memory but I couldnt install apps. It did however download the update for google maps and install that automatically. Even after that if I tried getting anything from the market I got the no space error.
When I had the standard ROM installed, I evntually tried the fix permissions button in ROM manager. It did 170ish tasks but didnt fix the problem. This was my first attempt at flashing my Desire. I have learnt a fair bit already about it and done plenty of googling and reading.
I have installed Oxygen for now but would like to get starburst working to try out this performance boost it boasts.
Ok, I gave StarBurst another go, reduced my ext4 partition down to 1gb from 3.x gb and it works now. Maybe a restriction to what size it can work with.

Tab became very slowly after copying more than 8Gb on internal storage

Hi people.
I've got strange problem.
Tab works very good while internal storage is empty and becomes very slowly after copying about 8-9Gb on internal storage.
So slow, that i have to wait up to 15 seconds to start, for example, Dolphin Browser.
The only way to get normal working speed is to clear internal storage and flash stock ROM via Odin.
I've tested two various 7.7 16 Gb Tabs on stock and on custom ROMs and got the problem is all cases.
Does anybody know what is the reason of this?
lagfix from Play Market solves my problem.
2Moderator: You can delete topic, but it may be usefull for somebody. I think I'm not the only one noob with this problem who couldn't find the solution with forum search.
Funny thing, same problem cropped up recently on my Tab 7.7 running Cyanogenmod 10.
The embedded MMC became very slow. Since lagfixes just reformat the partitions to ext4 and CM10 does already use ext4 they will not be any help. Doing a wipe from recovery didnt help anything.
I will probably try reflashing to stock and wiping with Odin. Maybe that will help.
supposedly deactivating mediascanner improves nothing either?

Data2SD with Cromi-X issues

Hello,
I flashed _that's data2sd kernel for cromi-x's latest version. I used MiniTool Partition Wizard to partition my SanDisk 16GB Ultra/Class-10 microsd card (made 2 partitions: Ext4 and FAT32) So once I flashed the Cromi-X with data2sd kernel and restart tablet, it gets stuck on the asus page and doesnt make it past that, the loading wheel still spins but i waited about 10 minutes and it still doesnt get anywhere.
When i removed my MicroSD card and restarted, it works but then it warns me that there is issue with my memory and i have to press on "I am feeling lucky" for the startup to finish. However, after that, some apps are missing, all of their datas is missing and other issues.
So i am guessing i have 2 options (1)re-partition my MicroSD and lose all the data that the kernel moved to it? ..or.. (2)somehow undo all this action and return all the data moved to microSD's ext4 parition back to the tablet. but i do not know how. i tried reflashing cromi-x but with normal kernel and same issue persists.
Please tell me what i need to do to get out of this issue with the least amount of data lost.
Thank you!!
See my reply to your duplicate post.
Yeah duplicate posts....
You seem to be confused about what data2sd does. It doesn't move anything to the SD card. It switches the data partition from internal to the SD card....
sbdags said:
Yeah duplicate posts....
You seem to be confused about what data2sd does. It doesn't move anything to the SD card. It switches the data partition from internal to the SD card....
Click to expand...
Click to collapse
Best advice, run the device without DATA2SD. I worked with data 2 sd on comi-x for about a month. It was a huge headache and was not worth the difference in performance. I've found running the newest cromi-x without using setcpu gives me to most stable and reliable performance. I still get the occasional lag, but compared to the headache I had when trying to work with data 2 sd was just not worth it. Comi-x runs really smooth now. Hope that helps
eeeeeeeeek said:
Best advice, run the device without DATA2SD. I worked with data 2 sd on comi-x for about a month. It was a huge headache and was not worth the difference in performance. I've found running the newest cromi-x without using setcpu gives me to most stable and reliable performance. I still get the occasional lag, but compared to the headache I had when trying to work with data 2 sd was just not worth it. Comi-x runs really smooth now. Hope that helps
Click to expand...
Click to collapse
+1 on this. I used to use data2sd before cromi-x and just recently, i tried cromi-x w/out data2sd. I must say, there is just little noticeable differences compared to the time i used data2sd.

[Q] Swapping Sdcard P3100 with [P31xx][KitKat][4.4.2] CM 11.0 w/Espresso10++ 3.0.101

Hello everybody i am a new user so i must post here.
I installed [ROM][P31xx][KitKat][4.4.2] CM 11.0 w/Espresso10++ 3.0.101 and everything works fine except i wanna use my 32GB sdcard as /sdcard and internal memory as /extSDCard.
I managed to do this using some linux knowledge, extracting init.espresso.rc from kernel and editing (see in attachment) it before repacking kernel and reflash.
Surprisingly it seems easy and it works PERFECTLY. Memory are actually swapped and downloads and everything goes to my external sd mounted as /sdcard.
Unfortunately the only thing is that the "Package Access Helper" keeps crashing and apps cannot finish install either in market nor from apk.
And a very little number of apps keep installing data on internal memory. I really don'k know where they find the old mountpoint and why... i cannot solve this problem without help but i cannot post in the ROM creator's thread because i have not 10 posts here. Can someone help me?
P.S.
I cannot use
setprop persist.sys.env.switchexternal 1
as suggested by rom creator because this make every app crash also in a CLEAN install.
Also this options does not swap sdcars.

[Q&A] [MOD] SD-EXT Boot MOD - CM12

Q&A for [MOD] SD-EXT Boot MOD - CM12
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [MOD] SD-EXT Boot MOD - CM12. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
I do not know how to use this mod who can help me ?
I do not know how to use this mod who can help me ?
Encryption Unsuccessful Message
I tried both mod1, 2, and 3. Each time I load my rom, load the BOOT-MOD-3.zip, and then my apps (PA Gapps).
I keep getting a Encryption unsuccessful message. Also to note, during the initial boot, it only preps/installs 12-14 apps and not the 70+ that usually need to be done when I don't run the move mod.
Any ideas?
bin8636 said:
I do not know how to use this mod who can help me ?
Click to expand...
Click to collapse
Use google to find how to create a sd-ext, there are many guides.
sillysuliman said:
I tried both mod1, 2, and 3. Each time I load my rom, load the BOOT-MOD-3.zip, and then my apps (PA Gapps).
I keep getting a Encryption unsuccessful message. Also to note, during the initial boot, it only preps/installs 12-14 apps and not the 70+ that usually need to be done when I don't run the move mod.
Any ideas?
Click to expand...
Click to collapse
You need to wipe all partitions except sdcard in recovery, flash rom, gapps, then mod.
When you update rom, flash rom then mod again, that's it.
SD-ext needs to be a second primary partition formatted in ext4 (or f2fs if using cm12/cm12.1).
Note: New versions uploaded. Now supports all ivanich's ROMs (cm11,cm12,cm12.1).
@hinxnz: great mod, thx!
Working great for me, but I got 2 questions:
1) I flashed the newest cm12.1 two days ago and flashed your mod (all in SD except dalvic) afterwards. Now you uploaded a New Version compatible with all ivanich Roms. Does your update make any differences for me with cm12.1? Should I reflash?
2) You just said that the mod should be flashed after gapps, I did it the other way round. Does it matter? Got no problems so far.
Sent from my Sensation using XDA Free mobile app
Tommyfirebird said:
@hinxnz : great mod, thx!
Working great for me, but I got 2 questions:
1) I flashed the newest cm12.1 two days ago and flashed your mod (all in SD except dalvic) afterwards. Now you uploaded a New Version compatible with all ivanich Roms. Does your update make any differences for me with cm12.1? Should I reflash?
2) You just said that the mod should be flashed after gapps, I did it the other way round. Does it matter? Got no problems so far.
Sent from my Sensation using XDA Free mobile app
Click to expand...
Click to collapse
It doesn't matter in what order, as long as the mod is flashed after ROM because it edits ramdisk in the kernel.
Your fine with the version you have, it will act the same. You can flash the newer version when you update your ROM.
Problem with storage size
Thanks very much for the mod.
I wanted to use "All Data excl. Dalvik-Cache" and ivanichs cm 12.1 with 4ext recovery.
I was using delta-roh method on my previous installation.
I wiped all partitions except SD card. clean install the rom, then pico gapps and then this mod. Then i install my backups with titanium backup and it started to say storage is full.
When I checked the storage it was still showin 1.15gb and it was full. But installed app size was showing 2gb. I wast able to get sms because of the storage was full.
Am I missing something with the installation method?
Thanks is advance for the replies.
How can I check free/used space on idata?
Sent from my Sensation using XDA Free mobile app
Same problem
Hey guys, I'm having the same problem than AKAndrew41. It gives me encryption unsuccessful screen after reboot. It keeps loading at bootloop and can't enter recovery neither. Can you help me?
Thank you!
sicko40 said:
Hey guys, I'm having the same problem than AKAndrew41. It gives me encryption unsuccessful screen after reboot. It keeps loading at bootloop and can't enter recovery neither. Can you help me?
Thank you!
Click to expand...
Click to collapse
Hi, I flashed boot.img (this file I unzipped from ivanich ROM 18.04.2015 ROM) from the computer with adb and flashed ivanich ROM 18.04.2015 from TWRP ivanich. It's helped.
Sent from my Sensation using XDA Free mobile app
Tommyfirebird said:
How can I check free/used space on idata?
Sent from my Sensation using XDA Free mobile app
Click to expand...
Click to collapse
You could use a root file explorer and check the properties of /idata or just enter code below into a terminal emulator. To enable terminal in cm12, goto developer options and enable local terminal.
Code:
df /idata
sicko40 said:
Hey guys, I'm having the same problem than AKAndrew41. It gives me encryption unsuccessful screen after reboot. It keeps loading at bootloop and can't enter recovery neither. Can you help me?
Thank you!
Click to expand...
Click to collapse
To enter recovery pull battery out, then reinsert it. Hold down volume down button while powering up device and it will enter bootloader, which then you can enter recovery by selecting recovery.
You must have a second primary partition (sd-ext) of your sdcard formatted as ext4 (or you can choose to use f2fs if using cm12 or cm12.1).
If your formatting your whole sdcard instead of shrinking your fat32 partition, then you need to create the first partition (fat32) first and then the second (ext4 or f2fs), otherwise they will be labelled wrong.
CM11 doesn't support f2fs, so if you format it as f2fs on CM11, you will get an encryption error and same goes I guess if you format a partition in ext2 or ext3 because it's not configured in fstab.
Did you try flashing ROM and then mod again, maybe it was a bad flash, it can happen.
I'm using your MOD Plus V3 with 2 f2fs partitions at the moment, which I created with GParted.
What does TWRP do when wiping sd-ext in recovery? If I need to wipe both is there any posibility without using GParted?
And similar, what is backuped by TWRP when doing a backup of sd-ext?
Multi swap
Hi there,
I love the work you've been doing on the sensation and I'm glad to still be using it 4 years on with the latest CM12.1. I have a problem with lagginess after multiple attempts to install CM12.1 and your boot mod v1.2. It seems to be an issue relating to the memory and swap, and I noticed running the cat /proc/swaps shows BOTH /dev/block/zram0 AND the data partition. Removing the zram0 by using the swapoff command speeds the phone up loads. Is there a permanent fix though to persist after reboots?
Thanks,
Keith
geekshow said:
Hi there,
I love the work you've been doing on the sensation and I'm glad to still be using it 4 years on with the latest CM12.1. I have a problem with lagginess after multiple attempts to install CM12.1 and your boot mod v1.2. It seems to be an issue relating to the memory and swap, and I noticed running the cat /proc/swaps shows BOTH /dev/block/zram0 AND the data partition. Removing the zram0 by using the swapoff command speeds the phone up loads. Is there a permanent fix though to persist after reboots?
Thanks,
Keith
Click to expand...
Click to collapse
Hi Keith, zram shouldn't be active, my mod disables it in fstab.pyramid, found in the root directory.
I don't know why it's activated on your side, maybe an app or init.d script.
To disable it, you could use an init.d script.
Code:
#!/sbin/sh
# Disable ZRAM
swapoff /dev/block/zram0
ZRAM sorted
Thanks for the reply mate. I installed TWRP (from 4ext) and used it to reformat everything and start from scratch which sorted out the ZRAM0 issue.
After reinstalling ivanich's CM12.1 and your boot mod v1.2 it was much better. I'm still having intermittent lag and slow network speeds so I reverted to CM11 this morning (with your boot mod) to see if it was any quicker. Seems to be much quicker but the lag persists. Weirdly I get the lag most in the settings, and it bombs out sometimes. I'm wondering if it could be to do with my SD card partitions which were created in GParted, not TWRP.
If you've got any ideas of things to check I'm all ears.
Thanks for the kind support!
geekshow said:
Thanks for the reply mate. I installed TWRP (from 4ext) and used it to reformat everything and start from scratch which sorted out the ZRAM0 issue.
After reinstalling ivanich's CM12.1 and your boot mod v1.2 it was much better. I'm still having intermittent lag and slow network speeds so I reverted to CM11 this morning (with your boot mod) to see if it was any quicker. Seems to be much quicker but the lag persists. Weirdly I get the lag most in the settings, and it bombs out sometimes. I'm wondering if it could be to do with my SD card partitions which were created in GParted, not TWRP.
If you've got any ideas of things to check I'm all ears.
Thanks for the kind support!
Click to expand...
Click to collapse
No worries, first try a lower swappiness value by lowering value in /cache/swap.conf, save it and then reboot.
Try 30 or 40, default is 60. See how it goes.
If you still have lag then your memory could be running very low, use an app or init.d script to raise minfree values slighty higher.
I don't think it has to do with your sd partitions, could be your sdcard is a little slow maybe.
You could probably check the partitions in twrp or gparted though.
If you sort it, post what you did :good:
hinxnz said:
No worries, first try a lower swappiness value by lowering value in /cache/swap.conf, save it and then reboot.
Try 30 or 40, default is 60. See how it goes.
If you still have lag then your memory could be running very low, use an app or init.d script to raise minfree values slighty higher.
I don't think it has to do with your sd partitions, could be your sdcard is a little slow maybe.
You could probably check the partitions in twrp or gparted though.
If you sort it, post what you did :good:
Click to expand...
Click to collapse
Update: Blew everything away again and installed cm12.1 fresh without the SD-EXT mod and it runs fast and lag-free. Installed the sd-ext and lagginess came back. :-/
I had previously tried a fresh install with another SD partitioned by TWRP, made no difference to lagginess. Lower swappiness values seemed to have a minor difference but still laggy.
The lagginess seemed to be mostly when loading from disk. Applications in RAM seemed to run fine until they needed to load something. Downloads very slow on WiFi or 3g, titanium backup very slow too. Strange...
It would be nice to get it working but this is a tad baffling. Thanks for your kind support!
Keith
geekshow said:
Update: Blew everything away again and installed cm12.1 fresh without the SD-EXT mod and it runs fast and lag-free. Installed the sd-ext and lagginess came back. :-/
I had previously tried a fresh install with another SD partitioned by TWRP, made no difference to lagginess. Lower swappiness values seemed to have a minor difference but still laggy.
The lagginess seemed to be mostly when loading from disk. Applications in RAM seemed to run fine until they needed to load something. Downloads very slow on WiFi or 3g, titanium backup very slow too. Strange...
It would be nice to get it working but this is a tad baffling. Thanks for your kind support!
Keith
Click to expand...
Click to collapse
Seems to me that your sdcard is not fast enough, what make and kind of card do you have?
SDHC or SDXC and UHS-I or UHS-II
I have a Sandisk Ultra SDHC UHS-I and it's only just fast enough for this mod, I need a faster one really.
I have no issues with download speeds with wifi, not really related to mod though, could be slow at writing to sdcard.
Titanium could be slow due to slower writing speeds on sdcard too as it has to build dalvik-caches on sdcard when restoring apps.
Edit: Can you try BOOT-MOD-1.1.zip, it's the non-plus version. It would be good to know if you still experience lags with it, if you do, then sdcard is not fast enough, otherwise could be something to do with the plus version, cheers.
hinxnz said:
Seems to me that your sdcard is not fast enough, what make and kind of card do you have?
SDHC or SDXC and UHS-I or UHS-II
I have a Sandisk Ultra SDHC UHS-I and it's only just fast enough for this mod, I need a faster one really.
I have no issues with download speeds with wifi, not really related to mod though, could be slow at writing to sdcard.
Titanium could be slow due to slower writing speeds on sdcard too as it has to build dalvik-caches on sdcard when restoring apps.
Edit: Can you try BOOT-MOD-1.1.zip, it's the non-plus version. It would be good to know if you still experience lags with it, if you do, then sdcard is not fast enough, otherwise could be something to do with the plus version, cheers.
Click to expand...
Click to collapse
I'm using a Lexar 32GB class 10 SDHC, had no issues with it. I ran the A1 SD card benchmarking tool and it measured reads of 17 and writes of 11 MB/s. The internal flash reported speeds of 25MB/s read and 7MB/s write by comparison.
I'll try the BOOT-MOD v1.1 and report back...

Categories

Resources