03-03-2012 02:20 PM - edited 03-03-2012 02:20 PM
03-03-2012 04:39 PM
I think there's some confusion here. The source code is not a working bootable image. It's the human-readable code from which some bootable images (of the bootloader and Linux kernel) can be produced.
Having the source code wouldn't allow you to make or restore backups of the tablet. For the A1, there's a fully functioning Clockworkmod recovery that supports making and restoring backups. I think Khanning has done some work towards porting Clockworkmod recovery to the K1, but I'm not sure what stage it is at, as I only have an A1.
Our interest in the source code is orthogonal to the desire to make backups of our tablets. I believe that most of us are keen on Lenovo making the GPL sources available because it's mandated by the licence agreement, and because it will allow us to add certain features to the tablets that are not part of the stock software.
03-04-2012 12:16 AM - edited 03-05-2012 09:12 PM
03-05-2012 09:24 AM - edited 03-05-2012 09:35 AM
Mark and Lenovo,
Per gmarkall's suggestion I am posting the step by step the proceedure I have taken to try and use the kernel source Lenovo has provided.
I am attempting to compile the kernel on Ubuntu 11.10 64-bit, using GCC 4.4, and the arm-eabi-4.4.3 (ive tried 4.4.1, and 4.3.1 also) prebuilt toolchain included with ICS AOSP source code.
1. Download the zip package that Lenovo provided here: http://download.lenovo.com/lenovo/content/sm/IdeaPadTablet-K1.zip
2. Unzip the package and open my terminal in the 'IdeaPad_Tablet_K1_kernel' directory
3. Run 'make mrproper' to clean the build directory. (I have tried skipping this step)
4. Copy the config  file from the stock build K1_A301_14_14_120109_US
5. Run 'make menuconfig'. I have attached the config.log from the make menuconfig command below 
6. Load the stock .config  file
8. Run 'make'. I have attached the build.log from the make command below 
The compile completes fine. I flash the newly compiled zImage, the same way I use to succesfully flash the stock zImage. During boot after the initial Lenovo logo the screen goes black and the front facing camera LED turns on. The device remains frozen this way until I hold the power button to shut down.
 .config - http://pastebin.com/7DGHpsiV
 config.log - http://pastebin.com/rCabS2YQ
 build.log - http://pastebin.com/cTP0sNh3
03-06-2012 01:38 AM
In the event of a software failure on the A1, you can boot the stock bootloader and kernel from an SD card, and get it to load Clockworkmod recovery. This allows you to reflash the system no matter what has been corrupted (assuming the corruption is purely a software problem and not a hardware one). This isn't documented anywhere (yet), but I will get round to documenting it one day.
I don't know a great deal about the K1 as I don't own one, but I believe the recovery procedure for this is to boot in APX mode and flash the stock system images.
I agree with you that Lenovo is required to release the source of the GPL components under the terms of the licence. We will take it and run with it, and add enhancements and new features.
03-06-2012 04:58 AM
What worries me is that it has been a week since Mark had some updates about this issue and we have nothing since then. I understand that it might not be a top-priority for the Lenovo team, but it has to be delivered in some time, since it is a long-raised issue.
Please provide us with the source code!
03-06-2012 07:10 AM - edited 03-06-2012 07:11 AM
I informed the Free Software Foundation about the GPL violation. Hopefully they will react and Lenovo is getting mail from their legal department. I've had enough of this sh!t. What's so hard about releasing a bunch of text files?
03-06-2012 10:06 PM - edited 03-06-2012 10:09 PM
I am attempting to compile the kernel K1 on Open Suse 12.1 32-bit, using GCC 4.4, and the arm-eabi-4.4.3.
The same results - during boot after the initial Lenovo logo the screen goes black and the front facing camera LED turns on. The device remains frozen this way until I hold the power button to shut down.
What a stupid joke from the firm Lenovo?
03-07-2012 05:47 AM
03-07-2012 10:48 AM
If you aren't finding source for your Samsung, you're not looking. The code was released with the announcement of the device:
Samsung has, on several occasions, released the source BEFORE the device hit the shelves.
Lenovo has the required info -- they just released a new ROM and must have compiled the kernel. So... zip it and ship it. It's as simple as that. Of course, one could speculate that they are scrubbing the kernel to remove things they don't want customers to see. Other Chinese firms have been caught inserting spyware into devices and components.
The community has been more than patient. My understanding is that the call for the missing source code was put out three months ago. Certainly, this thread is as old as that. How long can it possilby take to zip a source directory?
No not a joke. As far as I'm aware, Lenovo didn't create it. And their not the only ones who has done this. They've only released what they was given. Same as Samsung. My 2 android phones STILL do not have working source codes. (Galaxy Prevail and Transform Ultra)
It just happens you have a Lenovo Tablet. Just be a little patent as they find out the required info.
Woot! Woot! Go Mark, he's our man.