[Q] Compiling diff patch with sources(Windows)

alen1901

Senior Member
Jan 29, 2011
5,800
7,215
0
Hi guys, i googled so much about that but everything is for linux. I found some tutorials but now im stuck. I need some dev or anyone who uses git, compiling with sources and applying diff on windows, to teach me some steps. I know how to download source codes, but dunno which to use for what and how. Basically i "just" need to apply diff to source code and compile.

I am posting this here because here are great devs and people, and also i would like to compile for nexus s.
I hope someone could help me with that. :)

Sent from SpeedMachine i9023
 
B

bedalus

Guest
Because virtual box is not stable, and i have important data on PC, and installed, also i use PC for gaming. i dont want to set up all over again.

Sent from SpeedMachine i9023
You can use ubuntu's wubi installer to install Ubuntu in windows, in such a way that it doesn't involve creating new partitions or messing with bootloaders.
 

alen1901

Senior Member
Jan 29, 2011
5,800
7,215
0
You can use ubuntu's wubi installer to install Ubuntu in windows, in such a way that it doesn't involve creating new partitions or messing with bootloaders.
How much space does it uses when installed? Im low. :D also, do you know, what sources i need to download if i want to apply one of evilisto mods? Framework_base and app package settings? Because if i download all sources on my drive it will take a lot od GBs and download will last forever. Or there is not a way other than full download?

Sent from SpeedMachine i9023
 

das_webos_transformer

Senior Member
Feb 3, 2012
1,151
317
0
Usually not. I have desperate hard drive forw windows. If your low on space to that point maybe you should invest in a new hard drive.

Sent from my Nexus S 4G using xda app-developers app
 

alen1901

Senior Member
Jan 29, 2011
5,800
7,215
0
Usually not. I have desperate hard drive forw windows. If your low on space to that point maybe you should invest in a new hard drive.

Sent from my Nexus S 4G using xda app-developers app
Im just low on c(Windows partition), d has a lot of place :p i guess ill have to give it up. I cant let pc download and compile 2 days.

Sent from SpeedMachine i9023
 

das_webos_transformer

Senior Member
Feb 3, 2012
1,151
317
0
Get a smaller distro and its no biggie on space. Not like puppy dog but maybe kbuntu xbuntu, etc

Or anything debbain, really, saves loads of time. Gentoo is hard to learn, gotta be good at linux for it.

Sent from my A100 using Tapatalk 2
 

alen1901

Senior Member
Jan 29, 2011
5,800
7,215
0
Cool. I've subscribed to this thread in case you need more help
Guess what, i need help. :D i put sources to download few hours, i was out on a drink. When i came back, ubuntu was frozen. Mouse, keyboard, picture, terminal. So i could just hit restart button and i lost all what was downloaded until that. Do you know what might couse that? I put 10gb for instalation on wubi. Now i installed it again with 20gb and i will try again. Maybe i was low on ubuntu partition space?

Sent from SpeedMachine i9023
 
B

bedalus

Guest
Guess what, i need help. :D i put sources to download few hours, i was out on a drink. When i came back, ubuntu was frozen. Mouse, keyboard, picture, terminal. So i could just hit restart button and i lost all what was downloaded until that. Do you know what might couse that? I put 10gb for instalation on wubi. Now i installed it again with 20gb and i will try again. Maybe i was low on ubuntu partition space?

Sent from SpeedMachine i9023
Probably, I think 20gb is probably not enough for compiling a whole ROM. Go for 100GB and allow a generous swap space, at least 16GB. If you are compiling the kernel, 20gb will be enough, and you won't need as much swap either.

But one you get used to Ubuntu you'll probably want to keep it, so you might as well allocate as much space as you can.
 

alen1901

Senior Member
Jan 29, 2011
5,800
7,215
0
Probably, I think 20gb is probably not enough for compiling a whole ROM. Go for 100GB and allow a generous swap space, at least 16GB. If you are compiling the kernel, 20gb will be enough, and you won't need as much swap either.

But one you get used to Ubuntu you'll probably want to keep it, so you might as well allocate as much space as you can.
On installation i can choose from 2gb-35gb for ubuntu. Not higher. But i have 120gb of free disk. And why i need swap etc. I just need to download rom sources, apply diff patch and compile.

Sent from SpeedMachine i9023
 
B

bedalus

Guest
Your other option is to delete everything off d: that you can afford to lose, then use the ordinary Ubuntu install disk to repartition d: manually before installing.
 

alen1901

Senior Member
Jan 29, 2011
5,800
7,215
0
Your other option is to delete everything off d: that you can afford to lose, then use the ordinary Ubuntu install disk to repartition d: manually before installing.
Nah, i dont want to do that. I just want to try this out, if it works, i would maintain mods for few most popular roms(or make only for myself), but i wouldnt use ubuntu and that stuff every day. Thats why i hoped i can do it like mentioned in posts.

Sent from SpeedMachine i9023