New Storage Layout for HOX Endeavoru

Search This thread
Mar 24, 2013
46
11
mumbai
Thanks a lot @teemo but thats exactly what i have done.Each and every step followed .hence lollipop works but still trying it out with viper rom.
EDIT:now i am pretty sure it has nothing got to do with the recovery ,its all about sense cause just now i again tried resurrection rom and it works like a charm

---------- Post added at 06:00 PM ---------- Previous post was at 05:28 PM ----------

Has someone tested the viper rom on new layout?it surely seems to be having issues in my phone.it wipes all data even in multi boot:( and unfortunately i loved that rom the most(in sense roms) for its various customizations and stuff
 
Last edited:

vaykossil

Senior Member
Sep 21, 2011
669
117
Xiaomi Mi A3
Samsung Galaxy A51
Thanks a lot @teemo but thats exactly what i have done.Each and every step followed .hence lollipop works but still trying it out with viper rom.
EDIT:now i am pretty sure it has nothing got to do with the recovery ,its all about sense cause just now i again tried resurrection rom and it works like a charm

---------- Post added at 06:00 PM ---------- Previous post was at 05:28 PM ----------

Has someone tested the viper rom on new layout?it surely seems to be having issues in my phone.it wipes all data even in multi boot:( and unfortunately i loved that rom the most(in sense roms) for its various customizations and stuff

As I mentioned before,you should not choose full wipe in aroma installer,just do your wipes through recovery.
 
Mar 24, 2013
46
11
mumbai
As I mentioned before,you should not choose full wipe in aroma installer,just do your wipes through recovery.
@vaykossil
I had selected install without wiping and then the installation process is over in 2-3 seconds only and before u know it the phone goes into the same boot logo issue .the 2nd time i tried all that u said the phone shut when the installation was at 9%.just for ur info i dont know if this helps in any way but my hboot is 1.72 and cid 11111111 and s- off
 
Last edited:

vaykossil

Senior Member
Sep 21, 2011
669
117
Xiaomi Mi A3
Samsung Galaxy A51
@vaykossil
I had selected install without wiping and then the installation process is over in 2-3 seconds only and before u know it the phone goes into the same boot logo issue .the 2nd time i tried all that u said the phone shut when the installation was at 9%.just for ur info i dont know if this helps in any way but my hboot is 1.72 and cid 11111111 and s- off

Read this post,I believe this is aroma installers's fault.
 

baolac

Member
Feb 17, 2013
38
10
Vietnam
Hello teemo. How can i flash some lyapota modpack with new storage layout ? I tried flash, but not happen.It's stuck on HTC one logo
 

Tanuj97

Senior Member
Jun 7, 2014
574
663
Mumbai
which of the following sense roms are working properly on the new layout ......i think viper is not working ..what bout skydragon and arhd ?? are they working properly ???
 

baolac

Member
Feb 17, 2013
38
10
Vietnam
Do you have a link to the modpack?
Yes link here :
1. lyapota_modPack_4.18.401.4_Ver_8_4
2. lyapota_modPack5_resManager_Ver_3_7
3. lyapota_OneXperia_Goods_1_1

---------- Post added at 01:20 PM ---------- Previous post was at 01:05 PM ----------

which of the following sense roms are working properly on the new layout ......i think viper is not working ..what bout skydragon and arhd ?? are they working properly ???
ARHD working properly.
 
Last edited:
  • Like
Reactions: teemo

teemo

Senior Member
Nov 18, 2007
2,430
2,315
Kolding
Yes link here :
1. lyapota_modPack_4.18.401.4_Ver_8_4
2. lyapota_modPack5_resManager_Ver_3_7
3. lyapota_OneXperia_Goods_1_1

---------- Post added at 01:20 PM ---------- Previous post was at 01:05 PM ----------


ARHD working properly.

Could you try if this works: https://www.dropbox.com/s/z20pww48en9k6ce/lyapota_modPack_4.18.401.4_Ver_8_4-NL.zip?dl=0

ARHD and SkyDragon works. Viper should work as well, but read back a few posts/pages on the install issues.
 
Mar 24, 2013
46
11
mumbai
Need an update- binary script

@teemo -can u pls post an update-binary script for a sense rom without aroma?i am trying to remove aroma installer from the viper rom for new layout but i need a suitable update-binary script too.
It would be helpful if u could actually upload it cause i dont want to download another rom for this purpose.
THANKS:)
 
Last edited:

Tanuj97

Senior Member
Jun 7, 2014
574
663
Mumbai
while flashing arhd for the new layout should i wipe data manually or select the wipe data option in the aaroma installer ??
 

teemo

Senior Member
Nov 18, 2007
2,430
2,315
Kolding
while flashing arhd for the new layout should i wipe data manually or select the wipe data option in the aaroma installer ??

Wipe data from twrp menu only.
If wiping data from a converted Sense ROM, you might wipe ALL of you sdcard.

However, I disabled this from the arhd rom. You can select it, but it will not actually do it.
 
  • Like
Reactions: cappuccina

Top Liked Posts

  • There are no posts matching your filters.
  • 106
    New Storage Layout for HOX Endeavoru

    This New Layout will change the way your phones internal memory partitions are used.
    The primary goal is to get more space for your apps and data. The secondary goal is to be more compatible with new OS/software. This is obtained by using a layout similar to Nexus devices.

    Two years ago pabx showed us "How to switch to a big /data partition", but at that time very few of us actually needed it. It was experimental and good Linux skills was required.

    Almost one year ago Thömy proposed to use a new better storage layout for our device. We tried it and found it good (at least I did), but we were still happy with KitKat on Dalvik, so we didn't bother to publish it.

    Well, now we have Lollipop and ART. And memory suddently seem very limited.
    Move2SD is a must for many of us. And guess what...: Thömy refined the layout to be used for Android 5 and ... I have the pleasure to present this New Layout. So, here we go.


    Before starting the process of converting your HOX to the New Layout, please make sure you have plenty of time for this.
    Don't start if you are planning to use the phone in near future. Unforseen things can happen, so you may need some advice to get back on the right track.
    It is very hard to brick the HOX as HTC did a good job on securing it, but we all know, s... happens.
    Remember, xda is all about changes and no change is without risk.


    A word of warning: Although some error situations will be prevented, it was not possible to cover all situations.
    You CAN restore a backup from the wrong layout. And you may be able to loose data if you don't keep track of which layout you are using.
    It is YOUR responsability to keep track of your files.
    Good luck and have fun flashing.


    Enough talking, let's start.

    Requirements: HTC One X International. 50%+ battery. You know how to flash a recovery. You know how to flash ROM and boot.img.
    To upgrade, follow these simple steps or use the detailed guides below:

    Make sure your adb/fastboot is up to date and working.
    Make sure you can transfer files with MTP (test before you start the transformation).
    1. Backup everything in your phone that you want to keep. This will WIPE ALL!
    2. Boot to fastboot and Install a recovery made for the New Layout. twrp2811.BiG.img will do for a start.
    3. Disconnect the phone from PC (current recovery will fail the format process if you skip this step).
    4. Format Data. This will reformat your SD Card to be used for both app-data and user storage (new SD Card).
    5. Clean out all other partitions.
    6. Restart recovery and wait for two new drives to pop up on your PC.
    7. Copy a ROM with the New Layout to the Internal SD Card or the new 2GB Extra Data.
    8. Flash the ROM (and gapps) and reboot.
    9. Go here and press the Thanks button (or even better, the button above it).

    Going back to the old layout is easy:
    1. Boot to fastboot and Install an old Recovery.
    2. Change the file system of the SD Card back to FAT.
    3. Copy a ROM or a backup with old layout to SD Card. Mount USB Storage if you want to copy a backup - MTP may fail on very large files.
    4. Wipe/format everything except SD Card.
    5. Flash ROM or restore backup.
    6. Reboot to bootloader and Flash boot.img from ROM or the backup.
    7. Boot to your old system.

    Whats missing ? Let me know if you find something!
    Want pictures ? Look in the guides :)
    Want more ? Upload it....
    ... and so he did... thanks @dady000 for SlimBean!

    Adding New Layout to Legendary @pabx AOSP 4.2.2 >>>>>>DOWNLOAD<<<<<

    All my files are now copied/moved to >>>>> Android File Host
    22
    FAQ

    :confused:
    How do I create a backup of my Old Layout?
    Guide on BACKUP

    :confused:
    How do I switch to the New Layout?

    :confused:
    How do I get back to the Old Layout?
    Guide on Going Back to Normal Layout


    :confused:
    How difficult is it to switch to the New Layout?
    Awesome I will try the new layout.
    ... @teemo love the instruction for New big partition it is easy to follow and I don't thnk I can make a mistake unless I forget to backup my files to my computer. Thanks for the formatting over to new partition instructions.
    :confused:
    What if I update the ROM or if I change to a different ROM. Do I need to backup my pictures and music etc. first ?
    The SD Card is now a part of the /data partition. It is actually just a directory named - /data/media
    This "media" is the SD Card.
    When you flash a ROM, you can wipe Dalvik, System, Cache and Data. This will not touch the SD Card.
    When you select wipe Data in twrp, it does NOT format /data. It selectively delete everything on /data except /data/media
    To wipe the SD Card, you need to select Internal SD Card.
    prepare.png
    :confused:
    Show me the difference...

    Partitions on the Old Layout:
    Code:
    #p12: 1280MB  /system
    #p13:  320MB  /cache
    #p14:   25GB  sdcard
    #p15: 2196MB  /data
    Partitions on the New Layout:
    Code:
    #p12: 1280MB  /system
    #p13:  320MB  /cache
    #p14:   25GB* /data
    #p14:   25GB* /data/media = sdcard
    #p15: 2196MB  /xtradata
    * #p14 is 25GB that is shared between DATA and SDCARD
    :confused:
    Why can't we use Mass storage?

    The data we want to store on the bigger partition need to be protected. The FAT system used by current sdcard does not offer any kind of protection. Linux/Android use ext4 to secure your data. This mean you can use your phone for banking, pictures, videos and other private data without worrying too much.
    HTC have locked the partitions, so we cannot resize /data and sdcard.

    :confused:
    Can I restore from Old Layout to New Layout

    Thanks to @eyosen for reminding me of this. It can make life a little easier for us:
    You can restore DATA from the Old Layout to the New Layout. Do not restore the system.
    Make sure the data you restore is compatible with the ROM (system) you install. Most apps may restore and work perfect, but be prepared, that there might be issues. If an app is messed up, first try to clear the apps data via Settings-Apps-"BadApp".

    :confused:
    I can't see the drives on PC ... I have problems with Windows drivers:

    THIS guide has proven to be useful, thanks @bhushan11689

    :confused:
    I still have problems with Windows drivers when using twrp2834-BiG:

    Try the new twrp2851-BiG, it is more friendly :)
    :confused:
    I cannot download to sdcard,
    Pictures and Screenshot does not work,
    How can I access my sdcard?

    For all solutions below: Once you enter the command, you must WAIT.
    It can take a while, as the command will change ownership of all your files on the sdcard.
    On a fresh install it may only take a second. But if you restored a lot of files, be prepared to WAIT :)

    If you use MultiRom don't do this (I am not sure, but I think it will change ownership for your secondary ROMs)

    Originally Posted by Thunder07 I'd recommand
    Code:
    adb root
    adb shell chown -R media_rw:media_rw /data/media/0/
    If that didn't work, try this:
    - boot into the recovery
    - tap Advanced -> Terminal Command -> Select
    - write carefully:
    Code:
    chown -R media_rw:media_rw /data/media/0/
    tap Go and WAIT for the command to finish
    - tap Home and reboot system

    Or if you have Root Explorer or similar installed in android, you can:
    - From Root Explorer navigate to /data/media
    - long press the "0" folder and select Change owner
    - Set Owner and Group to "1023 - media_rw" and tick "Also set on all sub-folders and files"
    - hit OK and WAIT.


    ...to be updated...
    15
    ViperX FOR NEW LAYOUT

    Hi,here is the ViperX 4.1.1 for new layout made by me.
    Actually I didn't do anything special,just followed the instruction posted by teemo,so do not consider it my job ;)

    ViperX 4.1.1-NL

    Hope you enjoy it :p

    Edit:
    1-Flash kernel from this post,ignore the one inside the rom.

    2-I forgot to include extra keyboards added in latest viperX,if you need any,extract it from original ViperX zip (old layout) and copy your missing keyboard to system/app and reboot.don't forget to change permision before :cowboy:
    11
    MaximusHD

    With huge thanks to teemo, here is MaximusHD for New layout:

    1.) ROM
    2.) OTA 1
    3.) OTA 2
    4.) OTA 3

    (leave a feedback, please)
    9
    Can we modify sense roms to use this new layout in order to get more space for data ?
    Thanks for the reply teemo. So in order to boot a sense 5 ROM on this new layout, stuff has to be changed to get it to boot correct? Is it updater-script? Or is it totally impossible to boot a sense 5 ROM on the new layout?
    it's impossible to use sense on this new layout. if you want going back to sense then you need to revert back to "old layout" :D]
    Most changes are in the ramdisk and Sense developers can change that easily. But there's one change in a framework XML file. But I think it's possible to change that also by decompiling the framework.jar. Ask your favorite Sense developer what he/she thinks about the change. However there's a bit of uncertainty. There may be other places where Sense expects a separate SD card. Also the developer probably needs to add the AOSP sdcard daemon.

    Thanks @teemo for the great work... Now waiting CM to join the party.
    Hopefully today.

    I'd recommand
    Code:
    adb root
    adb shell chown -R media_rw:media_rw /data/media/0/
    We should solve this problem. Why doesn't the recovery mtp daemon enforce media_rw ownership? Or is it solved in a newer version?

    anyways, in your main post, you linked to Thomy's patch, where he uses the old data as /cache, and releasetools.py isnt fully updated and so forth,
    but you use the old /cache still, either way, you should make it clear in the 1st post which way everyone should use.
    I've updated the patchset.