yashsingh1/xdaforums huggingface dataset:
[Teclast X98 Air 3G] tecknight:
This has been moved to

TTT TecKnight's Teclast Tutorials

Click HERE for the TTT Tutorial

Good morning All !!

I just got done testing this Xposed Framework Installer for X98 Air devices.

I am working on a tutorial, but it will probably take a couple of days to complete.

Several people were wanting to install the latest update for Xposed Framework, but it was only offered as a CWM or TWRP flashable zip. Of course we don't have a custom recovery yet, so I created this installer to either update to or install V74, which is the latest XF version for Lollipop 5.0. I will continue to update this installer to the latest Xposed Framework version available for Android 5.0. as new versions become available.

Requirements:

A Windows host PC to run the installer on.

A rooted X98 Air device running Android 5.0 with busybox installed

The installer also installs the latest Xposed Installer android app.

Update (9/24/2015) Now installs/upgrades GravityBox to ver 5.20. Note: Version shows as 5.1.5, but .apk is the latest com.ceco.lollipop.gravitybox_v520_f13fb7.apk, dated 9/9/2015..

I have also included an Xposed Framework uninstaller, which will remove the Xposed framework mods (if present) and uninstall the Xposed installer.

Both scripts create a detailed log of the installation or uninstallation and reboot the X98 when complete.

I have tested it pretty extensively on my X98 and I did not encounter any problems.

FYI: if you have an older version of Xposed framework already installed, you do not have to uninstall before installing the new version, just run the installer and it will update the installation.

Download the installer archive here:

http://xdaforums.com/attachment.php?attachmentid=3485404&stc=1&d=1443158089

Extract archive to a folder on your PC

Boot your X98 into Android and connect to PC via USB.

Browse to the folder and launch:

InstallXFandInstaller.bat to INSTALL the framework

or

RemoveXFandInstaller.bat to UNINSTALL the framework.
[Teclast X98 Air 3G] Maxximo88:
Wow, great tutorial!

Thanks [MENTION=2651082]tecknight[/MENTION]
[Teclast X98 Air 3G] tecknight:
Glad you like it !!
[Teclast X98 Air 3G] Crazy_Oni:
Thanks for your work here Tecknight. Can i flash this with mireks rom V5? There is version V72 installed already.
[Teclast X98 Air 3G] tecknight:
Yes you can !!

If for some reason it doesn't work correctly after running InstallXFandInstaller.bat, then:

1. Run RemoveXFandInstaller.bat

2. After the system boots back into Android, run InstallXFandInstaller.bat. Now V74 will definitely be installed and working.

3. Let me know what happened by posting here with your XFILog.txt
[Teclast X98 Air 3G] Crazy_Oni:
Thank you for your answer. I´ll try my luck after work and give a feedback ;)

Edit: Works perfect for me. Thank you again tecknight.
[Teclast X98 Air 3G] fefuzzo:
[MENTION=2651082]tecknight[/MENTION]

Hi, can i use this guide to install xposed on my teclast x98 air 3g (C5J6 model) ?? Thanks a lot

Inviato dal Note 3 SM-N9005
[Teclast X98 Air 3G] girlswithpens:
installed xposed on my teclast x98 air iii but it doesnt work.

it tells me that xposed isnt compatible with andriod sdk version 21 or my processor architecture x86
[Verizon Samsung Galaxy S6 Edge] simplyeorange:
i have a branded S6 Edge from verizon. im thinking bout buying the green s6 edge.

do you get LTE on verizon network?

do you have any problems with the phone being unlocked?

how did you get verizon network to fully work?

does your unlocked S6 Edge have all the features intact?
[OnePlus 2 Original Android Development] ak:
I am not responsible for any damage to your phone.

Read before downloading or posting in the thread.

Proceed with caution if you have no experience.

Official Site: ak.hiddenbytes.org

Full Changelog: Github Link

A kernel based on Official Oxygen Source branch:

Install/Uninstall: Link

Downloading: AK.023.OP2.OXYGEN

Downloading: AK.023.OP2.CM

