yashsingh1/xdaforums huggingface dataset:
[HTC One X] Thunder07:
haha, fair enough

android_device_htc_endeavoru/recovery/root/init.recovery.endeavoru.rc

Replace

on property:sys.usb.config=none
write /sys/devices/platform/android_usb/usb_function_switch 1
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=adb
write /sys/devices/platform/android_usb/usb_function_switch 3
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=mtp,adb
write /sys/devices/platform/android_usb/usb_function_switch 130
setprop sys.usb.state ${sys.usb.config}

with

# Always start adbd on userdebug and eng builds
on property:ro.debuggable=1
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 18D1
write /sys/class/android_usb/android0/idProduct D001
write /sys/class/android_usb/android0/functions adb
write /sys/class/android_usb/android0/enable 1
write /sys/class/android_usb/android0/iManufacturer $ro.product.manufacturer
write /sys/class/android_usb/android0/iProduct $ro.product.model
write /sys/class/android_usb/android0/iSerial $ro.serialno
#start adbd
setprop service.adb.root 1

# Restart adbd so it can run as root
on property:service.adb.root=1
write /sys/class/android_usb/android0/enable 0
restart adbd
write /sys/class/android_usb/android0/enable 1

on property:sys.storage.ums_enabled=1
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/functions adb,mass_storage
write /sys/class/android_usb/android0/enable 1

on property:sys.storage.ums_enabled=0
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/functions adb
write /sys/class/android_usb/android0/enable ${service.adb.root}

on property:sys.usb.config=none
stop adbd
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/bDeviceClass 0

on property:sys.usb.config=mtp,adb
stop adbd
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/f_adb/on 1
write /sys/class/android_usb/android0/f_mtp/on 1
write /sys/class/android_usb/android0/functions mtp,adb
write /sys/class/android_usb/android0/enable 1
start adbd

on property:sys.usb.config=adb
stop adbd
write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/functions adb
write /sys/class/android_usb/android0/f_mtp/on 0
write /sys/class/android_usb/android0/enable ${service.adb.root}
start adbd

that should fix it​

Edit: Should have mentioned, since ZeusKL is not working correctly with LP just yet, I didn't get much time to test my build of TWRP_MR... so im not entirely sure if this worked for the latest upstream... but it did before the versions before...

I'm working on updating ZeusKL now, so hopefully Ill be able to test it myself.
[HTC One X] teemo:
Thanks, I will give it a shot. Would be good if I could bring it up to the lollipop 5.0 branch as we can't transfer big files now. Copy a ROM is okay, but copy a backup from PC is not possible with 4.4 recovery. There is a fix in 5.0 branch, but it doesn't work on 4.4.
[HTC One X] dodjob:
Eh eh! Ubuntu user here. This was a very sweet and very neat way to solve my problem... 5s fix I LIKE IT!

For those wanting to use this (like me) from adb in linux.

-Change settings in the dev. options to root access for adb.

-open a shell with [adb shell]

-request superuser access with [su]

- accept the supeuser access on the screen of your android (you should get a SuperUser pop up)

-the shell is now [$Root@whatever]

-write the command from Mt Thunder07 [chown -R media_rw:media_rw /data/media/0/]

-Enjoy the power of linux :D

Thanks for this mein Herr ;)

The grüß,

H.
[HTC One X] teemo:
Great. Big thanks to Thunder07 for this.

BTW this works just the same on Windows. Just open a command prompt and enter "adb shell". Once you have the shell prompt, you are in linux.

You may have to start the adb daemon with "adb root" from windows first.
[HTC One X] teemo:
Done! Updated to 2.8.4.x

Works better.

Had to remove SuperSU to limit size. May have to build from KK if they keep increasing the size.
[HTC One X] Thunder07:
hehe, it does get packed in there :p

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.

also, you have few posts reserved, you should use them to clean op,

e.g 1st post is explanation of why you're doing this, 2nd post how-to for users, 3rd how-to for devs (should also mention setting ro.build.endeavoru.newlayout=1 for future recovery devs)
[HTC One X] teemo:
Heh you are absolutely right. I reserved all these posts for exactly these reasons.

However, I felt it was important to get this project kick stated with a little more than an unfinished SlimLP.

I am busy building new and rebuilding old ROMs, so we have something to chose from.

People lose interest quickly if there is nothing to chose from.
[HTC One X] Thunder07:
sure :good:

speaking of TWRP earlier, you can use lzma to compress the ramdisk, it does wounder,

https://github.com/Thunder07/androi...mmit/4a4e4d560cd91d5ab4284322c26ea47b9c9fc8bc

you can ignore most of it, but have a look at

BOARD_LZMA_RECOVERY_RD := true
BOARD_CUSTOM_BOOTIMG_MK := device/htc/endeavoru/recovery/recovery.mk
and the recovery/recovery.mk file

managed to reduce my TWRP build from ~9mb down to ~7mb, thats including SuperSU and MR.

if you want to include SuperSU in there again, though i doubt anyone really uses that option.
[HTC One X] teemo:
CyanogenMod added. See OP.
[HTC One X] chihliouma:
Thanks Teemo, one step ahead. I hope more ROM can join soon.
[HTC One X] anto12:
Awesome your are the man!!!
[HTC One X] Bobbi lim:
[MENTION=698346]teemo[/MENTION] if users were to switch to this new layout recovery, do they have to wipe SD card and everything else before they can flash a sense 5 rom?

Or do they just have to do the traditional method of flashing kernel in recovery and proceed on with wiping system, data and cache after which they can install a sense 5 rom?
[HTC One X] teemo:
On this new layout you can not flash a Sense ROM. Easy as that!

If you want to hold on to Sense, then this layout is not for you. I like Sense 5 a lot too, so I go back from time to time, just to enjoy it for a few weeks. Then go back to custom again cm/aicp/rr/slim and whatever.

Changing between new and old layouts wil always wipe your phone clean, including sdcard.

Now, if you can live with only custom ROMs (not Sense), then you can swap without wiping sdcard. But only for ROMs made for the new layout. They are all in OP.

Hope this answers you question. otherwise ask again, this is new ground for all of us.
[HTC One X] fthunter:
Has anyone tested cm12 version? Getting a lot of fc after coming from slim (new layout version)
[HTC One X] chihliouma:
You need to fully wipe and flash the boot.img. It's running great for CM12 new layout. For me, it's the most stable and responsive ROM for new layout.
[HTC One X] anto12:
I'm on cm12, everything fine here.
[HTC One X] johim:
Hello,

I'm currently running Venom 4..1.1 and I wanted to move to the new layout and also install AICP. I tried to follow the guiedes, but none of the links in FAQ works. For example, I want to backup my current SDCARD but have no idea how to do that, except simply copying the files from Internal Storage to my PC.

How do I make sure fastboot works? I have previously unlocked my HTC One X, but after that windows 10 came and all drivers are lost from my previous installation.

Any hints or links would be appreciated.

Cheerz!
[HTC One X] teemo:
Thanks for notifying :)

Links in OP and post #2 updated :D
[HTC One X] johim:
OK, help. I did

fastboot flash recovery twrp2853-BiG.img

fastboot erase cache

When now I try to boot into new recovery, i can briefly see the HOX Recovery BIG splash, and then the phone reboots and its stuck in white HTC screen. Any ideas? My HBOOT is 1.72, could this be the issue?

Tried to flash boot.img for Viper-NL too, so that i can convert to NL
[HTC One X] teemo:
Looks correct. Try to flash again and copy the output from PC.
[HTC One X] Montillos:
Hi all

Anyone have the latest version of TWRP for the New Layout? I really need it
[HTC One X] johim:
http://d-h.st/aV6a

[MENTION=698346]teemo[/MENTION]: I did try to flash it a couple of times, also downloaded the file several times too. I finally figured it out. I had to disconnect the USB from the PC-Phone, and the TWRP boot was OK. Now running AICP and I must say, blazing fast!
[HTC One X] teemo:
Lol - you did not read the manual. :D
[HTC One X] Tanuj97:
hey [MENTION=698346]teemo[/MENTION] have u tested my version of twrp ??

is it working properly ?

I have tried to fix the updater error while flashing some roms ...;)
[HTC One X] krispin:
Hi, please can somebody reupload ViperX for NL? The one one the 1st post is expirated. Thanks.
[HTC One X] teemo:
can you try this and report back if it is working?

http://shares.teemo.dk/s#9cd26339-0.../tomas.clouddrive.teemo.dk/ViperX4.1.1-NL.zip
[HTC One X] buffer overflow:
Works ! :) :good:
[HTC One X] MAGIC42:
Hello

I have problems seeing the two drives where I can put the images onto my phone.

I installed the latest mentioned recovery via fastboot, disconnected my phone from the PC and booted the phone into the new recovery. Wiped everything and reconnected the phone after I use this 'swipe for restart' field/'button'

And yes I have the right drivers and my adb worked before
[HTC One X] teemo:
Sometimes you have to disable/enable mtp from phone before it works.
[HTC One X] tweakerjunior:
Hi

I just installed MAXIMUSHD rom but my phone is now in a bootloop... How can I solve it... ?

I was just messing around and nothing is working...

If I wipe something it says failed..

I need help ....
[HTC One X] tweakerjunior:
Hi!

Recently I tried to install MaximusHD but it didn't work....

I followed this steps:

I put the Rom on internal storage

Went to recovery

Went to wipe

I wiped cache, dalvik cache and data

I flashed the Rom and went through aroma installer

I flashed boot.img (via fastboot) and after this I erased cache

My phone didn't boot after this so I went back to RR. What did I do wrong :) :confused: ?

Thanks in advace :good:
[HTC One X] Tanuj97:
I wish you should have gone through the maximus hd thread :p;)...anyway heres ur solution

1. Make sure your device is unlocked or have s-off

2. Download ROM and Kernel Flasher, put ROM on internal sdcard

3.Put device in bootloader mode (Power + Volume Down)

4. Flash Kernel via Kernel Flasher or via Fastboot

5. Enter Recovery and do wipe first

6. Find in Recovery "Choose zip from sdcard" choose appropriate zip file

7. Proceed steps that Aroma installer gives

Reboot device after finishing installation
[HTC One X] tweakerjunior:
Thanks!

I will try it soon
[HTC One X] Thant:
Guys can you upload LYAPOTA KERNEL LonelyX NL for this guy [MENTION=6654980]serjann[/MENTION] because I don't have HOX anymore it is in airplain mode forever.
[HTC One X] teemo:
Finaly found the Iyapota kernel and moved it to Rushfiles.

Download from OP.
[HTC One X] halfboss:
Hi guys ! There is someone who know really good how to convert the ROM to new layout and have some time to loss ? ?

Inviato dal mio One X utilizzando Tapatalk
[HTC One X] hrvooje:
Pdf from OP

https://rushfiles.one/client/publiclink.aspx?saf2=pCnY8zqbOryMBZXsZ2ht6rqQ5yPykb
[HTC One X] AswinHof:
installed twrpBIG now no OS cant see device

Hi There,

I followed instructions to flah recovery BIG through adb.

I wiped all partitions and now i dont have an OS anymore.

My windows cant see my device, so i can not sideload adb to put a rom onto sdcard to flash a rom.

What am i doing wrong ?

set phone in ecovery than sideload adb

connect my htc one x to usb port

administrator cmd.exe

go to adb folder

adb devices....................no device ?????

so sideloading a rom onto the phone doesnt work

hope someone can help me ;)
[HTC One X] teemo:
You don't need sideload, but you may need to fix windows drivers.

After you changed layout, did you restart phone to recovery? Did you unplug and plug the usb as described in the guide ?
[HTC One X] AswinHof:
:D

yes i restart to recovery unpluged and pluged in usb.

i followed a guide which said that i had to clean every partition so i wiped system also ( stupid me i know)

so i'll try first to mount ONLY data ( read that somewhere) and hopefully my pc will recognize my htc ( as long if i can transfer a rom to my htc , fingers crossed)

if not than i will reinstall htc drivers

i installed htc sync manager again.........................suddenly 2 partitions appeared:D. Quickly transferred several files ( you'll never know .....murphy's law)

Now Xenon HD is booting , although i don't know what time it must take to boot for the first time.

mmmmm perhaps its a boot loop ?.......

is it obligated to fastboot boot.img ?

i thought this was already done by rom.zip ? I'll wait for 5 min .....i think i have a bootloop, thus i have to fastboot boot.img

i'll let you know ( maybe someone can benefit from my stupidity ) :o
[HTC One X] teemo:
Lol. Good to see you got it started.

YES,

fastboot flash boot boot.img

is always needed with new ROMs. The installer cannot do it for you because HTC locked the bootloader much better than any other device. Most other devices has "s-off" and can flash boot from the ROM.
[HTC One X] AswinHof:
It is working !!?

Now i have to figure out why my 3g mobile network is soooooo slow. One step at a time ....?
[HTC One X] Gedablo666:
Hello. Maybe anyone can convert cm-11-20160111-NIGHTLY-endeavoru and [ROM][official] HTC OneX CyanogenMod 10.1 (4.2) to new layout? Many thanks.
[HTC One X] Andi-onex:
i't's not a kernel in the post you gave us, it's just a boot.img
[HTC One X] teemo:
Just extract boot.img and you will see this is exactly the kernel. Always has been.
[HTC One X] Andi-onex:
please help

i have installed viperX NewLayout but there is some issue:

1*when installing it ask me to install with Dsense , what is it ??

2*i don't find weather widget, is that normal?

3*internet connection bugs always and it show me "Session expired" even with medium wifi signal and i should reboot the phone

note that with lollipop wif is very good.

any help please is this the correct rom ?
[HTC One X] DKYP:
I accidentally flashed recovery to boot portion:crying:. ie

fastboot flash boot twrp.img

instead of

fastboot flash recovery twrp.img

.

Then I also flashed recovery to recovery portion thinking that I can boot into recovery.:confused:

now i cant boot into recovery, when i try to it just shows twrp logo nothing else!

please help....

Unlocked bootloader

HBOOT: 1.12.0000

RADIO : 2.1204.135.20

Solved!!!

But after flashing the twrp-big recovery it just stays on hox teamwin big logo. It doesn't load recovery.

Please help
[HTC One X] 5m4r7ph0n36uru:
You got to flash a working boot image onto boot partition again prior to trying anything else.

Send by the swarm intelligence of my coffee machine (AKA HTC One M9).
[HTC One X] DKYP:
Can you please give link to boot image .

Thanks.
[HTC One X] DKYP:
i dont have any backup of my phone. my bad.

what can i do to get boot.img.
[HTC One X] 5m4r7ph0n36uru:
You could try to find a stock backup including the boot.img

Send by the swarm intelligence of my coffee machine (AKA HTC One M9).
[HTC One X] DKYP:
i found stock backup of my CID__001 but confused which version to flash, please help in selecting the right one, which should i flash?

4.18.401.2

3.14.401.31

3.14.401.27

3.18.401.1

my phone details:

HBOOT : 1.12.0000

RADIO: 2.1204.135.20

CID : HTC__001
[HTC One X] 5m4r7ph0n36uru:
Perform a fastboot getvar all in fastboot mode to obtain your Firmware/ROM version and be able to decide which backup we need to extract the boot.img from.

Send by the swarm intelligence of my coffee machine (AKA HTC One M9).
[HTC One X] Borotes:
I will try this :)

---------- Post added at 02:54 PM ---------- Previous post was at 02:53 PM ----------

Dropbox Link is down :(
[HTC One X] ChasingShadows:
Download any ROM for the HOX. Inside the ZIP-File is a boot.img ... take this. Depending on the ROM you might also need to replace the recovery ...
[HTC One X] reubenvarghese1:
I am so sorry bro the link has shut down(I don't know why) and I cant seem to find the file either.
[HTC One X] h2sa2004:
Updated version

Great work, thanks much, but since July 2015, there have been many updates. So shall we expect an update? I tried cm11 2016 the lazy way but failed.
[HTC One X] halfboss:
Can someone reupload the cyanogenmod 11 New layout ? The link is broken

Inviato dal mio HTC One X utilizzando Tapatalk
[HTC One X] Andi-onex:
Go for ViperX New layout it's the best Custom rom (best features, battery life.....)
[HTC One X] teemo:
Tapatalk kill the link. Enter this in your browser (chrome works):

http://www.megafileupload.com/8YV2/cm-11-201507-UNOFFILCAL-endeavoru.zip
[HTC One X] Actura:
I need help please !

I want to do the "patch" manually, but right now as i am using windows xp, i can't do it

seems like the java support is broken already right now

i have done downloading the "patched" kernel (with new storage support)

i have done modifying vold.fstab (done !)

the last one, framework-res.apk (i need to decompile, but got problem...), i haven't done it cause of above mentioned problem

my plan is, to restore my old system backup from the old layout twrp recovery (currently i am on twrp new layour, i dunno whether it could be done or not)

then after that i gonna modify the vold.fstab and framework-res.apk from recovery (twrp file manager)

last, i gonna flash the patched custom kernel along with the modules

anyone can upload the patched framework-res.apk for arhd revolution (new layout) please ?

here in my country, the internet is so slow :rolleyes:

and also strictly limited by quota:crying:

thank you !
[HTC One X] GRider02:
arhd 33.1 new layout framework-res.apk, right?
[HTC One X] Actura:
Yeah!

Arhd 33.1, exactly!

I hope my experiment goes well haha

Thank you very much!

Update :

Successful ! Right now, ARHD 33.1 new layout !

So I could just restore my (old storage layout) twrp backups, system and data for my new storage layout

Then I just need to modify framework-res.apk and vold.fstab afterwards (inside twrp file manager)

Also I almost forgot to flash boot.img and modules

But then I remembered and success !

1 thing, It seems that I can't use USB OTG feature properly

HOX does detect there is an USB attached to it's microusb port, but I couldn't even see it on file manager

Neither I could see the correct description on settings -> storage, it keeps saying unavailable and mount USB storage

But when I took off my USB, it said "USB unplugged something"

Any information on this anyone ?
[HTC One X] halfboss:
Doesn't exist a new layout miui ROM ?

Inviato dal mio HTC One X utilizzando Tapatalk
[HTC One X] Noone_:
Hi,

After install the twrp new layout, i chose recovery, then it shows "hox team... big" and then nothing. The phone just gets hot.

I had tried older twrp but still the same.

What im doing wrong?

Best regardsl
[HTC One X] teemo:
Check 2 things:

1. What recovery do you use, where did you download?

2. What is your model? New layout is only for HOX "endeavoru" international.

If both is ok, then try to flash again

"fastboot flash recovery twrp.... "

and also try

"fastboot erase cache"

Btw: my recovery should say "hox teamwin big".
[HTC One X] Noone_:
I used the twrp recovery 2853 big, download it from the first page.

My model is s720e and its from portugal vodafone. Its unlocked and rooted.

I try the cache and nothing.

Mine says Endeavoru PVT SHIP S-on RL

Hboot 1.12

What i'm doing wrong?
[HTC One X] lesmil:
Just my guess - maybe hboot too old for this?
[HTC One X] teemo:
Aahh, update your HOX. Find the posts here about updating to latest HTC firmware. It will update your hboot. When updated you can return and try again.
[HTC One X] Actura:
anyone got any new link for viperx new layout ?

or maybe, just the needed files for new layout such as "framework-res.apk" and "vold.fstab"

last time i restore my old arhd rom (twrp backup) then replace the old files with the new one

then flash the converted kernel

i can boot into device perfectly!

and this way, maybe it could save you some time!

http://xdaforums.com/showpost.php?p=63686312&postcount=590

http://xdaforums.com/showpost.php?p=59994171&postcount=306

the one from link above doesn't work for me

i got 404 error at the first one and file has been removed notification on the second

thank you:D
[HTC One X] teemo:
Could you try if [URL="https://webclient.rushfiles.one/publiclink.aspx?saf2=SM8b1DZKsBSOBgSG7sNfm2lH1UqQFi] this[/URL] is working?

Don't use download accelerators, just a standard browser.
[HTC One X] Actura:
it is working, i just downloaded it

i am yet to flash the rom though, still need to backup first

thank you very much !

i can't press the thanks button, problem with my internet in china probably :silly:
[HTC One X] tweakerjunior:
Hi !

I want to install ARHD new layout but I don't find the boot.img. Or can I use the one from the old layout.

I am currently running the rom made by [MENTION=5021085]Bobbi lim[/MENTION] (great rom :))

If I want to install ARHD wich steps do I need to follow ?
[HTC One X] Sckillfer:
Can I install the ROM update it shows me? Are them the new official NIGHTLYS from the CM site (so are the new officials new layout)?

Did anybody succeed installing Xposed on this ROM? System UI broke after installing here (even with no modules). OpenGApps are also bugged.
[HTC One X] teemo:
This is not a ROM. Please read OP and the guides.

For ROM issues, post in the thread of the ROM.

Thanks.
[HTC One X] Actura:
read the first page first, and think carefully

do you still really want to convert ?

if you have decided to convert,

the tutorial to convert is on first page (they also have tutorial how to backup the old layout and how to get back to old layout)

then after that, if you don't find the BOOT.IMG for ARHD

you can use custom kernel, it is also working well this way

lytapota or alex kernel (you can find it on the first page)

maybe that will help ? :silly:

##

anybody using usb otg here ?

could you guys confirm that it is working ?

it is not working here

hox was detecting that there there is an usb otg connected to it

then it will eject it, said "usb is safe to remove"
[HTC One X] Sckillfer:
Sorry, I clicked on the CM11 link on the first page, thought it was linking to a different thread, not a post. So... There's no ROM thread.
[HTC One X] Tanuj97:
No I think there are no new nightiles...if you see one ..pls send me a link ....

And about the ROM ..I think it's working for me fine ...try doing a clean install and don't forget to flash proper KitKat gapps ...if still some error ..then send me logs ...I would.look into it ...
[HTC One X] tweakerjunior:
Hi !

I am already on new layout :p

I only don't understand how to switch between Roms :)
[HTC One X] teemo:
Same as you did on old layout. Just use ROMs for new layout. And use twrp for new layout of course.
[HTC One X] Actura:
just like the OP said, it is the same way, just like before

flash the boot.img, flash the ROM, and then flash the kernel modules if you are using custom kernel :fingers-crossed:
[HTC One X] tweakerjunior:
Thanks a lot.

What must I wipe in recovey ? Dalvikcache, cache and data ?

And the rom zip. Can I put it on the sd card or in the 2 gb extra data ?
[HTC One X] Actura:
you can wipe system,data, cache and dalvik cache (all of them!) before flashing rom

that is what i always do haha :D

i think it is just the same thing you usually do when you were on old layout

by the way if you have usb otg, can you confirm if it is working or not ?:confused: thanks XD

sure, you can put it to sdcard or 2gb extradata
[HTC One X] tweakerjunior:
Hi!

Thanks a lot for your help. Is it possible to flash the wifi patch from maximus HD on al sense roms?

Unfortunately I don't have a micro usb to usb cable to confirm it:crying: I am planning to get one any time soon:) I will sent you a PM when I try ;)
[HTC One X] speedhein:
these are new nightlies

https://download.cyanogenmod.org/?device=endeavoru