yashsingh1/xdaforums huggingface dataset:
[K3 Note Original Android Development] trixter127:
Request for Double Tap to Wake

Thanks for all the awesome work you have been doing.I love all the features in your carbon Rom .It's exactly what I need.

Only feature I feel missing is double tap to wake.It used to be my favorite feature in the stock room.I can't find any Nougat ROM supporting this feature.Not only me ,many users love this feature .

I'll be really grateful if you add this with your next release or please let us know if it's not possible .

Thanks Again
[K3 Note Original Android Development] agajbhe:
Phone gets laggy when using night mode...

Please add live display
[K3 Note Original Android Development] bansuk5:
Use f.lux app for night mode.

Press thanks if helped !
[K3 Note Original Android Development] agajbhe:
Bug :- Listening songs using headphone taking screenshot simultaneously the song comes out from both headphone and external speaker...please fix this issue
[K3 Note Original Android Development] mugik04:
Will there be new los14.1?
[K3 Note Original Android Development] Cpt.mactavish:
plz build a new lineage with hotspot fixed.. [MENTION=4948627]daniel_hk[/MENTION]
[K3 Note Original Android Development] daniel_hk:
I was thinking someone would pick it up.

I haven't sync Lineage for a while. Anyway, I'm going up to catch up with the source so I'll build one later.

Carbon has updated to Android 7.1.2_r17 so I build another one.

The latest Carbon with Android 7.1.2_r17 is out now.

1. I rewrote the fstab while building TWRP. I replace the by-name addressing of partitions with the Linux defaults. It would be better compatible with any Recoveries and the its much shorter.

2. I have made some patches to the kernel.

3. The security patches is also updated.

Cheers!
[K3 Note Original Android Development] mugik04:
GPS not work

P.S.old boot(02.06.17)-work gps
[K3 Note Original Android Development] agdroubi:
Can i update from your old recovery to the new one through twrp?
[K3 Note Original Android Development] daniel_hk:
You are right! I upgraded the combo driver and haven't tested the gps. I forgot to change the Kconfig... Sorry. :o

I think its better to have a new build so I'm rebuilding now. I'll replace the file in AFH shortly. Please check again in an hour or two.

Thanks for your report. ;)

I think you want to update the old TWRP to my new TWRP, right?

Yes you can.

Edit: The rebuilt CR-5.1 is out now. Sorry for the trouble caused... ;)
[K3 Note Original Android Development] ziad shawki:
Thank you bro for all what you do for the k3 note but can you take a look in hotspot

And please can you try building aokp/dirty unicorn its a good rom ;)

Build it In your free time :victory:
[K3 Note Original Android Development] olgutza34:
[MENTION=4948627]daniel_hk[/MENTION]

Yesterday when dirty flashed over 2nd of June Carbon ROM I have lost Google services, my login was simply ignored. I had to erase everything and perform a clean install. Can you release only GPS patch, flashable from TWRP? I am affraid to mess up again Google services if I dirty flash it, only for GPS services.
[K3 Note Original Android Development] trixter127:
If you want your apps just wipe cache,dalvik and system ( not Data ) then flash Rom and Gapps again because Gapps are stored in /system/app and will be wiped
[K3 Note Original Android Development] varadinum:
Hi!

The new TWRP does not work properly(3.1.0,3.1.1,3.1.1-1) Backup and rom flashing is fine.

Restore does not work.System restore is OK Restore not OK.

Is there a functioning TWRP?Or can one restore via PC?
[K3 Note Original Android Development] agdroubi:
Can I dirty flash over 2nd june build with only wiping cache and dalvik?
[K3 Note Original Android Development] olgutza34:
you can, but there is a high chance to crash Google services, meaning authentication process get into an endless loop, not taking your login.
[K3 Note Original Android Development] agdroubi:
This usually doesn't happen on my other devices. Why are we facing this issue? [MENTION=4948627]daniel_hk[/MENTION]
[K3 Note Original Android Development] olgutza34:
not the slightest ideea why, even with a clean install gmail refuse to sync, altdough google account is set up and logged. I had to rely on yahoo mail app to log into gmail... really weird...
[K3 Note Original Android Development] daniel_hk:
I had asked you to check the recovery.log before. Same here. You know how to capture screenshot in TWRP, that means you are not a beginner. Why don't you attach the recovery.log which can clear things up. I guess you have a corrupted /data partition. You have to format/wipe the internal storage. This would destroy the content of the internal sdcard so you need to backup your data first.

I use restore and backup regularly, sometimes a few times a day. I'm sure most (I would said all) of the TWRP available would work.

[MENTION=8289349]trixter127[/MENTION] already kindly enough to tell you how. I don't know why you said that.

I do it all the time. A dirty flash mean you don't need to wipe data. It doesn't mean you don't need to flash Gapps (and SuperSU). Flash a ROM would overwrite the /system partition where gapps are located. Flash a ROM would also replace the /boot partition where SuperSU had made patches. Clearly you need to re-flash them.

You can't spread false info. because you do it in a wrong way. And someone already told you why. ;)

If you have experience in other devices, you should know what a dirty flash is.
[K3 Note Original Android Development] agdroubi:
Maybe i am new to carbon but in lineage i usually flash a build without gapps and also on official lineage updater only the rom is downloaded. But thanks anyway.
[K3 Note Original Android Development] askermk2000:
Hello daniel_hk

These roms look nice. I would like to port one to my phone.

I have the Lenovo S8 A7600, this phone is nearly identical to the K3 Note. Differences are screen: 720x1280 storage: 8gb cpu: MT6752M. Highest official rom: LP 5.1

This I think is the only difference.

I'm not experienced with porting, but was thinking of following the guide in development section by sandeep.sethi.

Do you think it's doable/easy? or any advice?

BTW, my phone as virtually 0 community support. There's a Russian thread on 4pda with a few ported roms here and there, but they all seem to suck and have various problems. Not to mention security concerns.

I am really regretting not buying the K3 Note instead, they where about the same price when I bought mine but I was thinking the lower resolution screen would be better for battery life :(
[K3 Note Original Android Development] daniel_hk:
20170616 LineageOS-14.1 Android-7.1.2_r17 (NJH47B) is out

This is the latest LineageOS-14.1 I promised earlier. As before, there is a version upgrade to 7.1.2_r17 so I build another one.

All patches/fixes are included so I would say it's more or less stable. ;)

- Sync to the latest source an hour ago.

- Latest security patches (June 5)

Cheers!

For those interested,

I tested the new COMOB driver from 3.18.x kernel earlier. Our wmt_loader is different from the other MTK devices. I have patched a few thing to make it work but seems not much to go further.

I'll study the touch screen driver this weekend. See what make Lenovo so "special". Hoping to by pass a few things which were hidden inside the proprietary Apks. :laugh:

[MENTION=6814590]askermk2000[/MENTION], just received your post before pressing the send.

So I add one more line.

Good luck! :D
[K3 Note Original Android Development] jomypjose:
I am very excited :laugh:
[K3 Note Original Android Development] agajbhe:
Flashlight goes off after screen gets locked
[K3 Note Original Android Development] :
This question has been answered before.. Use the search. Anyways I think it goes off(probably in your case) due to doze mode. The best option would be to use an app that keeps the torch on and prevents the screen from sleeping.
[K3 Note Original Android Development] bansuk5:
I cant seem to find build 16/6/2017 ), help
[K3 Note Original Android Development] daniel_hk:
I don't know why you bring it up, with a single line, again.

1. I don't know why this is a problem in the first place. And yet, I have tested and answered a few times.

2. I don't have the problem you said. My flash light won't off after screen off.

Yeah, I only tested it for 1 min. or 2 after screen off. I see no point to test it over an hour, right?

I just don't have all the time to entertain everyone's need, sorry... :(

For a basic report, you need to address at least

which ROM?

which version?

describe in detail when and what.

These kind of things might be caused by other apps. You need to try it right after install the ROM and nothing else first.

Frankly, there are people just want to post for publicity or starting a conversation. They haven't really tested or tried. Things like that, you better use another phone to video what you have mentioned. I can do the same if you want. But, since you bring it up, you give me the proof first, right? :D

Dude, this would be the late chance I give you. Don't just leave a line without detail on my thread again. I don't want to put you on my blacklist... ;)

Bro, 616 is a LineageOS not Carbon... :D
[K3 Note Original Android Development] bansuk5:
Lolol :laugh: :silly: dint bother to read the whole op thanks [MENTION=4948627]daniel_hk[/MENTION]
[K3 Note Original Android Development] Cpt.mactavish:
:( :( I wish you fixed hotspot bug(connecting at first time...you know) in latest lineage build [MENTION=4948627]daniel_hk[/MENTION]
[K3 Note Original Android Development] q26000:
Thanks daniel_hk so much, I am very appreciate your working on k3 note also you can fix the GPS+BEIDOU+GLONASS issue.

THanks~
[K3 Note Original Android Development] mugik04:
AudioFX crash,But this is not a problem, I do not use it-los 16.06
[K3 Note Original Android Development] mugik04:
Power profile

daniel_hk

Can it include and edit
[K3 Note Original Android Development] juliosoft:
toggle to disable sim

Could you fix disabling SIM?

They have been able to fix it in a Jiayu S3. Thamk you very much.

https://xdaforums.com/jiayu-s3/development/rom-unofficial-aosp-n-jiayu-s3-t3451923

Q: Does the ROM features disabling SIMs , On Settings SIM Options?

A: YES, we've now merged our own implementation (adapted for N)
[K3 Note Original Android Development] Cpt.mactavish:
Flashlight bug.....

ROM-Lineage is

Version: latest 16th build

I'm too facing this too

Did as you said ...proof-

https://mega.nz/#!FB8TlTZD!uKGwBF1B9PoSnhDTRKruDllLZHRdEKUev3Nj2O01V5I

Installed apps-internet speed meter,telegram,google drive,shareit,XDA app that's all

NB-to recreate this situation...make sure your phone is unplugged from charging cable..flashlight will turn off within 20sec or more

[MENTION=4948627]daniel_hk[/MENTION]
[K3 Note Original Android Development] askermk2000:
Thanks, but no luck.

I tried to mishmash your and Rohan Taneja's (A7000) Lineage ports together, since my phone basically is comprised of parts from both.

Ended up in a bootloop.

Somehow I concluded that the A7000 rom would be the best base, so I used that and put in various parts from K3.

Since my A7600 rom is LP 5.0.2 I thought I could not use any of that, but I used the kernel. My guess was I could not use K3 or A7000 kernel.

One interesting thing to note is that S8 A7600 (Golden Warrior) as the same code name as K3, aio_otfp. So maybe the K3 would be the better base rom to use.

Do you think it would be possible to build a A7600 MM 6 or Nougat 7 kernel from the released sources for K3 and A7000 ?

I'm sorry if this is too much of topic, maybe I'll me a new thread if you think it is at all possible.

Regards
[K3 Note Original Android Development] Cpt.mactavish:
:cyclops: thanks for your reply....I thought ,you wanted proof..in your previous post... and I was on your latest build...so.. I gave it to you....as you wanted.....that's all....nothing else :)

got nothing to say..... ☺

thanks for your rom... really appreciate it:cyclops:
[K3 Note Original Android Development] olgutza34:
[MENTION=4948627]daniel_hk[/MENTION]

unfortunately fx audio error is present in 16th of june Lineage release. Went through a complete cleanup, including internal storage. It does have no impact, just message popping out on screen from time to time, even though audio work fine.

Also, in Apps there is Audio FX app but is system enabled, I cannot do anything against it.

It may be also TWRP fault, for I am using for last 6 months 3.0.2.6 dennisPDA version. Will try to make some screen capture and post them.
[K3 Note Original Android Development] olgutza34:
here's the proof I was talking about
[K3 Note Original Android Development] bansuk5:
Ppl he's doing all this for free, no one is paying him so stop your bull**** and give the man some credit, he has done what no one can do, rebuild the complete source from scratch, so please stop nagging him, if your not satisfied then get a new phone. Peace :victory:
[K3 Note Original Android Development] olgutza34:
you got it wrong, daniel has all my respect for what he does. Anyway, froze audiofx and so far all goes fine, no buggy messages, and audio still working.
[K3 Note Original Android Development] mugik04:
daniel_hk

I gave the files to be used in the firmware-and then appears in the settings menu

Zormak(A7010),GSandeep&4pda Use this for adjustment in rr5.8.3-in los work-Verified

AudioFX Is in the system / app
[K3 Note Original Android Development] :
Thread cleaned up.

Please be respectful towards the developer and appreciate him for his hardwork. No need to use foul language.

Regards

Vatsal,

Forum Moderator.
[K3 Note Original Android Development] daniel_hk:
Kernel touchscreen driver

I studied the kernel touchscreen driver last weekend. I found a few manuals and the datasheet. There were a lot of bandages from Lenovo. After a lot of clean up, I managed to understand a few things now.

I built a new kernel and tested for a day. Everything seems working good. It would work for all my ROMs or others.

In this build:

1. Native gesture support for the GT9157 chip is enabled

2. Keep the Lenovo support untouched.

3. Enable the low power mode at suspend. In this mode, on 20-25% of power consumed so it would be better for battery.

4. Native suspend already handled pocket mode so gesture support would disable automatically.

5. Native DT2W is enabled. In addition to the screen tapping, double tap the home key also wakeup.

Download: AndroidFileHost file: DC-MTK-NG-kernel-20170620-aio_otfp.zip

Flash this in recovery will update the kernel binary. Root and everything would be preserved. Cheers! :D

I'll write a new interface which can provide more gesture support options. ;)
[K3 Note Original Android Development] askermk2000:
Awesome daniel :good:

Don't forget to update on github :angel:
[K3 Note Original Android Development] bansuk5:
Many many thanks bro :fingers-crossed: :svetius:

After 1 hour i can say that touch response has majorly improved, as well as touch feedback, its much faster now, thanks for the added dt2w and home key , its a great addon, and for battery backup wil test for a day altleast
[K3 Note Original Android Development] Tarish Ahmed B:
Stuck at installing Lineage 14.1 20170616 rom

any solution , im using twrp version 3.0.0.3
[K3 Note Original Android Development] bansuk5:
Q. Is usb tetering working for everyone here , for me option cannot be enabled
[K3 Note Original Android Development] agdroubi:
Miracast is not working, it connects then the phone freezes requiring battery removal.
[K3 Note Original Android Development] trixter127:
What should I say it's what I have been asking over and over.Now it's here :cowboy:

Thank you very much [MENTION=4948627]daniel_hk[/MENTION] Love your work ?
[K3 Note Original Android Development] smittywerber:
Hey daniel, thanks for your work on this phone! You're awesome and we're glad that such a talented dev is keeping the K3 alive with new recoveries, kernels, and roms.

In the official lenovo Marshmallow rom, one could turn the phone off and it would automatically wake up if an alarm was set, for example. This is no longer possible in Nougat roms, it seems. Would it possible to re-enable this feature? I guess it's because of the different kernels, right? Also, Is there a way to disable DT2W on your newest kernel?
[K3 Note Original Android Development] olgutza34:
Great work, daniel_hk, after 36 hours of using this new kernel I have not spotted any bug. Nothing unrelated to touch sensitivity has been impacted after flash. DT2W works better than original Lenovo implementation. It is even working with this feature off :).

The only thing is that the screen randomly power on in my pocket, just pocket sleeve is thin and my leg act like a thumb from time to time. Have to insert the phone with screen facing outside :p :p or to use a carrying bag...
[K3 Note Original Android Development] daniel_hk:
Don't just put your question in the title. It would not be shown when using a phone to read.

I don't know what you meant by suck at flashing. You have to specify, what were you steps, what message appear, etc.

Providing the recovery.log is always the best for everyone to understand.

It is usually not TWRP related.

You have to plug in the USB cable to enable this option's settings.

That was not just a kernel feature. My kernel also work on the stock ROM with this feature.

I had studied it for a while in the early stage. Actually, this is an Android feature. Stock ROM use the MTK approach. It requires to modify the platform quite a lot. Up to this moment, I can't think of a better way without too much sacrifice.

The theory is simple. The phone is not really turned off. It just put the phone in a quiet state when you power off. It is still running. That's why it involve the platform to handle power off differently.

As I mentioned in the post, I'm working on a new interface which would include the on/off/settings of gesture supports.
[K3 Note Original Android Development] yogi saka:
how to use the system file to fix camera,mic and other bug ?
[K3 Note Original Android Development] BWAS1000:
I had the same SIM issue last time I flashed this ROM as well. I flashed the Modem fix and it still didn't work, so I flashed an AOSP build of 7.1 and that worked fine
[K3 Note Original Android Development] dmitriy0909:
Why you dont whant take ril from aosp k 3 note 7.1 beta on 4pda to this firmware? Or it not posible?
[K3 Note Original Android Development] ezhome2046:
developer daniel_hk told us if ur previous rom (modem works for ur region country) u r using,

wipe everything except system. did u follow the rule then flash daniel_hk's rom?
[K3 Note Original Android Development] ezhome2046:
reboot device modem work voice call work.

saved ssid home wifi cant detect nor connect.

bt to btspk sound some weird n load a bit longer to hear song.

fatal bugs menu button can not open menu under apps like titanium....., no way to set and correct.

soft press and long press also fail to open the app menu.

oh daneil_hk, plz fix that bugs. thanks a lot.

---------- Post added at 11:12 AM ---------- Previous post was at 10:52 AM ----------

tested mtp not work for pc, except ptp.

otg works.

compass works. gps use ygps can positioning satelltes. but not work on AndroiTS GPS test pro v1.46.
[K3 Note Original Android Development] daniel_hk:
About SIM, I had looked into it for some time. The modems you guys provided can directly replace the one I'm using and work flawless with my 3 SIMs. I'm using the one from S433 now. It's months newer.

I also looked into the source from MTK. They have a lot of changes in the telephony and telecom service. However, their codes are 2 generations back. To make it work, it might require to revert the code in Nougat. That's not a solution to me. Even if I want to try, there is no way for me to test. MTK will update their source one way or another. I would let someone wiser and have that kind of SIM doing their magic.

When I switched to 4G plan, my old SIM doesn't work. I went to the the local provider to replace one. I had replaced both of the SIM and it's free. Those who got an old SIM, I suggest you replace it at your local carrier provider. This is the best way. Even if they charge you, it's a matter of a few dollars and you'll get an new version SIM.

PS. For those asked me testing and replacing blobs. Please read my thread. You would know why. It's not my objective nor my expertise to trial and error. If you know how, just do it yourself and share. If you don't and you think that's the best way, there are also experts you may ask. I'm definitely not one. Therefore I have no choice but ignore it... ;)
[K3 Note Original Android Development] theo546:
Hello,

i see in Known Issues

"- Mic only work on calls"

and in the fix:

"- AudioRecording:Fix audio recording"

the audio work in every app? thanks for answer :laugh:
[K3 Note Original Android Development] dmitriy0909:
Thanks for answer bro, will try it)
[K3 Note Original Android Development] ezhome2046:
anybody work to flash LineageOS-14.1? i use twrp 3.0.0-2couco92, and twrp 3.0.2-7.

wipe only data and cache, but flashing stuck on and never finish.

so wipe all clean flash but also stuck on flashing period. i flash again without wipe anything but also stuck on flashing.

any help n know how fix

how n how anybody know?
[K3 Note Original Android Development] :
It works in every app

---------- Post added at 11:03 AM ---------- Previous post was at 10:22 AM ----------

I use 3.0.2-7 twrp. I flashed without any problem. Wipe /system, /data, /cache and install.
[K3 Note Original Android Development] ezhome2046:
sir what is your prev rom? android 6 or aosp 7.1 or aosp 7.1.1 ?

does it take a long time to flash the new rom?

thanks for your reply.
[K3 Note Original Android Development] :
My previous ROM was aosp 7.1.1 (01.04) from bbs.ydss. It takes around 2 mins to flash.
[K3 Note Original Android Development] Gorka15:
[MENTION=550003]Danielhk[/MENTION] do you think it is stable enough for daily use if sim card work? Apart from that thank you for the work you have made to create this rom
[K3 Note Original Android Development] daniel_hk:
Well, that's a subjective question. If you say system stability, I would say yes. But, I only work on K3-Note for 2 months. There are still some minor issues.

I was told that contacts can't imported from SIM. I use cloud to sync contacts for years and I haven't done that since then. I think it may be fixed but It would be at the bottom of my list.

Things like FM radio which I expected many people would already had solution but no. Like most of the issues, it might be Nougat related.

Some people don't know how to bring up the menu and think its a "bug". There is no manual for CM and other custom ROMs but the official sites are usually quite helpful.

These kind of thing can bother someone. But, it might be fun for the others who like to explore.

Still need to work on issues like WiFi hotspot and 5G, etc.

So I honestly can't answer your question. If you don't have time to try, just wait.
[K3 Note Original Android Development] Gorka15:
Thank you, I will try it
[K3 Note Original Android Development] ziad shawki:
Hi daniel_HK

After falashing lineage os 14.1 and flashing the modem patch of simcard for lenovo a7000 plus the simcards still not detected and I don't know how to fix it

Thanks for your work
[K3 Note Original Android Development] ezhome2046:
thx a lot. i also flashed ur mention 04.01 rom, but also failed. twrp3.0.0-2couco92,twrp3.0.2-7 non of them worked. i wiped delvik/cache and data only each test.

very tired to try.

my device is k3 note k50-t5.

anyway, thx for ur reply.:eek:
[K3 Note Original Android Development] daniel_hk:
I don't think you have read my thread and post#46. At least not finish reading. I can see you had tried with some screen shots. I encourage that so I give you a reply.

I never ask anyone to flash any modem patch and I don't think it would help.

If you or anyone really want to try, I can help you to dig deeper. See if there is any extra info.

Use a root browser to edit the build.prop

change the line
persist.ril.log=0
to
persist.ril.log=1

After that reboot and get the complete log with logcat via adb. Wait for a while after the system boot completely. Send me the log.

Good luck!