NB: Ak Kernel Updater is now supported!

Kernel Mirrors:

Download: Link - Thanks a lot @LookedPath

Download: Link - Thanks a lot @funCrash93

Download: Link - Thanks a lot @DominiCOne

Download: Link - Thanks a lot @bombadier

Download: Link - Thanks a lot @alebcay

Thanks a lot to These developers, filled with great humanity and courage:

@Grarak, @TeamExodus

And also:

@Sultanxda, @Robbiel811, @Dorimanx, @xboxfanj, @apb_axel, @faux123, @myfluxi, @showp1984, @imoseyon, @savoca, @poondog , @CallMeAldy

And also:

@andreilux, @flar2, @CL3Kener, @DerRomtester, @renderbroken, @Alucard24, @stratosk, @hellsgod, @yank555-lu, @kingbabasula, @osmosis, @gianton

Do you like my work?

Hit 'thanks' and/or rate this thread with 5 stars.

Consider a small donation.

​

XDA:DevDB Information

AK Kernel Oneplus Two, Kernel for the OnePlus 2

Contributors

ak

Source Code: https://github.com/anarkia1976

Kernel Special Features:

Version Information

Status: Stable

Created 2015-09-22

Last Updated 2015-11-17
[OnePlus 2 Original Android Development] ak:
Kernel Changelogs

[ AK KERNEL - v.023 ]

A kernel based on Oxygen/CM branch.

Download: AK.023.OP2.OXYGEN

Download: AK.023.OP2.CM

[ SMALL CHANGELOG ]

merge oxygen source

dts optimizations

ecc ecc

[ FULL CHANGELOG ]

Project name: AK KERNEL

anarkia1976 - Kernel Version: AK.023.OP2

Hieu Nguyen - OnePlus: update to OnePlus2_14_A.09_151109 kernel source

anarkia1976 - arm: dts: msm8994: build only v2.1 hw variant

anarkia1976 - arm: dts: msm8994: Correct regulator timming

​
[OnePlus 2 Original Android Development] ak:
Questions & Answers

[ AK KERNEL INSTALL - STEP BY STEP ]
​

If you

don't have

used AK before:

Step 1

Fresh Install "your base kernel ROM " or "dirty reflash your ROM" from recovery

Step 2

Install the latest "AK kernel zip (UKM is integrated into kernel)" from recovery

Download: Link

Step 3

Reboot

Step 4

Install "Synapse" app from Market

Download: Link

Thread: Link

Thanks & Donations: @AndreiLux

Install "Ak kernel Updater v1.2" from this link

Download: Link

Thanks & Donations: @CallMeAldy & @themike10452

Step 6

Press the " Thanks Button" and " Rate the thread"

If you

have used

AK before:

Step 1

Follow the AK thread and check with "Ak kernel Updater" possible news

Follow the AK official website for find new releases: " http://ak.hiddenbytes.org/ "

Follow my AK twitter account: Link

Step 2

Press the "Thanks Button" and "Rate the thread"

[ AK KERNEL OP2 PROFILES THREAD ]

This thread is for people to post their profiles with each other: Link

Thanks a lot

@Stylo King

[ KCAL COLOR PROFILES ]

You can set these settings with synapse.

Infos: Link

thanks a lot @savoca

Cool Amoled Style:

Colors: 236,248,256

Min: 35

Contrast: 258

Hue: 0

Saturation: 275

Value: 251

thanks a lot @abhi086387

Warm Amoled Style:

Colors: 253,246,243

Min: 35

Contrast: 258

Hue: 0

Saturation: 275

Value: 251

thanks a lot @abhi086387

Extreme Amoled Style:

Colors: 256,256,256

Min: 35

Contrast: 264

Hue: 0

Saturation: 290

Value: 242

thanks a lot @abhi086387

Deep Natural Style:

Colors: 250,250,255

Min: 35

Contrast: 264

Hue: 0

Saturation: 285

Value: 245

thanks a lot @abhi086387

Kcal sysfs reference:

