Yet Another Blog

March 2, 2015

Connecting OnePlus One to GoPro wifi

Filed under: Android, gadgets — Tags: , , , , , , , , — guilleml @ 11:31 am

When I tried to connect my OnePlus One to my GoPro Hero 2 Wifi Bacpac I had a problem, the phone did keep waiting for dhcp to get al ip address so wifi connection didn’t pass “establishing connection” step.

What I did was connect to the phone via adb:

$adb shell

Once I had a terminal I searched in the log messages from dhcpcd to see what was happening:

$logcat -d | grep dhc

What I saw was:

I/dhcpcd ( 4957): version 5.5.6 starting
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
I/dhcpcd ( 4957): wlan0: broadcasting for a lease
I/dhcpcd ( 4957): wlan0: offered 10.5.5.109 from 10.5.5.9
W/dhcpcd ( 4957): wlan0: NAK: via 10.5.5.9
E/dhcpcd ( 4957): timed out
D/NetUtils( 772): dhcp_do_request failed : wlan0 (new)

I was receiving an ip but it wasn’t being set correctly, so I set a static IP in wifi configuration, as the image shows. I used the ip address the gopro was broadcasting 10.5.5.109.

Screenshot_2015-03-02-12-25-18

After that, the phone connects fine to the gopro and gopro app works 100% fine.

Advertisements

February 27, 2010

Apple’s iPod (bad) quality

Filed under: gadgets, ipod — Tags: , , , — guilleml @ 3:01 pm

I have a 5G iPod Video that I bought new some years ago, when it was a new model, 4 years ago I think and I’ve opened it today, I didn’t do it before and that’s weird in me.

My surprise was I found a screw behind the battery, that screw was from the harddisk, it didn’t make me happy, my iPod wasn’t supposed to be refurbished and if it is not, why the harddisk lost a screw? a harddisk never has to be opened, how was it built?

For the price I paid I was expecting something more, maybe…don’t know…all the screws in place?

iPod screw 1

iPod screw 2

June 21, 2008

SF-7500 serial cable

Filed under: gadgets, hacks — Tags: , , — guilleml @ 9:12 pm

The SF-7500 has a communication port to synchronize it with a computer as PDAs and smartphones do.

You had to buy an interface to connect between the SF-7500 and the computer serial port, but it was very easy tu build, I did it, but now it’s destroyed because I used the parts for other projects, anyway you just needed a RS232, 4 caps, a D9 connector and a small jack 3-pin connector.

The scheme was really simple, even the protocol used to communicate with the sf-7500 was simple, but you could use an application such as http://web.interware.hu/pclink/addleir.html to sync it with your computer.

You can find circuits on the web to build it yourself:

http://www.geocities.com/ciudadcasio/principal/interface/interface1.htm

Or can even buy it for 4$ with the software:

http://web.interware.hu/pclink/addlkab.html

April 10, 2008

FAR Manager with K750i@W800 cid49?

Filed under: gadgets, hacks — Tags: , , , , , , , , , — guilleml @ 11:32 am

Is it posible to access to the FS with FAR just as FAR does with cid36 mobiles? I’m looking forward to a way to do that without flashing the dumb MAIN everytime I want to change something in the FS.
Any explanation, comment, link…please?

April 7, 2008

Old fashion PDA

Filed under: computer, gadgets — Tags: , , , — guilleml @ 12:42 pm

Some years ago we didn’t have tactil screens, operating systems which allow to install software, colour screens…this is what I used:

Telephone book, Business card book, notes, schedule, world time, alarms and private area for each one of them, protected under password.

March 5, 2008

Fixing broken flash memory drive

Filed under: gadgets, hacks, Software — Tags: , , , , , , , , , , — guilleml @ 1:28 pm

I have an old 64MB usb flash drive, I use it at university since some computers still use USB 1.1 and windows XP, everytime I have used my 120GB external HD or the 30GB iPod I waited arround 10 ~ 15 minutes while windows was scanning the content, USB 1.1 is too slow.

Anyway, 64MB to store my source codes and some documents is enough.

One day my memory drive began to give read and write errors, I think I’ve used it too much, so I restored it making a low level format on it. Now it works very nice, it just has 45MB, but…what else can I ask?

The tool I used to make the low format is: http://hddguru.com/content/en/software/2006.04.12-HDD-Low-Level-Format-Tool/

February 25, 2008

Flashear k750 cid49

Filed under: gadgets, hacks — Tags: , , , , , , , , , — guilleml @ 6:30 pm

Para flashear se usa XS++.
Para aplicar parches al MAIN se usa Gslide.

El MAIN para el k750@w800 será W800_R1BC002_MAIN_EU_EMEA_RED49.bin.
Con Gslide se abre y se aplican los parches, la imagen generada se flashea en el terminal con XS++, sólo el MAIN, no el FS.

Parches probados y que funcionan:

Volumen más alto en el reproductor walkman:

; W800 R1BC002
; This is the max music output a k750i or w800i can give.
; After applying patch,switch to BASS in equalizer settings to
; use your media player in Full Throttle.
; By Atul Alex Cherian ("Aodrulez")
+44020000
65d346: 0500000003 0E0E0E0E0E

Selección de perfiles con el botón de encendido como en los Nokia:

;W800 SW-R1BC002
;Choosing a profile on short pressing buttons On / Off
;© IronMaster
;(p) jasiek
;v. 1
+44020000
e62320: 6D24E844 014E1D45
11b4e00: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 00B500280BD1032A09D181F719FF0028
11b4e10: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 05D1D6F496F90349ADF410FD00BD024D
11b4e20: FFFFFFFFFFFFFFFFFFFFFFFF A84700BD08122A446D24E844

El reproductor y la radio se detienen al desconectar el manos libres:

; W800 SW-R1BC002
; Player/radio off when handsfree is disconnected
; v1 fix
; © IronMaster
; (p) jasiek
+44020000
104a2f6: 257016E0 77F153FE
11c1fa0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2570FFB4094879F6CFFA002801D0A1F4
11c1fb0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AFF8074879F6C8FA002801D0A1F4A8F8
11c1fc0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFBC014FBF46FFFF29A30645A9BFF544
11c1fd0: FFFFFFFF 69D51245

Radio sin manos libres:

; W800 SW-R1BC002
; continue radio playing when you unplug headsets
; it's better to use with "radio without headsets" patch
; © Joker XT
4512B812: 051C 76E0

; W800 SW-R1BC002
; Radio without headset
; ©Phenomen
; (p) YAR
+44000000
112D490: 01D1 01E0

Desconectar circuito RF con el último perfil:

; W800 SW-R1BC002
; turn RF-circuits on/off by selecting a profile
; Ver 1.0
; select last profile to disable the phone's transmit and receive RF circuits, select any other to enable
; ©SiNgle
; (P)den_po
+44020000
e8bd70: 0104090C A847C046
e8bda4: F0CA2444 00491D45
11b4900: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DC402DE901002DE9060050E30600000A
11b4910: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 64109FE5010CA0E34C409FE5040000EB
11b4920: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 48509FE50200BDE8DC80BDE84C109FE5
11b4930: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F7FFFFEAFE402DE903002DE9B200D4E1
11b4940: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 000050E30200000A020084E20FE0A0E1
11b4950: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 1CF09FE50300BDE8002084E20FE0A0E1
11b4960: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 10F09FE5B200C4E1FE80BDE814700B4C
11b4970: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F0CA2444AD1EE844251EE844ADD17744
11b4980: FFFFFFFF D5D17744

Mostrar extensión de los ficheros:

;W800 SW-R1BC002
;Displays files with the extension
;(c) IronMaster
;(p) jasiek
+44020000
10D1918: AA1B 2A1C

Contraseña en los menús, explorador de ficheros, mensajes, etc…Se activa presionando Vol-:

;W800 SW-R1BC002
;Protection by the password of the important functions of phone
;Now it is possible on/off check of the password on pressing "Volume -"
;To disconnect check it is necessary to enter the password
;At deenergizing and inclusion that condition of check of the password which was before deenergizing is kept
;Ver 2.7
;(!) API v3.0
;(C) Joker XT
;(R) IronMaster
+44000000
29a7c0: 2983EA44 454F1D45 ; +"
;29A7C8: 7984EA44 454F1D45 ; -"
df1a68: 47F76CFE E3F3C6FA
e283da: FFF7DDFE ACF317FE
fa284e: 14F0B7FD 32F2E1FB
106e026: 14F609FC 66F1EDFF
d4b43c: C943002022F3C6FD 004CA047EF4F1D45
11d4f00: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 38B50D4C2578012D01D10025257038BD
11d4f10: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 094C2578012D0ED00125257000F04EF8
11d4f20: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2C4C2578012D06D17FB4044B04210222
11d4f30: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 034EB0477FBC70BD0078034C50130000
11d4f40: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF D550DE443EB51248ADF452FA00281ED1
11d4f50: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 1048ADF44DFA002819D100F02FF81D4C
11d4f60: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2578002D05D10125257000F01FF81B49
11d4f70: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 09E0012DF5D1164B00F036F800252570
11d4f80: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 00F014F803E0144A104892F609FB3EBD
11d4f90: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 457BD444994F1D4540680349884201D1
11d4fa0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 01207047002070479DA8F544FFB50122
11d4fb0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 084B0C480AA11BF071F8FFBDFFB50122
11d4fc0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 044B08A006A11BF01BF8FFBDFFFFFF6F
11d4fd0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 141000000278034C5AE600006E090000
11d4fe0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 31000000AAB13F4470B57FB49EE7C943
11d4ff0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 002098F6EDFF83E770B5014CA04787E7
11d5000: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 4597D34470B5ADF419FC89E770B553F4
11d5010: FFFFFFFFFFFFFFFFFFFFFFFF C3F87DE770B5E2F5D3F979E7

El anterior no funciona, me funcionó una versión anterior:

+44000000
29a7c8: 7984EA44 414B1D45
df1a68: 47F76CFE E3F392F8
e283da: FFF7DDFE ACF3E3FB
fa284e: 14F0B7FD 32F2ADF9
106e026: 14F609FC 66F1B9FD
d4b43c: C943002022F3C6FD 004CA047874B1D45
11d4b00: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 38B50C4C2578012D01D10025257038BD
11d4b10: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 084C2578012D0CD001252570154C2578
11d4b20: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 012D06D17FB4044B04210222034EB047
11d4b30: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 7FBC70BD0078034C50130000D550DE44
11d4b40: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 3EB50C4C2578002D03D1012525700B49
11d4b50: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 07E0012DF7D1064B00F012F800252570
11d4b60: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 03E0054A014892F61BFD3EBDFFFFFF6F
11d4b70: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 141000000278034C5AE600006E090000
11d4b80: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 70B57FB4D0E7C943002099F621FAB7E7
11d4b90: FFFFFFFFFFFFFFFFFFFFFFFF 70B5014CA047BBE74597D344
11d4b9c: FFFFFFFFFFFFFFFF 70B5ADF44DFEBBE7
11d4ba4: FFFFFFFFFFFFFFFF 70B553F4F7FAB1E7
11d4bac: FFFFFFFFFFFFFFFF 70B5E2F507FCADE7

(http://forums.se-nse.net/index.php?showtopic=8176)

Modificar el brillo en saltos de 10%, de 0 a 20% se desactiva la iluminación del teclado:

;W800 SW-R1BC002
;Advanced range of brightness adjustment
;You can regulate the brightness of 10 to 100%
;At value of 10% and 20% illumination of the keyboard is off
;Thank's goes to IronMaster for help with porting
;(c) IronMaster
;(p) jasiek
;fixed
+44020000
e91f52: 401D 401C
e92fcc: 011C262801D20020 00B55EF3CFF800BD
e92ffc: 042810D801A1095C 00B55EF3DDF800BD
e93058: 0522 0922
103f5a8: 242901D22424 0A2901D20A24
103f602: 2428 0A28
11f1170: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 142801D2002070471E2801D201207047
11f1180: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 282801D202207047322801D203207047
11f1190: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 3C2801D204207047462801D205207047
11f11a0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 502801D2062070475A2801D207207047
11f11b0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 642801D2082070470920704708281AD8
11f11c0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 01A1095C8F44C0460A0E12161A1E2226
11f11d0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2A000A207047142070471E2070472820
11f11e0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 7047322070473C207047462070475020
11f11f0: FFFFFFFFFFFFFFFFFFFF 70475A20704764207047

Mover drivers al directorio “Otros” del explorador en la memoria del teléfono:

;W800 SW-R1BC002
;Drivers for the camera, acoustics and display resides in the drv dir in Other
;/ifs/settings/acoustic/ --> /tpa/user/other/drv
;/ifs/settings/camera/ --> /tpa/user/other/drv
;/ifs/settings/display/ --> /tpa/user/other/drv
;Remember to copy the drivers and make the drv directory before flashing!
;version 4
;(c) afghanjohnny
+44020000

22E572: 6900660073002F00730065007400740069006E00670073002F00610063006F00750073007400690063002F 7400700061002F0075007300650072002F006F0074006800650072002F006400720076002F000000000000
3DDB9A: 6900660073002F00730065007400740069006E00670073002F00610063006F00750073007400690063 7400700061002F0075007300650072002F006F0074006800650072002F006400720076000000000000
3DDBC8: 6900660073002F00730065007400740069006E00670073002F00630061006D006500720061 7400700061002F0075007300650072002F006F0074006800650072002F0064007200760000
3DDBF2: 6900660073002F00730065007400740069006E00670073002F0064006900730070006C00610079 7400700061002F0075007300650072002F006F0074006800650072002F00640072007600000000

Mover directorio de idiomas a la memoria accesible del teléfono:

;W800 SW-R1BC002
;/tpa/system/language is pointed to /tpa/user/other/lng
;(c) by afghanjohnny
+44020000
1CB7DE: 7000720065007300650074002F00730079007300740065006D002F006C0061006E00670075006100670065 75007300650072002F006F0074006800650072002F006C006E006700000000000000000000000000000000
3DACA2: 730079007300740065006D002F006C0061006E00670075006100670065 75007300650072002F006F0074006800650072002F006C006E00670000

Almacenamiento ilimitado de mensajes:

/ifs/settings/messaging

En pref_store.txt cambiar “/sms data” a “/tpa” y guardar

Create a free website or blog at WordPress.com.