Saturday, May 28, 2011

So you want to know about Bootloaders?


Firstly, let's get some cryptic terms out of the way.
Symmetric encryption: this is the typical, familiar, scramble-your-data algorithm. You use one secret key, together with your data [called plaintext], and input them to the function. It spits out random-looking output [ciphertext]. You put your ciphertext back into it with the same key, and you get your original data back again. With this, either exactly the same function does encryption and decryption, or one function does encryption and a similar, but different one does decryption. The most popular algorithm is called AES.
Asymmetric/public key encryption: this is slightly different from the above. This time, you have two keys. One is called the public one, and it is figured out from the private one. The private key cannot be figured out from the public key. They only work in a pair as well: If you do encryption with one, you can only decrypt with the other. This is why it is special. If you encrypt with the private key, you cannot decrypt with the private key, only with the public (and visa-versa). The most popular is RSA.
Cryptographic hash: This is a one-way function. You can input as much data as you want into it, and it will come out with a fixed number of fairly random digits. These digits come out in a fairly random, and mostly normalised way. A good property of a hash function is that changing 1 bit in your input, should have a 50% chance of changing every bit in the hash's output. This means hashes are fairly unique to any particular data, and can detect even the slightest changes in it by comparing two hash ouputs together. The most popular is SHA, the most well known is MD5.
Digital signature: This uses the last two above terms. You have a message, and you want to sign it. When theyverify the signature, a receiving party can tell two things: A) That the message came from you, and B) That the message has come exactly as you intended it. How? First, you make a private/public key pair, and publish your public key everywhere a while beforehand. People remember the public key and know that you made it. When you want to send a message, first you hash that message. The hash will let anyone know if someone has tampered with the message during sending. Then you encrypt the hash with your private key (you have now signed your message). You send off the encrypted hash with your message. To verify your message, the receiving party remembers the public key you sent out earlier. They use this to decrypt the hash, and then check this hash with one generated from hashing the message themselves. If they get a match, then they now know the two facts stated previously.

So why lock a bootloader?
A bootloader lets you change all the software on your phone. By locking it, you are prevented from doing so. Why do companies do this? Well, they try to never say directly, but you can guess the reasons:
  • They don't want customers accidentally uploading faulty software to their phone, bricking it, and coming crying back
  • They want to give as little surface as possible to hackers looking to meddle with the phone, for whatever security reasons
  • At the request of various third parties, such as carriers
  • They don't want custom software being put on that gives the device extra functionality or lifetime
Disclaimer: I never said these reasons were going to make sense in your, the customer's, mind.
What does a bootloader do with digital signatures?
It uses them to check any update that passes through it. The phone keeps a read-only copy of the manufacturer's public key internally. The manufacturer then signs an update they want to give the phone. When the phone receives the update, it verifies the signature to check that the update came from the manufacturer, and only then lets it change the phone.
This means that the the manufacturer gets the best of both worlds: It stops customers from uploading unsigned changes to the phone, while allowing through only changes that the manufacturer has approved and signed. From a QA perspective, this is great! It also means that you, the customer, know that you are only getting official updates. No-one can hack an update onto your phone, or tamper with the manufacturer's before it gets to you. This meanssigning is not necessarily a bad thing! If you just want to make sure you get official updates, signing is for you.
So... what do 'we' want?
We, being the community of Android users who love to modify their phone, basically want bootloaders to follow the model that Google employs in its phones.
You can choose, by typing a command in an adb shell, whether you want your phones bootloader to be locked or unlocked. In its locked state, it will check signatures and make sure everything is official. Great for your average customer, who just wants peace of mind. In its unlocked state, it allows any custom modification, like CyanogenMod, to pass through.
When we refer to a locked bootloader, we mean one that is in its locked state, and usually also that the manufacturer didn't give us any option to unlock it. So when people say they've loaded an engineering version of a bootloader, it usually means they've found a way to load a bootloader made in the development of the phone, which didn't check for signatures (unlocked by default).
So we don't want unlocked bootloaders, or non-signing ones; that might be bad for the average customer. [TL;DR:] We want unlockable bootloaders. Note, the unlocking process shouldn't be something a normal person would be able to get to, or automatable. It should be a choice that a technical user can make.
Edit: What I think the ideal bootloader's functionality should be:
  • It should not be replaceable, or only replaceable by a signed manufacturer update. The rest of the phone should be.
  • It should have a locked state, where any updates to the phone are checked first (through signatures) to see that they're by the manufacturer
  • It should have an unlocked state, which allows any update to the software of the phone
  • These states should be switchable by a technical method
  • The bootloader should be able to tell what software is on the phone. It outputs a string, say, which includes a nonce and a signed answer to this question. The manufacturer can ask the customer to give them this answer from their phone. If the answer matches up with the signature of an official version of their software, then they can give support and/or warranty to the customer, because they know the software is in a certain state. If it does not match, they know custom software is on and they don't have to provide warranty and support.

Tuesday, April 27, 2010

Android 2.2 aka Froyo Coming Soon....

Android handsets have been coming out from the various mobile manufacturers stable at a brisk pace. The development of Android OS has also been pretty good.The OS has been gaining market share by leaps and bounds. Currently, the latest version of the Android OS is 2.1.


Reports suggest that Android 2.2 will soon be announced. The Android v2.2 is named “Froyo”. The new version of the Google OS will come with some major changes under the hood.

The reported features include:
*JIT compiler
*Free additional RAM
*OpenGL ES 2.0 enhancements
*Flash 10.1 support
*Fixed problem with “crazy screen” / Resolution of cross multitouch
*Activation of Color Trackball (Done On Several CM Rom's )
*Enable FM radio
The most important change in Android 2.2 is the JIT compiler. The JIT compiler translates the application written in JAVA to native code. This leads to significantly better performance, richer graphics and better battery life.  There is also Flash 10.1 support in the latest version of the OS. The new version of Android OS is also expected to enable Wi-Fi n support in devices which have the required hardware. The Linux kernel of Android will also get an update from 2.6.29 to 2.6.32. This will lead to additional free RAM on the various Android devices.
It is expected that that the latest version of the Android OS will be announced on May 19th, during the Google’s I/O event.

Wednesday, January 6, 2010

Comaprision Chart

The Dust for Nexus One has now settled. Yesterday Google announced their New Super phone category phone "Nexus One". Thought there was nothing new in the Android press meeting apart from New Google Earth App and Voice commands in Mailboxes. As every one already saw the Unboxing video of Nexus One Weeks ago but google just officially launched it.
Its not yet there to beat Apple Iphone (this is what people say), but i personally feel that the craze for Iphone is slowly going down.
If it is not yet beating Apple Iphone, no worries its always getting closer to it.


Thanking Billshrink.com for this amazing comparison between some amazing Phones.
Apart from Market place I dont find Android lacking anywhere, and event like this small of yesterday will definitely encourage more Developers.
 Hope Android is the world we live in. Cheers...

Sunday, January 3, 2010

Google Tablet: Google and HTC’s Next Project vs iSlate?

It appears Apple  is not the only company who is mauling their tablet for the people, there’s a rumor that Google and HTC – the tandem that will bring forth the Nexus Strike this Jan, is about to unleash their own tablet as well. The name is not yet disclosed, but whatever it’ll be called (G-tablet, Schmidt’s Pad etc – oups can’t help to give that premonition) alot of speculations are starting to develop with this purported tablet.
google tablet
iSlate carryout two freshly baked patents that was said to surprise the users; Google Tablet on the other hand will have all the sauce of Chrome OS, Qualcomm processors and a dash of a new software from Adobe. (Mmm, what could that be? Am i sensing a new Air Product?)
According to Smarthouse “HTC, who have been working closely with Google for the past 18 months have several working models of a touch tablet including one model, is based on the new Google Chrome Operating System say sources.”
google tablet 2While everything is still on a stream of uncertainty, there’s a lot of criticism with this rumored release. One is, will BIG G became the Big Jerk for its neighboring companies? – Remember Mototola Droid With just a short span of three months, the nexus one phone will reach its debut and it's ZOMG features is far better than that droid phone with the keyboard. Without a doubt this release  will kill the competition with the moto-droid not to mention the ‘pissed-off’ buyers who happens to be stucked on a 2 year contract with Veriz only to find out that there’s a better phone – Nexus One.
So much for the happy ending, indeed.

Apple iSlate

A new decade is fast-approaching – Six days from now and the world that we know will have its yet another phase in the course of history, hopefully towards the ‘brighter side’, ideally speaking that’s all what we want, don’t we? Thus, tech enthusiasts are already getting too delirious with what the industry has stored for them (same for the non techsavvy citizens too) Off the record, you can shout the company that you think will start the year with a new gizmo – Did I hear you say the big A as in Apple ? Well if that’s the case then your tech oriented intuitions are correct for Steve Jobs favorite ‘fruit’ will release a gadget on January 26, 2010.
apple tablet picture
This is not another Jesus Phone (as TC calls it), i mean iphone. Not a new iPod twin type (disappointingly) also this not about contacting an extra terrestrial being from. … bahh, this about a Tablet! Yep, A T-A-B-L-E-T guys. Could somebody call the clowns now, please? I can feel our readers are starting to get bored.
apple tablet pic1
The size of this ‘very soon’ tablet will be 7-inch (100% sure) Although there will be a 10incher follow-up rumored to be release on spring.
The concept of this tablet sounds mediocre: Try to think about the iPhone make it 7-inch and voila we got the new apple tablet.

A tablet with a multi-touch feature: It may sound new to the tablet industry, but for the users? Of course this is expected. It wouldn’t be the image and likeness of the iPhone without a multitouch feat, wouldn’t it? The funny thing though is how appleinsider manage to salvage this comment:apple tablet
One current senior employee at Apple would only say that Jobs is “extremely happy with the new tablet.” Someone else who recently left Apple reportedly said that users will be “surprised how you interact with the new tablet.”
In my opinion, I think users will be extremely happy if they saw the new tablet with ‘minority report like interface’ infused with it.
minority report
And that’s why there’s a buzz that Apple had recently filed for two patents namely, Keystroke Tactility Arrangement on a Smooth Touch Surface: Ability of the system to detect the type of interaction you are playing with it. and Multipoint Touch Surface Controller: A more advance system for detecting multi points on a touch screen.
Did I say it will be unveiled on the 26th of January, 2010?

Now TC is cooking some theories again about the nameless Tablet, they have a strong belief that this one will be named as iSlate. Snap! okay first and foremost, if you’ll say that it sounds turd then worry not, there’s a lot of people who are with the same boat as you are. But for what it’s worth, the term 'slate' has been used in the Tablet industry. Which simply refers to as a tablet pc sans the keyboard and utilizes stylus/fingertips for the interaction.

Apple has acquired the domain name islate.com back in 2007.
islate thumb iSlate is the new Apple Tablet? See the leaked Specs

Mr Robin of TC manages to play some tech-detective game of who’s the owner, tracing some link of the islate domain to the impending release of the new tablet today. Is it a coincidence? Well, iSay we just wait for 3 weeks to find out, it isn’t that long, is it?

Wednesday, December 30, 2009

Nexus One Price: $530 Unlocked, $180 With T-Mobile Contract



Hi ppl after a long time.....Sorry was bit busy with some other stuff, but what i have now is very Rocking news for All nexus one fans.

Gizmodo was tipped with several screen shots of what appears to be the official Nexus One landing page and pricing for the phone. You're given two options to get the Nexus One upon release: Sold directly from Google. Unlocked and unsubsidized for $530. Or $180 if you're eligible and sign a 2-year contract with T-Mobile. In addition, here are some new details copied from Gizmodo:

• If you want it subsidized, you'll have to sign up for a 2 year mandatory contract
• There's only one rate plan: $39.99 Even More + Text + Web for $79.99 total
• Existing customers cannot keep their plan if they want a subsidized phone; they have to change to the one plan, and this only applies to accounts with one single line
• If that doesn't fly with you, you have to buy the $530 unlocked version—this actually might save you money over two years if you already have a cheap plan
• Family plans, Flexpay, SmartAccess and KidConnect subscribers must buy the phone unlocked and unsubsidized for $530
• You can only buy five Nexus One phones per Google account
• There is language in the agreement of shipping outside the US
• Google will sell it at google.com/phone, which explains what they were doing with that page a few weeks ago
• Google will still call it the Nexus One apparently, and not the Google Phone

And here is a big one:
• If you cancel your plan before 120 days, you have to pay the subsidy difference between what you paid and the unsubsidized price, so $350 in this case. Or you can return the phone to Google. You also authorize them to charge this directly to your credit card.



More to come on Jan 5th....Google has booked an 'Android Press Gather/Event" on the 5th of January.

"With the launch of the first Android-powered device just over a year ago, we've seen how a powerful, open platform can spur mobile product innovation. And this is just the beginning of what's possible."

Saturday, October 17, 2009

Basics For Wave

Google Wave actually has its own lingo – yes, you have to learn a few definitions if you’re going to really understand this new communication platform. Having knowledge of these terms will help you understand more about Google’s newest project.

- Wave: A wave, specifically, refers to a specific threaded conversation. It can include just one person, or it can include a group of users or even robots (explained below). The best comparison I can make is that it’s like your entire instant messaging (IM) history with someone. Anything you’ve ever discussed in a single chat or conversation is a wave.

- Wavelet: A wavelet is also a threaded conversation, but only a subset of a larger conversation (or a wave). It’s like a single IM conversation – a small part of a larger conversation and a larger history. Wavelets, though, can be created and managed separately from a wave.

- BlipBLIP: Even smaller than a Wavelet, a Blip is a single, individual message. It’s like a single line of an IM conversation. Blips can have other blips attached to them, called children. In addition, blips can either be published or unpublished (once again, it’s sort of like typing out an IM message but not yet sending it).

- Document: A document actually refers to the content within a blip. This seems to refer to the actual characters, words, and files associated with a blip.

- Extension: An extension is a mini-application that works within a wave. So these are the apps you can play with while using Wave. There are two main types of extenisons: Gadgets and Robots

- Gadgets: A gadget is an application users can participate with, many of which are built on Google’s OpenSocial platform. A good comparison would be iGoogle gadgets or Facebook applications.

- Robots: Robots are an automated participant within a wave. They can talk with users and interact with waves. They can provide information from outside sources (i.e.TwitterTwitter) or they can check content within a wave and perform actions based on them (i.e. provide you a stock quote if a stock name is mentioned).

- Embeded Wave: An embeded wave is a way to take a Google Wave and the conversation within it and place it on your website. Users could use this as a chatroom, as a way to contact you, or for something more.

Wednesday, September 30, 2009

Info About GOOGLE WAVE !!!

Google Wave is built around HTML 5, so you'll need to use what Google calls a "modern browser" — Chrome, Safari or Firefox (or IE with Google's new Chrome Frame plug-in). Once you're using Wave, you'll see a list of currently accessible waves, along with your current contacts. It's just like using a cross between IM and a wiki.

