how to compile a rom in azure? - Android Q&A, Help & Troubleshooting

hello i need help i wanted to compile a custom rom
But always full space already put the maximum of the vm i put 3 disks and it didn't even matter. How i add at least 1 terabyte in azure because with little space and impossible to compile i tried in many ways but not to compile the disc always fills always put in / mnt but even so the error as I do I need help

Related

[Q] Parallel File Systems / ROM hacks

I had an odd thought. A lot of us like to test out other ROMs, but NANDROID backups and restores result in significant downtime. I'm curious if it would be possible to nest a fully installed ROM inside a subdirectory of the current running one and then swap them out in Recovery by rewriting the pertinent directory paths.
Obviously, there would be a requirement that both ROMs be compatible with the file system in question (Ext4 , etc.)
I mention all this because I would like to be able to quickly boot into Cyanogen 7 every now and then for the bluetooth stack and some of the other features here and there, but my daily driver is Bionix.
Obviously, a nice chunk of space would be "wasted" having duplicate copies of lots of files for apps and such (in addition to the space used having a second ROM) but I think the Galaxy S series NAND space is sufficient to try something like this.
Holy crap that's an amazing idea!!!
Theres already a way to do this its called dual booting and uses your internal memory.
Complicated though.
Are there any guides?
Yes, their in the android section (lol)
http://forum.xda-developers.com/showthread.php?t=847423
work in progress.....close to alpha release
Aww I thought it could already be readily available .
Nice though can't wait .
edit nevermind

Compiling ICS with low memory

Hi!
The only PC I have available to me for tinkering with Android is a box with 2GB of RAM. (Fun times). When I start the compile for CM9 I get this error:
Code:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
I'm putting this error down to a lack of RAM, but is there a way to force the compile to run anyway? I assume java is called with an argument for more than 2GB of RAM (my guess is 4), but I don't know how I'd go about changing this value
Any pointers would be appreciated. Even just what script this is likely to be in would help. Grepping the source code for "java" doesn't help, funnily enough, but I don't know another way to search for where this might be

[Q] Adding kernel modules to Z902

Okay so it took me a while to get my z902 to the point where i could begin messing around with system folders. I managed to do so by using Lubuntu and some other tools. I have several questions regaurding customizing the kernel image. In the end i would like to add support for sixaxis controllers via usb (hid-sony.ko) as well as modify the build.prop to get the device recognized as something with more apps in the app store. The last thing i want to accomplish is making the real sd card mount as read write as well as possibly giving the option to swap the internal sd card with usbhost0. my questions are...
1. since lubuntu runs independently from the android OS would i be able to modify the system files without the need to recompile and flash a recovery image..? I managed to make the nandd read write by reformatting the nandd and copying the files back to the partition. so in theory i should be able to add modules and instanciate them in init.rc.
2. I have modified the build.prop in attempts to open the play store by changing some things i changed on another device.(samsung galaxy tab 2 7 in.) The device is recognized as the Nexus S as i wanted in the about this device in settings. the play store opens and loads the initial first page. but as soon as i try to navigate anywhere within it stops workin and hangs. I believe that something in the build.prop is conficting the changes causing the play store to get confused and give up.
3. going back to question 1. I was wondering if anyone knows if extracting a custom rom image onto the nandd via lubuntu would be possible. as i know there are several roms out for the mk802 II (supposably identicle but i speculate a few diffences.) which have already exploited the ability to use ps3 controllers bluetooth dongles as well as usb ethernet adapters.
Im really looking forward to making this device into a gaming console as i have managed to get quite alot accomplished with it already before i got it read write. i found that quite a few games that would be thought to not run on this device actually do. using sideloaded apks i managed to install and run quite a few high end gameloft games as well as other open gl dependent games. some run better than others but i see alot of potential and wish to develope this device to better working order. any help with these problems would be greatly apreciated as im not a pro but def a fast learner.
I would also like to thank Rodrigolopezguerra for helping me figure out how to get this device to read write status. i ran into quite a few problems but In the end his guide helped me quite a bit.

[Q] Compiling pointers needed, pleeez.

I want to compile several pentesting tools such as nmap, aircrack-ng, openVAS, tcpdump, etc, etc on my phone using the gnu gcc compiler i got from g.play.
I also need to compile python, ruby, lua, and perl on my phone.
I want to do this so that it is all linked with the ROM. The chroot env of linux is too small, maybe if I had a tablet.
Eventually I want to release a pentesting ROM based off of Cyanogenmod but I need these tooles to be natively linked with the ROM and not need to chroot. I have found a work around for size limit of systemfs so it is not a worry as long as there is at least 4 gigs internal storage for other stuff.
Any help getting me going in the right direction would be awesome, thanks.

compiler help. running out of memory

hi there
im trying to compile AOSP systemimage for android 7.1.2 r4 and i seem to have worked the first compilation errors due to flex being out of date and not maintained in the repo.
But now jack is destroying my memory. i read that nougat could be compiled with 4gb ram and im sure you can but how.
some of the things i have done....
export jack arguments
export java heap options
made a huge swapfile
using ccache
the build gets to 40% before the memory starts hemhoraging. I persistantly perform the jack tricks and hit make again but it will only go 20 more compilation counters before stopping again and theres no way i can keep that up.
short of buying and replacing the ddr ram in my laptop is there any thing else i can do?
I was able to finally figure out how to use mma and i am currently building the system.img one apk x library x binutil at a time. I also changed my device mk so it could make sparse images and made snod after compiling system/extra/ext4_utils. Its really time consuming and resetting jack rarely works but restarting the pc seems to get it farther. Of course this is only a problem when compiliing apks. My phone doesnt seem to have the same problem compiling apks when i can get the ide to do it. I have been trying to compile apks on android studio for a year and cant get past the java lang class not found error. I have it pointed to the right place and ive followed every forum fix i can find but no go
Can someone help me with adding a tunable extra partition. well maybe not tunable but static. i want to be able to mount and unmount a second partition on an sd card that could vary in size.
i have tried doing this with my fstab.cv1 in m6 boot.img but no go. i get boot loop or stuck on logo screen. Even messing around with init.rc screwed me up

Categories

Resources