Tuesday, March 22, 2016

Unlocking the Samsung S5 SCL23 AU


Installed a custom rom on your Japanese Samsung S5 and now it doesn't recognise your sim card?

Here's how I fixed mine..

1:  Remove the SIM card and do a factory reset

2: Use ODIN (version 3.09 is good) to install:

SCL23KDU1BNE4_SCL23KDI1BNE4_SCL23KDU1BNE4_HOME.tar.md5

(google will find it somewhere, the md5sum is cd0918f8b68361a490c26c39e8bb1ede)

As usual this involves running Odin as administrator, putting your Samsung phone into download mode (POWER + HOME + VOL-DOWN to reboot into Download mode and then VOL-UP to confirm) and then selecting the SCL23KDU1BNE4_SCL23KDI1BNE4_SCL23KDU1BNE4_HOME.tar.md5 file using the AP button in Odin and then pressing "Start".
Untick "Auto Reboot" in Odin.

Follow the log till it reports success.
Then boot into recovery. "POWER + HOME + VOL-UP".
It should automatically reboot into the system.
Choose english from the dropdown (or not)
Skip all the registrations for Samsung,Google,Dropbox etc, till you finally get to the homescreen.

3: Unlock the phone.

Open the phone and enter "*#9090#" to get to the Service Mode.
Use the menu to select "Key Input" and enter "Q0" and wait about 5 seconds for a new
menu to come up with the options:

1: PROTOCOL STATE
2: UE SETTINGS & INFO
...

  1. Click on option 2 "UE SETTINGS @ INFO"
  2. Click on option 1 "SETTING"
  3. Click on option 1 "PROTOCOL"
  4. Click on option 4 "GCF"
  5. Click on option 1 "GSM/..."
  6. Use the menu to select "Back"
  7. Use the menu to select "Back"
  8. Click on option 1 "AS"
  9. Click on option 1 "FREQUENCY LOCK"
  10. Click on option 7 "RESET"
  11. Click on option 1 "* AUTOMATIC"
  12. Take the battery out and insert the SIM card and reboot.

The sim card should now be unlocked.
Do not allow any updates to this Android to be installed as this will lock it again.
Instead install your rom of choice immediately using Odin and do a factory reset.


After that you can install TWRP recovery.
If you try to install the recovery without changing roms then the recovery installation
will fail.
So you initially have to install something else using Odin.
Probably the best option at the moment is SphinXv2a_For_GalaxyS5au_SCL23_Choimobile.vn.tar.md5  a rooted android 5.0 rom with NFC support working.
See: https://chiase24h.vn/threads/rom-tieng-viet-lolipop-fix-full-loi-cho-s5-au-scl23-cua-sphinx.3965/

Good luck!




































Thursday, April 30, 2015

Andrudio audio player for android

I've released an audio player for android that utilises the ffmpeg library for decoding audio.
You can also use libav if you prefer.




Wednesday, February 18, 2015

Bustoppa Android App

I've just released an android app of mine for finding out when the bus leaves around
Wellington, New Zealand.
It's called Bustoppa and you can download it here .

I'll be posting the source code on my github account shortly.


Thursday, January 29, 2015

Android SearchView demo

This is a small demonstration of how I managed to get the Android SearchView widget working nice.

You can find the source code here

This is a standalone app supporting android versions 8 -> 21 featuring:
enter image description here
enter image description here

Monday, November 24, 2014

Android Emulator Location Setter

Just uploaded a python script to https://github.com/danbrough/html_android_controller
for setting the GPS location on your android emulator.

It's a simple python webserver that presents a Google Map at http://localhost:8888 and when you click on the map it updates the emulators location with that location.

Test it with your own GPS enabled applications or use the "My Location Demo" in
the SDK sample app at: https://developers.google.com/maps/documentation/android/intro#sample_code


Friday, July 5, 2013

Nvidia 304.88 legacy drivers on linux 3.10

UPDATE: You shouldn't need this patch anymore and use the nvidia 304.108 driver instead.

Here's a patch to get the NVIDIA-Linux-x86_64-304.88 drivers running on the new linux 3.10 kernel. (also works on the 3.10.1 kernel)

If you use gentoo then you can place the patch in the /etc/portage/patches/x11-drivers/nvidia-drivers/ folder and it will automatically be applied to any nvidia-drivers compilation.

otherwise ..

# Download NVIDIA-Linux-x86_64-304.88.run and unpack:
sh NVIDIA-Linux-x86_64-304.88.run -x
cd NVIDIA-Linux-x86_64-304.88
# apply the patch
patch -p1 <  .. path to the patch file
# and install
./nvidia-installer

Feel free to leave a comment if this patch is useful.

Tuesday, July 2, 2013

Java API for mega.co.nz

I've been working on a java api for the mega.co.nz file storage service.

It includes a demo application for android.

Currently a work in progress .. but quite a bit of functionality is working.

Checkout the source via:

git clone https://github.com/danbrough/java_mega_api.git

You can then run the test application using maven:

mvn -DMEGA_API_KEY="your api key" test

You can get an API key from https://mega.co.nz/#sdk