- 07-14-2012, 05:19 PM
Thread Author #26
Re: [GUIDE][Ubuntu] Compiling Android from Source
That's a good question. On my first build (I've done two with two different source compiles), I also had permissions problems with the drivers. I manually changed the owner and the permissions in terminal to each and every file/folder and that seemed to solve it. "Sudo" itself did not and it really left me perplexed...
...yet, on the second compile after the second source was downloaded (I deleted everything from the first go 'round to essentially do it again), all was fine.
Funky, eh?Former moderator & advisor.
HTC - the One to rule them all.
- 07-14-2012, 05:36 PM #27
- 07-14-2012, 05:38 PM
Thread Author #28
Re: [GUIDE][Ubuntu] Compiling Android from Source
Former moderator & advisor.
HTC - the One to rule them all.
- 07-14-2012, 06:00 PM
Thread Author #29
Re: [GUIDE][Ubuntu] Compiling Android from Source
UPDATE:
I updated the second post with git tag verification. Some guides have this, some don't, but I think it's a good step and I have decided to include it for those who want it.Former moderator & advisor.
HTC - the One to rule them all.
- 07-14-2012, 07:29 PM #30
Re: [GUIDE][Ubuntu] Compiling Android from Source
I'm running into an permission denied issue. Any ideas? I'm also not seeing an option for a toro build.
cj@Chimera:~/WORKING_DIRECTORY$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_grouper-userdebug
5. mini_armv7a_neon-userdebug
6. mini_armv7a-userdebug
7. full_wingray-userdebug
8. full_crespo-userdebug
9. full_maguro-userdebug
10. full_panda-userdebug
Which would you like? [full-eng] 9
find: `vendor': Permission denied
make: stat: vendor/samsung/tuna/BoardConfigVendor.mk: Permission denied
make: stat: vendor/samsung/maguro/BoardConfigVendor.mk: Permission denied
find: `vendor': Permission denied
make: stat: vendor/samsung/tuna/BoardConfigVendor.mk: Permission denied
make: stat: vendor/samsung/maguro/BoardConfigVendor.mk: Permission denied
find: `vendor': Permission denied
make: stat: vendor/samsung/tuna/BoardConfigVendor.mk: Permission denied
make: stat: vendor/samsung/maguro/BoardConfigVendor.mk: Permission denied
find: `vendor': Permission denied
make: stat: vendor/samsung/tuna/BoardConfigVendor.mk: Permission denied
make: stat: vendor/samsung/maguro/BoardConfigVendor.mk: Permission denied
find: `vendor': Permission denied
make: stat: vendor/samsung/tuna/BoardConfigVendor.mk: Permission denied
make: stat: vendor/samsung/maguro/BoardConfigVendor.mk: Permission denied
find: `vendor': Permission denied
make: stat: vendor/samsung/tuna/BoardConfigVendor.mk: Permission denied
make: stat: vendor/samsung/maguro/BoardConfigVendor.mk: Permission denied
find: `vendor': Permission denied
make: stat: vendor/samsung/tuna/BoardConfigVendor.mk: Permission denied
make: stat: vendor/samsung/maguro/BoardConfigVendor.mk: Permission denied
find: `vendor': Permission denied
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=full_maguro
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-26-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
make: stat: vendor/samsung/tuna/BoardConfigVendor.mk: Permission denied
make: stat: vendor/samsung/maguro/BoardConfigVendor.mk: Permission deniedIt is better to be pissed off than to be pissed on! - 07-14-2012, 07:33 PM
Thread Author #31
Re: [GUIDE][Ubuntu] Compiling Android from Source
I had that happen on my first compile--try changing the permissions of the vendor folder or try using "sudo su."
I solved it by using the long way--I changed ownership to everything by typing this in:
(Use your username, not mine obviously lol)$ sudo chown dmmarck
(Make sure to have a space after your username/before the file/folder!)
And then after typing that, I dragged and dropped each folder/file on each level of the /vendor folder. Thankfully, that worked. I'm sure there's a way to do it quicker and more efficiently (it was very late at night, so sue me
), but that worked for me.
EDIT: I'm a dummy, you can do this as well and it should work (my apologies
)
You can also change permissions with chmod instead of chown.sudo chown -R dmmarck /vendorfolderhereLast edited by dmmarck; 07-14-2012 at 07:38 PM.
Former moderator & advisor.
HTC - the One to rule them all.
- 07-14-2012, 07:35 PM #32
Re: [GUIDE][Ubuntu] Compiling Android from Source
I'll give that a try.
It is better to be pissed off than to be pissed on! - 07-14-2012, 07:53 PM
Thread Author #33
- 07-14-2012, 08:18 PM #34
Re: [GUIDE][Ubuntu] Compiling Android from Source
great front page write up for the guide, d!

*INCREDIBLE*MECHA*TORO*GROUPER* GALAXY S3 *
* [TORO RADIOS] * [NEXUS WALLS] * [GROUPER GUIDE] * [CHATTER] * - 07-14-2012, 08:26 PM #35
Re: [GUIDE][Ubuntu] Compiling Android from Source
[YT]http://www.youtube.com/watch?v=d-_G0RP9J1U[/YT]
Here's my video how-to. Didn't go as in-depth as this tutorial (it rocks), but its at least a visual for those that may need something more like a class. I have other videos on my channel as well (shameless plug). Feel free to insert video wherever you like. - 07-14-2012, 08:52 PM #36
Re: [GUIDE][Ubuntu] Compiling Android from Source
Will this work on a VMware Ubuntu installation?
- 07-14-2012, 08:59 PM #37
Re: [GUIDE][Ubuntu] Compiling Android from Source
Can the OTA package just be flashed over stock ICS and not lose any data like a regular OTA update?
- 07-14-2012, 09:24 PM #38
Re: [GUIDE][Ubuntu] Compiling Android from Source

Dafuq did I just read?
I'd like to take this moment to thank all the people who do the hard work of building custom ROMs so I can just download a single file and select yes to install it.
Thank you for making my life easier.
- 07-14-2012, 09:35 PM #39
- 07-14-2012, 09:35 PM #40
- 07-14-2012, 09:37 PM #41
Re: [GUIDE][Ubuntu] Compiling Android from Source
what this method compiles isnt an ota, it's a rom from source. (d - correct me if i'm wrong this isnt my area of expertise at all).
when the jb ota is available down the road, there will be a method in which you can update to jb from ics without wiping data, most likely ahead of the ota release itself or at least concurrent with it.

*INCREDIBLE*MECHA*TORO*GROUPER* GALAXY S3 *
* [TORO RADIOS] * [NEXUS WALLS] * [GROUPER GUIDE] * [CHATTER] * - 07-14-2012, 09:37 PM #42
- 07-14-2012, 09:37 PM #43

*INCREDIBLE*MECHA*TORO*GROUPER* GALAXY S3 *
* [TORO RADIOS] * [NEXUS WALLS] * [GROUPER GUIDE] * [CHATTER] * - 07-14-2012, 09:38 PM #44
Will this work on a VMware Ubuntu installation?
It should. I'm going to do a video tonight in a vmware installation on installing java, I'll test a build afterwards.
Sent from my Transformer TF101 using Android Central Forums - 07-14-2012, 09:39 PM
Thread Author #45
Thank you! I'll be sure
to check it out later.
Yes. Make sure you have enough ram though!
No, you want to wipe everything.
Lol
Sent swiftly by Oliver using Android Central Forums - 07-14-2012, 09:42 PM #46
You can compile 2 different ways.
1) make otapackage -j* which makes a flashable .zip file
2) make -j* which makes a .img file you can flash through fastboot.
You could theoretically try installing this on top of a stock ROM, but I wouldn't even try it without a lot of free time, backup on the phone and on the computer (just in case you need to restore using a stock ICS image).
Sent from my Transformer TF101 using Android Central Forums - 07-14-2012, 10:12 PM
Thread Author #47
- 07-14-2012, 10:31 PM #48
I removed the recovery folder, removed the 2 lines from the updater script that contained the word "recovery", put the su apk in /system/app, and replaced the su executable in /system/xbin, and then rezipped the ota.
But when I tried to flash with cwm, installation aborted. So I tried Nexus Bean instead and that works fine. - 07-14-2012, 10:37 PM
Thread Author #49
- 07-14-2012, 10:47 PM #50





Reply

































