[GUIDE][COMPLETE]How to build ROM with Microsoft Azure Server!

Albe96

Senior Member
Mar 10, 2016
3,023
4,084
243
/home/albe96


What is Azure?​
Microsoft Azure is a growing collection of integrated cloud services that developers and IT professionals use to build, deploy, and manage applications through our global network of datacenters. With Azure, you get the freedom to build and deploy wherever you want, using the tools, applications, and frameworks of your choice.

Who this tutorial is for?​
This tutorial is for those who want to build a custom ROM from source, but are unable to do that because of following reasons:
1. Low Network Speed.
2. Limited Bandwidth.
3. Lack Of Money.

Part – I​
Create And Activate Free Trial Account On Microsoft​
1. Go to This Page.





2.In The Menu Panel Select "Storage Accounts"-->Create A New Storage Account.




PART-I.II​

Creating VM

1.Select "+" Icon From The Menu Panel-->Compute-->Select Your VM(Use Ubuntu 14.04)


2. Select Project Model As "Classic"


3. Give Information To Your VM.


4. Select VM Specs Under Your Free Credits.


5.Then Process To Next Steps.The VM Will Start Deploying.Deploing May Take Upto 5-10 Min.


PART-I.III​

I Want Extra Storage,How Could I Added A HDD To Get The ROM Sources Into It?
Whoa! Nice Idea! Here How You Can Do So.Thanks To @infected_ [Our Beloved RD :) ] For Posting HDD Guide Here!
Link-->>Here You Go!
 
Last edited:

Albe96

Senior Member
Mar 10, 2016
3,023
4,084
243
/home/albe96
Part-II
How To Open A Terminal?
1. You Will Be Need A PC Application Called "Putty" Which Is An SSH-Cilent For Windows.So Download It From Here.Then Open It Up.It'll Look Like This.


2.Now What You Have To Do Is,Go To Azure Portal Dashboard And Look At Your VM.And Click On It.(Here The VM Called HeroVM in Picture)


3.After Clicking To Your VM.You'll Get Some Informations Of Your VM Like This->



4.Look At My DNS Name Above It Called "albe96-ubuntu.cloud.net".You Have To Add Your DNS Name In The "Hostname(IP Address)" Field In Putty.Or You Can Add The Virtual IP Address Which Is Mentioned In The Same Description Of Your VM.

5.Then Click Open.It'll Open A Terminal.And Ask You For ID And PassWord.
•Write The ID And The Password You've Set To VM While Creating It.

6.Almost You're Done.

Part-II.I
"OMG Help Me,I Was Syncing A Rom Source,But It Says No More Space.Why Is It Happening?I've Set XYZ GB Disk.Then Why?
Hell Yeah.You're Syncing The ROM Source In Home Folder Which Is Only 30 GB.So To Do All The Jobs,Just Go To /mnt Folder using "cd /mnt" (The /mnt Folder Is The Disk You've Choosed).And The Most Important Thing Is-->You've To Be SuperUser To Access To That Folder(/mnt).So Always Type "sudo su" Before Doing Anything.

● You're Finally Done.Congratulations! Enjoy And Build ROM Happily :)
 
Last edited:

Albe96

Senior Member
Mar 10, 2016
3,023
4,084
243
/home/albe96
Part -III


How To Build ROM From Source?​
Well.There's Some Well Known Guide By Our Devs.Here Are Some Guides-->>

1. [COMPLETE] Android ROM Development From Source To End - By @jackeagle

2. [NEW][GUIDE] How-to build LineageOS 14.1 [SIMPLE][USER-FRIENDLY] - by @FSadino


Part -III.II

How And Where To Upload ROM Files To Internet!​

• Upload Files On MEGA.nz -->>https://forum.xda-developers.com/showpost.php?p=68750149&postcount=146

• Upload Files On Google Drive -->>http://olivermarshall.net/how-to-upload-a-file-to-google-drive-from-the-command-line/

