[Q] Nexus 7 Kernel developing - Nexus 7 Q&A, Help & Troubleshooting

I am new to XDA, new to the Nexus 7, and new to android on retail devices.
BUT I am a linux kernel developer - with a driver in the distribution kernel, and I have done android ports for development platforms.
So I am stupid on somethings and very sharp on others.
I need to do my own drivers for some devices for a Nexus 7.
Clearly others have been able to build kernels etc. for the Nexus 7 so that must be possible.
I am looking for pointers, howtos, ...
I already know how to write drivers, compile kernels - even for android.
I need to know where to get the config information for the Nexus 7, or a source tree specific to the Nexus 7,
as well as how to get a new kernel onto a retail device. I am used to putting android onto SD card and booting it on and unlocked device

Related

Flash Stock Android Kernel (or Emulator ROM)

Hey,
I've just recently started Android development and I'm keen to learn as much as I can about the whole system, not just about SDK app development. As such I'm interested in attempting to build my own ROM completely from scratch. I've downloaded the Android Source (and Galaxy S source) and would like to try my luck.
First I've been mucking around creating custom ROMs with the emulator, moving apps from the Galaxy S ROM I dumped from my device onto the stock emulator ROM and testing things out.
Anyway I'm at the point where I'm wondering if it's possible to flash the stock emulator ROM onto a Galaxy S phone? I know the Galaxy S source includes a lot of device specific stuff however I'm not interested in getting the camera, bluetooth or anything hardware specific working just yet.
If I flash a ROM with a stock kernel, drivers etc. onto my phone will it work? Has anyone done this? Will it just brick my phone?
Any help would be appreciated.
Cheers,
Ben
Anyone?
Also, I know people have flashed AOSP ROMs on other phones, does anyone know if they required modifications or whether they are in fact stock ROMs?
nje, can't work. why?
1) different bootloaders
2) different partition layout
3) different (kernel)drivers
4) different vendor setup
etc.
it is possible to flash the emulator image onto a dev device (dream/sapphire) but even then a lot will not work properly!
if you want to learn about the android architecture you should start with building a kernel (there is already a thread about that here) and playing around with stuff like the (file)system and utilities...
Thanks jodue.
Yeah my long term intentions were definitely to build the Galaxy S kernel and any necessary libraries and drivers specifically necessary for the apps I decide to include in a custom ROM.
I was hoping that I'd be able to start out by tweaking a minimalistic/generic ROM (the AOSP default ROM) on my Galaxy S. However, as you've pointed out I'll have to start out with the kernel and all the device specific stuff first.
I've got quite a bit of information on building an Android/linux kernel both from the thread you mentioned and also the official AOSP page. However information on putting together a complete working ROM seems a bit sparse. Does anyone know where I can find some information on the topic?
I'm also curious to learn about the list of things jodue mentioned i.e. Android bootloaders, partition layouts and drivers (generic and Galaxy S specific). I assume detailed information about particular devices and drivers probably isn't available but if anyone even knows where I can learn detailed information about default AOSP ROMs I'd be extremely interested know.

[Q] Firefox OS on Omnia 7 (and Windows 7 Phone devices in general)?

The best I've found out there is a recommendation to "try teaching your toaster French." There seems to be a few hints out there that the Omnia 7 can be flashed at least to different versions of Windows Phone 7. Is there a working way to get Android onto the phone? If so, can this method be used to hack Firefox OS on there as well? The phone fits all the hardware recommendations for the OS, and we have a spare one floating around the office I thought I might try to flash it onto.
I've already taken a look at the wiki page for the phone and found the drivers and flashing utilities (tucked away in anonymous downloads in the sketchiest parts of the internet) mentioned there. What is the procedure for putting Android on a Windows Phone? Is there a build of Firefox OS that might work, or should I just set the Omnia aside for now, roll up my sleeves, and start helping with the B2G project on GitHub?

Who can get me a server with SSH?

Hi. I'm a 17-year old developer from the Netherlands, who was the first to get Ice Cream Sandwich booting on the HTC Desire. Then I released MIUI, CM7 and AOKP for the HTC Flyer and I was the first with every one of them
I have also been repackaging factory images for Android 4.3 for the Nexus 7 to make flashable ZIPs, and I released a nightly build of OmniROM. In case you're wondering why OmniROM Unofficial Build is not getting an update: I preferred to spend my time to prepare for KitKat.
But now that KitKat is available, I want to work as quick as possible to give you the latest best stuff for our Nexus 7. A custom ROM with features from Android 4.3 custom ROMs is what I strive to. However, I don't have a server or fast machine which is capable of compiling Android in a few hours (my machine with a dual core E2180 takes about 9 hours). This is really counter-productive as I need that box for other purposes as well. So I was wondering if anyone can give me access to a Linux box, with SSH access, and at least about 50GB free space (Ubuntu preferred). That way, I can release updates for unofficial builds of KitKat with new features much quicker.
If you think you have a machine that may be suitable for this, please reply And thanks in advance!
Sorry, I do not own such a machine, but I came here to vouch for this guy.
He was an excellent guy to have around the Flyer forums, and is sure one heck of a developer.
If you do have a box to spare, I would recommend giving it to Chaosz-X

[Q] Anyone working on dual-boot?

Im surprised to see no ones brought this up in the S5 forum or over at Ubuntu. Isnt there anyone working on multiboot rom or way to dual-boot linux from sd card on the S5? If not, why?
jross3030 said:
Im surprised to see no ones brought this up in the S5 forum or over at Ubuntu. Isnt there anyone working on multiboot rom or way to dual-boot linux from sd card on the S5? If not, why?
Click to expand...
Click to collapse
Didn't search the forum before posting?
There are any number of variations on multi boot from Hashcode's Safestrap here to Tasssadar's multiboot for Nexus. And related proprietary modes that resemble user profiles e.g. Samsung's kids mode.
Google had also announced that full multi-user profiles would be supported from 4.2 /4.3 forward. But they subsequently restricted the feature to tablets and haven't done much with it since.
But you are probably thinking more about booting into something like Kali linux There have been a few threads about that. And it has been done for the S4, Note, Nexus, etc. A bit soon to expect it on the S5 as it has only been released for a couple of months. And it's a new processor too. Do you want to develop it for is?
.
fffft said:
Didn't search the forum before posting?
There are any number of variations on multi boot from Hashcode's Safestrap here to Tasssadar's multiboot for Nexus. And related proprietary modes that resemble user profiles e.g. Samsung's kids mode.
Google had also announced that full multi-user profiles would be supported from 4.2 /4.3 forward. But they subsequently restricted the feature to tablets and haven't done much with it since.
But you are probably thinking more about booting into something like Kali linux There have been a few threads about that. And it has been done for the S4, Note, Nexus, etc. A bit soon to expect it on the S5 as it has only been released for a couple of months. And it's a new processor too. Do you want to develop it for is?
.
Click to expand...
Click to collapse
Thanks for the reply. I did search "Ubuntu" and "Linux" within the S5 forum but nothing but a firmware dump or porting popped up. I'm new to Android and a bit wary of risking device trying to piece together methods from other devices. I don't care about Kali, just Linux OS i can boot into, not needing to vnc into a virtual environment.

{Q} Custom ROMS (AOSP/CM) for Galaxy A8 (SM-A800F)? Any possibility in Future??

Hello all
I was wondering if there will be AOSP/CM ROM for this device, not a single ROM is available and no dev is interested to work on such a great device.
Such a totally crap device, still stucked on 5.1.1 since launch, no dev is interested in the development either, where android n announced already, we are still waiting for Android M update, i wasted my money on such a **** device, will never buy a sammy mid range in future, m totally fed up with this
I think because there are few developer with that phone and they can't test their work. You can port ROMs such as CM to you phone by your self. There are tons of guides and forums. All u need is a linux OS (such as ubuntu, debian and others) and sources.
DeadSquirrel01 said:
I think because there are few developer with that phone and they can't test their work. You can port ROMs such as CM to you phone by your self. There are tons of guides and forums. All u need is a linux OS (such as ubuntu, debian and others) and sources.
Click to expand...
Click to collapse
Ok i want to port Resurrection Remix on my A8, i need a simplest guide for android build environment startup, using windows 10, with no knowledge about programming languages such as C++ etc etc which is required to be used on Linux OS, can you plz help me, i will install ubuntu OS on my laptop, but i am worried can i install two different os in one machine, i.e. Windows 10 & Ubuntu
shubham540 said:
Ok i want to port Resurrection Remix on my A8, i need a simplest guide for android build environment startup, using windows 10, with no knowledge about programming languages such as C++ etc etc which is required to be used on Linux OS, can you plz help me, i will install ubuntu OS on my laptop, but i am worried can i install two different os in one machine, i.e. Windows 10 & Ubuntu
Click to expand...
Click to collapse
yep, I'm on kali and I use windows 10 to play games, so the only thing is: take care when partitioning. After you installed ubuntu there is a bootloader called "GRUB" and there you can choose if you want to boot windows or linux

Categories

Resources