/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls R/G/B Multipliers
/sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value
/sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control
/sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode
/sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode
/sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue
/sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value
/sys/devices/platform/kcal_ctrl.0/kcal_cont - (128 - 383) - Controls display contrast

[ OPO TIPS & TRICKS GUIDE ]

Thanks a lot to @MMWolverine for this fantastic guide: Link

You can find all you need and all infos for your 1+1.

[ CPU GOVERNORS & SCHEDULERS HOW-TO ]

Thanks a lot to @gsstudios for this fantastic guide: Link

[ UNINSTALL UKM & AK KERNEL ]

What my kernel does is:

# Rename mpdecsion binary

mv $ bindir / mpdecision $ bindir / mpdecision-rm

if you want you can return by renaming "mpdecision", and than reboot the phone.

It was enough to report it in my thread.

however, I have created a zip for revert after seeing this exchange:

http://ak.hiddenbytes.org/

UKM_AK_uninstaller_v4.zip

​
[OnePlus 2 Original Android Development] Alin CG:
THANK YOU !!!!!!!! Glad to see you here ...Downloading and Testing :D
[OnePlus 2 Original Android Development] ak:
Primordial kernel ... but work in progress!
[OnePlus 2 Original Android Development] Alin CG:
I used AK.001.OPO2.CAF until now and is working great ... Really glad that you got the OP2 ...
[OnePlus 2 Original Android Development] markus1540:
Just a quick minor heads up: the second O in AK.003.OPO2.CAF should be removed, I confused this version with the kernels for the OnePlus One at first because of this.

Other than that I'm glad to see you developing with the OnePlus Two now, keep up the great work :good:
[OnePlus 2 Original Android Development] gavin-phelan:
Sweet welcome old friend
[OnePlus 2 Original Android Development] ludester:
NOICE:good::good::good::good::good:
[OnePlus 2 Original Android Development] ak:
Thanks, it will be renamed OP2 so .... and OP1 for the old one ... what do you think?
[OnePlus 2 Original Android Development] ak:
thanks guys \m/
[OnePlus 2 Original Android Development] markus1540:
I'm fine with keeping OPO, as this is kind of settled and what I'm used to, and just using OP2 or OPT for the new one.
[OnePlus 2 Original Android Development] ghul21:
Amazing ? but I think Andrei need to add support for our device in synapse

Wysłane z mojego ONE A2003 przy użyciu Tapatalka
[OnePlus 2 Original Android Development] rweddy1:
I love AK on my Oneplus1 also, looking forward to testing this ! Can someone tell me what the difference between oxygen 202 and 210 stock kernels?
[OnePlus 2 Original Android Development] flame360:
Awesome !!!! I've been waiting for this ??

I assume it's safe to flash exodus version on top of Temasek build?
[OnePlus 2 Original Android Development] Delacor:
Just recieved my OPT today and now we have this!

Flashed it already - lets see how you can tune this baby :D

Hint: In the install script still stands "oneplusone" :p

THANK YOU MAN!
[OnePlus 2 Original Android Development] unrated87:
so glad that you came to this great device @ak

your device got funded from the oneplus forum member right? :D
[OnePlus 2 Original Android Development] ak:
I'm working on it ... It's not an app problem.

Sent from my ONE A2003
[OnePlus 2 Original Android Development] ak:
Yes

Sent from my ONE A2003
[OnePlus 2 Original Android Development] byAidan:
You are the very best AK :)

This kernel has already improved the OnePlus 2 experience ALOT!

Thank you
[OnePlus 2 Original Android Development] megamarini:
No worries, I was just wondering it was only a problem caused to me.. thank you very much for your work, I think anyone appreciate it a lot.

:highfive:

:highfive:

:highfive:

:highfive:

:highfive:
[OnePlus 2 Original Android Development] f0li0:
Why does nobody answer this question? Not trying to be difficult but I would like to know this as it may be important. It's been asked 4 times in this thread now and nobody has answered. It may seem trivial to some but others including myself would like to know if it's pointless to flash the kernel without synapse. Please can someone give a straight answer?

Thanks for the kernel @ak
[OnePlus 2 Original Android Development] v7:
Great work [MENTION=3475639]ak.[/MENTION]Up and running like a beast ;)

Tapped from my ❶+❷ ;)
[OnePlus 2 Original Android Development] krxz:
ok thanks ak. Just reported bugs I find to help you figuring out what's wrong :good: :good:
[OnePlus 2 Original Android Development] theBIGone:
Yes there are still benefits in the kernel even without synapse. I really advice using the AK kernel since it is more battery friendly than the stock kernel (in my case).
[OnePlus 2 Original Android Development] f0li0:
Thank you.

:D
[OnePlus 2 Original Android Development] Villelj:
Can I just dirty flash 004 over 003 kernel?
[OnePlus 2 Original Android Development] krxz:
yes :good:
[OnePlus 2 Original Android Development] rascal0pl:
Fauxsound possible in future?

I'm looking for kernel close to stock as much as possible with faux and KCAL
[OnePlus 2 Original Android Development] Gamm86:
Close to stock? Why would you want that?

AK's version is much better in terms of smoothness and battery life.

Anyway, I'm sure Fauxsound will be implemented soon as it is included in his OPO kernels aswell.
[OnePlus 2 Original Android Development] nirmik379kale:
Idk much about battery life as i am a heavy user ...

Also, there are reports on the same day about google play services keep awake bug fix... So idk what exactly improved the battery life...

But i am guess the kernel has a part too coz it definitely was the case on opo too...

But something i can definitely confirm is my phone almost DOES NOT HEAT at all anymore with v 004!!

And that is amazing!!

Also, the rom feels snappier...

---------- Post added at 10:30 AM ---------- Previous post was at 10:28 AM ----------

Hey, thanks for clarifying that ??

---------- Post added at 10:36 AM ---------- Previous post was at 10:30 AM ----------

This looks really interesting!
[MENTION=3685904]ak[/MENTION] any official word from you about this? i understand completly the point that [MENTION=5372360]magnamentis[/MENTION] has made, and so it fcource is okay to not consider it now, but, just wanted an official statment from your side if possible! :D

BTW, heating issues are drastically solved with your kernel!

i think OnePlus should hire you! ;) :p
[MENTION=3685904]ak[/MENTION]
[OnePlus 2 Original Android Development] xxBrun0xx:
Anyone know what stock Kcal settings are? Played with it and screen now looks like **** no matter what I pick :S
[OnePlus 2 Original Android Development] magnamentis:
hey, wrong attitude because:

a) it has been answered here: http://xdaforums.com/showpost.php?p=62971313&postcount=167

b) in the mean time you could have installed the way you suggested and report back your findings instead of asking, hence contribute useful info.

c) there is no obligation from anyone to answer questions if it sounds unreasonable or he doesn't have any answer because i think from the few

people who have the OP2 and even less who are rooted and installed a custom kernel yet, most of them have installed synapse or are using another kernel tweaking app, hence simply CAN'T answer. however if you want to be an early adopter you should be ready and willing to provide information and findings yourself more than asking a lot of questions to a handful of people instead of trying things out yourself.
[OnePlus 2 Original Android Development] bl4dy_pt:
I have installed the ak004 and in the synapse app I get this error, and it doesn't load all the info,could you help me please
[OnePlus 2 Original Android Development] Gamm86:
Third post: http://xdaforums.com/showpost.php?p=62950017&postcount=3

Color profiles.

This is normal, as already explained several times. :silly:

The kernel is still in development...
[OnePlus 2 Original Android Development] GCbard:
I know this kernel is awesome does anyone know though why antutu scores decrease on this kernel by 10000 compared to stock?
[OnePlus 2 Original Android Development] secXces_debaki:
Why u care of benchmarks?

U loose 10k points.. But the device is snappier, smoother and the battery looks a way better. The reason why the benchmark is lower, is because the kernel is not developed for benchmarks.

