yashsingh1/xdaforums huggingface dataset:
[Nokia X] AngSanley:
CyanogenMod 11(port) for Nokia X

DEV NOTE: DO NOT PORT THIS ROM AND SHARE THEM IN THE INTERNET WITHOUT MY PERMISSIONS.

Please help me to get Dedicated Server to build ROMs, Recoveries, Kernels, etc

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. :laugh:
*/

Hi, I'm back. Today I presented to you this CyanogenMod port working for Nokia X. If you interested, read below.

SCREENSHOTS

Working:

- HOT!! New CyanogenMod Theme Engine

- RIL (yes! :D )

- Bluetooth

- Touchscreen

- WiFi

- and others

Not working/bugs:

- Camera wrong colors

- Proximity & light sensor

Flashing with MIUI Recovery is recommended.

Download:

Latest release:

- cm-11-20140828-NIGHTLY-normandy.zip

Old downloads:

- cm-11-20140814-NIGHTLY-normandy.zip [mirror]

- cm-11-20140811-NIGHTLY-normandy.zip

- cm-11-patchOnly-normandyXL-#2.zip

- cm-11-20140808-NIGHTLY-normandy.zip

- cm-11-patchOnly-normandyXL.zip

- cm-11-20140806-NIGHTLY-normandy.zip

- cm-11-20140805-NIGHTLY-normandy.zip

GApps:

- BaNkS Minimal GApps for 4.4 click me

FAQs:

Q: Is this a real cm11 or just a themed rom?

A: Real cyanogenmod kitkat 4.4.4

Q: Can I use it for daily driver?

A: Yes, it's great and fast :D

Q: I can't find Developer Option!

A: Settings > About phone , tap Build Number 7 times

Q: Will you add feature 'X' into this ROM?

A: I will not add any other 3rd party apps into this ROM

Q: Can't transfer files!

A: Switch to MTP. Settings > Storage > Menu > USB Connection > MTP

Sources:

About ROM sources, I do not have them, because this is ported ROM not built from scratch. I don't have powerful internet connection to clone the source git.

For Kernel source, I used NULL kernel. You can have it here

Note:

1. After installing, enable Developer Options and go to Settings > Performance and uncheck Set Thermal. Then go to Processor and change Max to 1008 MHz

2. M8 in title is Milestone-8 (not HTC M8) Some people get confused with Milestone 8 and HTC M8, according to this :laugh:

XDA:DevDB Information

CyanogenMod 11, ROM for the Nokia X

Contributors

AngSanley

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: any ROM

Based On: CyanogenMod

Version Information

Status: Beta

Current Beta Version: 20140814

Beta Release Date: 2014-08-14

Created 2014-08-05

Last Updated 2014-10-06
[Nokia X] AngSanley:
Changelog:

20140828

- fixed sensor (orientation)

20140814

- all storage working

- camera work, but wrong colors

- wifi work

- used latest (20140731) NULL kernel

20140811

- storage problem now fixed (except internal storage)

- cleaned ramdisk

20140808

- storage now partially working

- added init.d support

20140806

- fix zip script

20140805

- first release
[Nokia X] AngSanley:
Add-ons:

- New Theme Engine themes

Thanks to:

- [MENTION=4135482]mdfzhi[/MENTION] for NULL kernel

- [MENTION=4222902]zogoibi[/MENTION] for the donation

- me for porting this rom :silly:
[Nokia X] gurram prashanth:
will this rom have the look of kitkat or just nokia x tiled look
[Nokia X] Ehsan Farooqi:
Prashanth, Probably it will look like kitkat:)
[Nokia X] Harkirat _gill:
waiting for wifi fix:rolleyes:
[Nokia X] Red_Zmooth:
also waiting for XL too

cepet ya gan...hhhh
[Nokia X] adeebulrehman:
Good work, David might help for wifi

---------- Post added at 02:19 PM ---------- Previous post was at 02:09 PM ----------

Downloading for testing
[Nokia X] Ehsan Farooqi:
Yes I am, Nokia X is my first Android smart phone. I am here to learn from people like you:)
[Nokia X] Dom3616:
Very nice. However, I advise you to contact David and tell him how to fix RIL. In exchange you can ask how to fix wi-fi. :)

