yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] bjanice44:
CM7 Changes

I could be wrong, but if you flashed the 4-26 version of CM7 you likely didn't get the updates on Github. I think the automated build executed before the commits were on Github.

Edit: Confirmed: I flashed the 4-26 CM7 and my dhd.ko reverted back to the previous version which does not work with the new kernel.

Flash the attached zip in CWM which will update you to the latest kernel and dhd.ko (wifi will work again)
[Miscellaneous Android Development] gmarkall:
Your A1 probably isn't stable at 1.2GHz. If you flash the latest CM7 nightly as well, this should limit the speed to 1GHz at bootup. Please post back if this doesn't help.
[Miscellaneous Android Development] monsieurtalbot:
It's ironic you post this... I was just about to report back.

I was running a nightly that was about a week ago. Flashed the latest, then the kernel a couple posts pack... then the fastboot package you provided and voila. So far so good.

___________________________________________

So... for all the others having this problem. This might help.

If you still get reboots, it's more than likely your device simply isn't stable at 1.2ghz. - Now all we need is a nice stable CM9 ROM. xD
[Miscellaneous Android Development] milaq:
+ if you dont do anything (e.g. change the new /etc/init.d/10overclock) your device will boot up at 1ghz and never use the 5th frequency step.
[Miscellaneous Android Development] monsieurtalbot:
I use set CPU, which applies the 1200mhz overclock after boot. I'll add a step. lol

Thanks for all your guys' great work..!
[Miscellaneous Android Development] MadPriest:
Just did it

The device is much more responsive with the default screen dencity

UPD

looks like mine is freezing at 1200 :(
[Miscellaneous Android Development] MadPriest:
Latest nightly

Trying to play Google Music (without headphones) DSP manager crashes
[Miscellaneous Android Development] MadPriest:
One more update - no video can be played (none thru YouTube or from the browser)

Tried to install flash player - with no luck

Only Netflix can play video

UPD

I just found the 04/27 nightly and updated to it

Video is playing (at least on YouTube)

However, playing video the device rebooted (twice)

I didn't wipe any data prior to kernel update or post update

I also didn't modify CPU settings (they are 300-1000, by default)

UPD 2

Google Music Player plays music without crashing DSP manager
[Miscellaneous Android Development] drozda:
Updated to 27/4 right now but looks like stock kernel is still loading . And in that case wifi is not working. I'm loading few days old kernel from SD card now and is more less ok.
[Miscellaneous Android Development] amjl2000:
I have this question too!
[Miscellaneous Android Development] Bewahn:
I can confirm this here. I just went from nightly 04/14 (stock kernel) to 04/27 and it seems that the stock kernel is still running. I used CWM 5.0.2.7 if this matters.
[Miscellaneous Android Development] milaq:
yeah, the kernel is actually in the upate.zip but somehow it doesnt get fused properly. ill investigate that later. at work atm
[Miscellaneous Android Development] gmarkall:
Could this be because of the local version? I think fuse only fuses kernels if the U-Boot header says it's called Linux-2.6.35-7.
[Miscellaneous Android Development] jpisini:
DSP manager crashes for me as well. You can use a third party equalizer from the market
[Miscellaneous Android Development] chkyj:
Another problem:I selected "Volume rocker wake",and it worked at that time.But after my tablet sleeping for some time,it no longer work.
[Miscellaneous Android Development] rhay:
It looks like skype fix the camera issue, they are still big and if you will rotate still upside down.
[Miscellaneous Android Development] bren924:
Some apps not working...

Hello,

First, thanks to gmarkall and milaq for cooking up this great ROM for the A1. My tablet feels like a brand new piece of hardware now that I have installed CM7.

I've run into a few issues with some apps, and hoping for some advice.

I usually use Seesmic and Hootsuite for twitter access, but I cannot get either one to setup my accounts. Seesmic bombs with an Authentication Failed error, and Hootsuite will allow me to log in with my Hootsuite account, but cannot retrieve data from Twitter.

I was able to install the official Twitter app, and will use that as a workaround, but was wondering why the other apps wouldn't work.

I also have Quickoffice Pro installed, and it won't let me add my external storage accounts (Google, Box, Dropbox), failing with the error Could not connect to the network.

I have tried removing and re-adding my wi-fi network info, rebooting, even clearing the cache, but nothing seems to help these particular issues.

One other note, I installed the 4/27 nightly build, but wi-fi would not work at all, so I had to revert to the 4/26 build.

Thanks again for your efforts, looking forward to seeing how this evolves!
[Miscellaneous Android Development] milaq:
yeah that was the crux :) thx again mate

this issue is fixed for now.

we use a hacked fuse binary and a shorter localversion in the kernel. our hacked fuse now only accepts "Linux-2.6.35_CM" from now on.

i.e. the kernel update should be flashed together with CM for real now from tonights build on
[Miscellaneous Android Development] MadPriest:
Confirmed - QuickOffice connects to accounts with 0428 build
[Miscellaneous Android Development] arechampions:
I did this and now my tablet is stuck in a loop at the Lenovo boot image. Cant even power off and cannot enter CWM no matter what I do. Any suggestions?
[Miscellaneous Android Development] jpisini:
Try holding power down for 45 seconds that seems to force the tablet off. At least under stock and old cm7 it did. It may be a kernel function and that may not work now.
[Miscellaneous Android Development] arechampions:
Thanks but didn't work... Held down power for 2mins (numb finger!) Also did the same with power/volume up. Even stuck a paperclip in the hole next to headphone socket (factory reset?) Nothing happened and still in Lenovo boot loop. I'll let the battery run down and see if I can do anything then. Hope it's not bricked!
[Miscellaneous Android Development] jpisini:
Unfortunately the hole next to headphones is microphone so hopefully you didn't damage it.

Not sure what else to try hopefully someone more knowledgeable than me comes along.
[Miscellaneous Android Development] arechampions:
Thanks. Still hasn't run out of battery so will wait and see if I can do anything after that.

Feel like an idiot about the microphone factory reset technique!
[Miscellaneous Android Development] purloiner:
Try starting to press the power button when the Lenovo logo is not on, for me that works better but YMMV.
[Miscellaneous Android Development] monsieurtalbot:
Has any one done a nandroid backup/restore yet? I wanna try this ics rom and maybe get to toying with it... i dont wanna lose my current setup... anyone got experience here?
[Miscellaneous Android Development] gmarkall:
Tried the "microphone reset" technique myself once when developing the Clockworkmod Recovery port!

I'm fairly sure that the power-off-with-long-press thing is a hardware function, but it seems that occasionally it gets into enough of a confused state that it doesn't work.

If you don't want to wait for the battery to flatten, you could remove the back cover of the A1 - this picture should give you an idea where the clips are that hold it on. I was able to remove mine using only my fingernails, but they were a little bit sore afterwards. After you've got the back off, you can disconnect the battery from the mainboard without removing any screws.
[Miscellaneous Android Development] gmarkall:
You may want to look at the A1 clockworkmod thread.
[Miscellaneous Android Development] zhy341:
A107_CL1-ICS-filesystem.rar

A107_CL1-ICS-filesystem.rar h ttp://115.com/file/c2lai2cl#
[Miscellaneous Android Development] Neuralgia:
Sorry, I haven't read the thread in a couple of days, and now I have new kernel upgrade option?

Can someone tell me how to flash all this?

I don't want to mess it up, that's it.

or can some one post a tutorial, step by step?

Thanks,

EDIT> SORRY! I'm an idiot. I dind't realize the EASY TUTORIAL was also updated.

Thanks guys, that 1.2 gives this little fellow a GREAT boot in performance.

Dan
[Miscellaneous Android Development] MadPriest:
Have anyone succeeded watching YouTube movies marked as "HD "?

My device freezes when I try to do so

(I'm on the latest nightly)
[Miscellaneous Android Development] passy:
Im on the latest nightly too, but yt videos plays perfect
[Miscellaneous Android Development] rhay:
I reverted back to stock using cwm restore. No issue
[Miscellaneous Android Development] arechampions:
Disconnected the battery but same issues once powered on again. Any other way of getting into CWM?

Edit: it is no longer in a loop. Just displays Lenovo logo until powered off. Volume up and power has no effect.
[Miscellaneous Android Development] jpisini:
Do you have an sdcard in your of PC? If yes you could try copying over a stock rom named update.zip and seeing if that let's you do a restore. Maybe wait till someone else says it is a good idea I don't know if this would work just throwing it out there
[Miscellaneous Android Development] arechampions:
Thanks for suggestion. Still no change though.

Is there any software I can try on my PC which can kick it into recovery?

Really sucks not having my A1 anymore :(
[Miscellaneous Android Development] chkyj:
This is the method.http://bbs.lephone.cc/thread-271770-1-1.html But I can't translate it into English.Maybe you could use google Translate.And this is the address of stock rom.http://download.lenovo.com/slates/a1/OTA/ You may need the uImage in the stock rom.
[Miscellaneous Android Development] gmarkall:
There's a guide for preparing a bootable SD card in the kernel development thread: http://xdaforums.com/showthread.php?t=1556828.

You don't need to compile the kernel yourself - you can just use the uImage file from an OTA zip file - get one from http://download.lenovo.com/slates/a1/OTA/

As well as the files that the instructions in the kernel thread tell you to put on the SD card, you should also download Clockworkmod recovery from http://www.doc.ic.ac.uk/~grm08/ideapad/cwm-5.0.2.7-rev3-ideapad-a1.zip then unzip it on your computer. Copy the unzipped file recovery.ub to the SD card but call it recovery.img. The put the SD card in your A1 and power on holding down volume down. It should boot into recovery from the SD card to allow you to flash an OTA to restore your A1.
[Miscellaneous Android Development] MadPriest:
My device occasionally reboots in last two days

Is the any option to save logs that might help troubleshooting?

Or am I the only one?
[Miscellaneous Android Development] Neuralgia:
I'm pretty sure this has nothing to do with the A1, kernel or CM7... but, what are you guys using for video playback?

I've always liked MOBO, but in my A1 video starts with sound, and 2-3 seconds later it dies.

Google hasn't helped much.

Rock Lite works great, but I don't like the UI :(

PS: 1.2Ghz worknig wthout any problems with yesterday's nightly (4/29/12)
[Miscellaneous Android Development] xiwo4525:
Now the mouse can be connected to the A1?:)
[Miscellaneous Android Development] drozda:
Bluetooth mouse should work.

USB mouse - still waiting for USB OTG function in kernel :(
[Miscellaneous Android Development] bejay:
I had 3 reboots yesterday, all 3 where while browsing the web, not doing anything taxing.

I'm on 2804 build.
[Miscellaneous Android Development] gmarkall:
After the reboot, could you pull the contents of /proc/last_kmsg?

You can do this with adb:

adb pull /proc/last_kmsg

It's almost certainly the wifi driver causing the crash (an all-too-well-known problem), but if you pastebin the contents of last_kmsg we could confirm that it is.
[Miscellaneous Android Development] gmarkall:
Did you cut the output of the last_kmsg? Or was that part of it?
[Miscellaneous Android Development] MadPriest:
i did cut it

my last reboot was during the night while in standby

i can't do adb pull /proc/last_kmsg, so i did cat /proc/last_kmsg and cut it where it looked similar to previous messages

are you looking for smth specific that is missing?
[Miscellaneous Android Development] gmarkall:
I'm interested in the whole file.
[Miscellaneous Android Development] MadPriest:
Here it is

https://www.dropbox.com/s/k7r4wkcnom04i1o/last_kmsg.txt
[Miscellaneous Android Development] Neuralgia:
Yesterday I had wifi issues. My A1 dropped connection several times. I had to turn wifi on and off. I could always see all te networks available but couldn't connect.

Is this what the wifi issues I've been reading about.
[Miscellaneous Android Development] gmarkall:
No - the famous wifi issue is that the driver causes your A1 to crash and reset every couple of days.
[Miscellaneous Android Development] gmarkall:
Thanks. A cursory glance suggests that that was caused by the wifi driver.
[Miscellaneous Android Development] MadPriest:
i guessed so... :(
[Miscellaneous Android Development] gmarkall:
Changes to wifi driver

I've pushed some changes to the repositories today that change the operation of the wifi driver. The wifi rfkill hack is no longer required because the kernel sets the correct value of the GPIO pin that controls the wifi reset status in the evt_wifi_power function at the time the module is loaded/unloaded. These should be in the nightly for the 1st of May.

Please report any improvements or regressions in the stability of your A1 if you flash this build - I'm hoping it will go some way towards making it a bit more stable, but I don't want to get your hopes up too much.

Relevant commits:

https://github.com/gmarkall/android_device_ideapad_a1/commit/942b5d0ee8894a11b6cae725bf0f6c66722b957b

https://github.com/gmarkall/lenovo_a1_07_kernel/commit/c0dbfc94c425f01666ba2dbd333e9529eff27b08

I look forward to hearing your experiences!
[Miscellaneous Android Development] MadPriest:
Installed newest nightly (0501)

Launched YouTube, watched 3 clips - bump... reboot

https://www.dropbox.com/s/k7r4wkcnom04i1o/last_kmsg.txt
[Miscellaneous Android Development] sinanju:
I can't believe you didn't even bother to read the top of the page your posting is on, let alone search for the answer before posting. Seriously... absolutely unreal.
[Miscellaneous Android Development] mikelets456:
Well? Can we flash it onto the A1?

(Sorry, I could not resist ;) )
[Miscellaneous Android Development] gmarkall:
Thanks for this post - you made me laugh out loud! :D
[Miscellaneous Android Development] BuzzyB:
Is there no way to extract the Batery Manager out of the Lenovo Android source? Maybe there's a special driver or something which communicates with the hardcoded firmware that makes it reboot?
[Miscellaneous Android Development] zealot0630:
Maybe there are some watchdog, if you don't feed them, they will fire a reboot.
[Miscellaneous Android Development] TippyTurtle:
That was my thought exactly. This possibly might be the cause of other reboots with the stock ROM...if an App rails the CPU (particularly on App start-up), the watchdog might not get the attention it expects and reboot.

I wonder if using setCPU to disallow the cpu to drop much when the screen is off and/or charging would fix some of folks reboot problems.
[Miscellaneous Android Development] ron_e:
Mine will randomly reboot when it is just sitting there playing a podcast or listening to internet radio. Nothing cpu intensive. I have watched videos and played games that were much more cpu intensive when not plugged in and it did not reboot. I do not do those things often when plugged in so I can't say if they make the random reboots worse.

Mine probably averages 1 or so reboots a day. I spend many hours a day listening to podcasts or internet radio at work using bluetooth. Wireless is on and I am USB charging.

I have tried the recent stock roms and they all did the reboot.
[Miscellaneous Android Development] mikelets456:
Deleted post
[Miscellaneous Android Development] gmarkall:
The posts discussing reboots on the stock system are all a bit off-topic for the CM7 dev thread. Could you please discuss it in another thread?

It's also nice to not copy/paste the entire content of postings from one thread to another :)
[Miscellaneous Android Development] TippyTurtle:
What kernel are you running? Maybe if you used the stock kernel the cm7 build might run better.

...or, have you tried to run the kernel your compiling with the stock Rom? (It would be great to have an OC kernel even if we're stuck with the stock Rom)
[Miscellaneous Android Development] milaq:
actually, we're running the stock kernel on cm7, with a custom ramdisk atm.

recompiling u-boot would be an option as the reboot logic (maybe the oem battery check?) seems to be iterated there.

unfortunately, we still don't have the sourcecode. this would make things much easier.

furthermore, it seems like lenovo did some nasty hackery to the basesystem aswell.

graham has already posted an enquiry via twitter and lnvo reacted (with a formal request to give them a few days). but they have yet to release the source for gpl components (such as uboot).

graham did an awesome job (and every1 involved) so far to get us a running cm7. almost everything works now (besides the infamous 543 reboot issue) and we have a working cwm. so we're getting somewhere :)
[Miscellaneous Android Development] f4rell09:
continue your good work! more power!
[Miscellaneous Android Development] TippyTurtle:
I was looking at the Stock ROM dmesg and noticed this:

<6>bq27541 2-0055: bq27541 Fuel-Gauge Ver 246255

<6>OMAP Watchdog Timer Rev 0x31: initial timeout 20 sec

<6>Watchdog auto-pet enabled at 8 sec intervals

<6>device-mapper: uevent: version 1.0.3

<6>device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm devel@redhat.com

I don't know if this helps at all. I would assume all the other OMAP3622 devices (like nook color) would have the same type of reboot issues (or fixes) if the above watchdog is the issue. Although the more I think about it, that isn't necessarily true...Lenovo may have wired up more GPIO/I2C/etc pins...and therefore have a functioning hardware watchdog while others do not.
[Miscellaneous Android Development] gmarkall:
Thanks Tippyturtle - we do have these messages in the dmesg for CM7 as well. It is certainly possible that there's a hardware watchdog as well. I think at the moment we've still not accurately narrowed down which program in the stock system is preventing it from rebooting at 5:43... I'm hoping that we can tell if it is a HW watchdog by disassembling the exact binary that stops the reboot.

Recently I discovered that just deleting /system/bin/netd alone is enough to cause the stock system to reboot at 5:43 as well, but doing so also stops a lot of other things from starting.
[Miscellaneous Android Development] pati-:
Hi

with adb shell I entered the following command:

echo "1" > /sys/devices/platform/omap_wdt/watchdog_reset

It seeems to fix the reboot problem on cm7 for me.

my tablet runs for 15 minutes and still runs.
[Miscellaneous Android Development] milaq:
okay awesome, seems to work!

it seems to keep remain_circle from ticking down.

i created a custom init.d script 99watchdog and inserted it that way w/o adb.

needs further testing, but this is a big step forward.

what led you to that idea btw?

thank you for your helpful hand pati :)
[Miscellaneous Android Development] purloiner:
Thanks Pati, up 10 minutes now :D

Nice work!
[Miscellaneous Android Development] purloiner:
I just played with CM7 here for the last hour or so, since Pati posted his trick.

I have to say it's excellent, kudo's to all those involved, I wouldn't even know where to start!

My feedback so far:

* How to make Pati's workaround permanent or at least automatically set the workaround on boot.

* Partition sizes, from my limited knowledge of this stuff it seems the internal 16 gig volume is mounted read only as / with my external SD card as /mnt/sdcard, did I miss a step to change this as on stock it's /sd-ext and /sdcard, I have re-read this thread but didn't see such a set.

BTW no demands on the above, this is just feedback, happy to test anything though, for now I rolled back to 2525, not sure if this information is useful but I restored directly from this cm7 to 2525 using gmarkell's cwm
[Miscellaneous Android Development] gmarkall:
Many thanks to pati- also for spotting this fix!

I'm just adding the workaround now to CM7 - should have an updated version available for download later today.

The partition for the internal SD card, mmcblk0p5, doesn't get mounted at all under CM7, because it thinks there's no media in it. The stock version appears to have been hacked to mount it regardless of what it thinks the media status is. I think it's usual for the external card to get mounted on /sdcard and the internal one to get mounted on /emmc in CM7. sd-ext is for the second partition of the external SD card.

Thanks for the feedback!

If you restored the stock system using CWM, it unfortunately doesn't restore the stock ramdisk - this might create problems for the stock system. At the moment you can restore the 2375 ramdisk using the file from the CM7 download page, but I haven't created one for later versions.

I do have a CWM that does backup and restore of the ramdisk and kernel in the works, but I haven't got that far with it yet, as I'd prioritised work on CM7 for now.

As a general remark, I could do with making a more comprehensive list of stuff that works/doesn't work, so if anyone spots anything that's not working and I've not mentioned anywhere, I'd appreciate it being brought up :-)
[Miscellaneous Android Development] purloiner:
OK great. I only have a crappy small capacity slow sd card now, is there a way to get the internal space mounted, if so I can get my apps back and run the ROM longer :)
[Miscellaneous Android Development] bren924:
Just updated to the 0501 nightly, and can now configure Seesmic and external accounts in Quickoffice Pro.

