Nexus 7 (2013) stuck on Google's logo after flashed aosp 4.3_r2.2 building

85 views
Skip to first unread message

popo

unread,
Nov 27, 2015, 8:39:08 PM11/27/15
to Android Building
Hi, I downloaded and built my custom image based on AOSP 4.3_r2.2, the building was successful. But after flashed the images on the device, it rebooted and stuck on the Google's logo screen. Here's my steps for the building:

OS: Ubuntu 14.04
Device: Nexus 7 (2013)
AOSP source tree: 4.3_r2.2

for downloading:
$ repo init -b android-4.3_r2.2
$ repo sync

for building:
$ . build/envsetup.sh
$ lunch aosp-flo_userdebug

I download Nexus 7 (Wi-Fi) binaries for Android 4.3 (JSS15Q) from https://developers.google.com/android/nexus/drivers, and put them into the source tree, then run "make -j4" to start building.

After waited for a long time, the building was successful, then I flash the images by the following steps:
$ fastboot oem unlock
$ fastboot -w flashall

Did I miss something? Do I have to also build the kernel myself? Please help, thanks.

andrew_esh

unread,
Nov 29, 2015, 10:14:18 PM11/29/15
to Android Building
There are only three things which differ from my build that I have used successfully many times:

1. I use "full_flo-userdebug". Never tried the aosp flavor. Also, you transposed the underscore and the dash in "aosp-flo_userdebug". I assume that's not actualyl what you tried to build with. It should be "aosp_flo-userdebug".

2. You installed with "fastboot -w flashall". Since I like to use Teamwin recovery, and I don't want to overwrite it every time, I install the cache, userdata, boot, and system partitions individually, like "fastboot flash boot boot.img".

3. I use version 4.4.1_r2. I'm not sure how well 4.3 supports the Nexus 7 since I don't have any history with it. I've installed 4.4.1_r2 at least thirty times, and I've done months of extensive embedded testing with it in place, 

Otherwise, your build should work. I've never had to build a kernel specifically.

NOTE: By the time the logo appears, ADB should be running, so you should be able to get a logcat from it. Perhaps you can find out what's going wrong.

popo

unread,
Nov 30, 2015, 5:26:45 PM11/30/15
to Android Building
Thanks for your reply. The first one you are right, it's a typo mistake on my previous post. For the second advice, I tried a lot of different ways, including flash them one by one, but doesn't work. And for the last one, I'm sure Nexus 7 supports 4.3 since there's a factory image supplying by Google.

Further information, I found if my building based on 5.0 or above, my device can work normally after flashed the images, the problem only happens on the building of 4.x. And there's also a weird thing. Just for comparing test, I downloaded the factory image and flashed it on my device. It has the same problem, here is my another post talking about this (https://groups.google.com/forum/#!topic/android-building/UqtHlngmkKY)

So far I complete don't know what's going on there? Hardware problem? Kernel or driver problem?
Reply all
Reply to author
Forward
0 new messages