Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[DEV] Unofficial Cyanogenmod 7 for Lenovo Ideapad A1

OP gmarkall

11th January 2012, 09:53 AM   |  #1  
gmarkall's Avatar
OP Retired Recognized Developer
Flag London
Thanks Meter: 559
 
378 posts
Join Date:Joined: Dec 2010
More
Cyanogenmod 7 for the Lenovo Ideapad A1, by Milaq and myself.

BEFORE YOU BEGIN

You should install the modified bootloader that allows you to get into fastboot mode if necessary. This is because there is only one kernel on the A1, and if the kernel causes problems (unlikely, but it's better save yourself the risk) you won't be able to boot normally or into recovery. Being able to boot into fastboot mode gives you a way out of this by allowing you to flash a kernel through usb with the fastboot command. See this post: http://forum.xda-developers.com/show...&postcount=120

Simple installation guide

David Artiss has written a beginners' guide that walks you through the process of installing CM7 starting from the stock system. Get to it here:

http://www.artiss.co.uk/2012/04/inst...ovo-ideapad-a1

Syncing and building it:

Clone the Cyanogenmod repository:

Code:
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
Then add the local manifest:

Code:
git clone https://github.com/milaq/android.git local-android
cd local-android
git checkout gingerbread
cd ..
cp local-android/local_manifest.xml android/.repo
They sync the repo, get rom manager, and build:

Code:
cd android
repo sync
./vendor/cyanogen/get-rommanager
source build/envsetup.sh && brunch A1_07
What works:

Graphics HW acceleration
Touchscreen
Buttons (vol, power, menu, back, home)
Removable SD card
Audio
Accelerometer
Wifi (see caveat below)
Bluetooth
Vibration
Internal SD card
Front and back camera for still images, video recording from back camera
GPS
HW accelerated decoding (h.264 etc)

Issues

No 3G on the 3G versions.
Video recording from the front camera
Accelerometer switch not working
Market gives phone layout instead of tablet layout after update
Modified partition layout used with CWM 5.0.2.8 seems to prevent the internal SD card mounting.
GPS Time from android.location.Location.getTime() is wrong (1 day ahead?).
DSPManager sometimes crashes when headphones are inserted.
Bluetooth file transfer doesn't work, but Bluetooth HID seems to work.

IRC Channel

#ideapad-a1 on irc.freenode.net.

Recent logs at http://shron.de/irclogs/ideapad-a1.log
Some older logs at http://shron.de/ideapad-a1.log

Download page

Nightly builds, built by Milaq and hosted by goo.im:

http://goo.im/devs/milaq/a107/cm-7

Acknowledgments

Many thanks to:

Milaq - fixing loads of things: Camera, GPS, vibration, autobrightness, cpu responsiveness, scrolling performance, wifi geolocation, disabling background blur, hiding phone signal by default, density fixes, etc, etc, ...
SpiegelEiXXL - many discussions and thoughts, setting up nightly builds, hosting nightly builds.
Pati- for spotting how to prevent the reboots and internal SD card fixes.
Templis - Channel logs

Collaboration

Please feel free to discuss this porting effort here, point out errors, fork the repositories, submit patches/pull requests etc!
Last edited by gmarkall; 25th May 2014 at 10:13 PM.
The Following 73 Users Say Thank You to gmarkall For This Useful Post: [ View ]
12th January 2012, 12:04 AM   |  #2  
gmarkall's Avatar
OP Retired Recognized Developer
Flag London
Thanks Meter: 559
 
378 posts
Join Date:Joined: Dec 2010
More
Latest updates:

18 Feb: Nightly downloads added. Please follow the commit log on Github for further details of updates: https://github.com/gmarkall/android_...ts/gingerbread

12 Feb: Fixed the 5:43 reboot issue, wifi (sort of), and accelerometer. New version on download page.

17 Jan: Got it booting, added download page.

15 Jan: Made some very hacky changes that allow an otapackage to be built.

14 Jan: Tried flashing it - so far not quite booting as far as the home screen, but does get to the boot screen.

13 Jan: I had the wrong size for the system partition, which was causing make_ext4fs to fail. This is now corrected, and the build finishes.

13 Jan: I created an IRC channel for discussion of Clockworkmod, Cyanogenmod and development on the A1. It is #ideapad-a1 on irc.freenode.net.

12 Jan: I've added a few more bits and bobs to the build - in particular editing BoardConfig.mk to include settings for building libaudio.so, using the camera stub for the time being, bluetooth settings, etc. Also added some missing files: /etc/media_profiles.xml and vold.a1.fstab, overlay.omap3.so.

11 Jan: added a script that pulls the proprietary libraries off the device and creates a vendor/lenovo/a1 folder for them.
Last edited by gmarkall; 19th February 2012 at 11:30 AM.
The Following 18 Users Say Thank You to gmarkall For This Useful Post: [ View ]
13th January 2012, 08:50 PM   |  #3  
Junior Member
Thanks Meter: 1
 
3 posts
Join Date:Joined: Dec 2011
I have a 16GB Lenovo A1 and am more than happy to help out with any testing you need with CM7!

Just drop me a PM if you want any private testing done or I will test out the moment you post a Rom here to flash.


Thanks, Charlie.
14th January 2012, 12:00 PM   |  #4  
Junior Member
Thanks Meter: 2
 
14 posts
Join Date:Joined: Dec 2011
awesome! did you already try to flash and run it?
The Following User Says Thank You to BuzzyB For This Useful Post: [ View ]
14th January 2012, 01:24 PM   |  #5  
gmarkall's Avatar
OP Retired Recognized Developer
Flag London
Thanks Meter: 559
 
378 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by BuzzyB

awesome! did you already try to flash and run it?

Not yet. At the moment the build system doesn't quite work for making a flashable zip suitable for the ideapad. I want to get the build system to make the update.zips without any manual intervention, rather than just putting one together by hand - otherwise it will be a pain every time I change something to have to manually make a new update.zip.
The Following User Says Thank You to gmarkall For This Useful Post: [ View ]
14th January 2012, 07:26 PM   |  #6  
gmarkall's Avatar
OP Retired Recognized Developer
Flag London
Thanks Meter: 559
 
378 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by BuzzyB

awesome! did you already try to flash and run it?

I tried flashing it - I'm not quite getting as far as the home screen in booting yet, but it's a start:

The Following 3 Users Say Thank You to gmarkall For This Useful Post: [ View ]
14th January 2012, 09:40 PM   |  #7  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: Nov 2011
nice teaser :)
15th January 2012, 02:11 AM   |  #8  
Junior Member
Thanks Meter: 8
 
22 posts
Join Date:Joined: Jan 2012
Awesome!!!
16th January 2012, 09:36 AM   |  #9  
piccobit's Avatar
Senior Member
Thanks Meter: 21
 
164 posts
Join Date:Joined: Jun 2011
Simply wonderful!
16th January 2012, 10:00 AM   |  #10  
Senior Member
Thanks Meter: 30
 
126 posts
Join Date:Joined: Oct 2009
Update
something new...

The Following User Says Thank You to otti17 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
lenovo ideapad a1 unofficial cyanogenmod
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes