This blog is about anything technically opensource or copyleft-ed/ GPL-ed, obviously most of it Linux or connected to Linux in some way.

Thursday, December 6, 2012

How to brick your SE X8 (E15i)... and recover it.

Obviously, how-to for bricking your Android phone is meant as an unintentional happening here, but it helps to know what kind of stupidity leads to such disastrous effects. I could give many reasons as to how I managed to do so, such as being sleepy, unalert, whatever, but the fact remains that I was stupid enough to click a wrong version of ROM to download for my kernel. To be specific, I downloaded GingerDX v029 (to upgrade from my earlier v028) meant for Alfs/nAa kernel than my stock SEMC kernel. For one, I didn't know that there are two different versions (my ignorance) and for another, the fellows who named the file, in their wisdom, decided that one file should be called GingerDX-v029-shakira.zip and the other as GingerDX-v029-shakira-stock.zip (a nomenclature mistake, I must say). Of course, I accept all the blame for being unalert, yet I wish to point out that if a person were to use the file looking at its name, maybe years later, still he should know that just shakira means Alfs/nAa! Thats very unlikely. Be it as it may, lets just say that I bricked the X8 when I loaded the shakira ROM instead of shakira-stock ROM onto my SEMC stock kernel.

For those who don't know what a (soft) bricked phone looks like, it looks just like an X8 (no, really, it doesn't look like a brick :P) which shows a Sony Ericsson logo that comes up during the boot cycle and just that. It hangs in there, without even the power off working. You ought to remove the battery to let it power down. For all practical purposes, its a brick.

The options available for you to unbrick the X8 (using "Windoze") are:

(If you have Sony PC Companion installed, try Option 2 directly).
  1. Flashtool: 
    1. Download Flashtool (107MB) (or a newer available version) & install it.
    2. Download stock ROM E15i_X8i_2.1.1.A.0.6_Baseband_015.7z (or your E15a, etc, version of X8 or a valid custom ROM such as shakira-stock) and unzip it, getting its ftf file.
    3. Copy/move that file to Flashtool's /firmware folder.
    4. Run Flashtool/drivers/Flashtool-drivers.exe, choose your X8 phone drivers and install them.
    5. Run Flashtool.
    6. Choose to flash, selecting X8. Follow Flashtool instructions on when to power off X8/connect/unplug USB cable/hold back button of X8/plug USB cable, etc.
    7. If this works, well and good, unplug USB cable, power up X8 and you're done (Note: First boot takes a long time, giving symptoms similar to a bricked phone!
    8. If it doesn't boot up even after a long time or Flashtool gave an error at step 6 above as to drivers not being found, USB debugging being off, 2011 mode blah-blah or whatever, follow next set of instructions below.
  2. Sony PC Companion (PCC):
    1. If you don't have it already, download PCC (26MB) & install it
    2. Run it & try its update/ repair options.
    3. If that doesn't unbrick the X8, move on reading below to last option that worked for me.
  3. Sony Upgrade Service:
    1. Download Update Service (38.1MB) or later version & install it. Takes a while if the service app itself has another update due.
    2. Run Update Service application, selecting the device as X8 from many SE phones listed. Connect the X8 device via USB cable following instructions on when to power off, hold the back button, etc.
    3. Let it install drivers.
    4. Now, you have a choice to go back to option 1 of Flashtool and burn available stock or custom ROM, or continue with this service and let it update the X8 after downloading 120MB stock ROM.
    5. If you go with latter, let the update download finish and flash your connected X8.
    6. Unplug the USB cable, power up X8 and wait long for first run. You'd be back with factory X8 settings.
Hope this blog entry helps some other sleepy head like me, who'd rather have postponed upgrading his X8 to a day when he felt more wakeful! :)

Happy unbricking! Cheers!!

Sunday, July 10, 2011

Sony Ericsson X8

Be it after a long delay, I finally did catch up with Android by getting myself a Sony Ericsson X8 phone. Why X8, some may ask? I want to start by saying that I've a bias towards Sony devices. I like their sound quality more than anything else. I've used an SE phone before, a T610 and except for the battery, it was simply great. On Android, I do know that SE has been crawling releasing 2.1 Eclair on new launches, when the competition has moved beyond 2.2 Froyo onto 2.3 Gingerbread. X8 specifically has a low memory with its standard release giving only 128MB, while even LG's Optimus gives 512MB in a similar pricing! Then again, as they say... its a Sony! :) Worse yet, unless one gets a newer manufacture, 2.1 is available only as an upgrade to 1.6 Donut.

That said, I still chose SE X8 because it is a good phone and although SE has officially announced that there shall not be further upgrades to X8, XDA forum currently has both Froyo and Gingerbread releases for X8! There are many other flavours also, including one in between, called FroyoBread. The last one is supposed to be a well-tested release with Froyo's stability and Gingerbread's features. In this blog, I wish to mention some of the features of the standard SE release with the requirements to hack the phone for non-standard upgrades. Mind you, this voids the warranty [unless you can get the phone back to factory release before claiming warranty ;) ] I've bought an additional warranty of another 12 months from the seller beyond the standard 1 year by SE.

Initially, I liked the SE X8, with a decent 3" screen. Both GSM Edge as well as WiFi worked just fine. The still as well as video camera is great. One issue with 2.1 is that its applications soon fill up the memory and since Android has its own memory management, with hardly any applications having an "exit", Advanced Task Killer is necessitated as a first install from Android's market. Yet another hurdle with enjoying more apps on 2.1 is that it doesn't allow moving apps to SD card. So my buying a 16GB card didn't turn out much useful yet. Having seen my 2.3 GingerBread on my brother's HTC Wildfire S, I couldn't wait to root the phone. Further, I found out that Quadrant Advanced clocks 440 as a benchmark with SE Eclair. This is expected to turn out to be rock-bottom with other releases, which I'll talk of in upcoming posts.

Sunday, December 26, 2010

MAC cloning

I never thought that cloning MAC addresses was so simple, especially in Linux. But first I will digress as usual and start off as to what led me to cloning the MAC address. To skip all the blabber, goto to the bullets where it says skipblabber. :) Since my Toshiba laptop went out for service, it has started giving many problems in a row. First the heating issue led to a shutdown problem, then I messed up the alcohol used to clean the chips' heatsinks and conked my display off. The service guys fixed that but damaged all the navigation keys which almost need me to stand on them to move intermittently. With so many problems, how would I not suspect the laptop's networking when my ISP refused to connect?

My ISP kept on giving me errors on all flavours: Vista, Maverick and even downgrade installations to Jaunty! The error code indicated authentication problems, which may be protocol issues. I went ahead and got the ethernet and wifi checked elsewhere and all worked fine. Only then did I call my ISP and ask what the heck was going on. It turns out that my ISP has recently locked the account to a single MAC address for "security reasons". They wanted me to fill up a form to say that they should open my account to other MAC addresses and any misuse then would be my responsibility. I went straightaway looking for forms but they didn't tell me that Sunday their branch here is closed. I came back disappointed, but a search online landed me a simpler solution. Why go out at all signing forms when a few keystrokes get the job done?! :) So here goes:


skipblabber:
  • Get your source system (my PC thats locked with the ISP) MAC address by ipconfig /all if you're in Windoze or in good ol' Linux you check the entry for ether by ifconfig. This MAC is used further as xx:xx:xx:xx:xx:xx
  • Repeat the above for the target system (my laptop thats locked out from the ISP) so that I can jot it down in case something ever goes wrong. Contingency, that is. :)
  • To change the target MAC on Linux:
    • sudo ifconfig eth0 down
    • sudo ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
    • sudo ifconfig eth0 up (Goes off on reboot)
    • OR in recent Ubuntu systems, just right click on network ->Edit Connections -> Eth0 -> Edit -> add xx:xx:xx:xx:xx:xx to Clone MAC. (Stays on reboot)
  • To change the target MAC on Windoze:
    • Go to LAN properties -> General -> Configure (LAN card) -> Advanced -> Network Address (Property) -> add xx:xx:xx:xx:xx:xx to Value -> OK
    • Disable & enable the LAN or reboot (the Windoze way) :)
    • OR regedit/ regedit32 and expand HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}
    • While there, check all subkeys 0001, 0002... till you get your LAN card in DriverDesc.
    •  Add xx:xx:xx:xx:xx:xx to NetworkAddress value.
    • Reboot.
If all went well, ipconfig /all or ifconfig should show you xx:xx:xx:xx:xx:xx as your new MAC. You need to try connecting to your ISP after the MAC change. In case of Linux, this would mean:
  • sudo poff -a dsl-provider
  • sudo pon dsl-provider
  • OR sudo pppoeconf (if not already done earlier)
Note: In case your pppoeconf is stuck at 100% and goes nowhere, you're fast and lazy at the same time like me. :) You didn't read all that pppoeconf throws and pressed enter, enter,... If that, pppoeconf is likely stuck searching other network interfaces for announcements; this is a guess, by the way. Best way to get ahead immediately now is to unplug the LAN cable and replug it. :) Don't worry, its at 100% on eth0 search, so it will have those settings.

Thursday, December 16, 2010

Using Linux for Windows fix!

