yashsingh1/xdaforums huggingface dataset:
[K3 Note Original Android Development] AdamDevlopper:
So basically like [MENTION=6549853]blitzfire3[/MENTION] said we compiled Lineage 7.1.2 with no problems at all... Only problem where we are now stuck is RIL. So

After flashing Rom and proper kernel the roms boots but IMEI is empty means no service... After using Chamlephon and adding IMEI SIM doesn't get recognized anymore....

After trying to pull NVRAM folder and MDDB folder from another working Lenovo k3 Note the phone would boot and work just fine Data RIL works. After retrying to flash and and it gets same... No Service.

What im thinking is it could be a issue with ramdisk maybe or with a LIB file... What i didnt tried is using Lineage OS 7.1.1 Libs .... This is what im going to try now :). But im sure its a LIB Issue and not more.

This is the only supsious error that I could find :/

04-21 17:27:40.509 2486 2772 D RILMUXD : [gsm0710muxd] 766:write_frame(): Write a frame on channel 5 with length 9
04-21 17:27:40.509 2486 2765 D RILMUXD : [gsm0710muxd] 1643:gsm0710_base_buffer_get_frame(): Get a complete frame. ch:5, ctrl:239, len:9
04-21 17:27:40.509 2486 2765 D RILMUXD : [gsm0710muxd] 2383:extract_frames(): Writing 9 byte frame received on channel 5 to /dev/pts/4
04-21 17:27:40.509 2486 2765 D RILMUXD : [gsm0710muxd] 2403:extract_frames(): write() returned. Written 9/9 bytes of frame to /dev/pts/4
04-21 17:27:40.510 2784 2829 I AT : AT read end: 9
04-21 17:27:40.510 2784 2829 D AT : AT< ERROR
04-21 17:27:40.510 2784 2829 D AT : RIL_CMD_READER_3 Enter processLine:ERROR
04-21 17:27:40.510 2784 2829 I AT : AT read start
04-21 17:27:40.510 2784 2813 D AT : response received on RIL_CMD_READER_3, tid:547914859600
04-21 17:27:40.510 2784 2813 D RIL : here we go to error setBroadcastEx
04-21 17:27:40.510 2784 2813 D RILC : RequestComplete, RIL_SOCKET_1
04-21 17:27:40.510 2784 2813 E RILC : Send Response to RIL_SOCKET_1
04-21 17:27:40.510 2784 2813 D RILC-MTK: proxyLoop free pRI=0x7f92c27e70 p=0x7f92c31d90
04-21 17:27:40.510 2784 2813 D RILC-MTK: proxyLoop free pRequest=0x7f92c82cc0
04-21 17:27:40.510 2784 2813 I RILC-MTK: RIL_CMD_PROXY_1 sleep
[K3 Note Original Android Development] REIGNZ3:
yes yes yes we need to fix it:crying:
[K3 Note Original Android Development] zunaid321:
Hi :) First of all, I would like to thank you for all your hard work on the K3 Note. Currently using your latest cm14.1 now....for now the only bug I got is video recording...other than that everything is okay =D....and one more thing....is RR 5.8.0 possible for K3 Note? Anxiously waiting for your reply :)

Update - 32k sims not working as well :(
[K3 Note Original Android Development] varadinum:
[MENTION=4948627]daniel_hk[/MENTION]

It's a great job. Liquid, fast and smooth. Everything works smoothly. Bluetooth, gps, wlan and mobile data are in order. Hat off your performance!

Thank you very much

Edit: What do network numbers mean? - 23203-
[K3 Note Original Android Development] daniel_hk:
About SIM...

I also have a 32K SIM and it works for me here.

There is no way for me to test anything from afar all over the world. The only one can help would be yourself or those from your region.

If it was working before, there might be a chance. I already mentioned in the OP. I detail again here. This would be my final answer. I won't repeat again.

1. Flash the latest MM stock ROM which your SIM worked.

2. Take a look at the About of the stock ROM. Record the the modem detail or just a screenshot

3. List the ROM and Modem here so that someone in your region might help testing.

Still have some issues like video recording...

That's the number of your SIM's service provider. MTK's RIL just report differently. Need some fine tune later.

By the way, please report your location. I need the know which region the existing modem would work. ;)
[K3 Note Original Android Development] zunaid321:
[MENTION=4948627]daniel_hk[/MENTION] I tried that...changing modems and all...still doesn't work....64K or 128K sims works fine though :/ well this is weird :/
[K3 Note Original Android Development] apsyadira:
SIM 3 not working. I flash' modem for A7000+ indonesia signal showw butt SIM 3g not working.how to fix?
[K3 Note Original Android Development] lightningboy786:
Both Simcards doesn't work

