yashsingh1/xdaforums huggingface dataset:
[HTC Desire X] atis112:
"Our Jb Kernel only will boot, if init files are named target!"

Yes, because of prebuilt init binary. We need to fix ramdisk for CM init. (We need to fix mounts)

"And Init.rc is CM Init.."

Yes, but some stuff (as permissions) are missing from init.target.rc & ueventd.target.rc whats are in init.rc and ueventd.rc in stock JB rom.
[HTC Desire X] greeneyes2910:
my ramdisk mounts because my fstab is mounting correct. correct stock cm init,rc , which must nothing match. modified target,rc is only needed because the configsetup from your devicetree, or what do you think, how its possible to take use of e.g msm8660 camera , or changing wlan device? the target.rc is modified to match the sourcecode and your'e right , booting sources above 4.1.2 branch, only possible with prebuilt init, at the moment. For new Init , it´s definitly a must , to update Kernelsource, or even build SELinux Kernel inside our Kernelsources.And thats the problem. There aren't any Kerneldevs for our device - just sparly few people , with knowledge to patch the Kernelsource.

Look at Evervolv for example. He,Cyanogen,Drewis etc have rewrote plenty Boardfiles from Scratch, so that it is possible to build AOSP Kernel Sources for these Devices, like HTC Bravo, Inc, Vision etc...
[HTC Desire X] dansou901:
Correct me if I'm wrong, but doesn't SELinux need to be there by default from 4.2 and higher? I remember something like this...
[HTC Desire X] waza97:
Have you fixed the problem with the build.propt what was the problem ?
[HTC Desire X] greeneyes2910:
SELinux is firstly introduced into 4.3 Sourcecode - and only in 4.3 by Endusers to take use of or not. From Kitkat on , you must take use of SELinux
[HTC Desire X] oddoneout:
IRC Channel:

http://webchat.freenode.net/?channels=protou

Logs:

http://tsun.pl/xda/protou/

If I am not mistakened, [MENTION=3270510]Klapo[/MENTION] keeps track of the logs.
[HTC Desire X] oddoneout:
I chuckled at your "Good PC" that sports a 5 year old dual-core CPU. No offense :p
[HTC Desire X] ranalakshay36:
+1 coz me and maybe others don't know about IRC.
[HTC Desire X] xpirt:
Yeah but it has 4 gb ram and it's fast. It doesn't have to compile cyanogenmod lol (or yes?? O.o)

xpirt
[HTC Desire X] oddoneout:
Well I have 4GB DDR3 ram and i5 @ 3GHz cpu. Does that count as a skill? :p
[HTC Desire X] xpirt:
Yeah an i5 is good..xD

But when talking about compiling you have to say how many core it has...

xpirt
[HTC Desire X] hell_lock:
Guys I am online at the IRC for a while. Lets see if things work out fine.. calling all of u there

In the meanwhile I am creating howto's for development
[HTC Desire X] MihaiA7X:
it still gets the job done...so it is good...that is exactly why i haven't used words like: awesome hardcore excellent or anything else...it is just a good pc...
[HTC Desire X] oddoneout:
4 cores.

PS: apologies for derailing the thread :p
[HTC Desire X] hell_lock:
Final list for the compilers: [MENTION=4848656]oddoneout[/MENTION], [MENTION=3303771]CrysiZ[/MENTION] and [MENTION=4804114]nightwalkerkg[/MENTION]
[HTC Desire X] oddoneout:
I haven't installed my HDD yet so I don't have enough space for compiling. Sorry about that.
[HTC Desire X] nightwalkerkg:
Sure thing. I'll setup a 250Gb partition as soon as i come home,and install ubuntu on it.
[HTC Desire X] dansou901:
I can do compiling too as soon as I have setup my build machine. I'll have time for this in a few hours.
[HTC Desire X] Len:
You're right. I have irssi session on server, so I can idle for logs.
[HTC Desire X] Neil12cross:
FX 6100 - sixcore amd 3.5 GHz but only 4 gb ram ddr3 :)
[HTC Desire X] dansou901:
Starting to setup build machine...
[HTC Desire X] hell_lock:
Sources fixed. Compiling..
[HTC Desire X] Mr.Jay:
In what are you working now? :what:

HTC Desire X || Android 4.1.2 || mySENSEdx+ RC 3.0
[HTC Desire X] dansou901:
Someone still up for IRC? I'm sorry, but I can only come online this late because of the time zones...
[HTC Desire X] secthdaemon:
As far as I remember, we had dedicated IRC server @ work. I'll try to launch it tomorrow add some logging bots and open it for global. Or open IRC connection to freenode @ work and let it work 24/7 :)
[HTC Desire X] dansou901:
OK, that was it. Just wasn't sure about the version.
[HTC Desire X] greeneyes2910:
http://xdaforums.com/showthread.php?t=2091494

Well, i tried to port and some of the hardware works, not all.

This AOSP term to the kernel is pretty much an exageration... Mainly because PrimoU (v) runs a fully working CM9 on the sense kernel with no modifications (almost, i mean no porting or something like that).

This being said, the actually job you need to do is to find the right ramdisk configuration for it.
[HTC Desire X] waza97:
Did you manage to fix the sluggishness and WiFi bro?
[HTC Desire X] TheArc:
[MENTION=5326157]waza97[/MENTION] you will be notified about the progress on this thread.

I understand where you're coming from as we are all awaiting for upcoming info. But things like this needs patience. And its good to see you're asking for updates on his progress but he will update us with info when he feels the need to do so. Please stop asking about this kind of stuff, Thanks. :)
[HTC Desire X] Szwajowy:
Very nice job man ;P Keep it working ;p
[HTC Desire X] hell_lock:
I am bored and free. Give me something to do pls :D
[HTC Desire X] nightwalkerkg:
Yeah,i would like to get my hands on the updated device tree. :D

Or at least some testing. xD
[HTC Desire X] dansou901:
Yeah. [MENTION=2822370]greeneyes2910[/MENTION], let us fix it together...
[HTC Desire X] Sythenz:
Just wanted to commend you guys on the good progress, keep it up :)

- Sythen.
[HTC Desire X] greeneyes2910:
Are anyone confirm with kernel development? Not even patching, but real kernel building from base?
[HTC Desire X] dansou901:
As far as I know, only [MENTION=3834787]atis112[/MENTION] for this forum. I myself would like to learn it, but sadly I don't have time...
[HTC Desire X] neXus PRIME:
I dont really know the scope of what you mean, but i would like to ask as you before stated, cant we modify our sense kernel source code by using stuff from pico/g510/y300 etc cm kernels?
[HTC Desire X] dansou901:
I think it's due to some needed stuff to build into our sense kernel like SELinux and similar which are maybe similar to other devices but need a lot of changing for us, especially for supporting CM init.
[HTC Desire X] hell_lock:
What do you have here? I can try it for sure.
[HTC Desire X] neXus PRIME:
You mean like this:

https://github.com/sakindia123/android_kernel_htc_pico/search?q=selinux&ref=cmdform
[HTC Desire X] dansou901:
Yeah, maybe. I'm not really into this.

P.S.: "bool "NSA SELinux Support" -> NSA has a backdoor for SELinux? WTF? xD
[HTC Desire X] waza97:
So if we apply similar codes in the kernel it would enable selenix? Could I try and do it? I am going to school now but I will try this evening with coding and I will look up guides
[HTC Desire X] dansou901:
We need to ask [MENTION=2822370]greeneyes2910[/MENTION] about what we need exactly in kernel...
[HTC Desire X] neXus PRIME:
Hahahaaha,

No dude, its not that easy. Just hold on tight, we'll get somewhere soon:fingers-crossed:. (maybe, in the middle of nowhere;))
[HTC Desire X] greeneyes2910:
http://selinuxproject.org/page/SEAndroid

This is what we exactly needed for every build upon 4.3, an for better 4.3 support
[HTC Desire X] hell_lock:
Is there any way to check if selinux has been enabled on my phone?
[HTC Desire X] CrysiZ:
Found something like this:

You can check your SELinux Status first,

# getenforce

to Enable SELinux

# setenforce 1

to Disable SELinux