---------- Post added at 04:05 PM ---------- Previous post was at 03:51 PM ----------

I have to ask. Are you building this? Or porting it from another phone? :)
[Nokia X] AngSanley:
this is [PORT]
[Nokia X] Dom3616:
Awesome. A million thanks aren't enough. Just want to know one more thing. Which device did you port it from? :)
[Nokia X] sumondhk1:
which recovery is recommended.

I tried CWM,TWRP ,LEWA but failed.

md5 is checked
[Nokia X] AngSanley:
I have some mistake on the updater-script. Stay tuned for next version
[Nokia X] AngSanley:
update released. check OP
[Nokia X] sumondhk1:
ROM is so smooth and responsive. Touch is nice.

System is so fast.Display is nice.

Nice to have 4.4.4 in nokia x.

If only storage is fixed, it could be used as daily rom.

Again thanks for the effort
[Nokia X] David_Vaz:
WiFi
[Nokia X] mehediatcom:
edit vold.fstab then check and match with the stock one, it may fix the storage issue
[Nokia X] sumondhk1:
JUST WOW.

Why not everyone merge to build a perfect 4.4.4 rom.

I think we are so close to it.
[Nokia X] adeebulrehman:
David can you please check WiFi and storage bug.
[Nokia X] thithanh99:
Try Wipe data and cache then flash again :laugh:
[Nokia X] plankton69:
During a call, the dialler shows me the operator name and the caller's name. Can this be fixed somehow? :o
[Nokia X] symbuzzer:
Is fm radio working?
[Nokia X] plankton69:
Doesn't work for me.
[Nokia X] zogoibi:
Finally! So, I'm not alone with this problem? In "device manager" it shows a yellow interjection mark beside Nokia_X (RM-980). I have the drivers installed. Nevertheless, if I try to re-install them, the device manager says "no suitable drivers for your device".

Any fixes for this, or workarounds? Thx.

BTW, for those complaining they can't mount external or internal SD card: here was the same on the first boot after flashing, but upon the second boot (and successive) it's working. I can see both sdcard0 and sdcard1 from within the file manager. (Not from Windows 7 NOR Linux.)

And FM not working here either. Not that I care, but for the records.
[Nokia X] mhsshark:
I have tried installing but I get error in MIMU recovery saying

"set_perm: some changes failed

Error

in/sdcard/cm-11-20140814-NIGHTLY-normandy.zip

(Status 7)

Install failed!"

What am I doing wrong?

I have installed the pervious build 20140811 and it doesn't have this error while installing.
[Nokia X] Dom3616:
Seems like a wrong permission error. Let the dev see whats wrong. :)
[Nokia X] adeebulrehman:
Did you wipe system, cache Devilack cache
[Nokia X] symbuzzer:
Can anyone try SpiritFM? Maybe it will work.

For OP, at first post sensors are in both working not working lists. And please add others bugs like mass storage, fm radio etc at not working list. Maybe someone sill help if he see.
[Nokia X] mhsshark:
I tried wiped cache/factory reset

Wipe data

Wipe delvik-cache

Still same issue,

Did anyone tried different recovery?
[Nokia X] Burnmode:
Try in TWRP (in my NX works ;) )
[Nokia X] sumondhk1:
spiritFM is not working.

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

Re download the rom and must match md5 first before flashing.

I flashed it by TWRP & MIUI also.no problem.
[Nokia X] mhsshark:
looks like I had a bad download.

thanks sumondhk1

i installed and its working beautifully
[Nokia X] haree87:
hope the developer will be able to give xl users a patch soon. this rom works perfectly on my xl untill locking the screen.
[Nokia X] Dr.Racool:
I wanted to know if this rom is better then lewa rom Iam currently using lewa rom for XL
[Nokia X] safio990:
it should be but only if we had a working XL patch
[Nokia X] MoronicWeasel:
[MENTION=5063938]Burnmode[/MENTION] Did you use the build.prop method for the permanent navbar or some xposed module? :)
[Nokia X] Ha-Cker:
Hy:laugh:Plz Fix AutoRate

