help preparing kernel environment - Android Q&A, Help & Troubleshooting

Such foremost reason for this post is to ask for help and would like to compile my own kernel from my xperia M2 D2306 but I find a little inconvenience is only to find a file identification from my xperia I explain what this is.
This is the tutorial I'm following:
[ULTIMATE GUIDE] [Noob Friendly] Compile your own kernel from source android
As well I follow this tutorial sony:
How to rebuild kernels for flagship Xperia devices [tutorial]
And drop tools that tell me there is a problem but tell me this:
Code:
Replace Device Name with the configuration file found at:
Source / arch / arm / configs
It's written in This Way something_DeviceCodename_user_defconfig
and I went to the specified path but can not find any file of this type
{
"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"
}
information from the filename of the Xperia M2:
Code:
Xperia M2
aosp_yukon_eagle_defconfig
How could set the name of my device before entering the kernel configuration script
would be helpful thanks

You are barking at the wrong tree.
The reason there is no defconfig for M2 (yukon) is that they have not uploaded the defconfig in their Github repo.
From this site it is clear that
http://xperiafirmware.com/8-firmware/53-sony-xperia-m2-d2303/
M2's firmware is 18.x.x.x
If you check the branches on Github ,there is no branch with 18.x.x.x
Moral
That source won't work.
Instead use kernel source from the Open source center.
http://developer.sonymobile.com/downloads/opensource/
This one should work fine for all the M2 devices .
http://developer.sonymobile.com/dow...-18-3-1-a-1-7-18-3-1-b-1-8-and-18-3-1-c-1-13/

Related

[Q] Customizing GUI in simulator?

Hi
Need to know something rudimentary.
Is it possible to design/modify the look and feel of the Firefox OS from the device simulator? Not the apps, but the entire Firefox OS GUI.
Thanks.
arjunm009 said:
Hi
Need to know something rudimentary.
Is it possible to design/modify the look and feel of the Firefox OS from the device simulator? Not the apps, but the entire Firefox OS GUI.
Thanks.
Click to expand...
Click to collapse
Hi arjunm009,
FirefoxOS development name is b2g (boot2gecko) there is a beautiful diagram on Mozilla's pages advising how the layers work, see https://developer.mozilla.org/en-US/Firefox_OS/Platform/Architecture
{
"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"
}
Gonk is the Hardware Abstraction Layer for the drivers
Gecko is the Rendering Engine
Gaia is the GUI, and the part you are interested in.
It is possible to modify Gaia, and Mozilla have a very detailed guide located just here: https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia
You can also grab the B2G source code and only pull down Gaia this would then let you modify, or even fix and pass back upstream to Mozilla.
You would then need a way to get your changes into the emulator, you can do this on a live device by entering the Gaia directory and typing make gaia, and then reset gaia.
However, on the emulator Mozilla offer the following detailed tutorial on how to see your gui changes in realtime on the emulator running on Firefox:
https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Making_Gaia_code_changes
thanks a lot. this would get me started.

[KERNEL] Lenovo K900 Custom Kernel [linux 3.4.43]

