yashsingh1/xdaforums huggingface dataset:
[K3 Note Original Android Development] agajbhe:
How to change kernel in latest build of lineage os..??
[K3 Note Original Android Development] trixter127:
I'm visiting this thread daily because I can see any updates on Android O by [MENTION=4948627]daniel_hk[/MENTION] but I'm seeing people posting questions that can easily be solved just by some simple googling

I know Xda is for helping and solving each others problems,but still.... How to flash a Rom ? How to change Kernel ?

Guys I'm not blaming you for asking just read the description for the thread and a few previous posts before posting the same question again and again
[K3 Note Original Android Development] robbayani:
hii all.. i hope not wrong place to posting..

i just want ask is TWRP & any custom rom for K3 Note is same/can used on Lenovo A7000 Plus??

my friend phone is A7000 Plus, and he order me to install TWRP and custom rom on his phone..

i can't find any treat about A7000 Plus, but someone tell me if K3 Note and A7000 Plus is same/identicall.. that true??
[K3 Note Original Android Development] Gethro991:
About camera problem. I will try to install some other camera then.

Btw,

I installed only AFH Lineage OS file that daniel_hk posted on 1th page.
[K3 Note Original Android Development] agajbhe:
It goes into boot loop there i posted this question during flashing this rom the stock kernel need to be backup with super su but when i install any kernel i goes into boot loop...
[K3 Note Original Android Development] olgutza34:
A7000+ is K3 Note for indian market, basicaly the same phone

---------- Post added at 12:24 PM ---------- Previous post was at 12:19 PM ----------

flashing a new kernel means removing supersu, try to flash also supesu after kernel. By the way, I haven't seen anything wrong on the kernel used in daniel_hk builds. Why changing it? better battery life? try to live without google package, it will be far better battery life. Tried, liked, but unfortunately i am working intensively with google drive, so... had to flash google apps package :mad:
[K3 Note Original Android Development] robbayani:
ouww.. thankz for u'r explanation mate..
[K3 Note Original Android Development] LLoTE:
Magisk is better don't know why everyone likes supersu so much
[K3 Note Original Android Development] olgutza34:
maybe 'cause I managed once to bootloop my phone with a magisk module...
[K3 Note Original Android Development] trixter127:
I feel the same,magisk looks cool than SuperSU with the hide features and all but everyone likes and suggests SuperSU
[K3 Note Original Android Development] tanish2k09:
Well chainfire is also a very well established developer and he has superSU up much before magisk existed.

People got confortable using it and probably don't want to change. It's entirely their choice however.

Chainfire also did have important contributions to magiskSU. So basically chainfire's work with dm-verity and all that was very famous. SuperSU became the most famous su for LP and MM. Since then, it has been considered hugely by people.

There are people who just find magisk "too complex" for their use ( maybe because of extra modules, so many settings and all ). All they want is root access which superSU definitely gives them with very basic configuration.

There is however no doubt that magisk handles root access and hides very well.

// Oh! And also, you can compare the icons. Magisk icon is much cooler than a simple hash of superSU
[K3 Note Original Android Development] trixter127:
That's a very nice explanation
[K3 Note Original Android Development] daniel_hk:
This is not a contest, at least not to me. Being the first is not necessarily a good thing. I just want to build something for my personal use. It helps me learning things that I'm interested in. Therefore I'm not eager searching for solutions and features on the web. I would like to study first. To me, knowing why and how is more important than making something work.

At first, I think it seemed no harm to share and detail my findings would be interesting. It's out of my imagination that some people would think it become my responsibility. Even ridiculous was blaming me when they can't make things work. So from now on, I don't think it's wise to spend too much time on explanations.

Earlier this week, I decided to start building the OPR6 (8.0.0_r4) before bed. After a few minor fixes, it took me over 8 hours for a clean build! (it was 4+ hours for N and 6+ for o-preview). O-previews only have the source for BT, WiFi and RIL. Other parts are mostly from earlier versions. As expected, there are great differences in the release version. The first build didn't even reach bootanimation... :cyclops:

All HAL's are adopted to the interface/service approach now. HWcomposer, gatekeeper, context_hub, keystore, etc. were all crashed! Had to put RIL aside and started all over. Some graphic blobs are no longer working and needed to rebuild (or adding tens more shims). We don't have blobs for most of the securities so the interface and/or JNI needed patches. It's not difficult but time consuming to locate the positions for everyone of them.

