Karibe

Technology: Learning and Sharing is always fun...

New Build Server

By karibe on February 4, 2013

the intel corei5 processor

the intel corei5 processor

I decided to start 2013 in style. I assembled a build box. I have had a desktop machine, an Acer laptop and a notebook in that succession for computing purposes. As days go by, my computing needs change as i learn new things and indulge in new fields of both research and hacking(one could be the other).  I have recently developed the urge to start building android from source (CyanogenMod) for the devices i want to hack. This requires at least a decent laptop(Corei5 inside!) or a home assembled build box (server) for those who cant afford to purchase a complete server (or get the exact specs for the cash at hand like me).
Continue reading “New Build Server”

Posted in General | Tagged Android, build, CyanogenMod, server | 7 Responses

Frontlit keyboard

By karibe on December 29, 2012

I have always wished my tiny Acer netbook has a backlit keyboard so I can type in the dark. Well, that wish came true today when I visited an electronic shop at Nova Lund.

Flexi usb LED light

Flexi usb LED light

I found this Flexible USB LED light  that I can just plugin, twist to comfortable position and keep typing in the dark. I have really liked the idea, especially because power fluctuates in Kenya. I have an 8hr battery, which means that when power goes, i could only watch a video, listen to music because the screen light isnt enough to light the keyboard for coding/typing. The machine sort of forms the base for the lamp.
Continue reading “Frontlit keyboard”

Posted in General | Tagged backlit, keyboard, USB | Leave a response

Flashing stable CM10 on Galaxy S i9000 with latest google apps

By karibe on November 24, 2012

So after resurrecting the i9000, i thought I would go a step further and once again get the feel of the Jelly beans, the CM love back to the phone (am sure countless CM ROM nightlies changed shifts here).

Root the phone

With froyo its easy, just put a zip update in SDcard (internal) and flash it using stock recovery. It has e2 recovery. With Gingerbread, which is what Heimdall Oneclick flashed into mine, I had e3 recovery. This means that I needed to use Heimdall Suit (not the oneclick) to flash a rooted kernel *with CWM recovery*. That was easy Continue reading “Flashing stable CM10 on Galaxy S i9000 with latest google apps”

Posted in Android | Tagged Android, ClockworkMod, CyanogenMod, galaxyS, Heimdall, jelly-bean, kernel, Recovery, samsung | 2 Responses

Unbrick samsung galaxy S I9000 – hardware bricked

By karibe on November 23, 2012

Alan is the founder of project mjanja. He has been developing for several devices, among them some in the Samsung Galaxy family. as usual with devs, he flashed a lot of stuff in the Galaxy S I9000. Eventually something gave up. The phone was hard-bricked. Having known me for a hardware guy, mostly just talks, he handed me his phone. We both thought i’ll probably re-use the screen… i wanted to try and resurrect it to full functionality though. The first thing from googling that I landed on was the Riffbox solution. I couldnt find anyone within Nairobi with a riffbox to borrow from, and since i was travelling in a few days, i thought i might just get it here. So i am in Lund now for like 3 weeks and no one with a riffbox and am so busy. I checked online and was almost ordering one when I stumbled upon yet another interesting video by Adam Outler on his i9000 Development Platform, AKA UnBrickable Mod and Software Based Resurrection post. He actually unbricked a phone in the video so i got interested. I read the thread like twice before fully making up my mind to try the hack. But all the software tools are provided… why not? so today(22nd Nov,2012) I decided it was the day to do it. One of the corrections i thought i was going to make before starting was to rename the whole thing in my mind, software based resurrection to ‘hardware and software based resurrection’.

unsheilded Galaxy S i9000 board

The exposed Galaxy S i9000 board

This is because the kind of soldering required here is quite incredible for it to be just a software hack. Just a few points yeah, move a resistor from one location to another, or remove it and solder a wire bridge but the resistor is so small and the soldering pads are at a tight location.I looked for a brand new solder tip, some flux and tweezers. I opened up the phone removed the EM shield. I then proceeded to a lab with a solder rework station. I removed the xOM5 resistor and tried to remount it at the lower position using the hot air tool. That didn’t work out, but i had prepared for that with a plan B, the fuse. It was time to break the glass. I got hold of the wire, made a small loop out of it, mine didn’t actually have coating on it so I had to go to the trouble of wrapping it nicely with some thin insulating tape, which also kinda helped with the grabbing in position, a little solder on both ends and used some slim tweezers to hold it in place. I soldered the damn thing carefully. it took quite sometime to get the right position and be able to reach the pads with the tip of the soldering iron. i have never tried anything like it. I couldn’t make it to solder it on the xOM0 so I used the xOM3 pad instead, it was given as an option. Continue reading “Unbrick samsung galaxy S I9000 – hardware bricked”

Posted in Embedded systems | Tagged galaxyS, hardware, samsung, software, uart, unbrick, UnBrickableMod, XDA | 25 Responses

Setting up Eclipse and the android SDK for mobile development

By karibe on September 4, 2012

1. First things first, download the compressed Eclipse. To have an easy time with mobile development, get the Eclipse Pulsar version, as your Eclipse flavor. Use the correct download link for your system, on the right column of that page.
2. Extract the eclipse in your home folder. You can create a desktop link to your Eclipse executable, after this using the following two commands:
sudo apt-get install --no-install-recommends gnome-panel
gnome-desktop-item-edit ~/Desktop/ --create-new
For the command option in the pop up, browse and load the executable “eclipse” file.
3. Then run Eclipse. Go to help->check for update, and update the eclipse Pulsar installation. This is necessary because if you try to install the plugins without updating, you will get dependency errors. If you are in a proxy network, configure proxy first under window->preferences. Select General->Network and fill in the values.
4. Next, go to Help->Install New Software and on the pop up, type in this URL https://dl-ssl.google.com/android/eclipse/. You can click Ok and name the entry “Android SDK” then let it load the components, select all and follow through to accept terms and install the plugin components then restart eclipse. Its quite straightforward.
Continue reading “Setting up Eclipse and the android SDK for mobile development”

Posted in Android | Tagged Android, eclipse | Leave a response

2d drawing and animation at Khan Academy

By karibe on August 20, 2012

khan academy

The computer science khan academy platform

Last weekend I was indoors, with a bad flu and looking for something a little fun to do with a computer. So I ended up looking at a profile I created at khan academy where I could revisit what I never learnt when I was a little younger, especially in math. I found a surprise: Khan Academy has rolled out a computer science platform where we can all now learn basics of programming.
Continue reading “2d drawing and animation at Khan Academy”

Posted in General, Scripting | Tagged animation, scripting | 2 Responses

Zilog Z80 microcontroller UART serial end

By karibe on August 13, 2012

This is the second post in the series “serial port on android”. It is about using platform based design, a micro-controller (zilog z80) system that does nothing more than just communicate with the android phone. Later, we will see how to do sensing and actuation for the interface to the physical world.

The hardware

This is a custom board made for general purposes in embedded applications with sensors, actuators,an LCD screen and serial communication. I haven’t given details of how to develop the circuit here, may be on a later post….

a z80

z80 microcontroller board with a serial UART


Continue reading “Zilog Z80 microcontroller UART serial end”

Posted in Embedded systems | Tagged embedded systems, serial, uart, z80, zilog | 5 Responses

Ubuntu keyring password mismatch to login password

By karibe on August 8, 2012

I forgot my password for the root account in an Ubuntu Desktop machine. I came across a tutorial that guided me on how to reset the password by booting from the installation disk and mounting the filesystem as RW, then using passwd. Everything went fine but, everytime I login, there has been this warning that the login password and the keyring password are no longer matching. This is what I did to solve this.

  1. Go to the dash and search for "passwords and keys"
  2. Run that app and right click on “Passwords:login" under the “passwords" tab
  3. Click on delete
  4. logout and then log back in
  5. Verify: Your keyring password is now replaced with the new password

Thats it, no more password mismatch!!  This had given me a headache and the suggestion to delete the file .gnome2/keyrings/default.keyring" left me wondering, coz I dont have such a file…

Hope this helps someone who hates annoying warnings.

Posted in General | Tagged keyring, password, solution, ubuntu | 1 Response

A Simple WordPress Theme

By karibe on July 23, 2012

I have been using wordpress for about a three weeks now, reading blogs, tutorials, trying out templates and browsing code. What I have realised is that platforms like wordpress give you the go ahead to blog and take away all the struggle you’d have gone through trying to code a website from scratch, particularly the backend.

So I picked on the template am using here and after a close look decided to convert a simple design i had into a wordpress template by borrowing the styling and using Hybrid as the parent theme. I must say, that was way easy… amazing!!

hybrid light

The hybrid Light child theme

Well, I ran into one problem with my design though and broke a few rules on the idea of child themes, which i could be excused of coz i was in a hurry trying things out; I edited the footer and header templates of the parent theme, just a little to allow the header and footer sections be detached. I will correct this and upload when I get time, ready to make some more better themes.

Updated…

Ok I checked the way around this and created custom header and footer templates for the child theme that allowed to use the parent theme as is while detaching the two sections. Also updated the styles for tags, headings and stuff.
I added a script to insert the github ribbon right before my header in the functions.php, created a github-ribbon.js that uses jquery’s insertBefore() . You can fork me on github: Hybrid-Light

Posted in General | Tagged design, theme, wordpress | Leave a response

Modeling and Simulation in Systemc – top down methodology introduction

By karibe on July 15, 2012

In order for any piece of electronic product to go to full production, it has to be modeled, designed, simulated and the design verified before a prototype can be crafted. Based on the performance and may be “feel” of the prototype, a decision and hence a commitment is made to take it to production phase, or iterate the through the process. As an embedded systems developer, focus is mainly on the modeling, design and prototyping stage rather than production.

modelling

The first thing to come to mind is the tool used for this work. While traditionally Hardware Description Languages (HDLs) have been successfully used to design, model and verify embedded electronic devices, the fact that those designs are becoming more and more complex as the forces of the market change (more demand within limited production time), some alternative methods have been proposed. One seemingly great alternative is System Level Design. This is involves modeling the device at a higher level of abstraction (with primitive details hidden) and performing verifications of the design functionality. When satisfied with the functionality, details are added step by step lowering abstraction until an implementation model is realized. This is usually referred to as the top-down design methodology. As at the time of writing of this post, one very useful tool for system level design is Systemc.

What is Systemc?
Continue reading “Modeling and Simulation in Systemc – top down methodology introduction”

Posted in Embedded systems | Tagged C++, design, embedded systems, modeling, Simulation, SystemC | 4 Responses

Next »
Avatars by Sterling Adventures

Search

Karibe

I am a technologist, love linux and android. I am into physics, embedded systems, and mobile and web technologies.

Tags

wordpress backlit python unbrick build galaxyS keyring Heimdall CyanogenMod kernel scripting keyboard C++ server eclipse ClockworkMod XDA Android animation USB hardware serial zilog ubuntu Pyserial UnBrickableMod uart theme jelly-bean password embedded systems samsung solution Huawei modeling z80 design Simulation software Recovery SystemC

Time Line

Recent Comments

  • karibe on Unbrick samsung galaxy S I9000 – hardware bricked
  • Wispa on Unbrick samsung galaxy S I9000 – hardware bricked
  • karibe on huawei u8150 USB host mode android serial port using pyserial
  • QJF on huawei u8150 USB host mode android serial port using pyserial
  • karibe on huawei u8150 USB host mode android serial port using pyserial

Blogs I read

Mjanja Tech

XDA Developers

Archives

  • February 2013 (1)
  • December 2012 (1)
  • November 2012 (2)
  • September 2012 (1)
  • August 2012 (3)
  • July 2012 (3)
  • June 2012 (1)

Copyright © 2013 Karibe.

Powered by WordPress, Hybrid, and Hybrid Light.