paolothlw8, l2tp vpn not working
maybe need CONFIG_PPPOL2TP = y or CONFIG_L2TP = y in config
including if it is not difficult, hard for me without a VPN
Visualizzazione stampabile
paolothlw8, l2tp vpn not working
maybe need CONFIG_PPPOL2TP = y or CONFIG_L2TP = y in config
including if it is not difficult, hard for me without a VPN
he tried to build a kernel
resets the .config
produces errors during assembly
kernel/power/earlysuspend.c: In function ‘early_suspend’:
kernel/power/earlysuspend.c:153:3: error: implicit declaration of function ‘pm_autosleep_set_state’ [-Werror=implicit-function-declaration]
pm_autosleep_set_state(PM_SUSPEND_MEM);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:307: ошибка выполнения рецепта для цели «kernel/power/earlysuspend.o»
make[2]: *** [kernel/power/earlysuspend.o] Ошибка 1
CC kernel/time/alarmtimer.o
scripts/Makefile.build:443: ошибка выполнения рецепта для цели «kernel/power»
make[1]: *** [kernel/power] Ошибка 2
make[1]: *** Ожидание завершения заданий…
CC kernel/time/clockevents.o
CC kernel/time/tick-common.o
kernel/time/alarmtimer.c: In function ‘alarm_set_power_on’:
kernel/time/alarmtimer.c:197:35: error: ‘rtctimer’ undeclared (first use in this function)
rtc_timer_cancel(alarm_rtc_dev, &rtctimer);
^
kernel/time/alarmtimer.c:197:35: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:307: ошибка выполнения рецепта для цели «kernel/time/alarmtimer.o»
make[2]: *** [kernel/time/alarmtimer.o] Ошибка 1
scripts/Makefile.build:443: ошибка выполнения рецепта для цели «kernel/time»
make[1]: *** [kernel/time] Ошибка 2
Makefile:971: ошибка выполнения рецепта для цели «kernel»
make: *** [kernel] Ошибка 2
XDA has copied arm-cortex_a9-linux-gnueabihf-linaro_4.9.1-2014.05
is that correct?
something else is needed
for change the .config file you have to edit the file mediatek/config/mt6589/autoconfig/kconfig/platform
i edit in build.sh model to 980a and path to toolchain
i run -
./build.sh
We are actually building for vanzo89_wet_jb2 with ccache ../toolchain/arm-cortex_a9-linux-gnueabihf-linaro_4.9.1-2014.05/bin/arm-cortex_a9-linux-gnueabihf-
Copying specific files for ZOPO 980a
/home/ph7/zopo/kernel_ZOPO/mediatek/Makefile:86: warning: overriding recipe for target '/home/ph7/zopo/kernel_ZOPO/mediatek/custom/out/vanzo89_wet_jb2/hal/imgsensor/camera_calibration_cam_cal.cpp'
/home/ph7/zopo/kernel_ZOPO/mediatek/Makefile:86: warning: ignoring old recipe for target '/home/ph7/zopo/kernel_ZOPO/mediatek/custom/out/vanzo89_wet_jb2/hal/imgsensor/camera_calibration_cam_cal.cpp'
[CONFIG] generate /home/ph7/zopo/kernel_ZOPO/mediatek/config/out/vanzo89_wet_jb2/autoconfig/kconfig
File "/home/ph7/zopo/kernel_ZOPO/mediatek/build/tools/config/merge-kconfig.py", line 22
if not config[item]: print "# %s is not set"%item
^
SyntaxError: invalid syntax
make: *** No rule to make target '/home/ph7/zopo/kernel_ZOPO/mediatek/config/out/vanzo89_wet_jb2/autoconfig/kconfig', needed by 'mediatek-configs'. Stop.
run 2 times
./build.sh
We are actually building for vanzo89_wet_jb2 with ccache ../toolchain/arm-cortex_a9-linux-gnueabihf-linaro_4.9.1-2014.05/bin/arm-cortex_a9-linux-gnueabihf-
Copying specific files for ZOPO 980a
/home/ph7/zopo/kernel_ZOPO/mediatek/Makefile:86: warning: overriding recipe for target '/home/ph7/zopo/kernel_ZOPO/mediatek/custom/out/vanzo89_wet_jb2/hal/imgsensor/camera_calibration_cam_cal.cpp'
/home/ph7/zopo/kernel_ZOPO/mediatek/Makefile:86: warning: ignoring old recipe for target '/home/ph7/zopo/kernel_ZOPO/mediatek/custom/out/vanzo89_wet_jb2/hal/imgsensor/camera_calibration_cam_cal.cpp'
[COPY] /home/ph7/zopo/kernel_ZOPO/mediatek/config/out/vanzo89_wet_jb2/autoconfig/kconfig --> .config
[COPY] /home/ph7/zopo/kernel_ZOPO/mediatek/config/out/vanzo89_wet_jb2/autoconfig/kconfig --> .config
/home/ph7/zopo/kernel_ZOPO/mediatek/Makefile:86: warning: overriding recipe for target '/home/ph7/zopo/kernel_ZOPO/mediatek/custom/out/vanzo89_wet_jb2/hal/imgsensor/camera_calibration_cam_cal.cpp'
/home/ph7/zopo/kernel_ZOPO/mediatek/Makefile:86: warning: ignoring old recipe for target '/home/ph7/zopo/kernel_ZOPO/mediatek/custom/out/vanzo89_wet_jb2/hal/imgsensor/camera_calibration_cam_cal.cpp'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
*
* Restart config...
*
*
* General setup
*
Prompt for development and/or incomplete code/drivers (EXPERIMENTAL) [N/y/?] (NEW)
does not apply .config or kconfig/platform
what is wrong ?
probably u use python 3.x
for compile u need to use phyton 2.x
paolothlw8,Thank you.
yes the whole thing in python version.
not working out the script merge-kconfig.po
another question is .. build.hs ../mtk-tools/repack-MT65xx.pl need it?
and where to take it?
yes, mtk-tools is used to build a correct boot.img
[SCRIPTS] Unpack / repack MT65xx/MT83xx boot.img, recovery.img or logo.bin - XDA Forum
paolothlw8,
kernel build successful
but the phone refused to boot ( black screen)
on github config and other files corresponds to beta 7.x ?
I did not make changes in kernel config make as github version
i have updated the git with the last fix (b7.5) this morning
for boot u need to use the modules (.ko) from out/vanzo89_wet_jb2/system and repack (using mtk-tools) boot.img with your ramdisk files and zImage
paolothlw8, my reason, the kernel (boot.img) size is less than 7.5 kernel
in ramdisk dir files must be
data
dev
fstab.mt6589
init.cm.rc
init.modem.rc
... etc
?
in ramdisk dir u need to put the ramdisk files of the rom u use
get the boot.img from your rom, extract with mtk-tool (./unpack-MT65xx.pl boot.img)
after that you will have a dir boot.img-ramdisk, copy all files from this dir in ramdisk dir and recompile
paolothlw8,
Thanks it worked !!!
ok, nice :)
paolothlw8, l2tp vpn start
ipsec-sa enstablished and close connection. (
in logs Netd: exec() res=0, status=256 for /system/bin/iptables -t nat -D st_nat_POSTROUTING -o ccmni0 -m mark --mark 60 -j MASQUERADE
and other iptables 256 error...
after vpn - setting state=DISSCONNECTED, reason=exit
any idea ?
umh no :(
i never used l2tp (and a vpn)
on openvpn connection enstablished and correct working.
application (openvpn) asks at the start, I trust him (i say YES)
then what is the problem of access and security may
process does not run iptables
maybe is a rom issue
Oggi la batteria è durata dalle 7,00 alle 15,00
Ho anche eliminato la seconda SIM :(
lol certo che lo usi sto cell :D
prova a spegnere il s2w e dt2w (mettili a 0)....il touchpad sempre acceso sicuramente incide un po' sulla batteria anche se io non ho notato tutto questo consumo in più
Oggi, venerdì di luglio anche poco a dir il vero ;)
fantastico!!! zp980 con rom ColorOs e kernel 7.5 ,oggi si è superato!! acceso stamattina alle 7:00 ora sono le quasi 18:00.....udite,udite , batteria 84% !!!! ovviamente l'ho usato abbastanza per telefonare e sms internet poco, giochi per niente.
Ora proveró la Color...se consuma cosi meno della Miui :D
Edit: ricordo di averla tolta per l'impossibilità di impostare i tasti fisici (come la Miui per intenderci) è ancora così?
Nella Miui pressione tasto Back, torna indietro, pressione prolungata Chiude.
Pressione prolungata Home, app recenti...
Non mi sembrava così, e non ricordo si essere riuscito a cambiare :o
si beh più o meno :)
sulla coloros sono:
le app recenti le fai con pressione lunga su menù
back torna indietro, non so se pressione lunga chiude (mai usata questa funzione)
doppio tap su home manda in standby
no cmq non mi pare ci sia la possibilità di settare i vari tasti
No il tasto back prolungato non fa nulla , torna cmq indietro .
Inviato dal mio ZP980 2/32 ColorOs usando Androidiani App
Non so se può centrare qualcosa ma oggi e non mi era mai capitato, mi si è inchiodato il cellulare, ho dovuto togliere la batteria. Non so
Se può essere utile adesso ore 22 batteria al 72% da stamattina alle 7:00......incredibile!!!!
Inviato dal mio ZP980 usando Androidiani App
Devo essere sincero ieri è successo anche a me e da quando lo uso, ormai da quasi 9 mesi , non era mai accaduto . La mattina sono stato costretto a riavviare perché non riuscivo a mandare un sms dalla sim1 Tim poi nel pomeriggio si è bloccato dopo aver ricevuto una mail e per riaccenderlo ho tolto la batteria. Sto usando il kernel 7 notp2 e ColorOs 3.0
Inviato dal mio ZP980 2/32 ColorOs usando Androidiani App
a me praticamente mai successo
alcune prove che potete fare:
se state usando un governor alternativo mettete hotplug (è quello di default mediatek)
se usate s2w mettete a 0 il pocket detect
Scusa Paolo ma con me devi parlare più semplice ;-) cos'è il governor? Mica sarà politichese! Non uso il doppio tap infatti installai la no t2w, cmq me lo ha fatto una volta sola quindi ottimo lavoro il tuo ..... come sempre.
Inviato dal mio ZP980 2/32 ColorOs usando Androidiani App
beh se non sai cos'è il governor allora non l'hai cambiato sicuramente :p
cmq il governor serve a gestire la cpu, l'accensione/spegnimento dei core e lo scaling delle frequenze in base al carico di lavoro
puoi cambiarlo utilizzando app tipo no-frills cpu o setcpu
in questo kernel ho aggiunto 3 governor oltre a quelli standard
Ahimè non conoscevo queste app anche se avevo intuito si trattasse di qlcosa che dato la parola governasse il cuore del device. Grazie x la spiegazione ma ora sono curioso cosa mi suggerisci di fare ?
Inviato dal mio ZP980 2/32 ColorOs usando Androidiani App
se vuoi puoi provare
i 3 governor in più sono sakuractive, lulzactiveq e pegasusq
quello di default mediatek è hotplug
cmq non aspettarti grandi cambiamenti :)
Grazie ho scaricato no-frills cpu ora provo ad impostarli ...... vediamo come va ti faccio sapere
Inviato dal mio ZP980 2/32 ColorOs usando Androidiani App
Sono distrutto :( ho provato ieri sera la 22.2 di Marsapa...
Oggi acceso dalle 7,30 ha ancora il 35% di batteria...vero che il sabato e domenica non sono un test vero...
beh tieni quella se ti consuma meno :)
io non ho mai avuto differenze di durata fra una rom e un'altra (anche perchè le rom meditek alla fine sono tutte uguali)
per chi ha problemi con il tochpad che ogni tanto non funziona dopo l'accensione del display...
ho uploadato la beta 7.6 (solito link in prima pagina)
non sono sicuro che il problema sia risolto al 100% perchè a me non l'ha mai fatto (ed è sicuramente un problema che si verifica solo in determinate condizioni) quindi non so come testarlo...l'unica è provarlo un po' e vedere se si verifica ancora oppure no :)