[Q] Any scope of development on Windows? - Samsung Galaxy Star

can some1 just tell me if developpment has any scope using windows os
can i build cm form source without linux or ubuntu
I have not started on tutorials since most of them advice to use linux or ubuntu
so if there is a way to development on windows can u all tell me, how it is possible
or a tutorial ?
Just so u know my computer has 2gb ram and intel hd graphics
so i cant run emulators
Thnx in advance
 @Hnk1 help

T3snake said:
can some1 just tell me if developpment has any scope using windows os
can i build cm form source without linux or ubuntu
I have not started on tutorials since most of them advice to use linux or ubuntu
so if there is a way to development on windows can u all tell me, how it is possible
or a tutorial ?
Just so u know my computer has 2gb ram and intel hd graphics
so i cant run emulators
Thnx in advance
@Hnk1 help
Click to expand...
Click to collapse
As a beginner, I would suggest you start with windows/Linux mint. Linux/Ubuntu are for more advanced users and thus provide less friendly interface. There might be a dispute which OS is best. For Android, I would suggest LINUX.
Development requires large amount of disk space (up to 200-500gb); very fast PC (8 or more recommended) high end PC (icore 5 but icore7 recommended)
You might be able to start on windows for small projects with your PC but algorithms would take 6-12 hours rather than half an hour on a high end PC. I know many developers using minimal PC to work so it means more time for processes to finish.
For example
UBUNTU might be better because android is developed under linux with java base. So using Windows might need some adjustments while development. Also, Eclipse is preferred for all development for Android.(programme name)
As android is based on linux, using same base/framework is a key advantage. Ubuntu/Linux is that's why preferred so no more adjustments are made and thus its quicker to develop on Linux. This is because of same internal architecture used by Linux/ubuntu and Android.All Android applications use Linux as its base and java libraries for programming. Java and Linux both being open source can easily be synchronized. The simulation on Linux platform is also fast as compared to windows. You can even download some system files patches for Linux if there is any compatibility problem but it is not possible for windows.
Android/Java/Linux are all open sourced(libraries n API)and easier to debug.
Linux mint is more friendly than Ubuntu in comparision in my opinion.
Another advantage of Linux/ubuntu is booting time/quick interface as windows easily gets laggy after some time.
In the end it comes to user preference.It takes a variety of tools to make software, including drawing tools, so the OS is not that important but helpful to have both Linux and Win. You will need code editors and drawing tools.

Hnk1 said:
As a beginner, I would suggest you start with windows/Linux mint. Linux/Ubuntu are for more advanced users and thus provide less friendly interface. There might be a dispute which OS is best. For Android, I would suggest LINUX.
Development requires large amount of disk space (up to 200-500gb); very fast PC (8 or more recommended) high end PC (icore 5 but icore7 recommended)
You might be able to start on windows for small projects with your PC but algorithms would take 6-12 hours rather than half an hour on a high end PC. I know many developers using minimal PC to work so it means more time for processes to finish.
For example
UBUNTU might be better because android is developed under linux with java base. So using Windows might need some adjustments while development. Also, Eclipse is preferred for all development for Android.(programme name)
As android is based on linux, using same base/framework is a key advantage. Ubuntu/Linux is that's why preferred so no more adjustments are made and thus its quicker to develop on Linux. This is because of same internal architecture used by Linux/ubuntu and Android.All Android applications use Linux as its base and java libraries for programming. Java and Linux both being open source can easily be synchronized. The simulation on Linux platform is also fast as compared to windows. You can even download some system files patches for Linux if there is any compatibility problem but it is not possible for windows.
Android/Java/Linux are all open sourced(libraries n API)and easier to debug.
Linux mint is more friendly than Ubuntu in comparision in my opinion.
Another advantage of Linux/ubuntu is booting time/quick interface as windows easily gets laggy after some time.
In the end it comes to user preference.It takes a variety of tools to make software, including drawing tools, so the OS is not that important but helpful to have both Linux and Win. You will need code editors and drawing tools.
Click to expand...
Click to collapse
Yea the emulator for testing didnt even bootup till now
ill just have to postpone advanced development until i get a newer pc
My last Question....
does android kitchen support this device?
or partially supported? or anything close?

T3snake said:
Yea the emulator for testing didnt even bootup till now
ill just have to postpone advanced development until i get a newer pc
My last Question....
does android kitchen support this device?
or partially supported? or anything close?
Click to expand...
Click to collapse
I don't think android kitchen is supported

T3snake said:
can some1 just tell me if developpment has any scope using windows os
can i build cm form source without linux or ubuntu
I have not started on tutorials since most of them advice to use linux or ubuntu
so if there is a way to development on windows can u all tell me, how it is possible
or a tutorial ?
Just so u know my computer has 2gb ram and intel hd graphics
so i cant run emulators
Thnx in advance
@Hnk1 help
Click to expand...
Click to collapse
I hav ubuntu on my laptop... nd I really want cm on our device but my main problem is that my internet is really slow and cm11 source is around 10 gb which might take weeks on my pc...

T3snake said:
can some1 just tell me if developpment has any scope using windows os
can i build cm form source without linux or ubuntu
I have not started on tutorials since most of them advice to use linux or ubuntu
so if there is a way to development on windows can u all tell me, how it is possible
or a tutorial ?
Just so u know my computer has 2gb ram and intel hd graphics
so i cant run emulators
Thnx in advance
@Hnk1 help
Click to expand...
Click to collapse
for developing android apps.. windows works.. and a fair computer will do... unless you plan to develop something huge...
AVD's have problem with low specs on windows.... try emulating with GenyMotion
and unless you have a gpu.. the graphics won't really matter much..
and as far as building android/cm goes.. you need linux or mac os..
you could build on virtual box.. if you had whopping 16 gb of ram..
maybe cygwin works.. but i don;t know...
and it isn't hard to install ubuntu alongside windows.. all you need is a usb drive and a x64 live cd from their website.. and some patience..
ubuntu is just feels out of place for first time windows user... if you used Mac Os.. it' s easy.. the dock and the universal title bar are not hard to get.. after some time you will be more comfortable with ubuntu than windows.. or that was the case for me..
you need processing power of cpu for building... sure you can build on a p4.. but time is a great factor here.. i7 can compile faster than i5.. and it goes like that..
by the way.. i know a guy who built cm on a 4gb ram and intel core duo... took around 7 hours he said..

psych.half said:
i know a guy who built cm on a 4gb ram and intel core duo... took around 7 hours he said..
Click to expand...
Click to collapse
I hav 6gb ram and i7 processor but my internet download speed is jst 60 kbps...

Vortex99 said:
I hav 6gb ram and i7 processor but my internet download speed is jst 60 kbps...
Click to expand...
Click to collapse
buddy you don't need to download the whole 12gb of source code..
if you only plan to build for a specific device... you don't need the all platform codes for arm/ mips/ x86 or prebuilt binaries for mac os and x86 and x64..
you can select only required prebuilts and projects for your current device and current os by creating an xml file with some modifications in
.repo/local_manifests directory.. then you can reduce size of the source code...
and at 60kbps.. let's average that to 55 kb/ps... it would take around... 53 hours
but you can do continue syncing where you left off... kinda like pause and resume... so maybe in a week you will have the source code..
and just make source you sync the frameworks_base at last.. that one repository alone is over 1 gb.. O_O

psych.half said:
buddy you don't need to download the whole 12gb of source code..
if you only plan to build for a specific device... you don't need the all platform codes for arm/ mips/ x86 or prebuilt binaries for mac os and x86 and x64..
you can select only required prebuilts and projects for your current device and current os by creating an xml file with some modifications in
.repo/local_manifests directory.. then you can reduce size of the source code...
and at 60kbps.. let's average that to 55 kb/ps... it would take around... 53 hours
but you can do continue syncing where you left off... kinda like pause and resume... so maybe in a week you will have the source code..
and just make source you sync the frameworks_base at last.. that one repository alone is over 1 gb.. O_O
Click to expand...
Click to collapse
So ur sayin I can pause during the repo sync command... ??
How can I do that... ??
Now I am really getting interested... but I hav exams right now and my laptop hard disk has failed... btw can you give me detailed explanation about building cm from source or atleast post a link to guide. .. I hav seen many guides but all of them are confusing...

Vortex99 said:
So ur sayin I can pause during the repo sync command... ??
How can I do that... ??
Now I am really getting interested... but I hav exams right now and my laptop hard disk has failed... btw can you give me detailed explanation about building cm from source or atleast post a link to guide. .. I hav seen many guides but all of them are confusing...
Click to expand...
Click to collapse
well.. it's not pause.. it's like.. let's say you have already downloaded 16%.. and you stopped it that.. and turn off your pc..
next time you open pc and run repo sync.. it will check if sources have changed.. if not it will continue to sync from there..
it's just matter of copy and pasting commands to set up sources....it is not that hard..
hmmm... how about i set up the build environment for you on your laptop via ssh .. when your laptop is fixed.. pm me for your thoughts on this..

psych.half said:
well.. it's not pause.. it's like.. let's say you have already downloaded 16%.. and you stopped it that.. and turn off your pc..
next time you open pc and run repo sync.. it will check if sources have changed.. if not it will continue to sync from there..
it's just matter of copy and pasting commands to set up sources....it is not that hard..
hmmm... how about i set up the build environment for you on your laptop via ssh .. when your laptop is fixed.. pm me for your thoughts on this..
Click to expand...
Click to collapse
yea sure m gonna let you know about it...

Related

LINUX on gene

hi ,
is there any one here whoz intrested in installing linux on gene or anyone who can guide me on how to do that
thx
Linux on Gene
Hey I am interested in installing Linux on gene.
count me also
actually we can do it
did u have any link or page so we can get started ??
ankit360 said:
count me also
actually we can do it
did u have any link or page so we can get started ??
Click to expand...
Click to collapse
Hi ankit,
i am not a geek when it comes to creating roms or porting linux on gene but i am intrested in doing that...i was searching the internet and i found this page..Hope this helps you to give some idea about it...
http://vivien.chappelier.free.fr/typhoon/index.html
http://www.handhelds.org/moin/moin.cgi/SupportedHandheldSummary
am interested too
Hey Man I am really a linux Lover, Take me into consideration...
I am really looking for installing linux on my gene.....
Can you tell which flavor u r taking for it.......
bhushangahire said:
Hey Man I am really a linux Lover, Take me into consideration...I am really looking for installing linux on my gene.....Can you tell which flavor u r taking for it.......
Click to expand...
Click to collapse
hey dude i am a novice when it comes to Linux..what do you mean by what flavor of Linux???
lets start from android
ankit360 said:
lets start from android
Click to expand...
Click to collapse
hi Ankit...
check this link..its from kaiser rom development...thought it might help us...
http://forum.xda-developers.com/showthread.php?t=470649
This Kaiser port don't work on Gene. They have a different hardware.
The first thing needed to run Android is a kernel that support our hardware.
A good place to start is here. They have a kernel (linwizard) that may boot on our device.
oh....very nice thought..U all r doing great job....
carry on...
@ ramersonw
is it like emulation or it will boot directly ???
r u interested in it so we can make it possible
It's a kind of emulation. The kernel will run on wimo using Haret. The linwizard project has a version of Haret that works in the Gene processor(TI OMAP850). It's like a vmware prog.
To run linux on our device we have to:
1st. we have to make the Haret work with the processor of the gene (stable)
2nd. make the Linux kernel works with the hardware of the gene (write drivers for touch screen, cellular radio , bluetooth radio, etc)
If we have it, we can run Android, Opie, GPE any flavor of linux for mobile.
I'm very interested in port linux (Android) to gene, but is not an easy task and will also consume very much time.
ramersonw said:
It's a kind of emulation. The kernel will run on wimo using Haret. The linwizard project has a version of Haret that works in the Gene processor(TI OMAP850). It's like a vmware prog.
To run linux on our device we have to:
1st. we have to make the Haret work with the processor of the gene (stable)
2nd. make the Linux kernel works with the hardware of the gene (write drivers for touch screen, cellular radio , bluetooth radio, etc)
If we have it, we can run Android, Opie, GPE any flavor of linux for mobile.
I'm very interested in port linux (Android) to gene, but is not an easy task and will also consume very much time.
Click to expand...
Click to collapse
but i think if we use emulsion I think we cannot use or get full power of linux or android
but let's start with emulation then we think about boot diretly
so lets start with android I will start this project this week and post update
we can make it possible
anybody interested ¿???????
ankit360 said:
but i think if we use emulsion I think we cannot use or get full power of linux or android
but let's start with emulation then we think about boot diretly
so lets start with android I will start this project this week and post update
we can make it possible
anybody interested ¿???????
Click to expand...
Click to collapse
count me in...i am ready
hi ankit
when you say `count me in' what implications does it have...hehehe just in case...
im also VERY interested in a faster stabler gene...and i feel linux is the way to go...BUT ive recetly used windows 7 on a dual boot with my vista system and i tell you it is FAST...in fact not only faster than vista but even XP on a 512 mb ram system!!!
...also i must admit it is MUCH slicker and faster than the LinuxMint 6.0 based on ubuntu 8.10 which i had running on my system!
...what im trying to say here is that if MSoft does to WM& what they have done to Vista in Windows 7, i think we r better off using WM7 than linux...for all practical purposes!
Regards
hotdoc0
hotdoc0 said:
hi ankit
when you say `count me in' what implications does it have...hehehe just in .....practical purposes!
Regards
hotdoc0
Click to expand...
Click to collapse
Not necessarily. Linux is probably the most stable OS after SCO, if I am not wrong. And it is also the most light weight OS as well. I guess you can run Linux on a P II 450 MHz system with all the goodies with fair speed . So imagine what it can do to your Gene .
don't start linux vs windows war here
ankit360 said:
don't start linux vs windows war here
Click to expand...
Click to collapse
Ya, Uske liye thindigit forum hi kafi hai, kyun ankit?
Linux vs Windows
Ofcourse, I don't have any intention, otherwise why would own to WM Devices ?
One of them would have been Moto Ming . What I was saying is since a few you guys (the real developers) are thinking about porting Linux to Gene, there is no point arguing about sticking to WM for the heck of it, come on you people are developers, and once you get your hands on source code, may be you will make it even better than WM! Hope you are getting my point (I am not a developer though).

Cross compiling for the Nexus One on Linux

Hey All,
I'm curious about compiling a native Linux app for the Nexus One, and wondering what the best way is to go about it in Ubuntu. I found this link for the G1:
http://android-dls.com/wiki/index.php?title=Compiling_for_Android
Since the Snapdragon is also ARM I'm assuming this will work, but is there a decent way to do this on Ubuntu or is my best bet to install Debian in Virtualbox and compile it there?
Thanks,
-Dan
overridex said:
Hey All,
I'm curious about compiling a native Linux app for the Nexus One, and wondering what the best way is to go about it in Ubuntu. I found this link for the G1:
http://android-dls.com/wiki/index.php?title=Compiling_for_Android
Since the Snapdragon is also ARM I'm assuming this will work, but is there a decent way to do this on Ubuntu or is my best bet to install Debian in Virtualbox and compile it there?
Thanks,
-Dan
Click to expand...
Click to collapse
There's a certain amount of vagueness associated with your generalized request.
That said ... ubuntu is sooo very very closely related to debian in the linux fam!
Almost all things described in the link your reference will carry-over/hold-true in ubuntu as they are stated in debian.
But ... the real kicker is the specific app you're trying to compile.
Depending on what the app you want to build depends on ... will determine your overall success. While the reference posted link is insightful, you must understand the need to link against libraries being used. Many of these libraries (at least the basic 'c' ones) you'll find in the AOSP code in android's git repo.
I would suggest taking a look at the "external" projects found in the AOSP code to see how they utilize the makefile setup and build-environment and how they leverage bionic and others to build against.
The way those projects build out, would be essentially what you're looking for .. (I assume) again, I state this without knowing the specific app you have in mind.
Hope that helps.
~enom~
How well would a linux disto made for desktop PCs work with touch screen mouse inputs and no keboard support? (im assuming the Android VK doesnt work when you press on a textbox in a Linux Emulator)
enomther said:
There's a certain amount of vagueness associated with your generalized request.
Click to expand...
Click to collapse
Sorry, I should have been more specific - by Linux native I didn't mean any app in particular, I just meant not a java Android app. I'm really just looking to compile a HelloWorld in C and run it at the shell on the Nexus at this point.
My main concern with the link I posted is that although Ubuntu is based on Debian, Ubuntu does not maintain an ARM version, and the package mentioned in that tutorial is not included in Ubuntu because of this.
So I'm just wondering if anyone has come up with a good solution for compiling for the Nexus in Ubuntu, or if I'm better off installing Debian in a virtual machine.
Thanks,
-Dan
http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html
I think this is more of what I was looking for, I'll build AOSP and try out the agcc script.
-Dan
Another idea: find the Android source wherever Google hides it, I have forgotten, sorry! But they give instructions for setting up a whole ARM cross-compiling environment on x86/x64 Ubuntu, and as I recall, it was really easy, quick and automatic! (so easy, I did it just so I could compile some ARM apps myself, I really didn't need to compile Android, I don't build phones! )
After that, you too should be able to compile your own apps into native ARM binaries.
overridex said:
Sorry, I should have been more specific - by Linux native I didn't mean any app in particular, I just meant not a java Android app. I'm really just looking to compile a HelloWorld in C and run it at the shell on the Nexus at this point.
Click to expand...
Click to collapse
To do this, you need a version of the ARM tools appropriate for your platform and then use them for building a static binary for Linux. You can find such tools at CodeSourcery (http://www.codesourcery.com/sgpp/lite/arm). Given that you sound like you have Ubuntu, then the Linux version from this page, http://www.codesourcery.com/sgpp/lite/arm/portal/[email protected]=lite, would be what you want. The key is to use the --static parm when you build the binary.
From there, just get your binary over onto the target and run it from the command shell.
Remember that static binaries are HUGE. They have to include all library functions linked in.
If you are looking for tiny binaries, look into the NDK and use the BUILD_EXECUTABLE rule for Android.mk.
A few more useful links, but not much that hasn't already been stated in previously referenced links:
http://benno.id.au/blog/2007/11/13/android-native-apps
http://honeypod.blogspot.com/2007/12/dynamically-linked-hello-world-for.html
http://honeypod.blogspot.com/2007/12/initialize-libc-for-android.html

[INFO] UBUNTU for any arm based devise..

ubuntu can be designed from the scratch for any arm based device .
this is just a humble request to senior devs to check it out and try to port it on our wave.
even if modem would not work for arm ubuntu it would be useful in other aspects like usb hosting, full pc based firefox experience,full doc editing,and something new that our wave would have.
htc-linux.org/wiki/index.php?title=Ubuntu/Leo
https://wiki.ubuntu.com/ARM/RootStock/RunNative
https://wiki.ubuntu.com/ARM/RootfsFromScratch
even android porting is on half stage. I think dev's are gonna handle the android thing. Maybe they will after android but Android has priority
furkey said:
even android porting is on half stage. I think dev's are gonna handle the android thing. Maybe they will after android but Android has priority
Click to expand...
Click to collapse
Well, a working Ubuntu port can be easier than the Android, as one don't have to pay attention to the modem (however determining the battery level still would be a problem...). But I run some rounds with the current kernel to make console available and all my atepts failed, I was not able to get it work... What would you do without console?
anghelyi said:
Well, a working Ubuntu port can be easier than the Android, as one don't have to pay attention to the modem (however determining the battery level still would be a problem...). But I run some rounds with the current kernel to make console available and all my atepts failed, I was not able to get it work... What would you do without console?
Click to expand...
Click to collapse
may be this may help you
https://wiki.ubuntu.com/ARM
https://wiki.ubuntu.com/ARM/n900
Hmmm i think all guys are busy in porting android and making voluntas browser etc also they have their own life so let them work on other things first.
Also did u tried ubuntu through badadroid ?? Did it worked.??

[Q] running OS Ubuntu on Samsung Galaxy S Wifi 4.0 a.k.a Samsung YP-G1CW/XSE

Hello guys, before the question, i am sorry if i am little english. i look some website that running Ubuntu on Android Device.
I am sorry i am new user in this site, so i can't using outside links in this posting, but you will find if you search on google about this.
i have some question about this case:
1. i am using Samsung Galaxy S Wifi 4.0 a.k.a Samsung YP-G1CW/XSE what ubuntu can running on my device?
2. How with OS Windows? what windows can running on my Device? Windows XP may be, or Windows 7..
Please Help me, i need to running other OS on my Android Device.. Thank's Before for your answer
There are two ways to run another OS on your device: chroot and qemu. You can run Ubuntu (or any Linux distribution that supports ARM processors) with little effort using the chroot method. Look up "Ubuntu installer free" in the store and it will walk you through. It may not work on the stock kernel, so make sure you have the kernel from these forums that fits your device.
The only way to run an OS like Windows is by virtualization through qemu, because it doesn't natively support the chip in your Galaxy S Wifi. This method requires a version of qemu compiled for ARM and additional libraries, which I have not gotten to work successfully on this device. (Anyone else?)
So I'd suggest just trying to get Ubuntu running. It won't be very fast or easy to use on a device that small, but it will work.
Sent from my YP-G70
Mevordel said:
There are two ways to run another OS on your device: chroot and qemu. You can run Ubuntu (or any Linux distribution that supports ARM processors) with little effort using the chroot method. Look up "Ubuntu installer free" in the store and it will walk you through. It may not work on the stock kernel, so make sure you have the kernel from these forums that fits your device.
The only way to run an OS like Windows is by virtualization through qemu, because it doesn't natively support the chip in your Galaxy S Wifi. This method requires a version of qemu compiled for ARM and additional libraries, which I have not gotten to work successfully on this device. (Anyone else?)
So I'd suggest just trying to get Ubuntu running. It won't be very fast or easy to use on a device that small, but it will work.
Sent from my YP-G70
Click to expand...
Click to collapse
Thanks Very much for your solution, i will try search, qemu method or chroot methode.. hope i will can do it, because i am new for it. i am not a developer, or programmer. i just want to know more about gad-get
so thanks a lot.

0

0
The suitable Android version for the mentioned device is Android Oreo GO Edition.
Seppppx said:
The name is self explanatory. I want the most lightweight Linux distro to compile at least a Linux kernel on my old 3GIG RAM Core 2 Duo laptop. I would also like to compile Android, but I don't know if that's possible on this laptop. Any help is appreciated.
Click to expand...
Click to collapse
Linux Mint is very popular among developers > https://www.linuxmint.com/download.php
and you can never go wrong with Ubuntu > https://ubuntu.com/download/desktop
0
Seppppx said:
The name is self explanatory. I want the most lightweight Linux distro to compile at least a Linux kernel on my old 3GIG RAM Core 2 Duo laptop. I would also like to compile Android, but I don't know if that's possible on this laptop. Any help is appreciated.
Click to expand...
Click to collapse
You can try the LFS project. You can build a linux OS from the ground up and make changes for how you'd like
Seppppx said:
The name is self explanatory. I want the most lightweight Linux distro to compile at least a Linux kernel on my old 3GIG RAM Core 2 Duo laptop. I would also like to compile Android, but I don't know if that's possible on this laptop. Any help is appreciated.
Click to expand...
Click to collapse
I dont know if its the lightest distro, but people have reported that arch linux us one of the fastest.
https://forum.xda-developers.com/showpost.php?p=83040355&postcount=9966
To build android, you are going to need 8GB ram and a LOT of spare disk space.
Have a read of the thread referenced above
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
0
Seppppx said:
Thanks,
For the 8 Gig thing I don't think I need that when I disable Jack and Ninja.
A lot of disc space is not needed. 130GIGS to download the source code and maybe a bit more (mosly for the swapfile) to build it.
Click to expand...
Click to collapse
Android code I've worked with after download is only 40GB but to compile and use CCache you'll need about 500GB extra
Seppppx said:
Thanks,
For the 8 Gig thing I don't think I need that when I disable Jack and Ninja.
A lot of disc space is not needed. 130GIGS to download the source code and maybe a bit more (mosly for the swapfile) to build it.
Click to expand...
Click to collapse
TheExploitedOne said:
Android code I've worked with after download is only 40GB but to compile and use CCache you'll need about 500GB extra
Click to expand...
Click to collapse
I use VBox for my builds.
My usage:
30GB System (that is bloated as i use for other things)
20GB CCache (i have built multiple roms using this shared partition EXTRA: about 5GB per ROM, and on an SSD)
80GB ROM Source (Single ROM. remember you basically have 2 copies of the ROM source, one in GIT paths and one to build from)
80GB Build OUT
8GB Swap (i have 24GB of physical RAM assigned, so a smaller swap)
PS: as for disabling build features such as Ninja, I have been amazed to read how some people take DAYS to compile a ROM.
DiamondJohn said:
I use VBox for my builds.
My usage:
30GB System (that is bloated as i use for other things)
20GB CCache (i have built multiple roms using this shared partition)
80GB ROM Source (Single ROM. remember you basically have 2 copies of the ROM source, one in GIT paths and one to build from)
80GB Build OUT
8GB Swap (i have 24GB of physical RAM assigned, so a smaller swap)
PS: as for disabling build features such as Ninja, I have been amazed to read how some people take DAYS to compile a ROM.
Click to expand...
Click to collapse
After they've started using Ninja to build the OS I've not chose to proceed further with Android development for a custom OS as I've ran into many errors. I'm actually going to try that and see if I can speed up builds
0
Seppppx said:
Thank for the accurate storage consumption.
As for ninja. One of the reason it makes builds fast is it's usage of RAM. If I disable it and let make build everything I should have much less use of RAM. I would rather have my builds take a week rather than not succeed.
Click to expand...
Click to collapse
Is that for the newer build trees? CM 11 on my old Core i7 PC a while back took at least a couple hours
That's a pretty long build time though
Seppppx said:
Thank for the accurate storage consumption.
As for ninja. One of the reason it makes builds fast is it's usage of RAM. If I disable it and let make build everything I should have much less use of RAM. I would rather have my builds take a week rather than not succeed.
Click to expand...
Click to collapse
I have never built without Ninja, but to limit iot, you can configure the number of parallel threads it uses. I have gone down to 1 when I am trying to debug a failing build. I think the RAM usage may be a flow on effect from running parallel compilation i.e. cutting it down to 1 or 2 may help.
As I said, i have always used Ninja. however, my understanding is that it takes care of dependencies, so if your build stops at 99% (ie day 5) you can simply restart the build where it stopped, after correcting the source code error. I dont know, but if it needs to start at 0% again without Ninja, thats going to hurt.
PS: my build times are 50-90min, and disk usage above are for Nougat to Q/10
I compiled the kernel with vps with Debian based OS using 2 cores. It takes up to 1 hour, but it doesn't matter to me. maybe you can try the ubuntu or debian distro and you change the lighter Desktop Environment to cut RAM usage.
BryanHafidz said:
I compiled the kernel with vps with Debian based OS using 2 cores. It takes up to 1 hour, but it doesn't matter to me. maybe you can try the ubuntu or debian distro and you change the lighter Desktop Environment to cut RAM usage.
Click to expand...
Click to collapse
I have ways used a Linux desktop without the VM. I strongly dislike Windows as they've been proven to spy on their users. I prefer Linux Mint it's a light weight OS and still preform like Ubuntu

Categories

Resources