Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,757 Members 36,536 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] Unofficial Cyanogenmod 7 for Lenovo Ideapad A1

Tip us?
 
gmarkall
Old
(Last edited by gmarkall; 25th May 2014 at 09:13 PM.)
#1  
gmarkall's Avatar
Retired Recognized Developer - OP
Thanks Meter 559
Posts: 378
Join Date: Dec 2010
Location: London
Exclamation [DEV] Unofficial Cyanogenmod 7 for Lenovo Ideapad A1

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!
The Following 73 Users Say Thank You to gmarkall For This Useful Post: [ Click to Expand ]
 
gmarkall
Old
(Last edited by gmarkall; 19th February 2012 at 10:30 AM.)
#2  
gmarkall's Avatar
Retired Recognized Developer - OP
Thanks Meter 559
Posts: 378
Join Date: Dec 2010
Location: London
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.
The Following 18 Users Say Thank You to gmarkall For This Useful Post: [ Click to Expand ]
 
breadsmasher
Old
#3  
Junior Member
Thanks Meter 1
Posts: 3
Join Date: 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.
 
BuzzyB
Old
#4  
Junior Member
Thanks Meter 2
Posts: 14
Join Date: Dec 2011
awesome! did you already try to flash and run it?
The Following User Says Thank You to BuzzyB For This Useful Post: [ Click to Expand ]
 
gmarkall
Old
#5  
gmarkall's Avatar
Retired Recognized Developer - OP
Thanks Meter 559
Posts: 378
Join Date: Dec 2010
Location: London
Quote:
Originally Posted by BuzzyB View Post
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: [ Click to Expand ]
 
gmarkall
Old
#6  
gmarkall's Avatar
Retired Recognized Developer - OP
Thanks Meter 559
Posts: 378
Join Date: Dec 2010
Location: London
Quote:
Originally Posted by BuzzyB View Post
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: [ Click to Expand ]
 
twinpapa
Old
#7  
Junior Member
Thanks Meter 1
Posts: 4
Join Date: Nov 2011
nice teaser :)
 
LoveTKB
Old
#8  
Junior Member
Thanks Meter 8
Posts: 22
Join Date: Jan 2012
Awesome!!!
 
piccobit
Old
#9  
piccobit's Avatar
Senior Member
Thanks Meter 21
Posts: 164
Join Date: Jun 2011
Simply wonderful!
 
otti17
Old
#10  
Senior Member
Thanks Meter 30
Posts: 123
Join Date: Oct 2009
Default Update

something new...

The Following User Says Thank You to otti17 For This Useful Post: [ Click to Expand ]
Tags
lenovo ideapad a1 unofficial cyanogenmod
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes