yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 1S] TheStrix:
Kernel Source!

A mail from a Xiaomi engineer.. Yes, Kernel sources will be released soon!
[Xiaomi Redmi 1S] sinnerz2000:
It says Q1, that could be anytime between Jan and march next year, that is too late
[Xiaomi Redmi 1S] fanboy_android:
Well better late than never. Atleast now there is some optimism that CM12 project can move forward. :)
[Xiaomi Redmi 1S] saurabhrck:
hey chk darknightmare's repo. he is also working on cm12, maybe you will find something useful.

https://github.com/darknightmare
[Xiaomi Redmi 1S] Kra1o5:
Q1 is a really bad news.
[Xiaomi Redmi 1S] saurabhrck:
ya, its not coming before q1. Thats for sure. just got the reply.
[Xiaomi Redmi 1S] Kra1o5:
Too late at least for me.
[Xiaomi Redmi 1S] kD:
Are you starting CM12 this week?

EDIT:- I've found almost same configuration indian variant phone. It's Xolo Q1100, company have open-sourced it's kernel sources. Maybe we can making it to boot with our redmi?

here it is :- https://github.com/keyur2maru/android_kernel_msm8226
[Xiaomi Redmi 1S] WalkerBales:
You try [MENTION=4448976]kD[/MENTION] bro..... I will provide u any help you need !!
[Xiaomi Redmi 1S] TheStrix:
Some more progress in kernel sources!

So.. guys.. I just mailed them again as I am like.. Not able to wait for sources.. Also people saying that they are lying.. So just mailed them...

Here's the reply I got.. In last screenshot, he's Xiaomi's Kernel Engineer..

PS: Ignore the message I typed in hurry.. LOL.. :p
[Xiaomi Redmi 1S] RuNG:
you can contact [MENTION=5765508]bagyusz[/MENTION] he managed to boot cm12 on stock kernel ( MSM8960T ) he may help you thread
[Xiaomi Redmi 1S] saurabhrck:
I think syhost from mokee team made a bootable lolipop. I can't read the proper Chinese and google translate is horrible. but this is posted in redmi 1s forum in mokee with a picture!

http://bbs.mfunz.com/thread-963121-1-1.html

Also reading comments on other thread it looks like lolipop is almost ready. Can't say for sure. anyone here read Chinese can help??
[Xiaomi Redmi 1S] zelendel:
Discussion threads do not belong in development forums. Thread moved
[Xiaomi Redmi 1S] proseray:
can u attach download link? i can't create account there
[Xiaomi Redmi 1S] saurabhrck:
there is no download link to attach. he have not released it, just shared some screenshots. ril is broken for now.
[Xiaomi Redmi 1S] zelendel:
Wow and they think people believe that?
[Xiaomi Redmi 1S] d.dhruval:
Simply ask them...m just uploaded that for wat i got
[Xiaomi Redmi 1S] zelendel:
Just don't want you to but any worth on their word. They have shown to be nothing but a bunch of liars. So asking them is more for fun to see what bs excuse they come up with this week
[Xiaomi Redmi 1S] d.dhruval:
Lol...lemme try for that... :D:thumbup:

# believing syhost
[Xiaomi Redmi 1S] thewisenerd:
I agree to disagree. syhost has been the official Mokee ROM developer and there's a large userbase in and around China. None of that concerns XDA since it's off/cross forum discussion. Yet, April's a couple months away, and though Mokee (or syhost for that matter) haven't always been very particular with legibility in sources, I can confirm from the screenshots (which would have taken an awful lot of time to morph) that its a CM12 build based on the stock kernel with the major bug visible being RIL (I doubt camera/video/audio playback would work though along with a lot of other stuff). Although, I wouldnt mind eager newbs jumping in their chairs saying: "We got official lollipop goody wow great devs wait for it", etc, etc and the likes since its upto syhost to make his work public, and rule #1: no ETAs!

Edit: kernel sources? I hath no longer trust in thou Xiaomi (that kernel sources will see the light of day before the phone's out of the market)
[Xiaomi Redmi 1S] prabuflash:
Officially declared by Xiaomi

Hi developers,

Sharing an awesome news. xiaomi has officially declared in their forum kernel will be released this month..

http://en.miui.com/thread-66692-1-1.html
[Xiaomi Redmi 1S] smustafasms:
Awsome news :D
[Xiaomi Redmi 1S] bbclo531:
Guys this post here shows that a cm12 Dev ROM actually booted on redmi1s

http://en.miui.com/thread-66363-1-1.html
[Xiaomi Redmi 1S] movelbit:
GitHub link not working.

Or is it only me?
[Xiaomi Redmi 1S] zelendel:
Do not post links to builds unless you can post the kernel source code for the device.
[Xiaomi Redmi 1S] mnupea:
Can you understand that there's no kernel source code? We are waiting for xiaomi to release it, you can't do that to us, it's not our fault
[Xiaomi Redmi 1S] saurabhrck:
it really does not matter whose fault is this. Xda is a global forum where gpl means a lot. its not all about redmi 1s or any one device for that matter. To continue maintaining this gpl rule, which is a good thing ofcourse, some times they have to take this type of steps. And I don't understand where is the issue. They have not closed the forum till now. just closed all rom threads. all roms are currently stable and we can use those. I don't think any dev here will bring cm12 before jan '15. So its better to wait. For syhost 's cm12 or mokee 50.1 version keep checking his weibo or mokee forum!
[Xiaomi Redmi 1S] saurabhrck:
Mokee 50.1 is uploading

Bug: ril
[Xiaomi Redmi 1S] pgreed:
Ya that the BIG problem RIL. W/o ril is not phone but game console :).
[Xiaomi Redmi 1S] Tarun93:
can someone pls explain me y syhost is saying he needs kernels for ril to get working pls n y do i get a feeling that syhost is not releasing the working android L device trees of his coz mokee has not fully adapted the msim features i can see msim layout n things but no where i can see the other files required for msim support :confused:
[Xiaomi Redmi 1S] pawanzZ:
logcat -b radio

here is the logcat
[Xiaomi Redmi 1S] PanyOet:
News Source Kernel Release on 31 dec 2014

http://en.miui.com/thread-72802-1-1.html
[Xiaomi Redmi 1S] zelendel:
I wouldnt say a hater. Disappointed is more true. I cant say anything about their devices, never used them nor has anyone that I know. All I can go from on that is what other people post. Both good and bad. I understand that it is the user that suffers, that is why we reopened these forums but you have to understand. We are not a user forum. If this OEM continues to hurt the ones this forum focuses on (developers) then we will continue to call them out. Now this device has kernel source. SO you guys can start developing things for the device.
[Xiaomi Redmi 1S] khan_frd2002:
[MENTION=4517918]jsevi83[/MENTION] and [MENTION=6025582]Kra1o5[/MENTION]...

this guy fixed the ril issue on samsung grand dous 2 which is same msm8226...

may be this help us too...

here the cm12 thread

http://xdaforums.com/galaxy-grand-2/orig-development/dev-preview-lollipop-galaxy-grand2-sm-t2949693

device tree...there are some ril fix commits

https://github.com/mukulsoni/android_device_samsung_ms013g
[Xiaomi Redmi 1S] WalkerBales:
Google has fixed it and is releasing 5.0.3 !!
[Xiaomi Redmi 1S] sanyam.aswal:
good luck

my best wishes with u bro..tho i cant help u but hope for ur success :) will definitely try out the rom when it is done
[Xiaomi Redmi 1S] AkumaNoGyuki:
I've been watching this thread from the shadows for a while now and it seems this forum's main goal has changed quite a bit. Guys, this is a "developers only" cm-12 forum, i think enough is enough. This thread is made to discuss the making of cm-12 by the developers, and i think it is wise for us to make another thread if we want to chit-chat about cm-12 and android lollipop in general. As [MENTION=1140856]zelendel[/MENTION] said, this is a developers forum, not a user one like MIUI forum. I think cleaning the thread and making a more orderly forum is in order, and will actually make the developers have an easier time browsing for source code in this thread.