Thanks!
[Miscellaneous Android Development] MadPriest:
After previous reboot watched couple YouTube videos with the same result

last_kmsg looks the same

UPD

Strange thing is that it happens watching YouTube

Strange because using tweeter, Facebook, Google Plus, etc. the device isn't rebooting
[Miscellaneous Android Development] mikelets456:
I noticed on the commit log there is an updated kernal. Is this kernal included in the Cm7 build and i simply flash like i am updating a nightly or is it more to it? Thanks.
[Miscellaneous Android Development] MadPriest:
yes and yes
[Miscellaneous Android Development] Neuralgia:
Just follow the easy install tutorial :D
[Miscellaneous Android Development] drozda:
Yeah no more iritating noise while wifi on :D
[Miscellaneous Android Development] chkyj:
P.S. "Volume rocker wake" works while charging,but doesn't work after Unpluging the USB cable.
[Miscellaneous Android Development] ArcadiumNL:
Thanks guys so much for the work that has gone into this.

Since a few days i'm running this ROM with custom kernel and it has been such an improvement over the stock rom it's incredible! It's so much more fluent en more responsive. It's like having a new device!

Keep up with the good work!
[Miscellaneous Android Development] MadPriest:
My tablet's uptime is 11 hours

Which means no reboots while in standby!!!
[Miscellaneous Android Development] gmarkall:
Is that good? How much uptime do you usually get?
[Miscellaneous Android Development] monsieurtalbot:
So... yesterday, I attempted to use the GPS in my device and it wouldn't give me a sat fix. I've tried GPS status... is this a known bug? I don't see it referenced here... wifi location is fine of course... just GPS.