Hope You Liked This Guide.Thanks And Stay Tuned
 
Last edited:

parth111999

Senior Member
Oct 25, 2016
1,099
4,377
0
21
Mumbai
Part-II
How To Open A Terminal?
1. You Will Be Need A PC Application Called "Putty" Which Is An SSH-Cilent For Windows.So Download It From Here.Then Open It Up.It'll Look Like This.


2.Now What You Have To Do Is,Go To Azure Portal Dashboard And Look At Your VM.And Click On It.(Here The VM Called HeroVM in Picture)


3.After Clicking To Your VM.You'll Get Some Informations Of Your VM Like This->



4.Look At My DNS Name Above It Called "albe96-ubuntu.cloud.net".You Have To Add Your DNS Name In The "Hostname(IP Address)" Field In Putty.Or You Can Add The Virtual IP Address Which Is Mentioned In The Same Description Of Your VM.

5.Then Click Open.It'll Open A Terminal.And Ask You For ID And PassWord.
•Write The ID And The Password You've Set To VM While Creating It.

6.Almost You're Done.

Part-II.I
"OMG Help Me,I Was Syncing A Rom Source,But It Says No More Space.Why Is It Happening?I've Set x GB Disk.Then Why?
Hell Yeah.You're Syncing The ROM Source In Home Folder Which Is Only 30 GB.So To Do All The Jobs,Just Go To /mnt Folder using "cd /mnt" (The /mnt Folder Is The Disk You've Choosed).And The Most Important Thing Is-->You've To Be SuperUser To Access To That Folder(/mnt).So Always Type "sudo su" Before Doing Anything.

● You're Finally Done.Congratulations! Enjoy And Build ROM Happily :)
Yooo Will Try this Golden Guide...
By the way Thanks for the Guide bro ??
 

prashantp01

Senior Member
May 21, 2016
743
2,387
113
Mumbai


What is Azure?​
Microsoft Azure is a growing collection of integrated cloud services that developers and IT professionals use to build, deploy, and manage applications through our global network of datacenters. With Azure, you get the freedom to build and deploy wherever you want, using the tools, applications, and frameworks of your choice.

Who this tutorial is for?​
This tutorial is for those who want to build a custom ROM from source, but are unable to do that because of following reasons:
1. Low Network Speed.
2. Limited Bandwidth.
3. Lack Of Money.

Part – I​
Create And Activate Free Trial Account On Microsoft​
1. Go to This Page.





2.In The Menu Panel Select "Storage Accounts"-->Create A New Storage Account.



PART-I.II​

Creating VM

1.Select "+" Icon From The Menu Panel-->Compute-->Select Your VM(Use Ubuntu 14.04)


2. Select Project Model As "Classic"


3. Give Information To Your VM.


4. Select VM Specs Under Your Free Credits.


5.Then Process To Next Steps.The VM Will Start Deploying.Deploing May Take Upto 5-10 Min.
Wow what a great guide?????
Its really a great guide for noobs?
Cheers!?
 

D1stRU3T0R

Senior Member
Oct 16, 2016
3,392
1,755
233
21
Don't wanna be bad, but damn, no free and only 1 core? Even if is from a ryzen or fx 9 core, damn, that isn't really enough... This case compile on your phone at overnight ?? guys, at these money you buy a cheap ryzen or an fx and you're good to go (don't recommend intel for building stuffs)
 

StDevious

Senior Member
Jul 13, 2010
584
35
0
@Albe96 - You can skip all of the first step and just deploy the below Azure Resource Manager templates. that just ask for few inputs such as username/password, ssh key Just click the "Deploy to Azure" button below to deploy the template on the below linked page into your Azure subscription.

Note: You also want to avoid the "Classic" deployment model as that's the older Azure stack

Ubuntu 14.04 with SSH Key
https://azure.microsoft.com/en-us/resources/templates/101-vm-sshkey/


Ubuntu 14 or 16 with password
https://azure.microsoft.com/en-us/resources/templates/101-vm-simple-linux/
 
Last edited:
  • Like
Reactions: Albe96

Mr.Ak

Senior Member
Jan 14, 2015
4,411
1,969
253
21
*RESTRICTED AREA*
1. Low Network Speed.
2. Limited Bandwidth.
3. Lack Of Money.
- Thug Life :p
Thanks for the great guide though,will help a lot! :)

---------- Post added at 06:23 PM ---------- Previous post was at 06:18 PM ----------

Don't wanna be bad, but damn, no free and only 1 core? Even if is from a ryzen or fx 9 core, damn, that isn't really enough... This case compile on your phone at overnight guys, at these money you buy a cheap ryzen or an fx and you're good to go (don't recommend intel for building stuffs)
What you were expecting then?
 

shubhambhise

Senior Member
Aug 16, 2016
327
1,561
113
Pune
A proper guide for those who are willing to contribute towards android development but due to lack of money and low networking speed/limited bandwidth, couldn't do so.

Nice guide mate. Appreciate your work :)
 
  • Like
Reactions: umuturunc

D1stRU3T0R

Senior Member
Oct 16, 2016
3,392
1,755
233
21
1. Low Network Speed.
2. Limited Bandwidth.
3. Lack Of Money.
- Thug Life :p
Thanks for the great guide though,will help a lot! :)

---------- Post added at 06:23 PM ---------- Previous post was at 06:18 PM ----------



What you were expecting then?
1. I live in a poor country(romania) , and i have a bad internet, avr 30 ping everywhere, 15mb/s download and even upload... What good internet do you expect man?
2. Ah, cmon, limited bandwidth on normal internet, where i can find that? Even on phone we ALL got now 20gb free every months for 3 months, even with 5eu/month
3. That can be a problem, but if you work somewhere as a student or child, in these 2 months, vacation, you can afford a good cpu upgrade (if you don't want another mobo/ram etc)

As i seen, you need to pay for these vm... You can better make economy for a cpu upgrade, possibly to an amd one
 
Last edited:

Albe96

Senior Member
Mar 10, 2016
3,023
4,084
243
/home/albe96
@Albe96 - You can skip all of the first step and just deploy the below Azure Resource Manager templates. that just ask for few inputs such as username/password, ssh key Just click the "Deploy to Azure" button below to deploy the template on the below linked page into your Azure subscription.

Note: You also want to avoid the "Classic" deployment model as that's the older Azure stack

Ubuntu 14.04 with SSH Key
https://azure.microsoft.com/en-us/resources/templates/101-vm-sshkey/


Ubuntu 14 or 16 with password
https://azure.microsoft.com/en-us/resources/templates/101-vm-simple-linux/
You mean,we don't have to create a virtual machine? I don't think rhat firectly doing that is non-payable.better to do all things manually,no need to be advanced! All peoples ain't smart like us.:silly:
 

Albe96

Senior Member
Mar 10, 2016
3,023
4,084
243
/home/albe96
A proper guide for those who are willing to contribute towards android development but due to lack of money and low networking speed/limited bandwidth, couldn't do so.

Nice guide mate. Appreciate your work :)
You're all welcome! Go ahed for developing new things and be famous. . . and learn more things so they could be useful one time. I LOVE XDA! I WOULD LIKE TO STAY HERE FOREVER :eek: ;) :p
 
  • Like
Reactions: shubhambhise

StDevious

Senior Member
Jul 13, 2010
584
35
0
You mean,we don't have to create a virtual machine? I don't think rhat firectly doing that is non-payable.better to do all things manually,no need to be advanced! All peoples ain't smart like us.:silly:
No, I mean this still creates a VM and all it's dependent resources but this avoids a beginner going astray in following the steps ;) This minimizes the steps to entering two values and gives the same end result :)