yashsingh1/xdaforums huggingface dataset:
[Android] ksmuthucv:
Help: Latest Security Patches

Hello Guys,

If i try to build a custom rom (say RR) from its repo, does that mean the final build (*.zip) would included the latest security patches automatically or some manual intervention is required? Please help me understand this.

Thanks,

Muthu
[Android] nitin.chobhe:
Always keep an eye on this file in any ROM: https://github.com/ResurrectionRemix/android_build/commits/oreo/core/version_defaults.mk

It'll give you what patch is merged last.

Nitin
[Android] ksmuthucv:
Thanks Nitin.
[Android] Markinb66:
Hi, I have the same error with api, I'm searching about it, but I can't find any way to fix it. Did you solve it?
[Android] munchy_cool:
Sorry I dont remember the error.
[Android] Markinb66:
Is an error when build is near to finish, is about make update-api, but this command doesn't solve the issue.
[Android] nitin.chobhe:
Copy and paste the error in pastebin.com and share it it ROM building support thread. This thread is for Google Cloud.

Nitin
[Android] munchy_cool:
It was low space on the cloud. bump it up to 1000gb.

Do not post more questions about rom building in this thread please.

Sorry for the OT Nitin, just wanted to help him fix it.
[Android] DizzyBinary:
Which area would be best to use for fast connections to github and mega ? Uploading to mega is insanely slow for me.
[Android] nitin.chobhe:
I use afh and source forge

Nitin
[Android] Sajid R.:
Can i use cloud9 instead of google cloud?
[Android] nitin.chobhe:
How do we know that? Try it and report back.

Nitin
[Android] ahadrox:
Just wanted to know that can I build Oreo roms properly / without any problems in this pc configuration?

intel i7 8700 (Non K)

gigabyte aorus B360M gaming 3 motherboard

8GB DDR4 2400MHz RAM

1TB 7200 RPM Hard Drive

120GB SSD (For installing the OS)
[Android] nitin.chobhe:
That looks ok. You should be able to build Oreo using that configuration although it would take time to build (~5-6 hours may be)

....but that is not the point of this thread.

Nitin
[Android] ahadrox:
Sorry! I apologies sir. I just wanted to know. And Thank you for replying :)
[Android] knight182:
How to upload ROM on AndroidFileHost via ftp?
[Android] nitin.chobhe:
Search is your friend. Just search for AFH in this very thread and you'll get what you want. You can also check the second post for alternatives.

Nitin
[Android] knight182:
Thanks...
[Android] prabhjot368:
can you help me to get these credits back in use
[Android] nitin.chobhe:
Contact google support.

Nitin
[Android] :
create a billing account and link it.

or you contact google support.
[Android] prabhjot368:
created a billing account but it doesn't let me link this to any project .. says you aren't an administrator for this billing account
[Android] nitin.chobhe:
Search... https://support.google.com/cloud/answer/7283646?hl=en

Nitin
[Android] BenShaji:
Error. Your card doesn't support automatic recurring payments-Google cloud

When I'm trying to authenticate my card with Google cloud I'm getting this error. I'm using visa-card (federal bank)

Your card doesn't support automatic recurring payments [QR-CC3ST-02].

I got my otp and I had successfully authenticated.

I also got message from my bank saying that my authentication is successful.

Still Google is keep saying above error.

Now my card isn't verified.

I contacted the bank and they said no error from their side.

I also tried with an other card too, but still getting this error.

What would be the reason? Anyone here experienced this issue?

Thanks!

---------- Post added at 07:52 AM ---------- Previous post was at 07:43 AM ----------

When I'm trying to authenticate my card with Google cloud I'm getting this error. Federal bank

Your card doesn't support automatic recurring payments [QR-CC3ST-02].

I got my otp and I had successfully authenticated.

I also got message from my bank saying that my authentication is successful.

Still Google is keep saying above error.

Now my card isn't verified.

I contacted the bank and they said no error from their side.

I also tried with an other card too, but still getting this error.

What would be the reason?

Thanks!

---------- Post added at 07:57 AM ---------- Previous post was at 07:52 AM ----------

When I'm trying to authenticate my card with Google cloud I'm getting this error. Federal bank

Your card doesn't support automatic recurring payments [QR-CC3ST-02].

I got my otp and I had successfully authenticated.

I also got message from my bank saying that my authentication is successful.

Still Google is keep saying above error.

Now my card isn't verified.

I contacted the bank and they said no error from their side.

I also tried with an other card too, but still getting this error.

What would be the reason?

Thanks!
[Android] nitin.chobhe:
Check the payment settings... If there is any setting for "recurring", deselect it and try again. If there is no such setting, contact Google cloud support.

Nitin
[Android] BenShaji:
I'm not aware about any mails for contacting them. Could you please post it!!
[Android] nitin.chobhe:
As I said - search is your friend.

Nitin
[Android] Elanza_48:
I want to ask the Developer to add this in the guide that Indian debit card are not suppoted by google for any verification process because of the new 3D secure transaction Technology. Forget about bank deposit verification, the money u have lost is never going to comeback Even if u abuse the customer care. The only thing it supports in India is "CREDIT CARD", and nothing else. and If u can't verify billing account by linking the same ur billing account will be suspended within a week and u will no longer able to use any cloud services linked that billing account. And after one month Your Project will be suspended for the same. It will get activated again if you change the payment method and use credit card instead and If you don't afford a credit card then forget GCD free trail.

The same happened to me a month ago and trust me it is a big 'pain in the ass'. Till now I don't have a credit card and the project is kept suspended.

I got this info after 24/7 searching in the google and contacting the customer care. And got this "Oscar Nominating" response from them.
[Android] BenShaji:
Lol. I know debit card sucks. But in the beginning of this post,he said someone had used also debit card.. that's why I tried!
[Android] Elanza_48:
yes it was supported earlier. But not now , after the 3D security feature was implemented !
[Android] vasanthmes:
How do I get GUI in Ubuntu 18.04 LTS rather than terminal alone?
[Android] nitin.chobhe:
First link in the google search results: https://medium.com/google-cloud/linux-gui-on-the-google-cloud-platform-800719ab27c5

Nitin
[Android] vasanthmes:
Building my first lineage 15.1 for shamu

This method helps a lot.

:laugh: :fingers-crossed: :fingers-crossed:

thanks for the guide nitin.
[Android] vasanthmes:
Deleted for repost
[Android] saayuj98:
What are sync speeds for Google Cloud VMs these days?

I was just wondering how much time does it take to download lineage 15.1 source or any other popular ROM via repo sync -jN, so that I can calculate my budget accordingly.

I know adding "-c" to the above command decreases sync time greatly, how much would that be too?
[Android] nitin.chobhe:
Why not try once?

Anyways it's free - you are getting ₹20k free credit, why hesitate is spending few ₹ from the free credit to find that out?

Nitin
[Android] saayuj98:
No harm in trying lmao. Was just asking around as you and other developers or users might use Cloud regularly.

Well, Nevermind.
[Android] nitin.chobhe:
Great! When you find that out, post here ;) Happy ROM building!

Nitin
[Android] Elanza_48:
Guyzzz if u don't keep the VM on for 24 hrs then U can choose the preemptible VMs, as because it is very very cost effective and works same as normal VMs and at 10x lower price than normmal VMs. If u wan u can reaseach a bit on google.

Just enable the preamble flag while creaing a new VM. for more Optimization u can choose:

* 16 gb ram.

*4 cores cpus

* 300 gb persistent disk.

You can use the cloud.google.com/calculator for calculating the price.

I personally had this setup and It works quiet well.
[Android] nitin.chobhe:
Can you a screenshot of this "preamble" settings of the VM? I couldn't find anything related to that on Google.

Nitin
[Android] Elanza_48:
Unfortunately I can't send screen short because my Project is suspended Due the debit card Issue. But I can surely guide where to find.
[Android] Elanza_48:
While Creating A new Compute Engine. In the Creation page You Will find a Drop Down Link "management, Disk, Networking, SSH Key" below ''Firewall" option (given in Screen Short). Click on it and go to management Tab (given in Screen Short) and Scroll down to "Avalibility Policy" Under that u will find "Preemptibility" (given in Screen Short) option, just ON it to make the VM preemptible. An existing VM can not be converted to the same. One must Create a new VM.

You can prefer this video if u Want : https://youtu.be/2d5LzJNj46w
[Android] nitin.chobhe:
Thanks for this; but I think this will not help in ROM building. As mentioned in the limitations, these might be terminated when additional resources are needed.

Nitin
[Android] Elanza_48:
It is not a major limitation. Because accordingly there are more than a 1000 VM instance resources shared with a Preemptive VM so the chances of resource overloading is less than 10% . The only drawback is that it terminates within 24 hrs. Mainly I noticed between 1 AM-5 AM in the morning. And I believe during the Trial Period This Cost effective Sacrifice can be done.
[Android] nitin.chobhe:
Depends on the risk you want to take. If you are ready to take chances to let go your changes, use it.

Anyway that's not the topic of this thread ;)

Nitin
[Android] Jayanttyagi:
I can't choose ssd persistent disk space of more than 100gb.. What to do?
[Android] arunassain:
Check ur zone quota for disk
[Android] Jayanttyagi:
I tried multiple zones.. All had 100gb limit
[Android] arunassain:
Nope my zone us-central1-c it has more quota

Check correct zone and use it

Thanks:)
[Android] nitin.chobhe:
Didn't understand the point of your post... I see that you posted same post in 3 forums. So take it as you have read all of them.

Now you have the information with you; so choose the one that suits you.

Nitin
[Android] atulkadian:
Thanks for your quick reply :)

I posted before reading all posts on all threads. (that was a stupidity ik xD)

Btw am going with Google Cloud Platform.

Thanks once again. Will report back soon :)
[Android] atulkadian:
Need help with build.

Got errors while compiling Cosmic OS Pie using Akhil's AOSiP tree.

Device: whyred

Device Tree: https://github.com/AOSiP-Devices/device_xiaomi_whyred.git

Vendor Tree: https://github.com/TheMuppets/proprietary_vendor_xiaomi.git

Kernel Tree: https://github.com/LineageOS/android_kernel_xiaomi_sdm660.git

ROM Source: https://github.com/Cosmic-OS/platform_manifest.git

Haste: https://hastebin.com/ohalidogih.sql

Edit:

Tried

1. https://github.com/LineageOS/androi...mmit/7a564cfb353534ae92d3a3f8f0c20a9c44311ef8

2. https://github.com/AOSiP/platform_vendor_qcom_opensource_audio

3. https://github.com/LineageOS/androi...mmit/11100d4d1f390962785512cd23aee89d35e85cd1

None worked. Getting same errors :(

PS: had to disable sepolicy to start the build. Build started but got errors
[Android] nitin.chobhe:
https://xdaforums.com/showpost.php?p=76917894&postcount=432

This thread is for using Google cloud to build a ROM and not for errors while building the ROM :cowboy:

Nitin
[Android] pascua28:
Can we use the external ip address to download rom?
[Android] nitin.chobhe:
You can try that. I never did that - I used to upload to afh and get it from there.

Nitin
[Android] prabhjot368:
run [export ALLOW_MISSING_DEPENDENCIES=true] before starting to compile
[Android] aoleary:
Any way to "capture" an already opened session rather than having it open a new session each time?
[Android] prabhjot368:
use tmux or screen.. find guides on google about using them
[Android] alphamale:
Is anyone else having problems starting their instances. I've been getting an error. Starting VM instance Error: The zone does not have enough resources available to fulfill the request
[Android] nitin.chobhe:
Yeah, got that in last week. You have to do what they say - try after some time :)

Nitin
[Android] aoleary:
Thx for the guide. Any way to find out when resources become available? For example, the region I use has been full all day today..

Also, I presume it costs to move a VM to a different region ?

---------- Post added at 22:01 ---------- Previous post was at 21:47 ----------

I configured WinSCP to access the VM to download my desktop. All the guides are easily found in google..
[Android] aoleary:
What the commands to upload to an online share ?
[Android] nitin.chobhe:
Refer second post.

Nitin
[Android] #AbitathaRoy:
Unable to create 500 GB disk. Error showing 100 GB limit
[Android] aoleary:
Change the region where you assigned the VM
[Android] arunassain:
Select zone which has more than 100 GB limit
[Android] atulkadian:
Need help with jenkins

So, I've setup jenkins on an instance on GCP.

I created a job, and called a script in jenkins.

But got some permissions error when jenkins ran that script. Though I did chmod +x while creating that script.

Any guide or help to run jenkins as root or to provide jenkins the required permissions would be highly appreciated.

Here's the log :

Started by user Atul Kadian
Building in workspace /home/andersonkumr
[andersonkumr] $ /bin/bash /opt/bitnami/apache-tomcat/temp/jenkins6586052379964908505.sh
including vendor/aicp/vendorsetup.sh
curl: /opt/bitnami/common/lib/libcurl.so.4: no version information available (required by curl)
including sdk/bash_completion/adb.bash
rm: cannot remove '/home/andersonkumr/aicp/out/.soong_ui.trace': Permission denied
Traceback (most recent call last):
File "vendor/aicp/build/tools/roomservice.py", line 57, in <module>
os.makedirs(local_manifests)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '.repo/local_manifests'
rm: cannot remove '/home/andersonkumr/aicp/out/.soong_ui.trace': Permission denied

** Don't have a product spec for: 'aicp_whyred'
** Do you have the right repo manifest?

rm: cannot remove '/home/andersonkumr/aicp/out/.soong_ui.trace': Permission denied

#### make failed to build some targets ####

Build step 'Execute shell' marked build as failure
Finished: FAILURE
[Android] aoleary:
Hi guys,

Can you advise me the maximum I can choose without affecting too much my free allowance ?

My previous trial period ran out, so am going to create a new account..

For example, is there much price difference between SSD and regular Hard Disk in terms of cost over a year ?

For me, 20GB of RAM is sufficient, but like to know what's the maximum CPU that I can get that is cost efficient and wont burn my trial too quickly. I would like it to last the whole 12 months :)

Thanks in advance for any recommendations ..

:good:
[Android] nitin.chobhe:
You'll have to find the configuration that works for you and last long.

I've not seen it lasting more than 3 months. And I think it's fine as it's a "free trial"... For it to last an year, you have pay.

Nitin
[Android] arunassain:
My VM instance

Ram : 30GB

Disk : 200GB(HDD) bcz ssd much costlier

CPU : 8 cores

And I use as it preemptible VM so its cheap but VM will stop once at 24hrs if running continuously

Make ur VM as preemptible for low cost
[Android] aoleary:
Upload a file to Google Cloud Platform

Never mind. I found out how. I just need to upload to my home directory and then transfer to the required folder in a second step within the VM
[Android] nitin.chobhe:
I hope you have solved this by now, just posting is someone come here looking for an answer. You need to set the write permissions for the jenkins user.

Nitin
[Android] iambinaytiwari:
Awesome Guide Just Build My First Build
[Android] matteo0026:
Hi, I'm using gcloud for building lineage 14.1 and I use openjdk8. I don't know why, but after some builds done, while doing a build, it gives me error, telling me that it doesn't find javac. Why? While working in my PC I didn't have any error, after some time too.
[Android] anshumanxda:
Thanks <3

---------- Post added at 09:58 PM ---------- Previous post was at 09:53 PM ----------

Post error here , let us have a look

---------- Post added at 10:01 PM ---------- Previous post was at 09:58 PM ----------

How to build from phone?

I ve seen devs are using gcc terminal in phone & compiling ROM with portability . Can someone please tell how to ?
[Android] matteo0026:
I report just the latest part of the error because I can't copy all, keeping clicked and trying to scroll the page on gcloud doesn't work...

javac: file not found: /home/matteo0026/cm14.1/out/target/common/obj/APPS/org.cyanogenmod.platform-res_intermediates/src/cyanogenmod/platform/Manifest.java
Usage: javac <options> <source files>
use -help for a list of possible options
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (06:17 (mm:ss)) ####

matteo0026@instance-1:~/cm14.1$
[Android] nitin.chobhe:
There is a dedicated thread for this on XDA. Search and you'll find it.

For ROM related errors there are other threads. This thread is only for Google cloud.

Nitin
[Android] matteo0026:
I wrote here because I have this problem with java just with gcloud. In local, while using my computer, I never had it. Maybe could be a problem of configuration of my instance?
[Android] anshumanxda:
Can't find , tried

Link would be appreciable
[Android] nitin.chobhe:
I understand, but the error in your case is "File not found"; so it is unable to find "Manifest.java".

Regarding your statement "... because I can't copy all", you can run following command as your build command and you'll get entire build log in the file "example.log":

make -j4 bacon 2>&1 | tee example.log

If your build command is other than bacon, then use that e.g. otapackage etc

Click on first link here.

Nitin
[Android] anshumanxda:
Thanks a lot sir <3
[Android] matteo0026:
Thanks Nitin, now I fixed it, that was my guilt... I didn't use the -j option... (I'm using the command make otapackage)
[Android] dandyfarid:
Nice guilde sir thank you ;)
[Android] Konchadyhome:
Nice
[Android] alphamale:
Anyone know an alternative to transfer.sh. I want to be able to do it without a PC. It hasn't been working for me lately
[Android] nitin.chobhe:
Hey hi, I think you are talking about uploading the rom zip on a server. Did you see the second post?

Nitin
[Android] blakegriplingph:
Nope, they won't accept prepaid cards unfortunately. :'(

Any alternatives?
[Android] nitin.chobhe:
No, alternatives. You would need to at least get the credit card to get benefits of $300 ;)

Nitin
[Android] blakegriplingph:
Aww dangit. Feeling rather pained and frustrated as this is a HUGE barrier to entry for some, myself included.
[Android] halfbytecode:
Has anyone tried compiling a kernel, using an online IDE like Gitpod.io?

I am wondering if there is an easy way to install the packages since sudo is disabled.
[Android] nitin.chobhe:
Why sudo is disabled?

Nitin
[Android] halfbytecode:
Gitpod uses Docker images and containers, that provide a virtual build environments. Sudo is apparently disabled to prevent the users from breaking out of the containers, into the backend systems.

They encourage people to use custom Docker files to build customised containers, with required dependencies added, but they don't have a straightforward way of doing that either.
[Android] nitin.chobhe:
I didn't understand a word :D

But someone might help you.

Nitin
[Android] ZenkaBestia:
Hey.. i'm new and tried to create instance like first post config.. But it always shows this error.. i think it can't go beyond 100 GB SSD.. or any wrong step that i made..?
[Android] aoleary:
The region doesn't have the capacity.

You have to choose a different region
[Android] ZenkaBestia:
okay.. tried several regions but no luck so now i'm using standard PD.. thanks.. :D
[Android] Tyakrish:
You are right. Me also. I don't have a credit or a debit card and I desperately want to learn building....

I hope I find a free alternative to Google Cloud. Maybe another cloud service which doesn't require a card, and preferably free. :(
[Android] aoleary:
They want you to pay eventually, so the free trial is there to try to hook you in..
[Android] nitin.chobhe:
Yes! And good thing is that that you can make a decision if you want to get hooked or not ;)

And great part is there is no obligation to get hooked, you can use the trial period to learn the things which couldn't have been the case otherwise. So be grateful to Google!

Nitin
[Android] MrBrady:
Any idea how much USD monthly it costs to build a A10 ROM 2-3 times/week? I'm looking for an alternative to using my old MacBook Pro running Linux since it takes like 19 hours for the initial build of a ROM and I only have enough SSD space for one ROM at a time.
[Android] nitin.chobhe:
I've no idea about that as I never used charged VM on Google cloud.

But if I compare it with the free credits of $300, starting the VM 2-3 times a week (and shut it down after the build), it should last you 3-4 months.

Nitin
[Android] DiamondJohn:
Although it never took me 19Hrs. I have improved my compile time, and removed restrictions of space on any one drive, by using Portable HDD (as well as multiple internal HDD's), and mounting them to a corresponding folder.

Historically I have used multiple USB drives, including a USB2.
[Android] Vivekachooz:
May i use gcp with my debit card. Or credit card is mandatory?
[Android] prabhjot368:
you can use debit card
[Android] Vivekachooz:
But i cant. It says payment form error. Card does not supports automatic recurring payments. Also tried with different cards from different banks.
[Android] sieger007:
Halo !

want to cross Kompil from source code meant for Linux ( bindfs for Linux )

for ARM7a 32 arch. Is it poss to do in cloud and how to download the complied binary

please outline steps if poss to compile for ARM7a 32
[Android] nitin.chobhe:
This thread is for understanding how to use Google Cloud and not how to compile ROM (or anything else).

Regarding your second question - how to download compiled binaries, search this thread (or at least read first 2-3 posts) and you'll get the answer.

All the best! :good:

Nitin
[Android] udhy:
When i compile the rom but this error coming.

How to fix it?
[Android] nitin.chobhe:
Read the post above yours :silly:

Nitin
[Android] udhy:
Oops sorry dude.

But i sucessfully build the rom :):)

But when i try to uplod gdrive this like error coming
[Android] nitin.chobhe:
Congratulations! No idea... So the purpose of this thread is fulfilled.

Uploading to Google Drive is a general thing and searching on google should help you. I never used that, I always use AFH or SourceForge.

Nitin
[Android] aoleary:
Hi,

Anyone here having connection issues in the last 24 hours ?

It was working for me on Monday night, I shut down the VM and since Tuesday morning the VM starts, but I cannot connect..
[Android] Mighty:
Are there any free alternatives I don't have a credit/debit card
[Android] nitin.chobhe:
I haven't come across any.

Nitin
[Android] Mighty:
Oh no :( My pc isnt meeting the req for making aosp so i came here looks like i wont be able to build for some time
[Android] nicesoni_ash:
You sure you are using debit card provided by bank and not the one generated online 'coz that won't work here. I can confirm SBI debit card works fine with google cloud.
[Android] naveenjohnsonv:
Really? I have an SBI debit card too and it just doesn't work. Did you have enable something specifically or talk to the bank or something else?
[Android] nicesoni_ash:
Nothing special, just simple old sbi debut card.
[Android] Icardii:
Can I use microsoft azure?
[Android] nitin.chobhe:
You can... Once you do, post the steps here.

Nitin
[Android] Diegc5:
Hello. Does the free trial continue to be one year?

I see that it indicates that it have to spend the 300 $ in 90 days. Many thanks