Nexus One as Dev Device

by Nathan » Fri, 16 Jul 2010 05:20:17 GMT


Sponsored Links
 Since the question comes up of what dev phone to use, I thought I'd
post my initial experience with a Nexus One as a dev device.

I got a Nexus One from Ebay with Froyo loaded. It is for TMobile and
is working with my prepaid SIM card and sometimes working with wifi.

Since getting it, I have been able to develop and test pinch and zoom,
which will be a benefit to my customers.

Nonetheless, I have a few questions.

System Updates:
A few times, it has tried to install a system update (its on FRF50
now). It goes to system recovery and then fails because of a lack of
signature on the update.
Is there a way to manually install these updates.
If not, will these ever work if I don't have a data plan?

WIFI drops
This phone has been terrible about dropping wifi in my house, while my
G1, laptop, and Windows Mobile 6 devices have all been fine.
I can pretty much count on the fact that wifi won't work every time I
go to pick it up. The wifi status still shows it connected to my local
network as if nothing is wrong, but the market, the browser, and every
other app using internet will be in a fail state.
In advanced WIFI settings, the Wi-Fi sleep policy is set to "Never",
but the behavior is as if it were set to "Always"

Has anyone with some Nexus One Experience worked around these issues?

I happen to also be the network administrator for my househould ;), so
I can set up my Belkin router differently if that helps.

Thanks,

Nathan




--



Nexus One as Dev Device

by Kiall Mac Innes » Fri, 16 Jul 2010 05:24:36 GMT


 Follow the AndroidSPIN guides to upgrade from frf50->frf92 - they worked for
me...

The wifi policy issue, if I remember right, was fixed after frf50.

Good luck.

Kiall



>


Sponsored Links


Nexus One as Dev Device

by Maps.Huge.Info (Maps API Guru) » Fri, 16 Jul 2010 05:29:27 GMT


 I can only comment on my N1 experiences...

I bought one directly from Google, AT&T version. The moment I started
it, Froyo FRF51 loaded, no problems.

It works like a charm on my home wifi, it has very good range, past
when my Mac laptop will connect, but about the same as the Evo.

Overall, I like the N1 better than the other Android devices I have
(HTC Magic, Motorola Droid, HTC Evo).

-John Coryat

--



Nexus One as Dev Device

by Phil Nickinson » Fri, 16 Jul 2010 05:33:25 GMT


 It has to be completely stock for the updates to take --- stock as in stock
recovery and ROM --  as the Froyo updates weren't full ROMs but rather build
on each other.

Here's the guide I use when I'm going back and forth -- and, yes, I'm
linking to site that's not Android Central. :p

 http://androidspin.com/2010/06/23/how-to-get-android-2-2-build-frf83-from-any-stock-build/ 

On Thu, Jul 15, 2010 at 4:29 PM, Maps.Huge.Info (Maps API Guru) <



>



Nexus One as Dev Device

by Nathan » Fri, 16 Jul 2010 06:07:50 GMT


 


How do I know if I have stock recovery and ROM? Sorry for my
ignorance.


Unfortunately, I'm seeing a lot of broken links there, including the
update that might get me from FRF50 to 83 in one step. I am afraid of
getting stuck halfway through their processes.

Nathan

--



Nexus One as Dev Device

by Kiall Mac Innes » Fri, 16 Jul 2010 06:49:25 GMT


 Google removed the out of date files, try the alternative links or Google
the file names... there still out there..

So long as your bootloader is locked (if you see a small symbol at the
bottom during boot, its unlocked) it wont flash tampered files...

Kiall

Kiall




stock
build
>



Nexus One as Dev Device

by Nathan » Fri, 16 Jul 2010 07:58:20 GMT


 


Two things:

1. Apparently my bootloader is unlocked, which I believe is
unrecoverable.
2. It is rejecting all the updates for lack of a signature anyway.

I do not know how to tell if is rooted or what hacked or custom rom
might be on here. I thought I was buying a stock unit and am not happy
with the seller right now.

Nathan

--



Nexus One as Dev Device

by Matt Pellerin » Fri, 16 Jul 2010 08:04:27 GMT


 I know what he did and you should get a refund asap.

On the qualcomm chipset there are NV item stored in the QCN file, part of
modem and stored on nand. The signature files are stored there. The previous
owner most likely flashed custom roms onto device and screwed up the last
time, rom didn't fully flash or battery was unplugged most commonly. This
can and will wipe out the NV values, which can only be restored in factory
using QPST. You should not try to use a QCN from another Nexus as it will
cause problems.

-Matt P








Two things:

1. Apparently my bootloader is unlocked, which I believe is
unrecoverable.
2. It is rejecting all the updates for lack of a signature anyway.

I do not know how to tell if is rooted or what hacked or custom rom
might be on here. I thought I was buying a stock unit and am not happy
with the seller right now.


Nathan

--



Nexus One as Dev Device

by Kiall Mac Innes » Fri, 16 Jul 2010 08:20:33 GMT


 Forget about a refund, unless your claiming it based on the unlocked
bootloader voiding your warranty.

Android phones (well HTC made android phones) are, basically, impossible to
brick - @loxdev on twitter + xda forums has released a full rom (he merged
the stock rom with all the updates into one)  that doesn't care what your on
right now (aka its not an upgrade).

Don't have the URL now as I'm on holidays without a laptop ;)

I guarantee the phone is possible to return to stock in every single way,
other than you can't relock the bootloader.

Contact me off list and ill be glad to help once I'm home tomorrow evening.

Kiall




I know what he did and you should get a refund asap.

On the qualcomm chipset there are NV item stored in the QCN file, part of
modem and stored on nand. The signature files are stored there. The previous
owner most likely flashed custom roms onto device and screwed up the last
time, rom didn't fully flash or battery was unplugged most commonly. This
can and will wipe out the NV values, which can only be restored in factory
using QPST. You should not try to use a QCN from another Nexus as it will
cause problems.

-Matt P









Nathan

--



Nexus One as Dev Device

by Nathan » Sat, 17 Jul 2010 00:29:28 GMT


 The original owner says "It is running the Google released rom for
Android 2.2 (Froyo)."
etc.
Even the wifi unreliability seems to show up in stock ROMs. It might
be rooted, though, because it has some app called "superuser
permissions".

At the moment, it seems to be dead in the water at installing new
updates. If I can get past that, I'll be okay with it. It was
advertised as "unlocked", which usually means carrier independent, not
"bootloader unlocked" or rooted. If the ability to install updates
remains broken, I will try to get the refund.

Nathan






>



Nexus One as Dev Device

by Matt Pellerin » Sat, 17 Jul 2010 00:50:43 GMT


 If it has the superuser apk then it is rooted and not stock




The original owner says "It is running the Google released rom for
Android 2.2 (Froyo)."
etc.
Even the wifi unreliability seems to show up in stock ROMs. It might
be rooted, though, because it has some app called "superuser
permissions".

At the moment, it seems to be dead in the water at installing new
updates. If I can get past that, I'll be okay with it. It was
advertised as "unlocked", which usually means carrier independent, not
"bootloader unlocked" or rooted. If the ability to install updates
remains broken, I will try to get the refund.

Nathan











--



Nexus One as Dev Device

by Craigo » Mon, 19 Jul 2010 10:10:34 GMT


 Never had a problem with WiFi, however, the N1's soft touch buttons
are somewhat painful.  I've accidentally pressed the home button a few
times while typing on the on-screen keyboard.  They also seem to only
register if you click them on the top (closer to the screen).  Other
then that, it beats the G1 in every other way.





--



Nexus One as Dev Device

by Nathan » Wed, 21 Jul 2010 03:35:33 GMT


 The device is definitely rooted. I guess some people would be
thrilled, but it wasn't what I was shopping for. If I can get it to
take updates, I'll be okay, though.

Nathan





--



Other Threads

1. Waiting Dialog?

Hi Guys,

I got the following prob:
-I have to implement an interface
-in most methods its like "show dialog and get the selected result"
-afaik in android there is no way to wait for such a result

so... that's the base;



[syntax="java"]public int showDlg()
    {
        int iSelectedChoice = -1;

        //show Dlg

        //wait for Dlg to be finished (ok or cancel is clicked)

        return iSelectedChoice;     //return selected choice
    }[/syntax]




and my current implementation:





[syntax="java"]public int AskQuestion(String[] choices, String
strQuestion, int preSelect)
    {
        Dialog oDlg = null;
        Builder oBuilder = new AlertDialog.Builder(this);
        oBuilder.setIcon(R.drawable.cortado_icon);
        oBuilder.setTitle("Question");
        oBuilder.setSingleChoiceItems(choices, 0, this);
        oBuilder.setPositiveButton("ok", this);
        oBuilder.setNegativeButton("cancel", this);

        oDlg = oBuilder.create();
        oDlg.show();

        while(m_fBool == false) //m_fBool is set true when a button is
clicked (in the onClicklistener)
        {
            try
            {
                Thread.sleep(100);
            }
            catch (InterruptedException e)
            {
                e.printStackTrace();
            }
        }

        return m_iResult;
    }[/syntax]



In my implementation I can't see the Dialog anyway =(
Please help me, its urgent!!!

--~--~---------~--~----~------------~-------~--~----~

2. Root Access for Unlocked MyTouch 3G

I realize that root access can be acquired on most or all android  
devices in one way or another, but my question is: Can root access be  
legitimately obtained on a legitimately unlocked HTC MyTouch? What I  
want to do is purchase an unlocked HTC MyTouch from T-Mobile for the  
full non-contract price. I am not a T-Mobile service customer and do  
not intend on becoming one. In this scenario, do they still want to  
restrict root access?

--~--~---------~--~----~------------~-------~--~----~

3. RuntimeException -

4. Any updates on ADC-2?

5. ADC 2 - Can I post my app to the app store after August 1st?

6. sdk for windows from source code

7. Is there a simple way to...