Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Page 2 of 6 FirstFirst 12345 ... LastLast
Results 26 to 50 of 144
Like Tree11Likes
  1. Thread Author  Thread Author    #26  
    the_maplebar's Avatar

    Posts
    171 Posts
    ROM
    Stock Rooted, CM7.2

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    I actually haven't done the dalvik-cache part on CM7 yet, but that looks good. The amount of cache used is pretty low and /data is mounted on the sd card. It looks like you lost some formatting on the last few lines when pasting the output of the df command. I believe it should be:

    Code:
    /dev/block/mmcblk0p2 960.7M 77.9M 882.8M 8% /data
    /dev/block/vold/179:1 13.9G 8.3G 5.5G 60% /mnt/sdcard
    /dev/block/vold/179:1 13.9G 8.3G 5.5G 60% /mnt/secure/asec
    One more thing you could do to make sure is to look for the dalvik-cache folder. You should find it in /data and not in /cache. The first command should come back as not found, the second should show your dalvik-cache

    Code:
    ls /cache/dalvik-cache
    ls /data/dalvik-cache
  2. Thread Author  Thread Author    #27  
    the_maplebar's Avatar

    Posts
    171 Posts
    ROM
    Stock Rooted, CM7.2

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Now I have run through the full set of instructions (including moving dalvik-cache) on CM7 too. Here is my df -h output afterwards on CM7

    Code:
    Filesystem                Size      Used Available Use% Mounted on
    tmpfs                   210.9M     44.0K    210.9M   0% /dev
    tmpfs                   210.9M         0    210.9M   0% /mnt/asec
    tmpfs                   210.9M         0    210.9M   0% /mnt/obb
    /dev/block/mtdblock5    158.5M    126.0M     32.5M  79% /system
    /dev/block/mtdblock6    164.9M    135.1M     29.8M  82% /mnt/asec/data
    /dev/block/mtdblock1    124.1M     34.4M     89.7M  28% /cache
    /dev/block/mmcblk0p2    961.6M    186.3M    775.4M  19% /data
    /dev/block/vold/179:1
                             13.9G      6.3G      7.7G  45% /mnt/sdcard
    /dev/block/vold/179:1
                             13.9G      6.3G      7.7G  45% /mnt/secure/asec
    It turns out system apps on the ROM are still put on /cache/dalvik-cache. All of the user apps are on /data/dalvik-cache so there shouldn't be a problem with running out of space.
  3. Thread Author  Thread Author    #28  
    the_maplebar's Avatar

    Posts
    171 Posts
    ROM
    Stock Rooted, CM7.2

    Default

    WARNING: I got the ota update notification tonight. I didn't want to chance accidently updating sometime and bricking my phone so I did the battery pull trick to remove the notification. This meant I got to test out the stability of ext4 on the sdcard. My results were:

    1st boot, no access to sd-ext and /data looked like fresh reborn rom
    2nd boot, had access to sd-ext and /data but widgets wouldn't load.
    3rd boot, everything was back to normal

    I'm guessing ext4 and the fsck saved my but repairing the partition after my battery pull.
  4. #29  
    blackops1125's Avatar
    Advisor

    Posts
    991 Posts

    Default

    Hoping to get this working on the ZVH update

    sent from my CM7/Reborn w/ 1 Gb internal storage Optimus S

    Always happy to help, hit that thanks button if I did
    Current Device(s): Motorola Droid Razr
    Previous Device(s): LG Optimus S
    Always happy to help out, Just remember to hit that thanks button!
    Thanked by 2:
  5. #30  
    glitchsta's Avatar

    Posts
    154 Posts
    ROM
    CM9 Alpha5 ZVD

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    I am trying to get it working with gRom, I am running the GingerKernal and I dont think it is loading the ext4 modules, I am wondering i I can just get the modules from my nandroid of CM7 and put them where they go...here is what I get...

    sh-3.2# data2ext --enable
    data2ext --enable
    insmod: can't read '/system/lib/modules/mbcache.ko': No such file or directory
    insmod: can't read '/system/lib/modules/jbd2.ko': No such file or directory
    insmod: can't read '/system/lib/modules/ext4.ko': No such file or directory
    Data2EXT is already enabled but not active...
    sh-3.2#
  6. #31  
    basketthis's Avatar

    Posts
    1,475 Posts
    Global Posts
    1,480 Global Posts
    ROM
    AOSP!!!

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Quote Originally Posted by glitchsta View Post
    I am trying to get it working with gRom, I am running the GingerKernal and I dont think it is loading the ext4 modules, I am wondering i I can just get the modules from my nandroid of CM7 and put them where they go...here is what I get...

    sh-3.2# data2ext --enable
    data2ext --enable
    insmod: can't read '/system/lib/modules/mbcache.ko': No such file or directory
    insmod: can't read '/system/lib/modules/jbd2.ko': No such file or directory
    insmod: can't read '/system/lib/modules/ext4.ko': No such file or directory
    Data2EXT is already enabled but not active...
    sh-3.2#
    The rom needs to support the ext file systems. Make sure gRom supports ext partitions first.
    "Th- th- thinking of a master plan"
  7. Thread Author  Thread Author    #32  
    the_maplebar's Avatar

    Posts
    171 Posts
    ROM
    Stock Rooted, CM7.2

    Default

    Are you comfortable with shell scripts? Take a look at the data2ext script from the reborn zip, it includes the insmod command to load the modules for ext4 support
    Thanked by:
  8. #33  
    glitchsta's Avatar

    Posts
    154 Posts
    ROM
    CM9 Alpha5 ZVD

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Quote Originally Posted by the_maplebar View Post
    Are you comfortable with shell scripts? Take a look at the data2ext script from the reborn zip, it includes the insmod command to load the modules for ext4 support
    Yes I know this all you have to do is "insmod /system/lib/modules/ext4.ko" but I do not have the right ext4.ko file, If I could find the ones that would load would be a start...

    sh-3.2# insmod /system/lib/modules/ext4.ko
    insmod /system/lib/modules/ext4.ko
    insmod: init_module '/system/lib/modules/ext4.ko' failed (Exec format error)
    sh-3.2#

    So far this gingerbread stuff has not been going to well, can't wait till someone can get something good going, My screen is ultrasensitive, I think due to over clocking....we just need to find the ext4 modules for this kernal....the old ones dont work
  9. #34  
    glitchsta's Avatar

    Posts
    154 Posts
    ROM
    CM9 Alpha5 ZVD

    Default

    I dont know I am a novice my guess is neither GingerBreak or Grom supports ext4....

    Sent from my LS670 using Tapatalk
  10. #35  
    Sdude1200's Avatar

    Posts
    142 Posts
    ROM
    Stock.... for now

    Default

    How would I go about setting up Opti-Rom for data2ext?

    Sent from my OptiRom v1ed LG Optimus S
  11. Thread Author  Thread Author    #36  
    the_maplebar's Avatar

    Posts
    171 Posts
    ROM
    Stock Rooted, CM7.2

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    The new version of Opti-rom 1.1.1 has ext4 file support build in so you should be able to flash the zip for CM7 based builds and go through the steps in the How-to.

    If any required exe's are missing you will get errors while setting up the ext partition. This won't hurt anything, but we will need to figure out what is missing and get it added to the rom or a zip.

    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
  12. #37  
    blackops1125's Avatar
    Advisor

    Posts
    991 Posts

    Default

    Quote Originally Posted by Sdude1200 View Post
    How would I go about setting up Opti-Rom for data2ext?

    Sent from my OptiRom v1ed LG Optimus S
    This thread is for froyo (ZVD) based ROMS or CM7 roms. You will need to look in that roms thread for directions.


    sent from my CM7/Reborn w/ 1 Gb internal storage Optimus S

    Always happy to help, hit that thanks button if I did
    Current Device(s): Motorola Droid Razr
    Previous Device(s): LG Optimus S
    Always happy to help out, Just remember to hit that thanks button!
    Thanked by:
  13. Thread Author  Thread Author    #38  
    the_maplebar's Avatar

    Posts
    171 Posts
    ROM
    Stock Rooted, CM7.2

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    I'm planning to update the How-to as needed once we have clear steps for ZVH based ROMs. I don't know how to do it yet and I'm still on ZVD so you may get more help from people actually running opti-rom or g-rom
  14. #39  
    basketthis's Avatar

    Posts
    1,475 Posts
    Global Posts
    1,480 Global Posts
    ROM
    AOSP!!!

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Quote Originally Posted by Sdude1200 View Post
    How would I go about setting up Opti-Rom for data2ext?

    Sent from my OptiRom v1ed LG Optimus S
    Quote Originally Posted by blackops1125 View Post
    This thread is for froyo (ZVD) based ROMS or CM7 roms. You will need to look in that roms thread for directions.
    Opti-ROM now supports data2ext, apps2ext, dalvik2cache all natively. I will get updated instructions on how to properly move apps to the ext partition on the sd card asap. Please do not flash any files to try accomplish this. We no longer need to flash anything to do this as it's built in. It may mess something up pretty bad.
    Also, all ext formats are supported as well. Thanks to drew's newest kernel!
    "Th- th- thinking of a master plan"
  15. Thread Author  Thread Author    #40  
    the_maplebar's Avatar

    Posts
    171 Posts
    ROM
    Stock Rooted, CM7.2

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Great info. I see the dalvik2cache and app2sd scripts. Looks like it's using darktremor's app2sd so people can search for info on using that.

    I see there is a darktremor's app2sdgui, do you know if the app2sd script including in opti-rom is compatible with the gui?
  16. #41  
    basketthis's Avatar

    Posts
    1,475 Posts
    Global Posts
    1,480 Global Posts
    ROM
    AOSP!!!

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Quote Originally Posted by the_maplebar View Post
    Great info. I see the dalvik2cache and app2sd scripts. Looks like it's using darktremor's app2sd so people can search for info on using that.

    I see there is a darktremor's app2sdgui, do you know if the app2sd script including in opti-rom is compatible with the gui?
    I am happy you like it. Don't search for info yet. I have put up a warning in my thread for the people interested. It's a very powerful script set and someone could really mess things up! I have already included (set in boot) what I know to be safe. Anything else is being tested. And still, only certain commands can be run after certain steps have been accomplished. So there is extreme caution that needs to be taken with this! I will be testing the GUI as well. Thanks for your interest.

    Side note: most things are working, however using the proper commands will be important. Please just wait it out a little guys and i will have some instructions for you.
    If you already have a formatted ext partition on your sdcard, it will be the easiest instructions. If you don't, you may be waiting a while as I don't plan to include instructions in the Rom thread about how to format an sdcard...
    "Th- th- thinking of a master plan"
  17. #42  
    blackops1125's Avatar
    Advisor

    Posts
    991 Posts

    Default

    Quote Originally Posted by basketthis View Post
    I am happy you like it. Don't search for info yet. I have put up a warning in my thread for the people interested. It's a very powerful script set and someone could really mess things up! I have already included (set in boot) what I know to be safe. Anything else is being tested. And still, only certain commands can be run after certain steps have been accomplished. So there is extreme caution that needs to be taken with this! I will be testing the GUI as well. Thanks for your interest.

    Side note: most things are working, however using the proper commands will be important. Please just wait it out a little guys and i will have some instructions for you.
    If you already have a formatted ext partition on your sdcard, it will be the easiest instructions. If you don't, you may be waiting a while as I don't plan to include instructions in the Rom thread about how to format an sdcard...
    Thanks for the info. I will keep checking the Roms thread for updates. Really interested in this. As this is the only thing keeping me on ZVD. I just gotta have my 1Gb.



    sent from my CM7/Reborn w/ 1 Gb internal storage Optimus S

    Always happy to help, hit that thanks button if I did
    Current Device(s): Motorola Droid Razr
    Previous Device(s): LG Optimus S
    Always happy to help out, Just remember to hit that thanks button!
  18. #43  
    basketthis's Avatar

    Posts
    1,475 Posts
    Global Posts
    1,480 Global Posts
    ROM
    AOSP!!!

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Quote Originally Posted by blackops1125 View Post
    Thanks for the info. I will keep checking the Roms thread for updates. Really interested in this. As this is the only thing keeping me on ZVD. I just gotta have my 1Gb.



    sent from my CM7/Reborn w/ 1 Gb internal storage Optimus S

    Always happy to help, hit that thanks button if I did
    You motivated me! lol Got the commands up and it's fully functional.
    http://forums.androidcentral.com/lg-...ml#post1314580
    "Th- th- thinking of a master plan"
    Thanked by:
  19. #44  
    blackops1125's Avatar
    Advisor

    Posts
    991 Posts

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Quote Originally Posted by basketthis View Post
    You motivated me! lol Got the commands up and it's fully functional.
    http://forums.androidcentral.com/lg-...ml#post1314580
    Thanks for your hard work on this to all that put in time! Can not wait to try out the ZVH and Opti-rom
    Current Device(s): Motorola Droid Razr
    Previous Device(s): LG Optimus S
    Always happy to help out, Just remember to hit that thanks button!
  20. #45  
    Sdude1200's Avatar

    Posts
    142 Posts
    ROM
    Stock.... for now

    Default

    Quote Originally Posted by basketthis View Post
    Opti-ROM now supports data2ext, apps2ext, dalvik2cache all natively. I will get updated instructions on how to properly move apps to the ext partition on the sd card asap. Please do not flash any files to try accomplish this. We no longer need to flash anything to do this as it's built in. It may mess something up pretty bad.
    Also, all ext formats are supported as well. Thanks to drew's newest kernel!
    Yeah I just read the update now! Thanks basket and drew! I love they work everyone does here!
  21. #46  
    Jessicalt1's Avatar
    Lover of all things Andi

    Posts
    401 Posts
    Global Posts
    485 Global Posts
    ROM
    MikRunny v1.01

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Out of curiousity, once you partition, can you go back? I partitioned my 4gb card, then upgraded to a new phone and formatted the card to sell with the phone. It said I only had 2.73gb available, I'm assuming due to the partitioning? I'd like to go back to "stock" so the buyer has the full 4gb available to them.
    Just another crazy Andi lover
    Have you been helped? "Thank" the person who helped you!! Don't be stingy!
  22. #47  
    basketthis's Avatar

    Posts
    1,475 Posts
    Global Posts
    1,480 Global Posts
    ROM
    AOSP!!!

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    Quote Originally Posted by Jessicalt1 View Post
    Out of curiousity, once you partition, can you go back? I partitioned my 4gb card, then upgraded to a new phone and formatted the card to sell with the phone. It said I only had 2.73gb available, I'm assuming due to the partitioning? I'd like to go back to "stock" so the buyer has the full 4gb available to them.
    Select partition in recovery and choose 0mb and 0 swap and it will give you your full memory back.
    "Th- th- thinking of a master plan"
    Thanked by:
  23. #48  
    Jessicalt1's Avatar
    Lover of all things Andi

    Posts
    401 Posts
    Global Posts
    485 Global Posts
    ROM
    MikRunny v1.01

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    That did it, thanks!
    Just another crazy Andi lover
    Have you been helped? "Thank" the person who helped you!! Don't be stingy!
  24. #49  

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    ad74 07:14 PM Today
    Originally Posted by the_maplebar:
    Check the How-to in my signature. There
    are some manual steps you need to do
    to get dalvik-cache moved to the sd card.

    This is to: the_maplebar:

    Thanks for your reply. Ok. So it will
    recover a significant amount of space for
    me? I was just hesitant about trying the
    manual steps bc I was worried about
    screwing up(bricking) my phone if I
    happen to enter a wrong command or
    something. What about the link2sd app?
    Does it work good? Just curious. Thanks in
    advance.
  25. Thread Author  Thread Author    #50  
    the_maplebar's Avatar

    Posts
    171 Posts
    ROM
    Stock Rooted, CM7.2

    Default Re: [How-To] data2ext for Reborn, Froyo 2.2 and CM7

    I haven't used link2sd so I can't really say. I believe link2sd lets you move the individual applications to the sd card. This means there would be more maintenance (having to move apps) but you could keep some commonly used apps on the internal memory.

    If you are concerned about messing up the commands I suggest you try using ADB. That way you can copy and paste the commands from the post to the command prompt. Also I have not heard of anyone bricking their phone by dong this even if they screw up. It is possible that you could screw up the ROM, I did as I was figuring this out. All I had to do was dirty flash the ROM and everything was working again. Make a nandroid backup then you can easily go back to what you have right now before running any of the steps.
Page 2 of 6 FirstFirst 12345 ... LastLast

Posting Permissions