Gesendet von meinem ONE A2001 mit Tapatalk
[OnePlus 2 Original Android Development] krxz:
I don't loose 10k in antutu. Got 63344 pts with OxygenOS 2.1.0 and ak003 yesterday and 65321 today with ak004. Maybe you have a corrupted app or sync account wich is always working in background and costs performance
[OnePlus 2 Original Android Development] slave2007:
Is the download link offline?

Gesendet von meinem ONE A2003 mit Tapatalk
[OnePlus 2 Original Android Development] bwells88:
Switch the governors to performance then run a benchmark... Then go back for battery life... 8)
[OnePlus 2 Original Android Development] kramer987:
updated to v4 over v3. running stock hydrogen, rooted, version 2.1. upgraded to 2.1 by flashing 2.02 stock then flashing 2.1 update zip then flashing supersu and reflashing AK 0.3. flashed 0.4 this morning. running like a champ so far. just applied some color settings (warm amoled). can't really see a difference but my eyes already got used to the colors I guess. warm amoled settings weren't too far off from stock settings. here are stock kcal settings for anyone who needs them.

edit: I didn't realize it's not hydrogen OS lol. I meant OxygenOS
[OnePlus 2 Original Android Development] bwells88:
Speaking of silly benchmarks... Nothing wrong with that!... Maybe I'll try it in performance mode although I'll lay it on a cold steel table... Haha

O2 2.1 with AK04 kernel untouched.

Also this is the first time since I've had my 2 that the home button works like it should!.. Thank you
[OnePlus 2 Original Android Development] poondog:
Sup boss @ak

I don't even have this device but subscribed :P
[OnePlus 2 Original Android Development] ZinoKad:
I flashed AK Kernel, then flashed back the stock OxygenOS kernel and now WiFi is broken.

EDIT: Should've read the restore instructions...
[OnePlus 2 Original Android Development] Ferranza:
Yeah! Ak for opt... Will test

Inviato dal mio ONE A2003 utilizzando Tapatalk
[OnePlus 2 Original Android Development] Deacon-Frost:
I've flashed this morning the latest kernel as it is described in the OP. I receive everytime I start Synapse an error. What am I doing wrong?

I've also dirty flashed again temasek and again latest ak kernel. Same result. Help is appreciated.
[OnePlus 2 Original Android Development] saadramiz:
Well my fellow user, If you would have gone through the thread you would have realised that the answer to your question has already been given in like almost every alternate page! I wouldn't mind answering you again, but I won't coz you should develop the habit of going through the thread or at least use the search function to get your answers...
[OnePlus 2 Original Android Development] Deacon-Frost:
Well, I know that the development is still in early stages and have also read the thread but as you can see a few posts above another user uploaded some pics of his Synapse. And it is obvious that his Synapse has detected ak kernel and also the device as a known one. So something must be wrong with mine and that´s all I want to know.
[OnePlus 2 Original Android Development] saadramiz:
As far as the official word goes..., AK has said that he is developing and synapse isn't supported yet..

And those screenshots you are talking about were from a user who managed to get synapse detect the kernel but even then the settings couldn't be changed.

Correct me of I'm wrong. ?
[OnePlus 2 Original Android Development] ak:
I have added a note into OP:

Please carefully read:

UKM is into an early stage, please don't post problems with it!

if you want to contribute to code that's always nice!
[OnePlus 2 Original Android Development] napes22:
Has anyone found that their PC does not recognize the phone with this Kernel Flashed when USB Debugging is enabled?
[OnePlus 2 Original Android Development] Villelj:
I can confirm that with newest version my phone is not getting hot anymore! Thank you for this kernel
[OnePlus 2 Original Android Development] magnamentis:
this is a kernel thread, do you mean kernel or are you perhaps in the wrong thread ?
[OnePlus 2 Original Android Development] emam damon:
have problem guys,i flashed stock OOS 2.1.0 kernel over ak kernel and wifi is not working.it is refuses to turn on.

help me please.
[OnePlus 2 Original Android Development] ufo8mymunky:
Dirty flash ROM, then kernel, then wipe cache and reboot.
[OnePlus 2 Original Android Development] jetfin:
Flashing 004 breaks my wifi. Won't turn on. Dirty reflashed stock 2.1 and all good.

