Edit: look here http://sesionesfrikis.blogspot.com.es/2015/02/n9000w-malware-finally-found.html
I received this new phone, and everything seems ok
Rooted with RoomMaster SU v2.0.8
http://www.mgyun.com/romastersu
After that, I made titanium backup from previous phone: Whatsapp, Telegram...
and everything ok
With titanium backup app I removed unwanted apps: Facebook Msn, yahoo, ...
Du Speed Booster, APUS Launcher, PlayApp
I see "Cooee launcher S4" and I am not sure if it is malware
I installed Nova Launcher, and Security Lock Screen, but I want to be sure if I can remove this launcher without side effects: in my previous phone there were some situations where previous launcher was started ...
After several days, I see some apps installed automatically... MALWARE!!!
Some of them (I think some of the removed also, like Du Speed Booster or something similar, about battery http://forums.androidcentral.com/general-help-how/365217-random-apps-keep-installing-themselves.html )
ShareIt: cc.taosha.toolbox.shareit (/data/app/cc.taosha.toolbox.shareit-1.apk)
Baidu Browser: com.baidu.browser.inter (/data/app/com.baidu.browser.inter-1.apk)
Avast detects shareit as a trojan, and Kinguser (com.kingroot.kinguser) as potentially unwanted.
There are two possibilities for me: Cooee Launcher S4" or may be king root
I see /system/app/cooee_note3_20131218.apk
Googling it some people suggest to do a factory reset... but it won't work, as it comes by default...
http://answers.informer.com/variations/663134/how-to-uninstall-cooee-launcher-s4/
http://www.techsupportquestions.com/2411/uninstall-launcher-malware-internal-storage-android-phone
¿but wich one? CooeLauncher is a system app, and removal seems to be dangerous (after nova install, I can make a backup with Titanium backup, and there is a /system/app mover app in Fdroid, but by making it user app instead system may not work). In the other hand, kinguser is started initially (it can be seen with SD Maid), and so it could make it.
I am going to remove kingroot, and after that check for some time. Kingroot can be installed again with romastersu if I need it...
One of unwanted apps is in chinese, as Romastersu ...
https://play.google.com/store/apps/details?id=cc.taosha.toolbox.shareit
The others
https://play.google.com/store/apps/details?id=com.baidu.browser.inter
One of the worst things: these unwanted apps are not only installed but also downloaded? at any time, I think that consuming bandwidth and bytes... but I am not able to identify anything in android traffic usage, as apps are small.
Update: after one day without kinguser, no more unwanted apps. I decided to install iRoot (iRoot2_2.0.6_141122_1811_1000_r.apk) which also install kinguser, and with app remover I noticed that
root@android:/storage/sdcard0/mgyun/root/app # ls
co.mc.tools.batterybooster_1_542038_ad65a2f81e50808a9aec27affde98caa.apk
com.beagleboys.nfceveryday_4_522889_337d05b29a5e8a160825133213ede2ba.apk
com.beardcocoon.castcountdown.android_6_522890_9a9577e294a10e628320e77888a9d6bb.apk
com.btakoss.flashlightcompass_2_523078_d6299309474702d11f36cdbb24578a0d.apk
com.salyangoz.automessage_6_471851_6d32d80f002752c9ad71ceb96d14dcfe.apk
So chinese root tool includes apks ... and maybe the apks are not downloaded, but installed when kinguser, which starts automaticaly with phone, decides so.
These apk are asociated with the main menu
I made another test, and installed RomasterSu_2.0.9_141226_1816_1000_r.apk (I deleted 2.0.8 version), and it did not put apks in the same folder.
I installed again iRoot2_2.0.6_141122_1811_1000_r.apk and I noticed the same folder is initially empty, so maybe it downloads it later, and it install them ... I can confirm the apps are installed without any prompt / user confirmation.
I should try to change kinguser by another su utility like superSU, but it seems not to be trivial: downloading from google play it does not install properly, it says su binary has to be udpated and it is unable to update it, so superSU finally does not work.
lunes, 29 de diciembre de 2014
sábado, 22 de noviembre de 2014
Aswering calls from upper half screen operative...
I have ordered a new phone, but in the meanwhile, I need to answer calls
https://play.google.com/store/apps/details?id=com.sch.answergesturefree
... reducing thresold (negative) value, and drawing just a horizontal line in the upper part of the screen, I can answer calls.
To end calls, I have configured power button in android
https://play.google.com/store/apps/details?id=com.sch.answergesturefree
... reducing thresold (negative) value, and drawing just a horizontal line in the upper part of the screen, I can answer calls.
To end calls, I have configured power button in android
miércoles, 19 de noviembre de 2014
Recovering files from android with broken and unresponsive screen
Mi "new phone" (August) is broken: my daughter was playing with it and it felt to the floor, and screen is broken.
It charges, usb works, buttons are working, but I am unable to even unlock screen, so I am unable un activate it as usb storage.
I have adb access, so I need to recover just files from internal memory; contacts and calendar are in gmail, so the info to extract are just some photos.
Instead of using adb pull / adb push for each file, ... searching I found this
http://qtadb.wordpress.com/download/
After that, I discovered that:
Unlock movements:
input swipe 100 700 600 300
Entering PIN:
input tap 300 500 is "5"
input tap 300 600 is "0"
input tap 100 500 is "4"
input tap 400 600 is "enter"
input keyevent 4 is "return"
input keyevent 82 is "menu"
http://developer.android.com/reference/android/view/KeyEvent.html
With that I have been able to remove screen lock configuration...
It charges, usb works, buttons are working, but I am unable to even unlock screen, so I am unable un activate it as usb storage.
I have adb access, so I need to recover just files from internal memory; contacts and calendar are in gmail, so the info to extract are just some photos.
Instead of using adb pull / adb push for each file, ... searching I found this
http://qtadb.wordpress.com/download/
After that, I discovered that:
Unlock movements:
input swipe 100 700 600 300
Entering PIN:
input tap 300 500 is "5"
input tap 300 600 is "0"
input tap 100 500 is "4"
input tap 400 600 is "enter"
input keyevent 4 is "return"
input keyevent 82 is "menu"
http://developer.android.com/reference/android/view/KeyEvent.html
With that I have been able to remove screen lock configuration...
sábado, 18 de octubre de 2014
.org and .es domains info. Cancelling .org domain in 1and1
Some time ago I bought two domains, .es and .org and I associated them to a Google Site.
In the beginnig the price was just 5€ each one, but after several years I realized I am not using at all .org domain, and, more important, .org domain "exposes" to all people personal data (email, phone number, even postal address!!...)
http://whois.domaintools.com/
Example for my .org domain (... replace personal data!)
Registrant ID:...
Registrant Name:...
Registrant Organization:
Registrant Street: ...
Registrant City:..
Registrant State/Province:...
Registrant Postal Code:...
Registrant Country:ES
Registrant Phone:+34.6...
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email:...
With .es domain this info is not so detailed, because it appears 1and1.
% NOTE: The registry for this domain name does not publish ownership
% records (whois records) in the standard format. This data
% represents the most likely status of the domain based on
% information provided by the Internet's domain name servers (DNS).
domain: xxxx.es
status: taken
nameserver: ns63.1and1.es
nameserver: ns64.1and1.es
% For more information, please visit http://www.nic.es/
www.nic.es redirects... Looking in
http://www.dominios.es/dominios/es/busca-tu-dominio
And there, info is just mail and name, but no phone number and postal address
https://www.nic.es/sgnd/dominio/publicDetalleDominio.action
So I decedid to cancel .org domain.
I didn't see any option about cancel in control panel, https://clientes.1and1.es/
Googling, I finally found this
http://www.joomlaempresa.es/es/tutoriales/trucos-para-webmaster/125-como-dar-de-baja-un-dominio-en-1and1.html
Login in https://contrato.1and1.es/ I was able to cancell .org keeping .es domain at the same time. I fixed the ending date as the date where end my contract for that domain: meanwhile I am going to redirect .org domain redirecting to a page where I inform that I am no longer using .org domain (right now I was redirecting both to the same Google site)
In the beginnig the price was just 5€ each one, but after several years I realized I am not using at all .org domain, and, more important, .org domain "exposes" to all people personal data (email, phone number, even postal address!!...)
http://whois.domaintools.com/
Example for my .org domain (... replace personal data!)
Registrant ID:...
Registrant Name:...
Registrant Organization:
Registrant Street: ...
Registrant City:..
Registrant State/Province:...
Registrant Postal Code:...
Registrant Country:ES
Registrant Phone:+34.6...
Registrant Phone Ext:
Registrant Fax:
Registrant Fax Ext:
Registrant Email:...
With .es domain this info is not so detailed, because it appears 1and1.
% NOTE: The registry for this domain name does not publish ownership
% records (whois records) in the standard format. This data
% represents the most likely status of the domain based on
% information provided by the Internet's domain name servers (DNS).
domain: xxxx.es
status: taken
nameserver: ns63.1and1.es
nameserver: ns64.1and1.es
% For more information, please visit http://www.nic.es/
www.nic.es redirects... Looking in
http://www.dominios.es/dominios/es/busca-tu-dominio
And there, info is just mail and name, but no phone number and postal address
https://www.nic.es/sgnd/dominio/publicDetalleDominio.action
DATOS DEL TITULAR | |
---|---|
Nombre del Dominio | xxx.es |
Estado | Activado |
Identificador | ... |
Titular | ... |
Fecha de Alta | 16-10-2012 |
Fecha de Caducidad | 16-10-2015 |
Agente Registrador | 1&1 INTERNET |
PERSONA DE CONTACTO ADMINISTRATIVO | |
---|---|
Identificador | 60D5D7-ESNIC-F5 |
Nombre | ... |
... | |
PERSONA DE CONTACTO TECNICO |
---|
Identificador | 2A7DD0-ESNIC-F5 |
Nombre | Hostmaster ONEANDONE |
hostmaster@1and1.es | |
SERVIDORES DNS | ||
---|---|---|
Nombre Servidor | IP | |
ns63.1and1.es | 217.160.82.170 | |
ns64.1and1.es | 217.160.83.170 |
So I decedid to cancel .org domain.
I didn't see any option about cancel in control panel, https://clientes.1and1.es/
Googling, I finally found this
http://www.joomlaempresa.es/es/tutoriales/trucos-para-webmaster/125-como-dar-de-baja-un-dominio-en-1and1.html
Login in https://contrato.1and1.es/ I was able to cancell .org keeping .es domain at the same time. I fixed the ending date as the date where end my contract for that domain: meanwhile I am going to redirect .org domain redirecting to a page where I inform that I am no longer using .org domain (right now I was redirecting both to the same Google site)
jueves, 9 de octubre de 2014
Removing old kernels in ubuntu
A very simple one:
Each time kernel is updated I realize there is some disk wasted with previous versions: I do not have grub menu, but I imagine it will contain a lot of them.
Looking for some info
https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels
It is easy to do it manually
But ¿how to do it automatically?
http://ubuntuforums.org/showthread.php?t=1961409
It seems some script on boot will do the job, but I think I will do it manually :-)
Each time kernel is updated I realize there is some disk wasted with previous versions: I do not have grub menu, but I imagine it will contain a lot of them.
Looking for some info
https://help.ubuntu.com/community/Lubuntu/Documentation/RemoveOldKernels
It is easy to do it manually
But ¿how to do it automatically?
http://ubuntuforums.org/showthread.php?t=1961409
It seems some script on boot will do the job, but I think I will do it manually :-)
miércoles, 1 de octubre de 2014
error: malformed file, press any key to continue. Ubuntu solution
Just getting this message on boot and looking for info
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247
Reading comments, this one is interesting
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247/comments/25
There are serveral links to workarounds, like this one
https://forum.manjaro.org/index.php?topic=10354.msg103451#msg103451but some people say no workaround work for them, and it appears to be a real solution
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247/comments/80
So, the more logical things to do are:
1- to wait for a grub2 update
2- look for a grub2 update compiled package
3- compile and install a grub2 update
The error is not critical, so it seems #3 is too much.
Just looking for the grub2 version installed, there wasn't installed? (I do not use grub menu, I have just ubuntu installed, so it may be not necessary)
dpkg -l grub or grub2
So I try
sudo apt-get install grub2
And it install it!
Se instalarán los siguientes paquetes NUEVOS:
grub2
...
Preparing to unpack .../grub2_2.02~beta2-9ubuntu1_amd64.deb ...
Unpacking grub2 (2.02~beta2-9ubuntu1) ...
After that I try
dpkg -l grub*
and it shows
||/ Nombre Versión Arquitectura Descripción
+++-===============================-====================-====================-====================================================================
un grub <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii grub-common 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader (common files)
un grub-coreboot <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-doc <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-efi <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-efi-amd64 <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-efi-ia32 <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-efi-ia64 <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-emu <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii grub-gfxpayload-lists 0.6 amd64 GRUB gfxpayload blacklist
un grub-ieee1275 <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-legacy <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-legacy-doc <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-linuxbios <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii grub-pc 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
un grub-xen <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-yeeloong <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii grub2 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader, version 2 (dummy package)
ii grub2-common 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader (common files for version 2)
So I see the package used is grub-pc (and I uninstall grub2 package)
Looking for #1 and #2, in new ubuntu version 14.10 utopic unicorn
https://launchpad.net/ubuntu/utopic/+package/grub-pc
there are .deb packages, but I am not sure if fix is included.
https://launchpad.net/ubuntu/utopic/+source/grub2/2.02~beta2-14
So I will wait for ubuntu 14.10, and after that, I will try again if I have time.
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247
Reading comments, this one is interesting
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247/comments/25
There are serveral links to workarounds, like this one
https://forum.manjaro.org/index.php?topic=10354.msg103451#msg103451but some people say no workaround work for them, and it appears to be a real solution
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1311247/comments/80
So, the more logical things to do are:
1- to wait for a grub2 update
2- look for a grub2 update compiled package
3- compile and install a grub2 update
The error is not critical, so it seems #3 is too much.
Just looking for the grub2 version installed, there wasn't installed? (I do not use grub menu, I have just ubuntu installed, so it may be not necessary)
dpkg -l grub or grub2
So I try
sudo apt-get install grub2
And it install it!
Se instalarán los siguientes paquetes NUEVOS:
grub2
...
Preparing to unpack .../grub2_2.02~beta2-9ubuntu1_amd64.deb ...
Unpacking grub2 (2.02~beta2-9ubuntu1) ...
After that I try
dpkg -l grub*
and it shows
||/ Nombre Versión Arquitectura Descripción
+++-===============================-====================-====================-====================================================================
un grub <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii grub-common 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader (common files)
un grub-coreboot <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-doc <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-efi <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-efi-amd64 <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-efi-ia32 <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-efi-ia64 <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-emu <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii grub-gfxpayload-lists 0.6 amd64 GRUB gfxpayload blacklist
un grub-ieee1275 <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-legacy <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-legacy-doc <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-linuxbios <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii grub-pc 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
un grub-xen <ninguna> <ninguna> (no hay ninguna descripción disponible)
un grub-yeeloong <ninguna> <ninguna> (no hay ninguna descripción disponible)
ii grub2 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader, version 2 (dummy package)
ii grub2-common 2.02~beta2-9ubuntu1 amd64 GRand Unified Bootloader (common files for version 2)
So I see the package used is grub-pc (and I uninstall grub2 package)
Looking for #1 and #2, in new ubuntu version 14.10 utopic unicorn
https://launchpad.net/ubuntu/utopic/+package/grub-pc
there are .deb packages, but I am not sure if fix is included.
https://launchpad.net/ubuntu/utopic/+source/grub2/2.02~beta2-14
So I will wait for ubuntu 14.10, and after that, I will try again if I have time.
martes, 30 de septiembre de 2014
Inkscape trunk from PPA in ubuntu 14.04, error loading .svg files from wikimedia
I was trying to edit some .svg files from wikimedia
http://commons.wikimedia.org/wiki/File:Plum_pudding_atom.svg
http://commons.wikimedia.org/wiki/File:Rutherford_gold_foil_experiment_results.svg
But using inkscape from ubuntu 14.05 I was getting an error: unable to load.
Running from console
inkscape Rutherford_gold_foil_experiment_results.svg
...Rutherford_gold_foil_experiment_results.svg:18: namespace warning : xmlns: URI &ns_svg; is not absolute
xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSV
^
...
Just searching it seems to be a bug
https://bugs.launchpad.net/inkscape/+bug/166371
and it seems logical, as one of .svg files says
Drawn by User:Fastfission in Illustrator and Inkscape. --Fastfission 15:04, 14 April 2008 (UTC)
It appears as fixed in Inkscape 0.48.5... but in ubuntu I have 0.48.4
So... I check this
https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk
and I install inkscape-trunk, which removes inkscape (I also have LibreOfficeDev which coexists with LibreOffice)... and it works.
http://commons.wikimedia.org/wiki/File:Plum_pudding_atom.svg
http://commons.wikimedia.org/wiki/File:Rutherford_gold_foil_experiment_results.svg
But using inkscape from ubuntu 14.05 I was getting an error: unable to load.
Running from console
inkscape Rutherford_gold_foil_experiment_results.svg
...Rutherford_gold_foil_experiment_results.svg:18: namespace warning : xmlns: URI &ns_svg; is not absolute
xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSV
^
...
Just searching it seems to be a bug
https://bugs.launchpad.net/inkscape/+bug/166371
and it seems logical, as one of .svg files says
Drawn by User:Fastfission in Illustrator and Inkscape. --Fastfission 15:04, 14 April 2008 (UTC)
It appears as fixed in Inkscape 0.48.5... but in ubuntu I have 0.48.4
So... I check this
https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk
and I install inkscape-trunk, which removes inkscape (I also have LibreOfficeDev which coexists with LibreOffice)... and it works.
martes, 23 de septiembre de 2014
Recovering format from old document badly converted to Microsoft Word
I have just received an old document, with .doc extension
It is eduaction related: I am not sharing any detail, not even the file name, just some screenshots with minimum details
It has an awful format when it is imported in LibreOfficeDev 4.3
It seems to have been written with QuarkXPress (it has different margins for even and odd pages, something typical in that tool), and after that, it was exported to Microsoft Word, so somehow all format was lost in conversion, and it is imposible to recover it (for example, hyphenation is now "hard coded" in document, so this has to be solved by hand ... or by a smart macro)
Some info, with "file" in unbutu. The file it is just a Microsoft Word document (it could be another format but just renamed as .doc)
XXX.doc: Composite Document File V2 Document, Little Endian, Os: Windows, Version 6.1, Code page: 1252, Title: IES Calatalifa, Author: USUARIO, Template: Normal.dotm, Last Saved By: DIRECCION, Revision Number: 2, Name of Creating Application: Microsoft Office Word, Total Editing Time: 03:00, Last Printed: Wed Jul 2 09:48:00 2014, Create Time/Date: Wed Sep 10 09:07:00 2014, Last Saved Time/Date: Wed Sep 10 09:07:00 2014, Number of Pages: 103, Number of Words: 24344, Number of Characters: 133897, Security: 0
The options to change format are minimal:
-The whole document has the same style, just one style applied
-Each page as its own "frame", so trying to select the whole document with "Ctrl+A" just selects one page....
There are two landscape pages where the situation is even worse: in the Microsoft Word conversion, EACH CHARACTER! is in its own frame ...
So, it has to be done manually.
The document has just 69 pages, and no images, with not too much formating (just a vertical table): there is no other option but to recover all text, to make a new document, undo manual hyphenations, and start formating from zero.
1. How to recover all text?
-Portrait "normal pages": select page by page in LibreOffice ... or export it as pdf, and copy from pdf, where "Ctrl+A" allows full selection
-Landscape pages: selection from LibreOffice is not possible (just one character), and from pdf table format is lost, and character have spaces between them...
Trying
pdftotext -layout -f 67 -l 68 XXX.pdf
there is a somehow cleaner output, but with spaces between characteres anyway
It is eduaction related: I am not sharing any detail, not even the file name, just some screenshots with minimum details
It has an awful format when it is imported in LibreOfficeDev 4.3
It seems to have been written with QuarkXPress (it has different margins for even and odd pages, something typical in that tool), and after that, it was exported to Microsoft Word, so somehow all format was lost in conversion, and it is imposible to recover it (for example, hyphenation is now "hard coded" in document, so this has to be solved by hand ... or by a smart macro)
Some info, with "file" in unbutu. The file it is just a Microsoft Word document (it could be another format but just renamed as .doc)
XXX.doc: Composite Document File V2 Document, Little Endian, Os: Windows, Version 6.1, Code page: 1252, Title: IES Calatalifa, Author: USUARIO, Template: Normal.dotm, Last Saved By: DIRECCION, Revision Number: 2, Name of Creating Application: Microsoft Office Word, Total Editing Time: 03:00, Last Printed: Wed Jul 2 09:48:00 2014, Create Time/Date: Wed Sep 10 09:07:00 2014, Last Saved Time/Date: Wed Sep 10 09:07:00 2014, Number of Pages: 103, Number of Words: 24344, Number of Characters: 133897, Security: 0
The options to change format are minimal:
-The whole document has the same style, just one style applied
-Each page as its own "frame", so trying to select the whole document with "Ctrl+A" just selects one page....
There are two landscape pages where the situation is even worse: in the Microsoft Word conversion, EACH CHARACTER! is in its own frame ...
So, it has to be done manually.
The document has just 69 pages, and no images, with not too much formating (just a vertical table): there is no other option but to recover all text, to make a new document, undo manual hyphenations, and start formating from zero.
1. How to recover all text?
-Portrait "normal pages": select page by page in LibreOffice ... or export it as pdf, and copy from pdf, where "Ctrl+A" allows full selection
-Landscape pages: selection from LibreOffice is not possible (just one character), and from pdf table format is lost, and character have spaces between them...
Trying
pdftotext -layout -f 67 -l 68 XXX.pdf
there is a somehow cleaner output, but with spaces between characteres anyway
sábado, 6 de septiembre de 2014
Secure screen lock android: Security Lock Screen Beta
I want to use a secure lock in android
This post is not about global security: I know that USB debug should be disabled in order to avoid screen lock bypass...
http://forum.xda-developers.com/showthread.php?t=2620456
I just want to have a good screen lock. I have installed personal certificates and slide is not allowed, but I do not like just pin, password and just 3x3 pattern
In badadroid, with CyanogenMod, I was using 6x6 pattern, with CyanLock ... but CyanLock is not available in other ROMs.
I do not want change just the look
http://forum.xda-developers.com/showthread.php?t=1330063
My objectives are:
1-Avoid camera and widgets
2-Avoid pin and password: too long for a simple unlock task: some kind of pattern more complicated
For 1, I find this, that should do it:
https://play.google.com/store/apps/details?id=com.wordpress.chislonchow.deviceadminkeyguard
Tested and ok
And for 2, maybe this app... but is in korean language!
https://play.google.com/store/apps/details?id=com.lsh.kwj.secure.lock.screen
I find this
https://play.google.com/store/ apps/details?id=co.kr.generic. ocr_kor
And after testing it with some of Google Play's screenshots... I dared to install it
And I finally find it already translated to English
Clearing credentials, it works, I configure a 6x6 pattern, and it is mandatory a Backup PIN
I see that previous app is not necessary any more: enabling camera and widgets there are disabled with this app.
To remove it, I must disable it previously in settings > security
Where I see what does it mean to activate it for this new app
One more thing: I disable Clean Master Floating widget, as it appears over this "screen lock" (you can see it in the right margin in previous screenshots)
After that, final result
The status bar is not available, as expected, so I need some workaround for a screenshot
http://blog.shvetsov.com/2013/02/grab-android-screenshot-to-computer-via.html
$ adb shell screencap -p /storage/sdcard1/screen.png* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ adb pull /storage/sdcard1/screen.png
688 KB/s (58859 bytes in 0.083s)
$ adb shell rm /storage/sdcard1/screen.png
Update: somehow, whatever status I have, checked or unchecked, in "Enable Statusbar in Lock Screen", I am able to scroll down status bar.
Anyway, if I check "Enable full screen", it is imposible to scroll down status bar, so it disable it ok.
I check that the reason is to have as "default launcher" Cool Launcher, not this app, but there is no the option to change it!?
Uninstalling and instaling again the app, I configure it again as default laucher and "Enable Statusbar in Lock Screen" works again as expected.
Comments:
-I see some bizarre behaviour when screen locks while writing in gmail app... it doesn't allow to unlock, but it allows to input data !
-And language is English in date, ignoring locale (SAT instead óf "Sáb")
Update: there are some mistakes: "TUR" instead "THU" for Thursday.
This post is not about global security: I know that USB debug should be disabled in order to avoid screen lock bypass...
[Android][Guide]Hacking And Bypassing Android Password/Pattern/Face/PI |
http://forum.xda-developers.com/showthread.php?t=2620456
I just want to have a good screen lock. I have installed personal certificates and slide is not allowed, but I do not like just pin, password and just 3x3 pattern
In badadroid, with CyanogenMod, I was using 6x6 pattern, with CyanLock ... but CyanLock is not available in other ROMs.
I do not want change just the look
[GUIDE] Pattern Lock Tweaks - Wallpaper Brightness, Pattern Lock Dots, etc. |
http://forum.xda-developers.com/showthread.php?t=1330063
My objectives are:
1-Avoid camera and widgets
2-Avoid pin and password: too long for a simple unlock task: some kind of pattern more complicated
For 1, I find this, that should do it:
https://play.google.com/store/apps/details?id=com.wordpress.chislonchow.deviceadminkeyguard
Tested and ok
And for 2, maybe this app... but is in korean language!
https://play.google.com/store/apps/details?id=com.lsh.kwj.secure.lock.screen
I find this
https://play.google.com/store/
And after testing it with some of Google Play's screenshots... I dared to install it
And I finally find it already translated to English
Two things:
It is mandatory to configure this app as primary launcher, and the previous launcher as the second one.
It is mandatory to configure this app as primary launcher, and the previous launcher as the second one.
In this way it works with any ROM, but, it will be possible somehow to add another option in settings > security > Screen lock ?
This app says "If use system lock, double-lock. If you not want double-lock, press button and select None"
However,
"Disable System Lock" button do not start settings to disable it, and I
am not able to do it, because I have installed a PKCS 12 certificate,
and I see this.
"None. Disable by administrator, encryption policy, or credential storage"So after pattern, I have again previous pin.Clearing credentials, it works, I configure a 6x6 pattern, and it is mandatory a Backup PIN
I see that previous app is not necessary any more: enabling camera and widgets there are disabled with this app.
To remove it, I must disable it previously in settings > security
Where I see what does it mean to activate it for this new app
One more thing: I disable Clean Master Floating widget, as it appears over this "screen lock" (you can see it in the right margin in previous screenshots)
After that, final result
The status bar is not available, as expected, so I need some workaround for a screenshot
http://blog.shvetsov.com/2013/02/grab-android-screenshot-to-computer-via.html
$ adb shell screencap -p /storage/sdcard1/screen.png* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ adb pull /storage/sdcard1/screen.png
688 KB/s (58859 bytes in 0.083s)
$ adb shell rm /storage/sdcard1/screen.png
Update: somehow, whatever status I have, checked or unchecked, in "Enable Statusbar in Lock Screen", I am able to scroll down status bar.
Anyway, if I check "Enable full screen", it is imposible to scroll down status bar, so it disable it ok.
I check that the reason is to have as "default launcher" Cool Launcher, not this app, but there is no the option to change it!?
Uninstalling and instaling again the app, I configure it again as default laucher and "Enable Statusbar in Lock Screen" works again as expected.
Comments:
-I see some bizarre behaviour when screen locks while writing in gmail app... it doesn't allow to unlock, but it allows to input data !
-And language is English in date, ignoring locale (SAT instead óf "Sáb")
Update: there are some mistakes: "TUR" instead "THU" for Thursday.
jueves, 4 de septiembre de 2014
gestiona.madrid.org, @firma minapplet, and Java 8
In april I was able to use ubuntu 14.04 64 bits and firefox to do online processes in madrid.org: two years ago it was impossible to use linux, and I was using a VirtualBox VM with winXP just for this.
Some details here: http://docentesconeducacion.es/viewtopic.php?f=129&t=1022
But today I have had a problem: I needed to do some online process in madrid.org, and the applet @firma was not working
With this link, I verified "why" @firma was not working
https://gestiona.madrid.org/ereg_virtual_v2/run/j/InicioRequisitos.icm?ASF=S
"
Error al cargar el Applet @firma. Debe permitir en su navegador siempre la ejecución del MiniApplet @firma.
"
¿How do I allow browser to run it?
Adding as security exception
https://gestiona.madrid.org
with
/opt/java/64/jre1.8.0_11/bin$ ./ControlPanel
does not solve it
Remembering... in june I was playing with java 8: I finally installed at the same time java 7 and java 8, with this tutorial
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
I have been using java 8 in firefox without problem (not too much use, holidays...)
So after some tests, I decided to return to java 7 with
After that I see the option
"Restaurar peticiones de datos de seguridad"
(Restore security data prompts)
And with that option... it is not working again, neither java 7 nor java 8...
But at least it was working the time I need it ...
This friki sessions are "as well documented" as I can ... I write this after some time and sometimes it may be not accurate
Maybe I am not really with java 7 but java 8?
I check here
/usr/bin$ ls -l *java*
-rwxr-xr-x 1 root root 2513 abr 8 00:49 dh_nativejava
lrwxrwxrwx 1 root root 22 oct 22 2013 java -> /etc/alternatives/java
lrwxrwxrwx 1 root root 23 jul 26 16:14 javac -> /etc/alternatives/javac
lrwxrwxrwx 1 root root 25 jul 26 16:14 javadoc -> /etc/alternatives/javadoc
lrwxrwxrwx 1 root root 32 jul 26 16:14 javafxpackager -> /etc/alternatives/javafxpackager
lrwxrwxrwx 1 root root 23 jul 26 16:14 javah -> /etc/alternatives/javah
lrwxrwxrwx 1 root root 23 jul 26 16:14 javap -> /etc/alternatives/javap
lrwxrwxrwx 1 root root 30 ago 21 09:52 javapackager -> /etc/alternatives/javapackager
lrwxrwxrwx 1 root root 25 jul 26 16:20 java_vm -> /etc/alternatives/java_vm
lrwxrwxrwx 1 root root 24 nov 16 2013 javaws -> /etc/alternatives/javaws And after
sudo update-java-alternatives -s java-7-oracle
This is the result
/etc/alternatives$ ls -l *java*
lrwxrwxrwx 1 root root 39 sep 5 00:18 java -> /usr/lib/jvm/java-7-oracle/jre/bin/java
lrwxrwxrwx 1 root root 45 sep 5 00:18 java.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/java.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:18 javac -> /usr/lib/jvm/java-7-oracle/bin/javac
lrwxrwxrwx 1 root root 46 sep 5 00:18 javac.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javac.1.gz
lrwxrwxrwx 1 root root 38 sep 5 00:18 javadoc -> /usr/lib/jvm/java-7-oracle/bin/javadoc
lrwxrwxrwx 1 root root 48 sep 5 00:18 javadoc.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javadoc.1.gz
lrwxrwxrwx 1 root root 45 sep 5 00:18 javafxpackager -> /usr/lib/jvm/java-7-oracle/bin/javafxpackager
lrwxrwxrwx 1 root root 55 sep 5 00:18 javafxpackager.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javafxpackager.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:18 javah -> /usr/lib/jvm/java-7-oracle/bin/javah
lrwxrwxrwx 1 root root 46 sep 5 00:18 javah.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javah.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:18 javap -> /usr/lib/jvm/java-7-oracle/bin/javap
lrwxrwxrwx 1 root root 46 sep 5 00:18 javap.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javap.1.gz
lrwxrwxrwx 1 root root 43 ago 21 09:52 javapackager -> /usr/lib/jvm/java-8-oracle/bin/javapackager
lrwxrwxrwx 1 root root 53 ago 21 09:52 javapackager.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javapackager.1.gz
lrwxrwxrwx 1 root root 42 jul 26 16:20 java_vm -> /usr/lib/jvm/java-7-oracle/jre/bin/java_vm
lrwxrwxrwx 1 root root 41 sep 5 00:18 javaws -> /usr/lib/jvm/java-7-oracle/jre/bin/javaws
lrwxrwxrwx 1 root root 47 sep 5 00:18 javaws.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javaws.1.gz
lrwxrwxrwx 1 root root 52 sep 5 00:18 mozilla-javaplugin.so -> /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so
After
sudo update-java-alternatives -s java-8-oracle
the result...
/etc/alternatives$ ls -l *java*
lrwxrwxrwx 1 root root 39 sep 5 00:22 java -> /usr/lib/jvm/java-8-oracle/jre/bin/java
lrwxrwxrwx 1 root root 45 sep 5 00:22 java.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/java.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:22 javac -> /usr/lib/jvm/java-8-oracle/bin/javac
lrwxrwxrwx 1 root root 46 sep 5 00:22 javac.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javac.1.gz
lrwxrwxrwx 1 root root 38 sep 5 00:22 javadoc -> /usr/lib/jvm/java-8-oracle/bin/javadoc
lrwxrwxrwx 1 root root 48 sep 5 00:22 javadoc.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javadoc.1.gz
lrwxrwxrwx 1 root root 45 sep 5 00:22 javafxpackager -> /usr/lib/jvm/java-8-oracle/bin/javafxpackager
lrwxrwxrwx 1 root root 55 sep 5 00:22 javafxpackager.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javafxpackager.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:22 javah -> /usr/lib/jvm/java-8-oracle/bin/javah
lrwxrwxrwx 1 root root 46 sep 5 00:22 javah.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javah.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:22 javap -> /usr/lib/jvm/java-8-oracle/bin/javap
lrwxrwxrwx 1 root root 46 sep 5 00:22 javap.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javap.1.gz
lrwxrwxrwx 1 root root 43 ago 21 09:52 javapackager -> /usr/lib/jvm/java-8-oracle/bin/javapackager
lrwxrwxrwx 1 root root 53 ago 21 09:52 javapackager.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javapackager.1.gz
lrwxrwxrwx 1 root root 42 jul 26 16:20 java_vm -> /usr/lib/jvm/java-7-oracle/jre/bin/java_vm
lrwxrwxrwx 1 root root 41 sep 5 00:22 javaws -> /usr/lib/jvm/java-8-oracle/jre/bin/javaws
lrwxrwxrwx 1 root root 47 sep 5 00:22 javaws.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javaws.1.gz
lrwxrwxrwx 1 root root 52 sep 5 00:22 mozilla-javaplugin.so -> /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so
Back with java 7 (links with java 7)
https://www.java.com/es/download/installed.jsp
says it is java 8 1?
Searching...
$ ls -l /usr/lib/mozilla/plugins/libjava*
lrwxrwxrwx 1 root root 39 jul 1 21:04 /usr/lib/mozilla/plugins/libjavaplugin.so -> /etc/alternatives/mozilla-javaplugin.so$ ls -l /etc/alternatives/mozilla-javaplugin.so
lrwxrwxrwx 1 root root 52 sep 5 00:23 /etc/alternatives/mozilla-javaplugin.so -> /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so
I did have a link
~/.mozilla/plugins$ ls -ltr
...abr 22 16:58 libnpjp2.so -> /opt/java/64/jre1.7.0_55/lib/amd64/libnpjp2.so
Deleting it and restarting ...
Nothing changes: firefox says java 8, but
$java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)??
I read again first link about java 8, and I install (not previously installed)
sudo apt-get install oracle-java7-set-default
And I decide to do that
sudo apt-get --reinstall install oracle-java7-installer
But it says java 8 !
I try that
sudo apt-get remove oracle-java8-installer
...
Removing oracle-java8-installer (8u20+8u6arm-1~webupd8~0) ...
update-binfmts: warning: current package is oracle-java8, but binary format already installed by openjdk-7; not removing.
And now it says java 8 update 11 !?
So I decide to remove more ...
Removing openjdk-7-jre:amd64 (7u65-2.5.1-4ubuntu1~0.14.04.2) ...
update-alternatives: atención: no existe la alternativa /usr/lib/jvm/java-8-oracle/jre/bin/policytool (parte del grupo de enlaces policytool); eliminándola de la lista de alternativas
But still says Version 8 Update 11
Maybe I did something manually in June?
I search in
ls -l /opt/java/64
jun 17 06:21 jre1.7.0_65
jun 17 02:37 jre1.8.0_11
So there it is ...
My java versions with first link are 1.7.0_67 and 1.8 update 20!,
So the right place is
ls -l /usr/lib/jvm
drwxr-xr-x 4 root root 4096 jun 1 17:53 java-1.5.0-gcj-4.8-amd64
lrwxrwxrwx 1 root root 20 oct 12 2013 java-1.7.0-openjdk-amd64 -> java-7-openjdk-amd64
drwxr-xr-x 5 root root 4096 nov 16 2013 java-6-openjdk-amd64
drwxr-xr-x 5 root root 4096 oct 22 2013 java-7-openjdk-amd64
drwxr-xr-x 8 root root 4096 sep 5 01:13 java-7-oracle
I remove stuff from /opt/java/64 and also java-1.5.0-gcj-4.8-amd64 directory.
And, finally ... I see
And @firma (without firefox restart) works again!
So I try to install java 8 at the same time to be able to switch... I remember now why I installed java 8
http://www.fiquipedia.es/home/recursos/simulaciones#TOC-Modellus
...luego portado a linux y Mac como Modellus X.0x (en julio 2014 v0.5RC)
http://modellus.co/index.php/es/
La versión 0.5RC necesita java 8, y la instalación en linux necesita JavaFx y acceso a la librería libGlass.so
After installing
Finally something under control... but
Version of java says java 8.20 ... ¿somehow says the last version?
With java 8, Firefox "about:addons" version is different
UPDATE: March 2015
Same error again!
I see
ls -l /usr/lib/jvm
total 12
drwxr-xr-x 5 root root 4096 sep 30 22:30 java-7-openjdk-amd64
drwxr-xr-x 8 root root 4096 mar 12 16:19 java-7-oracle
drwxr-xr-x 8 root root 4096 mar 5 22:51 java-8-oracle
I see no openjdk package: I remove it by hand: at /usr/lib/jvm/, sudo rm -rf java-7-openjdk-amd64/
Java 8 is latest 8u40; I remove it with sudo apt-get remove oracle-java8-*
But it does not work
I added https://gestiona.madrid.org, https://gestiona3.madrid.org and
https://gestiona4.madrid.org in ControlPanel
I search for more *java* packages
java-wrappers and java-common
I decide to remove java-wrappers package, wich removes vuze
But with the other
sudo apt-get remove java-common
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios no han sido creados o han
sido movidos fuera de Incoming.
La siguiente información puede ayudar a resolver la situación:
Los siguientes paquetes tienen dependencias incumplidas:
openjdk-7-jre : Depende: openjdk-7-jre-headless (= 7u75-2.5.4-1~trusty1)
E: Error, pkgProblemResolver::Resolve generó cortes, esto puede haber sido causado por paquetes retenidos.
So I decide to install openjdk-7-jre it just to uninstall it, to check if it resolves problems and it clean system.
After that
sudo apt-get remove java-common
....
Los siguientes paquetes tienen dependencias incumplidas:
libatk-wrapper-java : Depende: default-jre o
java2-runtime
libatk-wrapper-java-jni : Depende: default-jre o
java2-runtime
After default-jre install, I am able to do
sudo apt-get remove java-common
...
Los siguientes paquetes se ELIMINARÁN:
ca-certificates-java default-jre default-jre-headless icedtea-netx
java-common libatk-wrapper-java libatk-wrapper-java-jni openjdk-7-jre
openjdk-7-jre-headless oracle-java7-installer oracle-java7-set-default
It removes everything... clean system
After that, I install again oracle-java7-installer (no tests with higher versions by the moment)
Nothing ... I see java9, install it and just unistall, with that message:
update-binfmts: warning: current package is openjdk-6, but binary format already installed by openjdk-7; not removing.
http://askubuntu.com/questions/259096/update-binfmts-warning
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/328174
jar (enabled):
package = openjdk-7
type = magic
offset = 0
magic = PK\x03\x04
mask =
interpreter = /usr/bin/jexec
detector =
I manually remove it
sudo update-binfmts --package openjdk-7 --remove jar /usr/bin/jexec
But nothing
I enable log in ControlPanel, log is in home, .java/log/plugin4163214517788429134.log
5:58:01 PM es.gob.afirma.miniapplet.MiniAfirmaApplet init
INFO: Localizacion por defecto: null
5:58:01 PM es.gob.afirma.keystores.misc.JarSignatureCertExtractor insertJarSignerOnCACerts
WARNING: Error en la validacion de los certificados contra el almacen de Java
5:58:01 PM es.gob.afirma.keystores.misc.JarSignatureCertExtractor a
INFO: El extremo de la cadena de certificados esta en el truststore de Java
5:58:01 PM es.gob.afirma.keystores.misc.JarSignatureCertExtractor insertJarSignerOnCACerts
INFO: Los certificados de firma del JAR ya son de confianza para el usuario
Buscando esos errores encuentro esto, que tiene pinta de ser : fecha de octubre 2014, problema con applet y nuevas versiones java...
http://listas-ctt.administracionelectronica.gob.es/pipermail/clienteafirma-integradores/2014-October/000623.html
[Clienteafirma-integradores] Problema Firefox Miniapplet con java update 72 / java 8 update 25
Con la última actualización de java ha dejado de funcionar.
Si se prueba bajando la versión de java a la 1.6 a pesar que el
navegador te advierte que hay que actualizarlo funciona.
Some details here: http://docentesconeducacion.es/viewtopic.php?f=129&t=1022
But today I have had a problem: I needed to do some online process in madrid.org, and the applet @firma was not working
With this link, I verified "why" @firma was not working
https://gestiona.madrid.org/ereg_virtual_v2/run/j/InicioRequisitos.icm?ASF=S
"
Error al cargar el Applet @firma. Debe permitir en su navegador siempre la ejecución del MiniApplet @firma.
"
¿How do I allow browser to run it?
Adding as security exception
https://gestiona.madrid.org
with
/opt/java/64/jre1.8.0_11/bin$ ./ControlPanel
does not solve it
Remembering... in june I was playing with java 8: I finally installed at the same time java 7 and java 8, with this tutorial
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
I have been using java 8 in firefox without problem (not too much use, holidays...)
So after some tests, I decided to return to java 7 with
sudo update-java-alternatives -s java-7-oracle
And with that, it is working againAfter that I see the option
"Restaurar peticiones de datos de seguridad"
(Restore security data prompts)
And with that option... it is not working again, neither java 7 nor java 8...
But at least it was working the time I need it ...
This friki sessions are "as well documented" as I can ... I write this after some time and sometimes it may be not accurate
Maybe I am not really with java 7 but java 8?
I check here
/usr/bin$ ls -l *java*
-rwxr-xr-x 1 root root 2513 abr 8 00:49 dh_nativejava
lrwxrwxrwx 1 root root 22 oct 22 2013 java -> /etc/alternatives/java
lrwxrwxrwx 1 root root 23 jul 26 16:14 javac -> /etc/alternatives/javac
lrwxrwxrwx 1 root root 25 jul 26 16:14 javadoc -> /etc/alternatives/javadoc
lrwxrwxrwx 1 root root 32 jul 26 16:14 javafxpackager -> /etc/alternatives/javafxpackager
lrwxrwxrwx 1 root root 23 jul 26 16:14 javah -> /etc/alternatives/javah
lrwxrwxrwx 1 root root 23 jul 26 16:14 javap -> /etc/alternatives/javap
lrwxrwxrwx 1 root root 30 ago 21 09:52 javapackager -> /etc/alternatives/javapackager
lrwxrwxrwx 1 root root 25 jul 26 16:20 java_vm -> /etc/alternatives/java_vm
lrwxrwxrwx 1 root root 24 nov 16 2013 javaws -> /etc/alternatives/javaws And after
sudo update-java-alternatives -s java-7-oracle
This is the result
/etc/alternatives$ ls -l *java*
lrwxrwxrwx 1 root root 39 sep 5 00:18 java -> /usr/lib/jvm/java-7-oracle/jre/bin/java
lrwxrwxrwx 1 root root 45 sep 5 00:18 java.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/java.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:18 javac -> /usr/lib/jvm/java-7-oracle/bin/javac
lrwxrwxrwx 1 root root 46 sep 5 00:18 javac.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javac.1.gz
lrwxrwxrwx 1 root root 38 sep 5 00:18 javadoc -> /usr/lib/jvm/java-7-oracle/bin/javadoc
lrwxrwxrwx 1 root root 48 sep 5 00:18 javadoc.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javadoc.1.gz
lrwxrwxrwx 1 root root 45 sep 5 00:18 javafxpackager -> /usr/lib/jvm/java-7-oracle/bin/javafxpackager
lrwxrwxrwx 1 root root 55 sep 5 00:18 javafxpackager.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javafxpackager.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:18 javah -> /usr/lib/jvm/java-7-oracle/bin/javah
lrwxrwxrwx 1 root root 46 sep 5 00:18 javah.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javah.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:18 javap -> /usr/lib/jvm/java-7-oracle/bin/javap
lrwxrwxrwx 1 root root 46 sep 5 00:18 javap.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javap.1.gz
lrwxrwxrwx 1 root root 43 ago 21 09:52 javapackager -> /usr/lib/jvm/java-8-oracle/bin/javapackager
lrwxrwxrwx 1 root root 53 ago 21 09:52 javapackager.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javapackager.1.gz
lrwxrwxrwx 1 root root 42 jul 26 16:20 java_vm -> /usr/lib/jvm/java-7-oracle/jre/bin/java_vm
lrwxrwxrwx 1 root root 41 sep 5 00:18 javaws -> /usr/lib/jvm/java-7-oracle/jre/bin/javaws
lrwxrwxrwx 1 root root 47 sep 5 00:18 javaws.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javaws.1.gz
lrwxrwxrwx 1 root root 52 sep 5 00:18 mozilla-javaplugin.so -> /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so
After
sudo update-java-alternatives -s java-8-oracle
the result...
/etc/alternatives$ ls -l *java*
lrwxrwxrwx 1 root root 39 sep 5 00:22 java -> /usr/lib/jvm/java-8-oracle/jre/bin/java
lrwxrwxrwx 1 root root 45 sep 5 00:22 java.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/java.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:22 javac -> /usr/lib/jvm/java-8-oracle/bin/javac
lrwxrwxrwx 1 root root 46 sep 5 00:22 javac.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javac.1.gz
lrwxrwxrwx 1 root root 38 sep 5 00:22 javadoc -> /usr/lib/jvm/java-8-oracle/bin/javadoc
lrwxrwxrwx 1 root root 48 sep 5 00:22 javadoc.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javadoc.1.gz
lrwxrwxrwx 1 root root 45 sep 5 00:22 javafxpackager -> /usr/lib/jvm/java-8-oracle/bin/javafxpackager
lrwxrwxrwx 1 root root 55 sep 5 00:22 javafxpackager.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javafxpackager.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:22 javah -> /usr/lib/jvm/java-8-oracle/bin/javah
lrwxrwxrwx 1 root root 46 sep 5 00:22 javah.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javah.1.gz
lrwxrwxrwx 1 root root 36 sep 5 00:22 javap -> /usr/lib/jvm/java-8-oracle/bin/javap
lrwxrwxrwx 1 root root 46 sep 5 00:22 javap.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javap.1.gz
lrwxrwxrwx 1 root root 43 ago 21 09:52 javapackager -> /usr/lib/jvm/java-8-oracle/bin/javapackager
lrwxrwxrwx 1 root root 53 ago 21 09:52 javapackager.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javapackager.1.gz
lrwxrwxrwx 1 root root 42 jul 26 16:20 java_vm -> /usr/lib/jvm/java-7-oracle/jre/bin/java_vm
lrwxrwxrwx 1 root root 41 sep 5 00:22 javaws -> /usr/lib/jvm/java-8-oracle/jre/bin/javaws
lrwxrwxrwx 1 root root 47 sep 5 00:22 javaws.1.gz -> /usr/lib/jvm/java-8-oracle/man/man1/javaws.1.gz
lrwxrwxrwx 1 root root 52 sep 5 00:22 mozilla-javaplugin.so -> /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so
Back with java 7 (links with java 7)
https://www.java.com/es/download/installed.jsp
says it is java 8 1?
Versión de Java verificada
Enhorabuena.
Tiene instalada la versión de Java recomendada (Version 8 Update 20).Searching...
$ ls -l /usr/lib/mozilla/plugins/libjava*
lrwxrwxrwx 1 root root 39 jul 1 21:04 /usr/lib/mozilla/plugins/libjavaplugin.so -> /etc/alternatives/mozilla-javaplugin.so$ ls -l /etc/alternatives/mozilla-javaplugin.so
lrwxrwxrwx 1 root root 52 sep 5 00:23 /etc/alternatives/mozilla-javaplugin.so -> /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so
I did have a link
~/.mozilla/plugins$ ls -ltr
...abr 22 16:58 libnpjp2.so -> /opt/java/64/jre1.7.0_55/lib/amd64/libnpjp2.so
Deleting it and restarting ...
Nothing changes: firefox says java 8, but
$java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)??
I read again first link about java 8, and I install (not previously installed)
sudo apt-get install oracle-java7-set-default
And I decide to do that
sudo apt-get --reinstall install oracle-java7-installer
But it says java 8 !
I try that
sudo apt-get remove oracle-java8-installer
...
Removing oracle-java8-installer (8u20+8u6arm-1~webupd8~0) ...
update-binfmts: warning: current package is oracle-java8, but binary format already installed by openjdk-7; not removing.
And now it says java 8 update 11 !?
So I decide to remove more ...
Removing openjdk-7-jre:amd64 (7u65-2.5.1-4ubuntu1~0.14.04.2) ...
update-alternatives: atención: no existe la alternativa /usr/lib/jvm/java-8-oracle/jre/bin/policytool (parte del grupo de enlaces policytool); eliminándola de la lista de alternativas
But still says Version 8 Update 11
Maybe I did something manually in June?
I search in
ls -l /opt/java/64
jun 17 06:21 jre1.7.0_65
jun 17 02:37 jre1.8.0_11
So there it is ...
My java versions with first link are 1.7.0_67 and 1.8 update 20!,
So the right place is
ls -l /usr/lib/jvm
drwxr-xr-x 4 root root 4096 jun 1 17:53 java-1.5.0-gcj-4.8-amd64
lrwxrwxrwx 1 root root 20 oct 12 2013 java-1.7.0-openjdk-amd64 -> java-7-openjdk-amd64
drwxr-xr-x 5 root root 4096 nov 16 2013 java-6-openjdk-amd64
drwxr-xr-x 5 root root 4096 oct 22 2013 java-7-openjdk-amd64
drwxr-xr-x 8 root root 4096 sep 5 01:13 java-7-oracle
I remove stuff from /opt/java/64 and also java-1.5.0-gcj-4.8-amd64 directory.
And, finally ... I see
Versión de Java verificada
Enhorabuena.
Tiene instalada la versión de Java recomendada (Version 7 Update 67).And @firma (without firefox restart) works again!
So I try to install java 8 at the same time to be able to switch... I remember now why I installed java 8
http://www.fiquipedia.es/home/recursos/simulaciones#TOC-Modellus
...luego portado a linux y Mac como Modellus X.0x (en julio 2014 v0.5RC)
http://modellus.co/index.php/es/
La versión 0.5RC necesita java 8, y la instalación en linux necesita JavaFx y acceso a la librería libGlass.so
After installing
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
(it removes oracle-java7-set-default)sudo update-java-alternatives -s java-8-oracle
It is not working again, butsudo apt-get install oracle-java7-set-default
(it removes oracle-java8-set-default)sudo update-java-alternatives -s java-7-oracle
@firma works again ...Finally something under control... but
Version of java says java 8.20 ... ¿somehow says the last version?
With java 7, Firefox "about:addons" says
Java(TM) Plug-in 10.67.2Next Generation Java Plug-in 10.67.2 for Mozilla browsers
...
application/x-java-applet;jpi-version=1.7.0_67 (Java™ Plug-in),
application/x-java-bean;jpi-version=1.7.0_67 (Java™ Plug-in),
and "about:plugins" Java(TM) Plug-in 10.67.2
Archivo: libnpjp2.so
Ruta: /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so
With java 8, Firefox "about:addons" version is different
UPDATE: March 2015
Same error again!
I see
ls -l /usr/lib/jvm
total 12
drwxr-xr-x 5 root root 4096 sep 30 22:30 java-7-openjdk-amd64
drwxr-xr-x 8 root root 4096 mar 12 16:19 java-7-oracle
drwxr-xr-x 8 root root 4096 mar 5 22:51 java-8-oracle
I see no openjdk package: I remove it by hand: at /usr/lib/jvm/, sudo rm -rf java-7-openjdk-amd64/
Java 8 is latest 8u40; I remove it with sudo apt-get remove oracle-java8-*
But it does not work
I added https://gestiona.madrid.org, https://gestiona3.madrid.org and
https://gestiona4.madrid.org in ControlPanel
I search for more *java* packages
java-wrappers and java-common
I decide to remove java-wrappers package, wich removes vuze
But with the other
sudo apt-get remove java-common
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios no han sido creados o han
sido movidos fuera de Incoming.
La siguiente información puede ayudar a resolver la situación:
Los siguientes paquetes tienen dependencias incumplidas:
openjdk-7-jre : Depende: openjdk-7-jre-headless (= 7u75-2.5.4-1~trusty1)
E: Error, pkgProblemResolver::Resolve generó cortes, esto puede haber sido causado por paquetes retenidos.
So I decide to install openjdk-7-jre it just to uninstall it, to check if it resolves problems and it clean system.
After that
sudo apt-get remove java-common
....
Los siguientes paquetes tienen dependencias incumplidas:
libatk-wrapper-java : Depende: default-jre o
java2-runtime
libatk-wrapper-java-jni : Depende: default-jre o
java2-runtime
After default-jre install, I am able to do
sudo apt-get remove java-common
...
Los siguientes paquetes se ELIMINARÁN:
ca-certificates-java default-jre default-jre-headless icedtea-netx
java-common libatk-wrapper-java libatk-wrapper-java-jni openjdk-7-jre
openjdk-7-jre-headless oracle-java7-installer oracle-java7-set-default
It removes everything... clean system
After that, I install again oracle-java7-installer (no tests with higher versions by the moment)
Nothing ... I see java9, install it and just unistall, with that message:
update-binfmts: warning: current package is openjdk-6, but binary format already installed by openjdk-7; not removing.
http://askubuntu.com/questions/259096/update-binfmts-warning
https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/328174
jar (enabled):
package = openjdk-7
type = magic
offset = 0
magic = PK\x03\x04
mask =
interpreter = /usr/bin/jexec
detector =
I manually remove it
sudo update-binfmts --package openjdk-7 --remove jar /usr/bin/jexec
But nothing
I enable log in ControlPanel, log is in home, .java/log/plugin4163214517788429134.log
5:58:01 PM es.gob.afirma.miniapplet.MiniAfirmaApplet init
INFO: Localizacion por defecto: null
5:58:01 PM es.gob.afirma.keystores.misc.JarSignatureCertExtractor insertJarSignerOnCACerts
WARNING: Error en la validacion de los certificados contra el almacen de Java
5:58:01 PM es.gob.afirma.keystores.misc.JarSignatureCertExtractor a
INFO: El extremo de la cadena de certificados esta en el truststore de Java
5:58:01 PM es.gob.afirma.keystores.misc.JarSignatureCertExtractor insertJarSignerOnCACerts
INFO: Los certificados de firma del JAR ya son de confianza para el usuario
Buscando esos errores encuentro esto, que tiene pinta de ser : fecha de octubre 2014, problema con applet y nuevas versiones java...
http://listas-ctt.administracionelectronica.gob.es/pipermail/clienteafirma-integradores/2014-October/000623.html
[Clienteafirma-integradores] Problema Firefox Miniapplet con java update 72 / java 8 update 25
Con la última actualización de java ha dejado de funcionar.
Si se prueba bajando la versión de java a la 1.6 a pesar que el
navegador te advierte que hay que actualizarlo funciona.
miércoles, 3 de septiembre de 2014
Whatsapp more than a year subscription not working?
I would like to pay for 3 or 5 years, not just one: I send to myself a payment link from the app, but link in paypal only offers 1 year subscription?
Googling, I find that
http://dayures.blogspot.com.es/2013/06/very-easy-how-to-pay-whatsapp-using.html
And information is correct: md5sum in the url is as link describes, but changing sku=3 or sku=5 does not change nothing ?
I have no idea how to solve it ...
Googling, I find that
http://dayures.blogspot.com.es/2013/06/very-easy-how-to-pay-whatsapp-using.html
And information is correct: md5sum in the url is as link describes, but changing sku=3 or sku=5 does not change nothing ?
I have no idea how to solve it ...
Suscribirse a:
Entradas (Atom)