The microphone worked on Tango though but i haven't tested it in any other applications

Please provide a modem so that sim card will work! Oh & I'm from India i use (K50A40)

As u said i'm providing the pic of device information, I kindly request to fix the simcard and provide us with a modem patch that'll fix it.
[K3 Note Original Android Development] daniel_hk:
You are the first one who really read my post and provide the necessary info. so I answer you.

Your Modem is V13. which is newer than the one I have. I think it might require other blobs as well.

I'll PM you later for further detail. ;)
[K3 Note Original Android Development] selfisher:
Rom is really smooth and works very well for me, hope video recording and hotspot will be fixed. Anyway, thank you so much, amazing work. I have a question though, is there a way to deactivate one of simcards? Because I use one of them occasionally so would be nice to turn it off for longer battery life.

edit.

And also do you deliver new versions via cm updates or is it necessary to flash new zip everytime?
[K3 Note Original Android Development] world0909:
Hi, i had instaling stok MM 433, but after installing your rom i had problem-no sim card detected. Also i instilling all modems, what i found on our device, but all sim card not working, i dont know why. Modems i taking in 4pda forum
[K3 Note Original Android Development] world0909:
that is my rom information, plz help
[K3 Note Original Android Development] world0909:
Im from Ukraine, rom on russian language
[K3 Note Original Android Development] ziad shawki:
Thank you Daniel hk for replying

Here's my modem

[IMG="the modem"]http://i.imgsafe.org/83278a88d4.jpeg[/IMG]
[K3 Note Original Android Development] daniel_hk:
I don't think I would have time to ran through all the OTA to reach your current state. See who really want to help yourselves.

I think V13 is the latest Modem for AIO.ROW. For those who have this modem working on stock ROM.

Right after a clean flash, pull the following folders inside your stock ROM.

/system/bin

/system/lib

/system/lib64

/system/etc

/system/vendor

and the file

/system/build.prop

Please compress the above into one file and provide the link.

PS. Detail of your SIM's service provider would be also helpful to people in your region.
[K3 Note Original Android Development] Ankit Kumar Mandal:
I had recently flashed cm 14 on k3 note but old sim card is unable to detect but new sim card is working any trick to solve old sim card bug plzzz tell me
[K3 Note Original Android Development] REIGNZ3:
https://www.androidfilehost.com/?fid=529152257862689641

here you go bro

and the sim i am using is tata docomo 32k sim

hope you will fix the bug. :victory:
[K3 Note Original Android Development] ziad shawki:
hi daniel_hk

heres the link

my simcard is Orange EG

https://mega.nz/#!tBZwVT7S!e_qwXfA3tDbyQ6vbH1gq7SISDY5-cMHcR_qxEtxNdSE
[K3 Note Original Android Development] Rysiusek:
Rom looks very good. Very fast and nice management of ram.

I look forward for new version with camera recording.:o
[K3 Note Original Android Development] FeyoMx:
[MENTION=4948627]daniel_hk[/MENTION] Thanks for all the fantastic work you do master 3BY45425XD101494F Paypal confirmation number
[K3 Note Original Android Development] selfisher:
Is there a way to deactivate one of simcards? And will cm14 have theme enginge?

Thank you so much for great rom, I hope led, hotspot and vid recording will be fixed :) Keep up the great work!
[K3 Note Original Android Development] REIGNZ3:
1.No u cannot deactivate

2.Cm14.1 officially doesnt have theme engine you have to use substratum theme engine here is the link :- https://play.google.com/store/apps/details?id=projekt.substratum&hl=en

and only use substratum theme to apply themes
[K3 Note Original Android Development] daniel_hk:
I don't know if you have tried the LOS (or CM14.1) that I posted before.

I only apply the O/C kernel in the recent 2(3?) builds. If you think its the O/C that doesn't work, you may try the older one first.

To clarify things, just install the ROM only, nothing else. See if it boot.:laugh:

I can't pretend to be an expert in MTK. I only started a few months ago and this is my first MTK experience.

I was told similar things before and you have given me a bit more info. now.

Things like IMEI is in nvram for sure. All devices are similar one way or another.

I was told that they flash my ROMs and got similar results, right?

The nvram blobs (libs) are proprietary from MTK. All we got is the header files and doesn't know what it really do.

I think the nvram and mddb folders you mentioned are in /data, right?

The blobs from MTK would read the /nvram partition and generate that.

I studied nvram briefly at the very beginning. These are what I found, correct me if I'm wrong.

1. At boot, the nvram daemon would search for the nvram partition in fstab. If not found, it would use the default partition. You would find the default partition are different in LP and MM blobs (old or new, may be).

2. I had tried dd the /nvram partition out to a file. I changed the /nvram partition to the path of that file I put in /data. It still work.

3. I had written a test program to dump all the results of the functions in the nvram blobs' header file. The output is more or less similar to the line we got in the log.

My guess is,

There is some kind of security in the nvram blobs. It might compare to the serial no. of a chip. If it found that the nvram data (may be part of it) has been tampered, it would stop. IMEI is most likely required protection. They just can't let you pretending to be another device that easy.

If you have corrupted (altered) the nvram before and recovered with the data from other devices (or methods), this might be the result you got.

I've been there so I'll backup all partitions when I get a new device. That's also why I studied nvram in the very beginning.

I don't like to discuss these kind of things in the thread. It may draw people's attention and might mislead some. I don't think most of the users would understand but some might play with nvram in various ways. They just don't realize the risk before its too late. It's not just off topic but encouraging some to face unnecessary risk.

If that's your case, there might still be a few dirty workarounds.

I guess its the nvram daemon handle those security. It just stop reading and generate the folder in /data. Rewrite your own daemon and generate the folder manually would work. Further access would not read the partition directly but the folder in /data.

Good luck
[K3 Note Original Android Development] REIGNZ3:
Ril has been fixed the problem was in boot.img so we flash boot.img after flashing rom the sim works perfectly ?
[K3 Note Original Android Development] B_V_:
I tried to install only your recent LOS, Carbon, Slimrom, AOSP ROMs that are equipped with O/C kernel, without Gapps, etc. - nothing worked. ROMs with an old kernel booted normally.
[K3 Note Original Android Development] daniel_hk:
Then use the kernel before 3/19. This is the old kernel View attachment DC-MTK-NG-kernel-20170312-aio_otfp.zip.

As the earlier kernel patch, it only replace the binary. It can apply to different ROMs.
[K3 Note Original Android Development] Maltrash1:
Thank you for your great work!!!

You give second life to an low cost phone!

I found that some apps are showing battery voltage incorrect. Example:

Instead of 4.123V it shows 4mV (Accubattery) or 4V (Battery HD).

Instead of 3.654V it shows 3mV (Accubattery) or 3V (Battery HD).

It came up after I swapped to LineageOS 14.1.

Also charging is very slow...

It was 1.69A before. Now max 1.2, more often 0.77A, and falling down to 0.36A. Checked different cables and chargers (worked fine before swap to Lineage).

Would it be possible for you to work about it?

If you need some logs - just let me know.

Kernel from GSandeep (Ultimate 1.4 OC)

Best regards
[K3 Note Original Android Development] sdkone:
Hi Daniel, I installed 7.1.2_r6 AOSP 2 days ago, and I really like your rom, and found 4 bugs so far.

1. press home for 2 second crashes the launcher, then launcher reloads and back to lock screen. Happens to default launcher and google launcher.

2. Cellular networks returns network ID instead of network name . e.g. 330280 instead of T-mobile or ATT (3G networks)

3. HDR in camera doesn't work -- crashes the camera app.

4. default gallery app can not play recorded video properly.

I was having problem to install the rom at the beginning too.

First, I updated recovery from TWRP 2.8.7 to 3.0.3 then flashed 7.1.2_r6 AOSP without superSU softbricked the phone--stuck on the logo. Recovered with SP_flash_tool.

Then, flashed TWRP 3.0.3 again, followed by 7.1.2_r6 AOSP and SuperSU 2.79 in zip queue with reboot after flash option clicked. After installation TWRP warned " No Operation System installed, reboot?" -- chose reboot anyway.

Booted successfully then setup WIFI per instruction and flash Gapps-arm64-7.1-mini 20170425 in recovery.

Everything seems fine except the few bugs so far.

And thank you for your great work.
[K3 Note Original Android Development] kn an:
Hey Daniel is it possible to add volte support in this rom.k3 note support volte in hardware but we can't activate it I have tried almost all ROMs and patches none works and Lenovo hasn't give any update for it . So if you can please add volte support :(
[K3 Note Original Android Development] greekfragma:
daniel_HK thanks for all the hard work once again bro.

Don't pay attention to the VOLTE "demands". K3 Note does not have that capability and people asking for that are just not reading even the basics about their device features.

I am using your roms from the 1st release of Nougat and I greatly appreciate all progress you made.

There are some few bugs but they are fine roms for daily usage.
[K3 Note Original Android Development] olgutza34:
It looks like Jio4G offers for India unlimited calls over LTE between some night hours, this is the main reason that a lot of people ask for VoLTE so obstinated. If ask for VoLTE, sure is from India. Limited financial income prevents most of them to buy a VoLTE ready smartphone, and as long as K3 Note was a real selling hit in India, they are asking for it. When this free offer is going to expire, same thing will happen to VoLTE requests.
[K3 Note Original Android Development] Cpt.mactavish:
any way to get 1080p youtube in lineage os (april build)is any patch available... just asking??

[MENTION=4948627]daniel_hk[/MENTION]

and thanks a lot for being carbon rom maintainer for our device.....I wish HDR also works???
[K3 Note Original Android Development] Maltrash1:
Thank you for answer. Really appreciate your REAL activity and willingness to support other devs or dummy users (like myself).

1.

For Li-ion batteries safe temperature range is 5°C-45°C and beeing less restrictive might speed up charging. Ofcourse over 80% I would also lower the safe temp maximum (and current automatically).

Please check htttttttp://batteryuniversity.com/learn/article/charging_at_high_and_low_temperatures

I get current from simple USB current meter (few $ on Ali.). It was the easiest way to put it between charger and usb cable.

Values are not precise - it was like average to show you general rule.

EDIT: I have cooled down the battery to 28°C with a fan and charged from 30% up. No major changes...

2.

I agree that apk developers should modify their way of thinking... But CPU-z is also wrong. It shows two values: 3000mV or 4000mV. Before it was 4xyz mV (more granularity without rounding down).

Maybe this granularity is influencing charging speed?

Would it be possible to add these 2 options as an configurable in some cfg file?

Eg.:

max_charging_temp= 45 [°C]

multiply_voltage_by= 1000
[K3 Note Original Android Development] ziad shawki:
Hi [MENTION=4948627]daniel_hk[/MENTION]

Plz could you release your device tree of aosp 7.1.2 plz

And thank you for being maintanice of carbon rom :o
[K3 Note Original Android Development] daniel_hk:
I don't know what wrong with you people. Why you said so?

Who told you that?

Don't hide in the dark and BS rumours.

I use the same tree to build 7.1.2. If you don't know, just don't spread these kind of lies.

I already lost count how many times now. Still there are people stupid enough to ignore the facts.

If you can't do it, that means you are not ready yet.

Blaming others won't help. It can only shows your incompetence. Shame on you.
[K3 Note Original Android Development] REIGNZ3:
Use same tree to compile

Hdr bug has been fixed!!!!
[K3 Note Original Android Development] tanish2k09:
That tree is incomplete and won't start compiling directly. [MENTION=4948627]daniel_hk[/MENTION] did put all the important and necessary commits there, but he doesn't want someone to take a shortcut. So those who know how to complete the tree can easily start compiling. I think one of them is [MENTION=5138268]Rohan Taneja[/MENTION].

However, if you would like to simply use his tree without doing any hardwork from your side (excluding the compiling and syncing commands) then I guess Daniel doesn't support such guys.

What I learned is, his tree can be made to work. Knowledge is needed for doing it properly.
[K3 Note Original Android Development] daniel_hk:
That is also not the case. The only thing might need some study is platform patches. Most of the device trees have those too. There are many guide for that. If people don't know how to use platform patch, he can ask. Rohan Taneja did ask me and he got the answer right away.

How hard could it be?

May be something minor for different devices. I'm curious. What else you need to add?

Yes, I don't like people taking short cut but I didn't hide anything for that.
[K3 Note Original Android Development] REIGNZ3:
How can i made it work you need to study it first daniel said is right there is no shortcuts learn it and you will see !!
[K3 Note Original Android Development] tanish2k09:
Your name is NP right? (Not taking your full name)

The one who made blitz ROMs...

I have heard you're using sandeep's tree.
[K3 Note Original Android Development] tanish2k09:
Idk. Rohan did the source work. He may or may not have added anything else. I'm now focusing on my studies this year. Won't remain much active except on holidays...

After I get a good seat, then I will start studying the sources to get an idea of how what works. It's of no use to even try manipulation of sources when knowledge is incomplete. I'm sure Daniel, you would agree to my words.:angel:
[K3 Note Original Android Development] REIGNZ3:
i later changed to daniel tree
[K3 Note Original Android Development] daniel_hk:
This is the latest LOS-14.1 (Android-7.1.2_r2) I promised earlier.

HDR and Codec are updated.
[K3 Note Original Android Development] azhar.syzygy:
which gapps have to download? can i know version?
[K3 Note Original Android Development] Cpt.mactavish:
Flash the latest 7.1 64bit.....remember....download the latest one
[K3 Note Original Android Development] bedoedeyne:
You're the best :). Can u add "double tap to wake" feature for lineage os rom?
[K3 Note Original Android Development] ziad shawki:
Thank you daniel for your amazing rom:D
[K3 Note Original Android Development] Cpt.mactavish:
Thanks a lot for the new lineage ??? ???

HDR seems to be better now.....and codec update fixes YouTube zooming issue too..

But,WiFi/hotspot seems to be having some issue..(password changing..workaround,WiFi doesn't turn on after that) (though im entirely not sure...about this.)

Otherwise.....this ROM seems far better ...to me ...thanks
[K3 Note Original Android Development] okahdidi:
Link please
[K3 Note Original Android Development] Cpt.mactavish:
Check main post --_--
[K3 Note Original Android Development] azoksky:
Hello Genius where are you from? Don't think you are so smart and make b*ll**** comments here. In India, VoLTE enabled phones are really cheap and available for a price as low as $50. As for Jio, the all IP jio networks offer life long free voice and sms. You would pay only for data and that too damn cheap. Validate your facts before you blabber out here. I know its off topic and not the right forum to post. But you are a freaking idiot.
[K3 Note Original Android Development] olgutza34:
well [MENTION=7642857]azoksky[/MENTION] thank you! You have just the right profile for enrolling to huge mass of knuckleheads from needrom site :) As long as I am not from the same continent, nevermind country, I would not know local phone/internet offers. One thing is sure, you do not have what it takes to settle this dispute like a gentleman. Sayonara, my friend, i will not bother to answer to such high thougths as yours...i am just a poor freaking idiot...
[K3 Note Original Android Development] daniel_hk:
Wifi hotspot has been bugging me for some time. I have tried a few way and I can't find anything wrong yet. I guess tis the statemachine which also account for not showing the users in quick settings (QS), etc.

There is an easier to repeat workaround I use for myself.

1. Turn on hotspot.

2. Turn if off in QS (which is easier)

3. When you see the ? mark in the Wifi icon, turn it on again.

This way always work for me. See if it work for you.

Good luck!
[K3 Note Original Android Development] azoksky:
Ha ha.. In good spirit, i appreciate your sarcasm.. :good:.

I just questioned the basis f your rantings.
[K3 Note Original Android Development] Arty777:
Hi master

install 2017/4/30 - LineageOS-14.1

Screenshots аt installation error

https://mega.nz/#!nddzhCIR!FU2wvk52iZXtYl4N-dgSExk6ZaT1GVCDnXvc9R27aCM

AnTuTu Benchmark result

https://mega.nz/#!jMMgnDiY!vjynbu7XHNXGfQkXDeNNGO_rSdSgPgYXm1E57LLVzmY

I ask you to correct the mistake.
[K3 Note Original Android Development] olgutza34:
besides that install error and hotspot issue, there are no other problems detected. Even that I dirty flashed 7.1.2 over last april release of LineageOS. Play with performance tool and you can get better Antutu score, I got 56k with march release and performance patch flashed. If that warms you up, then who stop you to try it? See for yourself this screenshot, though that time had some often crashes with few apps.
[K3 Note Original Android Development] daniel_hk:
That triple 7 (777) really triggers people from Hongkong's nerve. You just wait me up from bed... 88 ahead of 689, most of us just have no choice but keep quiet and suck it up. We keep our heads down to avoid conflict that doesn't mean we are scared. When necessary, some of us would stand high, even though it might cause our lives.

Anyway, I don't recall I owe you anything. I can see you hide where you come from. May be you shame on your origin but I'm not. I don't shame to be a Chinese, from Hongkong, from Asian, the third world nor from gutter. I can't change my DNA but I can try to be a better person. If you think its not working, please leave us naive kids alone. You are not welcome here. ;)
[K3 Note Original Android Development] Arty777:
Hi master

You're the only one involved in the development of K3 note

but I do not understand for whom or rather what you're trying.

It seems not even to themselves.

You spread improved firmware, which you did not even check.

if someone found a mistake and told you about it, you think you're humiliated, and I just respectfully ask to improve the result achieved.