My point is, i want to respect the developers with their work, and i want to quickly have our cm-12. The first step is to support them in any way, and the first thing that comes to mind is to clean this thread up and actually post something useful like source code or logcat and such.

Sorry if i said something wrong :|

P.S : good luck developer team :D
[Xiaomi Redmi 1S] arunal_123:
Ya thats true but to be a "Developer ONLY" thread, the OP author should be available. Atleast he should inform or else discuss about his progress.

He himself hasnt attended this discussion for a long time. Then whats the use of this thread.???
[Xiaomi Redmi 1S] zelendel:
Here is one of the biggest issues and why developers dont post alot. Its because users get into the thread and start posting pointless "this is broken" Replies without the proper troubleshooting and bug reports. If people are to post in the dev thread then they should list the trouble shooting they have taken and post logcat and dsm messages. While this will help some. Until the kernel source is available there is only so much that can be done. That is on top of dealing with the bugs that CM includes them selves and the issues that are coming up from 5.0.
[Xiaomi Redmi 1S] manservey:
kernal sources are releasead on 1st jan
[Xiaomi Redmi 1S] zelendel:
YEah sorry forgot which device this was. So let them work. I am sure there will be updates soon.
[Xiaomi Redmi 1S] DevendraMilmile121:
Error While Compiling Kernel Of REDMI 1s

devendra@devendra-desktop:~/android/kernel$ make zImage
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/input/touchscreen/ft5x06_ts.o
drivers/input/touchscreen/ft5x06_ts.c: In function 'ft5x06_get_factory_id':
drivers/input/touchscreen/ft5x06_ts.c:432:45: warning: 'ft5336_bootloader_ver' may be used uninitialized in this function [-Wuninitialized]
error, forbidden warning: ft5x06_ts.c:432
make[3]: *** [drivers/input/touchscreen/ft5x06_ts.o] Error 1
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2

Give Solution ASAP
[Xiaomi Redmi 1S] nikhildangui:
TIP

Boss there is a Mokee Rom developed by syhost based on lollipop 5.0.1 for redmi 1s and its seems to be quite stable.. Only thing is RIL(radio) not working ... i dont have much idea about development but incase he has made his work public then you can take help from his work or Code

Just for information : thanks
[Xiaomi Redmi 1S] joeffery.sylvester:
Still no progress? Sorry if too pushy, but, syhost (the maker of Mokee 50.1) now seems to focus on MIUI 6. So, kind of wanting to know what is progress for CM12. CM12 is much better I guess compare than Mokee since I don't like the Chinese apps that come with it.
[Xiaomi Redmi 1S] funtikar:
It's a shame, cause its pretty useless running MIUI on Redmi 1S the performance will sink to the bottom, its not a placebo even, its real
[Xiaomi Redmi 1S] UltimateBlade:
Any updates guys related to cm12??
[Xiaomi Redmi 1S] zephyr_2k:
Compiled source. Boots but restarts.

I have been following the development from kernel source release. :D

I downloaded the source form armani-dev. Used caf- variants for media and display. Fixed error during compile by using sources from both falcon & msm8974 based lg-g2 .

I Was able to boot till the optimization of apps. When selecting wifi , it rebooted . Now this keeps happening.

Could you please help by suggesting modification to device tree to allow for logcat debugging without authenication( also the kmsg). I can currently post the build if you need to test it. :confused:

Also you can have a look at github to suggest modifications (handle : zephyr2k).

---------- Post added at 02:54 AM ---------- Previous post was at 02:43 AM ----------

Saw some forums regarding enabling adb during boot . I'll make changes and report to you.
[Xiaomi Redmi 1S] AkumaNoGyuki:
Memory Leak?

I just found this in xda forum link, and maybe this will help in the development for CM12.

http://xdaforums.com/android/software/arm-arm64-android-5-0-lollipop-t3032247

Hoped i can do more, but too bad i can't compile stuff here..

Anyway, Good Luck to everyone developing this :D

Credits to the guys inside that thread :)
[Xiaomi Redmi 1S] harshs91:
Keep up the good work bro and keep reporting here! [emoji2]
[Xiaomi Redmi 1S] zephyr_2k:
cm12 build works, and boots , no radio !!!

So I cloned the repo from your source, made a few changes of my own. Built the zip. Flashed it. Did not work . Struck at boot logo . The maximum it went was optimizing apps and then rebooted.

So I took luffyXDA's kernel source. What I did was split the boot.img obtained from my build , replaced it with luffy's dt.img & zImage. Repacked and flashed the new boot.img To my surprise it booted up !!!!::laugh:

(ED: It was a dirty flash )

I did a check of the functionality . I had

* wifi working

* music not working.

* radio not working

* camera working.

I did not check any further.

Please guide me out here to get the radio working . I'll be looking at falcon sources to see how they did get it to work. :fingers-crossed:

About the kernel source I need to look at the commits I did when I encountered the build error. Maybe they are the cause of the kernel not booting up.:crying:

Help me out here by suggesting some changes I can make !!
[Xiaomi Redmi 1S] :
1. cm-12 is working and booting from past 1 month .. Only bug is RIL

2. now coming to your RIL question .. This problem is only for msim devices ..cause of newly introduced RIL changes in Android-5.0

3. The solution is we need newer Ril blobs from xiaomi to get it working .. though we are trying to solve this issue by creating a workaround but no sucess so far

4. the reason moto-g has working ril is cause they have new blobs

regards
[Xiaomi Redmi 1S] zephyr_2k:
Thanks for the heads up.

Regarding point 1, I have know it. But it was built using prebuilt kernel. Also no updates from dev (syhost. Looked at his handle at github, )

Kernel sources were released on dec 31st.

So I'm trying to built using source (No success in booting it up)

I'll be keeping tabs on RIL blobs (whenever they are released, if so).
[Xiaomi Redmi 1S] Eziogamer:
Sorry if i am wrong cant we use RIL blobs from moto g?
[Xiaomi Redmi 1S] zephyr_2k:
No

Why ?

I'm not an expert, but all I know is that the comm chips for radio inside moto G are different , and even if they are same different companies modify it to suite their product. So getting compatibility is different.

I'll be looking into hacks and workaround to get it to work. AFTER having successfully booted CM12, without any kind of workaround like I did earlier.
[Xiaomi Redmi 1S] :
well, just use cm-11,0 kernel and simple cyanogenmod hals .. They say smart working is better than hard working ;)

to reply your PM: no we can't, our problem is totally different

P.S. Do not PM please you can always join #armani-dev [IRC Freenode] to join us and ask us freely :)

No we can't .. reason: our device has different Ril subsystem
[Xiaomi Redmi 1S] pawanzZ:
Why don't u guys try RIL base from cm11 ....even my other device SG s2 had same ril issue..got solved by using ril base from cm11...give it a try!!
[Xiaomi Redmi 1S] zephyr_2k:
Will try that !!!

I'm experimenting with blobs from Redmi 1s 4G (it's KK based)
[Xiaomi Redmi 1S] zephyr_2k:
Ahem !! some development

CM12 built completely from source booted up !!

As expected radio not working .

But maybe some improvement:confused:

Latest Radio logcat shows It connected to the rild socket, then having some failure .

Logcat : http://pastebin.com/ZpUvXWSv

Also some earlier build I tested could read IMEI , but this build cannot.

I will be trying some new fixes . hope it make, it work ..
[Xiaomi Redmi 1S] Eziogamer:
Mahn thnk you for your dedication and hard work... . Keep it up....
[Xiaomi Redmi 1S] BATVIC:
You are doing a great work for our device.Thanks for your hardwork.
[Xiaomi Redmi 1S] harshs91:
Thanks for your work! Hoping for a fully working build soon! [emoji2]
[Xiaomi Redmi 1S] vishalthedevil005:
Yu yureka also has same RIL problem for cm12

but they somehow managed to solve that by flashing older baseband

hope this helps. :good:
[Xiaomi Redmi 1S] zephyr_2k:
vendor blobs

[MENTION=4952282]rebelos[/MENTION], [MENTION=4644662]fefifofums[/MENTION], [MENTION=6025582]Kra1o5[/MENTION] . I would like to know in the vendor repo for armani, have you used MIUI50 blobs ?

If yes then which one you updated ? I noticed, that using some of those blobs fixed the problem of Baseband:unknown. (I remembered making changes int init file as well_

It was also able to read IMEI for 1 sim. Earlier it showed NULL for both sims
[Xiaomi Redmi 1S] TheStrix:
Baseband is also showing from last 1 month's builds... :/

Still, can you give radio logs?
[Xiaomi Redmi 1S] zephyr_2k:
Yeah Sure .

Latest one :

http://pastebin.com/RmNMmFHf

http://pastebin.com/pyRzr1jZ

This is an earlier one:

Here, for experiment I changed from

rild.libpath=/vendor/lib/libril-qc-qmi-1.so

to

rild.libpath=/system/lib/libreference-ril.so

Also about Baseband, showing on builds, which one are you talking about?
[Xiaomi Redmi 1S] :
1. we have more updated blobs than miui50 [thanks to our updated kk kernel]

2. We need Open Source Ril or Lollipop Blobs for ril
[Xiaomi Redmi 1S] zephyr_2k:
I decided to look into opensource RIL. Stumbled upon HTC A5.

I used that RIL , had a build ready.

This time IMEI and Baseband are read correctly . :angel:

Also It shows No SIM card - Emergency calls only.

I'm able to scan for networks, but not register on it.

Could you have a look at the log and suggest some things.

http://pastebin.com/2NrhD0Q4 ( Do note the last few lines of the log )

I'll be uploading these changes on github. If you need the code.

I'll look further into it.

I think that I'm really close.:laugh:
[Xiaomi Redmi 1S] joeffery.sylvester:
You guys are so bloody genius! Almost solve the RIL bug. Damn good! Hoping to hear more progress from all of you. Will be the first to try out the ROM when you guys uploaded it! All the best man! Sorry, can't help since am not a dev.
[Xiaomi Redmi 1S] AkumaNoGyuki:
Thanks~

Since I can't do anything, I'll just spam thanks to everyone contributing.. xD

Good luck and Godspeed :3
[Xiaomi Redmi 1S] Mohan04:
don't know will it be helpful or not but recent update in this device fixed ril

http://androidforums.com/threads/unofficial-cyanogenmod-12-for-lg-l70-d320-d320n-d325.893621/
[Xiaomi Redmi 1S] Karthick Chandran:
PAC 5.0

Yeah atlast some good work

pac booted

cm12 booted

waiting for ril to be fixed
[Xiaomi Redmi 1S] Eziogamer:
Pac 5.0 alpha released for redmi 1s?
[Xiaomi Redmi 1S] BATVIC:
Could you give me the link to the pac 5.0?
[Xiaomi Redmi 1S] Eziogamer:
http://xdaforums.com/showthread.php?t=2348361

Dont know. If its useful or not but anyway check it out.... Nd thnx for the hardwork...
[Xiaomi Redmi 1S] militantmind:
I dunno if useful... opensource ril.. htc a5 somewhat similar to armani and manage to fix ril for lollipop

https://github.com/CyanogenMod/android_device_htc_a5/tree/cm-12.0/libril
[Xiaomi Redmi 1S] milav:
dont take it in wrong way i have utmost respect for developers here and also its a personal choice what to develop but why cyanogenmod??

why not straight forward aosp??

i know about excuse that cm has many features but why there is not a single plain aosp build??

sorry i dont know about building rom so asked
[Xiaomi Redmi 1S] snehalbaghel:
Because

"Cynogenmod is not even that good."
-No One Ever
[Xiaomi Redmi 1S] arunal_123:
Ok here is a plain and clearifying answer for you... I too love AOSP.

But being said, AOSP doesnt support multi sim out of the box. And it takes a hell of a tweak and modification. Also wanna make it clear, AOSP isnt easy to download as the source size is too large. Trust me, i have tried KK AOSP and failed to download sources so many times. Atlast i got 30GB of waste and redundant files downloaded with almost of no use.

So later on dropped the idea.

So the answer is, Yes AOSP can be made but it isnt as easy as it looks compared to CM and other Custom Roms.

Thanks...
[Xiaomi Redmi 1S] tanaymondal:
Good news

Redmi 1s RIL bug is solved by Syhost. For more info:

http://en.miui.com/forum.php?mod=viewthread&tid=94082&extra=page=1&mobile=2
[Xiaomi Redmi 1S] neonkat:
This is a developer thread...not a q/a and help thread..so make any other respective thread and discuss over there...btw its syhost's work... And not of these guys...
[Xiaomi Redmi 1S] AkumaNoGyuki:
this is a dev thread right?

Read the title man.

This is an EARLY DISCUSSION for CM12, moreover a thread for DEV to discuss bugs and stuff.

We all are excited about the release of syhost's Mokee Lollipop, but if you wanna discuss about it go make a new thread in the general section and discuss it there. This isn't a place for us to flood, this is a place to share resources to make a bootable CM12.

Flooding the thread makes it hard to look for the parts that really mattered, and will delay the making of CM12, if not irritate the DEV and make them stop working at all.

Remember, the DEV didn't do it for us, and we don't pay them a single cent to make them work for it. Respect their solidarity in making the ROM for us, by at least not making it harder for them by flooding the thread. :v

[MENTION=1140856]zelendel[/MENTION], i believe a cleanup is in order?
[Xiaomi Redmi 1S] dhrtlockeroo9:
Sound fix patch:

https://www.dropbox.com/s/jtklq6ssvd9ui7i/soundFix-signed.zip?dl=0

(Thanks to vadim4ever Bro Russian dev)
[Xiaomi Redmi 1S] zelendel:
Ok I have cleaned up this thread. Let me make one thing clear.

This is a developers site. Not a user site.

If your not posting a bug (with included proper logs) then dont post.

IF you are not posting about this rom then dont post.

If you are posting about another rom then dont post.

I really hope I have made myself clear. I would really hate to start banning people, but I will.
[Upgrading, Modifying and Unlocking] chris666uk1:
i have had wm6 will running on the Magician it runs ok all the problem is the sound doesent work phone call ects work with no problems and the camera and voice command shortcut dont work but i am sure some 1 could make a modified rom to sort this small problems out
[Upgrading, Modifying and Unlocking] mamaich:
Just another fake

Magician does not have enough ROM space for WM6
[Upgrading, Modifying and Unlocking] Prerna:
Double post due to slowness; sorry.
[Upgrading, Modifying and Unlocking] Prerna:
Really? Mine is quite spacy without the useless stuffs in EXT Rom.

Yet I got no idea what WM6 really takes...
[Upgrading, Modifying and Unlocking] chris666uk1:
here are some screens i did i put some low res pics on in min with girlfreinds cam till morning when get proper cam for videos ect of it on
[Upgrading, Modifying and Unlocking] mamaich:
Really. This is not HTC Magician, as magician has intel CPU and was designed for WM2003.

This shots come from HTC Wizard or Prophet (someone called it magician 2).

And as we know there is a WM6 for wizard, and it has known bugs (for example inability to sync over usb) which are fixed already.