0
[Help] How to resize / expand System Partition ?

  1. marwanpro
    Eclair Aug 24, 2015

    marwanpro , Aug 24, 2015 :
    Hello,

    I'm making a port of a ROM and when I flash it with TWRP (Latest Release) it says he can't symlink.
    I get the log and I seen the system partition is full (The ROM size is about 1,8 GO)

    Code:
    failed to mkdir /system/app/OpenWnn/lib: No space left on device
    symlink: failed to symlink /system/app/OpenWnn/lib to /system/lib/libWnnEngDic.so: making parents failed
    symlink: failed to symlink /system/app/OpenWnn/lib to /system/lib/libWnnEngDic.so: No such file or directory
    script aborted: symlink: some symlinks failed
    symlink: some symlinks failed
    I:Legacy property environment disabled.
    E:Error executing updater binary in zip '/sdcard/updatus.zip'
    Error flashing zip '/sdcard/updatus.zip'
    Updating partition details...
    I:Data backup size is 0MB, free: 26545MB.
    Can I expand /system/ partition ? How ?
    I seen on a GitHub repo the size of /system/ is about 1'338 MB
    Is it a way to expand /system/ and reduce /data/ or /data/media ?
     

    #1
  2. championspike
    Ice Cream Sandwich Aug 24, 2015

  3. DaxNagtegaal
    Marshmallow Aug 24, 2015


    #3
  4. marwanpro
    Eclair Aug 24, 2015


    #4
  5. Aaahh
    Marshmallow Aug 24, 2015


    #5
  6. championspike
    Ice Cream Sandwich Aug 24, 2015


    #6
  7. abhibhan89
    KitKat Aug 24, 2015


    #7
  8. joesweeney413
    Jelly Bean Aug 24, 2015

    joesweeney413 , Aug 24, 2015 :
    I do know you will need FULL bootloader level NAND write access, not sure if anyone has done this on OnePlus, not many phones have had this done.
     

    #8
  9. marwanpro
    Eclair Aug 24, 2015


    #9
  10. Aaahh
    Marshmallow Aug 24, 2015

    Aaahh , Aug 24, 2015 :
    Yeah device storages shortage ALWAYS annoys me
    Check out odexing
    Also your going to have to delete some apps from system
     

    #10
  11. marwanpro
    Eclair Aug 24, 2015

  12. joesweeney413
    Jelly Bean Aug 24, 2015


    #12
  13. Aaahh
    Marshmallow Aug 24, 2015

    Aaahh , Aug 24, 2015 :
    I don't recommend resizing
    How big is your system? It has to be 1.1gbs or less, delete the apps like YouTube

    The only reason you could be running out of storage is if you bullshitted media and fonts or libs
     

    #13
  14. marwanpro
    Eclair Aug 24, 2015

    marwanpro , Aug 24, 2015 :
    1.8 GB, it's a port.
    I can reduce GApps but the port is already Debloated.
     

    #14
  15. shaunthesheep
    Gingerbread Aug 24, 2015


    #15
  16. abhibnl
    Ice Cream Sandwich Aug 24, 2015

    abhibnl , Aug 24, 2015 :
    For the love of god bro, 1.8GB port? What kind of mobile OS uses that much system storage. (My best bet would be Touchwiz, lol!)

    Well i have seen this implemention on some Galaxy Ace roms back in the day. Moving applications to /data partition instead of system. Also, i have tried shrinking system partition once on i9300 and it worked flawlessly. However, i9300 has a pit file readily available, as i presume you already know, so it was pretty easy going back on it.
     

    #16
  17. shaunthesheep
    Gingerbread Aug 24, 2015

    shaunthesheep , Aug 24, 2015 :
    Wow, touchwiz. Would be nice to see around.
     

    #17
  18. Me1256
    KitKat Aug 24, 2015

    Me1256 , Aug 24, 2015 :
    May I ask which rom you are porting?
     

    #18
  19. abhibnl
    Ice Cream Sandwich Aug 24, 2015

    abhibnl , Aug 24, 2015 :
    Nah! We won't want to see our snappy OPO "degraded" by ShitWiz, do we?
     

    #19
  20. shaunthesheep
    Gingerbread Aug 24, 2015

    shaunthesheep , Aug 24, 2015 :
    Personally, I like the looks of the UI. However, TW is laggy, bloated and has knox. So it keeps me away from it.
     

    #20