Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 1 of 2 12 LastLast
Results 1 to 25 of 27
  1. Thread Author  Thread Author    #1  
    Takenover83's Avatar

    Posts
    506 Posts
    Global Posts
    507 Global Posts
    ROM
    Changes to Often

    Default [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!
    Code:
    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
    4: Activate apps2ext with "data2ext --enable". Ignore the errors about the modules already being inserted.

    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.
    Code:
    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 #1: Removed BumbleBee. You no longer need this mod for the BumbleBee Rom. The binaries are now included in the updated rom (version 1.13+)
    Edit #2: Harmonia 1.2+ works with this mod as well.
    Edit #3: A member reports Rodimus with kernel Picasticks works as well.
    SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
    Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP.
    Thanked by 5:
  2. #2  

    Default

    i was wondering your thoughts on a2sd by darktremor..Will it work with this hack? what are the reasons why you would prefer data2ext over a2sd?

    Thanks in advance
  3. Thread Author  Thread Author    #3  
    Takenover83's Avatar

    Posts
    506 Posts
    Global Posts
    507 Global Posts
    ROM
    Changes to Often

    Default

    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.
    SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
    Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP.
  4. #4  

    Default

    A2sd is similar but you have the option to move cache, applications and data individually.

    I used your script and it looks like it worked perfectly. I am restoring from titanium back up now.

    Thank you very much.
  5. Thread Author  Thread Author    #5  
    Takenover83's Avatar

    Posts
    506 Posts
    Global Posts
    507 Global Posts
    ROM
    Changes to Often

    Default

    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.
    SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
    Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP.
  6. #6  
    Kreatur3's Avatar

    Posts
    663 Posts
    ROM
    MIUI

    Default

    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.
  7. Thread Author  Thread Author    #7  
    Takenover83's Avatar

    Posts
    506 Posts
    Global Posts
    507 Global Posts
    ROM
    Changes to Often

    Default

    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)

    insmod /system/lib/modules/mbcache.ko
    insmod /system/lib/modules/jbd2.ko
    insmod /system/lib/modules/ext4.ko
    Edit: Removed BumbleBee and added a little info to the bottom of post #1.
    SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
    Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP.
  8. #8  
    Kreatur3's Avatar

    Posts
    663 Posts
    ROM
    MIUI

    Default

    Ok I've been using ext 3 since that is what cwma .6 makes but I'll switch to thunder so Ican make it ext 4.

    Sent from my VM670 using Tapatalk
    It takes less time to hit thanks than it does to type it out...
    I dig being flamed so FLAME ON!
  9. Thread Author  Thread Author    #9  
    Takenover83's Avatar

    Posts
    506 Posts
    Global Posts
    507 Global Posts
    ROM
    Changes to Often

    Default

    This mod also works on Harmonia 1.2. (added init.d support in the latest update)
    SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
    Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP.
  10. #10  

    Default

    also works with rodimus with pickasticks kernal
  11. Thread Author  Thread Author    #11  
    Takenover83's Avatar

    Posts
    506 Posts
    Global Posts
    507 Global Posts
    ROM
    Changes to Often

    Default

    Thanks for the heads up. Added to title and post #1.
    SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
    Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP.
  12. #12  

    Default

    Just wondering is it a waste to do if u only have a class 2 SD card or does speed not really matter? I am still alittle confused by what the reason is to do this since app 2 sd works fine without all the hassle unless there is some kinda of speed advantage?
  13. #13  
    LeslieAnn's Avatar
    AC Forums Android Developer

    Posts
    2,893 Posts
    ROM
    Harmonia 3

    Default

    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.
  14. #14  

    Default

    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.
  15. #15  

    Default

    this rules thanks!
    Check out the LG Optimus V Wiki! Please help it grow by editing and submitting!
  16. #16  

    Default

    Is there anything like this for AOSP?
  17. #17  
    takehull's Avatar
    Hipster Retro Jelly Bean

    Posts
    151 Posts
    ROM
    Android 4.1 Jelly Bean!

    Default

    Quote Originally Posted by zedorda View Post
    Is there anything like this for AOSP?
    Go to the xda thread linked in the op and follow instructions there. I created a ext3 partition on my sdcard, and flashed the thunderc recovery by getitnowmarketing to convert to ext4. I then flashed my normal recovery(xionia) and followed the instructions from there(flashing the zip and the rest). Works well.

    Sent from my VM670 via Tapatalk
  18. #18  

    Default

    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.
  19. #19  
    takehull's Avatar
    Hipster Retro Jelly Bean

    Posts
    151 Posts
    ROM
    Android 4.1 Jelly Bean!

    Default

    Quote Originally Posted by zedorda View Post
    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.
    When you run the data2ext script, it should move the /data partition to your ext4 partition on your sdcard. It is working on my phone... I'm using more memory on my ext4 partition than it says I am in my settings > about phone menu.

    Sent from my VM670 via Tapatalk
  20. #20  

    Default

    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.
  21. #21  

    Default

    worked perfect with RebornROM. Thanks so much! Tried putting the modules together for Rodimus a while back with no luck, you're a smart guy! or I'm just stupid
    Check out the LG Optimus V Wiki! Please help it grow by editing and submitting!
  22. Thread Author  Thread Author    #22  
    Takenover83's Avatar

    Posts
    506 Posts
    Global Posts
    507 Global Posts
    ROM
    Changes to Often

    Default

    Quote Originally Posted by vee View Post
    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.
    That would greatly depend on the recovery you are using. I think the latest CWMOD recovery does backup your ext partition.
    Quote Originally Posted by liquidmass View Post
    worked perfect with RebornROM. Thanks so much! Tried putting the modules together for Rodimus a while back with no luck, you're a smart guy! or I'm just stupid
    Haha, hardly. It was alot of trial and error at first. Without the help of many members on various forums, I would of never figured out myself. I just put the puzzle pieces together.
    SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
    Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP.
  23. #23  

    Default

    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
  24. Thread Author  Thread Author    #24  
    Takenover83's Avatar

    Posts
    506 Posts
    Global Posts
    507 Global Posts
    ROM
    Changes to Often

    Default

    Likely needed to check your ext partitions for errors.
    SugarSync (5GB Cloud) Referral Link. - We each get 500MB extra.
    Guide to Play MP4's from the Cloud. Guide to Free VOIP using Google Voice and Groove IP.
  25. #25  

    Default 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.
Page 1 of 2 12 LastLast

Posting Permissions