Pagina 1 di 1

[ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 06/07/2012, 16:42
di Tayeb
i have updated to 2.3.5 version 12 (update_forse v12.zip).

I have an issue with A3 star's bluetooth. SPP connection fails (after of course pairing is done). It seems it is a problem with MTK6573 devices correct? Bluettoth works for file transfer with app such as luetoth File Transfer (connects, sends data). Any solution?

Also the instaççed 2.3.5 update from here, appears as GT-I9100 not A3 Star, correct?

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 06/07/2012, 21:58
di fpm_paolo
Tayeb {L_WROTE}:i have updated to 2.3.5 version 12 (update_forse v12.zip).

I have an issue with A3 star's bluetooth. SPP connection fails (after of course pairing is done). It seems it is a problem with MTK6573 devices correct? Bluettoth works for file transfer with app such as luetoth File Transfer (connects, sends data). Any solution?
what do you mean with SPP? Please explain it.
Tayeb {L_WROTE}:Also the instaççed 2.3.5 update from here, appears as GT-I9100 not A3 Star, correct?
yes man, if I remember well it was called so in order to avoid compatibility issues with Google Play Store.

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 07/07/2012, 19:54
di Tayeb
Thank you for your prompt response.

I have understood why GT-I9000.

SPP (Serial Port Profile) or RFCOMM works on my Qualcomm Odys Space Tablet but not on MTK6573 A3 Star. It seems to be an issue with everyone else. I saw in movilesdualsim.com a patch but it does not resolve RFCOMM connection problem. For example if one wants to run Bluetooth Chat app if we do "connect", no connection occurs with response "unable to connect".

My original "false" ICS4.0 xincun 1.2 also had the same problem. You can pair but cannot connect.

Can you provide the lastest link to version 12 ROM? When installing the ROM I have installed it says version 10 by pirolisi.

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 17/07/2012, 14:27
di Tayeb
I have bluetooth issue resolved programatically.

On A3 Star's one can connect in SPP mode to external devices, such as microcontrollers, using Reflection method in Eclipse, and build ones' own "hacked" apps.

Technically speaking, the reason is that the widely used connection method CreateInsecureRfcommSocketToServiceRecord() was only included starting with Android API Level 10. When targeting an API lower than 10 (ex 2.3.3 or Gingerbread), the method is not publicly accessible. The Reflection method overcomes that.

So in my A3 Star I have now a fully working Android market's BlueTerm, an app that I use for my engineering tests with external devices. I had to hack into BlueTerm source code (it is publicly available at http://pymasde.es/blueterm/) in order to change the method of connection to the Reflection one. Effectively, from now on, I will be able to write new apps for my A3 Star, using Reflection method. The Reflection method is only valid for situations like mine in using a HTC Clone.

Looking into libraries for MTK6573, one notes that they were made in 2008, and were never updated. Perhaps in China (the primary target of MTk processors) they don't use SPP at all, and are insensible to techie learners like me wanting to use SPP connection in bluetooth.

On Reflection method among others, you can read at http://stackoverflow.com/questions/5308 ... in-android

Moral of history:
if you want a fully working smartphone don't buy in China and if you really want to risk, check beforehand on the reliability of your supplier. However I confess, I have an inside feeling of gratitude to the chinese, because if everything was working fine, I would have had no challenges to overcome, and would have not learnt much about Android bluetooth implementations. In fact all credit is due to vast community of tech enthusiasts on the Web sharing knowledge. No doubt, it is difficult to filtrate Web solutions. To be fair to the chinese, bluetooth is an issue in many non-chinese Android phones. One just needs to google with "android bluetooth unable to connect". The chinese manufacturers don't make available source codes, while non-chinese manufacturers do, or have "leaked" source codes. Source codes mean opportunity to hack and to improve.

I will publish my solution in my tech blog http://redacacia.wordpress.com where I share techie matters. I will inform here as soon as I have published an article on "hacked" Blueterm app and bluetooth SPP solution for HCT clones such as A3 Star

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 17/07/2012, 15:39
di frk
Thank you for sharing what you have learned Tayeb.

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 17/07/2012, 21:01
di Tayeb
Perhaps members and visitors may like to know that I have published the technical article in my english language blog at:

http://redacacia.wordpress.com/2012/07/ ... on-method/

Any suggestions and sharing of codes will be appreciated.

I thought of publishing here also the article but it may be not adequate to the forum. Correct moderators and admin?

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 17/07/2012, 21:23
di frk
It's ok, as you prefer. ...just don't use our forum only to promote your blog ;-)

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 17/07/2012, 23:12
di Tayeb
Honestly no. It is a purely technical blog, sharing knowledge for knowledge's sake. You will see if it you visit it. This was a forum I came to when I wanted an update for my A3 Star. Here you also share without any preconditions. Knowledge belongs to all and we have to be generous wih it.

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 18/07/2012, 13:52
di frk
:applausi: :applausi: :applausi:

Re: [ANDROID] Rom Update Star A3 2.3.5 new version

MessaggioInviato: 19/07/2012, 0:49
di Tayeb
I'd like to announce that I have made available for download BlueTerm apk that works in both conventional bluetooth connection and alternate method in HTC, Motorola and others including A3 Star. Anyone that downloads the free app must read the disclaimer:

http://redacacia.wordpress.com/2012/07/18/blueterm-app-for-most-android-devices/