General :: How To Fix Errors When Building ROM On Ubuntu
Mar 29, 2012
I have been successful a few times but lately if I fix all the make: errors I get a Java heap space error or a gc Java out of memory error. I have a pastebin and will post it when I get back home from work in the morning! I've gotten this errors running Ubuntu 10.04 building cm9, Codename and cm7. I thought at first it was virtual box. So I partitioned my hard drive and dual booted. What is wrong with my environment and Java?
OG Epic 4g Touch CM9
View 4 Replies
Jul 15, 2012
I ran the command to sync with android-4.1.1_r1. Its literally been syncing for hours and still not done. I'm currently on /platform/pdk. As for Ubuntu, I've never used it before but I'm running the guide posted on XDA for building with Ubuntu and I've done everything to the point of syncing...which I'm waiting to advance after this is done.
When you have to pull the proprietary files it says to use the device name. In my case it would be Samsung_d2tmo (for T-Mobile sgs3) correct?
View 7 Replies
View Related
May 2, 2012
I downloaded the android source code, by following the steps here [URL] ....
then i started building the source code, by following this [URL] ....
while making
$ make -j16
I get the following error (and a lot more similar to them after these lines)
Code:
device/htc/dream-sapphire/libsensors/sensors.c:53:37: error: field 'device' has incomplete type
device/htc/dream-sapphire/libsensors/sensors.c:59:34: error: field 'device' has incomplete type
device/htc/dream-sapphire/libsensors/sensors.c:61:5: error: unknown type name 'sensors_data_t'
[Code] .....
Earlier these lines, the make process does not complains of any missing files as such. Why these errors are coming up since i am just trying to begin and learn this stuff.
What is causing this, and more importantly what should i do to resolve them ?
I am building on Linux virtual Machine and have taken all care that the Environment is right, as given here [URL] ....
i am building on Ubuntu 11.10 64 Bit, the commands were, in order,
Code:
source build/envsetup.sh
lunch full-eng
make -j16
View 1 Replies
View Related
Jan 28, 2010
I am facing an issue as below when building kernel image. Code...
View 2 Replies
View Related
Jun 15, 2010
Now that I sort of know my way around the SDK/API, I've switched from Eclipse back to my favorite text editor, which means I have to use ant to build my project, however:
It seems every other time I compile the project, a lot of drawables get corrupted, resources lose their ids (resulting in NPEs in the code), or classes throw "Verify Errors".
The only way to fix this is by removing the bin and gen folders, and recompiling, which is obviously annoying.
Is there any way to avoid this?
btw, I'm using ant 1.7.1, java version "1.6.0_20"
View 1 Replies
View Related
Sep 2, 2009
The Solution is *bash ./build/tools/build-ndk-sysroot.sh --build-out= ~/android/bin/out/target/product/generic (path to <ANDROID_PRODUCT_OUT>**)*
The PATH for ANDROID_PRODUCT_OUT has to be set correctly..!
View 2 Replies
View Related
Jun 17, 2012
How to get apk manager works on my ubuntu machine, but no results... How to set up apk manager on my ubuntu machine! I am using ubuntu 12.04 64bit ... I am new to linux ....
View 1 Replies
View Related
Aug 13, 2013
Well the script should be working, it is 'ettin.sh' now. To get VNC to work on separate device just change 'eth0' to 'wlan0' or whatever other interface you know how to configure, like usb maybe, in the 'init.sh' script that resides in ~/ on the images you can download from [URL]....
Also on the different roms your storage might be different so just change that to what suites your environment,
After my first launch and exiting the VNC on my laptop (Ubuntu) My phones home button and a few other functions stopped working, a reboot remounts the root and system partitions and it goes back to normal essentially, I haven't noticed any adverse affects after the reboot.
I want to connect to backtrack over usb from Ubuntu on my laptop instead of from my phone. Is there a good way of doing this?
The thing is, I didn't chroot, I mounted the image, copied the contents of '/etc/*' and '/sbin/*' to the '*/etc' '*/sbin' dirs of the mounted image. and then mounted it's (the image's) contents to Androids rootfs '/' then I set up a little script to set up the environment and execute '/bin/bash -i init.sh' and again reset PATH to include /system/*.
Then in the init.sh script I want to set up a way to 'vnc' through' usb to backt4acks desktop. How would I do this?
View 6 Replies
View Related
Dec 21, 2011
I have ubuntu 11.10 running as a virtual machine on my macbookpro. When I connect my bionic, the prompt asks if I want to connect to mac or linux. I choose linux, but I cannot see the bionic on my ubuntu. When I go into my phone to manage the usb connection, I have tried storage and pc sync.
View 2 Replies
View Related
Mar 3, 2012
I am attempting to install Ubuntu on my rooted Samsung Infuse 4G. I have consulted several how-to articles here and elsewhere, but after several hours of work I am still stuck on the final lines of code in the terminal emulator app that a YouTube tutorial suggested. Below is the code that I have entered thus far, and the error code at the bottom of the list:
-----------------
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
This process does NOT damage Android OS!
[Code].....
I have tried two different installation methods. The first one focused on accessing the advanced shell through Windows Command Prompt. This didn't work because the prompt froze after I typed in "advanced shell" (several attempts brought same results) .
I then tried the "easy" version that involved the terminal emulator app in the place of the command prompt. Assumedly, if I can resolve this last issue without causing any more, I should be able to access Ubuntu through Android VNC. It may be important to note that the time before last when I typed in the above code, I got a different error code. That error read: losetup: /dev/loop1: no such device or address. I don't know what made it change.
View 3 Replies
View Related
Jan 19, 2013
I am using ubuntu and i am in trouble i want to deodex my stock ics. Any ubuntu compatible utility or script to de odex my rom.
View 3 Replies
View Related
Feb 22, 2012
I have tried using gedit, geany, eclips, and some other programs and all of them give me errors and won't open a single xml file!Is there certain plug-ins I have to download?
View 8 Replies
View Related
Aug 30, 2013
Since yesterday I have a big problem. Yesterday I think I deleted my Sensation XL, because now it's dead. The bootloader and the Charge-LED dont work anymore. No sign of life... Now I saw the tutorial how to unbrick a HTC. I downloaded Ubuntu, but if I use the brickdetect of the Sensation it just says: "Device can't be detected". Now my questions: Where can I get the Unbrick-package for the Sensation XL? Can I unbrick my Sensation XL with Ubuntu?
View 4 Replies
View Related
Nov 4, 2013
I have been learning to build roms but trying to build for my device, this question isnt device specific as im having this error:
Code:
target Executable: whisperd (out/target/product/wingray/obj/EXECUTABLES/whisperd_intermediates/LINKED/whisperd)
/home/logmd/android_KK_4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: warning:
[code]....
I understand that i need to add -fno-short-enums to gcc but havnt been able to figure out where it is called!?
View 1 Replies
View Related
Jun 28, 2013
Are there any guides that show the user how to create a rom from scratch? I've seen multiple guides on creating a rom but they do so using the kitchen. I would prefer something that shows how to make a rom without a crutch.
View 4 Replies
View Related
Apr 11, 2012
Just wanted to know is it possible to install Fastboot on Ubuntu Linux. If so, any guide or link? I hate starting my Windows just to flash another kernel.
But also I would need drivers for my SE Arc S , is it even possible?
View 1 Replies
View Related
Jul 7, 2012
I'm trying to compile cm7 from source under ubuntu 12.04.
I compiled successfully on ubuntu 10.04 before, but my notebook got broken So on my new notebook I installed 12.04 (64bit).
Repo remained the same.I tried to setup build enviroment as described here.Had to additionally install packages schedtool ,zlib1g-dev and pngcrush.Now in the end of the compile process I get the following error:
Code:
frameworks/base/core/java/com/google/android/mms/pdu/PduPersister.java:23: cannot find symbol
symbol : class PduCache
location: package com.google.android.mms.util
import com.google.android.mms.util.PduCache;
Googled for it, but didn't find anything useful.
View 3 Replies
View Related
Sep 21, 2012
I have been trying all morning and half g today trying to get the bloody thing to instill. I have followed the instructions in the txt file inside but when I go into terminal and CD into the folder and type Android like the instructions day it cannot find three file or if I try it as ./tools/android permission denied and I sudoed in before hands so I have root access.
View 9 Replies
View Related
Jun 29, 2013
want to build CM 10 for lg e400. so far I have build CM9 for lg e400. I want to know how to build CM 10 (not even CM 9 (they used to, but noe stopped) nor CM 10 nightly is released by cyanogenmod). I'm fine with Java, and C++ and web languages such as HTML, CSS, PHP, JAVASCRIPT etc. Now I want to know how to build CM 10 for LG E400.
View 1 Replies
View Related
Dec 11, 2013
I think there's no custom rom for MTK65xxx series and i made a backup of my phone and started to make my own custom rom but how can I add swap support to the kernel?
View 1 Replies
View Related
Apr 19, 2013
i search the forum and every post about ROM building from source.
View 9 Replies
View Related
Mar 2, 2014
I have downloaded the source code for my device - Lenovo S6000-H from the lenovo website but after reading many guides cant figure out how to compile it as all the rest use git to get the source. I also dont think I need to change any enviromental variables as its the source for my model.
Using ubuntu 12.04.3 with JDK 6u35 and have the latest Android JDK/NDK I have downloaded and install all needed programs and set up all my paths in ~/.bashrc
There isnt a single make file I can use to compile the whole system or does it need to be done in individual parts? Couldnt find a lunchrc file either so unsure on how to compile it to get a flashable rom..
View 3 Replies
View Related
Jan 3, 2014
I have a chinaphone and I'm trying to install a custom recovery so I can make/restore backups if anything messes up the phone, but it hasn't got an official clockwork mod recovery.
I've read that you can build a custom recovery using the ClockworkMod Builder website with the original recovery img extracted from the device,I tried using this method to extract the recovery: http:[url]....
Then I used an App called Online Nandroid Backup which has successfully created a recovery img for me, I ran it through the ClockworkMod Builder website but it says no changes were made.
View 1 Replies
View Related
Apr 13, 2012
Is it possible to use a usb wifi adapter and a micro usb to usb female cable on Chroot ubuntu?
ADR6400L
View 1 Replies
View Related
Dec 28, 2011
so far i have downloaded the tcc8902 kernel, it fails to build...
using ubuntu 11.10
am i missing something in my toolchain???
when i "make menuconfig" i get a few error....
and after that i just run "make" it fails.... see image...
View 9 Replies
View Related
Feb 19, 2012
recently I've been learning more and more about building AOSP builds since I'm not a huge fan of the bloated touchwiz rom's for the Stratosphere. I'm looking more for AOSP roms, like I had when I had the Evo.
1. I have all I need to build Android from source, I have the Android source, and I have sources from Samsung for the Stratosphere. This includes the kernel sources, and platform sources, how do I merge these two together?
2. Do I have to build a kernel when I build the rom, or do I build the kernel seperately?
View 4 Replies
View Related
Mar 23, 2012
<3>[ 154.264768] bcm4329: version magic '2.6.35.14-cyanogenmod-g1ad182f preempt mod_unload ARMv7 ' should be '2.6.35.14-cyanogenmod-g704f542 preempt mod_unload ARMv7 '
I've successfully built the samsung-kernel-crespo kernel from the cyanogenmod git. I unpacked a working ramdisk from a nightly and repacked it with my kernel, when i try to load the module i get the above error, The "extraversion" info that in the "about phone" tab in sittings is 2.6.35.14-cyanogenmod-g704f542, as well as the version of the modules. but for some reason the kernel is looking for that 'g1ad182f ' instead.
I loaded the module via fastboot boot boot.img and i didnt full on flash it to the phone. I backed up the working kernel module and put the new one in /system/lib/modules, rebooted the kernel and the wifi is still giving me an error.
If i try to manually insmod the module and it hangs, if i use modprobe then lsmod it says its "loading" but never loads.
the phone im working on is a nexus s if that matters.
View 1 Replies
View Related
Mar 4, 2014
I have a galaxy light SGH-t399, we just got root and CWM, how do I build a ROM if we have no custom ones yet? I have only ported before never started from scratch.
View 1 Replies
View Related
Mar 23, 2014
I have an Alcatel one touch c7. MTK 6582 chipset, 5 inch , 480 x 854 resolution, stock 4.4.2. I tried every tutorial for bilding an cmw recovery , even the online builder and the mtkdroidtools method, bun none worked for me. Here is the original boot.img and recovery.img. [URL]...
View 4 Replies
View Related
Nov 11, 2013
I just got a Chinese phone, karbonn's titanium s5 (also known as cherry mobile skyfire 2.0) and want to build cyanogenmod 10.1/10.2 to this device. The problem is, there are no kernel sources released by company. Is it possible to make appropriate ramdisk changes without sources directly in boot.img?
View 1 Replies
View Related