Wave looks, at first, like an in-browser instant messaging tool. It's a multi-user tool, too, so you can quickly have a conversation with an entire team. Unlike other IM tools, Wave lets you see each letter as it's typed, and replies can start before you've finished typing. That makes it much more like a real-world conversation, but it can also be disconcerting — especially if you're accustomed to editing your text while you collect your thoughts. Fortunately there's an option to use a draft mode to hide your edits until you're ready to send them to the rest of the wave's participants.

There are plenty of formatting tools, so you can use a wave to build a document collaboratively. More than one participant can edit the same wavelet — with no locks, just an indicator to show where everyone is typing. You probably wouldn't share a Wave-created document outside the flow of conversation without reformatting and editing it, but it's a good way to get started, or to get feedback from a geographically distributed team. Waves are managed by a server that operates in two parts: the server, which handles communication with end users and other Wave servers; and the store, which manages the content of both local and remote waves.

Google is touting Wave as one of the first HTML 5 applications and it needs support for new tags that only come with what Google calls 'modern browsers'. That means Apple's Safari, Mozilla's Firefox and Google's own Chrome (which also takes advantage of the built-in Gears tools to boost Wave's performance by handling local data storage and multi-threaded JavaScript operations). You can use Wave with Internet Explorer if you install Google's new Chrome Frame plugin, which adds HTML5 and other open web technologies to Microsoft's browser.

Google to Kill Internet Explorer

Google Wave is Up and now about to take over all........
Earlier today, Google said about Google Chrome Frame, a Google plug-in for Internet Explorer that “seamlessly brings Google Chrome’s open web technologies and speedy JavaScript engine to Internet Explorer.”

To use google wae on explorer either install the plugin else use Google wave or firefox or mozilla



Wednesday, September 23, 2009

Donut : Sneak Preview

What’s new in Donut? Well, look for yourself. New features that you’ll find once the Android team and carriers deliver Android 1.6 (Donut) in an over-the-air update.The new Android Market, which includes screenshots and a revamped interface; a tweaked camera/camcorder interface; and the new Quick Search box, a near-universal search bar that searches both the web and content stored on your phone.

I’m able to access these features because they are built into the Cynanogen modded version of Android available to root users. It remains to be seen when standard phones will receive the update. However new Android SDK 1.6 r2 is already available for download

Wednesday, September 16, 2009

Chrome V-3.0.195.21 Out Now!!

I just heard it's very stable....and more powerful than earlier....

nice improvements in store for them in Chrome 3, including:

  • Speed Improvements: Chrome 3 is faster than any previous stable release on both the V8 and SunSpider benchmarks. (Google's calling it a 150% increase in Javascript performance since their first beta.) In the current Chrome 4 dev release, Chrome continues to oushine other browsers on most speed benchmarks.
  • The New Tab Page: Again, this is only new to those of you who've been sticking to stable releases, but thenew tab page is more customizable, allowing you to rearrange thumbnails via drag and drop and pin thumbnails you want to keep around permanently.
  • Better Omnibox: Firefox has its awesome bar, Chrome has its omnibox. As of the stable Chrome 3 release, the omnibox adds contextual icons to help you see whether autocomplete results are suggest sites, searches, bookmarks, or sites from your history.
  • HTML5: Google has been pushing the envelope withwhat dev can do with HTML5, the new standard set of tools in the next evolution of HTML (the backbone of web pages). In Chrome 3 stable, HTML5 is standard—meaning support for video, audio, and canvas tags that bring a rich web experience to your browser without the need for third-party plug-ins like Flash.
  • Themes: they've highlighted a handful of themalready, but now they're available to the stable channel users, as well.
Try These Shortcuts Might help you....

Ctrl+Shift+NOpens a new window in incognito mode.

Ctrl+Shift+TReopens the last tab you've closed. Google Chrome remembers the last 10 tabs you've closed.

Google Chrome – Where it Stands on its First Birthday?


On September 2nd 2008 Google Proudly launched its first ever Web Browser.

Lets take a sneak peak over the year of Google Chrome.Some Interesting facts about the browser

Since September 2, 2008, there have been:

– 51 developer releases, 21 beta releases or updates, and 15 stable releases or updates – Over 20,600 bugs filed (4367 of them were duplicates, 3505 have been fixed, which leaves a whole lot left to go!) – 11 external committers and bug editors, 46 external code contributors – 50 Chrome Experiments – 26 posts on the Google Chrome (Google Chrome) blog – 12 Chrome Shorts, a collection of short films about Google Chrome – A sequel to the comic in Japanese

More importantly, we’ve improved by over 150% on Javascript performance since our initial beta.

Nice stats, aren’t they? Damn, who cares about the developmental Stats?? What matters is the industry/market share. So in 12 months, how much ground has Google made? Well, not much! According to stats from Market Share/Net Applications,Chrome only has 2.84% of the market, far behind Internet Explorer’s 66.87% or Firefox’s 22.98%.


Tuesday, September 15, 2009

Google is organising content again: this time it's magazines


Another week, another Google initiative, another reason to wonder whether the giant's vaunting ambition is going to be its undoing, wonders Ian Scales. This time it's all about aggregating magazines - or rather, magazine articles.
Google this week announced 'Fast Flip'. Don't be fooled by the cutesy name, it all looks deadly serious to me. Fast Flip is another way to atomise then organise the world's content and present it in a compelling way (and sell ads around it). This time it's a magazine-style visual offering - like a news stand. Instead of presenting flat globs of textual search results (like the vanilla Google search) Fast Flip offers magazine-style page images gathered by a keyword search. One click gives you a visual close-up, a second takes you straight to the primary source where you can read the article just as God (or Murdoch) intended. Here lies the nub.
Google has been copping it big time from publishers who say the search giant is eating their lunch by assembling and aggregating their news.Oops. More enemies. So the commercial shape of Fast Flip is designed to ease big (powerful) publishers into the online world and offer some soothing revenue share at the same time. Google has kicked it off (it's still in beta within Google Labs, naturally) with a collection of magazine 'partners' with which it shares the ad revenue... presumably many more will follow. It will be fascinating to see how this one does and, if it does well, how online publishing will change because of it. One thing is for sure, individual article layout just got slightly more important and website design and navigation slightly less.

India Loves Google !!!

Google dominates Internet in India, Brazil...

It's official. India is a Google lover.

This as a recent report by digital world research firm comScore shows that Google usage is more prevalent in the emerging Internet markets of India and Brazil as compared to the rest of the world.

In July, 29.8 percent of total time spent online in Brazil was spent on Google Sites, with India only slightly lower at 28.9 percent. The next highest global market was Ireland at 15.9 percent. Here, we are not talking just about Google search but the other diverse websites falling under Google's umbrella. These include Orkut, YouTube and Google Maps.

In India, Google Sites accounted for 88.4 percent of all searches conducted, and had a commanding share of time spent in social networking with Orkut (68.2 percent), maps with Google Maps (63.9 percent) with YouTube (82.8 percent). It also commanded slightly less than half of all time spent in the blogs category with blogger (47.6 percent) and email with Gmail (46.8 percent).

Tuesday, September 1, 2009

Try This Out !!!!

So I started running into some performance problems ROM's. I found out that the dalvik-cache gets carried over between ROM installs and that it can cause problems and that I should delete it, wipe my phone and start again.I have this little guide to follow:

Ok ... so reboot into cyanogen's recovery
note:--i am assuming you know about cyanogen's recovery if not then http://tinyurl.com/lxwgyl

Press (Alt+x) to enter the console

Enter the following commands ...

mount system
mount system/sd
rm -rf system/sd/dalvik-cache
umount system/sd
umount system
recovery

This will bring you back to recovery, from there perform the "Data Wipe" option in the menu.

When it's done reboot and you should be all good. Of course you'll have to redo your settings, but your apps will reinstall properly.

Well the results have been amazing. I performed the wipe this morning and I can say that this is the “FASTEST ROM I HAVE EVER RUN”. I thought it was fast when I first made the change, but ever since my fix this morning, it’s gone into turbo mode.

Tuesday, August 25, 2009

OBEX in Android

First of all, they are all for Android Dev Phone. You need to have root permission in Android devices. My working machine is Ubuntu 9.04 and I use Android tool chain to compile these applications.

1. Prepare working environment:
Check Android official website and they provide a user guide. It tells me how to download Android source code and how to compile it.

It took me few hours to set up environment, download code, and make the whole building system. Like my friend said, all
OTAKU in Taiwan have android source code in their machine.

If you can run Android emulator from your compiled result, it should mean DONE. :)

2. Build it for DREAM:
The Android emulator in item one doesn't support bluetooth and I cannot play OBEX in it. I choose to play it with my Android Dev Phone. Then I modified my build system and changed some configuration files. Check another document from Android, it tells me how to change my building environment. Also, if you'd like to use the official system images, you can download them from HTC.

3. Download OBEX source codes from android-obex:

a. build openobex

> cd $MYDROID (change folder to mydroid folder)
> cd external (change folder to external directory, it's for native code)
> git clone git://gitorious.org/android-obex/openobex.git (it would download code to openobex folder)
> cd openobex
> . ../../build/envsetup.sh (run android env setup script)
> mm (it would run Android makefile to compile sources)

After running above commands, it would generate related libraries and binary files in android 'out' directory.

one static library: libopenobex (out/target/product/dream/obj/STATIC_LIBRARIES/libopenobex_intermediates/libopenobex.a)
one binary file: obex_test (out/target/product/dream/system/bin/obex_test)

use USB cable to upload binary file to Android Dev Phone.

> adb shell
> mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system (add WRITE permission in system dir)
> adb push $MYDROID/out/target/product/dream/system/bin/obex_test /system/bin

b. build obexpushd

> cd $MYDROID (change folder to mydroid folder)
> cd external (change folder to external directory, it's for native code)
> git clone git clone git://gitorious.org/android-obex/obexpushd.git (it would download code to obexpushd folder)
> cd obexpushd/src
> . ../../build/envsetup.sh (run android env setup script)
> mm (it would run Android makefile to compile sources)

After running above commands, it would generate one binary files in android 'out' directory. The same as openobex, you can use adb push to upload binary file to Android Dev Phone. BTW, you should compile openobex before obexpushd, coz obexpushd need to use openobex libraries.

one binary file: obexpushd (out/target/product/dream/system/xbin/obexpushd)

4. Verify OBEX functions between Ubuntu machine and Android Dev Phone.

Bluetooth On Android

Hurray !!! Wait on we still don't have a proper Bluetooth file transfer app, but yeah there are some apps which can make somewhat somethings possible.....

We have an app called BlueX but this is a paid version, but why not try to google it you might get it through...

Also we have an app Androbex but this also has its own drawbacks......some features are still not up to mark


So the point of writing this blog is that.....you can have a temp app as of now but ya in recent times we can expect a better app thanks to everyone @ xda developers specially garok89 and others who have taken an initiative towards developing an amazing app.......so just wait on and hold on for Android to get perfect....

Thanks to openOBEX this is Possible......
OBEX=OBject EXchange=how protocol used when sending via bluetooth ot infrared
Open=open source=anyone can use the code with no copyright issues
Sit Back n Njoy......!!!!

Monday, August 17, 2009

Steps to Root Airtel HTC Magic and Mytouch 3G( for US users)

As Promised I said i would come up with steps for Rooting....


For Airtel Customers i would assure that this is working 100% because i tried it successfully myself.......

If you have tried to use our How To Root Your Magic procedure on your MyTouch, you probably noticed a huge brick wall that you ran into during the procedure. Well, finally, the good devs over at XDA, have graced us with a solution (albiet a slightly complicated one).

PLEASE PROCEED AT YOUR OWN RISK, THIS IS A COMPLICATED PROCEDURE AND COULD HARM YOUR PHONE!

So with the disclaimer out of the way, let’s begin shall we?

*Thanks to Erlern for the GoldCard procedure!
*Thanks to Amon Ra for the Rooting procedure!

Before Beginning:

Have a SPARE memory card (2GB is perfect and relatively cheap) to use for the Goldcard procedure, do NOT use your normal everyday card as it will ONLY be a goldcard after we are done.

I. Download and Install the Android SDK, Fastboot, and drivers (If you already have this done, skip this section).

1. Download these 2 files:
Android SDK
Fastboot (scroll to Fastboot tool and download the appropriate one for you computer’s OS)

2. Once you download the SDK, extract the SDK files to “C:\AndroidSDK”. Then extract the fastboot program to the C:\AndroidSDK\tools\ folder.

3. Turn off the phone, then turn it back on by holding down the Power and Back button (to enter bootloader mode).

4. Plug the phone into the computer via USB. Make sure that it says FASTBOOT USB instead of FASTBOOT now.

5. Your computer should say installing drivers right now (if this is the first time you have connected the phone in fastboot mode). Hopefully your computer will automatically install them, but if it doesn’t then use this guide from Google to install the drivers.

6. Goto the Start menu type cmd into the run section of the start menu and hit enter to bring up the Command Prompt.

7. Type the following into the command dos prompt on the computer (the black screen with white letters that just opened) while the phone is connected through USB, hitting enter at the end of the line:
cd\
cd androidsdk\tools\
fastboot devices

8. You should see a serial number pop up and the word fastboot to the right of it. This means that your USB drviers are all set up correctly and you can continue. If you do NOT see this, then you need to start over or Google for how to set up the USB drivers correctly (this will help).

9. If it worked, unplug your phone and turn it off and then back on to get to the regular home screen.

*Tip: If your computer says the drivers are installed but it is installing the wrong drivers, I recommend Uninstalling the drivers using this program, USBDeview, then plug the phone in again and choose the correct drivers in the SDK USB Drivers folder

II. Create a “Goldcard”


(USE A SPARE MEMORY CARD FOR THIS, YOU WILL NOT BE USING THIS CARD FOR YOUR NORMAL MEMORY CARD AGAIN, SO HAVE THIS GOLDCARD AS ONE MEMORY CARD AND ANOTHER CARD AS YOUR REAL MEMORY CARD FOR SAVING MUSIC, FILES, ETC. TO)

1. Put the Spare memory card into your phone.

2. With the Spare Memory card in your phone, click on Settings, SD and Phone storage, then click Unmount SD card. Once it unmounts, click Format SD card. (Please keep in mind that some memory cards don’t work)

3. On the Phone, goto Settings, Applications, Development and then make sure USB Debugging is checked.

4. *Make sure you have installed the SDK and Fastboot correctly from Section I!!!
Plug the phone into the computer and then open the Command Prompt (goto the start menu and type in cmd in the search box). Then type the following with hitting enter at the end of each line.

cd\
cd\AndroidSDK\tools\
adb devices

(wait for the it to show a serial number underneath, if it doesn’t then reinstall the drivers from section I). Then type:

adb shell
cat /sys/class/mmc_host/mmc1/mmc1:*/cid

5. A code will display, write the code down (MAKE SURE TO WRITE IT DOWN EXACTLY!)

6. Now, on your computer, goto http://revskills.de/pages/download.html and download QMAT 4.36. Extract the file to your computer somewhere and double click on the qmat.exe to open the program (THIS IS A DEMO VERSION SO IT WILL ONLY STAY OPEN FOR 10 MINUTES, SO TRY AND NOT LINGER WHILE DOING THE NEXT STEPS).

7. Click on Cryptoanalysis Tools then Crypto Toolbox

8. Scroll down till you see a text box with a button titled, “Reverse String”, next to it. Put the CID you wrote down earlier into the text box (DOUBLE CHECK IT!) and then click the Reverse String button. It should reverse the CID you put in, write this down now (AND AGAIN DOUBLE CHECK IT!).

9. Now, on your computer, goto http://revskills.de/pages/goldcard.html and enter your email in the appropriate field and for CID enter the reversed CID you just copied down BUT REPLACE THE FIRST 2 DIGITS WITH 2 ZEROS! (i.e. 12345678910 becomes 00345678910). *Thanks to Viper for providing these Goldcards for FREE!

10. Click continue and then you will receive your goldcard.img via email. Once it arrives save it to your computer.

11. Now, goto http://download.cnet.com/HxD-Hex-Editor/3000-2352-10891068.html?part=dl-HxDHexEdi&subj=uo&tag=button to download the HxD Hex Editor. Save it and install it to your computer.

12. Take your SD card out of your phone and put it into the SD adapter it came with. Then put that into your computer so it shows up on your computer as Removable Disk.

13. Open the Hex Editor and click on the Extra tab, then click on Open Disk. Under Physical Disk select Removable Disk (your SD card you just put into the computer). Make sure to UNcheck “Open as ReadOnly”. Click OK.

14. Goto the Extra tab again and click Open Disk Image. Open up the goldcard.img that you saved from your email. You should now have two tabs, one is the SD card (Removable Disk) and the other is the goldcard.img
Press OK when prompted for Sector Size 512 (Hard Disks/Floppy Disks).

15. Click on the Goldcard.img tab and click on the Edit tab and click Select All. Then click on the Edit tab again and click Copy.

16. Click on the Removable Disk tab (Your SD Card) and select offset 00000000 to 00000170 then click on the Edit tab and click Paste Write.

17. Click on File then click Save.

18. Close the Hex Editor.

19. Test what we’ve done:

Take out the memory card from the computer, then put it back in.
Try to open the memory card on the computer (Removable Disk), if it lets you, you are all set. If it asks/tells you to reformat the card, then try steps 13 – 19 again. If it gives you the same error again, then try a different memory card (Erlern said it didn’t work for him until he finally went and bought a Kingston 2GB card, then it worked on that card only).


III. Root the MyTouch using the Goldcard

1. Save the required file (SappIMG.img) to your computer, then save it to your goldcard (Do NOT rename it to anything, leave it as SappIMG.zip). Then take out your Goldcard from the computer.

ROM v2.53.707.2 (Engineerings SPL v1.33.2010) - MD5 : F9674D19BE5F949D0D9DC99714D210E3

ROM v2.16.707.3 (NON-Perfected stock SPL v1.33.0009) - MD5 : DC391E4A3FC57861D7197C151176ED96

ROM v2.16.151.1 (NON-Perfected stock SPL v1.33.0009) - MD5 : ADA4924293EFF619B05BB397446F862D

———————————————————————————————————————————————–

2.. Take your original memory card (NOT YOUR GOLDCARD) and save whatever is on it to your computer as a backup before beginning.

3. Put the memory card into your phone (AGAIN NOT THE GOLDCARD).

4. With the memory card in your phone, click on Settings, SD and Phone storage, then click Unmount SD card. Once it unmounts, click Format SD card.

5. Plug the phone into the computer and mount the SD card so we can save a file to it.

6. Download the 1.33.2005 HBoot and save it to your newly formatted memory card, and then rename it to update.zip (windows sometimes just needs you to rename it update and if you still see the zip folder symbol next to the file that means that it is still update.zip even though it only shows update).

7. Turn off your phone once the update.zip file is on the memory card.

8. Take out the memory card from the phone and put in the Goldcard (all while the phone is still off).

9. Turn on the phone by hold down the Power and Volume Down button. When the screen comes to the rainbow (or skating android screen), it should automatically pick up the SappIMG.zip file and ask you to update. Go ahead and update (DO NOT INTERRUPT THIS PROCESS).

10. Once the flashing is COMPLETE. Then turn off the phone.

11. While the phone is off, take out the Goldcard and put in the regular SD card (the one with the update.zip file on it).

12. Turn on the phone while holding Back and Power until the Fastboot screen comes up (when the fastboot screen comes up it should read, 1.33.2005 for SPL).

13. Download Amon Ra’s Recovery Image and save it to the AndroidSDK\Tools folder on your computer.

14. Plug the phone into the computer (while still in fastboot mode).

15. Goto the Start menu type cmd into the run section of the start menu and hit enter to bring up the Command Prompt.

16. Type the following into the command dos prompt on the computer (the black screen with white letters that just opened) while the phone is connected through USB, hitting enter at the end of the line:
cd\
cd androidsdk\tools\
fastboot devices

17. You should see a serial number pop up and the word fastboot to the right of it. This means that your USB drviers are all set up correctly and you can continue. If you do NOT see this, then you need to start over or Google for how to set up the USB drivers correctly (this will help).

18. If it worked, type the following into the command prompt (with hitting enter at the end of the line):

fastboot boot recovery-RAv1.2.0H.img *the 0 in 1.2.0H is a Zero not an Oh

19. Once the phone boots into the recovery mode, then click on Apply Update.zip

20. Once it is finished applying the update, hit home and back to reboot the phone. It should boot up into recovery mode, if not hold down the power button until it does. Once it loads the recovery screen, then take out the battery and put it back in.

21. Turn on the phone by holding Back and Power to get into Fastboot mode again. At the top it should read 1.33.2005. If so, turn off the phone. If not retry this section.

22. Take out the SD card (while the phone is off) and put it into your computer via the cardreader it came with.

23. Open the memory card on the computer and delete the update.zip file from the memory card.

24. Download Amon Ra’s 32A based image and save it to the memory card, rename it to update.zip

25. Put the SD card back into your phone and turn the phone on by holding down Back and Power. Once it boots up into fastboot mode, plug the phone into the computer via Usb (the command prompt should still be open on your computer).

26. Type the following into the command prompt (with hitting enter at the end of the line):

fastboot boot recovery-RAv1.2.0H.img *the 0 in 1.2.0H is a Zero not an Oh

27. Once the phone boots up into recovery mode, click the Apply Update.zip

28. Once the update is complete click home and back to reboot.

29. ALL DONE YOU NOW HAVE ROOT! You can use the phone as is now with Root access. If you want to load a new ROM (like a Hero ROM for instance)......


Any Questions welcome.....happy Rooting...njoy.....


NOTE:- Works for MyTouch