can we have DT2W in project treble? - Xiaomi Mi Max 3 Questions & Answers

Can we have double touch to wake in project treble?

Yes, find the sysfs node(should be named wakeup_mode) and set it to 1: https://github.com/MiCode/Xiaomi_Ke...rs/input/touchscreen/ft5x46/ft5x46_ts.c#L1843

i dont know how to do it. Where is that file?

nijel8 said:
Yes, find the sysfs node(should be named wakeup_mode) and set it to 1: https://github.com/MiCode/Xiaomi_Ke...rs/input/touchscreen/ft5x46/ft5x46_ts.c#L1843
Click to expand...
Click to collapse
Can You help us find this node?

mvha said:
Can You help us find this node?
Click to expand...
Click to collapse
Couldn't find it, my device actually have a different touchscreen and its kernel driver doesn't have dt2w sysfs node... Something else is going on... Have to decompile miui settings to see how they are doing it... But probably will never get to it when start building my own kernel.
BTW kernel config has total of 3 different touchscreen hardware drivers configured so there must be a few different Mi Max 3 hardware variations in existence...

i dont know how to do it. any news?

Me either, no news yet...

Related

[SOLVED/patch included] vncserver for android: need help patching kernel

edit: problem solved, patch attached. i also made an update.zip with the new kernel, see here.
there is a vncserver for android out there. so far it works fine, but there is no keyboard or mouse control for the host (android). this being a kernel limitation it can be patched. unluckily for us the patch is available only for the magic kernel version 2.6.23, not for the hero kernel version 2.6.27. i would kindly ask all the developers out there to have a look at the links below, and at least comment about the possibility to "port" (don't know the right expression) the patch to the heros kernel, or teknologists version. i can do the compiling and testing myself, just need someone to have a look at the patch, this is way beyond my skills for now. just compiled the teknologist kernel successfully, as my first compiled kernel ever!
the vncserver project
the patch
htc kernel source
teknologist kerne git
thank you in advance.
i think i managed to apply the patch manually, once i looked into it it turned out that there where only a few lines in 3 files, plus one completely new file, so it seemed pretty easy. yet to be tested, but first i figure out why the kernel won't boot at all, not even with teks sources...
so stay tuned for the kkernel, with full vnc support!
kendong2 said:
i think i managed to apply the patch manually, once i looked into it it turned out that there where only a few lines in 3 files, plus one completely new file, so it seemed pretty easy. yet to be tested, but first i figure out why the kernel won't boot at all, not even with teks sources...
so stay tuned for the kkernel, with full vnc support!
Click to expand...
Click to collapse
I thought Tek's kernel was based on the GSM hero kernel, not the CDMA one, which might be one of the reasons.
thecodemonk said:
I thought Tek's kernel was based on the GSM hero kernel, not the CDMA one, which might be one of the reasons.
Click to expand...
Click to collapse
uhm, i have only the gsm hero, no cdma in germay...
anyway, i forgot the --base 0x19200000 in my script, so the boot.img was faulty. it is working now, fbvncserver recieves keyboard inputs, but mouse does not do anything
maybe i can figure that out somehow, already posted in google code of the project.
i will release an update.zip this afternoon, containing the kernel and fbvncserver for easy installation, but now i gotta get some sleep
kendong2 said:
i will release an update.zip this afternoon, containing the kernel and fbvncserver for easy installation, but now i gotta get some sleep
Click to expand...
Click to collapse
who needs sleep anyway here's the kkernel-1.0
could one of the mods please set a [SOLVED] in front of the titel? if i am supposed to do this myself please tip me of how, i don't get it...
Great work. Will you share the Patch ?
kendong2 said:
could one of the mods please set a [SOLVED] in front of the titel? if i am supposed to do this myself please tip me of how, i don't get it...
Click to expand...
Click to collapse
You can do it editing your first post
i will, was going to do it tonight anyway, please be patient for a few more hours...
Lox_Dev said:
Great work. Will you share the Patch ?
You can do it editing your first post
Click to expand...
Click to collapse
patch is there. thx, i think i forgot to click on "go advanced" when i tried...
kendong2 said:
patch is there. thx, i think i forgot to click on "go advanced" when i tried...
Click to expand...
Click to collapse
Great thks a lot for the patch. I'll apply it to next community kernel release.
There's a fork of android-vnc that works without patching, android-vnc-server (both kbde and touch events).
rejser said:
There's a fork of android-vnc that works without patching, android-vnc-server (both kbde and touch events).
Click to expand...
Click to collapse
lol although it makes my work on the patch completely obsolete it sounds really good. i will look into that this evening, thanks for the hint.
nevertheless, it was interesting to find out how kernel-compiling and cross-compiling works, i actually had fun doing it
too bad, doesn't work for me
console output shows that keys are received, but no action
rejser said:
There's a fork of android-vnc that works without patching, android-vnc-server (both kbde and touch events).
Click to expand...
Click to collapse
thx for the hint, doesn't work for me either though... gonna try it with another kernel, but not before next week, having the gf over the weekend... no kernel baking then

[Q] Cifs.ko , anyone working on compile it?

Hi!
As a lot of people out there, I'm really waiting for one thing: a cifs.ko kernel module to allow my ouya add CIFS/SMB network shares.
It should be interesting to compile it, because we could have all our stuff around our network (in my particular case, on my NAS).
I found out, that there is a possibility to compile it from the Ouya kernel's public source: https://github.com/ouya/ouya_1_1-kernel as it has the cifs code on github, so I supose that it shouldn't be hard to compile it (I'm not so good compiling the kernel).
Is anyone working on this module?
I'm waiting for this module aswell
So... nobody is working on it? :crying:
I'll whip up a kernel with support tomorrow.
Sent from my SCH-I545 using Tapatalk 4 Beta
invisiblek said:
I'll whip up a kernel with support tomorrow.
Sent from my SCH-I545 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Any news on this?
Kaos2K said:
Any news on this?
Click to expand...
Click to collapse
I *had* compiled a kernel with support for it but when i synced the current commit now it wont compile cleanly....nor will reverting back to the previous commit fix it ( comes up with the same error )
HTCdemon said:
I *had* compiled a kernel with support for it but when i synced the current commit now it wont compile cleanly....nor will reverting back to the previous commit fix it ( comes up with the same error )
Click to expand...
Click to collapse
Ouch. I wish i had the knowledge to help you with that :/
Hopefully someone much more savvy than I can put this together
moku160 said:
Hopefully someone much more savvy than I can put this together
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2347214
done
IncognitoMan said:
http://forum.xda-developers.com/showthread.php?t=2347214
done
Click to expand...
Click to collapse
thx this helps
IncognitoMan said:
http://forum.xda-developers.com/showthread.php?t=2347214
done
Click to expand...
Click to collapse
nice! any plans for adding init.d support as well? i need my usb stick to be auto mounted at startup or otherwise my link2sd-apps won't work...
I have a question...
is it possible to install cif modules without use a custom rom?

DVB-T on P605

Does someone has the Kernel config from MJ9? i'd like to know whether drivers for Hauppauge HVR 900H were compiled into the kernel or as a module.... if not, is there someone with a toolchain for crosscompiling? in the end i would like to code a little dvb-t App for our tap:good:
lsherif said:
You are on the wrong thread, this should be posted in Q&A
Click to expand...
Click to collapse
isn't It rom/kernel specific? ok i'll try it in q&a or a mod will copy it
Edit:
I've downloaded the last kernelsource JB 4.3 and the driver is located @ .../drivers/media/video/tm6000
so there is a chance to get it compiled and loaded )
I NEED THE KERNEL CONFIG.... Anyone out there who could post a .config for SM-P605??
totzkotz said:
I NEED THE KERNEL CONFIG.... Anyone out there who could post a .config for SM-P605??
Click to expand...
Click to collapse
Still nobody has compiled his own kernel yet?
totzkotz said:
Still nobody has compiled his own kernel yet?
Click to expand...
Click to collapse
If you follow the link: http://linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-900H , at first sight, it looks good, but farther, it's less optimistic.
If you are lucky, see in the kernel config if there is module for your device: make menuconfig in your kernel tree.

[KERNEL]NukedTrinity [3.0.101-ck1]([email protected]/3 & [email protected]/31

hey guys i brought something new iv'e been working on.​my personal kernel based off of chonix's (jhonnyx) updated trinity kernel​why should you use this compared to anything else?:
1: For fun
2: It has every overclock option i can pack into it,including:
"core" overclocking from ezekeels live oc
GPU oc from imoseyon
IVA oc ported from dtrails razr kernel <-a first for gnex as i know
CPU oc from morfic
3: It includes its own hotplug driver:will tisdale's generic arm hotplugging driver which performs better than intelliplug in my testing
4: it has actual hard coded voltages,smartreflex isnt even built in the kernel
5: it has ziyan's (daniels) new ram timings which give even better memory bandwidth
6: it has scu speculative line fills and full zero mode enabled for the processor <-NO DOUBLE LINEFILL
7: it has the 3.10 wifi drivers courtesy of jhonnyx
8: it uses TEUV voltages
9: the con kalivas linux patchset that no other gnex kernel uses,courtesy of poondog
10: the pvr governor ang gpu oc have been modifed to work with each other
other than that,its just one more modded to sh*t gnex kernel,but its mine and i want to share it as it gives me great battery and performance and its unique
i listen to requests,if there is something you want,speak up and we will talk about it :good:
btw,dont start any "this runs better than kernelx" bs here. thats disrespectful.
if you have a problem,dont get angry,write a post and we will troubleshoot
I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU DO TO YOUR DEVICE,YOU LOADED THE KERNEL.
i will NOT enable the double linefill from mpokang,mwisbest clearly showed everyone it cause memory corruption.
(clearly im not good with op's)
and my thanks go out to everyone on xda as there are way too many people for me to credit,thank all of you very very very much for your hard work.
XDA:DevDB Information
NukedTrinity, Kernel for the Samsung Galaxy Nexus
Contributors
pattyboi
Kernel Special Features: Auto-hotplug,GPU governor+OC,Ram/bus oc,IVA OC,CPU OC,ck1 patchset
Version Information
Status: Beta
Created 2014-08-22
Last Updated 2014-11-02
Bro, you're back!!! That's wonderful, i'm installing new kernel asap!
pianistaPL said:
Bro, you're back!!! That's wonderful, i'm installing new kernel asap!
Click to expand...
Click to collapse
yes sir i am & great!
pattyboi:) said:
yes sir i am & great!
Click to expand...
Click to collapse
Oh, wait, is this unified f2fs&ext4 version? Because i need f2fs kernel.
pianistaPL said:
Oh, wait, is this unified f2fs&ext4 version? Because i need f2fs kernel.
Click to expand...
Click to collapse
yesh its anykernel and has f2fs :3 im using it with fml f2fs right now
Sorry but i can´t find the link for download? Am i just stupid or does it not exist yet?
Fatsodonkey said:
Sorry but i can´t find the link for download? Am i just stupid or does it not exist yet?
Click to expand...
Click to collapse
Downloads tab on approx top left just above the thread name
Nice to see you back m8!
Fatsodonkey said:
Sorry but i can´t find the link for download? Am i just stupid or does it not exist yet?
Click to expand...
Click to collapse
If you use Tapatalk, you must choose Web view from top right of page item!
Very fast and smooth with hotplug. Maybe you could add more governor ?
It is not usable on 4.3 JB Roms!
Quite serious bug. The phone is not really turned off, but still on and the display is off. Can't turn it on again except by pull the battery. Im on latest spaceparanoid
eternal70 said:
Quite serious bug. The phone is not really turned off, but still on and the display is off. Can't turn it on again except by pull the battery. Im on latest spaceparanoid
Click to expand...
Click to collapse
looking into that as we speak,thank you!
aliesz said:
It is not usable on 4.3 JB Roms!
Click to expand...
Click to collapse
i think i know how to fix this,sorry bout that,its cause of selinux :/
freshgiammi said:
Nice to see you back m8!
Click to expand...
Click to collapse
thanks buddy
Never thought I'd be able to try a Trinity kernel again on the GNex Will test in a few. Thanks pattyboi!
sivaseraphim said:
Never thought I'd be able to try a Trinity kernel again on the GNex Will test in a few. Thanks @Pattyboi!
Click to expand...
Click to collapse
you might wanna hold off,bout to fix that power off bug that was reported,since thats critical im gonna update so just wait :3
Alrighty! *tail wagging*
alright,new builds is up bugs "should" be fixed
pattyboi:) said:
alright,new builds is up bugs "should" be fixed
Click to expand...
Click to collapse
Has the bug for 4.3 JB android been also fixed ?!

[DEVICE TREE][PORT][MT6735] Device tree for LG K350xxx

Hi I have working on this some time and it should work, I'm not a real developer and don't have big knowledge. This is ported from Wileyfox porridge.
I'm posting this here because I don't have a PC to try to build on it (I have single core celeron with 512mb RAM, belive me or not) and also my phone's bootloader is still locked because I don't want to break warranty yet because I had some problems with very low R/W speeds. So if there is anyone who know what should be done and would like to try to build ROM or help with device tree, please feel free to do that.
NOTICE: If you have model other then 8GB K350nds you should edit values of partition sizes in BoardConfig.mk Better solution will be if I known difference in size of partitions for each model, and even than I'm not sure what attribute from /proc/cmdline I should compare to get it right (in init_mm1v.cpp)
Device tree https://github.com/ProfessorWoland/android_device_lge_mm1v
You'll also need common tree https://github.com/LineageOS/android_device_cyanogen_mt6735-common
About kernel if you try to build ROM:
Kernel source is published by LG here http://opensource.lge.com/osSch/list?types=ALL&search=k350
But also there is kernel on Lineage OS repo https://github.com/LineageOS/android_kernel_cyanogen_mt6735
It should work also if you just add muse6735_m1v_m_defconfig file from your kenel source to /arch/arm/configs . Or at last i think that is our _defconfig because it's only one with anything which can be related to our device (m1v)
I bought this phone cheap so I'm going to try to compile today
joeeboogz said:
I bought this phone cheap so I'm going to try to compile today
Click to expand...
Click to collapse
Nice, but I doubt it will work at first try since I made this without any real knoweledge..
And there is still problem where we can't flash anything without soft brick because of some signature or whatever else checker. Probably in lk (little kernel) partition so we need a good reverse engineer to make check function allways true and don't kill phone in process..
joeeboogz said:
I bought this phone cheap so I'm going to try to compile today
Click to expand...
Click to collapse
Any success?
Professor Woland said:
Nice, but I doubt it will work at first try since I made this without any real knoweledge..
And there is still problem where we can't flash anything without soft brick because of some signature or whatever else checker. Probably in lk (little kernel) partition so we need a good reverse engineer to make check function allways true and don't kill phone in process..
Click to expand...
Click to collapse
Sent from my LGE LG-K350 using XDA Labs
bynamnshan said:
Sent from my LGE LG-K350 using XDA Labs
Click to expand...
Click to collapse
You wanna say something?
Does it works?
Santiago Pucheta said:
Does it works?
Click to expand...
Click to collapse
Not in a useful way, it compiles ROM but we don't have a way to test it, however even if we do I think it wouldn't work since even from kernel sources from LGE it can't compile working kernel idk why, since kernel doesn't have anything to do with tree, I tested it via 'fastboot boot ___' command.

Categories

Resources