Problem compiling Maguro Ubuntu 12.04 - Samsung Galaxy Nexus

]I attached the file that shows what errors I get when trying to compile, hopefully someone can help me out. Also one thing I didn't capture but I think is important is that the first line it prints when trying to compile is something along the lines of not finding the 'src' folder, it's not in my jelly bean source folder, and I did a repo sync and the source is about 14.8gb so I'm not sure if I'm missing anything, any help would be appreciated, thanks.
I'm using -> http://forum.xda-developers.com/showthread.php?p=31018542#post31018542 as my guide
and to be more specific I'm using openjdk not the jdk it says to use in the thread, not sure if that has any significance, also I commented out some lines in the main.mk file so that it can compile with the openjdk and stops asking for jdk 1.6 which people said is okay to use openjdk, if you guys need anymore info to help me, lmk. I'll try to be as specific as possible.
Also I used the make -j4 idk if I should be using -j1 or anything else. Yes I picked the write build from the lunch menu.

Here you have the same error and a patch to solve it:
http://forum.xda-developers.com/showthread.php?t=1762641&page=4
Regards!

McGiverGim said:
Here you have the same error and a patch to solve it:
http://forum.xda-developers.com/showthread.php?t=1762641&page=4
Regards!
Click to expand...
Click to collapse
I applied the patch, and i still got errors
also find: 'src' no such file or directory
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

I really find it hard to believe that they is NOT one thread that show a fully working CM10 from start to finish. Each and every one has something that is not right or a file missing.
Sent from my Galaxy Nexus using xda premium

cenwesi said:
I really find it hard to believe that they is NOT one thread that show a fully working CM10 from start to finish. Each and every one has something that is not right or a file missing.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Lmao yeah I've follows like 20 different guides, non of them have everything 100% because everyone uses a different distribution of Linux and some things work for some people and not for others it seems.
Sent from my Galaxy Nexus using Tapatalk 2

I don't see why you're having the issues compiling, as the make errors are pretty non-descriptive.
Are you using 64bit Ubuntu or 32bit Ubuntu?
I think sometime today, I'll post my method for how I got my compiled working and see if that helps anyone.
Sent from my Galaxy Nexus using Tapatalk 2

The guide you are using is a guide for Ubuntu 10.04 and there are more packages that need installed on 11.04+. Make sure you are using 64-bit Ubuntu and follow this http://forum.xda-developers.com/showthread.php?t=1566224
This is a guide for CM10, but if you are wanting to build aosp, then just use this guide to setup your build environment and use the other guide to download the source and build. There is also a nice kitchen built by swordrune10 that can build stock rooted aosp, cm10, aokp and several other popular Roms. The thread is in the GSM dev section for downloading and installing his kitchen. http://forum.xda-developers.com/showthread.php?t=1667055

geoffcorey said:
I don't see why you're having the issues compiling, as the make errors are pretty non-descriptive.
Are you using 64bit Ubuntu or 32bit Ubuntu?
I think sometime today, I'll post my method for how I got my compiled working and see if that helps anyone.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
64bit :/ Idk this is my 4th time trying to compile....each and every time before this I gave up because of multiple errors but this time I want it to work...so I'll get to the bottom of it. If you do end up posting your method, mind pming me and letting me know?
Sent from my Galaxy Nexus using Tapatalk 2

Serious_Beans said:
I applied the patch, and i still got errors
also find: 'src' no such file or directory
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Click to expand...
Click to collapse
These are not errors that would cause a build to fail. I haven't looked at your txt file so I don't know what's there. Use pastebin or something people don't have to download and you may get better response.
Sent from my Galaxy Nexus using xda app-developers app

akellar said:
These are not errors that would cause a build to fail. I haven't looked at your txt file so I don't know what's there. Use pastebin or something people don't have to download and you may get better response.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I did upload it via pastebin...how do I insert it properly into these forums?
Sent from my Galaxy Nexus using Tapatalk 2

Serious_Beans said:
64bit :/ Idk this is my 4th time trying to compile....each and every time before this I gave up because of multiple errors but this time I want it to work...so I'll get to the bottom of it. If you do end up posting your method, mind pming me and letting me know?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Sent you a pm.
Sent from my Galaxy Nexus using Tapatalk 2

