Page 5 of 17 FirstFirst ... 2345678 ... LastLast
Results 101 to 125 of 409
Like Tree162Likes
  1. #101  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    Quote Originally Posted by skinbark View Post
    That setup is okay. If you need more swap you can create a big file in Xubuntu and tell Linux to use it as swap in addition to your swap partition. Here's a link:

    I recommend running the top command in a second window while building to keep an eye on memory usage.
    You might also want to install a temperature monitor app to see if your cpu is overheating during the build. I'm not sure what they're called but I know there's some out there.
    I have more room on /dev/sda. Will make that swap partition bigger. Need all the room I can get on /dev/sdb for source code and compiling.
  2. #102  

    Default Re: 4.4 KitKat?

    Good idea. I just ordered a 500gb hd for my laptop, I pretty much maxed out my storage capacity on my 160gb. You want to leave the intermediate files on disk if possible, especially if you have a slow machine because you can recompile the system about 10 times as fast (but sometimes you have to delete the object files). I sent a pm about the recovery, thanks.
    Do not be hasty.
  3. #103  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    I'm a little slow today. Watching tv and checking on repo sync (had to run command again because my network failed at some point). Will check pm.
    Thanked by:
  4. #104  
    thewraith420's Avatar

    Posts
    1,928 Posts
    ROM
    Changes Daily

    Default Re: 4.4 KitKat?

    Shoot me a link and I'll test as well. Also no my way around adb and have everything I need to unbrick but I doubt I'd get in deep enough to need that

    Sent from my LG-VM670 using Tapatalk 2
    Thanked by:
  5. #105  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    Had to do a repo sync this morning due to same network failure last night (really slow network). This is what the end results was:
    Code:
    Fetching projects: 100% (437/437), done.  
    Checking out files: 100% (26967/26967), done. files:   6% (1860/26967)   
    Checking out files: 100% (5713/5713), done.ut files:  10% (628/5713)   
    Checking out files: 100% (2438/2438), done.out files:  16% (412/2438)   
    Checking out files: 100% (9389/9389), done.out files:  36% (3445/9389)   
    Checking out files: 100% (45876/45876), done.
    Checking out files: 100% (9597/9597), done.out files:   9% (939/9597)   
    Checking out files: 100% (4301/4301), done.out files:   1% (73/4301)   
    Checking out files: 100% (4082/4082), done.out files:  29% (1211/4082)   
    Checking out files: 100% (3349/3349), done.out files:  18% (603/3349)   
    Checking out files: 100% (7954/7954), done.
    Checking out files: 100% (5580/5580), done. out files:  22% (1233/5580)   
    Checking out files: 100% (3573/3573), done. out files:   8% (317/3573)   
    Checking out files: 100% (11685/11685), done.ut files:  17% (2057/11685)   
    Checking out files: 100% (4093/4093), done. out files:  47% (1928/4093)   
    Checking out files: 100% (730/730), done.ng out files:  20% (146/730)   
    Checking out files: 100% (871/871), done.ng out files:  15% (136/871)   
    Checking out files: 100% (1654/1654), done. out files:  23% (396/1654)   
    Checking out files: 100% (3924/3924), done.
    Checking out files: 100% (2927/2927), done. out files:  33% (970/2927)   
    Checking out files: 100% (22241/22241), done.
    Checking out files: 100% (113/113), done.ng out files:  46% (53/113)   
    Checking out files: 100% (1553/1553), done. out files:   0% (8/1553)   
    Checking out files: 100% (376/376), done.ng out files:   7% (27/376)   
    Checking out files: 100% (431/431), done.ng out files:   3% (13/431)   
    Checking out files: 100% (171/171), done.
    Checking out files: 100% (175/175), done.ng out files:  12% (22/175)   
    Checking out files: 100% (181/181), done.
    Checking out files: 100% (135/135), done.
    Checking out files: 100% (192/192), done.
    Checking out files: 100% (378/378), done.ng out files:  39% (149/378)   
    Checking out files: 100% (109/109), done.
    Checking out files: 100% (433/433), done.
    Checking out files: 100% (181/181), done.
    Checking out files: 100% (2407/2407), done. out files:  32% (792/2407)   
    Checking out files: 100% (2482/2482), done.
    Checking out files: 100% (2484/2484), done.
    Checking out files: 100% (177/177), done.
    Checking out files: 100% (182/182), done.ng out files:  43% (80/182)   
    Checking out files: 100% (137/137), done.
    Checking out files: 100% (193/193), done.
    Checking out files: 100% (128/128), done.
    Checking out files: 100% (50299/50299), done.ut files:   6% (3023/50299)   
    Checking out files: 100% (4864/4864), done.
    Checking out files: 100% (4383/4383), done.
    Checking out files: 100% (28/28), done.
    Checking out files: 100% (182/182), done.ng out files:   1% (2/182)   
    Checking out files: 100% (1256/1256), done.
    Checking out files: 100% (2951/2951), done.
    Checking out files: 100% (89/89), done.king out files:  49% (44/89)   
    Syncing work tree: 100% (437/437), done.  
    
    andyopie150@Dell-OptiPlex-GX620DT:~/android/kitkat$
    Is the % figures normal, or should I try to sync repo again?
  6. #106  
    thewraith420's Avatar

    Posts
    1,928 Posts
    ROM
    Changes Daily

    Default Re: 4.4 KitKat?

    Quote Originally Posted by AndyOpie150 View Post
    Had to do a repo sync this morning due to same network failure last night (really slow network). This is what the end results was:
    Code:
    Fetching projects: 100% (437/437), done.  
    Checking out files: 100% (26967/26967), done. files:   6% (1860/26967)   
    Checking out files: 100% (5713/5713), done.ut files:  10% (628/5713)   
    Checking out files: 100% (2438/2438), done.out files:  16% (412/2438)   
    Checking out files: 100% (9389/9389), done.out files:  36% (3445/9389)   
    Checking out files: 100% (45876/45876), done.
    Checking out files: 100% (9597/9597), done.out files:   9% (939/9597)   
    Checking out files: 100% (4301/4301), done.out files:   1% (73/4301)   
    Checking out files: 100% (4082/4082), done.out files:  29% (1211/4082)   
    Checking out files: 100% (3349/3349), done.out files:  18% (603/3349)   
    Checking out files: 100% (7954/7954), done.
    Checking out files: 100% (5580/5580), done. out files:  22% (1233/5580)   
    Checking out files: 100% (3573/3573), done. out files:   8% (317/3573)   
    Checking out files: 100% (11685/11685), done.ut files:  17% (2057/11685)   
    Checking out files: 100% (4093/4093), done. out files:  47% (1928/4093)   
    Checking out files: 100% (730/730), done.ng out files:  20% (146/730)   
    Checking out files: 100% (871/871), done.ng out files:  15% (136/871)   
    Checking out files: 100% (1654/1654), done. out files:  23% (396/1654)   
    Checking out files: 100% (3924/3924), done.
    Checking out files: 100% (2927/2927), done. out files:  33% (970/2927)   
    Checking out files: 100% (22241/22241), done.
    Checking out files: 100% (113/113), done.ng out files:  46% (53/113)   
    Checking out files: 100% (1553/1553), done. out files:   0% (8/1553)   
    Checking out files: 100% (376/376), done.ng out files:   7% (27/376)   
    Checking out files: 100% (431/431), done.ng out files:   3% (13/431)   
    Checking out files: 100% (171/171), done.
    Checking out files: 100% (175/175), done.ng out files:  12% (22/175)   
    Checking out files: 100% (181/181), done.
    Checking out files: 100% (135/135), done.
    Checking out files: 100% (192/192), done.
    Checking out files: 100% (378/378), done.ng out files:  39% (149/378)   
    Checking out files: 100% (109/109), done.
    Checking out files: 100% (433/433), done.
    Checking out files: 100% (181/181), done.
    Checking out files: 100% (2407/2407), done. out files:  32% (792/2407)   
    Checking out files: 100% (2482/2482), done.
    Checking out files: 100% (2484/2484), done.
    Checking out files: 100% (177/177), done.
    Checking out files: 100% (182/182), done.ng out files:  43% (80/182)   
    Checking out files: 100% (137/137), done.
    Checking out files: 100% (193/193), done.
    Checking out files: 100% (128/128), done.
    Checking out files: 100% (50299/50299), done.ut files:   6% (3023/50299)   
    Checking out files: 100% (4864/4864), done.
    Checking out files: 100% (4383/4383), done.
    Checking out files: 100% (28/28), done.
    Checking out files: 100% (182/182), done.ng out files:   1% (2/182)   
    Checking out files: 100% (1256/1256), done.
    Checking out files: 100% (2951/2951), done.
    Checking out files: 100% (89/89), done.king out files:  49% (44/89)   
    Syncing work tree: 100% (437/437), done.  
    
    andyopie150@Dell-OptiPlex-GX620DT:~/android/kitkat$
    Is the % figures normal, or should I try to sync repo again?
    Looks like a good sync to me

    Sent from my LG-VM670 using Tapatalk 2
  7. #107  

    Default Re: 4.4 KitKat?

    Nope, looks good! When you're ready to build, here's the commands:
    (execute in base directory)

    source build/envsetup.sh # this sets up the environment variables like PATH and LIB

    lunch cm_thunderc-userdebug # this sets it up to build for our device in the userdebug configuration, which has limited debugging support

    make -j3 bacon # this builds everything and creates a 'flashable' zip in the out directory (our zip won't be flashable without removing a lot of stuff)
    # the -j flag tells how many threads to use, use # of cores + 1 i.e. 3 threads for a dual core cpu

    You're going to get a number of build errors, be patient and post your error messages and we'll get you through it. Look at this as a learning experience, start poking around the source tree, the idea is to gain a big picture understanding of the build system and all the packages that go into it. The find and grep commands are your friends. The error messages aren't that informative so you need to search for files and search inside files to pinpoint the source of the problem. It's like detective work, you're looking for clues in the output. Here's an example that uses find plus grep to search inside all files that end with the .mk extension for the string TARGET_KERNEL_CONFIGURATION:

    find . -name \*.mk -exec grep -H TARGET_KERNEL_CONFIGURATION {} \; # go ahead and try this command

    Also try running a web search on the error output to see if anyone has encountered similar errors and gotten answers. I'm happy to help but the more you can figure out yourself the better, also I don't really know what I'm doing either
    Do not be hasty.
    Thanked by:
  8. #108  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    Will have to wait till tonight, and after I enlarge my swap to 6GB, to start the build process.
    Will post errors after first build attempt (I think I will pull side cover off tower and have fan blowing cool air onto hard drives and processor as well).
  9. #109  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    Almost forgot.
    I signed up to Github last year. Checked and I'm still good. I might need a few pointers on how to use it properly. Any links or direct help would be appreciated.
  10. #110  

    Default Re: 4.4 KitKat?

    Which should I use?
    Search results found for Optimus
    TWRP for LG Optimus 2x P990 [P990]
    TWRP for LG Optimus Black [P970]
    TWRP for LG Optimus G AT&T [geebus]
    TWRP for LG Optimus G Sprint [geehrc4g]
    TWRP for LG Optimus G2 [g2]
    TWRP for LG Optimus LTE [su640]
    TWRP for LG Optimus One [thunderg]
    TWRP for LG Optimus Slider [gelato]

    Optimus S, I'm running COT latest version now with SlimBean latest version. Do you have to have adb or is there a recovery flashable version? I can do either, I'd just rather recovery flash it.
  11. #111  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    Quote Originally Posted by skinbark View Post
    Use the info on this page:
    but initialize your repo to this: git://github.com/androidarmv6/android.git -b cm-11.0
    In the base directory there'll be a hidden directory called .repo, make a directory in .repo called local_manifests. Any xml manifest file in this directory will be used to sync along with the main source. This is the 'new' way. The old way was to use a single file in .repo called local_manifest.xml. I made a file in this directory called thunderc.xml that tells repo where to sync the device specific folders for thunderc from. I used the cm10.2 branch from TheJBC. Then when you run "repo sync" the device specific folders will be synced along with the cm11 source code. They say you need about 35 gb of disk space to build android, I think the source is around 10 gigs and the build generates a ton of intermediate object files etc. in the BASE_DIR/out directories. The full source includes extra stuff like the android sdk, you end up building stuff that's not really necessary to make a rom, I don't know how to weed that stuff out yet. There's good instructions for porting TWRP in a thread on xda, I'm thinking about trying to port that. A couple of guys in the p500 thread that thewraith420 mentioned were able to get cm11 flashed and booted using twrp. Unfortunately I bricked my OV the other night so I'm waiting on a new (used) one from ebay right now. I was messing around inside the broken recovery and managed to trash the system partition while attempting to mount it from the recovery. Luckily I got another one for $1.50(!) + shipping so it wasn't too bad a loss. I'd say hacking recoveries is risky though. The "build TWRP" thread tells how to build for the sdk emulator so you can experiment more safely. You're probably going to want to max out your ram and have plenty of disk space. You should add extra swap space as well, maybe 6 or 8 gigs?
    Follow this.
    For clarification go here: http://forums.androidcentral.com/lg-...ml#post3296313
  12. #112  

    Default Re: 4.4 KitKat?

    I got TWRP 2.6.3 working. PM me for the link if you want to try it out.
    Do not be hasty.
  13. #113  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    Downloaded it.

    Moving on to the build. Didn't take long to get an error.
    Code:
    andyopie150@Dell-OptiPlex-GX620DT:~/android/kitkat$ source build/envsetup.sh
    including device/generic/armv7-a-neon/vendorsetup.sh
    including device/generic/goldfish/vendorsetup.sh
    including device/generic/mips/vendorsetup.sh
    including device/generic/x86/vendorsetup.sh
    including vendor/cm/vendorsetup.sh
    including sdk/bash_completion/adb.bash
    including vendor/cm/bash_completion/git.bash
    including vendor/cm/bash_completion/repo.bash
    andyopie150@Dell-OptiPlex-GX620DT:~/android/kitkat$ lunch cm_thunderc-userdebug
    ls: cannot access device/*/thunderc/cm.mk: No such file or directory
    build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_thunderc".  Stop.
    Device thunderc not found. Attempting to retrieve device repository from androidarmv6 Github (http://github.com/androidarmv6).
    Repository for thunderc not found in the androidarmv6 Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
    ls: cannot access device/*/thunderc/cm.mk: No such file or directory
    build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_thunderc".  Stop.
    
    ** Don't have a product spec for: 'cm_thunderc'
    ** Do you have the right repo manifest?
  14. #114  

    Default Re: 4.4 KitKat?

    Just type lunch. thunderc should come up as an an option.
    Do not be hasty.
  15. #115  

    Default Re: 4.4 KitKat?

    Did you add the roomservice.xml file in the local_manifests directory? If not do that and then run 'repo sync' again to download the device files. The command I gave should work.
    Do not be hasty.
  16. #116  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    I did, but maybe too soon. I seem to have two local_manifests directory's now (I made one, as I thought I should). Transfered roomservice.xml file to the one that was generated by?, but not by me. Then deleted the directory I created.
    Will run repo sync again.

    Well, one good thing. I make all the mistakes so those that come behind me don't have to. Lol. At least if they read this thread.
    skinbark likes this.
  17. #117  
    thewraith420's Avatar

    Posts
    1,928 Posts
    ROM
    Changes Daily

    Default Re: 4.4 KitKat?

    You know lol I've built from sources several times but never messed with the manifest I've brought everything besides the Rom source in manually or via git clone. So I'm learning something here too

    Sent from my LG-VM670 using Tapatalk 2
    AndyOpie150 and skinbark like this.
  18. #118  

    Default Re: 4.4 KitKat?

    Hi,
    I'm using Windows XP on my netbook wich support will be ended on 8th april 2014... I think it can't run Win 7, so I want to install Android 4.4 (or newer in the future) to it, but I've got a big problem.
    Now I'm using Auto Power ON&Shut Down to automaticly wake my netbook up from total standby and after a time shut it down (hibernate). I've been searching for a similar Android app for 3 months and yesterday I found that Android 4.x versions can do it as default setting (without any apps). Is it true?
    Or if not, does anyone have such an app? (The netbook need to be totally turned off.)
    Last edited by hbarnabas; 12-07-2013 at 09:27 AM.
  19. #119  
    thewraith420's Avatar

    Posts
    1,928 Posts
    ROM
    Changes Daily

    Default Re: 4.4 KitKat?

    Quote Originally Posted by hbarnabas View Post
    Hi,
    I'm using Windows XP on my netbook wich support will be ended on 8th april 2014... I think it can't run Win 7, so I want to install Android 4.4 (or newer in the future) to it, but I've got a big problem.
    Now I'm using Auto Power ON&Shut Down to automaticly wake my netbook up from total standby and after a time shut it down (hibernate). I've been searching for a similar Android app for 3 months and yesterday I found that Android 4.x versions can do it as default setting (without any apps). Is it true?
    Or if not, does anyone have such an app? (The netbook need to be totally turned off.)
    This forum is for the Optimus S your question should really be in the general Android section

    Sent from my LG-VM670 using Tapatalk 2
    AndyOpie150 likes this.
  20. #120  
    AndyOpie150's Avatar

    Posts
    1,161 Posts
    ROM
    Bean_Whiz-CM10v2.2.2CX

    Default Re: 4.4 KitKat?

    Quote Originally Posted by thewraith420 View Post
    You know lol I've built from sources several times but never messed with the manifest I've brought everything besides the Rom source in manually or via git clone. So I'm learning something here too

    Sent from my LG-VM670 using Tapatalk 2
    Any tips on using Github? Total newb to it as well. Need to create a new repository for this KitKat project I would assume. Unless there is already one out there.

    EDIt: When I go to actually start the build, what is the proper command? Is it:
    Code:
    croot
    brunch thunderc
    ??
    Last edited by AndyOpie150; 12-07-2013 at 05:43 PM.
  21. #121  
    thekraven's Avatar

    Posts
    1,409 Posts
    ROM
    kraven cm7/CM9

    Default Re: 4.4 KitKat?

    Before you build, check the device folder and see if you have the lge thunderc, qcom, msm7x27, and one other I think. In the boardconfig, you might have to change the kernel defconfig back to what bssquid uses. I rename it because I like it at the top of the file list.

    Brunch should work fine but is a shortcut, I still use:
    lunch
    #to make sure thunderc is on the menu
    # Choose cm_thunderc userdebug
    make -j5 bacon
    Thanked by:
  22. #122  

    Default Re: 4.4 KitKat?

    Quote Originally Posted by AndyOpie150 View Post
    Any tips on using Github? Total newb to it as well. Need to create a new repository for this KitKat project I would assume. Unless there is already one out there.
    ??
    I just set up a repo for this and I'm rebuilding off of it and adding the error fixes as they come up. I'd recommend forking off of my repo. Some of the code (camera stuff) is probably not working but at least it'll build. Fork everything in my repo except the "android" folder and replace the entries in roomservice.xml with yours. I may be adding more tonight depending how the build goes. Basically I'm forking the project folders I modified in addition to the device folders. This lets me sync the repos and still save my modifications without having to push changes to the main repos.
    I wish I could be more help with git but I'm just starting to learn it myself.
    --Edit--
    github.com/skinbark
    Last edited by skinbark; 12-07-2013 at 07:51 PM.
    Do not be hasty.
    Thanked by 2:
    thewraith420 likes this.
  23. #123  

    Default Re: 4.4 KitKat?

    When you add a forked repo that's part of the main repo, find the line in .repo/manifest.xml and comment it out or remove it. Put another way, if you add a package to roomservice.xml that's already in manifest.xml, take it out of manifest.xml.
    Do not be hasty.
    Thanked by 2:
    thewraith420 likes this.
  24. #124  
    thewraith420's Avatar

    Posts
    1,928 Posts
    ROM
    Changes Daily

    Default Re: 4.4 KitKat?

    Yeah I don't know much about using git. I merely used it to clone repository that I wanted to bring in. I've never made a commit or figured it out.. I just tinker around with the source on my hard drive and if I mess up I loose my work..... Lol I need to learn git but finding the time has been difficult at best between working 40 hours a week and housework and my 4yr old it's tough

    Sent from my LG-VM670 using Tapatalk 2
  25. #125  
    thekraven's Avatar

    Posts
    1,409 Posts
    ROM
    kraven cm7/CM9

    Default Re: 4.4 KitKat?

    FIrst you will need to setup security keys on your computer or use Https to push. After you make any changes in each repo, go the base folder of it and do a "git status" to see the changes.
    Like:
    Code:
    cd device/lge/thunderc
    git status # to see the changes and branch you are on. 
    git branch -a #shows all branches local and remote. 
    git checkout name # switches to branch named "name"
    git checkout -b name2 # renames the current working branch "name2"
    git add .  #this adds any files you created or added or deleted.
    
    git commit -a -m "say what you changed inside these quotes"
    
    git push   cm-10.2 
    #this pushes to branch cm-10.2.  If you get an error, this means your local working branch has no name.   Do a "git checkout -b cm-10.2". Or whatever branch you want to make
    
    Then you can go see your changes on github.com
    
    Other commands that are helpful, but you do forget them fast. haha
    control+r will let you search for past commands
    git reflog #shows all the commits and you can revert or hard reset to a prior state
    git merge # I rarely use this anymore
    git revert 12345 #easily removes a single commit 
    git diff a..b #compares branches a to b or git diff cm-10.2a compares the current branch to cm-10.2a branch
    git cherry-pick 12334565498465 #if you see some feature or code you'd like to add.  More than likely you will need to fix the error changes before it can be merged.  Then do a control+k+x after you do the fixes.  And commit -a  I believe will commit it.   
    git  push -f  cm-10.2  # -f will overwrite any commits you pushed before.  You really should never need to do this.
    Last edited by thekraven; 12-08-2013 at 01:12 AM.
    Thanked by 4:
    thewraith420 likes this.
Page 5 of 17 FirstFirst ... 2345678 ... LastLast

Similar Threads

  1. iHeartRadio not working on KitKat
    By Brainerd in forum Google Nexus 5
    Replies: 43
    Last Post: 11-29-2013, 08:21 PM
  2. Replies: 12
    Last Post: 11-07-2013, 02:05 PM
  3. Any infos in upcoming AOSP KitKat 4.4 roms?
    By Cool Jeff in forum Samsung Galaxy S4
    Replies: 1
    Last Post: 11-06-2013, 07:18 AM
  4. Replies: 0
    Last Post: 11-05-2013, 05:46 PM
  5. Replies: 5
    Last Post: 11-05-2013, 02:26 PM

Posting Permissions

B