I've just recently seen in some other threads information about this Ext4 update but after searching haven't really been able to get a handle on what exactly it does and the proper process for doing it. I would love to be rid of the Low Memory messages and may even decide to root my wives as well if it will fix it for her as well. Does anyone have a link to a step by step that covers what needs to be done? I am currently running the Albinoman's Jelly Bean ROM and loving it but would really like to kick this low memory message for good.
Thanks for any insight
devo4040 said:
I've just recently seen in some other threads information about this Ext4 update but after searching haven't really been able to get a handle on what exactly it does and the proper process for doing it. I would love to be rid of the Low Memory messages and may even decide to root my wives as well if it will fix it for her as well. Does anyone have a link to a step by step that covers what needs to be done? I am currently running the Albinoman's Jelly Bean ROM and loving it but would really like to kick this low memory message for good.
Thanks for any insight
Click to expand...
Click to collapse
Im not sure if the ext4 mod will work on JB, im pretty sure its only for GB. If you go to a GB rom, its as easy as flashing the mod thru recovery.
How it works is it flashes the gingertiny kernel with a modified ramdisk. Normally the phone has a larger /data partition, and a /datadata (/data/data) partition that is way undersized. The mod takes the undersized /datadata partition and instead mounts it to the larger /data partition, esentialy giving you /data/data just as you had before. So it makes /datadata a folder on the larger /data partition, instead of being on its own smaller seperate partition.
Hope that wasnt to confusing.
There's also an ext4 mod with no kernel, got it from invisiblek's stash. I've been using it on his nightly ICS builds and it seems to work very well.
Try Link2sd and see if that helps. I use both and have never seen a warning about low space.
...sorry...I was on the phone...
omniatic said:
There's also an ext4 mod with no kernel, got it from invisiblek's stash. I've been using it on his nightly ICS builds and it seems to work very well.
Try Link2sd and see if that helps. I use both and have never seen a warning about low space.
...sorry...I was on the phone...
Click to expand...
Click to collapse
The common misconception of my mod it seems is that it flashes the kernel all the time. No. It only does that if there is a specific HTC framework file in system and that's the only difference between mine and invisibleks. Mine should work fine on ICS as it basically does a find and replace to modify the ramdisk and leave the same kernel. If you look at the script in the mod you'll see that.
Sent from my Galaxy Nexus using Tapatalk 2
tiny4579 said:
The common misconception of my mod it seems is that it flashes the kernel all the time. No. It only does that if there is a specific HTC framework file in system and that's the only difference between mine and invisibleks. Mine should work fine on ICS as it basically does a find and replace to modify the ramdisk and leave the same kernel. If you look at the script in the mod you'll see that.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
So from what i'm gathering I should be ok on the Jelly Bean ROM even as it isn't going to affect the Kernel but just modify the ramdisk? I have seen a few links around is there a link to the developers site that has the most recent version to flash? Thanks for the input.
devo4040 said:
So from what i'm gathering I should be ok on the Jelly Bean ROM even as it isn't going to affect the Kernel but just modify the ramdisk? I have seen a few links around is there a link to the developers site that has the most recent version to flash? Thanks for the input.
Click to expand...
Click to collapse
I was under the impressin it always flashed the kernel, but i guess i was wrong. So it should work.
I cant find the ext4 thread right now, but you can get the files from here. http://dinc.does-it.net/EXT4_Mods/
cmlusco said:
I was under the impressin it always flashed the kernel, but i guess i was wrong. So it should work.
I cant find the ext4 thread right now, but you can get the files from here. http://dinc.does-it.net/EXT4_Mods/
Click to expand...
Click to collapse
Thanks for the link, do I just need the Convert2Ext4_normal_data.v1.0.zip or do I need one of the dalvik .zip files as well?
devo4040 said:
Thanks for the link, do I just need the Convert2Ext4_normal_data.v1.0.zip or do I need one of the dalvik .zip files as well?
Click to expand...
Click to collapse
There are 3 different mods.
1. Ext4 normal data - Converts data and cache to ext4. Does nothing for low space problem.
2. Ext4 no data limit normal dalvik - Converts data and cache to ext4. Moves /datadata to /data, fixing low space issue.
3. Ext4 no data limit dalvik moved - Converts data and cache to ext4. Moves /datadata to /data. Moves dalvik cache from /data to the former /datadata partition.
#2 is the most popular and will solve the low space issue. You can use #3, however some people have issues moving the dalvik. You can always try dalvik moved if you want. If it causes issues flash the dalvik moved revert, and you will be left with no data limit normal dalvik.
tiny4579 said:
The common misconception of my mod it seems is that it flashes the kernel all the time. No. It only does that if there is a specific HTC framework file in system and that's the only difference between mine and invisibleks.
Click to expand...
Click to collapse
But doesn't it always flash the kernel that's bundled with the mod? And won't flashing a new kernel afterward undo the mod?
(Given, all this only matters on Sense ROMs...)
Edit: Never mind. The mod only needs to modify boot.img, while a kernel uses the boot.img file that's already there. Derp.
ardax said:
But doesn't it always flash the kernel that's bundled with the mod? And won't flashing a new kernel afterward undo the mod?
(Given, all this only matters on Sense ROMs...)
Edit: Never mind. The mod only needs to modify boot.img, while a kernel uses the boot.img file that's already there. Derp.
Click to expand...
Click to collapse
Just FYI, We (jermaine151 and I) wouldn't have had a kernel in the mod for sense if it weren't for the fact that HTC's kernel doesn't support ext4 and CM's and other AOSP kernels already supported ext4.
You're correct, the mod takes the boot.img, unpacks it, makes the change, repacks it, and flashes the boot.img. If it's sense, instead of repacking with the same kernel it repacks with the bundled kernel. On AOSP it repacks with the existing kernel.
So I finally had a free night and attempted to flash Convert2Ext4_no_data_limit_normal_dalvik.zip last night. It appeared to go just fine for me but I am still getting the low space message this morning if I add any apps. I went in with Link2SD and it still shows my /system as only having 4% free while everything else has around 50% free. I've tried moving everything to the SD card that it will let me but still no luck.
devo4040 said:
So I finally had a free night and attempted to flash Convert2Ext4_no_data_limit_normal_dalvik.zip last night. It appeared to go just fine for me but I am still getting the low space message this morning if I add any apps. I went in with Link2SD and it still shows my /system as only having 4% free while everything else has around 50% free. I've tried moving everything to the SD card that it will let me but still no luck.
Click to expand...
Click to collapse
Go to menu - settings - sd & phone storrage - and look for application data storrage category. Total space should say 748mb if the mod worked. Or use a termimal app with su permission to type " mounts ". Look for /cache and /data, they should say ext4 after both.
Which EXT4 mod should I use with Pons CM10? Are there any performance improvements?
spectre559 said:
Which EXT4 mod should I use with Pons CM10? Are there any performance improvements?
Click to expand...
Click to collapse
Which mod you use is really up to you. No data limit normal dalvik is the most used. Heres a breakdown:
Convert2Ext4_no_data_limit_normal_dalvik.v2.0.zip - Converts cache and data to ext4 from ext3 (ext4 is faster than ext3), moves datadata partition to a folder on the data partition (fixes low space issues), leaves dalvik-cache in its original position on the data partition.
Convert2Ext4_no_data_limit_dalvik_moved.v2.0.zip - Converts cache and data to ext4 from ext3 (ext4 is faster than ext3), moves datadata partition to a folder on the data partition (fixes low space issues), moves dalvik-cache from the data partition to the former datadata partition (frees up more space for data, but has been said to slow the phone down/cause issues).
Convert2Ext4_no_data_limit_dalvik_moved_revert.v2.0.zip - Converts cache and data to ext4 from ext3 (ext4 is faster than ext3), moves datadata partition to a folder on the data partition (fixes low space issues), moves dalvik-cache from the datadata partition back to its original position on the data partition after using the dalvik moved mod.
Convert2Ext4_normal_data.v2.0.zip - Converts cache and data to ext4 from ext3 (ext4 is faster than ext3), leaves datadata on its original (undersized) partition (does not fix low space issues), leaves dalvik-cache in its original location on the data partition.
No_Data_Limit_Mod.v2.0.zip - Leaves data and cache as ext3 (no conversion to the faster ext4), moves the datadata partition to a folder on the data partition (fixes low space issues), leaves dalvik-cache in its original position on the data partition.
http://dinc.does-it.net/EXT4_Mods/
All right I went for the no data limit / normal dalvik option. Flashed with TWRP 2.3.x. Everything seems to have worked but is there any way I can verify that the mod took? Sorry for the noob question.
* EDIT * Never mind. The answer is a couple posts up!
spectre559 said:
All right I went for the no data limit / normal dalvik option. Flashed with TWRP 2.3.x. Everything seems to have worked but is there any way I can verify that the mod took? Sorry for the noob question.
* EDIT * Never mind. The answer is a couple posts up!
Click to expand...
Click to collapse
Go to menu - settings - sd & phone storrage - and look for application data storrage category. Total space should say 748mb if the mod worked. Or use a termimal app with su permission to type " mounts ". Look for /cache and /data, they should say ext4 after both.
Lol i copied and posted from above.
cmlusco said:
Go to menu - settings - sd & phone storrage - and look for application data storrage category. Total space should say 748mb if the mod worked. Or use a termimal app with su permission to type " mounts ". Look for /cache and /data, they should say ext4 after both.
Lol i copied and posted from above.
Click to expand...
Click to collapse
The first part is not a good way of telling (by checking storage). It will show 748mb regardless. Not mounting /data/data will not have an impact on the size of /data which is 748mb. The best way is to do the following from terminal:
su
mount | grep /data
It should show a line with /data and ext4 and, if it has the no data limit, also a line with /data/data and ext4. If you're on an ICS/JB ROM it will show ext4 anyways. The best way to tell with the new version of the mod is to see if noauto_da_alloc shows in the results of the above commands.
tiny4579 said:
The first part is not a good way of telling (by checking storage). It will show 748mb regardless. Not mounting /data/data will not have an impact on the size of /data which is 748mb. The best way is to do the following from terminal:
su
mount | grep /data
It should show a line with /data and ext4 and, if it has the no data limit, also a line with /data/data and ext4. If you're on an ICS/JB ROM it will show ext4 anyways. The best way to tell with the new version of the mod is to see if noauto_da_alloc shows in the results of the above commands.
Click to expand...
Click to collapse
Actually on the latest ota anyways, the sd & storage menu shows both Phone Memory (/data) as 748mb, and Application Data Storage (/data/data) as 748mb with the mod, and 147mb without. But your still correct, your way is a better way to see if its working. I just cant ever seem to remember that command.
cmlusco said:
Actually on the latest ota anyways, the sd & storage menu shows both Phone Memory (/data) as 748mb, and Application Data Storage (/data/data) as 748mb with the mod, and 147mb without. But your still correct, your way is a better way to see if its working. I just cant ever seem to remember that command.
Click to expand...
Click to collapse
I added the commands to check to the OP of the mod thread under FAQs.
Oh, the ota does show it? Wow, it's been a while since I've really used sense.
yo, this really speeded my INC up right away! thanks!
So when I was on stock my sdcard was located in /sdcard.
I then moved to CM and somehow my sdcard moved to /sdcard/0
I returned to stock because I was in need of taking 13MP picture, so my sdcard was then moved to /sdcard
Now, I moved to Unofficial geehrc4g_spr_us Vanilla RootBox [4.27.13] and all of my previous sdcard was missing (not lost, just replaced to a different folder /data/media) and my new sdcard is now /sdcard
Is /sdcard the same as /data/media ?? if it isn't, would it be safe to delete all the contents of /data/media? Or would that be wiping my sdcard?
I am pretty new to this device so my word is not law by any means; I think that the files in data/media are nothing more than a mirror of /sdcard. Otherwise, you would have blown through all available memory trying to store doubles of all data(at least it would for me, I has this badboy 25 gigs full the first day.......)
Actually my /data/media and my /sdcard have totally different files.
Here is an example : my /data/media has all my downloaded roms and mods and my /sdcard has no downloaded roms
Sent from my LG-LS970
If you go back to a stock rom and take everything in /sdcard and put it in /sdcard/0 then go to an AOSP rom, it'll all be where you expect
does anybody know a quick way to format the sdcard (without wiping the rom)?
I just want to start fresh with the sdcard, I believe that my sdcard has duplicated many times since flashing stock, CM10, and rootbox.
It has been replicated on "/data/media", "/storage", and "/sdcard" and in those folders a "/0" folder has been created as well. I now only have 6GB of space.
Whereas, before the multiple sdcards I had 16-18GB available.
stevek216 said:
If you go back to a stock rom and take everything in /sdcard and put it in /sdcard/0 then go to an AOSP rom, it'll all be where you expect
Click to expand...
Click to collapse
OKayy so will doing this stop the duplicating and mirrored folders and enable stock and aosp to share and get along (as fas as this situation goes) using the same directory?
Hi everyone...
I am looking at buying an LG e975, which is supposed to be 32GB and no SD card, and I was taking a look at forums to see how active is the ROM development.
I have no experience with phones with no SD, usually with SD, you copy the zip files to SD card and you install them in Recovery...
so.. how is this done with no SD card?... actually... for storing docs, pics, music... does the phone have a separate partition of that internal memory designated for personal data? similar to having an SD?... does wiping Data, Cache, formatting system affect the internal memory where you have your files stored?
I am pretty much curious on how the whole ROM flashing, backing up and restoring of Apps (I use Titanium backup) is done with no SD card.
Thank you!.
atmos929 said:
Hi everyone...
I am looking at buying an LG e975, which is supposed to be 32GB and no SD card, and I was taking a look at forums to see how active is the ROM development.
I have no experience with phones with no SD, usually with SD, you copy the zip files to SD card and you install them in Recovery...
so.. how is this done with no SD card?... actually... for storing docs, pics, music... does the phone have a separate partition of that internal memory designated for personal data? similar to having an SD?... does wiping Data, Cache, formatting system affect the internal memory where you have your files stored?
I am pretty much curious on how the whole ROM flashing, backing up and restoring of Apps (I use Titanium backup) is done with no SD card.
Thank you!.
Click to expand...
Click to collapse
This section is not for the e975. It's for the Sprint LG-LS970. Sorry .
Sent from my LG-LS970 using xda app-developers app
Your sdcard is just a directory in your data media folder. It basically works the same as a physical sdcard. EXCEPT you cannot mount it in recovery, so if you wipe it while in recovery you'll have to adb push any files you plan on flashing.
Factory Reset in TWRP wipes /Data, /Cache, and /Dalvik. This does not include your Internal Storage ("sdcard"). It's usually all that is necessary before flashing a new ROM, as a /System wipe is almost always performed by the ROM you're flashing.
However, if you select the Data check box in the Advanced Menu, this will also wipe your Internal Storage ("sdcard"). This is because your sdcard is actually just a /Media folder inside of /Data (meaning /data/media).
Check this out:
http://teamw.in/datamedia
jonahly said:
This section is not for the e975. It's for the Sprint LG-LS970. Sorry .
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
my question wasn't related to a particular model but to how the whole ROM flashing and storing backups is done when no SD slot is available... I chose this forum as I did not find one for e975 and they both have same specs.
spackmanbr said:
Your sdcard is just a directory in your data media folder. It basically works the same as a physical sdcard. EXCEPT you cannot mount it in recovery, so if you wipe it while in recovery you'll have to adb push any files you plan on flashing.
Factory Reset in TWRP wipes /Data, /Cache, and /Dalvik. This does not include your Internal Storage ("sdcard"). It's usually all that is necessary before flashing a new ROM, as a /System wipe is almost always performed by the ROM you're flashing.
However, if you select the Data check box in the Advanced Menu, this will also wipe your Internal Storage ("sdcard"). This is because your sdcard is actually just a /Media folder inside of /Data (meaning /data/media).
Check this out:
http://teamw.in/datamedia
Click to expand...
Click to collapse
aaaaaaannd this is what I was looking for... thank you very much. .
No problem. Glad I could help.
Ok, this might sound like a noob question but before deleting any files on the internal storage I want to make sure to not delete the wrong ones
I flash roms almost on a weekly basis, try tons of apps which all leave files on my internal storage so now when I look at it I see lots of garbage that I'm pretty sure I can delete - so here is my question:
When flashing a new rom I wipe data and cache and after that can I safely delete every folder on the internal storage? I guess that the only ones that I should keep are:
- clockworkmod
- data
- DCIM
- android
Or is there a way to wipe the phone without losing root? (I just don't want to go through the hassle of rooting again..)
Thanks
Seek and you shall find. :good:
Simply go into Mounts and Storage in the Recovery menu and select "format /data and /data/media (/sdcard)" - that does the trick. It deletes everything on the internal memory but leaves the external SD card untouched --> success!
Use with caution though: before this always do a nandroid backup to the external SD and above all don't do all of this if you are not sure about what you are doing
i usually
i) wipe data/factory reset
ii) wipe dalvik cache
iii) format /system
And always after this there are so many unused and uneccesary directories & files left in my internal sd card.
So you propose that after also runningformat /data and /data/media (/sdcard) everything in internal sdcard is deleted?
the thing is that most probably i have the ROM file and gapps etc in internal sdcard in order to flash the phone.if i run this and if i understood correctly that it deletes everything, then it will also delete those ROM files right?
so please clarify this if you can or propose the best way i guess other aditional steps (that im missing out) in order to have the cleanest possible phone.
I performed a wipe via recovery today, and now my phone won't read the data within Internal Storage. The wipe DID NOT delete pictures and other media files, and the "storage" page in Settings still reports that 21.81 GB of space are occupied. However, I can't access my media files. If I navigate to the "emulated" folder using a file manager, it just says it's empty. Apps can't properly utilize my internal storage.
I know that the files and whatnot are still there for several reasons. One, like I said, my phone still reports over 21 GB being used. Two, if I go into my recovery as if I was to flash a .zip, I can explore my internal storage and all the files are still there. My ROM just cannot read them. I'm on stock rooted and debloated 5.0.2. Please help!
DrFeelgood246 said:
I performed a wipe via recovery today, and now my phone won't read the data within Internal Storage. The wipe DID NOT delete pictures and other media files, and the "storage" page in Settings still reports that 21.81 GB of space are occupied. However, I can't access my media files. If I navigate to the "emulated" folder using a file manager, it just says it's empty. Apps can't properly utilize my internal storage.
I know that the files and whatnot are still there for several reasons. One, like I said, my phone still reports over 21 GB being used. Two, if I go into my recovery as if I was to flash a .zip, I can explore my internal storage and all the files are still there. My ROM just cannot read them. I'm on stock rooted and debloated 5.0.2. Please help!
Click to expand...
Click to collapse
Read and follow the two commands in the second post of my GPE thread...problem solved.