Re: [android-building] Re: Installing .p12 Certificates Nexus 7 4.2.2

343 views
Skip to first unread message

Jean-Baptiste Queru

unread,
May 30, 2013, 8:37:57 PM5/30/13
to android-...@googlegroups.com
For 4.1 and above, 12.04 is fully supported, with gcc 4.6, no need to use an older version.

Most probably, you either don't have the binaries from https://developers.google.com/android/nexus/drivers or you have the wrong version. If you check the log during boot, the system probably dies trying to bring up surfaceflinger.

JBQ


On Thu, May 30, 2013 at 5:02 PM, Paul Arnold <paul.jose...@gmail.com> wrote:
I'm having trouble just building AOSP 4.2.2.  I followed the instructions on the source.android.com site but nogo.  Could you tell me what I might being doing incorrectly? 

First I tried building on ubuntu 10.04 (64bit) so I tried ubuntu 12.04 (64bit).  However my desktop was uninstalled during the build environment setup. Then I learned that gcc4.6 would not compile AOSP correctly so I downgraded to gcc4.4 but still no luck.  I get the system to build but when I:

# fastboot -w flashall

the system just stays on a black screen.  I then have to flash the original ROM and start over. 

I've built android now 5 times, once with 10.04 and the other 4 times with 12.04.  I'm attaching a file with my notes.

Any help is appreciated.  I have the Nexus 7 as well with an unlocked bootloader


On Wednesday, May 29, 2013 11:30:51 AM UTC-4, katdroid wrote:
Hi all,

I have built AOSP 4.2.2 for the Nexus 7 device. I flashed the images, it then booted up properly, and everything seemed to be in working order. I set a password and now I am trying to install .p12 certificates through Settings>Security>Install from Storage. After pushing the .p12 to the sdcard, and selecting 'Install from Storage' the device just hangs. The screen fades, freezing, and the certificates do not get installed.

I built AOSP 4.1.2/4.2 for the Nexus 7 and the certificates were able to be install, and I could use them in an app to access my VPN.
I flashed the google factory images from the site for the 4.2.2 JDQ39 Nexus 7 and the certificates installed and worked.

I have wiped and rebuilt the AOSP 4.2.2 several times, but I still can't get the certificates to install.

Anyone had/heard this happening before? Any advice is much appreciated!

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.

Questions sent directly to me that have no reason for being private will likely get ignored or forwarded to a public forum with no further warning.

Paul Arnold

unread,
May 31, 2013, 10:14:37 PM5/31/13
to android-...@googlegroups.com
That worked.  Thanks!  Now I'm on to modifying apks and other fun stuff.


On Fri, May 31, 2013 at 4:25 PM, katdroid <katd...@gmail.com> wrote:
Hello Paul!
For me gcc 4.6 is working just fine, this is what I do... Just before I do the "$ source build/envsetup.sh"...
I do a:
$ cd <path_to_working_directory>/<working_directory>/kernel/tegra
$ make ARCH=arm tegra3_android_defconfig
$ make ARCH=arm CROSS_COMPILE=<path_to_working_directory>/<working_directory>/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-

Then I place all the binaries(7) from the https://developers.google.com/android/nexus/drivers#grouperjdq39 (if wifi only) inside the working directory, md5sum them to check integrity, extracting "tar -xvzf" each of the binaries, and then run "./extract-" scripts for each binary to place them correctly... it will ask for "I ACCEPT" agreements for each.

Then I proceed with the source build/envsetup.sh and the rest, and either flash the package or the individual images.

Hope this helps!




On Thursday, May 30, 2013 8:02:47 PM UTC-4, Paul Arnold wrote:
I'm having trouble just building AOSP 4.2.2.  I followed the instructions on the source.android.com site but nogo.  Could you tell me what I might being doing incorrectly? 

First I tried building on ubuntu 10.04 (64bit) so I tried ubuntu 12.04 (64bit).  However my desktop was uninstalled during the build environment setup. Then I learned that gcc4.6 would not compile AOSP correctly so I downgraded to gcc4.4 but still no luck.  I get the system to build but when I:

# fastboot -w flashall

the system just stays on a black screen.  I then have to flash the original ROM and start over. 

I've built android now 5 times, once with 10.04 and the other 4 times with 12.04.  I'm attaching a file with my notes.

Any help is appreciated.  I have the Nexus 7 as well with an unlocked bootloader

On Wednesday, May 29, 2013 11:30:51 AM UTC-4, katdroid wrote:
Hi all,

I have built AOSP 4.2.2 for the Nexus 7 device. I flashed the images, it then booted up properly, and everything seemed to be in working order. I set a password and now I am trying to install .p12 certificates through Settings>Security>Install from Storage. After pushing the .p12 to the sdcard, and selecting 'Install from Storage' the device just hangs. The screen fades, freezing, and the certificates do not get installed.

I built AOSP 4.1.2/4.2 for the Nexus 7 and the certificates were able to be install, and I could use them in an app to access my VPN.
I flashed the google factory images from the site for the 4.2.2 JDQ39 Nexus 7 and the certificates installed and worked.

I have wiped and rebuilt the AOSP 4.2.2 several times, but I still can't get the certificates to install.

Anyone had/heard this happening before? Any advice is much appreciated!

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
 
---
You received this message because you are subscribed to a topic in the Google Groups "Android Building" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-building/EQEdib5ShPc/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to android-buildi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages