FORUMS

OnePlus Addresses Reservation List Cheating

Jake Cooper figured out how to bump his place up on OnePlus’ reservation list and … more

OnePlus 2 Benchmark Scores Show Its Muscle

This video by FoneArena contains all the popular benchmarks being tested on the OnePlus 2, … more

Sony’s Emergence in The Middle: Is The Price Right?

Sony’s Electronics Division is not in its best days, and its smartphone … more

HTC Delivering Ads Straight to Sense Home

HTC’s 2015 has been a year marked by a desperate search for revenue.The HTC One M9 … more

[DEV] Unofficial Cyanogenmod 7 for Lenovo Ideapad A1

378 posts
Thanks Meter: 560
 
By gmarkall, Retired Recognized Developer on 11th January 2012, 08:53 AM
Post Reply Subscribe to Thread Email Thread
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 09:13 PM.
The Following 74 Users Say Thank You to gmarkall For This Useful Post: [ View ]
 
 
11th January 2012, 11:04 PM |#2  
gmarkall's Avatar
OP Retired Recognized Developer
Flag London
Thanks Meter: 560
 
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 10:30 AM.
The Following 18 Users Say Thank You to gmarkall For This Useful Post: [ View ]
13th January 2012, 07:50 PM |#3  
Junior Member
Thanks Meter: 1
 
More
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, 11:00 AM |#4  
Junior Member
Thanks Meter: 2
 
More
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, 12:24 PM |#5  
gmarkall's Avatar
OP Retired Recognized Developer
Flag London
Thanks Meter: 560
 
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, 06:26 PM |#6  
gmarkall's Avatar
OP Retired Recognized Developer
Flag London
Thanks Meter: 560
 
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, 08:40 PM |#7  
Junior Member
Thanks Meter: 1
 
More
nice teaser :)
15th January 2012, 01:11 AM |#8  
Junior Member
Thanks Meter: 8
 
More
Awesome!!!
16th January 2012, 08:36 AM |#9  
piccobit's Avatar
Senior Member
Thanks Meter: 21
 
More
Simply wonderful!
16th January 2012, 09:00 AM |#10  
Senior Member
Flag HY
Thanks Meter: 85
 
More
Update
something new...
The Following User Says Thank You to otti17 For This Useful Post: [ View ]
16th January 2012, 09:35 PM |#11  
jaysus145's Avatar
Senior Member
Thanks Meter: 34
 
More
:sehorn:

Cool beans!

Read More
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