Tuesday, November 15, 2016

Beacon and Egg For Breakfast

It's been a while since I wrote something (uhm like anyone cares bro :D)

Someone recently introduce me to Beacons which really got my attention. I think I haven't heard it here in the Philippines that's why I'm trying to learn about this technology and how it works (and possibly implement it in the future).

So what actually is a (Bluetooth) Beacon?
Bluetooth beacons are hardware transmitters - a class of Bluetooth low energy (LE) devices that broadcast their identifier to nearby portable electronic devices. The technology enables smartphones, tablets and other devices to perform actions when in close proximity to a beacon. - Wikipedia
As far as my understanding goes.. Basically it uses BLE or Blueooth low energy technology to advertise signal which can be received or detected by other devices like smartphones. Although mostly you can see it as a hardware transmitter it can also be emulated or spoofed using a smartphones or other devices like arduino. Since I'm more on software development (duh you're a programmer bro) I'm more interested on developing Beacon emulation on a smartphone. I tested a few libraries to try some features and functionalities and found out that there's a few known formats available and possibly just them.

1. iBeacon (Apple) - Apple defined iBeacon prefix, followed by a variable UUID, and a major, minor pair.
2. Eddystone-UID (Google) - A unique, static ID with a 10-byte Namespace component and a 6-byte Instance component.
3. Eddystone-URL (Google) - A compressed URL that, once parsed and decompressed, is directly usable by the client.
4. Eddystone-TLM (Google) - Beacon status data that is useful for beacon fleet maintenance, and powers Google Proximity Beacon API's diagnostics endpoint. -TLM should be interleaved with an identifying frame such as Eddystone-UID or Eddystone-EID (for which the encrypted eTLM version preserves security).
5. Eddystone-EID (Google) - A time-varying beacon frame that can be resolved to a stable identifier by a linked resolver, such as Proximity Beacon API.
6. AltBeacon (Radius Networks) - is made up of a 1-byte length field, 1-byte type field and two-byte company identifier, as prescribed by the Manufacturer Specific Advertising Data structure format, followed by 24 additional bytes containing the beacon advertisement data.

Most of them are almost the same in a way that they all broadcast a unique id iBeacon, Eddystone-UID and AltBeacon. I haven't tried all of them but I personally like Eddystone-URL which advertises a Web URL. I think there's a lot of application for this one since it pushes a URL and you can do plenty of things with it. iBeacon is trademark of Apple and Eddystone is a trademark of Google. AltBeacon on the other hand is an initiative by Radius Network for an open and interoperable specification for proximity beacons.

I have tried building a sample app using Cordova and this library by petermetz from github since Cordova was my first choice. Unfortunately I'm an android user and currently it doesn't support advertisement (yet) although the developer mentioned that it will be included in the future. I chose Cordova because I can't code in Java that means I have a higher chance on making an app using it lol. Anyway, I found a much more complete library using AltBeacon library which is open source by the way. It's probably complete it can parse and emulate any format mentioned above which is nice since you can switch anytime depends on your preference. Currently I'm testing their sample for Xamarin. Xamarin uses C# as language for their mobile development platform and it is the closest language I can understand lol.

Also, while browsing for resources I also came across with the word "The Physical Web" which sparks my curiosity, again :D Currently I'm planning on playing with Eddystone URL format and The Physical Web which works well together and probably make a useful app with it.

My first app in PlayStore I hope! ;)

Tuesday, May 24, 2016

MU Origin Text Fader (Gradient)

Haha! Just for fun.

I've been playing this game recently called MU Origin SEA. Since I'm still new to the game I became curious when I saw a player chatting with a different text color. I was puzzled on how he did it because there's no option for text color. Then I found out how. MU uses hex code for coloring the text similar to HTML/CSS. The only difference is, it is enclosed in brackets. Before, I use an online text fader to generate HTML color codes then replaced the tags with brackets but I got tired so I decided to make my own :)


Check the screenshot for example.

Unfortunately you can only use this with Android emulators since this is only for PC.

How to use.
1. Type the text you want to have a fade effect.
2. Click Generate button. (NOTE: Generate automatically copies the text to the clipboard so you can easily paste it to the emulator window.)
3. Optionally you can click the Copy button just to make sure it is in the clipboard.

Download
Virus Scan

Tuesday, November 24, 2015

Best of Pinoy Republic ft. GFX Artists of PR (RARE) e-Magazine/Page flip

Galing baul. Heh.





Friday, February 27, 2015

[PORT] TWRP for ME Rainbow 7 Quadcore (Eken GT70S-HD)

Too much effort for a cheap tablet eh? Haha.

Here's my ported version of TWRP for my beloved tablet lol. All function works except.. it can't mount external sd.

Installation
1. Copy the zip file (TWRP_for_ME_Rainbow7.zip) to your internal storage (not in External SD)
2. Flash it via Stock recovery.
3. Reboot

To check if it works
- Goto to Settings > Backup & >Reset Recovery Mode
or
- You can check my earlier post to enable/enter recovery mode using hardware keys(Volume Up + Power).

Download

Saturday, February 21, 2015

Enable/Enter Recovery Mode in ME Rainbow 7 Quadcore (Eken GT70S-HD) using Volume Up + Power button

This is a modified script.bin. You can push it manually in your tablets bootloader or use the bat file included in the zip file below.

If your are curious or you want to modify your script by yourself(for security purposes if you are in doubt :D). You can pull your tablet's script.bin convert it to fex and edit it.

Find this part.

[recovery_key]
key_min = 4
key_max = 6

 I forgot the default value. Just change the values same as above. Convert it back to bin and push it to your tablet.

NOTE: You must enable USB debugging in your tablet in Developer option.

Download

ME Rainbow 7 Quadcore Stock Firmware (Eken GT70S-HD)

I was messing with my tablet's firmware and unfornately broke it :D I forgot to backup the rom and was desperately looking for a copy thankfully someone uploaded theirs ;) credit to macutz.

Backup Stock ROM of ME Rainbow 7 Quadcore (Philippines) OEM Eken GT70S-HD

Tuesday, January 6, 2015

CoC AutoClicker,Anti-Idle, Free CoC Shield for BlueStacks


The title says it all :D

NOTE 1: Eset AV detects this app as MSIL/Packed.SmartAssembly.E potentially unwanted so take it or leave it ;p

NOTE 2: SmartAssembly is a .NET obfuscator. It protects .NET applications from tampering / reverse engineering. I know, there's nothing special about my source it just became a routine after compiling :D

Jotti's malware scan result

Download

 

Copyright 2017 Code Monkey