geoffcorey said:
Sent you a pm.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Thanks a lot for your help earlier, I'm syncing the repo right now, I'll let you know how building goes tomorrow morning.

import_includes /bin/bash: line 1: out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/import_includes: Permission denied make: ***
this is what causing his build to fail. what version of make are you using, 3.41 or 3.42? also do you have gcc-multilib installed?
Sent from my i9250

bk201doesntexist said:
import_includes /bin/bash: line 1: out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/import_includes: Permission denied make: ***
this is what causing his build to fail. what version of make are you using, 3.41 or 3.42? also do you have gcc-multilib installed?
Sent from my i9250
Click to expand...
Click to collapse
3.81 according to "version -make"
I don't know if I have gcc-miltilib. I'll try to find out and if not I'll get it.
Sent from my Galaxy Nexus using Tapatalk 2

Serious_Beans said:
3.81 according to "version -make"
I don't know if I have gcc-miltilib. I'll try to find out and if not I'll get it.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
yeah, 3.81 (forget 3.4x, was thinking of something else)
you're building as a normal user, i would assume. was the folder created as root or something?
weird.
Sent from my i9250

bk201doesntexist said:
yeah, 3.81 (forget 3.4x, was thinking of something else)
you're building as a normal user, i would assume. was the folder created as root or something?
weird.
Sent from my i9250
Click to expand...
Click to collapse
Yeah originally it was lol, I re did everything from scratch. I built the ROM successfully, just having trouble finding the camera driver.

http://pastie.org/4714900
Bump. I built successfully the first time and now I'm getting this error.

Serious_Beans said:
http://pastie.org/4714900
Bump. I built successfully the first time and now I'm getting this error.
Click to expand...
Click to collapse
http://pastie.org/4716749
More errors, hope someone can help.

Bump
Sent from my Galaxy Nexus using Tapatalk 2

Serious_Beans said:
http://pastie.org/4714900
Bump. I built successfully the first time and now I'm getting this error.
Click to expand...
Click to collapse
http://ubuntuforums.org/showthread.php?t=345201
http://www.ducea.com/2007/10/25/gcc-error-trying-to-exec-cc1plus-execvp-no-such-file-or-directory/
seems you need g++
Serious_Beans said:
http://pastie.org/4716749
More errors, hope someone can help.
Click to expand...
Click to collapse
seems to me that you're out of ram; try passing a lower number of threads, like -j4 or even -j2.

Related

[Q] APK Decompiling

I can't find twframework.apk to finish decompiling. Where is this file located?
I thought tw was touch wiz ?
I know framework-res.apk is in system/framework.
Sent from my PC36100 using xda premium
Oh I didn't know that... I was reading a guide on how to decompile an apk and it said to extract it. I tried running apktool without it but I just get an error.
sivarticus85 said:
Oh I didn't know that... I was reading a guide on how to decompile an apk and it said to extract it. I tried running apktool without it but I just get an error.
Click to expand...
Click to collapse
I'm no dev by a long shot so I won't be much help there I've never used apktool I could never get it to work for me lol.
Sent from my PC36100 using xda premium
linsalata28 said:
I'm no dev by a long shot so I won't be much help there I've never used apktool I could never get it to work for me lol.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Man I know that's right... I'm trying to figure all this stuff out on my own, but it's proving to be much more involved than I originally thought.
sivarticus85 said:
Man I know that's right... I'm trying to figure all this stuff out on my own, but it's proving to be much more involved than I originally thought.
Click to expand...
Click to collapse
Use a program called apk manager. It has the apktool already built in and it works flawlessly. Thats what I use for all my theming and editing of apks.
Papa Smurf151 said:
Use a program called apk manager. It has the apktool already built in and it works flawlessly. Thats what I use for all my theming and editing of apks.
Click to expand...
Click to collapse
I couldn't get it installed right on ubuntu for some reason but then again I'm a real noob when it comes to commands.
Sent from my PC36100 using xda premium
Papa Smurf151 said:
Use a program called apk manager. It has the apktool already built in and it works flawlessly. Thats what I use for all my theming and editing of apks.
Click to expand...
Click to collapse
Yeah I just found APK Manager on Google. I'm gonna give it a try. Thanks for the help.
sivarticus85 said:
Yeah I just found APK Manager on Google. I'm gonna give it a try. Thanks for the help.
Click to expand...
Click to collapse
There is a Guy who has taken over the development of apk manager and has come out with a newer version and renamed it. Its called apk multi tool now. Try that out as well
And if you're on ubuntu machine give Android utility a whirl
tapatalk signature here. lovely.
tommytomatoe said:
And if you're on ubuntu machine give Android utility a whirl
tapatalk signature here. lovely.
Click to expand...
Click to collapse
I started using ubuntu but I can't seem to get apk tool or manager to work do you know of a easy to follow noob guide on that stuff?
Sent from my PC36100 using XDA App
linsalata28 said:
I started using ubuntu but I can't seem to get apk tool or manager to work do you know of a easy to follow noob guide on that stuff?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Android utility is pretty noob-tastic. Lol
Also you can ask me questions.
tapatalk signature here. lovely.
tommytomatoe said:
Android utility is pretty noob-tastic. Lol
Also you can ask me questions.
tapatalk signature here. lovely.
Click to expand...
Click to collapse
Is that something like apk manager do I just install it on ubuntu do you have a link I could check out?
Sent from my PC36100 using XDA App
linsalata28 said:
Is that something like apk manager do I just install it on ubuntu do you have a link I could check out?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
It's apkmanager on crack. Hehe. Just kidding. Apkmanager was awesome but I felt it needed some extra features. I wrote this from scratch and it has more features than most people need...but its all there.
http://forum.xda-developers.com/showthread.php?t=1167623
tapatalk signature here. lovely.
You guys rock. Thanks again for all the help!
I'm having problems installing the android utility... I'm getting all kinds of directory does not exist and git errors... thoughts?
Edit: Nevermind I didn't have git installed. Didn't know I needed it.

