ART runtime for Kitkat 4.4 explained.

Sticky

Android 4.4 KitKat ushers in several new and exciting features with the new Nexus 5 (and further updates from Google to other Nexuses too). One of the most exciting,underdeveloped feature is a Real time compiler engine ART which has caught many eye balls in the media and among the developer community recently Some say that its due to Google new purchase start-up Flexycore is the reason behind but seeing the commits in the AOSP tells a different story that google was developing it even before the launch of Nexus 4 and So, Flexycore has nothing to do with it until recently when they joined Google for improving the ART run time. In simple words its a near replacement to today’s used Dalvik VM run time, the software responsible for all apps working in Today’s Android Phones

What is ART ?

ART stands for “Android Runtime” written in C/C++ native language which Google claims to replace the way apps are fundamentally handled by Dalvik.The dalvik runtime uses Just-In-time (JIT) compilation method to interpret the bytecode ,a exclusive version of the application code.So if you want to understand this, its like the apps written by developer are partially compiled and build, now this compiled file is ran through a device and its decoded every time it is ran on the device.This process is cumbersome and also not so efficient (though it is used in this way only for now) but the only advantage of this thing to be used is that it allows it to run on variety of Hardware platform ( wiz. ARM,x86 )unlike other platforms like iOS,Windows(to some extent) without developers needing to do anything extra for making it run on other platforms(and this is great).Also ART requires 50% less time for app startup.

Readwrite has a better example to make it understand for people:

Imagine: every time you open an app, all the different parts of the smartphone responsible for making that app work have to scramble to assemble the code for the app to make it work on your device. You close the app and all those parts relax. You open it and they scramble again. This is not a very efficient way to run apps but it allows those apps to run basically anywhere (what dalvik does)

How does ART work then ?

ART doesn’t work anything differently like what we call it in India as Rajnikanth thing ( translate : a task impossible to perform).ART uses a new approach to set-up this task it pre-compiles this task and converts it into Low level Machine language (simplest form a machine understands code) when they are first installed .This pre conversion is called as Ahead-of-Time(AOT) compilation techique which allows the apps to be truly native apps when they are installed during first BOOT (first installation takes a lot of time).At present though its in developing stages and Google warns it to users to use only if you want to risk your phone and stil keep dalvik as your default runtime only (if you run 3rd party-apps).ART can be switched on from

Settings -> Developer options -> Select runtime

Remember first BOOT can take seriously 10-20 minutes to complete as ART converts existing Dalvik runtime (libdvm.so) to the ART compatible  (libart.so) and also   rather than the ODEX files read by the Dalvik VM, ART appears to use OAT files you can even find file on AOSP.

Android Police Cody toombs:Warning: Do not try this with the Paranoid Android (or other AOSP) build right now. There is an incompatibility with the current gapps package that causes rapid crashing, making the interface unusable and also explains that :

For now, the potential gains in efficiency are difficult to gauge based on the version of ART currently shipping with KitKat, so it isn’t representative of what will be possible once it has been extensively optimized. Thus far, estimates and some benchmarks suggest that the new runtime is already capable of cutting execution time in half for most applications. This means that long-running, processor-intensive tasks will be able to finish faster, allowing the system to idle more often and for longer. Regular applications will also benefit from smoother animations and more instantaneous responses to touch and other sensor data. Additionally, now that the typical device contains a quad-core (or greater) processor, many situations will call for activating fewer cores, and it may be possible to make even better use of the lower-powered cores in ARM’s big.LITTLE architecture. How much this improves battery life and performance will vary quite a bit based on usage scenarios and hardware, but the results could be substantial.

 

ART actually has two compiler backends, both Ahead-of-Time. And one of them is based on LLVM! (The new rock star in the world of compilers) LLVM(which allows machine language code to be understood), with its more modular design, has managed to evolve at a very fast rate and take on the big guns (GCC, cl.exe) in a very short amount of time. Although most of LLVM’s strengths seem inapplicable here. ART is awesome Strikes a good balance between portability and performance,but ART is not very innovative. There also have been many successful attempts at speeding up Dalvik in the past but failed to do

(P.S:The phrase “Ahead-of-Time” is unnecessary, but when talking about JIT on already compiled code, simply saying “compiling” can be confusing, so AOT hence the redundant phrase.)

So is Dalvik bad?

