Visualizzazione stampabile
-
Quote:
Originariamente inviato da
dreamer7
paolo,
need missing file in mediatek/custom/eastaeon89_wet_kk/kernel/accelerometer
mediatek/custom/out/kernel/built-in.o: In function `kxtj9_1005_remove':
/home/builder8/S800A/ALPS.KK1.MP5.V1.3_EASTAEON89_WET_KK/alps/kernel/mediatek/custom/out/ker
mediatek/custom/out/kernel/built-in.o: In function `kxtj9_1005_probe':
/home/builder8/S800A/ALPS.KK1.MP5.V1.3_EASTAEON89_WET_KK/alps/kernel/mediatek/custom/out/ker
mediatek/custom/out/kernel/built-in.o: In function `kxtj9_1005_i2c_probe':
/home/builder8/S800A/ALPS.KK1.MP5.V1.3_EASTAEON89_WET_KK/alps/kernel/mediatek/custom/out/ker
mediatek/custom/out/kernel/built-in.o: In function `kxtj9_1005_init':
/home/builder8/S800A/ALPS.KK1.MP5.V1.3_EASTAEON89_WET_KK/alps/kernel/mediatek/custom/out/ker
make[3]: *** [.tmp_vmlinux1] Error 1
u need to modify the source for compile without error
check for example kxtf9_auto and u will see there is a 3 file, u can get the kxtf9_cust_acc.c and modify for the kxtj9_1005
but it is a waste of time because kxtj9_1005 does not work :)
Quote:
what file it to add :
#define GPIO_CTP_EN_PIN GPIO136
#define GPIO_CTP_EN_PIN_M_GPIO GPIO_MODE_00
#define GPIO_CTP_EN_PIN_M_EINT GPIO_MODE_02
???
my ft5306 still does not work (((
add in mediatek/custom/common/kernel/touchpanel/ft5306/ft5306_driver.c
-
cmq con il codegen.dws del 4.4 non funzionano alcune cose ad esempio il bluetooth
quindi sono tornato al codegen.dws del 4.2 e per far funzionare il flash nella camera (e come torcia) ho aggiunto le righe:
codice:
#define GPIO_FLASH_EN_PIN GPIO76
#define GPIO_FLASH_EN_PIN_M_GPIO GPIO_MODE_00
#define GPIO_FLASH_EN_PIN_M_EINT GPIO_MODE_02
#define GPIO_FLASH_EN_PIN_M_PWM GPIO_MODE_01
#define GPIO_TORCH_EN_PIN GPIO75
#define GPIO_TORCH_EN_PIN_M_GPIO GPIO_MODE_00
#define GPIO_TORCH_EN_PIN_M_EINT GPIO_MODE_02
#define GPIO_TORCH_EN_PIN_M_PWM GPIO_MODE_01
nel file mediatek/custom/eastaeon89_wet_kk/kernel/flashlight/constant_flashlight/leds_strobe.c
-
Paolo, i edit codegen for 4.4 like codegen for 4.2
-
Quote:
Originariamente inviato da
Voldemaar
Paolo, i edit codegen for 4.4 like codegen for 4.2
you have edited codegen.dws file ? how ?
can u attach here ?
-
you need dct from 4.2 and codegen for 4.2
then you must open 4.4 codegen via dct for 4.4 and choose compare edit
thats all
-
Quote:
Originariamente inviato da
Voldemaar
you need dct from 4.2 and codegen for 4.2
then you must open 4.4 codegen via dct for 4.4 and choose compare edit
thats all
ok, but u have not edit the file "codegen.dws"...right ?
i already modified *.cmp and MT6589_NP.fig in mediatek/dct directory
-
Quote:
Originariamente inviato da
paolothlw8
ok, but u have not edit the file "codegen.dws"...right ?
i already modified *.cmp and MT6589_NP.fig in mediatek/dct directory
no. you must edit codegen.dws!
just wait, i will give it to you
http://yadi.sk/d/qBJRJazFFFAu5
it's russian filehosting
-
Quote:
Originariamente inviato da
Voldemaar
no. you must edit codegen.dws!
just wait, i will give it to you
lol ok thanks :D
-
this is my codegen. you must modify it like yours! open 4.4 codegen, then choose compare edit and choose your 4.2 codegen.dws
modify and save, it ready to use!
sorry for my english at this forum, but i'm from Russia and can't speak italiano.:-[
-
Quote:
Originariamente inviato da
Voldemaar
this is my codegen. you must modify it like yours! open 4.4 codegen, then choose compare edit and choose your 4.2 codegen.dws
modify and save, it ready to use!
sorry for my english at this forum, but i'm from Russia and can't speak italiano.:-[
but codegen.dws is not a text file
how to open and modify ?
btw, if u are russian u can ask to Cheshkin how to fix the sensor ? :p
I saw that he used kxtj2_auto driver but is not present in this kernel source
http://4pda.ru/forum/index.php?s=&sh...ost&p=33757268
-
paolo, DCT manual - MTK_GPIO_Intro_°Ù¶ÈÎÄ¿â
Voldemaar, Ну под Windows получилось открыть, а вот с Linux тоже не понял как.
красным он разницу светит? не совсем тут понял надо что то менять там или просто сохранить нажать.
-
Quote:
Originariamente inviato da
paolothlw8
it's very easy! just launch DRVGEN.exe
you will see your way!
I ask him, but he say do it yourself
But i will get all drivers soon!
-
Quote:
Originariamente inviato da
dreamer7
paolo, DCT manual -
MTK_GPIO_Intro_°Ù¶ÈÎÄ¿â
Voldemaar, Ну под Windows получилось открыть, а вот с Linux тоже не понял как.
красным он разницу светит? не совсем тут понял надо что то менять там или просто сохранить нажать.
Yes, lets speak english
Open in Windows or Linux with wine
Difference shows red label!
For dreamer7:
Давай тут на английском, чтобы Паоло понял нас. Смотри, ты открываешь кодеген от 4.4 используя dct 4.4
Затем выбираешь compare edit и открываешь свой кодеген от 4.2
Красным показывает разницу, ты ставишь в кодегене 4.4 так, как стоит в твоем от 4.2 во всех вкладках
Некоторые значения GPIO_XXX_XXX в DCT 4.4 отсутсвуют, на них не обращаешь внимание.
При сохранении ругнется, жми ОК.
For Paolo:
Look, you open codegen from 4.4 using dct 4.4
Then choose compare edit and open your kodegen from 4.2
Red shows the difference, you put in codegen 4.4 as standing in your from 4.2 in all tabs
Some values in the DCT 4.4 GPIO_XXX_XXX missed, they do not pay attention.
When you save, PUSH OK.
-
Quote:
Originariamente inviato da
Voldemaar
Yes, lets speak english
Open in Windows or Linux with wine
Difference shows red label!
ahh lol...
i use only linux then the drvgen.exe for me does not exist :)
ok now i try in windows with virtualbox
-
lo sento... ormai ci siamo :) :) :)
-
Me lo sento...Tra italiani, russi, cinesi e inglesi, la strada è vicina :)
-
Sembra di stare in Piazza S.Pietro in attesa della fumata bianca....hhaaa
Le scritte in russo poi sono fantastiche.......per domenica forse avemus KK !!!
Inviato dal mio ZP980 usando Androidiani App
-
Posso fare i complimenti a questo forum in particolare a questo topic per come internazionalmente sta risolvendo il tutto?
Inviato dal mio ZP980 usando Androidiani App
-
Quote:
Originariamente inviato da
Voldemaar
Yes, lets speak english
Open in Windows or Linux with wine
Difference shows red label!
For dreamer7:
Давай тут на английском, чтобы Паоло понял нас. Смотри, ты открываешь кодеген от 4.4 используя dct 4.4
Затем выбираешь compare edit и открываешь свой кодеген от 4.2
Красным показывает разницу, ты ставишь в кодегене 4.4 так, как стоит в твоем от 4.2 во всех вкладках
Некоторые значения GPIO_XXX_XXX в DCT 4.4 отсутсвуют, на них не обращаешь внимание.
При сохранении ругнется, жми ОК.
For Paolo:
Look, you open codegen from 4.4 using dct 4.4
Then choose compare edit and open your kodegen from 4.2
Red shows the difference, you put in codegen 4.4 as standing in your from 4.2 in all tabs
Some values in the DCT 4.4 GPIO_XXX_XXX missed, they do not pay attention.
When you save, PUSH OK.
ok after changing the codegen I have the gyroscope working (before did not work)
But the accelerometer still does not work
I've tried different drivers, I think it just need to find the right one
now i'm compiling the whole rom (2 hours left) for check if front camera works
-
can you share your gyroscope driver?
-
Quote:
Originariamente inviato da
Voldemaar
can you share your gyroscope driver?
i use
codice:
CUSTOM_KERNEL_GYROSCOPE=mpu3050c
the driver is in the kernel
-
do you make any changes at driver?
-
Quote:
Originariamente inviato da
Voldemaar
do you make any changes at driver?
no :) (10 char)
-
-
Quote:
Originariamente inviato da
Voldemaar
cust gyro.c?
no, I have not changed anything about the gyroscope
he started to work automatically after I edited the codegen
-
Fai il punto della situazione paolo in inglese nn sono una cima
Inviato dal mio ZP980+ usando Androidiani App
-
Quote:
Originariamente inviato da
rambo96
Fai il punto della situazione paolo in inglese nn sono una cima
Inviato dal mio ZP980+ usando
Androidiani App
non è cambiato praticamente niente
in più si è solo messo a funzionare il giroscopio (che però non serve per la rotazione)
ho fatto diverse modifiche per quanto riguarda le 2 camere ma devo aspettare che finisca di compilare la rom intera (fra 1 oretta) per poter verificare se è cambiato qualcosa oppure no :)
-
La faccenda e lunga
Inviato dal mio ZP980 usando Androidiani App
-
Quote:
Originariamente inviato da
paolothlw8
non è cambiato praticamente niente
in più si è solo messo a funzionare il giroscopio (che però non serve per la rotazione)
ho fatto diverse modifiche per quanto riguarda le 2 camere ma devo aspettare che finisca di compilare la rom intera (fra 1 oretta) per poter verificare se è cambiato qualcosa oppure no :)
Paolo ho un'altra delle mie solite curiosità. Io ho sempre saputo che se modifichi qualche file sorgente di un progetto ben strutturato, rilanciando la compilazione si dovrebbero compilare solo i file modificati + le relative dipendenze e poi il link finale. Perchè quindi devi rifare sempre tutta la compilazione ? E sempre per colpa delle porcherie MTK .....
-
allora, adesso viene fuori il bottone per switchare fra la camera posteriore e quella anteriore quindi la camera viene vista però quando switcho crasha l'app
fra l'altro la camera posteriore non mette a fuoco
è un casino perchè i driver dello zopo (della camera posteriore) non ci sono in questo kernel e quindi sto cercando di usare quelli del kernel 4.2...devo riguardare un po' il tutto
Quote:
Originariamente inviato da
Almerino
Paolo ho un'altra delle mie solite curiosità. Io ho sempre saputo che se modifichi qualche file sorgente di un progetto ben strutturato, rilanciando la compilazione si dovrebbero compilare solo i file modificati + le relative dipendenze e poi il link finale. Perchè quindi devi rifare sempre tutta la compilazione ? E sempre per colpa delle porcherie MTK .....
guarda, il sistema di compilazione mtk fa decisamente schifo
cmq in teoria è come dici te (infatti con la cm non ricompili praticamente mai tutto) solo che non mi fido molto...magari faccio delle modifiche e poi in realtà non le aggiorna e mantiene i vecchi compilati e io penso che sono le modifiche che non funzionano :)
per il kernel non è un problema perchè la compilazione da zero impiega 4 minuti
la rom invece è un'altra storia...però fino ad adesso l'ho compilata solo 2 volte
magari al prossimo giro provo e vedo che succede :D
-
paolo, have not tried this kxtj2_auto accel?
Cheshkin mentioned that at JB he was kxtj9
on KK earned kxtj2_auto .
not the fact that the match but you can try
-
Quote:
Originariamente inviato da
dreamer7
paolo, have not tried this kxtj2_auto accel?
Cheshkin mentioned that at JB he was kxtj9
on KK earned kxtj2_auto .
not the fact that the match but you can try
I have read it
but there is no kxtj2_auto driver in the source
I found it in an old source of a mt6577 but it does not work
-
1 allegato(i)
si !! si !! si !!
funziona !! :D
Allegato 119637
-
Quote:
Originariamente inviato da
paolothlw8
si !! si !! si !!
funziona !! :D
Non avevo dubbi che ci saresti riuscito. Quindi cosa rimane da sistemare ? Notte
-
Quote:
Originariamente inviato da
paolothlw8
Quindi abbiamo KitKat funzionante al 100%? :D
-
Quote:
Originariamente inviato da
Almerino
Non avevo dubbi che ci saresti riuscito. Quindi cosa rimane da sistemare ? Notte
Quote:
Originariamente inviato da
Filippo1193
Quindi abbiamo KitKat funzionante al 100%? :D
c'è la bussola ancora da sistemare
e poi la questione delle 2 fotocamere
visto che i driver non ci sono voglio provare con 2 simili...solo che devo ricompilare la rom
domani mattina procedo :)
tutto il resto funziona
-
Quote:
Originariamente inviato da
paolothlw8
c'è la bussola ancora da sistemare
e poi la questione delle 2 fotocamere
visto che i driver non ci sono voglio provare con 2 simili...solo che devo ricompilare la rom
domani mattina procedo :)
tutto il resto funziona
Grandeee Paolo :) i miei complimenti :D
-
Paolo,how you fix it?
and which rom you used?
-
[QUOTE=paolothlw8;6028169]si !! si !! si !!
funziona !! :D
mamma mia ....non ci posso credere !!!!!!! ma chi sei??? rotflrotflrotflrotfl
-
1 allegato(i)
Quote:
Originariamente inviato da
Voldemaar
Paolo,how you fix it?
and which rom you used?
i found the kxtj2_auto driver in this source: https://bitbucket.org/DerTeufel/andr...6589/downloads
i get from this (in custom/g4s dir accelerometer) the drivers: kxtj2_auto, mma8453q_auto, src
and i have edited few things (i2c address)
btw, in attach u can find my modified files
ah, i use my compiled rom...in iq4400 rom sensors still do not work