I downloaded the trial version of BitDefender antivirus for my XP today and in its scanning during the installation itself, it found some 3 issues with Windows files and quarantined them. It asked for a reboot to continue installation. On reboot, it resumed or started the scan afresh without even really giving me my desktop; it was a blank screen with BitDefender scanning in the foreground. Meanwhile, a pop-up box told me that SYSTEM is going for a shutdown as the explorer.exe or some other service crashed. Well, okay, hardly a choice! However, on restart this time, I got a command line message on NTOSKRNL.EXE missing. Obviously, BitDefender knocked it off for a virus or something and am stuck with a command line. Worse yet, I can't restore it because I don't have a DVD/CD ROM drive. (It *burnt* a couple of months back).

So much for background. Next, I rebooted in Ubuntu Maverick and searched my system for an XP install ISO dumped. Maverick is awesome, because it opened .iso as is. Within that I386 folder, there was this NTOSKRNL.EX_ that needed to be expanded. I sent it straight down to my pen drive, ran an expand on it from Vista on my laptop and got it back here. All I needed now is to get the expanded NTOSKRNL.EXE (renamed from expanded NTOSKRNL.EX_) into C:\Windows\System32\. Phew.

Windows is mighty sick but my bank webpages and software unfortunately works only with Windows. :(

Friday, September 3, 2010

Maverick Meerkat 10.10 beta

I installed the Maverick beta today and had device string error or something like that as soon as I ran off the install from the USB drive. I went to the expert mode and installed it using the old CUI interface.

I also have an XP for dual boot on my PC and chose Grub instead of Grub 2 for boot loader. Everything went well till I tried to boot XP, which too failed with an "Error 11: Unrecognized device string". On edit, I found that the boot string for XP had  (hd0, msdos1). This is wrong and works with (hd0, 0) which is Grub language for /dev/sda1. Looks like this same error had caused the install failure. I'm not sure if any or all of this is mentioned in known issues; I didn't read through them in the excitement of getting things go. :)

I'm happy with installing Maverick beta over Lucid instead of an upgrade because my Lucid had some unresolvable issue of taking the entire RAM immediately on boot up. I wasted enough time finding what was taking so much memory, but didn't succeed there! Maverick doesn't hog as much memory.

Sunday, March 7, 2010

Getting hands dirty

Its been a while since I played with any core hardware. I've been postponing my temptations to get a beagle (now more options of hawk/leopard) board since over a year for reasons best known to me in my sleep. ;) I've been itching to get my hands dirty with one thing or the other. Last I held my soldering gun was when my ADSL was screwed up due to line static. I went around checking the cause for noise in the internal wiring and hunted it down to the rosette box. I tried bypassing that seeming balloon and that needed manhandling of the delicate telephone wire onto a rugged external line. I managed to solder it out. Its a penny job if you look at it, but the pleasure of holding the solder gun with the 60-40 melting is indescribable. :)

This time around, I was pissed off with how my Toshiba A100 laptop dies off due to overheating. Since the past 2-3 Ubuntu releases, long usages have been shutting off the laptop with the touchpad almost burning. I've tried to get a laptop cooling pad in vain, but what use are external set of fans when Toshiba overheats to death on its own? Its a shame. Vista, the junk that came loaded with the A100, used to keep the laptop booted for longer hours than Ubuntu as per my usage. That, however, doesn't solve my problem. My earlier experience with trying to pull the DVD drive off the laptop or pulling the HDD didn't seem userfriendly with the Toshiba. I'm a fan of Japanese products, but all the Jap products I've used are really service unfriendly! Sadly, I tried my hands to get to the internal fan yesterday not wanting to travel to a service centre which is quite far from here, not to mention that I hardly trust any of those people to do a good job and in time.

I've this addictive habit of taking a task to its very end knowing the risks at most times. So I opened the laptop which was a painful effort. I almost assumed that I will break a couple of plastic locks and then they won't fit back easily needing a bit of gluing together. To my surprise that didn't happen, but I was shocked out enough to write off 45k (cost price) worth of my laptop because the fan was way difficult to get to and all the cables between the top and bottom of laptop came off loose! This design sickens me to no end. All the cables are half my finger's length-- no exaggeration there-- 3 buses on the main board were held on to the connectors with latching locks. (Sadly, these connectors are new to me). It scared the hell out of me when they came off due to some tagging on to them when pulling the panels apart. Not only is the distance insufficient to put them back together but now I need to push the bus in the lock putting my thick hands between the panels and then push the lock to latch in the bus with the other hand. Crazy freaks! 3 of them!! Putting them together brought out other end of one of these sick buses. That was pathetic. After I got them together, somehow, there were 2 more button type grounding-like pins. What were they thinking making those dumb gold pin button connectors? To put these back on and keep them in place while playing with other connectors was an add-on pain. When I got all this together, I was good to go... Oh! I did not mention the reason I opened the laptop was the fan, which got taken care of. Before this mess of wiring got put together, I'd pulled off the fan and pulled the parts apart, blown away a ton of dust and washed the fan, save the coils. :)

Hmm, I was saying I was good to go... or so I thought. While closing the panels together I saw that there was this flat connector which I suspected to be the display cable. Now, believe you me when I say that this Toshiba design bottoms off even those sick main board connectors! This weirdo cable was half my nail's length from the panel, loosely changing its angle, and I'm supposed to fit this onto the main board while closing the panel! Barely a forcep's flat side was reaching into this gap! No press fit this one. I closed the panels praying that maybe they are press-fitting each other... high hopes. :) The laptop booted up, but without display, a much expensive problem to fix. Well, at least I was sure that its the display cable. I tried much and gave up yesterday. Now, I'd a bigger problem to look at: find a good service centre and somehow convince them to take an open laptop without display for a fan problem! An impossible proposition, very expensive, if possible. Just for a fan, I was quoted 2k+approx 1k labour. 3k there. Add the cost of explaining an open laptop without display! Hah! I realized I wrote off 45 grands, possibly.

Today I took the issue in broad daylight. Why the hell is the cable so short? I got no answers, not even dumb ones. I opened more parts around the cable to no avail. Then I decided to pull onto the cable with all my forcep-strength. I got another half a nail's length. Whoa! More pulling risked the cable/connector/display.. God knows whats at the other end of that cable. With multiple forceps, crushed fingers and God's will I got the connector in. And the A100 is working... to what cooling benefit I do not know. If I find a powerful fan, I will likely open it again. :D


Why such excruciating details, you may ask and I'll say fair question indeed. How else do you expect me to share my pain of accepting burning 45 grands due to many sick unthought designs into an otherwise good Japanese brand called Toshiba?! :D

--

Saturday, October 24, 2009

BBC's 24 hours with Ubuntu! Really?

This is in response to BBC's review of Ubuntu on its blog, spending only 24 hours with it, that too after they made erroneous statements about Ubuntu while advertising Windows 7 on their breakfast show. This follow-on for reviewing Ubuntu by BBC, after that faux pas on the show, was initiated by Canonical.

Most of it has been said, I'll try to say some things that got left out. Not one person made a point about how simple Ubuntu install can be for a Windows user who wants to try his toe in the water: wubi (ubuntu installer for windows)! Just download wubi.exe, run it from Windows, define how much space to use for Ubuntu, choose login creds, take a coffee/ lunch break, return to your comp with a dual install! Days of Linux install have become simpler since Knoppix launched a live CD that announced vocally on what devices are detected and installed! Just when I thought it doesn't get any simpler than that, Ubuntu gets better with each release.

Microsoft is so greedy, that when I bought my Toshiba laptop, I was forced to buy it with Vista, with a caveat that said "Installing any other OS voids the warranty". Even if I wanted to have dual boot, I couldn't do that in warranty. Funnily enough, any reinstall of Vista and other Windows flavours arrogantly overwrites any other OS! Why?

For almost everything that Linux can do with a command line for a desktop user, Ubuntu can do with GUI. Another thing about people who just hate to use keyboards are missing a loud point even in Windows GUI: all those menus have keyboard 'short'-cuts! Sometimes, keyboard is faster than the mouse.

If you've tried detecting and transferring files between XP and Vista on your network, that would tell you why expecting all your Windows machines to just popup on your Ubuntu map, without any protocol setups, is plain bias.

MrFaulty talks of WiFi install issues as a techie. WiFi on Vista has been a pain for me; it gets some godforsaken IP on a DHCP mode and I need to hardcode it to work well! Windows should have perfected it by now, but no; OTOH, it works smoothly in Ubuntu. And he also talks of RAID 0 when the article is about a layman desktop user. What you can do with Win for RAID, a similar experienced person on Ubuntu can do it in a jiffy too. But then again, if you are a technology person, you ought to mention developers, rate at which bugs get fixed on Ubuntu and umpteen development tools that come free, all of these things beat down Windows to death.

Getting hold of Wine to run Spotify is not as much of a bother as needing to get hold of Win7 pro version to do something as simple as getting an XP app/ device to work! The latter means shelling more money out to get Win7 do something that your XP did initially, which you'd already paid for, and MS made you buy Win7 instead. The former means installing Wine with a couple of steps and you're ready to go... simpler than buying local wine! :)

Finally, Rory, I think Ubuntu survived your 24 hours with it. Had you been a Linux user as long as you were using Windows and had to spend 24 hours with Windows 7 instead, I'm certain you'd have flushed the Windows netbook/laptop by now! :)

Followers