Building from Source Tip - Samsung Galaxy Nexus

I realize that many people have been having trouble while building Android for the Galaxy Nexus. Well, the truth is, building from source usually works exactly like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
in that you do exactly what people say to do, and it goes wrong.
The first tip is to repo sync repo sync repo sync. I say this because many of my own build problems were caused by not actually having the whole source code.
However most people's problems, say the camera not working, or the build not completing, or missing vendor files, or whatever, are caused by not using the vendor files from TheMuppets on GitHub.
Erase the vendor/samsung folder (if it exists)
Edit the file .repo/local_manifests/roomservice.xml
Add the line <project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" /> in between the two top XML tags.
Run the command "make clobber && repo sync" from your build root.
Try your build again.

Building Android from source to Galaxy Nexus is way too easy!
but building for device which has Android only unofficially is not so easy.
another way is to add vendor files manually to /*/vendor/ instead of editing default.xml

Thanks for all!
Was having problems w/ incompleted source, did repo sync x10 and it worked
Thanks alot!
Rinse

Related

[HOWTO] Enable quick app switch view for Mango Emulator

I have found a way to enable quick app switching (or what ever it is called) in the Mango emulator. It seems to be a little bit buggy but it works. Here is a screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is the how to:
1. Press [Windows]+[R]. A "Run" dialog should appear.
2. Now type in "notepad %programfiles%\Microsoft XDE\1.0\WM7_Skin.xml"
3. Find
Code:
<button
toolTip="Back"
onClick="0x3B"
mappingColor="0xF7941D"
/>
and replace onClick="0x3B" with onPressAndHold="0x3B" so it would look like this:
Code:
<button
toolTip="Back"
onPressAndHold="0x3B"
mappingColor="0xF7941D"
/>
4. Now start your emulator and press and hold the back button
Thanks but Why don't you just hold f1 button?
I didn't know about F1!
This does not work for me. I have the Mango emulator but the folder you said to that the .xml is in does not exist
Badcam3 said:
This does not work for me. I have the Mango emulator but the folder you said to that the .xml is in does not exist
Click to expand...
Click to collapse
maybe you got windows 64 bit
then replace %programfiles% with %programfiles(x86)%
so the path then should be C:\Program Files (x86)\Microsoft XDE\1.0\WM7_skin.xml

[Q]Troubles building CM11 from source

For the past three days, I've been trying to build CM11 from source for my Flo. I've been following the instructions here, but substituting the 10.2 repo with the CM11 repo. Downloading the repo doesn't seem to be an issue. It completes successfully and I can move on with the actual build. When it actually starts building is when the trouble starts. I get errors telling me there are no rules defined for various parts, or that certain rules are being ignored. I know I'm not being helpful here, but I can't figure out how to find a log file for the build, so if someone could tell me how to do that, it's be much appreciated.
The closest I got was last night where it appeared everything was going to build correctly. I had a recovery.img, userdata.img, kernel and basically everything except the actual ROM zip.
I've tried reinstalling the OS, redownloading the source, various flags such as -j1/j2, -k -c, I've tried using "make clean" but nothing is working.
My system is as follows:
Ubuntu 13.10 running in a virtualbox VM
i5 2500k @3.3GHz
16GB RAM (12GB allocated to the VM)
120GB OCZ Agility 3 SSD
4TB 5400RPM HDD (200GB allocated to the VM)
I'm at my wits end with this, but I'd really love to do it just to say that I can. Any help would be much appreciated, and if someone could tell me where to find a build log, I can be of more assistance.
This is the error that stops the build.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Samsung KK 520 Open source :s

Hey guys,
So I just got this device last night. I set up a virtual linux workstation and started downloading my source from samsungs site. - My only problem is that for the 10.1 wifi model, 520, theres like one package.. Then there's the 525's package, the one ending with "UANAF", apparently my device is of the model "520", but it has the UANAF. I wanna start reading up on building a kernel and a CM port from scratch.. (I never did before but I'll see if it's doable in some way..) Would I be able to at all build a CM build from this file? And also, do I use the 525 package or the 520? I'm a bit confused as to why my build is called UANAF when on the site, that's the one for 525.. I just really dont wanna study and then end up compiling from a wrong package and then **** up my device before I really began..
Hay. - I'm attaching an image so you can see what I mean by 520 and UANAF.. Hmf.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cheers if you have any info on what package to use or can hand me some nice starter stuff. As of now, I found out how to build the rom itself, but the kernel building, I'm a bit confused about still. I dunno what files to grab and how to compile. But I have dreams. Don't take them from me. <3

LineageOS for Huawei Y625

Hi!
I have been searching for a LineageOS build for my Huawei Y625 device for many weeks now.
But I didn't found any builds for it.
The last days i tried to compile my own build from the source code, but I failed, because my device isn't official supported.
I also tried to install builds for Huawei Y635, but it didn't work.
So, I'd like to ask: Is it possible to suggest a new device OR is there a way to compile a working build from source? I realy would like to use LineageOS.
Thanks!
hi
Did you try this : http://www.lineageosrom.com/2017/01/how-to-build-lineageos-rom-for-any.html ?
cyrillem28410 said:
hi
Did you try this ... ?
Click to expand...
Click to collapse
Yes, but i failed.
Today I tried again. Now I have a problem. When I run "./extract-files.sh" then Ubunto (or VirtualBox) disconnects my device. After connecting again, adb shows me many errors. Of 29 files wich copies adb from my device to my PC only few (3 or 4) files are copied.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AND at the command "breakfast manta" I get some errors too:
Can you help me me please?

Samsung c710f LineageOS 16.0 Custom ROM error

Hi.
First of all, newbie here.
I am trying to create Custom ROM for my C710F device since I can't find any in the internet. I am following the step by step method in Lineage OS Wiki page. There are no repository for my device in Linage Github so I created my own device tree using the templates in:
https://github.com/imasaru/android_device_tree_template
I have downloaded the device kernel in:
https://opensource.samsung.com/uploadList?menuItem=mobile
and compiled in device/samsung/jadelte folder as shown here:
https://drive.google.com/open?id=1ZLCvAbthsBQCCVK_0ZT11gB_EW7tRzOh
I have extracted my device proprietary blobs from /system/lib folder by copying to /vendor/samsung/jadelte/proprietary folder with root access as shown here:
https://drive.google.com/open?id=12A_ZyU0NUhsWSXPDH7OqcH9saE_XPHYJ
When I run the "brunch jadelte" in terminal, I am getting this error:
build/make/core/main.mk:640: error: OverlayHostTests.LOCAL_TARGET_REQUIRED_MODULES : illegal value OverlayHostTests_BadSignatureOverlay : not a device module. If you want to specify host modules to be required to be installed along with your host module, add those module names to LOCAL_REQUIRED_MODULES instead
Maybe I have done something wrong in compiling my device tree or if there's something wrong in build/make/core/main.mk file I don't want to change it. I am assuming lineageos files are already ok.
Please help. Many thanksssssssssssss.
Very lonely, please help
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Update to the LineageOS 20 Latest Update
where can i get lineage OS 20 for j7+ jadeLTE

Categories

Resources