Answer: Yes(to some extent) but limitations and reason are as follows:

  • Dalvik isn’t slow because it is bulky or outdated. It is slow (if you really want to call it that) because it’s a VM. Every VM incurs an overhead simply because of the added layer.The best VMs today can run code at 2X(slow) w.r.t native and so does Dalvik
  • Android isn’t slow due to Dalvik.Android is laggy(in use) more because of its massively multitasking nature,and because apps abuse and hog the system and battery (I’m looking at you Facebook)

(Note: if you hate apps hogging up your phone, but can’t live without fat apps, look into Greenify. Requires root though)

  • JIT compilation is great, JIT compiler is awesome, JIT compilation technique hardly affects 2% of the code.That 2% being really busy code, which hurt people a lot
  • As mentioned above, You can’t have pre-compiled Android app binaries, simply because Android isn’t a single,unified runtime (like iOS or Windows Phone).Android runs on all sorts of hardware (more differentiation than just arm v7, v7a, v8… x86)and for different instruction sets There has to be a single, unified byte code that gets translated to hardware specific code after install and  Dalvik is the best for that(untill ART arrived).ART’s benchmarks show 2x speed improvements. Note that Dalvik is 4x slower than native, although the gap isn’t noticeable in regular use,atleast for opening and using apps
  • Some one xda actually made a benchmark test: here is the result
  • Image

What does this mean to developers?

  • Thanks to Google, developer workflows shouldn’t change. Current developer workflow doesn’t involve dalvik anyway. As long as ART is able to read bytecode for dalvik, in other words, as long as ART doesn’t necessitate a new bytecode format (which it does till now), app developers shouldn’t have to worry a thing but you never know
  • One drawback of AOT Compiling is that developers will start to get bug reports that they can’t reproduce due to issues with compiling for a specific architecture. So developers will need to test apps on more device(like what Facebook did in a Google Lab with 70 Phone)
  • Apps will still be developed in Java and distributed as Java bytecode in apks. So no separation from Oracle technologies there.
  • AOT frees the developer from having to compile for all current and future architecture, while precompiling would require very fat binaries
  • Any language with an LLVM front end could be used to develop apps with ART(not just a language limitation) . I’m especially excited about this.
  • Native code is the best way to go but native code can be more dangerous. Programmer has more control, meaning dumb programmers can damage your phone.
  • ART will have JNI capabilities .JNI is an interface to native code from Java. The key point to take away is that JNI is for calling on code that was written to be native from the start, and therefore enjoys further optimization. Obviously, I’m simplifying quite a bit, but this is the basic.

What about custom Recovery dalvik cache?

  • Dalvik cache is that, By definition that means that anything put there can be wiped to make room for some other stuff (another app that needs to run) so when you run again the original app the JIT compiler acts again.I would think that ART won’t work this way and store complied apps in a more permanent fashion, aka the more space needed (Nexus watch out)        So, for using the ART cache the custom recovery(like CWM ,TWPR ) will need to optimise it to clear the ART Cache also (if only ART is default Runtime)

What do we lose from Dalvik?

  • ART compiles to machine level language and hence requires much more space for storage

To explain this will take an example: it’s like a zip file where the apk is the .zip file and after extracting the zip what we get is the machine level code.So here zip is what dalvik used to run directly but ART needs the extracted (here machine level code) before hand to run and this can go upto apps using up 200% more space than what dalvik used to run it.

  • When an App is first installed it needs time to convert to ART runtime format and this takes time ( not if its for a single app). But for the whole system apps it will require patience .Imagine you have 150-200 right now and you change to ART runtime ,then it seriously tests your patience( at least 20-30mins required ,as mentioned above)

Final thought:

ART sounds like a pretty amazing project, one that I hope to see as a regular part of Android sooner rather than later. Improvements are likely to happen and it will get better and will surely reduce lag and you won’t again think that an iPhone with 1 GB RAM is smooth than a Samsung S4 with 2GB RAM( native support will change it).

The Optimized code, pre compiling , better runtime  can all together work out and in the end improve the Battery Life cause at the end what Matters is Battery Life of a Phone

 

 

   


The official google documentation may vary a little bit from this information

Disclaimer :All the Thoughts and opinion mentioned above are just only my opinion,any resemblance to anyone is not intentional

 

Food Recognition using InfrarEd Spectroscopy(FRiES)

Standard

sourcex:

Our Internship Project

Originally posted on ReDx Mumbai: June Internship:

Food Adulteration is one of the major problems which affect the health of masses and also is responsible for some disease. The main aim of this project was to help people detect adulteration in food using Near Infrared (NIR) spectroscopy. The problem was that the traditional spectrometers were quite bulky and it was almost impossible to carry it around with you. What our aim was to develop a prototype design for the MEMS-FTIR spectrometer  so that it can be used for carrying around with us and also collect as many sample and study them so that any adulterated food could be detected.

In the first week we just spent our time to set-up the work place and make sure that all the conditions are perfect to test the sample and also learn how to use the spectrometer. Collection of samples from market and prepare the set-up for testing was our…

View original 365 more words

BATMAN Equation on MATLAB

Standard

 

As a Junior college student I always used to think if the Batman logo can be plotted on a graph in real life with a possible equation for it with the BATMAN logo equation circulating online. I was first wasn’t sure of the originality of the equation and always believed that “Salla Koi IIT wala hoga jo bore hoke equation banaya hoga” ( I was still in JC)

Now during my Summer Internship I was introduced to MATLAB. For once I used to think,”Oh MATLAB, yeah I know it!” (I thought as if i knew everything about it just because I heard people using it a lot and made me think as if I know it too(Human tendency)). But this time it was different as I had to use it for real and give some result. So I started Exploring it in and out and was in awe by the number of things MATLAB does for you.

One thing specially I would like to mention would be to just type “bench” in the Code window and see the rest.

MATLAB Bench() Benchmark

Two days into using it, It occurred to me that is time to decode the BATMAN equation using MATLAB plot functions and so started my search for finding a way to do it began.

And Here you go! The equation proved its existence for Real and I just couldn’t stop praising MATLAB

Batman equation by me

The whole code:


 

clf; clear; syms x y

 

 

e1 = ((x/7)^2*sqrt(abs(abs(x)-3)/(abs(x)-3))+(y/3)^2*sqrt(abs(y+3/7*sqrt(33))/(y+3/7*sqrt(33)))-1);

 

e2 = (abs(x/2)-((3*sqrt(33)-7)/112)*x^2-3+sqrt(1-(abs(abs(x)-2)-1)^2)-y);

 

e3 = (9*sqrt(abs((abs(x)-1)*(abs(x)-.75))/((1-abs(x))*(abs(x)-.75)))-8*abs(x)-y);

 

e4 = (3*abs(x)+.75*sqrt(abs((abs(x)-.75)*(abs(x)-.5))/((.75-abs(x))*(abs(x)-.5)))-y);

 

e5 = (2.25*sqrt(abs((x-.5)*(x+.5))/((.5-x)*(.5+x)))-y);

 

e6 = (6*sqrt(10)/7+(1.5-.5*abs(x))*sqrt(abs(abs(x)-1)/(abs(x)-1))-(6*sqrt(10)/14)*sqrt(4-(abs(x)-1)^2)-y);

 

 

Equation = '((x/7)^2*sqrt(abs(abs(x)-3)/(abs(x)-3))+(y/3)^2*sqrt(abs(y+(3*sqrt(33))/7)/(y+(3*sqrt(33))/7))-1)*(abs(x/2)-((3*sqrt(33)-7)/112)*x^2-3+sqrt(1-(abs(abs(x)-2)-1)^2)-y)*(9*sqrt(abs((abs(x)-1)*(abs(x)-3/4))/((1-abs(x))*(abs(x)-3/4)))-8*abs(x)-y)*(3*abs(x)+3/4*sqrt(abs((abs(x)-3/4)*(abs(x)-1/2))/((3/4-abs(x))*(abs(x)-1/2)))-y)*(9/4*sqrt(abs((x-1/2)*(x + 1/2))/((1/2-x)*(1/2+x)))-y)*((6*sqrt(10))/7+(3/2-abs(x)/2)*sqrt(abs(abs(x)-1)/(abs(x)-1))-(6*sqrt(10))/14*sqrt(4-(abs(x)-1)^2)-y)=0';

 

 

axes('Xlim', [-7.25 7.25], 'Ylim', [-5 5]);

 

hold on

 

ezplot(eq1,[-8 8 -3*sqrt(33)/7 6-4*sqrt(33)/7]);

 

ezplot(eq2,[-3.5 4.2]);

 

ezplot(eq3,[-1.0 -0.75 -5 5]);

 

ezplot(eq3,[0.75 1 -5 5]);

 

ezplot(eq4,[-0.75 0.75 2.25 5]);

 

ezplot(eq5,[-0.5 0.5 -5 5]);

 

ezplot(eq6,[-3 -1 -5 5]);

 

ezplot(eq6,[1 3 -5 5]);

 

 

title('Batman');

 

xlabel('');

 

ylabel('');

 

hold off

 

 

figure

 

axes('Xlim', [-7.20 7.20], 'Ylim', [-4.5 5]);

 

hold on

 

ezplot(Equation, [-6.5 7 -3 2]);

 


To simplify it a little bit :

 

 

 

Equation 1:((x/7)^2*sqrt(abs(abs(x)-3)/(abs(x)-3))+(y/3)^2*sqrt(abs(y+3/7*sqrt(33))/(y+3/7*sqrt(33)))-1);

 

 

eq1

 

 

Equation 2:(abs(x/2)-((3*sqrt(33)-7)/112)*x^2-3+sqrt(1-(abs(abs(x)-2)-1)^2)-y);       eq2

 

Equation 3: (9*sqrt(abs((abs(x)-1)*(abs(x)-.75))/((1-abs(x))*(abs(x)-.75)))-8*abs(x)-y);

 

eq3

 

 Equation 4: (3*abs(x)+.75*sqrt(abs((abs(x)-.75)*(abs(x)-.5))/((.75-abs(x))*(abs(x)-.5)))-y);

 

eq4

 

Equation 5 = (2.25*sqrt(abs((x-.5)*(x+.5))/((.5-x)*(.5+x)))-y);
eq5

 

Equation 6 =  (6*sqrt(10)/7+(1.5-.5*abs(x))*sqrt(abs(abs(x)-1)/(abs(x)-1))-(6*sqrt(10)/14)*sqrt(4-(abs(x)-1)^2)-y);

 

eq6

 

 

X-plore MATLAB and share your experience too.

 

 

P.S: If you are wondering how much did i praised MATLAB then for the record it is 9 times. Make it 10 now

 

 

 

 

 

 

Source of Inspiration:  Math Stackexchange || traeblin

Google will now reward Android Developers too for submitting patches to AOSP for Security

Standard

The Search giant engine Google on October 9, 2013 announced a new, experimental program that rewards proactive security improvements to select Open-source projects.This effort complements and focuses on their long-running vulnerability reward programs for Google web applications and for the new Google Chrome OS.The Official announcement on the Google’s Blog reads:

We all benefit from the amazing volunteer work done by the open source community. That’s why we keep asking ourselves how to take the model pioneered with our Vulnerability Reward Program - and employ it to improve the security of key third-party software critical to the health of the entire Internet

As per Google, announcing only a bug-hunting program for the developers won’t generate specific volume of traffic for them and also could possibly backfire it for them.So,Google will now reward the Developer who not only finds a bug but also patch it to Google’s Security Team.

What Programs are included in Patch Reward Program?

  • All the open-source components of Android: Android Open Source Project.(New addition)
  • Widely used Web servers: Apache httpd, lighttpd, nginx.
  • Popular mail delivery services: Sendmail, Postfix, Exim, Dovecot.
  • Virtual private networking: OpenVPN.
  • Network time: University of Delaware NTPD.
  • Additional core libraries: Mozilla NSS, libxml2.
  • Toolchain security improvements for GCC, binutils, and llvm.

These additions join the following five project types with which Google launched its program in October:

  • Core infrastructure network services: OpenSSH, BIND, ISC DHCP.
  • Core infrastructure image parsers: libjpeg, libjpeg-turbo, libpng, giflib.
  • Open-source foundations of Google Chrome: Chromium Project, Blink.
  • Other  libraries: OpenSSL, zlib.
  • Security-critical, commonly used components of the Linux kernel (including KVM).

What type of Submission are subjected to Qualifying ?

Any patch that has a demonstrable, significant, and proactive impact on the security of one of the in-scope projects will be considered for a reward

  • Improvements to privilege separation,
  • Memory allocator hardening,
  • Cleanups of integer arithmetics,
  • Systematic fixes for various types of race conditions,
  • Elimination of error-prone design patterns or library calls

How to Submit my project?

You need to first find a bug and then directly submit the patch to the maintainers of the project who work for Google.You must then co-ordinate with them to have it accepted into the repository and incorporated it into shipping of the program and submit your entry to security-patches@google.com.

As per Google,the need for shipping the patch has 2 reasons:

Minimize the Burden of the maintainers and ensure high-quality code
Also,a patch that never ships simply doesn’t help much to Google :)

Why won’t Google Reward me for only finding the Bugs?

Well Google believes that only finding the bugs won’t help them to improve security but finding the solution or a patch for it will surely help them to improve security towards their applications and projects.Also,If you feel insecure that your work can be misused, Google also allows you to submit it privately to the Security team

How much will I earn ?

Rewards for qualifying submissions will range from $500 to $3,133.7(Never got to know why that 70 cents extra) still the final amount will always be chosen at the discretion of the reward panel and is based on our judgment of the complexity and impact of the patch.(So don’t irritate the security team)

Is it for the First time Google has Started this?

No,Google is working on this type of Bug hunting since time and many people have managed to earn Thousand of Dollars from it.The Very famous of them being  Pinkie Pie who managed to Earn $60,000 last year and another 40,000 this year..Isn’t it Great ?

Is Google Only company to do this ?

  • No,Microsoft’s Mitigation Bypass and Blue Hat defense is also one of them who run similar bug hunting program
  • Even Facebook reward for finding a bug or exploit to Facebook security in Facebook Security Program
  • One awesome thing about this is that even a Google Security team Member and one of the Panel of Patch Reward program Ivan Fractic actually participated in Microsoft bug hunting for a bug in IE 11 and was rewarded for it in October,2013

What this mean to Google and why are they doing this? 

Google just wants to improve the security of its applications which they fear of losing it to potential attackers and also remove the additional 3rd party apps support to avoid unofficial app support like the iMessage  got it for Android.They also feels that Open Source will appeal more to developers if Contributors to Open source themselves can help Google finding the faults in the system also they feel sometimes the bug can be avoided by improved coding techniques and avoiding bad calling functions in the programs, which can also avoid exploits for a system

Who is benefited Google or Developers ?

  • In a way, Google benefits the most as they can improve their code by simple help from developers who help develop Open Source projects
  • Developers can earn quite a small amount in turn by giving out their precious time to Google
  • Customer who use Google Services in day-to-day life will now possibly have better Security for all their online stored data

So, in turn everyone is benefited from this

Source: Google Blogspot  and Google

What is the actual Math behind Reliance Contract scheme for iPhone ?

Standard

Reliance finally after seeing lot Contract based Phones in USA recently came up with a solid idea of implementing a contract based iPhone 5c and iPhone 5s sales in India too

The scene isn’t new to the western world anytime but is surely new to prepaid customers in India. So today I will mention about the whereabouts of this scheme for general public ,who aren’t much aware of what they are engaging into.

Warning: The above Math is purely for informative purpose , any Apple Fan please don’t treat it as anything different and if you are die hard apple Fans you wouldn’t care too much to read about it

iphone 5s

The below table means you pay INR 2599 for an iPhone 5c and INR 2999 for an iPhone 5s as a 24-month Contract based EMI for 16 GB version and you pay the down payment if you want 32 GB or 64 GB (refer Table)

image3

Though This offer from Reliance is unique and first of its kind in India and marks the beginning of subsidized contract-based smartphone sale in India. This has really stirred high-end smartphone industry in India and is definitely positive indication of similar future contract-based smartphone launch offers.

Now How Actually the Deal works?

  • iPhone 5c 16GB costs Rs.56376 with this bundled offer (incl. tax) on upfront payment (no monthly payment required for 2 years;One time)
  • iPhone 5s 16GB costs Rs.65976 with this bundled offer (inclusive of tax) on upfront payment.

Note : They Offer a INR 6000 Discount Discount for this Scheme

  • On EMI Payment via Only credit card, iPhone 5c costs Rs. 2599 each month for 24 months
  • On EMI for iPhone 5s, INR 2999 will be deducted each month for 2 years.
  • If purchased on EMI, The total cost for iPhone 5c INR 62376 and for iPhone 5s -INR. 71976
  • The entire amount of the transaction is blocked from your credit limit. You only pay the EMI to your card issuer.

image_thumb4

Image Courtesy:Captialmind.in

The above pic displays the EMI + Interest cumulative distribution

So it means that in the first place you need to have following:

  • A Credit Card with atleast a limit of INR 75,000 (recommend)so then only you can pay for it and have the credit limit still left behind with you

E.g: You order a 5c 16 GB then you need to pay the INR 62376  amount upfront from your credit card and this actually is included in your billing so need to pay the additional Tax on this amount also

The Worst Part: This is a sort of loan taken by you from your bank,So need to pay 15 % interest too on it  That Amounts to

EMI Details

Image Coutesy:Thinkdigit

What is Still Unclear is the “Service Tax” to be paid to the Bank for this…If you account that too then it amounts to about after 24-Months

  • INR 1150 (for iPhone 5C 16 GB)
  • INR 1360 (for iPhone 5S 16 GB)

