General :: Building Custom ROM From Source
Apr 19, 2013i search the forum and every post about ROM building from source.
View 9 Repliesi search the forum and every post about ROM building from source.
View 9 RepliesI 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..
I really want to be a android app developer. How I can start developing apps and building apps from source.
View 1 Replies View RelatedWhere i can find the proprietary files for android phones (htc desire gsm specifically). The wiki says "find updated prop blobs" but has no reference as to where to even look.
I want to build a KANG for a device i have no physical access to, so i cannot extract the proprietary files.
I got into building roms from source recently for the i9100, all the ones I built so far, had no issues with the device, I built LiquidSmooth rom and it boots great and everything work but the sd cards, where I can locate the code for this in the source and why its happening?
View 1 Replies View RelatedFirst off, I have been running Ubuntu 12.04 x64 (OpenJDK) for a while now, and build regularly for Grouper and d2usc (US Cellular SGS3 variant). Grouper builds fine, flashes fine, runs great. The d2usc also builds fine, flashes fine, but I get zero radio; no bars of any color, Settings - Status reports Unknown Baseband version, same with IMEI and MEID, not even showing grey roaming bars.
This has been going on for about 1-2 weeks now. Zero build errors, the "brunch d2usc" command works great, creates a flashable zip, and the zip flashes. I have to then wipe everything in TWRP, and restore a backup (I do NOT have to do adb nv restore or anything, radio works just fine when restoring backup for Black Bean 7).
Here's what I've tried:
1. Delete entire repo, create new folder and resync. After resync, build. Flash build (again, zero errors), same result.
2. Delete entire repo again, create new folder and resync. After resync, run ./get-prebuilts AND ./extract-files.sh while running official d2usc CM10.1 nightly. Rebuild (zero errors), same result.
At this point I'm at a loss, Grouper (N7) flashes and works great (obviously wifi only version). The d2usc version works great minus the fact that I get no radio, not even roaming. I've tried the CDMA subscription thing, rebooting, and no dice still.
It is much easier for me (saves time, etc) to do my personal theming THEN building, so I'm not doing things twice (using apktool to decompile/compile).
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 RelatedThe application reads a key from a file to hit production vs test server.
I want to create a test apk build that will pick test key and second build apk for release that will pick the production key
I am currently building app using eclipse
I am having the contact source code which i want to build on eclipse & test on emulator,but the contact application uses some of the hidden APIs of base code which is not present in default android.jar because of that i am getting lot of error in my code. I am trying to generate my own android.jar using "Android sdk - Including hidden APIs." option in android.mk of framework directory, but still the hidden APIs not getting exposed in android.jar. how to customize the android.jar in order to make all hidden APIs exposed to application.
View 2 Replies View RelatedI am trying to change the 9 circle unlock widget screen. I added one more text view in UnlockScreen.java layout file keyguard_screen_unlock_portrait.xml. But after compiling the source (using make), I am able to see the set lock pattern on emulator. Lock pattern is working when i am using the sdk with emulator. its not working with source make.
View 2 Replies View Relatedimplementation of undervolt in the source of a custom kernel for my Galaxy Ace II X (GT-S7560M)?
View 1 Replies View RelatedI know you can get OTA updates on a custom ROM via rom manager but its proprietary. Are there any open source solutions to OTA updates on custom roms?
View 4 Replies View RelatedMy government gave us galaxy (10.1) tablets instead of books. But unfortunately this tablets's OS is not a normal android 3.2; It has been customized and we can't access many applications or other thinks. So I've decided to make a new custom rom for this tablets to offer in a competition of project. I have 2,5 months for this competition and I should make this rom. I've downloaded the android source (I want to work on 4.1jb) It is 4.2gb on my ubuntu 12.04 and I don't understand anything till see your answer on stackoverflow. I read and have some knowledge about system but It is not enough.. I know c# lang and I know general coding for 4 years.
I should edit the launcher (I said desktop but I don't know how calls It..). It has programs and widgets tabs and I want to put a new tab here. And anyone cannot see programs and widgets tab without any permission. This permission will give students's tablets by teacher ('s tablet). So, students can't play anything in the lesson but when it is over, stundents can play anything what they want.. Teacher will give the permission before leaving class..
This is what I want to do.. Briefly, I want to make a custom rom but directly using android source codes.Because I think I can't make this rom with using kitchen or just editing .apk files..
I will be soon working on porting Android OS to some custom hardware. Has any one in the group done this before? If yes, what are typical guidelines, roadblocks to watch out for?
View 2 Replies View RelatedAs an experiment, I would like to use the platform key of my custom built Android platform to sign an arbitrary APK, that is built via the NDK. What is the process to go about doing this?
View 2 Replies View Relatedi have: CMW recovery, Kernel source code on local computer, full repo cm source + toolchains.
How to add my device tree, kernel source code to CM source and compile CM7 ROm?
I would like to change text and back ground color of my Listview without building custom rows. Is this possible ?
View 1 Replies View RelatedI created a multiline textview widget which handles ellipsizing - is it appropriate to post it here in this forum for feedback, or is there an android site dedicated for custom widgets in the community?
View 4 Replies View Related[Kernel - DE03] joeykrim-SDX - v0.5 - May 19th 2010
Joey had it out 5-6 hours after source was released this contains Numus' battery code and more.
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!?
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 Relatedwant 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 RelatedI 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
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.
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...
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?
<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.
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
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 RelatedI 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