After all those, the boot animation was shown but still in boot loop. There are major issues arose for sensors, audio and camera.

Here is the current status for Oreo release 6 (OPR6)

1. HWComposer and grahics implementations are more or less fixed: I think it's working now.

2. Sensors: Only API 1.3 or above is supported now but MTK's version is 1.0 (1.1 for few newer devices). Need to rebuild or patches in services -- pending

3. Audio: "OUT" is 90% working, I can see "IN" must have problem (study later) -- pending

4. Codecs are using vndbinder and seems working now. not fully test yet.

5. Oreo use sdcardfs and the kernel is patched. Both internal and external SD are shown.

6. Gatekeeper, contexhub and keystore are patched so that it can boot up now.

7. Dealt with some missing symbols for Camera (Flash/Torch) and found a major issue -- pending

8. FM use broadcastradio service now -- study later

9. Light HAL is fixed but LED not tested. There are still some loosing ends -- pending

10. GPS use gnss service and something wrong in mnld (study later) -- pending

11. WiFi HAL was the key to make WiFi working in o-preview but the service failed to start after update to OPR6. Studying why now.

12. systemui crash after screen off... That is the very annoying situation. Seems navbar or statusbar related. :eek:

Other things like BT, and RIL are the same situation as O-preview.

So there are tons of work ahead now... :(

Anyway, it can boot up now and the new Oero look seems worth trying.. :D
[K3 Note Original Android Development] agajbhe:
Unable to disable double tap to wake up from performance control and even from kernel auditor app(there no such option to disable)...please tell me how to disable it...???
[K3 Note Original Android Development] Matrix7:
I dont have a 5ghz router,unfortunately i cant find a fix for that...It drops every 5-10 minutes and noone seems to know why,i tried flashing the ultimate kernel and disablig ipv6 without any differenve.So at least for me ,since i have tried every single nougat rom, mm seems to be the only solution.
[K3 Note Original Android Development] ctzof:
I am out of home at the moment so iam unable to test my router while disabling 5ghz. Up to now working with 2 different routers at 2.4 GHz no drop at all. You said you tried Aex rom and was ok. Did you have also problems with aex?
[K3 Note Original Android Development] Matrix7:
Yes,it was fine for a couple of days and then it started loosing connection again...Im positive its not my router as i never had problems with mm.I have read a lot of people facing the same issue,its hit and miss as far i can tell
[K3 Note Original Android Development] aswinp222:
am not sure if it wors in this case,however just try it

go to

root folder->sys->android_touch->doubletap2wake->change the value from 1 to 0 using any editor.

2t2w will be disabled till your next reboot :highfive:
[K3 Note Original Android Development] Snizzl3:
I can confirm that too and i also have this problem with every WiFi. 2,4/5GHz makes no difference . Really great ROM, but this is a little show stopper :(
[K3 Note Original Android Development] c69k:
The same here, WIFI drops from time to time, also during intensive browsing, any router, both 2,4/5 GHZ. However I am very happy with this ROM ( [ROM][7.1.2_r29][20Aug2017 LineageOS 14.1] ). The WIFI is the only problem.
[K3 Note Original Android Development] 081294:
4g stops working

i rooted my device after that i flashed AIM rom but it shows an error " finding MD5 file- MD% file missing , then skipping md 5 file

and after installing the rom i am unable to use google apps , even i am not able to login in the device, play store is not working , play services not working , even i installed the gapes , "it always shows me the message you already installed gmail on this devive "

even i am unable to formate my mobile

4g stops working it shws me the message "LTE network is not available suggest to change the 4g sim card
[K3 Note Original Android Development] olgutza34:
first of all, how did you flash it? using sp flash tools or TWRP? if it is second option, what version? Third, have you dirty flashed (that would explain 90% of your errors)? and fourth, this is LineageOS, SlimRom and CarbonROM thread, i have no background about AIM Rom. Be more explicit, if you need help.
[K3 Note Original Android Development] pavincruz:
Wow Daniel , u r a legend man..just hardworking guy, knowledge and hardworking makes peoples legends
[K3 Note Original Android Development] LLoTE:
Well that's either poor choice of module because every module isn't compatible with evey phone or poor installation method
[K3 Note Original Android Development] geek135:
that folder is missing
[K3 Note Original Android Development] geek135:
unable to flash custom kernels
[K3 Note Original Android Development] lazy007:
Hi Daniel

No any new news about your awesome work on android O :D
[K3 Note Original Android Development] daniel_hk:
20170910 CarbonROM CR-5.1 update & Oreo status

The latest CarbonROM CR-5.1 is out. This is a monthy update

- Android 7.1.2_r29 (NJH47F)

- keep up with the latest Carbon source

Oreo status

As LOS-15.0 is out, I started the first build last weekend. Everything is more or less the same as AOSP and its 8.0.0_r3.

After a series of minor patches/fixes, its out and seems more stable. Therefore I switched to LOS-15.0.

Finally figure out most of the interfaces this weekend.

1. Switch to LOS-15.0. Most of the CM/LOS features are not yet implemented but its a bit more than AOSP.

2. Sensors: Although MTK HAL is still at API1.0, batch is already handled. After some minor patches, Sensors are working now.

3. Audio: Out is OK. The new platform use different work flow. Need to trace how it can support legacy HAL.

I used a different approach to load the old stream in callbacks. Crashing stop but audio recording still not working -- pending

4. Codecs are all loaded correctly as before but video payback is still not working. Seems security related -- pending

5. Wifi is 90% working as o-preview now. Hotspot and p2p are working but still no clue on hidden ssid.

6. GPS crash at apgsril. It requires the Agps which depends on the APN requests (mcc, mnc, etc.)... so RIL related.

7. Camera crash at preview but Flash/Torch (which not required preview) is working now.

Seems native handle and HAL1 gralloc related -- let LOS finish the HAL1 port first

8. Broadcastradio service is working after a minor patch. FM radio is working now

9. Light HAL is fixed but LED not tested

10. It can be rooted with systemless SuperSU-2.82

It's more or less back to the same situation as O-preview. Time to return to the almost forgotten RIL...
[K3 Note Original Android Development] tanish2k09:
Too good work to be appreciated in words.
[K3 Note Original Android Development] AryanAA:
Will the latest oreo build(whenever it comes out) support project treble?
[K3 Note Original Android Development] Cpt.mactavish:
project treble will require support from chip vendor.... so it's not for us...maybe not even for mtk...there's a post in xda(use xda app)..you can check that out...that explains everything about treble
[K3 Note Original Android Development] AryanAA:
Just read that.. Chances for older mtk devices like the k3 note receiving treble support look quite bleak. Looks like will have to live without it. :)
[K3 Note Original Android Development] Cpt.mactavish:
no mtk may get that??
[K3 Note Original Android Development] xxscarface:
Hi, big thanks for this amazing build.

I found one big bug with the german TTS System of your builds (also in lineage-14.1-20170430-UNOFFICIAL-aio_otfp.zip) :

German and English TTS output sounds like a Roboter-Snake :)

I have one more Problem, but i don't know if its related to the Rom:

I can't find the option "double tap to awake" with build 7.1.2 r29, Can anyone help me with it ?

Greetings
[K3 Note Original Android Development] mario2382:
Hi Daniel, first thank you very much for these beautiful roms. I've almost tried them all and they are very good and stable, now using Carbon daily.

I've some problems with all the last three releases of Lineage OS after installing phone doesn't boot, stays on lenovo screen. I've tried twrp 3.0.2.7, 3.1.1.1 and 3.1.1.3 but had the same results. If you have time please be so kind to tell me what else can i try. Thank you!
[K3 Note Original Android Development] trixter127:
Try installing SuperSU or magisk after the ROM and gapps
[K3 Note Original Android Development] mario2382:
Resolved

Thank you very very much it worked :D !!!
[K3 Note Original Android Development] lazy007:
There's a app called (performance controll) by the developer theres a section called media tech settings u will find all wake features there
[K3 Note Original Android Development] ctzof:
As promised I disabled 5 GHz in my router and there is no drop at all for two days now. Personally I think the problem has to do with the Wi-Fi protocol. See my router while using 5 GHz uses 802.11ac while our phone supports only 802.11b/g/n so it seems to be hardware related and not ROM related problem. Hope the rest of you guys be able to solve the problem also by disabling 5Ghz on your router and keep using this great ROM.
[K3 Note Original Android Development] Aresmo:
"Wifi autoconnect doesn't work"

To everybody who is having problems with Wifi autoreconnect (Wifi turns off when screen is turned off and does not reconnect).

If changing the Wifi Settings didn't work, here's one solution I found yesterday:

If you have "Privacy Guard" enabled, try disabling this Guard for your current launcher (I'm using Google's Pixel Launcher).

If that does not work, try disabling the whole Guard. You'll have to wait about 12 hours until you can see whether it's working or not.

Best regards and keep up the good work!
[K3 Note Original Android Development] holyland:
not being able to receive calls after a while

If I leave the phone for some time, phone stops being able to receive calls. Anyone who calls will say my phone is not responding.

It's not the network as wife is on the same and never had issues. Also tried nokia phone and can receive fine.

I'm on:

2017/7/29 - LineageOS-14.1

- The latest LineageOS-14.1 source, Android-7.1.2_r24 (NJH47D)
[K3 Note Original Android Development] holyland:
ok just flashed

2017/9/9 - CarbonRom CR-5.1

Same issue, phone still struggle to connect to the network to get data or receive calls.

In settings->more->mobile networks -> preferred network type -> no radio button is selected initially.

If I change it to 4G, the phone cannot receive calls

If I change it to 3G, after selecting the radio option, it wont change once clicking ok.

I can change to 4G or 2G but can never change to 3G.

I can reset the phone network and it will intialise to 3G
[K3 Note Original Android Development] olgutza34:
weird behaviour you experience, I never had similar issues on Lineage or Carbon, only in some weak indian ROM versions. It may be related to a different modem hardware. Try to flash as near as a stock VibeUI and keep an eye on it. If behave the same, then you have a modem issue
[K3 Note Original Android Development] trixter127:
I used the latest Carbon Rom for 2 days and I'm on lineage now.I never any faced issues in Recieving Calls .Only issue I ever faced is minor proximity issue at the end of the calls .

And regarding that network type selection ,the priority is given to the Sim you use for Data .As we can't use 4G on big networks, If you select 4G on your data sim then other sim will only have choice of 3G or 2G.If you select 4G on your non-data sim then first select 2G or 3G on your data Sim and then choose 4G on your non-data sim other wise you can't select 4G on your non-data sim directly .
[K3 Note Original Android Development] drakula1000:
I faced only issue with led notifications (missed phone calls and notifications from some other apps are not accompanied with led notifications). Everything else in Carbon ROM works as it should.
[K3 Note Original Android Development] Costa001:
Daniel

You are doing great.
[K3 Note Original Android Development] multimedias:
Any working version of Xposed + Magisk for this rom ? I already try xposed-v87.3-sdk25-topjohnwu + Magisk 14.00 + XposedInstaller_by_dvdandroid_09_09_17 but get only bootloop
[K3 Note Original Android Development] amit_m3:
Try to flash SuperSu v2.82 + 26-07-17-xposed-v87-sdk25-Xposed-by-PurifyOS + XposedInstaller_by_dvdandroid_27_07_17

It working fine with my device.
[K3 Note Original Android Development] rahul199143:
Hi Daniel,

Can you please make an executable zip to flash in Vibesavon MM rom to enable 5G wifi?? Thanks in advance
[K3 Note Original Android Development] DenisPDA:
Enable support for Lenovo K3 Note WIFI 5 GHz on a permanent basis

4pda .ru/forum/index.php?showtopic=733342&st=880#entry48185656
[K3 Note Original Android Development] holyland:
---------- Post added at 02:52 AM ---------- Previous post was at 02:51 AM ----------

[/COLOR]

I switched back to my very old CM12.1 rom and call receive is receiving fine. I am not 100% if this is a combination of the phone's supported bands/software/carrier related, but this is just to receive calls.....

I can set my phone to LTE or 3G preferred via the radio button and the settings get saved without problems...

My phone is K50-T5

Update: OK, I seem to be able to fix my own call receiving issue by:

- overwriting my entire folder with sandeep's modems

https://xdaforums.com/k3-note/general/fix-3g-4g-fix-k3-note-t3415579

- the radio button still cannot be set to 3g, but i just leave it as 4g auto and my phone seems to permanently display (LTE) and doesnt have call issues

- had issues flashing sandeep's zip file with daniel's twrp. Had to install file explorer and delete and overwrite the whole directory

- output baseband - ADEV79.SANDEEP, 2016/06/04 15:31

- i would try to vibeui if I have more time, basically sunk my weekend doing trial and error

Update 2

Spoke too soon, had issue when android 7 goes into doze, ie after screen off for a while and doesnt receive calls. Even when I wake screen it doesnt receive call after screen off for a while.

Literally call 100x and it works while I'm still playing with it (ie disable wifi / re-enable works fine with new modem).

Next to try VIBEUI_V3.1_1622_5.440.1_ST_K50-T5_WC6B265104.zip + back to CM 12 again

Update 3

Took a long time but got official K50-t5 VIBEUI (as above) working and can finally received call.

I still think it's Doze / android 7 related, since i tried a different modem on carbon nogout and still had issues. I thought the lineage/cabon rom support k50-t5?

Things for me to work out:

- k50-t5 hardware is exactly the same as k50a40, including the modem?

- android 7 doze affects k3 note's modem? I tried ROW / india still had issues
[K3 Note Original Android Development] Costa001:
Please add colour calibration in your Carbon rom.
[K3 Note Original Android Development] LLoTE:
If you're trying vibeui either try vibe pure or vibe savon
[K3 Note Original Android Development] Gana75699:
Hi Daniel sir thanks for working on android o for k3 note but I have seen mascot which is similar to volte in lineage os website
[K3 Note Original Android Development] aishik212:
are you going to release it after it gets completed?
[K3 Note Original Android Development] lazy007:
Is theres any new thing about O situation daniel_hk?
[K3 Note Original Android Development] user43253621:
I had the 2017/4/30 release of LineageOS 14.1 running without problems. Few days ago I updated to the newest (2017/8/20) release. Now, I'm experiencing connection loss during every phone call within a few seconds.

Does anybody experience something like that? Is there a remedy to this problem?
[K3 Note Original Android Development] olgutza34:
most likely because of dirty flash. best aproach is to wipe everything, except internal storage and update TWRP to last version. If this doesn't suit you, at least clear cache and dalvik/art cache and check if you still have issues.
[K3 Note Original Android Development] dashlicious:
in the latest lineage os, the flashlight wont sync when i take a picture :(, in a black room, don't see anything in the picture.
[K3 Note Original Android Development] :
Android O has any chance of out on k3 note ?

I do not think so..
[K3 Note Original Android Development] olgutza34:
are you usually posting without reading? just few posts back daniel_hk informed about Android O personal developpment. Oficially, developpment for Lenovo K3 Note stopped at 6.0.1. Thanks to hard working guys like daniel_hk we have today 7.1.2.
[K3 Note Original Android Development] Costa001:
.

Daniel please add kcal to your carbon rom.
[K3 Note Original Android Development] delsoo:
The phone doesnt boot at all after installing this rom . What is the problem ? Tried different version of twrp 3.1.1 , 3.0.2.2 , 2.8.7 , all not working !!!!!!!!!!!!!
[K3 Note Original Android Development] olgutza34:
flash supersu right after LineageOS, otherwise get stuck in bootloop. flash latest 2.82 stable version of supersu
[K3 Note Original Android Development] delsoo:
How to flash supersu after lineage rom ? I stucked in bootloop , cant do anything after flashing the rom

---------- Post added at 10:07 PM ---------- Previous post was at 09:59 PM ----------

why need to flash supersu in this rom ? In RR rom , i didnt flash supersu , the device can boot normally
[K3 Note Original Android Development] olgutza34:
there is a performance module who stop kernel from booting if not find supersu access. After first boot you'll see, asking it for root access.

if you have checked this thread few pages back, you would had find answer for this issue
[K3 Note Original Android Development] delsoo:
I think i will revert back to RR rom . This ROM is very similar to RR rom . I think RR has more customistaion feature . Installing RR rom is much easier . I think the only advantage of this ROM is the ability to overclock the processor .
[K3 Note Original Android Development] olgutza34:
I have used in the past RR Rom but did not meet my request. Altdough is not a bad Rom, since April I am using LOS. Tried to revert to stock MM and did not believe how slow used to be...Also I am looking for latest security update, and LOS get a new one at every two releases.
[K3 Note Original Android Development] Dementorking:
Its Nothing Like That ...boot.img Of This Rom is Not packed properly. Thats why Its Not Booting up.

But When you Flash Supersu it will Repack Tha Boot.img properly.

So it Boots Up
[K3 Note Original Android Development] olgutza34:
you can try magisk if you don't like supersu, it can be hidden if you have pay apps on your phone
[K3 Note Original Android Development] delsoo:
If gt magisk , then no need to install supersu ?
[K3 Note Original Android Development] bansuk5:
Yes just install magisk and magisk maneger then