Download: My Viper ICS & kernel builds

Re: Download: My Viper ICS & kernel builds

I'd be happy to if you can expound a bit on what you mean. Thanks.

---------- Post Merged at 07:30 PM ---------- Previous Post was at 07:25 PM ----------

Nevermind. I understand now. It's building now. (and I can do a j8) :)
 
Re: Download: My Viper ICS & kernel builds

I'd be happy to if you can expound a bit on what you mean. Thanks.


When you did this:

1. Android build
- Download original android source code ( ICS 4.0.4_r1 ) from Welcome to Android | Android Open Source
- Unzip opensource packages of LS840_android_ZVG.tar.gz into downloaded android source directory
- And, merge the source into the android source code(ICS)
- Run following scripts to build android
$ . build/envsetup.sh
$ choosecombo 1 generic user
$ make -j4
- When you compile the android source code, you have to add google original prebuilt source(toolchain)
into the android folder
- After build, you can find output at out/target/product/generic


2. Kernel Build (User)
- Unzip LS840_Kernel_ZVG.tar.gz at the android folder
- When you compile the kernel source code, you have to add google original prebuilt source(toolchain)
into the android folder.
$ . build/envsetup.sh
$ choosecombo 1 generic user
- Build kernel
$ cd kernel
$ mkdir -p out
$ make cayman_sprint_us_defconfig ARCH=arm CROSS_COMPILE=arm-eabi- O=out
$ make ARCH=arm CROSS_COMPILE=arm-eabi- O=out
- After Build, You Can find the build image at /out/arch/arm/boot


when building the Android image do make -j4 otapackage instead of just make -j4. That will create a flashable zip file .
 
Re: Download: My Viper ICS & kernel builds

Ok, here is what I am getting:


(smcdonnell@mcdesktop)-(0)-(07:32 PM Sun Sep 23)->
(~/Development/Code/Android)-(25 files, 191Mb)--> make -j4 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=user
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:324: implicitly installing apns-conf_sdk.xml
make: *** No rule to make target `otapackage'. Stop.
 
Re: Download: My Viper ICS & kernel builds

Ok, here is what I am getting:


(smcdonnell@mcdesktop)-(0)-(07:32 PM Sun Sep 23)->
(~/Development/Code/Android)-(25 files, 191Mb)--> make -j4 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=user
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76
============================================
build/core/main.mk:324: implicitly installing apns-conf_sdk.xml
make: *** No rule to make target `otapackage'. Stop.

Is your device source in device/lge/viper ? If not it wont use the viper_defconfig.
 
And by 'device source' you mean everything in the 'out' directory from when I did the build in #2?

-Shaun

Nah, in your working directory which seems to be /Development/Code/Android/ there sound be folders such as /bionic /device /vendor /system etc?
 
Here's where I've got:


(smcdonnell@mcdesktop)-(0)-(08:33 PM Sun Sep 23)->
(~/Development/Code/Android)-(23 files, 152Kb)--> ls -l
total 140
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 abi
drwxrwxr-x 9 smcdonnell smcdonnell 4096 Sep 19 18:44 bionic
drwxrwxr-x 5 smcdonnell smcdonnell 4096 Sep 19 18:44 bootable
drwxrwxr-x 7 smcdonnell smcdonnell 4096 Sep 19 18:44 build
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:44 cts
drwxrwxr-x 19 smcdonnell smcdonnell 4096 Sep 19 18:44 dalvik
drwxrwxr-x 20 smcdonnell smcdonnell 4096 Sep 19 18:44 development
drwxrwxr-x 10 smcdonnell smcdonnell 4096 Sep 19 18:57 device
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 docs
drwxrwxr-x 121 smcdonnell smcdonnell 4096 Sep 19 18:57 external
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:45 frameworks
drwxrwxr-x 10 smcdonnell smcdonnell 4096 Sep 19 18:45 hardware
drwxr-xr-x 27 smcdonnell smcdonnell 4096 Sep 20 12:04 kernel
drwxrwxr-x 12 smcdonnell smcdonnell 4096 Sep 19 18:45 libcore
-r--r--r-- 1 smcdonnell smcdonnell 87 Sep 19 18:44 Makefile
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:45 ndk
drwxrwxr-x 4 smcdonnell smcdonnell 4096 Sep 20 10:56 out
drwxrwxr-x 7 smcdonnell smcdonnell 4096 Sep 19 18:45 packages
drwxrwxr-x 15 smcdonnell smcdonnell 4096 Sep 19 18:46 prebuilt
drwxrwxr-x 41 smcdonnell smcdonnell 4096 Sep 19 18:46 sdk
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:46 system
-rw-rw-r-- 1 smcdonnell smcdonnell 50356 Sep 20 11:38 v8.log
drwxr-xr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:57 vendor

(smcdonnell@mcdesktop)-(0)-(08:33 PM Sun Sep 23)->
(~/Development/Code/Android)-(23 files, 152Kb)--> cd device

(smcdonnell@mcdesktop)-(0)-(08:33 PM Sun Sep 23)->
(~/Development/Code/Android/device)-(8 files, 40Kb)--> ls -l
total 32
drwxrwxr-x 4 smcdonnell smcdonnell 4096 Sep 19 18:44 common
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 generic
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 google
drwxr-xr-x 3 smcdonnell smcdonnell 4096 Sep 23 20:33 lge
drwxrwxr-x 5 smcdonnell smcdonnell 4096 Sep 19 18:44 moto
drwxrwxr-x 11 smcdonnell smcdonnell 4096 Sep 19 18:44 sample
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:44 samsung
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 ti

(smcdonnell@mcdesktop)-(0)-(08:34 PM Sun Sep 23)->
(~/Development/Code/Android/device)-(8 files, 40Kb)--> cd lge

(smcdonnell@mcdesktop)-(0)-(08:34 PM Sun Sep 23)->
(~/Development/Code/Android/device/lge)-(1 files, 12Kb)--> ls -l
total 4
drwxr-xr-x 6 smcdonnell smcdonnell 4096 Sep 19 18:57 libs

(smcdonnell@mcdesktop)-(0)-(08:34 PM Sun Sep 23)->
(~/Development/Code/Android/device/lge)-(1 files, 12Kb)-->
 
Here's where I've got:


(smcdonnell@mcdesktop)-(0)-(08:33 PM Sun Sep 23)->
(~/Development/Code/Android)-(23 files, 152Kb)--> ls -l
total 140
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 abi
drwxrwxr-x 9 smcdonnell smcdonnell 4096 Sep 19 18:44 bionic
drwxrwxr-x 5 smcdonnell smcdonnell 4096 Sep 19 18:44 bootable
drwxrwxr-x 7 smcdonnell smcdonnell 4096 Sep 19 18:44 build
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:44 cts
drwxrwxr-x 19 smcdonnell smcdonnell 4096 Sep 19 18:44 dalvik
drwxrwxr-x 20 smcdonnell smcdonnell 4096 Sep 19 18:44 development
drwxrwxr-x 10 smcdonnell smcdonnell 4096 Sep 19 18:57 device
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 docs
drwxrwxr-x 121 smcdonnell smcdonnell 4096 Sep 19 18:57 external
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:45 frameworks
drwxrwxr-x 10 smcdonnell smcdonnell 4096 Sep 19 18:45 hardware
drwxr-xr-x 27 smcdonnell smcdonnell 4096 Sep 20 12:04 kernel
drwxrwxr-x 12 smcdonnell smcdonnell 4096 Sep 19 18:45 libcore
-r--r--r-- 1 smcdonnell smcdonnell 87 Sep 19 18:44 Makefile
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:45 ndk
drwxrwxr-x 4 smcdonnell smcdonnell 4096 Sep 20 10:56 out
drwxrwxr-x 7 smcdonnell smcdonnell 4096 Sep 19 18:45 packages
drwxrwxr-x 15 smcdonnell smcdonnell 4096 Sep 19 18:46 prebuilt
drwxrwxr-x 41 smcdonnell smcdonnell 4096 Sep 19 18:46 sdk
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:46 system
-rw-rw-r-- 1 smcdonnell smcdonnell 50356 Sep 20 11:38 v8.log
drwxr-xr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:57 vendor

(smcdonnell@mcdesktop)-(0)-(08:33 PM Sun Sep 23)->
(~/Development/Code/Android)-(23 files, 152Kb)--> cd device

(smcdonnell@mcdesktop)-(0)-(08:33 PM Sun Sep 23)->
(~/Development/Code/Android/device)-(8 files, 40Kb)--> ls -l
total 32
drwxrwxr-x 4 smcdonnell smcdonnell 4096 Sep 19 18:44 common
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 generic
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 google
drwxr-xr-x 3 smcdonnell smcdonnell 4096 Sep 23 20:33 lge
drwxrwxr-x 5 smcdonnell smcdonnell 4096 Sep 19 18:44 moto
drwxrwxr-x 11 smcdonnell smcdonnell 4096 Sep 19 18:44 sample
drwxrwxr-x 8 smcdonnell smcdonnell 4096 Sep 19 18:44 samsung
drwxrwxr-x 3 smcdonnell smcdonnell 4096 Sep 19 18:44 ti

(smcdonnell@mcdesktop)-(0)-(08:34 PM Sun Sep 23)->
(~/Development/Code/Android/device)-(8 files, 40Kb)--> cd lge

(smcdonnell@mcdesktop)-(0)-(08:34 PM Sun Sep 23)->
(~/Development/Code/Android/device/lge)-(1 files, 12Kb)--> ls -l
total 4
drwxr-xr-x 6 smcdonnell smcdonnell 4096 Sep 19 18:57 libs

(smcdonnell@mcdesktop)-(0)-(08:34 PM Sun Sep 23)->
(~/Development/Code/Android/device/lge)-(1 files, 12Kb)-->

Hmm, the LG released source is missing MANY files. Maybe they will update the source once ICS gets pushed because if you compare your device/lge/ folder with ones from other manufactors you'll see that a lot of files aren't there...
 
Hmm, the LG released source is missing MANY files. Maybe they will update the source once ICS gets pushed because if you compare your device/lge/ folder with ones from other manufactors you'll see that a lot of files aren't there...

I wonder if that is why it says to merge it with the Google source. If so does that mean he didn't merge it right?

Sent from my LG-LS840 using Tapatalk 2
 
I wonder if that is why it says to merge it with the Google source. If so does that mean he didn't merge it right?

Sent from my LG-LS840 using Tapatalk 2

Maybe so ? I'm not even sure . LGE does stuff different than what I'm used too lol.
 

Hey shaun, i am unable to download system.img, does anybody else have this already compiled or are you able to re-upload it in a way that i can download it. As of now it just opens it as a text document in the web browser.

-----Edit-----
scratch that, i opened as a new tab and it opened as a text document. got it.
 
So, i have the rom built and it installed fine, but now when i boot it boots straight into recovery. Any ideas?
 
Sorry, forgot to change it, try again.

That did it, but I can't download it. Google Chrome marks it as a virus, and since it is a government computer, it red-flagged the file and I'm locked out until I can get an security anaylst to secure wipe my hard-drive. :(

Sent from my Blackberry Tour using Tapatalk.
 

Forum statistics

Threads
954,942
Messages
6,963,260
Members
3,163,160
Latest member
Samueldsaray