Where can I find a link to the 003 version to see if that works?
[OnePlus 2 Original Android Development] emam damon:
you didn't get it buddy.i flashed stock kernel over ak.the point of dirty flash rom is to get stock kernel which i did it.
[OnePlus 2 Original Android Development] ufo8mymunky:
You said stock kernel so I assumed you only flashed the stock kernel, not ROM...my bad, buddy. [emoji4]

I did have something similar happen when flashing a different kernel, but I made a back up before flashing that kernel. Once I realized WiFi was broken, I restored my backup and everything was fine.
[OnePlus 2 Original Android Development] Aayush_goel:
Anybody tried to overclock?
[OnePlus 2 Original Android Development] napes22:
You caught that fast...I had fixed it. I meant kernel.
[OnePlus 2 Original Android Development] ak:
From terminal:

Su

Insmod system/lib/modules/wlan.ko

Sent from my ONE A2003
[OnePlus 2 Original Android Development] rockafellor:
@ak

Thanks for the great update. Stock Kernel settings Rock. Device keeps cool, maybe I'll place my drinks on my OPT to cool them down :P
[OnePlus 2 Original Android Development] dansou901:
Great to see you here too [MENTION=3951473]AK![/MENTION] Will switch to your kernel immediately. Got used to it together with Robbies CM on the OPO. Is it really necessary to reflash stock kernel before installing yours? Does it cause a boot loop otherwise?
[OnePlus 2 Original Android Development] Stylo King:
I think Prevention is better than cure ;)

BTW AK kernel needs clean ramdisk so flashing stock kernel and then ak kernel will give you a peace of mind.
[OnePlus 2 Original Android Development] rockafellor:
You can dirty flash kernel, but it is advised to reflash stock rom or stock kernel before changing to another kernel. When dirty flashed over another kernel, ak can't guarantee you thefull power of his kernel.

Newest version has no bootloops, it's stable :)
[OnePlus 2 Original Android Development] jetfin:
I'm getting an error:

insmod: init_module 'system/lib/modules/wlan.ko' failed (Exec format error)
[OnePlus 2 Original Android Development] hunhool:
Confirmation number: 5MD88482VF660290S thanks ;)
[OnePlus 2 Original Android Development] Etirel:
Hey! My wifi won't work after flashing AK and then going back to stock kernel. Anyone have any idea what is wrong? Thanks in advance! :)

EDIT: Sorry don't mind this.. I'm tired, blind and lazy.. Found it by searching :)
[OnePlus 2 Original Android Development] xxBrun0xx:
Does this kernel enable ULPS for the display? AFAIK, this would dramatically increase battery life. @ak
[OnePlus 2 Original Android Development] Yoyoa:
Otg support is it kernel related ? I have an otg cable and it didn't work. I enable otg in setting
[OnePlus 2 Original Android Development] ak:
cooooool! .... thanks thanks a lot.

probably because the driver isn't signed, i can try to enable it in the next release.

what is your rom version?

kernel and rom. i think it is supported but i never tested.

is it working with stock kernel?

for now no but in the future maybe.
[OnePlus 2 Original Android Development] magnamentis:
use stickmount just copid 16GB to my stick :)
[OnePlus 2 Original Android Development] Yoyoa:
I use otg cable and didnt work what kind of cable do you use ?
[OnePlus 2 Original Android Development] jetfin:
0² OS version is 2.1
[OnePlus 2 Original Android Development] xxBrun0xx:
Are there drawbacks? There must be some reason why some magical battery saving switch like this wouldn't be enabled by default in every kernel from every manufacturer and dev. I've Googled and Googled and can't find anything on how it works on a software level. Not giving you a hard time, just trying to learn :)

Also, your kernel is the only reason I kept the oneplus 2 and returned the Moto x pure.
[OnePlus 2 Original Android Development] yoyo_58:
I'll just echo what so many others have said - thank you for this great kernel!

OOS, 2.1, ak kernel with now tweaks and the battery life is way, way better now.