# setenforce 0
[HTC Desire X] dansou901:
Yes, commands are similar in Linux (though I always disable SELinux to avoid the pain of configuring it...). Also there should be some configuration file for SELinux under /system/etc named selinux where you can set the configuration to apply at boot.
[HTC Desire X] neXus PRIME:
This is in pico, i think we need this

https://github.com/sakindia123/andr.../master/arch/arm/configs/pico_defconfig#L2725

and all related files in kernel source.
[HTC Desire X] nightwalkerkg:
[MENTION=4588971]dansou901[/MENTION] [MENTION=4449607]InfinityShooter[/MENTION]

Hey guys, will they fix the cm want to try to port b2g (FirefoxOS) ? It's better then doing nothing. :P

https://developer.mozilla.org/en-US/Firefox_OS/Porting
[HTC Desire X] neXus PRIME:
All of that requires working device trees. So, I don't think so
[HTC Desire X] nightwalkerkg:
Well yes,but b2g uses ics trees. As far as i can see here : http://xdaforums.com/showthread.php?t=2265338 and here : http://xdaforums.com/showthread.php?t=2194509 most of the bugs are fixed. It's better then doing nothing and also we might find some fixes that can be used in cm10.1,10.2 or 11.
[HTC Desire X] hell_lock:
Do anything you want buddy :D I am also conducting some experiments on my build server.
[HTC Desire X] nightwalkerkg:
[MENTION=4449607]InfinityShooter[/MENTION] Did you test these ?

https://github.com/prototype-U/android_device_htc_protou/pull/4/files
[HTC Desire X] hell_lock:
I have made changes in cm10.2 branch so merging those changes will give me errors.
[HTC Desire X] greeneyes2910:
So for all. I reupload test version just to see & confirm , that it works, waht I´ve said, even with my Ramdisk and JB Stock Kernel (@atis112).

It´s just a test build... will fix more next days... Then I will clean up device & vendortree for providing.

Progress: I´ve got SELinux enabled on Stock Kernel. Will upload next days....

1. Download Rom

2. Wipe everything

3. Flash Rom

4. Flash Gapps

5. reboot into Bootloader and flash Kernel

6. reboot & enjoy...

[MENTION=2988582]NexusPrime[/MENTION] : Because of new fstab in Boot.img , recoverery will not work properly any longer (especially wiping). So perhaps you could make a new Recovery within new fstab for this & further versions of Android...

So long you could take CMW Recovery which compiled with ROM...

Link to rom : http://d-h.st/ece

Link to gapps : http://d-h.st/xy9
[HTC Desire X] Delta-flasher:
So, possible problem if using TWRP?
[HTC Desire X] greeneyes2910:
can´t wipe really ...
[HTC Desire X] dansou901:
Yeah, would be good to know if this is flashable via TWRP. But, [MENTION=2822370]greeneyes2910[/MENTION], if you want [MENTION=2988582]NexusPrime[/MENTION] to build a new recovery, you need to share your device tree...
[HTC Desire X] greeneyes2910:
yes flashing without problems....
[HTC Desire X] CrysiZ:
It booted!

I get FC on :android media.process t first boot,after one restart it seems it disspeared.

Phone dialer works slow.

This is at a first glance.
[HTC Desire X] hell_lock:
The fstab should be in the boot.img..
[HTC Desire X] $îMpŁÿ_¢ØmPłİÇåŤęĎ:
And please give a rough idea about the important things. Is the Rom speed ok? And is WiFi working?
[HTC Desire X] CrysiZ:
WiFi does not work but it's just a test build so that's to be expected.

I think there's no point on testing a lot yet.
[HTC Desire X] greeneyes2910:
fstab is in boot.img but our recovery works with old fstab version and not with new from boot.img
[HTC Desire X] CrysiZ:
I'm available for testing if you do some modifications.

I'll keep this rom ftm.
[HTC Desire X] nightwalkerkg:
Looks like CM is trying to replace all the google apps with their own :

http://www.engadget.com/2014/01/14/cyanogenmod-gallerynext-beta/
[HTC Desire X] albru123:
Mabe it's good idea, but most % of users use it, to get as close as possible to the clear Android ... maybe it's step backward too.
[HTC Desire X] dansou901:
[MENTION=2822370]greeneyes2910[/MENTION], when you uploaded your device tree, you could make a new thread in Original Android Development for CM, hopefully to not get discontinued like the others...

---------- Post added at 07:25 PM ---------- Previous post was at 07:20 PM ----------

The same will happen to synchronization, I'm sure. As CM is a commercial company now, they will soon provide their own services for synchronizing your personal data, they'll even create an own store maybe...

---------- Post added at 07:27 PM ---------- Previous post was at 07:25 PM ----------

How long did it take to pass boot animation?
[HTC Desire X] CrysiZ:
It didn't take long, 2-3 min i guess.
[HTC Desire X] Szwajowy:
For me it's not booting :/
[HTC Desire X] dezeyer:
When i want to install APK from sd-card, i get an parsing error, Mic and Speaker don't work, can't play musik(Apollo is open, but he doesn't play the song). And on charge, the led is green.

But you're doing a great job, go on :good:
[HTC Desire X] dansou901:
For me it's not booting either. You installed the kernel provided in the thread, [MENTION=3303771]CrysiZ[/MENTION]?
[HTC Desire X] CrysiZ:
Yes
[HTC Desire X] Leon:
:laugh:

I was holding myself to not post comments here just not make more off topics but when i read the comments i laugh so hard :D Sorry but the most of the ppls even cant boot it , do you really think we can talk about prefomance ?

Im not the person who will say that, but guys dont register in the forum just to write useless comments(I saw few ppl that are just registered and have 1-2 comments and dont stop asking what is working and what not).At least this is even not aplha is not for beginners.

Anyway I just want to say one big THANK YOU to all ppls here who still trying to give us the feel of cm :)
[HTC Desire X] kostovdean:
The rom is booting after full wipe.the performance is okay but the main problem is ril and wifi to be usable for daily use.and stop spamming the tread install and report problems if you don't know to fix things.

Sent from my HTC Desire X using Xparent Cyan Tapatalk 2
[HTC Desire X] greeneyes2910:
There is not much, what must be fixed.. There is no Sound because of wrong permissions in Kernel Ramdisk, also no wifi. So just needed to compare init.rc & init.target.rc and set up right permissions .
[HTC Desire X] neXus PRIME:
Can this possibly help:

https://github.com/Dazzozo/android_device_huawei_msm7x27a-common/tree/cm-11.0/rootdir

I dont have this phone right now, so cant test myself.
[HTC Desire X] vezir020:
what's working ?
[HTC Desire X] TheArc:
I wouldn't consider this an unofficial or even an alpha build. I'd refer to it more as a "pre-alpha", in other words it's a really early stage in its development process. So many things are broken, such as WiFi, Bluetooth? Graphical Layout Errors and glitches.

I haven't tested this but you may test it, then you will see what works and what doesn't. Then you can come to a point where you'll find your answer. Till now I say the answer to your question is "not many things".

Sent from my Nexus F...Fi...Fii...Ahem...*clears throat*... Five.
[HTC Desire X] Mr.Jay:
Any progress or test build?

HTC Desire X || Android 4.1.2 || mySENSEdx5 RC4.0
[HTC Desire X] Delta-flasher:
Just wait a bit more. I'm sure they're working hard to release a functional ROM...
[HTC Desire X] nightwalkerkg:
I just tested the rom now. Didn't have time to do it these days.

Great job [MENTION=2822370]greeneyes2910[/MENTION] .

It's fast,there are no random crashes or reboots. If we fix the wifi,sd card and sound it will be great for a daily driver.

Looks like we are finally going to have CM for our device. After that,it's just a matter of time before we get all other great roms.

I applause to all the devs.

[YOUTUBE]IxAKFlpdcfc[/YOUTUBE]
[HTC Desire X] Tuchkata:
Which version of Android does this ROM use? Is it based on CM 10.1 or 10.2?

Sent from my HTC Desire X
[HTC Desire X] $îMpŁÿ_¢ØmPłİÇåŤęĎ:
Cm 10.2 with Android 4.3.
[HTC Desire X] atis112:
Try this libaudio: https://github.com/sakindia123/cm10.2_htc_pico/tree/master/libaudio with this kernel patch: https://github.com/ProtouProject/an...09e6cccda96be04a3bae8eb4a9c8708e7b6a43a.patch to fix sound.

And for SDcard, you need to fix ramdisk. If you will use CM init SDcard will working fine.
[HTC Desire X] Szwajowy:
For me bluetooth not working :/ It trying to turn on, but it never does.

PS: Sorry for my english :/
[HTC Desire X] $îMpŁÿ_¢ØmPłİÇåŤęĎ:
It is a test build, so bugs like Bluetooth ,WiFi etc.are not fixed!

Stay calm & be patient. Devs are really working hard on this.
[HTC Desire X] Szwajowy:
I know that.. I only want to report bug, beacose noone says that bluetooth not working..
[HTC Desire X] nightwalkerkg:
It was working for me. Try to tap it few times.
[HTC Desire X] nightwalkerkg:
I'll try to do a build later. Do you know how to fix the wifi,it's much more important to me then audio ?

All i can get from the logs is a message about not being able to start the driver.
[HTC Desire X] dansou901:
One thing... If we want to make the recoveries we have usable with CM 10.2, we should just replace the fstab by [MENTION=2822370]greeneyes2910[/MENTION] inside the recovery and reflash? If yes, it would be easy to fix the recoveries already available.
[HTC Desire X] greeneyes2910:
SD Card is fixed within the last test build I loaded up - same for emmc...
[HTC Desire X] nightwalkerkg:
Sorry to be asking,but can you tell me when you will update the github. I need to reinstall my windows and switch ubuntu with Elementary or Fedora,but i am lazy. So i would like to know if you are going to do that soon so i can start reinstalling and downloading the sources or i will have some time to game mostly. xD
[HTC Desire X] dansou901:
Just a bit OT: If you want to try a different Linux distribution, try Arch Linux... It's a rolling release system and always uptodate, so no need to do big updates every half year like with Ubuntu or Fedora. If you will use it, just PM me if you need help setting up your build environment there...
[HTC Desire X] Tresox:
[MENTION=2822370]greeneyes2910[/MENTION] or someone else, do you still need people to test your test-rom?
[HTC Desire X] tosik:
For me the last test build doesn`t boot, I only see boot animation for about 10 minutes... I use Nexus recovery, and I flashed boot.img from the post with the build. I see here a half people have it booted, and other half - haven`t. I think this problem should be regulated...
[HTC Desire X] Szwajowy:
It's posible that you must flash the recovery provided with the build, beacose for me at first time it doesn't boot, but next time when I flash recovery too then without any problems it boot.

PS: Sorry for my english ;P
[HTC Desire X] dansou901:
Will try that later...
[HTC Desire X] nightwalkerkg:
If it's not booting,take out the battery,wait a minute,put it back in and turn on the phone. It should boot. You did a wipe of system,data,cache and dalvik ?
[HTC Desire X] dansou901:
I always do before a installing a new ROM! I also already tried what you suggested, but it didn't work for me. I'll try fashing the recovery before booting, maybe it helps.
[HTC Desire X] nightwalkerkg:
Try.

What i did :

1. Copy the rom zip to sd.

2. Reboot into recovery (TWRP).

3. Wiped data,system,dalvik and cache.

4. Flashed the zip.

5. Rebooted into bootloader, flashed the boot.img and rebooted.

And it booted in two,three minutes.

You can try to reflash or redownload the zip.
[HTC Desire X] dansou901:
It won't boot for me, whatever I do. I already checked md5sum of downloaded file, that was correct. I redownloaded kernel. I even flashed recovery. But it won't boot! Also, I pulled the battery. Strange thing...
[HTC Desire X] galaxyfreak:
Just stopping by to congratulate you guys for great progress in 2014! :) Keep it up :)
[HTC Desire X] neXus PRIME:
2 years. No cm... Cursed device :*)

Hopefully they'll break it.
[HTC Desire X] Tresox:
Break what? The device or the combo:D

---------- Post added at 09:48 PM ---------- Previous post was at 09:37 PM ----------

I'm sorry, that was a bad joke.
[HTC Desire X] Leon:
:fingers-crossed: I hope too

haha
[HTC Desire X] //.dax:
Where can I download latest ROM?

Sensed from Desire X using Tapatalk Pro
[HTC Desire X] dansou901:
On page 62 you'll find the latest build, but please remember that it is pre-alpha, so don't use it as daily driver.
[HTC Desire X] //.dax:
Thanks.

Sensed from Desire X using Tapatalk Pro
[HTC Desire X] Tresox:
Just had time, to test the rom.

It is booting just flash the rom and the boot.img.

Which doesn't work:

-WiFi and 3G

-Camera

-Sd card

Everything else is working.:cyclops:
[HTC Desire X] JoseluSpark:
Rom downloaded and tested.

Flashed following nightwalkerkg's steps:

It booted after 2 minutes aprox.

Bluetooth is working, same for 2G/3G/HSDPA.

Calls doesn't work properly, device can call and receive incoming calls but mic doesn't work, same for call speaker and speaker.

Couldn't test Apollo cause I don't have any file in internal storage.

Camera doesn't work for me

SDCard doesn't work properly too, can't make screenshots because android.media crashed (Android doesn't mount SDCard properly).

Same for PC USB storage, it doesn't work for me.

Rotation sensor works properly, same for proximity sensor; however, brightness sensor don't work properly, I can't initialize automatic brightness.

Minor graphical glitches, nothing important.

The ROM feels heavy at the beginning, but after a few minutes it works smooth with some slowdowns at some points.

Testing is all I can do, so here are my results :p
[HTC Desire X] Tresox:
Is there anything else that we need to test and/or do we need to make several logcats?
[HTC Desire X] GtrCraft:
Logcats of everything that doesn't work will always help
[HTC Desire X] Tresox:
Sorry, didn't think about that:silly:
[HTC Desire X] coco070:
[MENTION=2822370]greeneyes2910[/MENTION], please share the device tree so others can help:victory:
[HTC Desire X] neXus PRIME:
actually, its better if he works alone... less confusion. Eventually he will i think.
[HTC Desire X] nightwalkerkg:
I was just about to send you a message,i am starting to compile AOKP for this device. So i might need some help with the errors if i get any. I am not sure about the vendors,i see they have aokp vendors,do i need them ? I am confused a little. xD
[HTC Desire X] neXus PRIME:
no worries... clone aokp_vendor... add our device config in relevant portions....

use aokp manifest and add our device specific stuff where needed. Done. (almost.... ull get many errors at first, but hopefully, u now have the experience to fix them)

But only for 4.2.2
[HTC Desire X] nightwalkerkg:
So since i am doing 4.3 build i can just compile it like CM ?

Sync the repo,add the device trees and compile,right ?
[HTC Desire X] Delta-flasher:
Have you seen this? http://xdaforums.com/showthread.php?t=2540521

HTC Sensation now has CM11 working.

http://xdaforums.com/showpost.php?p=47782171&postcount=8

As that device is pretty close from our, maybe the work on kernel/ramdisk is similar too... What do you think?
[HTC Desire X] neXus PRIME:
Not close in any meaning of the word close. Among other things like display and ppi, It has a totally different chipset, and it has ics proprietary blobs.
[HTC Desire X] Delta-flasher:
I just mean that the process to get CM11 working on their device is the same as for DX. It's kernel/ramdisk adaptation.

So DX devs could ask for advices to Sensations devs...
[HTC Desire X] Tresox:
Isn't greeneyes2910 working alone at CM?
[HTC Desire X] coco070:
[MENTION=5383504]Tresox[/MENTION] how do you know if greeneyes is working on it,

because we aren't any further then atis has come when he tried:(
[HTC Desire X] Tresox:
True, but just be patient. One day we shall have our beloved CM...
[HTC Desire X] bilal_liberty:
delete

good luck [MENTION=2822370]greeneyes2910[/MENTION], if you want any help regrding cm feel free to contact :good:
[HTC Desire X] CrysiZ:
The device has booted.Ask greeneyes2910 on the progress he's done.
[HTC Desire X] TheArc:
Guys stop whimpering about this. You are here to encourage the developer not turn him down by stating he hasn't done any progress as compared to the others. Just have patience. Every device comes with flaws, and this one currently lacks development. But there are some willing to help out. So don't complain and ask for stuff. That's just going to agitate people. We don't want a thermo nuclear war, do we?

So calm ya tits, and wait :)