Hint: AOSP 4.1.1 source and Toro not showing as a target under 'lunch'

In case anyone is having trouble finding toro as a device target when trying to build from the list of targets from the 'lunch' command... Toro didn't show up in the list but I was able to manually specify it rather than selecting a numeric option.
Devs probably know that works, but amateurs like myself might benefit from that tidbit. Jellybean seems to be building OK for me now.
EDIT: I was asked what I did, more specifically, so I'll put that here in op:
Rather than enter a numeric choice, I entered 'full_toro-userdebug'. Apparently this was a valid response and the build proceeded.
Mind explaining how you manually selected it?
keith.mcintyre26 said:
Mind explaining how you manually selected it?
Click to expand...
Click to collapse
Not at all. Rather than selecting say, 11 or another choice, I entered: full_toro-userdebug. Apparently this was a valid response and the build proceeded.
question... not much into actual developing here but i know my way around the inside of a rom or two... once you compile. will it be a fully capable rom? as in (what the OTA will be like without VZ apps)?
spunks3 said:
question... not much into actual developing here but i know my way around the inside of a rom or two... once you compile. will it be a fully capable rom? as in (what the OTA will be like without VZ apps)?
Click to expand...
Click to collapse
It's not as 'polished'. There are no gapps, the dictionary is not complete (need a version from a factory image/rom), there are extra keyboards (Japanese?), maybe a couple other oddities as compared to a stock ROM. It will certainly be more capable that porting a gsm rom to toro, that's for sure .
mmuzzy said:
Not at all. Rather than selecting say, 11 or another choice, I entered: full_toro-userdebug. Apparently this was a valid response and the build proceeded.
Click to expand...
Click to collapse
I did that right after I asked haha. Building now. Thank you.
Sent from my Galaxy Nexus using xda premium
keith.mcintyre26 said:
I did that right after I asked haha. Building now. Thank you.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
You're very welcome. Happy flashing.
I thought you meant the whole system. I was wondering where you got the jellybean source
Sent from my Galaxy Nexus using Tapatalk 2
phydo said:
I thought you meant the whole system. I was wondering where you got the jellybean source
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Google released it into the wild today:
https://groups.google.com/forum/?fromgroups#!topic/android-building/XBYeD-bhk1o
mmuzzy said:
Google released it into the wild today:
https://groups.google.com/forum/?fromgroups#!topic/android-building/XBYeD-bhk1o
Click to expand...
Click to collapse
Haha uhh.. I did realize that about two minutes ago. Thanks.
Sent from my Galaxy Nexus using Tapatalk 2
phydo said:
Haha uhh.. I did realize that about two minutes ago. Thanks.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I was actually trying to pull it before Google was finished so it hasn't been that long.
Hey can you help me out? Is your android version showing as 4.0.9.99.999.9999.99999? Wth?
anton2009 said:
Hey can you help me out? Is your android version showing as 4.0.9.99.999.9999.99999? Wth?
Click to expand...
Click to collapse
Lol!
Sent from my Galaxy Nexus using Tapatalk 2
phydo said:
Lol!
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Well... I figured out why it was showing like that; because I was syncing the master branch and not the 4.1.1 branch. But I'm still confused on this
Not to thread jack, but i have my rom building, but to actually personalize the rom, is there any app like eclipse or is it just editing files in the zip?
cdrshm said:
Not to thread jack, but i have my rom building, but to actually personalize the rom, is there any app like eclipse or is it just editing files in the zip?
Click to expand...
Click to collapse
You edit the source files. The goodies you want are in the res folder of most applications. /packages/apps in the source code. Here's my question, when I boot it gets to the Google screen and then a black screen. I suspect this here. When I start the build I see this:
Code:
find: 'src': No such file or directory.
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
... Many more of these Product copy ignored things...
And then it finishes compiling. What's up here, I'm pretty sure it's missing drivers and stuff!
CPCookieMan said:
You edit the source files. The goodies you want are in the res folder of most applications. /packages/apps in the source code. Here's my question, when I boot it gets to the Google screen and then a black screen. I suspect this here. When I start the build I see this:
Code:
find: 'src': No such file or directory.
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
... Many more of these Product copy ignored things...
And then it finishes compiling. What's up here, I'm pretty sure it's missing drivers and stuff!
Click to expand...
Click to collapse
Did you install the binaries for toro? There is also a script that will pull them from your phone (so a stock rom is best), which may be better because Google can't give you everything you need for a functional rom (GPS for example). I ended up copying those files from a stock image to my compiled rom.
i got my binaries from here https://developers.google.com/android/nexus/drivers#torojro03c
mwalt2 said:
Did you install the binaries for toro? There is also a script that will pull them from your phone (so a stock rom is best), which may be better because Google can't give you everything you need for a functional rom (GPS for example). I ended up copying those files from a stock image to my compiled rom.
Click to expand...
Click to collapse
cdrshm said:
i got my binaries from here https://developers.google.com/android/nexus/drivers#torojro03c
Click to expand...
Click to collapse
For future reference, what he's referring to is the extract-files.sh script included in the CM source. If you cannot find the proprietary binaries for a certain device you wanna build for, plug in the phone via usb, cd to the directory with the script and execute the command.
anton2009 said:
Well... I figured out why it was showing like that; because I was syncing the master branch and not the 4.1.1 branch. But I'm still confused on this
Click to expand...
Click to collapse
I also got version 4.0.9.99.999.9999.99999 when I synced to the master branch. Thanks for mentioning the workaround to sync with 4.1.1_r1 .
Did you figure out if it's a problem to sync 4.1.1 into a directory that's already synced with master (4.0.9.99...)?
--------------------------------
Update: I think I can answer this question based on JBQ's response:
https://groups.google.com/d/msg/android-building/rtH5ZbJC7qU/-N1lr9MqexYJ
"You can also switch in place: just run "repo init -b <new_manifest_branch>; repo sync" in your existing client."
Sounds like syncing to a new branch in the same working directory should work just fine.

(CLOSED)[DEVS NEEDED] A little help?

I decided to try my hand at making a rom, but honestly am not sure i know what I'm doing lol. I would like someone who does know to take a look at it (?) and maybe offer a pointer or two? I haven't done anything special to it, it's stock based, no real add ons except I attempted to add some tweaks (kobridges) and a recovery (which I also got from kobridges thread) I don't dare flash it without someone seeing if I didn't totally bork it lol.
Thanks
[EDIT: Posted in Dev section, decided to go with FI27 base and very minor mods]
I might be brave and test it on e4gt with cracked screen and broke no charge port
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
I don't dare flash it without someone seeing if I didn't totally bork it lol.
Click to expand...
Click to collapse
Just stop there... if you don't dare flashing something that you have created, I don't think anyone else should risk their device for you. As long as you didn't make any major changes, it should be fine... but just seeing your lack of confidence, I would not flash it.
Sent from my SPH-D710 using xda premium
Mattix724 said:
Just stop there... if you don't dare flashing something that you have created, I don't think anyone else should risk their device for you. As long as you didn't make any major changes, it should be fine... but just seeing your lack of confidence, I would not flash it.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
You misunderstood me, I don't want anyone else to flash it, just look at the build prop and tell me if I did everything right.
I'm in a 12 step program for Flashaholics, I relapsed...
The build.prop shouldn't really change if it's stock based. Maybe a few minor tweaks, but those shouldn't affect whether it boots or not.
Sent from my SPH-D710 using xda premium
Thank you, like I said I just needed someone to help me figure out if I made something workable :beer:
I'll flash it now and post results :thumbup:
I'm in a 12 step program for Flashaholics, I relapsed...
Sorry to be rude. If you have any questions feel free to ask, I'll help you out as best as I can.
Sent from my SPH-D710 using xda premium
Ok, and it opens package and aborts install, so I screwed something up. Any idea where to start? Sorry I really don't know much about this :banghead:
http://db.tt/YBzVjumw
Maybe the recovery is in the wrong place?
You don't need to do that. Just use a custom kernel like rujelus' which has a safe custom recovery and delete that file. You'll have to edit the updater script to do it though.
It'll be like this:
Code:
ui_print("Flashing Kernel");
format("ext4", "EMMC", "/dev/block/mmcblk0p5");
format("ext4", "EMMC", "/dev/block/mmcblk0p6");
package_extract_file("zImage", "/tmp/zImage");
write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p5");
write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p6");
delete("/tmp/zImage");
And then place the kernel zImage in the root of the zip.
Also, the aborted install is most likely from your updater script.
Sent from my SPH-D710 using Tapatalk
Click here for custom mods for your E4GT
sniper said:
You don't need to do that. Just use a custom kernel like rujelus' which has a safe custom recovery and delete that file. You'll have to edit the updater script to do it though.
It'll be like this:
Code:
ui_print("Flashing Kernel");
format("ext4", "EMMC", "/dev/block/mmcblk0p5");
format("ext4", "EMMC", "/dev/block/mmcblk0p6");
package_extract_file("zImage", "/tmp/zImage");
write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p5");
write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p6");
delete("/tmp/zImage");
And then place the kernel zImage in the root of the zip.
Also, the aborted install is most likely from your updater script.
Sent from my SPH-D710 using Tapatalk
Click here for custom mods for your E4GT
Click to expand...
Click to collapse
ok, I've modified the updater script and replaced the zimage, but still aborting the install.
Here's what I've got...
* EDITED TO BE EASY ON THE EYES *
Stryke_the_Orc said:
ok, I've modified the updater script and replaced the zimage, but still aborting the install.
Here's what I've got...
Click to expand...
Click to collapse
Please use code tags at least or pastebin is better for people looking on their phones
http://pastebin.com/W5UiTcea
See if that works. That will also allow you to take advantage of /data
Stryke_the_Orc said:
ok, I've modified the updater script and replaced the zimage, but still aborting the install.
Here's what I've got...
Booga booga booga
Click to expand...
Click to collapse
One word. http://pastebin.com
Sent from my Galaxy Nexus using xda app-developers app
Yay for turbo scroll?
(Sorry, I'll shut up now)
Sent from my SPH-D710 using Xparent SkyBlue Tapatalk 2
Sorry guys I'll remember to use the code wrapper or pastebin from now on.
One question are u using 7zip or winrar?
Sent from my Galaxy Nexus using Tapatalk 2
T.C.P said:
One question are u using 7zip or winrar?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
7zip and notepad++ as I've seen in most of the tutorials
I'm in a 12 step program for Flashaholics, I relapsed...
Stryke_the_Orc said:
7zip and notepad++ as I've seen in most of the tutorials
I'm in a 12 step program for Flashaholics, I relapsed...
Click to expand...
Click to collapse
Ya that's what I use too. Did you try out that updater script I posted?
Sent from my SPH-D710 using Tapatalk
Click here for custom mods for your E4GT
Still aborting install.
I've used the updater script you posted Sniper reposted here http://pastebin.com/emwqqacs and I've made my build.prop here http://pastebin.com/H6Ci6F96
I've no idea whats causing the install to fail. Obviously I'm not a coder lol so this is all kind of alien to me.
Stryke_the_Orc said:
Still aborting install.
I've used the updater script you posted Sniper reposted here http://pastebin.com/emwqqacs and I've made my build.prop here http://pastebin.com/H6Ci6F96
I've no idea whats causing the install to fail. Obviously I'm not a coder lol so this is all kind of alien to me.
Click to expand...
Click to collapse
What's the error it gives when trying to flash it? Also the format of mmcblk0p5 and 6 are unneeded. And will probably break lots of things if you do by chance get them formatted because they have no filesystem.
Sent from my Galaxy Nexus using xda app-developers app
Originally Posted by Stryke_the_Orc<br />
Still aborting install.<br />
I've used the updater script you posted Sniper reposted here http://pastebin.com/emwqqacs and I've made my build.prop here http://pastebin.com/H6Ci6F96<br />
I've no idea whats causing the install to fail. Obviously I'm not a coder lol so this is all kind of alien to me.
Click to expand...
Click to collapse
<br />
<br />
What's the error it gives when trying to flash it? Also the format of mmcblk0p5 and 6 are unneeded. And will probably break lots of things if you do by chance get them formatted because they have no filesystem.<br />
<br />
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
It just says installation aborted.
I'm in a 12 step program for Flashaholics, I relapsed...

Ls970-zvc kernal tar

Here ya go some goodies for u ....
Kernal tar text :
1. Android Build
- Download original android source code ( jelly bean 4.1.2 ) from http://source.android.com
- Unzip opensource packages of LS970_OptimusG_Android_JB_LS970ZVC_Android.tar.gz into downloaded android source directory
- And, merge the source into the android source code
- Run following scripts to build android
a) source build/envsetup.sh
b) choosecombo 1 geehrc4g_spr_us 1
c) m -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-geehrc4g_spr_us/target/product/geehrc4g
2. Kernel Build
- Untar using following command at the android folder
tar zxvf LS970_OptimusG_Android_JB_LS970ZVC_kernel.tar.gz
- When you compile the kernel source code, you have to add google original prebuilt source(toolchain)
into the android folder.
- cd kernel
- make j1sp-perf_defconfig ARCH=arm
- make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
3. After build, you can find the build image(zImage) at arch/arm/boot/
New upload of Kernal zvc :
https://docs.google.com/file/d/0B1DGsUzId7AHdXl1RWNNYXFGcHc/edit?usp=docslist_api
Lg ls970_zvc license link : https://docs.google.com/file/d/0B1DGsUzId7AHN2NuUXBnd3c1SnM/edit?usp=docslist_api
Sent from my LG-LS970 using Tapatalk 4
Built date submit * Fri Jul 13 2013 Crutcher Dunnavant * - changed to provide snprintf and vsnprintf functions
Sent from my LG-LS970 using Tapatalk 4
bigfdaddy2 said:
Built date submit * Fri Jul 13 2013 Crutcher Dunnavant * - changed to provide snprintf and vsnprintf functions
Sent from my LG-LS970 using Tapatalk 4
Click to expand...
Click to collapse
Is this what the guy was talking about in the post about the Optimus G software update?
Sent from my LG-LS970 using xda premium
This is the kernal for that software update coming ...
Sent from my LG-LS970 using Tapatalk 4
Sent from my LG-LS970 using Tapatalk 4
bigfdaddy2 said:
This is the kernal for that software update coming ...
Sent from my LG-LS970 using Tapatalk 4
Click to expand...
Click to collapse
Ok. That's what I thought, I was just too lazy to read.
Sent from my LG-LS970 using xda premium
_dannyboy said:
Ok. That's what I thought, I was just too lazy to read.
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
Lol it all good
Sent from my LG-LS970 using Tapatalk 4
Phone appman is set at test server and so is the bau server .... hopefully lets me get a lil sooner ... unsure whether appman and bau needs to be test server or staging server ....
Sent from my LG-LS970 using Tapatalk 4
bigfdaddy2 said:
Here ya go some goodies for u ....
Kernal tar text :
1. Android Build
- Download original android source code ( jelly bean 4.1.2 ) from http://source.android.com
- Unzip opensource packages of LS970_OptimusG_Android_JB_LS970ZVC_Android.tar.gz into downloaded android source directory
- And, merge the source into the android source code
- Run following scripts to build android
a) source build/envsetup.sh
b) choosecombo 1 geehrc4g_spr_us 1
c) m -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-geehrc4g_spr_us/target/product/geehrc4g
2. Kernel Build
- Untar using following command at the android folder
tar zxvf LS970_OptimusG_Android_JB_LS970ZVC_kernel.tar.gz
- When you compile the kernel source code, you have to add google original prebuilt source(toolchain)
into the android folder.
- cd kernel
- make j1sp-perf_defconfig ARCH=arm
- make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
3. After build, you can find the build image(zImage) at arch/arm/boot/
Kernal DL : https://docs.google.com/file/d/0B1DGsUzId7AHVXlVN2tBWXRYUE0/edit?usp=docslist_api
Lg ls970_zvc license link : https://docs.google.com/file/d/0B1DGsUzId7AHN2NuUXBnd3c1SnM/edit?usp=docslist_api
Sent from my LG-LS970 using Tapatalk 4
Click to expand...
Click to collapse
Nicely done, did you see anything new building the kernel from source.
Sent from my LG-LS970 using xda app-developers app
I haven't done any building with it to test ....I just was able to pull the kernal from the new update heading our way .... I know evoloutionmods,neighborhood hacker have put it into some builds and are testing it out ....
Sent from my LG-LS970 using Tapatalk 4
bigfdaddy2 said:
I haven't done any building with it to test ....I just was able to pull the kernal from the new update heading our way .... I know evoloutionmods,neighborhood hacker have put it into some builds and are testing it out ....
Sent from my LG-LS970 using Tapatalk 4
Click to expand...
Click to collapse
Nice, Hopefully this will fix the bug issues, I think they are doing this too prepare the phone at the end of year for android 4.3
tommyjoesanders said:
Nice, Hopefully this will fix the bug issues, I think they are doing this too prepare the phone at the end of year for android 4.3
Click to expand...
Click to collapse
I don't believe we will receive 4.3 I know we will get 4.2 but they say it will be by end of year .... Lg seems to usually do 4-5 updates to their top tier phones .. We have had two major updates and know this minor update thats coming and the first minor update for ICS equals our 4 updates lol...
Sent from my LG-LS970 using Tapatalk 4
Posted new upload of zvc kernal ... I messed up last night while uploading ....
Sent from my LG-LS970 using Tapatalk 4
bigfdaddy2 said:
I don't believe we will receive 4.3 I know we will get 4.2 but they say it will be by end of year .... Lg seems to usually do 4-5 updates to their top tier phones .. We have had two major updates and know this minor update thats coming and the first minor update for ICS equals our 4 updates lol...
Sent from my LG-LS970 using Tapatalk 4
Click to expand...
Click to collapse
We've had one major update. 4.1.2. We started with zv7, zv8 and 9 were bug fixes. ZVB is the only major one I can think of. Zvc seems fairly minor.
Sent from my LG-LS970 using xda app-developers app
Sorry to resurrect a dead thread but this is the only one that I saw that talks about compiling from LG kernel source.
I think I did everything like your instructions say but the output folder for my kernel doesn't have a zImage file. The closest name is Image but it's 14.4MB (way bigger than viper kernel, for instance) and it doesn't boot via fastboot boot Image. I'd appreciate it if anyone could give me some pointers.
EDIT: looks like I hadn't installed lzop, never mind.
VoluntaryMan said:
Sorry to resurrect a dead thread but this is the only one that I saw that talks about compiling from LG kernel source.
I think I did everything like your instructions say but the output folder for my kernel doesn't have a zImage file. The closest name is Image but it's 14.4MB (way bigger than viper kernel, for instance) and it doesn't boot via fastboot boot Image. I'd appreciate it if anyone could give me some pointers.
EDIT: looks like I hadn't installed lzop, never mind.
Click to expand...
Click to collapse
I tried it using toolchain 4.6.3, among many others, and at best, the error was with the tsp.drv. When I removed it it compiled fine. But no boot.
How did you get past that error? Also, I have issues getting the modules to compile. How'd you fix that?
I'm trying to learn in my spare time so that's probably my problem. TIA
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
I tried it using toolchain 4.6.3, among many others, and at best, the error was with the tsp.drv. When I removed it it compiled fine. But no boot.
How did you get past that error? Also, I have issues getting the modules to compile. How'd you fix that?
I'm trying to learn in my spare time so that's probably my problem. TIA
Click to expand...
Click to collapse
I just started with the source of Viper Kernel, it's ZVC based and already have some good fixes.
You can also see the source I'm working on at bmos/JB_LS970ZVC_Adder, although mine isn't booting right now (although I'm about to try toolchain 4.7 which it says it is optimised for)

[Q] Device name question.

Hi everyone. I am attempting to buld my first ROM and am following a guide to build beanstalk. I am at a point that confuses me. The comand is "breakfast (Device name)". Is this just looking for "n7100" or is there a speacial name I have to put there? Thanks!!
PS: Before anyone say this is not the place for this, Id like to say sorry first. IF i can get this to work and I get permision from scott this will turn into a new Beanstalk build thread.
It depends on the Beanstalk build environment setup. Your best bet is to PM someone that has already built for a device and ask them.
Just something to try, you could try the breakfast command without typing anything after it and see if your device name shows up then.
When I started building from source, I have never used the breakfast command, only lunch and make.
Thanks for the reply. I am running into another problem thats a step before that. I am trying to get the curl command to work. It creates a file called repo but when I try to do the next command repo init "blahblah" I get an error code saying syntay error Doctype HTML. The only thing I can think of is that the repo file should be a python script but is getting saved as html. I dont know how to fix this. Can someone post there repo file. This is the code to I am using to create the repo file.
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
Bert.C said:
It depends on the Beanstalk build environment setup. Your best bet is to PM someone that has already built for a device and ask them.
Just something to try, you could try the breakfast command without typing anything after it and see if your device name shows up then.
When I started building from source, I have never used the breakfast command, only lunch and make.
Click to expand...
Click to collapse
Goneeuro said:
Thanks for the reply. I am running into another problem thats a step before that. I am trying to get the curl command to work. It creates a file called repo but when I try to do the next command repo init "blahblah" I get an error code saying syntay error Doctype HTML. The only thing I can think of is that the repo file should be a python script but is getting saved as html. I dont know how to fix this. Can someone post there repo file. This is the code to I am using to create the repo file.
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
Click to expand...
Click to collapse
Have you got that big list of dependencies installed? If you dont know what I mean, search for aosp amd setting up build environment and theres a list of packages that need imstalling, python beimg one of them.
Actually looking at that link I dont think thats where my repo come from. If you can wait until tomorrow when Im back at my pc Ill sort out a step by step guide if you want? As in noob starting from scratch guide that I followed to get set up.
Sent from my GT-N7100 using Tapatalk
Bert.C said:
Have you got that big list of dependencies installed? If you dont know what I mean, search for aosp amd setting up build environment and theres a list of packages that need imstalling, python beimg one of them.
Actually looking at that link I dont think thats where my repo come from. If you can wait until tomorrow when Im back at my pc Ill sort out a step by step guide if you want? As in noob starting from scratch guide that I followed to get set up.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Yeah. I had a wrong link in the curl command. It was an old link. I googled it and replaced it, now everything seems to be working. Lets see though. Any help you can give though I would apreciate it.
Goneeuro said:
Yeah. I had a wrong link in the curl command. It was an old link. I googled it and replaced it, now everything seems to be working. Lets see though. Any help you can give though I would apreciate it.
Click to expand...
Click to collapse
What steps have you already taken mate? Start from the very beginning if you can and we shall get you up and running in no time at all (unless you already are?)
Hi. I got it syncing now. Thanks. The next command I'm not to sure of is the breakfast command.
Sent from my GT-N7100 using xda app-developers app
Goneeuro said:
Hi. I got it syncing now. Thanks. The next command I'm not to sure of is the breakfast command.
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Did you add your N7100 repo's to the local manifest?
Bert.C said:
Did you add your N7100 repo's to the local manifest?
Click to expand...
Click to collapse
Can I message you on hangouts?
Bert.C said:
Did you add your N7100 repo's to the local manifest?
Click to expand...
Click to collapse
Sent PM. :good:
Ok. Next question. Where or how do I get the device specific files for the note 2 so I can try to build the newest beanstalk. I thought they would automatically come from CM but the device isnt supported. Not sure if I mentioned this or not before but I have never done this before so it is a learning experience for me.

Categories

Resources