Note: The Banks which have this scheme are:

  • ICICI Bank
  • HDFC Bank
  • Standard Chartered bank
  • Citi Bank
  • The bundled offer (usage benefit) from Reliance is same for both the smartphone i.e. customer will get Reliance postpaid connection with Unlimited calls, sms, 3G, 2G, free roaming (incoming and outgoing) with NO FUP or speed capping.(No FUP means No Restriction on speed after certain usage)
  • iPhone is not locked i.e. you can use iPhone with any sim card/network of your choice.
  • The Reliance sim card/connection which comes with an iPhone doesn’t only work with an iPhone          

e.g: Say your Father buys an iPhone and doesn’t want to use it ,then he can change his SmartPhone and make use of the scheme on that phone(This is cool)

  • This reliance iPhone offer sim card/connection can not be used in USB Dongles so you can not use it in your 3G data card for internet.
  • Available in select cities only New Delhi, Mumbai, Chandigarh, Ludhiana, Bhopal, Indore, Raipur, Gwalior, Jabalpur, Amritsar, Jalandhar, Patiala, Jamshedpur, Patna, Ranchi, Bhubhaneshwar, Jaipur, Guwahati, Bhatinda, Cuttack, Siliguri Customer can also buy from any of the given cities with a local address proof and use it in their own city. Customer can also buy it online but before placing order, pin code checking is done to ensure that customer is from one of the given cities.
  • If you don’t have 3G in your Area then you can get 2G unlimited(but price is same; No cost benefit)
  • You can use MNP from other Carriers to switch to Reliance for this Scheme
  • Only GSM Networks ;No CDMA Offers

Can You Run Away With The Phone and Not Pay?

Of course you can. But that’s like saying “Can you steal from my Safe deposit from Bank ?”

Your loan is from a bank (that issues the credit card), not from Reliance. So if you  don’t pay, the bank will come after you for the loan. They will add you as a defaulter.

They don’t care whether you have decided to become an Android or a Windows fan, and they will not cancel the loan if you give back the phone. Your credit card will be blocked – because you’re a defaulting in front of them now.

And Once you are in Defaulter, you face many problems;If I list a few:

  • No Visa application can be filled
  • NoLoan application can be filled and if you are Guarantee for someone’s Loan ,even he suffers
  • They can Chase you for Generations ,So even your Grandsons will suffer

My adviceDon’t be like ADIDAS and Just Do it

What Reliance Benefits from this?

  • Reliance gets its Upfront Cost beforehand, it is the Bank who suffers after that; so in a way Reliance is Out of Picture when it comes to EMI installments
  • RCOM charges INR 62000 whereas Orginal Off-Contract Price is INR 53000 odd, so considering that they get the Phone for INR 40000 they make a INR 20000 profit straight away(speculation considering 650$ or INR 40131 US price)
  • India has many Apple fans who are ready to pay anything ,so RCOM even gets a Subscriber rise substantially

What is the Downside for this Scheme?

  • Network: RCOM doesn’t have the best network coverage in India nor for GSM nor for 3G ,so this might be a problem for many

ROI- Airtel-small

ROI Reliance CoverageCourtesy:Sensorly

This is the map of parts of West and South India, comparing the

Reliance network – bottom 

Airtel network – top

Airtel Mumbai rcom mumbai

This is Comparison of Network Coverage in Mumbai 
Airtel-Top
RCOM-Bottom

  • No Upgrades: Consider if you want a iPhone 6 or 6s(whatever) next year ,considering that only half of your installment will be paid by next year ;You can’t upgrade to it until and unless you pay the full Amount and the Contract Violation Charge + Down payment (if any)for that Phone

TL;DR: Who should Buy this?

  • Really want to buy the iPhone 5(S or C) with warranty
  • Don’t mind switching to the Reliance network, and
  • Don’t care about upgrading your phone for two more years, and
  • Don’t want 4G LTE (RCOM doesn’t offer it now)for free when it comes
  • Don’t have a problem with the limit getting blocked on your card,
  • Can afford this EMI (A must. Revolving credit costs on credit cards are ludicrously high)
  • Who generally have a INR 1000+ Bills

What is the Best Deal?

The 16GB iPhone 5s sounds like the best deal. It has ample storage for most uses and based on the calculation of Rs 2,999 EMI, it comes to Rs 71,976+1334(Service tax if bank charges)

That Totals to INR 72,310 including all costs for 24 months.

The unlocked price of the iPhone 5s base model is Rs 53,500, so in essence you will be paying a Rs 18,476 premium over the course of 2 years with the RCOM offer.

That’s about Rs 770 per month for 24 months.

Considering, The 4GB 3G data plan on RCOM is priced at Rs 450,(prepaid) this sounds like a Sweet deal indeed and is easily the best option to go with when it comes to buying the new flagship iPhone.

OR 

Paying a One time INR 65976  

Any Alternatives?

Yes, Airtel also offers the iPhone 5s for INR 53,500 upfront and then 50% discount for iPhone users

Using Airtel vs Reliance: for iPhone 5s

Airtel(INR) Reliance(INR)
Upfront Cost 53,500 65,976
Installment EMI 0 2,999 (To Bank)
Calls Limited* Unlimited
DATA 3G Limited* Unlimited
Total(at end of 24 month) 77,500**  74130
Savings 12,000/year  3,000/year
Disadvantage while saving Restriction to calls ,3G DATA Need to pay for 2 years at one time

*Refer above table for Airtel Rates

**Airtel 2000 Scheme

Note: Upfront Price is One time in above list

So After Reading this ,Still Think that Reliance is offering it at very less price…Nah!

But the Scheme is definitely worth it, if you are wanting an Unlimited Scheme and Don’t mind staying with it for 24 Months

Finals Thoughts: This is a very common scheme in USA and when after using this scheme for years there USA citizens are now wanting to opt for Contract-free(like now in India) GSM sims for phones

So in a way ,we are again implementing something which the Western world has already played with and are fed up it

Lets see how it fares in India in time ahead….What do you think about it?

EDIT:Updated the Calculation

Follow me on Twitter:

Buying Nexus 5 From US Play Store to India under Rs. 26000

Link

 Nexus 5 was launched today and it will be atleast a couple of months before it arrives in India. So, if you want to order Nexus 5 immediately from US play store, this is the ultimate guide you need to follow.

And the best part is, ordering from US play store will not only get you Nexus 5 much earlier, but you will actually end up saving good amount of money compared to buying it from India.

Follow the guide given below, and you should not have any problems.

Google Nexus 5 INR Price if you Order in India from US Play Store

[Price calculated at Rs. 62 exchange rate]

  Nexus 5 (India)16 GB Nexus 5 (US)16 GB Nexus 5 (India ) 32GB Nexus 5(US) 32 GB    
Prices INR 28,999 USD 349 INR 32,999 USD 399    
Shipping   USD 37   USD 42    
Shopandship INR 0 INR 620   INR 620    
Import Duties +Octroi(optional to maharshtra,so exclude from total ) INR 0 INR 1200-1300   INR 1200-1300    
Total INR 28,999 INR 25,105 INR 32,999 INR29,109    

Note: The prices may vary slightly depending you are address in the US as taxes differ from state to state.

Link to :Custom Duties Prices

Please keep in mind that guide below was prepared for Buying any Product from US, the process is exactly the same for Nexus 5

If you follow me on Twitter  , by now, you know that I am a proud owner of Samsung Galaxy Nexus. It is definitely not the most expensive  out there, but when I got it for the first time, it felt like I had achieved something.. and by the end of this article you will know why I had that feeling. Nexus 5 is available in India through regular Google Play store

So 2 Reason to Buy From US:

Of course, you can buy it on 3rd party websites like E-bay, grabmore,Amazon and many other sites, but you need to pay atleast 30 to 40 percent premium on the pricing. Now, I could have bought by paying the premium, but it would not have given me half the satisfaction.of ordering it from playstore

Buying a Nexus 5 via Google play store in India is an arduous task, it really is, and it will probably remain so till the time Google decides to release it in India.I Doubt that those who aren’t Tech Savvy will Hardly Ever own a Nexus ..But this Guide will Surely help them Somehow to Simplify it,

Step 1 – Getting to Google Play Nexus  “Buy Now” page

While you can visit Google Play Nexus page by going to Nexus 5 once you click on “shop now” button, you will be first presented with a screen that says:

PS 2

The devices on Google play are COMING SOON in India, so you will need a workaround.

So the first thing to Shop the US playstore on your Browser you need to Download a VPN Client which will give you a Temporary US based IP so the Playstore understands that you have logged in from US. These VPN Clients offer Free Data of 500 MB to 1 GB Free per Month.

If you are not comfortable with VPN Clients, just search Google for a US proxy or VPN client, and you should get many others as well.

HotSpot Shield

You will need to download the VPN Client Hotspot Shield  register with them and you are ready to go. Once you have started the VPN Client, It will ask you for Upgrade Options..It your wish if you want to Upgrade you can Carry on(if you wish to use Spotify , Pandora etc  US based Service then you will surely need to Upgrade to pro)

Vpn 2

Now go to the Browser and Open the Same Site and BOOM

Nexus 5

You can opt for 16GB or 32 GB(its only USD 50 more) its upto you.But once the phone is in shopping cart, you are faced with another issue. You need to 2 things – A US Credit card with and US shipping address because Google does not ship outside of the US. So, before you actually go through the process, you will need to have these 2 things in place.

How to Get US Shipping Address

There are few online portals who offer you virtual US post box addresses. Shopandship.com, is one of the leading sites who offer you US, UK as well as China shipping addresses. I recommend you using this  to order my Nexus 5. I have been recommended by one of my members here  for Choosing shopandship

However, please note that you will need atleast a week for your account to get activated and your shipping address being assigned to you. So, before you head to the Google Play store, please make sure that you have your US shipping address in place with you and you are ready to give it a go

In regards to the US credit card, there is a workaround. You can use your Indian Credit card itself(sometimes it works ,Sometimes it doesn’t) and for billing address, you can give any US address. ;I gave US address of my Friend studying there

If you don’t have a credit card and have a debit card from banks like HDFC,ICICI ,AXIS Bank they offer virtual netsafe credit cards to be generated, which could be used!

Alternate:You can go to this Website for getting a Virtual Debit Card for US or This also work ( Tipped by One of my friend)

Note:This problem of Virtual Debit card only Occurs for PlayStore and not for sites like Amazon,Ebay

Placing the Order on Google Play

Coming back to placing order on Playstore. Once you have selected the Nexus 5 model 16 GB or 32 GB and entered the shopping cart, enter you credit card and US shipping address and in all probability your order should get through.[OT]One of my Friend who placed an Order on 1 Nov 2013 from India had a email saying that it will Leave the Warehouse by 5 November by Luckily his Brother Stays there and he will Ship it to him via International Courier

Additional Charge of 20 USD to 30 USD( approx INR 1240 to 1860) [/OT]

India Shipping, Customs & Duties

Luckily Shopandship and PPoBox does everything on your behalf.Once they receive the Product on mY behalf on the Virtual Address. they will Weight the Product and Accordingly Charge me the Shipping Rates

Luckily Nexus 5 is 130 g (4.59 oz) so the Shipping Charges are Minimal ( INR 600-1000 )

Note: The Heavier the Product the More is the Shipping Charge

Exact Cost of Google Nexus 5

Here is the exact break-up of cost on Google Nexus 5(Rate INR 61.88)

  Nexus 5 (India)16 GB Nexus 5 (US)16 GB Nexus 5 (India ) 32GB Nexus 5(US) 32 GB    
Prices INR 28,999 USD 349 INR 32,999 USD 399    
Shipping   USD 37   USD 42    
Shopandship INR 0 INR 620  INR 0 INR 620    
Import Duties* +Octroi(Only For Maharashtra,So Exclude from total) INR 0 INR 1200-1300  INR 0 INR 1200-1300    
Total INR 28,999 INR 25,105 INR 32,999 INR29,109    

Add to this Octroi which came to about Rs. 1100 taking the cost of Nexus phone to Rs. 25,500. However, in most other cities in India, Octroi is not there. So, even with slight change in exchange rates and other things, the cost of your Nexus 5 phone should not exceed Rs. 25,500/-. For that price, Google Nexus 5 is definitely worth it!

N5 India

Image Edit: Nexus 5 Comes up on indian Retail Store

Wait for it cause this time Google is expected to Launch In India for INR 28,999 and INR 32,999 for 16 and 32 GB respectively on PlayStore .But this is Exclusive of Shipping and Taxes So ,Considering Google’s Shipping Charges (Like in US) the Price Of Nexus 5 may go beyond INR 30,000 or INR 34,000

TIP: Buy it from Amazon US and you can get a 7.5% (Monthly Coupon Code if you Buy from there frequently) off on the Nexus 5 (i.e 323$ or INR 19987 )

Like I said, it is a Difficult task buying a Nexus 5 in India… but in the end, it was all worth it and you save a certain Amount! If you have any questions, do drop me a comment if it Help and I would be more than happy to clarify it!

P.S:

  • This whole Process Might Take More than a Week …approximately 10-11 days..So Order it Now
  • This Method is Universal for all products from any Country but Play Store is Little bit Strict in this so Wrote a guide on it

Thanks to Arun Prabhudesai :whose Buying a Nexus 4 from US Tutorial helped me

Do Leave your Thoughts here: