FORUMS
Remove All Ads from XDA

New Storage Layout for HOX Endeavoru

2,394 posts
Thanks Meter: 2,284
 
By teemo, Senior Member on 5th February 2015, 12:09 PM
Post Reply Email Thread
14th January 2017, 07:51 AM |#731  
mrbtree98's Avatar
Senior Member
Flag Brisbane, Australia
Thanks Meter: 122
 
More
@teemo finally got it to flash on 3.0.2.0 just had to remove the first 5 lines in the updater script so the asserts and formats had to go. thanks for the rom running nicely now
The Following User Says Thank You to mrbtree98 For This Useful Post: [ View ] Gift mrbtree98 Ad-Free
 
 
29th January 2017, 09:30 PM |#732  
Junior Member
Thanks Meter: 1
 
More
my digitizer has a dead place near the enter on the keyboard so i cant do 1st step and format data. is there any chance to format in diffrent way or to make twrp in landscape?
29th January 2017, 10:33 PM |#733  
cappuccina's Avatar
Senior Member
Thanks Meter: 402
 
More
I've also the problem of dead space where the nav bar normally is or where you press ok to move on. Very annoying.
You could try the volume keys to navigate and the power button to hit enter.

Gesendet von meinem LG-H960 mit Tapatalk
The Following User Says Thank You to cappuccina For This Useful Post: [ View ] Gift cappuccina Ad-Free
30th January 2017, 11:14 PM |#734  
teemo's Avatar
OP Senior Member
Flag Kolding
Thanks Meter: 2,284
 
More
Prompt Manual creation of file systems for New Layout
Quote:
Originally Posted by gadom92

my digitizer has a dead place near the enter on the keyboard so i cant do 1st step and format data. is there any chance to format in diffrent way or to make twrp in landscape?

I cannot get buttons to work in TWRP, as @cappuccina suggest, so here is an alternative method.
ALL DATA ON SDCARD WILL BE ERASED!

Creating the New Layout by hand:
You need fully working adb and fastboot on your PC. Since you are a HOX owner, I assume you have that and know how to use it
Orange text is what you DO
Red text is what you TYPE
Blue text is output from your commands.

Charge your HOX. You will do everything with HOX connected to PC, so 20-40% charge should be fine.
Connect HOX to PC.
Open cmd(Windows) or terminal (Linux). Your adb+fastboot should be in the path.

First, make sure you are on the right recovery. Both the "big" twrp from this thread and the official 3.0.2 from @DevUt will work.
Output should show /xtradata on mmcblk0p15
Code:
[email protected] ~/Builds/HoX $ adb shell
~ # mount -a && mount|grep xtra
/dev/block/mmcblk0p15 on /xtradata type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
Unmount before creating the new filesystems:
Code:
~ # umount -a
umount: can't umount /tmp: Device or resource busy
umount: can't umount /tmp: Device or resource busy
umount: can't umount /dev/pts: Device or resource busy
umount: can't umount /dev: Device or resource busy
Create the BIG filesystem:
Code:
~ # mke2fs -t ext4 -m 0 /dev/block/mmcblk0p14
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done                            
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
1654784 inodes, 6619136 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
202 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
	4096000

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
If you want to clean out your old DATA, do this section. Otherwise just skip it. This will become the new /xtradata
Code:
~ # mke2fs -t ext4 -m 0 /dev/block/mmcblk0p15
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done                            
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
140544 inodes, 562176 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=578813952
18 block groups
32768 blocks per group, 32768 fragments per group
7808 inodes per group
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
Reboot HOX to fastboot and flash the kernel from a NewLayout ROM:
Code:
~ # exit
 ~ $ adb reboot bootloader
 ~ $ fastboot flash boot boot.img
On the HoX: SELECT HBOOT and then RECOVERY
When booted to recovery, tap Mount and Disable MTP + Enable MTP
Now you shoud be able to access 2 drives from your PC:
  • Internal Storage
  • 2GB Extra Data
Copy the NewLayout ROM to one of these drives and flash it as usual.
The Following User Says Thank You to teemo For This Useful Post: [ View ] Gift teemo Ad-Free
25th April 2017, 03:26 AM |#735  
h4ndr1's Avatar
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by teemo

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

sorry i am newbie.

what do mean for no 6

'Clean out all other partitions'

is it wipe all whole sd card from recovery?

thanks
25th April 2017, 11:57 AM |#736  
teemo's Avatar
OP Senior Member
Flag Kolding
Thanks Meter: 2,284
 
More
Quote:
Originally Posted by h4ndr1

sorry i am newbie.

what do mean for no 6

'Clean out all other partitions'

is it wipe all whole sd card from recovery?

thanks

Download the guide, it will show exactly how to do.
https://rushfiles.one/client/publicl...Z2ht6rqQ5yPykb
The Following 3 Users Say Thank You to teemo For This Useful Post: [ View ] Gift teemo Ad-Free
22nd May 2017, 10:55 AM |#737  
h4ndr1's Avatar
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by denkem

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)

hi,

Is this with 4.18.401.4 kernel? And can be use with your (sweep2wake, doubletap2wake & fast charge and init.d support) kernel?

thanks
24th December 2017, 09:50 AM |#738  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by vaykossil

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

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

Can you upload it again to somewhere else bro,it says that file isn't currently avaible.
Thanks
3rd May 2018, 08:11 PM |#739  
Junior Member
Thanks Meter: 1
 
More
Quote:

Boot to fastboot and Install a recovery made for the New Layout. twrp2811.BiG.img will do for a start.

Where in fastboot is the option to install this?



If I try to install via the TWRP recovery it fails to install.




11-20141112-SNAPSHOT-M12-endeavoru
clockwork recory v 6.0.4.8
TWRP
got here after trying to update to RR5.5.5, getting this message:
"your recovery is using the new storage layout but the rom you're trying to install is not."
Why is step 2 installing a newer recovery? The error says I already got a new one.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes