yashsingh1/xdaforums huggingface dataset:
[HTC One X+] muselmann88:
Hey Lloir,

i noticed that in you build init.d is deactivated. Is it possible to activate init.d it or do you need to compile a new build? I tried to edit /init.enrc2b.rc, but the rc files will be overwritten after reboot.

Thanks!
[HTC One X+] Lloir:
Look up android kernel unpacker ;)
[HTC One X+] muselmann88:
Thanks. I successfully edited those files, but the configuration i add is not working. Are these init-files executed during bootup?

BTW i saw those lines, which are already in - /init.cm.rc. Shouldn't they activate the sysinit service?

# Run sysinit
start sysinit

# sysinit (/system/etc/init.d)
service sysinit /system/bin/sysinit
user root
oneshot
disabled

Thanks!
[HTC One X+] Lloir:
Yeah they *should* my money is on SELinux blocking it. I'm going to check over the policy in a bit, stuff that should be working isn't. The battery issue still isn't fixed (I need to hack this just so battery works)

If you're able to compile CM-12.1 on your pc, you can try use this...Though I stress that it shouldn't be done as it disables SELINUX entirely

https://raw.githubusercontent.com/L...5ec70097a8b2208832a038d17e01/sepolicy/init.te
[HTC One X+] Lloir:
I have a few people saying they can't get any gps lock with gps set to "device only mode"

this is my response move somewhere clearer or hold the phone as high as you can see below:
[HTC One X+] Lloir:
People who have expressed that they want to help go to this thread http://xdaforums.com/htc-one-x2/help/cm-12-1-testing-t3140913

I WILL NOT BE HAND HOLDING!!
[HTC One X+] Kitsune2222:
Usb OTG not working:(
[HTC One X+] Lloir:
I'll add it to my long list of stuff I need to fix for the enrc2b first.

Right now I'm trying to fix selinux so I can make it "official"
[HTC One X+] namelessrabbit:
Awesome ROM!!! It's incredible how you manage to put official vendors and manufacturers to shame again and again by proving these "dated" devices are more than capable of a buttery smooth experience!

Been using the ROM for a few days now (just wireless, no mobile thanks to my provider :eek: ). Everything works absolutely smooth and very responsive, it actually feels way quicker than Carbon ROM 4.4.4! I just had a minor slowdown once and one freeze. But I can totally live with that!

One bug:

- unlocking SIM card: after entering the PIN and confirming it, it says "Error unlocking SIM card". Entering the PIN again won't work. You just have to sleep/wake the device and it will take you to the regular unlock screen. So it seems unlocking the SIM card works, but the UI can't keep up.

Great work Lloir!!!
[HTC One X+] crusader727:
Is GPS working in grouper?

Why dont we use the same gps-configs and so on as grouper? Files seam to be the same..

I replaced GPS stuff in our init.rc with the grouper once and GPS is still working with selinux off. I will test more when back at home
[HTC One X+] Lloir:
GPS is working.......
[HTC One X+] Lloir:
@crusader727

No longer need hacks for the battery dude

side note, gps isn't 100% fixed. I've just spotted an selinux denial for it, almost fixed it all up.

ALL but the one GPS denial is fixed. SELINUX is 99.99% working now. Once this is done I'll release a test build (read) NO SUPPORT BUILD for those of you that are brave enough to give me bugs and crap to look at. side note.. who wants official?
[HTC One X+] kapooya:
Awesome, thanks for all the work you've done so far. A official build would rock :)
[HTC One X+] Mr:Mike:
Yes please please please give us an official, this would be great :D
[HTC One X+] blindman666:
An official build would be really awesome! Thank you very much for your great work.
[HTC One X+] Lloir:
Though honestly cannot see why you guys want "official"

Zero difference between my builds + official except for the regular nightlies that I get a ton of bug reports for (which have nothing to do with the device)
[HTC One X+] morbvamp:
Wow, that's some really good news! Thanks again for all the work you put con this to get it working without bugs. Gonna test the build when it's uploaded.

I think it would be great to have official builds. But I'm very happy with your home made builds. They gave me zero problems and I've been using them since the first release.
[HTC One X+] Lloir:
It would have been up hours ago, but I managed to install selinux on my PC while installing a few tools to debug android selinux and well I lost 5hours and some fixes :p I'm about to go and finally sleep, while the build is running. It will be up tomorrow, tbh you guys might not notice much difference. And I /still/ need to fix my final GPS denial ASAP
[HTC One X+] Lloir:
quite a few of you will be upset with what I've just seen

http://review.cyanogenmod.org/#/c/101804/

It removes the performance options, which IMO needs to be done, as it's broken on devices with more than 1 core.

It won't set the rest of the cores correctly and it causes instability and heating.

TL;DR

sorry not sorry
[HTC One X+] el-Loko:
Official only because of the nigthlies.
[HTC One X+] Lloir:
I can only do official if I fix disk encryption. Which is broken
[HTC One X+] Kitsune2222:
Thank you! I would like to that you make official;)
[HTC One X+] Lloir:
15minute boot = epic ;)
[HTC One X+] Lloir:
Right guys, no builds from me for at least a week. Doing some HUGE changes. One is adding f2fs...Which means you will be locked to any rom(s) which use f2fs (unless you reformat more on this if/when I decide to do this) to rom's that have only f2fs.

Also I'm in the process of doing some stability changes too, and hopfully fixing the encryption issue along the way.
[HTC One X+] Lloir:
If your all wondering what I'm working on and why it's taking so long

here's what

https://github.com/Lloir/android_kernel_htc_enrc2b/tree/bringup

Doing some major upgrades to the kernel. Also working on "losing GSM" when flashing roms when boot.img isn't flashed.

That happens because the modules for wifi/ril(gsm) have different "magic numbers" so they don't compute. I've already sorted out the WiFi one, just need to sort the gsm one out. Also fixed the rotate crash that happens when you open up app switch and rotate..(feel free to check that bug out if your bored)

Also working on bringing F2FS (hence the work being done on TWRP) though it's not working correctly yet (at all)

Thats all for now,

sidenote 12.1 feels snappy as hell
[HTC One X+] crusader727:
I have no time to test your roms atm, but it sounds great :) :highfive:

One more request:

My gallery app is full of mp3-cover spam -> Is there a config to hide pictures (covers) from /sdcard/music in gallery-app (media scanner). I tested a ".nomedia"-file, but this also disables scanning for mp3's...

//e:

you are crazy Lloir

:D
[HTC One X+] Lloir:
Hey you guys want a decent rom ;)

I put more effort into this, than my job :p
[HTC One X+] MEandMC:
I'll be waiting for your work, in case it will go well then I'll keep this device. Otherwise gona sell it. Just waiting to test for your hard work.
[HTC One X+] Lloir:
Ok guys, I need to focus on my other devices for a bit. I'm happy where 12.1 is on the X+ right now. The most recent build in the testing thread is good enough to be used a daily driver. If other people want to contribute, please go for it. Here is the recent device tree

https://github.com/Lloir/android_device_htc_enrc2b-2/tree/cm-12.1

The kernel that's used on testing is the CM One, if you guys are curious on the newer kernel https://github.com/Lloir/htc_kernel_oxp

the tegra3-commons are NEEDED as 90% of the ramdisk is now in that. You can find that on the CM git.

f2fs is enabled, it wasn't working, not tested it recently. But if you want to work on that and help me out, you need to use the change partition option in twrp (cache and data only)

DO NOT DO THIS IF YOU DO NOT KNOW WHAT YOU ARE DOING AS IT WILL NUKE THE INTERNAL SDCARD
[HTC One X+] morbvamp:
Thanks again for everything you've done for our X+

I've been super busy this week and didn't have time to test the latest testing build (cm-12.1-20150627-UNOFFICIAL-enrc2b) but I've flashed it last sunday and didn't experience any issues, also battery seems to last a bit longer. (I didn't change the cpu governor nor the I/O scheduler. I've only set the max cpu clock to 1150mhz as always).

About f2fs, I barely know something about it. When you say that it will "nuke the internal SD" do you mean that it will erase everything on the sd card or that it won't work after setting the new partition via recovery? :confused:
[HTC One X+] Lloir:
Don't use F2FS for now, I've noticed an issue with it.
[HTC One X+] Mondovich:
I encountered the same problem, and also after a random period of time it says no sim, after that I have to reboot.

I'm trying to get logs.
[HTC One X+] Lloir:
Is your sim tray loose? Does it rattle? That could be the sim issue.

The pin issue, is this the security pin you set on the phone or the SIM CARD pin?

I've replicated the issue and have logs.

ugh is all I can say..... Do any of you know if this was on CM11 too?
[HTC One X+] Mondovich:
In the past I had sim issue, in fact I had to put some scotch tape, but with other roms (cm10, cm11, omni) I hadn't these issues. Anyway I can't exclude it.

The pin is of the sim.
[HTC One X+] coolhot_fdb:
I have no probs with the sim pin running CM11.
[HTC One X+] Lloir:
@namelessrabbit @Mondovich

I'm uploading a build now, enjoy, I worked with Ciwrl from CM to find the issue, as it's not only affecting us.

Here is my revert of the change that was commited http://review.cyanogenmod.org/#/c/102428/ for those interested.

Everyone else, test out bluetooth (I don't have any BTLE devices) Also anyone who uses NFC daily can you test that out for me too please.

NFC is now built from grouper open source changes, and bluetooth is also synced to the grouper (grouper = N7 2012)

And USB-OTG test that (I don't have a OTG cable)

All of the changes that I've commited so far http://review.cyanogenmod.org/#/q/owner:spirit2457%2540gmail.com+status:merged

https://www.androidfilehost.com/?w=files&flid=28732

cm-12.1-20150703-UNOFFICIAL-enrc2b.zip <--- is the rom name.

I'm letting it upload, and I'm off to bed. (I deserve an early night) It should be uploaded maximum 30minutes from this edit (22:49 here just add 30mins to the 49)
[HTC One X+] mackhenri:
The USB otg doesn't work. Tried OTG cable and OTG Card reader.
[HTC One X+] crusader727:
Pin issue not fixed for me (dirty flashed incl. kernel)
[HTC One X+] Lloir:
hrmm.. Bare with me, looking at another venue to go down
[HTC One X+] Lloir:
Something for you whatsapp users to try for me, (I don't/Wont use it) In call stuff with it, I see a lot of commits on the CM gerrit for this, just need to know if it also affects us.
[HTC One X+] mackhenri:
Just made a call and it works fine..little delay in call but that's I guess bad network

Sent from my One X+
[HTC One X+] namelessrabbit:
Lloir, you are just the best :good: Flashed 20150627 yesterday :laugh:

I dunno if you are still interested in feedback for 20150627, but nevertheless: Everything I tested so far works like a charm, this ROM is smooth and snappy as *****!!

Except for the SIM-thing :p But obviously you already took care of that as well...:good:

Will flash your newest ROM right away and report back!

Thanks again man!!
[HTC One X+] Lloir:
Some people have said it hasn't fixed, I'm just looking at something else to see if that will fix it at the moment.
[HTC One X+] namelessrabbit:
Alright, thanks for the head-up! Guess I'll wait for the next build then, unless you want me to verify it's not been fixed.
[HTC One X+] Lloir:
I don't mind dude, you might find better performance with this build
[HTC One X+] mackhenri:
Anyone tried MHL to HDMI

No matter how I rotate the phone its always like below.

Tried few market apps but of no help and didn't find any rotate options on the TV.

Tried two LEDs..

Sent from my One X+
[HTC One X+] Bazztee:
Thank you for your hard work with this ROM. :good: The latest version has really nice performance. :victory:

I only have a problem with the wireless since it appears DHCP is not working.

I must specify an IP manually to connect to a network.

Hope that you can reproduce the error. :p
[HTC One X+] Lloir:
Ummm logs???? dmsg/logcat

I can't do MHL stuff, because well no MHL cable
[HTC One X+] Lloir:
At least hint to me which rom.
[HTC One X+] internetching:
Thanks for your ROM, it is amazing

Using 0627build, NFC is functional, I could use it to check my smart card

Sent from my One X+
[HTC One X+] Bazztee:
Sorry, newest one (...0703) but was also in ...0627

Update: The error only comes if special characters(!"§$%&/()=#) are in the password
[HTC One X+] pranavrocksharma:
hi lloir

is there any problem in theme engine. I applied liv cm12.1 theme and after the phone reboots it get bootloop.

I can only see the bootanimation.

please fix this problem.

ASAP
[HTC One X+] mackhenri:
Which theme have u applied.. Are u using the latest ROM and have u tried a fresh install.

It works fine for me..

Sent from my One X+
[HTC One X+] MEandMC:
Build 0627 or 0703? Which build is OK?
[HTC One X+] mackhenri:
I'm using 0703.. Its perfect

Sent from my One X+
[HTC One X+] MEandMC:
Thanks man, I'll give it a try later.
[HTC One X+] pranavrocksharma:
Latest 0703 build and I have buyed this theme from playstore
[HTC One X+] mackhenri:
Did u try a fresh install + boot.

If it still happens report it to the dev cause u have paid for it.

And was it working before and did u update the theme or something

Sent from my One X+
[HTC One X+] Lloir:
Wrong way trying to get me to fix something, demanding I get it done "ASAP" is a bad idea. Any theme issues are now unimportant. :good:
[HTC One X+] Lloir:
1. Yeah it's something I can take a look at, it's not a huge deal right now

2. Yeap I've noticed this on linux, It's on my list of things to do

3. I'll be removing the storage/emulated/legacy link soon, so it shouldn't be an issue no apps should be using it anymore tbqh. use /sdcard/0/
[HTC One X+] prsapphire:
Hi, Lloir

Some problems with Google Now

The apps starts very slow, and sometimes with crash :(
[HTC One X+] Lloir:
turn GPS off if you have it on, also full wipe if you didn't already. Gnow is working fine here, no lag nothing... Also remove any xposed modules if you have any installed.
[HTC One X+] prsapphire:
Ok, trying turning off GPS.

Install with full wipe

thx )

P.S. Yay! You help. Work has become much faster and without delay
[HTC One X+] Wnsly:
I flashed this rom and must say it's even smoother than the previous Kitkat rom I had. I didn't expect it to work so good! Nice work!

Only issue I found is that the button backlight doesn't light up. Changing the settings and duration didn't work.
[HTC One X+] Lloir:
it's to do with the light sensor, go ssomewhere darker and it'll come on I'll fix that soonish kinda.

I'm REALLY SURPRISED none of you have picked up on the no data bug yet. Uploading a patched build now for data to work.
[HTC One X+] morbvamp:
Working great for me so far, besides some slowdowns but nothing really important.

Is it necessary to do a full wipe again to flash that data fix build?
[HTC One X+] ady2pak:
I noticed it half an hour ago when I left work (was connected to wi-fi until then) :)

Also, the rom seems to be very sluggish sometimes, with freezes that last up to 10 seconds (I found it happen more often in chrome or when the cpu starts to heat up after 15-20 minutes of normal use - phone stuff, not games). Anyone else had this issue?
[HTC One X+] Lloir:
Same here, I was connected to WIFI and was like ugh no data herp derp. Nah shouldn't need to full wipe.
[HTC One X+] Lloir:
Talking of chrome, apparently casting to chromecast works if you use the app, thanks [MENTION=3852519]crusader777[/MENTION] for telling me, it doesn't work via the tile though.

I still need to "tweak" the cpu stuff and so on, and chrome is known for being a ***** on the X+ anyway :/ I'll see what I can do though.
[HTC One X+] ady2pak:
I figured it had something to do with the CPU. I like chrome because it syncs with my pc :D

Also, fyi, Blinkfeed (http://xdaforums.com/showthread.php?t=2735764) doesn't seem to work (apk doesn't want to install). It's a pity, I really like HTC's launcher.

One more thing, the thing with the screen not waking up on incoming calls until you move the phone is a feature or a bug? :D
[HTC One X+] Lloir:
hrmm that's a bug... The Find 5 which is also on CM12 has it's screen coming on straight away for calls. I'll look at this.

BlinkFeed I'm not too bothered about this second sorry man, bottom of the todo list, remind me about it though.

Right now I'm looking at getting the X+ into official CM-12.* so Critical/High type issues: eg dialer being a douche when receiving calls
[HTC One X+] ady2pak:
I can live it without it, no problem. I just wanted to point out it doesn't work in case anyone else has the same issue.

Is it possible to enable ART on this build (or is it enabled by default)?

Some other minor stuff I encountered :

* Dialer crashed once when I tried to make a call.

* Phone froze once when I tried to edit a contact. (had to hard reboot).

* Headset icon doesn't show up when plugged in.

* Headset microphone stopped working suddenly during a phone call.

* Developer options menu disappears if you turn it off (this might actually be a feature, not really sure).

P.S. : I love the lollypop lockscreen and dropdown menu. And I totally hate the stock launcher's drawer (both vertical and horizontal mode).

Thanks for all the work man, you rock.
[HTC One X+] Lloir:
Some other minor stuff I encountered :

* Dialer crashed once when I tried to make a call. <--- Can't reproduce this, made a few calls today

* Phone froze once when I tried to edit a contact. (had to hard reboot). <--- JUST edited a contact to produce this, didn't happen

* Headset icon doesn't show up when plugged in. <--- Normal, it bugs me too same as on my Find 5

* Headset microphone stopped working suddenly during a phone call. <---- I need to find a handsfree for this

* Developer options menu disappears if you turn it off (this might actually be a feature, not really sure). <--- Feature

Have you FULL wiped from the "preview" CM12.0?

Have you brought data forward from CM11/4.4.4 rom?

Xposed mods installed?

Logcat would be epic.
[HTC One X+] ady2pak:
Did a full wipe (including sdcard) from TWRP and installed this morning's build. Only thing I did after was to transfer titanium backup on the sdcard and restore some of then apps. Didn't install xposed.

The minor freezes and crashes encountered might be caused by the slowness that happens sometimes when the phone is idle for 30+ minutes (it's really slow for a minute or two after screen is unlocked).

I'd be happy to provide logcat if you tell me how and when to do it :D
[HTC One X+] Lloir:
how to logcat

Question do you have a load of high mem apps installed? OR apps that like to run in memory often? Remember we are getting into the LOW-END device area now.

if you go into PERFORMANCE change the CPU governor to smartmax, and let me know if you have issues.
[HTC One X+] ady2pak:
I've attached the logcat and some screenshot with installed/running apps. The first line of the logcat is the dialer crash :D (talk about being lucky for a change).

I've set the governor to smartmax, I'll let you know. (It seems a lot faster now to be honest, does it have some kind of prefetch feature like Window does where it start to run better over time by optimizing stuff based on usage?).
[HTC One X+] Lloir:
Looking at it, looks like I need to delve more into the headset issue, Is it bluetooth? Also your lag could be coming from facebook, it's spamming that logcat with crashes like a mofo.
[HTC One X+] ady2pak:
Headset is the standard wired one that comes bundled with the phone, like this one : http://www.wiretechuk.com/index.php?route=product/product&product_id=284

I'll see if there's a way to disable Facebook as a background process. If not I'll just uninstall it.
[HTC One X+] Lloir:
Ok awesome, that makes my life easier then, I'll see if I can find my headset, I only have one thing left to do for OFFICIAL CM12 (FORCED encryption is enabled) and that's to fix up selinux, the other bugs I'll fix on the way.

Time for me to hit the sack. Nothing much will be done now until Mondayish
[HTC One X+] Lloir:
hmm thanks for the update, I changed my router password to test, 1dtph#1 works on mine (Throwaway password) ;)
[HTC One X+] MEandMC:
Try other theme, or try to re flash ROM reflash boot img after
[HTC One X+] Mondovich:
[MENTION=1660234]Lloir[/MENTION]

I flashed 0703 yesterday evening, SIM pin bug remains, but until now I had no issues with SIM missing.

I will tell you more tomorrow when I will use it all day with data connection, I noticed that in WiFi I didn't have problems.

One minor bug: I can't install Facebook app, error - 503. I got logs but don't they didn't tell much. As soon as I can I will upload them.
[HTC One X+] Tauqeer khan:
Port cm 12 to Mi 4i
[HTC One X+] Lloir:
and you think that's rom problem because?

https://www.google.com/search?q=google+play+error+503&ie=utf-8&oe=utf-8
[HTC One X+] Lloir:
Nope, because I don't have a Mi 4 sorry
[HTC One X+] Mondovich:
I didn't think to google it :D

Well it's first time I encountered this problem, and only with Facebook, so I thought it could be related to rom.
[HTC One X+] pranavrocksharma:
i have wiped the system but havent formated my internal sd card

I will try and then inform you.
[HTC One X+] namelessrabbit:
Flashed 0307 today, everything is working flawlessly :good: :good: Except for the SIM-unlock, but thats no news...

But is it just me or is scrolling in general not as smooth anymore as in 0619? Don't mean to critizise, just want to report my findings! Keep up the great work mate! :cyclops:
[HTC One X+] morbvamp:
Same here, took forever to "install" and then nothing. But after a few tries and a reboot, I got it installed o.o wierd, but it works. :P

PS: Using latest build (cm-12.1-20150703-UNOFFICIAL-enrc2b). Everything works great and rom in general seems to be really smooth.
[HTC One X+] mackhenri:
I had the same issue with Facebook.

After a fresh flash... Facebook was the first app that I installed..this was the work around and it takes time but it does some how install on fresh rom

Sent from my One X+
[HTC One X+] Lloir:
Hint, clear Google market cache would have worked
[HTC One X+] Lloir:
Yeah your right, and no that's called constructive criticism, I know exactly what the issue is, I have disabled an option for testing. I'll be re-enabling it.
[HTC One X+] Rolnick:
Hi,

Flashed 0307 yesterday. Works nice. I did my backup from CM11 and everything works nice. All applications works. I am missing only a swipe to unlock, but it is not a problem for me. The SIM problem is easy to handle, after pin, you need lock the phone, wait until it login to network and everything works.

Thank you for very nice and right now stable ROM.
[HTC One X+] mackhenri:
Go to Mi3 forum... Most of the ROMs there work for both Mi3 and 4.

Sent from my One X+
[HTC One X+] coolhot_fdb:
I have encountered similar problem with another Android device (my A510 Tablet) under CM12.1. I think it depends on your wifi-router. Mine is AVM FritzBox 7390. What dou you use?
[HTC One X+] Phoenix09:
it works, just not mounting automatically
[MENTION=1660234]Lloir[/MENTION]: add this to fstab.enrc2b

/devices/platform/tegra-ehci auto auto defaults voldmanaged=usbdisk:auto
[HTC One X+] simonlee911:
1. (0703)version

my BT earphone have big noise when pick up phone

(0627)version

don't have this issue

2. BT earphone when use in another device is OK

Is my ONE X+ issue?
[HTC One X+] mackhenri:
I'll try it today cause LIior mentioned to check if BT works or not on 0703.

Sent from my One X+
[HTC One X+] MEandMC:
I have same issue when I answer call's, big noise. Regular call not using BT earphone. I'm currently using 0426 ROM.
[HTC One X+] Lloir:
Yeah already done it on my local version. Just not gotten round to uploading it yet. Thanks anyway
[HTC One X+] Lloir:
I'll revert that change. Thanks
[HTC One X+] mackhenri:
Here are the logs. Any help I'd be grateful.

Sent from my One X+
[HTC One X+] Lloir:
I'll grab myself a cable, I'll take a proper look. Sidenote what's ksmobile? app keeps on crashing...