• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Virgin Mobile] AOSP

xstefen

Android Expert
Dec 10, 2012
981
207
Under your bed
Hey guys, the experienced devs atleast. For my first project I wanted to give a shot at bringing android 4.3 aosp to our phone. The problem I'm having is when syncing the android repos. After 'repo sync' it takes forever and eventually locks up. After lock up I'm unable to reboot ubuntu. Ive reinstalled 3 times trying to get this to sync. Following googles directions exactly. Anyone have experience with preparing to build AOSP from source? Help would be awesome
#padawandevproblems
 
  • Like
Reactions: NolenUmar
I have found the culprit! In setting up my build enviroment, when installing "libgl1-mesa-glx:i386" causes..

Screenshot%20from%202013-07-27%2017%3A28%3A07.png


I believe its removing half the dependencies ubuntu needs to actually fully boot. Does anyone else recognize this? I have successfully installed every last thing required except this last lib

Mods if there is a better placs for this thread, please do move it :) thanks

Edit: it seems that [HIGH]libgl1-mesa-glx-lts-quantal:i386[/HIGH] is already installed. So im wondering if
[HIGH]libgl1-mesa-glx:i386[/HIGH]
and
[HIGH]sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so[/HIGH]
is even necessary? Still doing research. Apparently its because in Ubuntu 12.04.02 some new X variants were used.
 
Upvote 0
First rule of building AOSP
Dont use Ubuntu 12.04

Lmfao. Ubuntu's site only lists a server edition of 10.04. What would you perfer/recommend? as I always thought this was pretty much the standard. I dont feel like spending hours preparing my Arch Linux build, and I removed OpenSuSE to make extra hdd space for repo syncs :D

Im going to try a test sync and build to see if it will work without that lib, maybe
 
Upvote 0
I
No problem. I cant compile myself as my machine is 32 bit smh but I can make device trees like the back of my hand. This will be trial and error at its finest

It certainly will be and I'm excited. Only rocking an Asus laptop i3 @ 2.4x4 and 4gb ram, but it'll do, 10.04.4 64bit desktop almost done installing then lots of setup todo

Edit: finished. Kernel 2.6.x eeeck I was just rocking the July release of 3.10.x lol

Edit2: seems I'm gonna have to get my wifi working before anything... Phone research ftw
 
Upvote 0
You can use Ubuntu 12.04, you just have to install ubuntu-desktop after installing mesa! ;)

I figured it out the hard way. Had the exact same issue, and reinstalled Ubuntu 4 times trying to figure it out. Once you are at the grub boot loader, choose the recovery. Once it loads, you will need to activate root and networking, then continue to boot as normal. Once you hit the black screen press cntrl+alt+f or cntrl+alt+f1 (or f2-f10) till you get a command prompt. Once you have your command prompt try running
PHP:
sudo startx
You should see an error about x not being available. Now run
PHP:
sudo apt-get install ubuntu-desktop
Once it finishes, type reboot. This should fix your black screen at boot issues. ;).

I imagine you could avoid all this by just running apt-get install ubuntu-desktop after doing everything else to setup your build environment.
 
  • Like
Reactions: xstefen
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones