Support in other languages: 
Showing results for 
Search instead for 
Do you mean 
Reply
802.11n
ricochet_k1
Posts: 160
Registered: ‎11-25-2011
Location: Bay Area
0

Re: Android Source Code

[ Edited ]
+1 please release a working bootable image for the A and K1's. I was so pleased to hear of Lenovo's intention to release working source code for these devices only to be disappointed as the project rounded 3rd base.

I am fine with a restoreable image which does not include the modified source. Knowing that I would have to send my device in for service just because its software became corrupt is awful. Knowing I would have to pay for this service if I were outside of warranty is sickening. I am able to back up and restore every device I own... except my tablet. Still looking forward to a positive outcome here.
Thanks,
Ricochet
The K1_Was Just A Broken Promise Lenovo
gmarkall
Posts: 269
Topics: 6
Kudos: 115
Solutions: 21
Registered: ‎12-27-2011
Location: United Kingdom

Re: Android Source Code

Ricochet_K1,

 

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.

802.11n
ricochet_k1
Posts: 160
Registered: ‎11-25-2011
Location: Bay Area
0

Re: Android Source Code

[ Edited ]
Hi gmarkall,
I'm no expert, but would appreciate having the source code, working bootloaders and at the very least the means of building an image which could be used to recover my device in the event of a software failure. I am all for open source development and understand lenovo is required to release the modified source as part of the GPL. The open source community will take it and run. This means enhancements and possibly new features. If the developers out there can't build a bootable image we are still far from what I am hoping for.
Thanks,
Ricochet
The K1_Was Just A Broken Promise Lenovo
Punch Card
khanning
Posts: 51
Registered: ‎12-31-2011
Location: USA
0

Re: Android Source Code

[ Edited ]

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 [1] 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 [2]

6. Load the stock .config [1] file

7. Save

8. Run 'make'. I have attached the build.log from the make command below [3]

 

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.

 

[1] .config - http://pastebin.com/7DGHpsiV

[2] config.log - http://pastebin.com/rCabS2YQ

[3] build.log - http://pastebin.com/cTP0sNh3

gmarkall
Posts: 269
Topics: 6
Kudos: 115
Solutions: 21
Registered: ‎12-27-2011
Location: United Kingdom
0

Re: Android Source Code

Ricochet_K1,

 

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. 

Serial Port
geoponer
Posts: 17
Registered: ‎01-22-2012
Location: Athens, Greece
0

Re: Android Source Code

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!

Blue Screen Again
bAZtARd
Posts: 2
Registered: ‎03-06-2012
Location: Germany
0

Re: Android Source Code

[ Edited ]

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?

ipz
Paper Tape
ipz
Posts: 1
Registered: ‎03-05-2012
Location: Russia
0

Re: Android Source Code

[ Edited ]

 

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? 

Posts: 1,502
Topics: 38
Kudos: 117
Solutions: 49
Registered: ‎04-20-2010
Location: Jeffersonville, Indiana
0

Re: Android Source Code

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.
IT Specialist and Consultant
Lenovo Tablet Evangelist
Current Machines: IdeaCentre A300, ThinkPad Tablet, ThinkPad L410, and IdeaPad U410 Touch

Deutsche Deutsche Community   Español Comunidad en Español

Lenovo - the latest in DOtabs, DOpads, DOcentre's, DOstations and DOservers!
Paper Tape
remowilliams
Posts: 6
Registered: ‎03-07-2012
Location: USA
0

Re: Android Source Code

If you aren't finding source for your Samsung, you're not looking.  The code was released with the announcement of the device:
http://www.androidpolice.com/2011/04/27/another-day-another-source-code-delivered-samsung-releases-t...
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?

MrPeter1985 wrote:
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.