Lenovo K900 custom kernel​Android 4.3 (linux 3.4.43)​
{
"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"
}
>>> Please welcome - world`s first custom kernel for Lenovo K900 <<<​
Disclaimer:
custom kernel based on Lenovo`s Open Source Code. Kernel is fully working. Adding new features.
How to flash:
unlock bootloader, flash any custom recovery, flash the the attached files.
Source code:
https://github.com/lenovo-k900/android_kernel_lenovo_redhookbay
Changelog:
build 001 : first release;
build 002 : added NTFS support, WI-FI Direct.
Download:
build 001 :: https://drive.google.com/file/d/0Bz3X7ZuowQimc2cxc1FYb2l4eXM/view?usp=sharing
build 002 :: https://drive.google.com/file/d/0Bz3X7ZuowQimSG5Oc0tNeEl4Nnc/view?usp=sharing
Credits:
pavluha2004
AirShark
XXX-Man
Nice work, works a treat!
How easy is it to build? I've been desperately wanting a kernel with kvm virtualization builtin (CONFIG_KVM, CONFIG_KVM_INTEL, CONFIG_VHOST_NET, CONFIG_VIRTIO_NET, CONFIG_KVM_DEVICE_ASSIGNMENT etc not as modules but builtin) - I don't suppose you've got time to do a rebuild?
rwt33 said:
Nice work, works a treat!
How easy is it to build? I've been desperately wanting a kernel with kvm virtualization builtin (CONFIG_KVM, CONFIG_KVM_INTEL, CONFIG_VHOST_NET, CONFIG_VIRTIO_NET, CONFIG_KVM_DEVICE_ASSIGNMENT etc not as modules but builtin) - I don't suppose you've got time to do a rebuild?
Click to expand...
Click to collapse
U can rebuild it by yourself, it`s pretty easy. Sources are full, go ahead.
is this work for 4.2.1?

[Release] BerryFlash - GUI for Flashrom in Kodi

For a project I needed software & hardware to program a flash-IC. Doing some research I came across Flashrom, which also runs on Raspberry Pi. That saved me from buying some USB-programmer because you can simply use the GPIO-port. The inconvenience is that Flashrom only runs from the command line right now. Thus, you have to connect via SSH etc. Being a Kodi user I thought "just give it a try" and here we are:
This plugin installs the capability and a GUI to use Flashrom in Kodi. In the beginning development was started for Raspberry only, but it can probably also be used in general for Kodi installed in any Linux environment. This addon was tested...
...on Raspberry 1 rev. B with xbmc 16 (Jarvis) via GPIO port and with a WCH CH341A USB programmer
...in Linux Lite (Ubuntu) with a WCH CH341A USB programmer
{
"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"
}
The code can be downloaded from Github: script.berryflash @ Github
And the Kodi addon is directly available here: script.berryflash.zip
Let me know if you find any errors, e.g. with other programmers when listed above.
Special thanks to the Flashrom team for their great work!
Changelog:
----------------
v1.0.0 (2016-04-27)
- Initial Release
He writes that the password does not match, even though the password is correct

Lenovo YB1-X90F/L kernel source released

I don't know if it has been posted before or if anyone is aware, but apparently the kernel source for the Lenovo Yoga Book (X5-Z8550) is available here: https://pcsupport.lenovo.com/dk/en/products/TABLETS/YOGA-SERIES/YOGA-BOOK/downloads/DS118515
If the site loads the Windows drivers site, simple under 'Operating Systems' select 'Android' and the kernel source code .zip is available for download (Open Source Code - Lenovo YB1-X90F/L).
{
"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"
}
Palm Trees said:
I don't know if it has been posted before or if anyone is aware, but apparently the kernel source for the Lenovo Yoga Book (X5-Z8550) is available here: https://pcsupport.lenovo.com/dk/en/products/TABLETS/YOGA-SERIES/YOGA-BOOK/downloads/DS118515
If the site loads the Windows drivers site, simple under 'Operating Systems' select 'Android' and the kernel source code .zip is available for download (Open Source Code - Lenovo YB1-X90F/L).
Click to expand...
Click to collapse
Thanks for the heads up. It'll be interesting to see if any devs on here can make use of this.
It's there since 05 Sep 2016... what a deep dive discovery...
And pretty sure Marshmallow...
jamespmi said:
It's there since 05 Sep 2016... what a deep dive discovery...
And pretty sure Marshmallow...
Click to expand...
Click to collapse
Like your energy....
Already contacted Lenovo to ask if they're going to release the kernel source for Android N.....
Sorry about that....
Have a nice day....
The link has been updated to show sources from march 2018

CIFS / SMBFS support @ gt-5280

Dear xda devloper!
{
"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"
}
about myself youll find appended
Issue: currently, i am searching for a possibility to
mount a samba share into my android filesystem (fs). Iam looking forward
to use shell commands with this (auto)mounted share...
Qs: Purpose to embed a smb/cifs share into an android fs (e.g. mount):
is there a build kernel binary with cifs support available for the galaxy star?
-> I already tried kernels provided at
[INDEX] Galaxy Star - ROMs, Kernels, MODs, GUIDES
Samsung Galaxy Star [INDEX] Helpful Information Welcome, this thread has been created to encompass everything you may need for your device. Please only post in this thread with feedback on how to improve this document. Do not post "Thank you"...
forum.xda-developers.com
is busybox doing cifs mount without cifs kernel module/support?
maybe, is there another userspace app for including network fs into android fs?
THX and sincerely
- kefko
My internet acrynm is kefko, currently.
I am middle aged, looking up to discret reasoning, deduktiv
techni(ccc)al stuff, imaginative thinking, number series
in mathematics - and doing sports like running.
--
Wonderful vim doku:
When a mapping triggers itself, it will run forever

Categories

Resources