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..
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?
First 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 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.
I 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.
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.
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?
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.
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 '18.104.22.168-cyanogenmod-g1ad182f preempt mod_unload ARMv7 ' should be '22.214.171.124-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 126.96.36.199-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] ....
$ 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 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]...
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?
My device is a galaxy tab 7 plus and we currently have a fully functional CM9 build working perfectly. I've been following a few guides on how to port AOKP to this device and non of the guides worked. I also read that cm9 and AOKP are one of the same. So if u get one to work the other should just as easily. But it doesn't seem to be working. So I figured maybe porting won't work. Maybe I have to build it from ground up. Or is there a way I can bring the RomControl menu to the current cm9 build?
I am not finding CWM Recovery for my Karbonn A5+ mobile. I have found the page for Karbonn A5 and A7: [URL] ....
The A5 in this page looks exactly as my A5+, so I thought its drivers and CWM recovery will work for it. But I realized following:
The page says that A5 is rebranded as K619 while A7 as K650. When I connect my A5+ in debug mode and run adb devices, it is detected as K650!!! I found CWM and drivers for A5 from the links given in the description of the youtube videos on this page: [URL] .....
The drivers seem to work correctly since am able to run adb commands. However the CWM doesnt work. It sticks at red screen.
I have also tried the CWM from the link given on this page: [URL] ..... since it says it is for Karbonn A7 , A7 plus, K-touch W650,Mobiistar Touch S01, but in this case red recovery screen flashed for a moment and went blank. In both cases I did not get CWM Recovery menu.
I am fed up finding proper CWM for A5+. My device have 1GHz processor and somewhat 430 MB RAM.
Looking for proper CWM or guide me how can I develop custom CWM for this.
In my house, my signal is crap...I even miss texts....I'll have a "4G" icon one minute, and absolutely nothing the next..on the phone plugged into the charger, sitting in the exact same place.Same thing even happens outside...I've called Verizon, and all they want to do is sell me the repeater thing...
I've found a few articles about this subject on the web, but they seem to be dated...I'd REALLY like the phone to automatically to switch to WIFI calling/receiving, when I hit my home network.But if I have to switch it myself....
was trying to build cm11 byt was never been able to get the final zip file. It happened over 7 times. My pc reboots in the middle of the process every time. Is there a way to check what is causing this reboot?
I had done with Android ICS source compilation.It's working fine with emulator.
But when I start a build for real device Huawei Ascend G300 U8818.I get the following error.
make: *** No rule to make target `out/target/product/u8818/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/lib_driver_cmd_wext.a', needed by `out/target/product/u8818/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant'. Stop.