yashsingh1/xdaforums huggingface dataset:
[HTC One X] sheva_xan:
I was using folder mount, which is a great thing, but I was asking about different thing. I would like to use 2Gb partition as USB mass storage when my phone is connected to PC.
[HTC One X] teemo:
UMS would require FAT on that partition. That would only add to the confusion :)

But adding it to MTP (like in recovery) would be useful. I just need to figure out how to do that. Hopefully I will get some time for this one day.
[HTC One X] sheva_xan:
Thanks. I don't mind this partition to be formated in FAT or NTFS. I is just in my town most of businesses still have windows xp installed and a vast majority of them do not have MTP drivers. So for me it would be very useful to have USB mass storage at the tips of my fingers.
[HTC One X] renegades0001:
Good day sir can you give the full tutorial of applying these layout for sense 5?this is my first time on using this tools and commands thanks in advance and more power mate :cheers:
[HTC One X] Regnas:
[MENTION=698346]teemo[/MENTION]

Sorry if it's an stupid question, but what about F2FS??

It seems like a better file system than ext.

So, can we use F2FS in our internal SD card?

And by the way, what's the file system used in the new layout (ext4)? Can it be changed to F2FS?

Thanks.

Cheers.
[HTC One X] teemo:
It is possible, but need updates in the kernel. I don't think we gain much though and time is better used for real problems. [MENTION=2879446]Thömy[/MENTION] do you have it on Grouper, is it any good?
[HTC One X] Regnas:
I saw some guys experiencing extreme improvements in speed by changing from ext4 to f2fs. So I thought it could be great for us as well.

More research in this area would be great?!

Anyway, thanks for answering.
[HTC One X] vaykossil:
Hi [MENTION=698346]teemo[/MENTION]

I converted Viperx to New layout,tried to edit lya17's ramdisk to get it boot,at boots fine,but rom is unstable and i'm getting too many hot reboots,can you help with this ? I believe it's kernel fault,here is my kernel with modified ramdisk,would you take a look at it ?
[HTC One X] teemo:
Can you make some logs, logcat and dmesg.

Did you try the same combo on old layout? How did it run ?

EDIT:

Try this for a start :

init.endeavoru.common.rc

Line 48, don't know what this is doing, maybe a paste gone wild :p - delete the line

/dev/block/platform/sdhci-tegra.3/by-name/ISD \

Change

# create filesystems if necessary
service setup_fs /system/bin/setup_fs \
/dev/block/platform/sdhci-tegra.3/by-name/[B]UDA[/B] \
/dev/block/platform/sdhci-tegra.3/by-name/CAC \
/dev/block/platform/sdhci-tegra.3/by-name/MDM

to

# create filesystems if necessary
service setup_fs /system/bin/setup_fs \
/dev/block/platform/sdhci-tegra.3/by-name/[B]ISD[/B] \
/dev/block/platform/sdhci-tegra.3/by-name/CAC \
/dev/block/platform/sdhci-tegra.3/by-name/MDM
[HTC One X] vaykossil:
Thanks,will do and report back.
[HTC One X] vaykossil:
Finally got ViperX+lya17 work with new layout,works flawlessly.

Thanks teemo.
[HTC One X] Thant:
it will be good to post the link in the new layout thread for the guys who want to use sense with the new layout
[HTC One X] teemo:
Absolutely agree. [MENTION=4267417]vaykossil[/MENTION] Great work! If you drop a link here, I will place it in OP. Best would be if you open a new thread, then I can link to that. Otherwise a download link will do :)
[HTC One X] vaykossil:
I think it's better to keep it for few more time to see if its truly stable,cause I had couple of reboots since morning,but I have some ideas,lets see how it goes
[HTC One X] vaykossil:
Hi,I'm trying to get TURBO BOOST work on new layout,but it can't mount partitions while installing,I think partition info should be edited in update script.

[MENTION=698346]teemo[/MENTION] ,would you help me with correct partition info ?

Here is the original table:

ui_print("Installing Files to One X...");
ui_print("Mounting...");
ui_print(" - mounting system partition");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
ui_print(" - mounting data partition");
mount("ext4", "EMMC", "/dev/block/mmcblk0p15", "/data");
ui_print(" - mounting cache partition");
mount("ext4", "EMMC", "/dev/block/mmcblk0p13", "/cache");
)
);
[HTC One X] Thömy:
I'm using it on my grouper and I believe it behaves better than ext4. With the ext4 the device was sometimes unresponsive for many seconds. Now it's much better. But something unrelated could have fixed that but I'm inclined to believe it was f2fs :).

Endeavoru could probably benefit from it too. The same patchset I created for grouper could be used but so far I didn't feel the need for it. And yes, there are bigger problems to solve.

But implementing f2fs should be relatively easy. Just look at my grouper commits and port them to endeavoru. If someone creates a github branch with a patched CM kernel and uploads the remaining changes to Gerrit I will happily review them.
[HTC One X] Regnas:
Good news, thanks...

[MENTION=698346]teemo[/MENTION] Are you in charge? :)
[HTC One X] teemo:
Lol, let's see. Want to port to 5.1 first, which is more tricky than usual. Can't use Thömys code from cm the same way I have done before. But well, Slims code is very much in alpha state now.
[HTC One X] vaykossil:
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:
[HTC One X] teemo:
You can see the correct configuration in BoardConfig.mk <- this one is for New Layout.
[HTC One X] Regnas:
I'm holding my breath, please don't let me die... :)

Cheers, and keep up the good work.
[HTC One X] Tanuj97:
The new layout recovery will work for this rom too...right ??I had this doubt coz how can same reovery flash LP ...kitkat as well as jellybean rom ??
[HTC One X] vaykossil:
yes,New recovery is needed to flash this rom,it's modified to run with new layout only.

Just remember NOT to select full wipe in aroma installer,do your wipes through recovery before start flashing.
[HTC One X] matthew33:
What is this 841mb file?
[HTC One X] vaykossil:
that's exactly what it says,nothing has been changed in the rom,maybe higher compression level.
[HTC One X] ChasingShadows:
You mean LOWER compression level ... its almost 4 times as fat as all other HOX roms ... or may be I should say, it is as fat as all other lollipop HOX roms together :D :p ;) :angel:
[HTC One X] Thant:
Guys don't compare Lolipop with JB Rom it is normal the JB to be around 800Mb for custom rom with a lot of modification
[HTC One X] ChasingShadows:
When I first started using a custom rom on the HOX I started with CM 10 ... and AFAIR it was never bigger than 200MB so what does this snake, sorry viper contain that it is worth to have more than 800MB ...

And a small 2nd question, why would I like to zombify or demonize an ancient dinosaur? Sounds a bit like a Jurrasic HOX ...

Well okay, I think I go back to my ancient grotto ...
[HTC One X] hopscotchjunkie:
It's based on the stock HTC Sense ROM (with substantial modifications) - all Sense ROMs are round about that size.
[HTC One X] teemo:
LOL

Here is some facts gathered today. Ancient or not, I think the numbers speak for themselves:

CM11 3782
CM12. 1103

AICP-kk 2871
SlimKat 2368

Viper 26026
ARHD 49487
[HTC One X] lesmil:
Hi teemo,

I have changed everything in Lyapota LM #23 Kernel as adviced. I didn't tick "UMS mass storage APPs" while flashing zip but I am still getting "Format disk" popup on Win. Only thing I enabled is "Fast charge". Any idea how to solve this, please? Thx in advance :)
[HTC One X] vaykossil:
Hi,for guys who flashed the ViperX-NL ,please flash the attached Boot.img in order to get init script support,the one included in the rom doesn't support it.

no need to flash modules.
[HTC One X] renegades0001:
hi there

sir teemo how to apply this command on sense 5 i'm using maximus hd rom?thanks mate in advance
[HTC One X] teemo:
You mean how to make Maximus for New Layout ?

It can be done by following the guide in post 3.

If you don't know the tools and how to use them, be prepared for some reading. It is not difficult - it just take some time reading. I can't guide anymore than post 3, but if there is a specific problem, I may be able to help.
[HTC One X] meat_hooligan:
And where did the SlimKat-Big?
[HTC One X] meat_hooligan:
I'm talking about this http://shares.teemo.dk/s#bf4f4af2-b...eemo.dk/SlimKat-BiG.xd-4.4.4-9.0-20150111.zip But earlier the link was here http://xdaforums.com/showpost.php?p=58651769&postcount=1

Could you rewrite the script full wipe for the new layout?
[HTC One X] teemo:
This script can not be used for new layout. If you just change it, it will also wipe your sdcard.

The best thing you can do is take out the part that erase the /data partition. TWRP can wipe data without wiping sdcard.
[HTC One X] renegades0001:
i mean how to apply this new layout one by one..can you give us the full tutorial if you mind mate?

about the patch how to apply this using tools..thanks mate
[HTC One X] teemo:
Not easily. But the patch itself is not hard to do.

The way to go is to read and learn how the memory is organized. Then change the install script to work with the correct partitions. Then learn how to use the apk tools. Then use the tools to change the framework. Etc etc.

It is not difficult, it just take time. If you are not willing to use the time needed, just wait for other to do it ;)
[HTC One X] reubenvarghese1:
Query regarding viper rom kernel

I wanted to know as to can we not flash our own boot.img after switching to new layout?I am asking in general for any rom(i use multi rom so can i change the boot.img from there) .i liked the alex kernel for the viper rom. This might be a stupid question but i dont want to mess things up after switching to new layout.thanks:)

EDIT:I just realised that we have to repack the boot.img which=> that we have to use a modified boot.img.In that case can someone pls make a boot.img of alex kernel for viper rom or just abt any kernel with d2w and s2w.

EDIT 2:Another query is whether i can install sense and lollipop.Before i had read that both cannot be installed together but that reply was posted before the sense rom for the new layout was released,so now that almost all the new roms are in new layout ,the question is being asked again
[HTC One X] Husky34:
[MENTION=698346]teemo[/MENTION] can i use the new layout even if i have the 16 Gb version of Hox? ^^ thanks
[HTC One X] teemo:
YES!

HTC One X 16Gb with newlayout

[IMG="16GB New Layout"]http://mba49rc.free.fr/xda/Screenshot_2015-02-08-03-12-05.png[/IMG]
[HTC One X] Husky34:
Teemo, the phone is perfect now, i really think you and thommy are the best ;)

keep up your wonderful work guys!!
[HTC One X] reubenvarghese1:
[MENTION=698346]teemo[/MENTION] The recovery just reboots and gets stuck in htc logo after flashing viper rom for nl .

pls note-first i tried without flashing boot.img first and in my 2nd try i tried flashing boot.img first and then the rom but in both tries the rom does not boot up.pls help.i am using big twrp 2853.img:confused:
[HTC One X] teemo:
Did you use boot.img from viperx posted in this thread?

Do you use MultiRom?

Have you tried other Sense ROMs?
[HTC One X] reubenvarghese1:
twrp big recovery issue

[MENTION=698346]teemo[/MENTION]

1)yes i used the boot.img from the post but now when i tried to flash a different rom i realised that it is the recovery which is randomly just rebooting and going into the htc logo and getting stuck.

2)i used to use multi rom in the old layout but i have to get new layout set up completely before i head to that

3)no but i was going to install a lollipop rom for new layout when the recovery again rebooted

PLS NOTE-i just tried the other version of big twrp i.e. twrp 2851 and still the same problem .the moment i boot into recovery the phone shuts down
[HTC One X] teemo:
Okay. Are the recovery starting up at all? If it does, what are the revision in top right corner?
[HTC One X] reubenvarghese1:
Problem solved!

It had showed the main screen but before u can do anything it shuts.

Anyway i wiped everything and installed an old layout recovery which worked fine(gave me a lot of relief) and then switched back to old layout which was pretty easy by gods grace:angel: and then after some time i switched back to new layout and installed a lollipop rom(resurrection lp remix) instead of viper for nl and now the rom has booted:D so basically i guess it was an issue with sense for new layout or an issue with its conversion.

Now moving on to multi rom setup;)
[HTC One X] vaykossil:
I have a solution for you,wipe all your partitions and reboot onto recovery once before flahing the rom,now you can flash the rom easily .
[HTC One X] reubenvarghese1:
Tried it and now phone is again back to square one with the recovery issues and stuff but at least now i know what to do
[HTC One X] teemo:
Cool :good:

Multirom works great, but be sure to get the right version :p

Is v31 updated with the correct twrp/boot.img ?

Hehe yes, like the guide say: Select all & Swipe to Wipe –> go Home –> Reboot –>
[HTC One X] reubenvarghese1:
Not yet installed multi rom(v31 ).will do it when i am done with viper rom issue.dont know why but it still reboots in middle of installing so i was wondering whether i could make viper rom my secondary rom?

QUESTION-can i make sense my secondary rom?
[HTC One X] teemo:
Jus follow this guide. ALL steps. I should work.
[HTC One X] reubenvarghese1:
Thanks a lot [MENTION=698346]teemo[/MENTION] 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
[HTC One X] vaykossil:
As I mentioned before,you should not choose full wipe in aroma installer,just do your wipes through recovery.
[HTC One X] reubenvarghese1:
[MENTION=4267417]vaykossil[/MENTION]

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
[HTC One X] vaykossil:
Read this post,I believe this is aroma installers's fault.
[HTC One X] reubenvarghese1:
not working still

I have done the same thing over and over again but still stuck with the same issue
[HTC One X] baolac:
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
[HTC One X] teemo:
Do you have a link to the modpack?
[HTC One X] Tanuj97:
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 ???
[HTC One X] baolac:
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.
[HTC One X] teemo:
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.
[HTC One X] baolac:
Yes, It work great. Many thanks ! You are great
[HTC One X] Tanuj97:
What about skydragon rom ??
[HTC One X] reubenvarghese1:
Need an update- binary script

[MENTION=698346]teemo[/MENTION] -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:)
[HTC One X] teemo:
I converted one. You can find it here: http://xdaforums.com/showthread.php?p=59324445
[HTC One X] baolac:
Hello Teemo, still two flash zip. Ah .. but how do you do that ?
[HTC One X] denkem:
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)
[HTC One X] Tanuj97:
while flashing arhd for the new layout should i wipe data manually or select the wipe data option in the aaroma installer ??
[HTC One X] teemo:
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.
[HTC One X] osama-selo:
[MENTION=698346]teemo[/MENTION]

Please if you can help us in the remaining Mods.

Thanks
[HTC One X] denkem:
What remaining mods u need?
[HTC One X] osama-selo:
The 2nd & 3rd one, please.
[HTC One X] denkem:
- lyapota_OneXperia_Goods_1_1 (3rd one) doesn't seem like it need to be patched.

- lyapota_modPack5_resManager_Ver_3_7 (2nd one ^^) is here. Let me know if it's fine :)
[HTC One X] zedrix53:
why my phone keep restarting i just flash viper 4.1.1-NL

i flash the new boot.img but it keep on restarting
[HTC One X] baolac:
It worked beautiful, Man
[HTC One X] Tanuj97:
is the new layout sense roms working properly...i mean is the recovery problem still there i.e recovery rebooting ..etc

---------- Post added at 06:09 AM ---------- Previous post was at 06:03 AM ----------

the problem is due to aroma installer .....you could try other sense roms like arhd or skydragon and report if the problem is still there
[HTC One X] osama-selo:
Does this happen after u restore apps by Titanium Backup?
[HTC One X] denkem:
Unboxed ROM Sense 5

And here is the Unboxed ROM Sense 5 for New Layout, thanks @Bobbi lim.
[HTC One X] cappuccina:
Great, THANK YOU for sharing it!

I wanted to try it but haven't got the chance to back up my files. Now I will try it besides my Lollipop rom :D

Thanks to YOU and also [MENTION=5021085]Bobbi lim[/MENTION] for making a new sense rom.
[HTC One X] reubenvarghese1:
Can someone try to get viper rom to work?love the rom but i dont want to shift back to the old layout for that:rolleyes:
[HTC One X] cappuccina:
Should have seen your post edit before... :mad: :D

Had so much trouble dowloading from mega....just today finally managed to download..

it always stopped working or would not safe the file after finished.

will flash later and let you know.

thanks again for converting it! :)
[HTC One X] teemo:
Big thanks [MENTION=5990065]denkem[/MENTION].

Added to OP :)

I missed it too, thanks for notifying :D
[HTC One X] denkem:
Yw guys, I hope it works :D I only tested MaximusHD yesterday (worked fine), might give it a try on weekend if cappuccina doesn't test it today ^^
[HTC One X] reubenvarghese1:
Viper rom working!!:)

Today I was finally able to install viper Rom successfully :D.what I did was kinda lame and has no explanation whatsoever but while installing the Rom I had realized from past experience that the phone restarted when the installation reached the last app from the data folder(tune in radio) so I realized that this is the place in the updater script with an issue but I couldn't find any obvious errors so I installed the Rom but this time I chose to not install any app I.e. I ticked all the check boxes in aroma except the desense option .It installed without an issue .After this I rebooted into the Rom ,then I went back to recovery and pressed the install without wiping option but this time I didn't check anything and let everything install.Result-viper Rom on new layout with all apps.

Note- I also flashed boot .img before and after the flash:good:

NOTE- I DIDN'T USE THE VIPER FOR NEW LAYOUT BY Vaykossil rather I downloaded one which I saw on another site hence I still can't confirm whether Vaykossil's port works or not cause I never tried all this with that port

---------- Post added at 01:05 AM ---------- Previous post was at 12:59 AM ----------

@teemo - can I install any mod for the viper Rom as it is or do I have to do something more?

---------- Post added at 01:57 AM ---------- Previous post was at 01:05 AM ----------

This is the one which worked for me- https://yadi.sk/d/GhxTXeibf9xiV

Note-Do try Vaykossil's new layout port if u have downloaded it already cause there is a high chance that there is nothing wrong with it.

Disclaimer-I am just sharing the link and not a command in it is my own work.:cool:

NOTE_and yeah i had my phone connected via usb to my pc while installing(again i have no idea if this made any difference:cowboy:)
[HTC One X] reubenvarghese1:
How to convert kitkat rom to new layout

[MENTION=698346]teemo[/MENTION] - How do i convert a kitkat rom(want to use carbon rom) to new layout?

Thanks
[HTC One X] teemo:
Try the same as for Sense.
[HTC One X] denkem:
Stoopid me - for those of you, who already downloaded Unboxed ROM Sense 5, redownload it again from post 368. Sorry for troubles :o
[HTC One X] baolac:
Hello Teemo, My device working on ARHD with new layout. So I think my storage is very large, but today when Google play store update app Polaris office I getting notify " insufficient storage available ". Have you idea?
[HTC One X] cappuccina:
What was the trouble with the first?

Sorry haven't had the time to test it still. Wanted to try today evening.

So I have to re-download from androidfilehost?
[HTC One X] denkem:
Download just a boot.img. UDA>ISD typo :S
[HTC One X] anto12:
And finally I can't wait till sunday. It's works well, but i can't take a picture even a screenshot.

"Can't take screenshot due to limited storage space, or it isn't allowed by the app or your organization"

And can not transfer data, but when in recovery can transfer data. What I miss and how to fix it.

May be this : "Make sure you can transfer files with MTP (test before you start the transformation)" I did not check it before :D

Thanks,
[HTC One X] teemo:
For the picture issue. Delete the "Pictures"folder. Then try a screenshot again. It is probably a permission issue. If the recovery create the folder, other apps cannot use it. Will fix later.
[HTC One X] anto12:
Can not be delete even renamed. I copied the contents of the folder picture of old data that may affect?

Edit : My gallery just black, I can see the number of contents each albums but not to see the picture, when viewed from the file manager the pictures show up.

Thanks,
[HTC One X] vaykossil:
Can we modify sense roms to use this new layout in order to get more space for data ?
[HTC One X] anto12:
I repeat from the beginning and works now, without restoring my data. Errors may occur when restoring data. I will try to restored again, only the contents of the folder, without the folder.

And file transfer now works.

Thanks,
[HTC One X] teemo:
I don't know. It cannot do it.

Glad to hear. Thanks for returning, good to know it can be fixed.
[HTC One X] anto12:
Glad to hear. Thanks for returning, good to know it can be fixed.[/QUOTE]

Everything fine now. Restore just the content of folder DCIM and Picture without the folders. But for the Download, and Music folders it's works when restore with the folder, means replace the folder.

Thanks,
[HTC One X] Pegas10:
This hosting sucks, can't download even rom
[HTC One X] teemo:
Try later. At least you don't have to guess what button to press for download.

Usually it's fast, maybe your connection sucks.
[HTC One X] Pegas10:
http://prntscr.com/6293n0

Yeeeee. It's downloading 50kb/s and stoping at 26% ;_;