Please fix the link SemiAOSP ROM's:D
[Nokia X] adeebulrehman:
Don't quote whole post.

open UDN lite < General Setting < Type of Trigger < Whole Bottom Edge.
[Nokia X] Burnmode:
I use xposed but recommend bulid.prop edit metod. I delete xposed because there were problems with FC systemUI.apk.

Wysyłane z mojego Nokia_X za pomocą Tapatalk 2
[Nokia X] MoronicWeasel:
Even i had FCs, that's why i had to remove it. I really need to decrease the height of navbar. Is there any other way?
[Nokia X] Burnmode:
Humm, i don't know. Try use UND or stock navbar and expanded desktop.

Wysyłane z mojego Nokia_X za pomocą Tapatalk 2
[Nokia X] poch_m:
Ive been using it for a day and it appears to have improved battery life considerably

It also run a faster than stock
[Nokia X] plankton69:
Can this be fixed somehow? It's hard for me to see how's calling me!
[Nokia X] medozse7s:
are art work in this rom ?
[Nokia X] sumondhk1:
not yet
[Nokia X] adeebulrehman:
What about System Partition Did you wipe system also
[Nokia X] knightzero07:
[MENTION=4606441]AngSanley[/MENTION]

Nice work on porting cm11. I would like to ask how did you fix the wifi?

I am currently helping in porting cm11 on a similar device (cm s100). Everything works fine except for wifi, bluetooth, radio and camera.
[Nokia X] adeebulrehman:
Request you to help in fixing Sensor and Camera plz
[Nokia X] symbuzzer:
It is easy, I can fix. But I cant use this rom, I use XL.
[Nokia X] plankton69:
Can I fix it without flashing again? Tell me somehow the method please!
[Nokia X] symbuzzer:
It is about modifying apk. Can you do it? If you can, there are a lost of rodmaps for this on xda.
[Nokia X] plankton69:
Sounds hard, but I can give it a try! A roadmap please?

(Thanks for your quick replies!)
[Nokia X] symbuzzer:
Yes it is not easy. Please google for it. Probably you need to modify phone.apk.
[Nokia X] knightzero07:
im actually working on other device and i dont have this phone. so i cant help much on that. the port rom used was from ktouch s5 which was ported to cm s100 with similar spec to nokia x..
[Nokia X] Hzu:
@AngSanley, I'm sorry for asking this but can you please provide an alternative mirror? AndroidFileHost is giving me a terrible speed. Thanks.

EDIT: Nevermind, it looks like it's going fine with a download accelerator although not satisfactory.
[Nokia X] zogoibi:
Access from PC

[MENTION=4606441]AngSanley[/MENTION]: this is a great job, which many people were looking forward to. I thank you for that.

However, the phone isn't really "usable" as far as you can't USB/MTP-connect it to the computer for transferring files. Sending 5 GB of music over bluetooth is not an option.

So, I'm experiencing this issue since first flash, and I see I'm not the only one. Other users in this forum have reported the same.

Therefore, Q1: Are YOU also having this issue? I mean, is it an acknowledged issue?

Q2: in case it isn't, then how can we fix it? Windows 7 "sees" the device but the drivers don't work and the phone storage doesn't show under "computer" (nor anywhere else, for that matter). Debian Linux, same thing. It sees there's something connected, but can't see the files. And I'm talking about MTP. But if we talk about USB storage mode, then tapping on the button does nothing.

Thank you in advance.
[Nokia X] AngSanley:
MTP is working.
[Nokia X] zogoibi:
Then why not here? Can you please suggest me some hint? I have the latest Windows 7 drivers for Nokia_X. When I plug it in using stock ROM it works. If using CM11 it doesn't. Same with Linux: if I plug it in using stock ROM, it works. CM11 ROM, it doesn't. What might I be doing wrong?
[Nokia X] adeebulrehman:
USB Computer Connection

Connect USB Goto USB Computer Connection select UMS if you see 2 drives then select MTP. It will work for sure. Just transferred 11GB of music without any issue
[Nokia X] zogoibi:
Thank you, but... "go to USB computer connection" where? In the computer or in the phone? In Windows 7 I don't find any "USB computer connection". In CM11 I don't find anything like that either. Can you please be a bit less cryptic? I'd appreciate it. Thanks.
[Nokia X] XlUser92:
xl patch

when will you give us nokia XL patch we are waiting for this
[Nokia X] adeebulrehman:
USB Computer Setting

Phone > Setting > Storage > (3 Dots ... on top right corner will lead you to this option) USB Computer Setting,

I cant post screen short at this time but will try if possible
[Nokia X] zogoibi:
Thank you! Now we're talking! I couldn't find it, for the life of me. It was in the three dots corner. :) Now I'm getting MTP transfer, and now this ROM has virtually all I need. This deserves a donate.
[Nokia X] adeebulrehman:
If you wish, Donate to my friend @AngSanley as he deserve appreciation.
[Nokia X] plankton69:
I see that Cyanogen can score good on benchmarks. Specially if you tune the cores a little... ?
[Nokia X] zogoibi:
Well, that's what I meant. And that's what I've done. :)
[Nokia X] focusprakash:
We are waiting for XL fix
[Nokia X] AngSanley:
thank you for the donation! :D
[Nokia X] Dom3616:
So, Im back after a short holiday. :)

Really appreciating the work of this magnificent dev.

However, I want to lend support in fixing the bugs. So I'll get right to it.

[MENTION=4606441]AngSanley[/MENTION] I made a patch for XL for Lewa making some changes to Nokia XL Stock boot image. So, Im willing to do the same for CM11. Can you give me an idea on what changes you have made to the ramdisk?

P.S: I dont have an XL too.

[MENTION=5143175]symbuzzer[/MENTION] I read you can fix the overlapping text issue in caller mode. Kindly do and PM me the modified apk. I will test it out.

I hope every user knows that its all AngSanleys work and the best we can do to help him is to help him fix his work! Cheers! :)
[Nokia X] symbuzzer:
Welcome dom:) I need to find right point to move this text so I need to simulate this bug. I hope you understand.

---------- Post added at 10:36 AM ---------- Previous post was at 10:35 AM ----------

We are waiting for XL patch for this ;)
[Nokia X] Dom3616:
Well, can't you refer to the screenshot or just disable the network text? Im sure no one wants to see the network name when someones calling them.
[Nokia X] symbuzzer:
Penang I can hide. But as I say, I need to simulate. Because I will do reverse engineering and it is very hard process.
[Nokia X] plankton69:
I believe it's better to disable it at all... ;)
[Nokia X] Dom3616:
Okay. Meanwhile can someone upload the framework-res files and phone.apk from this ROM? :)
[Nokia X] plankton69:
You mean this folder with its entire files?

Sent from Tapatalk via Nokia X
[Nokia X] Dom3616:
No bro. Goto /system/framework and get the framework-res.apk file from there.

Then got /system/priv-app and get Phone.apk from there.
[Nokia X] plankton69:
Here you are!
[Nokia X] mdfzhi:
Anyone can confirm which kernel is used in the rom? When i ask stanley earlier he said it's stock kernel, but reading first post showed my name in the credit. So is it stock kernel or my kernel? If using my kernel then i could compile update with selinux enabled.
[Nokia X] plankton69:
Sent from Tapatalk via Nokia X
[Nokia X] zakdoc89:
Any idea how to get a persistent Nav Bar?
[Nokia X] Dom3616:
You should bro. :)

---------- Post added at 08:51 PM ---------- Previous post was at 08:50 PM ----------

Edit build.prop with Root Explorer in /system and add this line:

qemu.hw.mainkeys=0
[Nokia X] AngSanley:
read the changelog my bro..
[Nokia X] Dr.Racool:
XL patch working ??
[Nokia X] sumondhk1:
That will be great.
[Nokia X] Hzu:
It is your kernel. I wonder if we can use the latest stock kernel on this ROM. I want to see how the kernel would perform.
[Nokia X] AngSanley:
Flash boot.img from 08112014 zip , will not better than NULL
[Nokia X] mdfzhi:
lulz. can't compile kernel with selinux, made bootloop with stock 4.1.2 rom.

anyway, latest stock kernel from latest update bump userspace ram 6mb more, now got 416mb compared to 410mb in previous update, and microsoft as always still refuse to release cource code.
[Nokia X] taher nokia x:
hi , stanley

are you working on fixing camera & sensors , or not

if it , is there any progess

thanks alot
[Nokia X] AngSanley:
Tried with this cm11 ? Anyway, 6 MB doesn't make sense
[Nokia X] Hzu:
In the changelog, you wrote that the camera works. However, when I tried to use the camera myself, the camera app would crash itself upon launching. I will try using a third party camera app and see how it goes.

---------- Post added at 02:50 PM ---------- Previous post was at 02:47 PM ----------

Also, as far as performance is concerned, I recommend that users do not install Google Apps, and instead use another alternative such as NOGAPPS Project. GApps alone makes the phone sluggish and heavy.
[Nokia X] ElementalXY:
Back in 4.1.2 it was possible to disable stock apps and use GApps instead which literally improved performance in my opinion even. Will it still be possible to do so in this ROM in your opinion?
[Nokia X] adeebulrehman:
Camera is Working, But Color Issue, IF you are getting force close try third party app, Like Google or any other.

Regarding Performance See note in OP, disable Set Thermal and Set max to 1008, Reboot once done

---------- Post added at 12:02 PM ---------- Previous post was at 11:59 AM ----------

You are Given Root Access so you can delete any that you don't need.
[Nokia X] ElementalXY:
Tried that in the latest update in 8142014 and it doesn't work (it stops the home button from working along with crashing the lockscreen process).
[Nokia X] adeebulrehman:
What are you trying to delete
[Nokia X] ElementalXY:
Mail, messages, Calendar, Browser, and Movie Studio along with even taking out Trebuchet if possible.
[Nokia X] adeebulrehman:
Download Root Browser

Give SU Permission and try to delete each app individually, Working fine for me.
[Nokia X] ElementalXY:
Unfortunately not working here. Every time I try it for stock apps I get unsuccessful.

PS: I'm ready to wipe my phone's data if needed because it's not my main phone.
[Nokia X] adeebulrehman:
Retry after wiping Dalvik Cache Cache and Cache, R u granting SU Permission to Root Explorer
[Nokia X] ElementalXY:
Yes and I tried again after wiping Delvik and Cache but still didn't work.
[Nokia X] AngSanley:
If u flashed boot.img from previous zip, camera won't work then. NULL kernel makes it work
[Nokia X] thatsgamer:
Proof! No app have force close issue

http://youtu.be/huIxMx5-Ixs

-From Nokia X - CyanogenMod 11
[Nokia X] Hzu:
I used to do that on Cyanogen ROMs I have used on my old phone. I don't see why it should work as they are just applications that does not relate to the system, you just have to be careful on what you remove. A safer solution is to freeze them instead of physically removing them.

I use SD Maid to remove/freeze unwanted apps. Easier to work with it.
[Nokia X] umangg2226:
Great Work AngSanley...

thanks....

but only two problems i face....

System UI stops after reboot when i apply new downloaded cynogenmod theme or Install Xpossed...!

is there any sollution to solve systemUI stops problem without wipe data...?
[Nokia X] Hzu:
No, I have already know about the thermal limiter. It was a suggestion to retain the performance of the ROM without having the Google bloats while still being able to use the Market.

Well, there is F-Droid too, and it is actually my first stop when looking for apps.

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

I didn't. I did a completely fresh installation of your latest release. I'll try to clear the Camera app data and see how it goes.

---------- Post added at 09:40 PM ---------- Previous post was at 09:39 PM ----------

Xposed is currently incompatible with this ROM. Stay away from it until it is fixed.
[Nokia X] Dom3616:
[MENTION=4606441]AngSanley[/MENTION] You might wanna add another bug to the list.

Music wont play through the earpeace/earphones. Only through speaker.
[Nokia X] AngSanley:
it worked with stock nokia headset
[Nokia X] Hzu:
Worked fine for me with various earphones and headphones.
[Nokia X] umangg2226:
Samsung's earphones(nokia's stock type) working perfactly with full sound... & dfx music enhancer pro app makes it perfect with premium quelity sound.. :)
[Nokia X] AngSanley:
yes my galaxy s4 earphone also works
[Nokia X] KenyanDroid:
I'm the only one with this issue??

Overlapping numbers when entering pin.

Still waiting for sensors fix... Don't care about camera a lot.

And I am proudly rocking beats audio with DSP manager. The sound is amazing....

See the red icon on the top left

Sent from my Nokia_X
[Nokia X] Hzu:
I believe [MENTION=4606441]AngSanley[/MENTION] will have to build the ROM with correct DPI setting and graphics for this to be fixed. Even the icons in Trebuchet looks blurry since it might be set up for a screen with a lower DPI and is then upscaled to fit the screen.
[Nokia X] AngSanley:
Nokia X have 240 dpi right? Then this is already correct
[Nokia X] KenyanDroid:
Has anyone tried to benchmark the performance after installing this ROM.

I got 5867 at first after installing with all tweaks set for max performance.

I installed pureperformance zeno edition(it is a flashable zip) and I managed to get more performance.

If you're experiencing lags at the moment try pureperformance.

I should not be held responsible if your device gets bricked.

Eagerly waiting for an overclocked kernel :D

Once again thanks angsanley for this wonderful mod.

:thumbup:
[Nokia X] Hzu:
Yes, that is correct. And that is what I have been wondering. Perhaps there are some lines specifically for defining the sizes of the buttons, icons, etc. IIRC, you can even change the size of the keyboard. If that really is possible, then there must be a way to fix this problem.
[Nokia X] AngSanley:
The rom where I ported this also have same DPI and resolution as Nokia X. Btw I never had those graphics glitches yet.
[Nokia X] plankton69:
Also not a problem here. Testing with Nokia X stock earphones.

Did it, some pages ago... ;) I managed to score 11000+ points also, but only one time. Using the kernel given by [MENTION=4606441]AngSanley[/MENTION] and SetCPU/System Tuner apks.
[Nokia X] KenyanDroid:
Which system tuner are you using

Sent from my Nokia_X
[Nokia X] zogoibi:
No, you're not the only one. Same problem here. Not a big issue, though. :)
[Nokia X] plankton69:
https://play.google.com/store/apps/...tuner&pcampaignid=APPU_u-nyU-rgNqLMyAP1n4HQCw

Google also ''setCPU''

Sent from Tapatalk via Nokia X
[Nokia X] imostfa:
nokia XL users still waiting for the fix ..

and in general Null as kernel not good for XL .. it causes Screen problems ... for fixing screen we need to use the stock kernel * thanks for dom "he told me about that way to fix screen problem"

but we can't here because the difference between system Version //

null meybe a good choice for nokia X to make Wifi working .. but for nokia xl we don't need to it , some files in bin will make it work .. so our problem now in kernel and to make it work without screen lines ..
[Nokia X] AngSanley:
unfortunately this isn't so simple on kitkat. using XL stock kernel makes the ROM unbootable
[Nokia X] Dom3616:
[MENTION=4606441]AngSanley[/MENTION] Sorry to bother you. But do you have any idea why my phone isnt outputting audio through earphones?

I was able to fix it by using SoundAbout app to reroute the audio but I dont get why it isnt working for me.
[Nokia X] AngSanley:
nah that's common problem of android
[Nokia X] Burnmode:
I also have a problem with that. Stock headphones work. headphones with a button or without a microphone not working.
[Nokia X] Dom3616:
Any idea on how to fix it, dev?
[Nokia X] taher nokia x:
dear developers ,

is there any ideas to fix sensors and camera ?

or any progress in these bugs

thanks alot
[Nokia X] adeebulrehman:
This is hardware issue, resistance, please check. It's not software issue.

---------- Post added at 09:47 PM ---------- Previous post was at 09:47 PM ----------

Stanley is working
[Nokia X] Hzu:
Tried earphones with and without microphone/buttons and they worked fine.
[Nokia X] AshRoller:
you need to build separate kernel for XL (or ask [MENTION=4135482]mdfzhi[/MENTION] to build) , as XL have slight different defconfig than X.

yeah, i can help to build that, but i'm still waiting for my Mac Pro to arrive, so i can sync and build ROM also.
[Nokia X] AngSanley:
The problem is, Nokia never released a kernel source for X+ and XL, until now