[MOD] Modified app2ext for Nameless Rom V1, Harmonia 1.2+, Rodimus/Picasticks
A quick hack to load the modules for ext4 and add the files for checking/creating ext partitions.
1: Download here.
2: Copy the zip to your SD CARD and Flash in Recovery
3: Follow the ext4 instructions in the official apps2ext thread. I will summarize below.
Setup ext4 partition: Make sure you have created it (in recovery) first!
mke2fs -m0 -b4096 /dev/block/mmcblk0p2 tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2 e2fsck -yf /dev/block/mmcblk0p2 tune2fs -o journal_data_writeback /dev/block/mmcblk0p2 tune2fs -O ^has_journal /dev/block/mmcblk0p2
Note: The ThunderC recovery supports creating ext4 partitions. This is a relatively easy mod because Nameless V1 and Bumblebee ROM V1.12 supports init.d, but was missing the binaries for creating/checking/modifying ext partitions. Also the picasticks kernel is being used, so I made the app2ext script auto load the ext4 modules. These are needed because the kernel does not have this support build in (to stay lean and mean for those who do not need it).
Besides the app2ext script, 9 files(349 KB) are added to system.
system/bin/e2fsck system/bin/mke2fs system/bin/tune2fs system/lib/libext2fs.so system/lib/libext2_blkid.so system/lib/libext2_com_err.so system/lib/libext2_e2p.so system/lib/libext2_profile.so system/lib/libext2_uuid.so
Edit #2: Harmonia 1.2+ works with this mod as well.
Edit #3: A member reports Rodimus with kernel Picasticks works as well.
- 04-26-2011, 08:02 PM #2
I have not tried the one by darktremor. I am guessing it's similar? It would also need modified, to load the ext4 modules and include the binaries I mentioned. I am partial to apps2ext, as I have used it in the past and not had any problems.
- 04-26-2011, 08:19 PM #4
This should work with the newly released Bumblebee ROM V1.12 (added init.d support), as well. Ignore when it tries to insert the ext modules for BumbleBee, as they are not needed (ext support built in). I have not tested this, so if someone tries it with BumbleBee, let me know if it works. You could install my version (to add the needed files) and then install the official apps2ext version, to get rid of the error's (insert modules failure for BumbleBee since they are not needed). But the errors are harmless.
- 05-01-2011, 11:08 AM #6
- 663 Posts
I asked before but couldn't get a good answer or the "fix" to work. Using the BB kernel i can get link2sd to work with any of the roms i've tried except for nameless. It won't even recognize my ext partition. The kernel obviously supports ext since it works with all my other options but is there something rom based that I am missing for link2sd to work with nameless?
PS. I love your guide for free voip with voice and groove. About to try it.
Nameless uses the picasticks Kernel. The modules need loaded. This file should get you going, as long as your partition is ext4. The newest BumbleBee rom no longer needs this mod. It has been updated and now include the binaries, so you can just use the official zip.
If you want to continue using links2sd, you need to run these commands. (if using the picasticks kernel)
- 05-01-2011, 12:26 PM #8
This mod also works on Harmonia 1.2. (added init.d support in the latest update)
- 05-06-2011, 09:45 PM #10
- 05-07-2011, 11:59 AM #12
- 05-07-2011, 05:15 PM #13
- 2,893 Posts
- Harmonia 3
Depends on the class2 card and your purpose.
All class 2 cards are not created equal. I have some that run at 4times the speed of the rest.
Also, are you after speed or space? Can you compromise?
Harmonia Developer for Optimus V, Optimus Elite, One V, Evo V, Evo Shift, Evo V
Donate here if you feel inclined to brighten my day.
- 05-07-2011, 05:52 PM #14
I have an 8gb sandisk SD with 2gb-3gb of always empty space but I also have about 150mb of internal empty space and I normally have 250mb+ RAM open. I am always interested in more speed while atm I dont seem to be having trouble with space which I would like to keep it that way as I get more apps. The reason I really asked is I am about to buy another 8gb class 10 SD and was wondering if I should go about setting up an ext4 partition now with the class 2 I have or just wait till I get the new card.
- 05-12-2011, 12:11 AM #15
- 05-15-2011, 08:43 PM #16
- 05-15-2011, 09:43 PM #17Hipster Retro Jelly Bean
- 151 Posts
- Android 4.1 Jelly Bean!
Sent from my VM670 via Tapatalk
- 05-15-2011, 10:34 PM #18
I have tried that method but Link2sd doesnt work.The second partition cant be mounted automatically at boot. Does the Send to SD use the ext4 partition or something? Because the internal memory does go up the same amount as the ext4 partition so I am alittle confused if its works or just looking like its working.
- 05-15-2011, 11:18 PM #19Hipster Retro Jelly Bean
- 151 Posts
- Android 4.1 Jelly Bean!
- 05-29-2011, 04:06 PM #20
Just did this, worked well and was easy to do. Not sure why this thread doesn't have more hits.
Just wondering though, if I do a nandroid, will it backup everythin includin ext4?
Also, did I need to format sd card? Because I just flashed this and performed the commands on the current Reborn rom with no problems, seems okay but rather fix it now if there will be problems in the future.
I didn't create a ext partition on my sd card, I just flashed the zip assuming it does everythin for me. Thanks.
- 05-29-2011, 06:43 PM #21
- 06-01-2011, 12:01 PM #23
Got a strange problem. Everything was working, I had 300+ mb of space. I dropped by phone and turned it back on, now all the extra space is back to normal at 18mb. Is there a way to check if it's working or can I just redo the commands and hope it works? I know it sounds dumb that it'd happen from dropping the phone... But it did, and yes, sd card is still reading. Thanks
Edit: after 6 reboots, the memory is back to 313mb. So confused but it's fixed.
Sent from my VM670 using Tapatalk
- 06-29-2011, 01:53 PM #25
Re: [MOD] Modified app2ext for Nameless Rom V1, Harmonia 1.2+, Ro
Running into another problem...
Phone crapped out, so I went back to a nandroid. Had to redo the ext4, didn't work. I did a fresh wipe, fresh install of reborn, didn't work. It enables but says its not active.
I get a bunch of errors on this part:
mke2fs -m0 -b4096 /dev/block/mmcblk0p2
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -yf /dev/block/mmcblk0p2
tune2fs -o journal_data_writeback /dev/block/mmcblk0p2
tune2fs -O ^has_journal /dev/block/mmcblk0p2
I went to the main thread, and tried to unmount, but it says it failed. I get errors like, "the superblock could not be read" "no such file or directory" "could not stat /dev/block/mmcblk0p2--no such file or directory"
Really frustrating knowing I got it working before.