yashsingh1/xdaforums huggingface dataset:
[K3 Note Original Android Development] daniel_hk:
20170924 LineageOS 15.0 alpha test build

Finally, I have some breakthrough this weekend. :highfive:

With a cocktail of the methods I tried, I can have a reliable RIL connection now. There are still a few loose ends but good enough for an alpha test. Therefore, I uploaded my latest test build for those few fellow developers to study. I don't know if its the first ever Oreo for MTK devices but this is just an experiment. Still a long way to go but seems not impossible now, cheers! :D

For those interested, you may check the experimental folder : https://www.androidfilehost.com/?w=files&flid=131362

There are still major issues so it is not ready for normal use yet, it just pointless to report anything too. Those who have real idea are welcome but I can't accept any log no more. I just don't have enough time for myself, sorry. It's not just a few patches or fixes would make Oreo work or even boot. If you don't understand what I suggested or posted, you are not ready yet.

I was planning to build AOSP but the out folder grows rapidly after a few builds. (from 80G to over 160G easy!). A clean build take over 4 hours even with ccache. So I would triple check in every attempt to avoid another build. I just can't have more than two Oreo inside my 500G partition without regularly removing the temp files...

Anyway, the current status is:

1. Audio IN/OUT is working.

2. GPS is working.

3. Power off charging is working. (With the CM/LOS charging images)

4. Wifi is working (may be 90%) but hidden ssid is not supported.

5. Wifi hotspot is working.

6. All sensors are working.

7. LED is working. I only tested with missing calls.

8. FM radio is working.

9. Torch (Flash light) is working.

10. DT2W is not working but you may press the back key to wake up the screen. Don't know if its the new feature of Oreo...

And finally RIL, I would say its 80% working now.

Dual SIM are supported and both SIM can make/receive phone calls and can connect to data. But, SMS can only be sent not received. I was thinking its APN related but data is working now. It might be IMS related but still have no idea yet.

SIM settings only work with one SIM in the device. It crashes with dual SIMs presence. I think its a platform bug. There seems no dual SIM device with official Oreo yet so can't verify.

Other major issues (mostly platform related) are:

1. Bluetooth hci can't read(I think write too) from the port. Seems CLANG related. It's a tiny but fatal bug. It makes no sense to use the old libc. pending...

2. Camera can't connect to the frame buffer. I think it needs the HAL1 handling. Let LOS do the job first. pending...

3. All codecs are successfully loaded but video playback fail. Seems security issues or media player services. pending...

Oreo is still early. It might be time wasting to deal with those platform issues. At this stage there are still hardware related issues. There is a long holiday ahead. I would take a break and continue later... ;)
[K3 Note Original Android Development] LLoTE:
There's been a port to lenovo a6000 on android oreo maybe you can use that for info and stuff
[K3 Note Original Android Development] Ice_Blade:
[MENTION=4948627]daniel_hk[/MENTION] thanks so much for your efforts on Oreo, really appreciate your work!
[K3 Note Original Android Development] SeriniTY:
How about souce code? (Device tree, patches and etc)
[K3 Note Original Android Development] Ahmed.Rajib:
M.A.D team already booted Android oreo in mtk device with 3.18.x custom kernel. Anyway, great work. I hope so, you will release source as soon as possible
[K3 Note Original Android Development] trixter127:
[MENTION=4948627]daniel_hk[/MENTION] thanks for your awesome work again

Are gapps working(google account) in this ROM ? If yes , can you tell me which gapps to flash please .
[K3 Note Original Android Development] Ashwinrg:
https://www.androidfilehost.com/?fid=961840155545592807

You can try these gapps package.
[K3 Note Original Android Development] Nonta72:
Link to your sources please (device, vendor and kernel).

Congratulations! It's the first release (even though MAD team posted a screenshot of O on MT6737 platform few weeks back).
[K3 Note Original Android Development] trixter127:
Thanks ,I already tried flashing that package after my first boot but can't sign in to my Google account.Were you able to sign in to your Google account ? I thought Google accounts won't work as it still the alpha build . thanks anyways :)

It Fixed

It seems installing Play services latest apk for Android 8.0 after flashing that solves the problem with Google Account sign in .
[K3 Note Original Android Development] Ashwinrg:
I flashed lineage 15 and gapps for android Oreo and my android booted but setup wizard always stopped. I managed to connect to WiFi and it install qr reader and then after it stuck to black screen. So I revert back to my previous rom. I know this rom is in testing. I am not complaining about bugs. I am just sharing my experience.

Anyways thank you very much dev for working on lenovo k3 note. I really appreciate all of your efforts.
[K3 Note Original Android Development] trixter127:
After flashing Rom Boot into it and then Flash Gapps it works this way but donno why
[K3 Note Original Android Development] TheDarkKnight:
Did anyone get Oreo to work with Dual Boot Patcher?

Thanks
[K3 Note Original Android Development] DerTeufel1980:
But we didn't release it yet

Sent from my uhans h5000, running Android 8.0.0
[K3 Note Original Android Development] MrMasochist:
A6000 run on snapdragon chipset ...
[K3 Note Original Android Development] LLoTE:
Oh didn't know that

---------- Post added at 10:34 PM ---------- Previous post was at 10:34 PM ----------

How did you end up here
[K3 Note Original Android Development] DerTeufel1980:
There isn't much development on mtk platform... Wasn't too hard to find one of the few developers

Sent from my uhans h5000, running Android 8.0.0
[K3 Note Original Android Development] LLoTE:
Can you help me with something i have a question in kernel auditor the low memory killer is it better to give the apps less memory or more to have a smoother system
[K3 Note Original Android Development] drakula1000:
Guys,

can someone enlight me with a tip how to enable led notifications for missed phone calls on latest Carbon rom? Already tried to set up manually, no luck. For every other kind of notifications led light indicator works, but for missed phone calls it does not.

Thanks
[K3 Note Original Android Development] daniel_hk:
I was not feeling well but still need to work. It's pretty exhausted. I need a lot of water and rest to recover. Other than the unusual hot late September, WhatsApp was also blocked earlier. Most the VPN I used become unreliable. I can barely log into xda now. Syncing the sources is one of my big problem. I can only do it twice per month when visiting my mum. If anyone can provide a reliable VPN for me, it would be helpful. What can I say. Cherish what you have and don't take everything for granted. :)

Yeah, only few people would really know what's going on. Please advice if you find something useful.

As usual, I'll upload it when I think its ready. Right now there are already too many distractions.

That's the same workaround as 7.1.2 I mentioned a few times in my other threads. Some 7.1.2 gapps already dealt with and some not.

Frankly, I haven't tried any gapps. Its just not ready for daily use yet.

Nothing to update so I would like to answer some "old" questions.

There are too many report on theft while charging. A few months ago, I re-enabled the security prop. Even if you enabled the USB debug in developer option, new connections require to be enabled in your device now. As a side effect, we need to install SuperSU, otherwise it might not boot. Since rooting is required for my PerformanceControl apk, I see no reason to deal with. I already told a few guys asking me via PM. I don't know why there are so many theories on such a minor topic.
[K3 Note Original Android Development] tola4eva:
Thanks for your excellent work in the development of k3 note... Daniel hk, I've tried installing xposed installer on your latest carbon ROM bt each time I do, the ROM gets stuck at boot logo... Hw do I go about this?
[K3 Note Original Android Development] olgutza34:
flash supersu 2.82 right after ROM, because of performance module who need root
[K3 Note Original Android Development] Nonta72:
Waiting eagerly!
[K3 Note Original Android Development] LLoTE:
Well you can enable that magisk module so it doesn't pass data while charging
[K3 Note Original Android Development] tola4eva:
Did that bt each time I flash the xposed zip, I experience bootloop
[K3 Note Original Android Development] olgutza34:
xposed is still at test for Nougat, so this is a big NO. Forget about xposed either low down ROM version to Marshmellow for workable xposed modules.
[K3 Note Original Android Development] tola4eva:
It's currently working on nougat.. Used it on AIM rom a few days back
[K3 Note Original Android Development] olgutza34:
possibly, but bootlooped last LineageOS i have on my k50T5
[K3 Note Original Android Development] LLoTE:
It works on aim rom and rr that's all the roms ive tried it on
[K3 Note Original Android Development] daniel_hk:
20171001 LineageOS 14.1 update.

This is the latest Lineage-14.1 I built for personal use.

- Android 7.1.2_r29 (NJH47F)

- Lineage has put a fix in the PicoTTS.

About Oero

I finally figure out why SMS not received. I would say RIL is 90% working now. Cheers! :D

The last 10% would be the data setup UI for dual sim and how to reset the modem after a deadlock.

What left would be mostly the fixes in Android platform. When there are possible solutions, I might start a new thread. ;)
[K3 Note Original Android Development] lazy007:
Really you are amazing man :)
[K3 Note Original Android Development] jomypjose:
Amazing

you are amazing daniel_hk..
[K3 Note Original Android Development] lazy007:
Theres a minor issue in last los build

When going to simcard section to change the sim color and name the settings force stop

maybe its a rom sources proplem

Thank you in advance
[K3 Note Original Android Development] daniel_hk:
No, it's my bad. I put some test code weeks ago and I forgot to remove it.

It's not a big problem. I'll remove it in the next build. Sorry for the trouble...
[K3 Note Original Android Development] lazy007:
No problem bro :)
[K3 Note Original Android Development] trixter127:
Wow man,When many people gave up on getting Android O to this phone .you made it a reality .Till now there is no phone with Mediatek chip running Android 8.0 except this . I'm really happy we have a developer like you .Thanks

Please post that you started a new thread for Oreo when you do so that we don't miss it .I don't want to be late :laugh:

Thank you so much for all your work :o
[K3 Note Original Android Development] Costa001:
Great work daniel :good:
[K3 Note Original Android Development] ezhome2046:
7.1.2_r29 found charging power only 0.3-0.4A.

how 2 increase power to 2A or 1.5A.
[K3 Note Original Android Development] freegame619:
Try ProtonVPN, its from the save group that brought Proton Mail, I am using it and it seems to be good, at least for now.
[K3 Note Original Android Development] olgutza34:
Weird thing, tried to re-flash LineageOS from 20th of August in order to get rid of Gapps (was a personal project of mine, life without Google suite) and after OS flash and Supersu 2.82, phone boot only in TWRP recovery, no matter what I am trying. What am I doing wrong??? Had all partitions cleaned, including internal storage. I am on latest TWRP of daniel_hk, 3.1.1.3.
[K3 Note Original Android Development] olgutza34:
flashed an older version using sp flash tools and behaviour did not change, no matter what i am installing reboot in TWRP only. Also, after sp flash tool usage, internal memory got shrunk to 1440 Mb. Is it possible to have a corrupted storage? otherwise no errors reported during flash.
[K3 Note Original Android Development] greekfragma:
your partitions are affected.

for start use spflashtool and flash the latest Android 6 Official you will find here.

http://spflashtool.com/

https://cloud.mail.ru/public/Cco5/JYk3ytrW1

after you must flash TWRP

https://mega.nz/#F!M0tmnbob!RfYsgzWBBkkXHcB8LDQCig

and also SuperSu

https://mega.nz/#!EwcR3BLD!1sl9KAOKL8evhHVgUONk3MWlcNHGXME1UqCLTv2xWtw

then you install latest Daniel Rom.

Hope it will help you.
[K3 Note Original Android Development] olgutza34:
[MENTION=622119]greekfragma[/MENTION]

thanks buddy, it worked, just had to select firmware upgrade instead of download only. Right now just finished a flash to AOSP extended version via TWRP, no root required because ROM has Magisk already. Cheers!!!
[K3 Note Original Android Development] LLoTE:
I think he's memory might be damaged mine is stuck at 1800 but that is how i bought the phone
[K3 Note Original Android Development] olgutza34:
I fix it, it is now like before, very alive;) the only thing that worked was that I have used SP flash tool in Firmware upgrade mode, in download only phone still stuck at recovery, no matter what recovery used. I guess internal storage goes crazy at two years and over hundred of flashes...
[K3 Note Original Android Development] dashlicious:
my flash camera dont sync with shot, i cant make picture at night :( anyone help me? i try everything and nothing PLEASE
[K3 Note Original Android Development] Ananthu bhootham:
Plz give link for working the Volte in Lenovo k3 notee
[K3 Note Original Android Development] trixter127:
Our device won't support VOLTE as it won't have the necessary hardware .If you see any patches or methods to enable VOLTE on K3 Note then are 200% fake
[K3 Note Original Android Development] olgutza34:
Also Lenovo targeted this phone for other purposes, rather than that. Despite the fact that it manufactured phones with weaker hadware VoLTE capable, any atempts to make K3 Note to work on VoLTE led ony to unstable modems and frequent software crashes.
[K3 Note Original Android Development] olgutza34:
It was nice and helpful to find answers and get directions on this thread, but life goes on... Because my kid pledged for stability (what in the world is that???) and legit software, so he choose LG G6 and I was getting his Oneplus Two. Consequently, my precious K3 Note is going to take a short trip to the north of my country, to another owner. As long as I remember fixes and workarounds, I am trying to help fellow participants to this thread. As LineageOS development is not that successful for Oneplus 2, not sure if to get on with experiments. But I will never know... Sayonara my friends, and may your phones serves you faithfully from now on...
[K3 Note Original Android Development] daniel_hk:
20171006 LineageOS 15.0 another alpha test build

After foot loose and fancy free for a few days, my battery is almost fully recharged. :D

Finally found a local mirror to sync the source from google. It's pretty slow but way better than nothing... :eek:

I built another LOS-15.0 before bed last night. It's is uploading to the Experimental folder now.

1. As mentioned earlier SMS receiving is OK. The SIM settings UI is also fixed now. I would say RIL is 95% working (STK crashed) and good enough for daily use. Cheers！ ：D

2. I studied the bluetooth again. I just don't know why the basic read write to a standard Linux char device doesn't work now. It just redirect to the net syscalls. I have a few net patches and the sdcardfs patch but nothing seemed would cause that. There are a few ways in mind but I believe there are simpler explanations... Pending...

3. For the Camera, I took a closer look this time. There is a serious bug in MTK's camera HAL. O required the user handle to register the allocated buffers but all MTK camera blobs I found just conveniently put a NULL to the calls. It was ok before but not Oero. It would cause the interface refuse to allocate buffers. I have a dirty fix but not sure if it would work all the time... Another big issue is the lack of CAMERA_GRALLOC_USAGE in Oero (or I don't know where it is... ), it would make video recording impossible. Media and Camera is not my dish so a lot of reading again... :cyclops: Hoping Lineage or other team would have solution soon.

4. Haven't studied media playback yet.

Another point to noted: when the device is in deep sleep. Don't repeatedly press "back key" or power button. Press just once and wait. Otherwise the system would blink and wait for (something like 6s) for another recovery cycle. I would look that the system is dead but actually not. I think its the wake up delay issue.

Therefore a new thread is pending...

I spent some time to tidy up the device tree earlier. I'll update to my github shortly. See if anyone have valuable suggestions.

Kernel and others would follow when ready. ;)

Seriously, the most annoying are those back seat drivers. If you don't know what it is, it would waste your time and my time sending me useless links and suggestions. Please keep it to yourself or address your views elsewhere. Thanks!
[K3 Note Original Android Development] trixter127:
I know its still an alpha build but Did you try any Gapps this time ? Thanks again for all your work

I tried latest gapps from opengapps.org everything necessary works fine except for camera
[K3 Note Original Android Development] :
Oreo gapps available on opengapps.org !
[K3 Note Original Android Development] greekfragma:
thank you Captain Obvious! :eek:
[K3 Note Original Android Development] t0ma5:
I have the following issue with the latest build, neither windows nor ubuntu can properly mount the phone when connected with the USB cable.. anyone else with that problem?

edit: sometimes win7 sees the phone as a CDROM! :(

Thanks for a great ROM Daniel!
[K3 Note Original Android Development] olgutza34:
first activate developper options by tapping several times build number row in settings/about phone. then go into the developper options and change two times between MTP and charging option. This move always worked for me in order to mount phone internal memory, and also microsd if present
[K3 Note Original Android Development] t0ma5:
thanks for your reply, I have tried what you suggested but without any luck. The problem seems to be when installing MTP USB drivers. Before flashing this ROM I had another Nougat based custom ROM that had no problems when connecting to the same PC, now windows only sees a CD drive.. I am confused :confused:
[K3 Note Original Android Development] Dhrubojit kumar das:
problem install

i install LineageOS 14.1 (1Oct2017) build through twrp recovery . then reboot my system .. after rebooting my mobile stuck at lenovo logo.

can any one give me the solution why its take so much time or i done something wrong ?
[K3 Note Original Android Development] t0ma5:
Go back to recovery and try "WIPE cache and dalvik"... Also give it some time, it is normal to take longer to start the first time after flashing a new ROM
[K3 Note Original Android Development] trixter127:
Flash SuperSU or Magisk Along with Rom and Gapps it will boot

If you already did, it would take 5-10 minutes to boot
[K3 Note Original Android Development] Dhrubojit kumar das:
no its not working . i still get the the same problem.i wait almost 30 mint . i also try the lower version of lineage-14.1-(20170820-UNOFFICIAL-aio_otfp.zip) but didnt work .

---------- Post added at 05:57 PM ---------- Previous post was at 05:49 PM ----------

no its not working .. i wait almost 30 mint .
[K3 Note Original Android Development] olgutza34:
have you ever looked back over this thread? I don't think so... I am not telling to read all of it, but at least last 20 pages, but nooo, jumping on the gun without knowing the consequences...

LOS is not going to boot up without flashing SuperSU after OS, because of the performance package included. Also magisk should work.
[K3 Note Original Android Development] Dhrubojit kumar das:
1st - I install the lineage os 14.1

2nd - i install supersu 2.46

3rd - then i install Gapps mini 7.1

4th - i wait for almost 20 mnt

still stuck at lenovo logo.did i do any thing wrong ?
[K3 Note Original Android Development] Ashwinrg:
Flash magisk right after rom flash. May be it have problem with boot.img
[K3 Note Original Android Development] olgutza34:
supersu 2.46??? that's history, bro...two versions back I had bootloop with 2.79. look for 2.82 version sr3 or sr4. And first boot up system without gapps, then go back to recovery and flash gapps for arm64. I always flashed nano version, in order to install from gplay only what I need
[K3 Note Original Android Development] Dhrubojit kumar das:
i will try tomorrow .. if its not work .. then ?

---------- Post added at 07:17 PM ---------- Previous post was at 07:14 PM ----------

i will try tomorrow ..with supersu v 2.82 ..

but the author did not say any thing about supersu (to install after room)

---------- Post added at 07:18 PM ---------- Previous post was at 07:17 PM ----------

i will try tomorrow ..with supersu v 2.82 ..

but the author did not say any thing about supersu (to install after room)
[K3 Note Original Android Development] t0ma5:
I have tried every solution to fix MTP USB driver I found only and nothing worked.

I thought that maybe my Windows was the problem, so I went back to an older backup and still, nothing.

So I restored a backup of my previous ROM (AOSP Extended 4.5) and back to normal! USB connects without any problem like it did before.

I don't know why I had this problem but this ROM won't work for me unfortunately :(
[K3 Note Original Android Development] :
Did you tried to wipe system? Try it

First wipe system delvik cache

Than flash the ROM.

Restore the boot via twrp than boot
[K3 Note Original Android Development] :
hey the rom is quiet stable the only problem i encounter is that when i lock the phone and try to unlock it back it does not turn on

thanks for rom and the rest of the problems like bluetooth ,camera i can live without frankly it is quiet early to complaint about that help me fix that display issue please thanks again for rom

---------- Post added at 04:39 PM ---------- Previous post was at 04:36 PM ----------

and how to root the rom i tried to flash super su the recover just get restart in the process i am using twrp 3x

---------- Post added at 04:39 PM ---------- Previous post was at 04:39 PM ----------

and how to root the rom i tried to flash super su the recover just get restart in the process i am using twrp 3x
[K3 Note Original Android Development] lplovepreet:
OREO IN LENOVO A6000 https://xdaforums.com/lenovo-a6000/development/rom-aosp-oreo-lenovo-a6000-plus-t3677919
[K3 Note Original Android Development] lazy007:
what do you want?

its quallcom device so devolping for it much easier
[K3 Note Original Android Development] Dhrubojit kumar das:
thank you .. with the help of you and magisk now i am using lineageOS 14.1 . supersu may be work but i use magisk .
[K3 Note Original Android Development] DerTeufel1980:
Lol. Selinux permissive on a qcom device [emoji23]

Sent from my uhans h5000, running Android 8.0.0
[K3 Note Original Android Development] Dhrubojit kumar das:
google has stoped

some time this problem is happen

[IMG="error show"]https://image.ibb.co/dvSdMG/Screenshot_20171009_162517.png[/IMG]

https://ibb.co/fzu3ow
[K3 Note Original Android Development] S.thanawat:
Hello, I just tried this ROM today and almost everything are great. Only one problem for me is, I cannot use Viper4android on this ROM. It's driver status Enable = no. Is this ROM not support Viper or I did something wrong? Anyone can install and use Viper4android, can you please tell me how to do. Thank you.
[K3 Note Original Android Development] AryanAA:
Hey [MENTION=4948627]daniel_hk[/MENTION] any update/progress on oreo that is shareable as of now? Kudos for the great work mate!
[K3 Note Original Android Development] t0ma5:
anyone else having troubles connecting the phone to the PC (windows7) using USB cable with this ROM? I get only recognized as CD-ROM DRIVE but with any other ROM I have no problem

EDIT: fixed! SuperSu was the problem, as soon as I changed to Magisk there was no problems connecting to PC :fingers-crossed:
[K3 Note Original Android Development] trixter127:
Never got that issue