yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] piccobit:
I'll try that this evening ...

No, the A1 wasn't plugged in.

My replacement from Amazon will arrive tomorrow, hope that it doesn't show the same problem after some time ...
[Miscellaneous Android Development] tinybeetle:
I just had a lockup/reboot. I was playing Pandora at the time. The A1 was plugged into the USB port on my PC and was charging.

My A1's last_kmsg is attached.
[Miscellaneous Android Development] ppetermann:
I just installed it.

went quite well, except the installation process seemed a bit weird. the bar was still at about 40% when the device seemed to have switched off. I put it on again a minute later and it worked.

pulled backup then, worked aswell.
[Miscellaneous Android Development] ehsangolpesar12:
CWM is seams to be fully functional on my 16G German version, did a backup, full wipe and restore, Nice job,

hope to flash your CM7 built soon.

Sent from my Nexus S, CM9, alpha 20
[Miscellaneous Android Development] gmarkall:
IRC channel

I recently created an IRC channel for discussion of CWM, Cyanogenmod and development on the A1. It is #ideapad-a1 on irc.freenode.net.
[Miscellaneous Android Development] twinpapa:
last_kmsg

my A1 just did a spontaneous reboot after uploading a file to dropbox. The upload was finished, I didn't touch it and suddenly I noticed the bootlogo on the screen. A1 on battery power, 68%.

Best regards,

twinpapa
[Miscellaneous Android Development] spiegeleixxl:
Some things I see are repeated kernel oopses in connection with trying to scan/load "dhd", called by mmc_rescan, attach, device adding, bus probing, and then within the dhdsdio_probe. Also this "dhd" module keeps getting loaded and unloaded as it seems.

-snip-
[<c0036a6c>] (__dabt_svc+0x4c/0x60) from [<c0439580>] (wait_for_common+0x80/0x198)
[<c0439580>] (wait_for_common+0x80/0x198) from [<bf15ef04>] (dhd_detach+0x90/0x1f4 [dhd])
[<bf15ef04>] (dhd_detach+0x90/0x1f4 [dhd]) from [<bf15f9dc>] (dhd_attach+0x57c/0x60c [dhd])
[<bf15f9dc>] (dhd_attach+0x57c/0x60c [dhd]) from [<bf175d04>] (dhdsdio_probe+0x318/0x644 [dhd])
[<bf175d04>] (dhdsdio_probe+0x318/0x644 [dhd]) from [<bf17ed94>] (bcmsdh_probe+0xdc/0x130 [dhd])
[<bf17ed94>] (bcmsdh_probe+0xdc/0x130 [dhd]) from [<c03048f4>] (sdio_bus_probe+0x88/0xe4)
[<c03048f4>] (sdio_bus_probe+0x88/0xe4) from [<c022a6dc>] (driver_probe_device+0xc8/0x184)
-snip-

The kernel OOPS allthou happens somewhere furter down the line near 540:

-snip-
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 817 [#2] PREEMPT
last sysfs file: /sys/devices/virtual/net/ip6tnl0/statistics/rx_bytes
Modules linked in: dhd [last unloaded: dhd]
CPU: 0 Tainted: G D (2.6.35.7 #16)
PC is at __bug+0x1c/0x28
LR is at __bug+0x18/0x28
-snip-

To me, it seems that kmmcd is hanging somewhere within dhd_attach/detach in some kinda loop. It attempts to reboot but goes into a _bug loop until the system hard-reboots.

-snip-
[<c0036a6c>] (__dabt_svc+0x4c/0x60) from [<c003a2bc>] (__bug+0x1c/0x28)
[<c003a2bc>] (__bug+0x1c/0x28) from [<c02206ac>] (SysPowerLockWrap+0x58/0x70)
[<c02206ac>] (SysPowerLockWrap+0x58/0x70) from [<c0214768>] (PVRSRVPowerLock+0x18/0xa0)
[<c0214768>] (PVRSRVPowerLock+0x18/0xa0) from [<c02148a0>] (PVRSRVSystemPrePowerStateKM+0x1c/0x9c)
[<c02148a0>] (PVRSRVSystemPrePowerStateKM+0x1c/0x9c) from [<c0214934>] (PVRSRVSetPowerStateKM+0x14/0x40)
[<c0214934>] (PVRSRVSetPowerStateKM+0x14/0x40) from [<c022b564>] (platform_drv_shutdown+0x14/0x18)
[<c022b564>] (platform_drv_shutdown+0x14/0x18) from [<c02274c0>] (device_shutdown+0x94/0xe8)
[<c02274c0>] (device_shutdown+0x94/0xe8) from [<c0080894>] (kernel_restart_prepare+0x24/0x34)
[<c0080894>] (kernel_restart_prepare+0x24/0x34) from [<c00808d4>] (kernel_restart+0xc/0x40)
[<c00808d4>] (kernel_restart+0xc/0x40) from [<c0438d24>] (panic+0xb8/0xec)
[<c0438d24>] (panic+0xb8/0xec) from [<c003a7bc>] (die+0x1a0/0x1dc)
[<c003a7bc>] (die+0x1a0/0x1dc) from [<c003c5cc>] (__do_kernel_fault+0x64/0x84)
[<c003c5cc>] (__do_kernel_fault+0x64/0x84) from [<c003c884>] (do_page_fault+0x298/0x2b8)
[<c003c884>] (do_page_fault+0x298/0x2b8) from [<c00362ec>] (do_DataAbort+0x34/0x98)
[<c00362ec>] (do_DataAbort+0x34/0x98) from [<c0036a6c>] (__dabt_svc+0x4c/0x60)
...
[<c0036a6c>] (__dabt_svc+0x4c/0x60) from [<c0439580>] (wait_for_common+0x80/0x198)
[<c0439580>] (wait_for_common+0x80/0x198) from [<bf15ef04>] (dhd_detach+0x90/0x1f4 [dhd])
[<bf15ef04>] (dhd_detach+0x90/0x1f4 [dhd]) from [<bf15f9dc>] (dhd_attach+0x57c/0x60c [dhd])
-snip-
[Miscellaneous Android Development] purloiner:
Installation of CWM worked a treat, nice work!

The only issue with my 16gb UK tab was I couldn't get into CWM or stock recovery when I was on mains power, I started the job with only 20% battery so I waited for more charge (40%) then did the job on battery without incident :-D

Thanks for your efforts B-)

Edit: forgot to add that I did a backup / wipe / restore successfully
[Miscellaneous Android Development] pl0p:
installed cwm per your instructions. rebooted into recovery. cleared dalvik and cache. no errors. but i don't see the rom manager app in my app drawer. is that normal?
[Miscellaneous Android Development] ppetermann:
yes.

while that app offers to install cwm on devices it supports that doesn't mean that cwm comes with or needs that app.

what you are getting here is a replacement for the regular recoverymode which comes with the device
[Miscellaneous Android Development] netwindy:
Just installed CWM on my mainland-china version ideapad A1, it seems to work well. Later I managed to revert to the stock recovery successfully. Thanks for the great work. Hope CM7 could be ported soon.

in#91, "Horse heart God, not a cloud" basicly means "If you believe in something, it will be possible, not always as far as the clouds in the sky." Google translate couldn't understand the latest chinese internet language.:D I think he's just trying to say he believes that XDA has the best developers.:cool:
[Miscellaneous Android Development] ArcadiumNL:
Great work man! Worked as described, glad to see development is starting for this interesting tablet :)
[Miscellaneous Android Development] Yayay:
Great :) I love this tablet, would love it to be WORKING with Cyanagenmod7
[Miscellaneous Android Development] gmarkall:
Bugger!

I just noticed that mounting the removable SD card doesn't work. I've added it to the list of things to fix for the next release.

Anyone else noticed any hiccups that I should pay attention to whilst I'm thinking about fixing things?
[Miscellaneous Android Development] purloiner:
I would love to try it but really need wifi support first, without the net feels like my arm is chopped off :-D
[Miscellaneous Android Development] gmarkall:
Are you talking about CM7 rather than Clockworkmod here?
[Miscellaneous Android Development] purloiner:
Oops my mistake, it's been a long week :S
[Miscellaneous Android Development] kojoebc:
Nice!

Just installed it on my ipad a1!

i will post any bad experience i make!

thank you for your work!
[Miscellaneous Android Development] barrielui:
Nice! Work well on my Chinese A1.

I have used it to flash Google apps successfully, see no bugs
[Miscellaneous Android Development] kojoebc:
Cant see any problems so far. Did several backups with different app-profiles. Everything worked fine.

Gesendet von meinem GT-I9001 mit Tapatalk
[Miscellaneous Android Development] gmarkall:
Newer release

I've made a newer release (rev2) which is now available on the download page. Basically the changes are that the removable SD card now works, and the "reboot recovery" option reboots back to the recovery rather than incorrectly booting back to system.

I had also intended to add the "partition internal SD card" option for this release, but I had a couple of issues with it so far, so I decided to leave it for another release - I thought it better to release this version since a couple of people had asked about using the SD card slot.

As always, please report your experiences with this version - I'm looking forward to hearing how people get on with it! :)

EDIT: I believe the following information was incorrect, but I've left the text here so that the context of the conversation is understandable

As far as I understand it, there is a little bit of weirdness to do with the naming SD cards in CWM, apparently due to historical reasons. I read this post which seems to explain it well. In summary, the SD card that is part of the built in memory gets mounted on /sdcard, and is referred to as the "SD card". The SD card that can be physically inserted and removed by the user is mounted on /emmc, and is referred to as the "internal SD card" - this is a bit confusing, as it seems to be backwards. However, that seems to be the way it is - if anyone has a better explanation/fix, please let me know!
[Miscellaneous Android Development] xbdesign:
I have noticed with the Fake-Flash Version of mine, having External SD-Card mounted right and doing one "Wipe data/factory reset" would erase / format Extern-SD-Card!

Don’t know if this would be the same with your second Version. Somebody should test it.

I noticed this from the beginning but I left it mounted because if you don’t have Ext-SD-Card mounted (like in your first Version?) it would not backup any Application which was moved on Ext-SD-Card.
[Miscellaneous Android Development] gmarkall:
Since I posted rev2, another user (davidxxw) has been in contact with me and pointed out that I could swap the internal and external SD cards. I've since made a change to my recovery and added sd-ext to the recovery.fstab as well. When I did a wipe data/cache, it formatted sd-ext (which I think I'd expect to happen) but it did not format the FAT partition on the SD card. I also tried partitioning the SD card, which appeared to work.

I'll make another zip for this new revision later this evening if all goes well - it'll be revision 3.
[Miscellaneous Android Development] primedape:
Just installed it.

Seems to work great. Haven't booted into the OS yet, but CWM works greate and doing a backup worked nice.

When can we expect a "root" option? I remember having a CWM installed on my SGS2 that had the option to root/unroot the device.
[Miscellaneous Android Development] gmarkall:
Great! Thanks for the feedback!

I have no plans to add a root/unroot feature, since the other methods for rooting are relatively straightforward, and I can't see an obvious scenario in which you'd want to simply unroot.
[Miscellaneous Android Development] gmarkall:
Revision 3 available

Rev3 of the recovery is now available. Changes:

Internal and external SD cards are swapped, so are now correctly named.

Backup and restore of sd-ext added.

"Partition SD card" option works, and partitions the removable SD card.

Thanks to davidxxw for some advice with this release. Please let me know how you get on!
[Miscellaneous Android Development] monsefito:
Thank's for your great job gmarkall!!

I've just bought my A1 one week ago, rooted like it's releated in other threat of this forum and today I've installed your CWM. No bugs for the moment...
[Miscellaneous Android Development] xbdesign:
So now you just swaped sd-ext and sd-card right?

Does Format Functionality still formats a right card?

this is my fstab for fake-flash.

/cache	ext3 /dev/block/mmcblk0p2

/data	ext3 /dev/block/mmcblk0p3

/misc	mtd	misc

/.secure ext3 /dev/block/mmcblk0p4

/sdcard vfat /dev/block/mmcblk0p5

/system	ext3	/dev/block/mmcblk0p1

/sd-ext auto /dev/block/mmcblk1p1

It formats a right card

It will delete all data on ext-sd when "Wipe data/factory reset" but leave a SD-card.

It makes backup of moved Apps on ext-sd
[Miscellaneous Android Development] gmarkall:
I swapped /emmc and /sdcard.

I'm not quite sure what you mean, but wiping data appears to wipe /data, /cache and /sd-ext, as I'd expect it to.

My recovery.fstab is similar, but I don't have an entry for the misc partition, as I don't think there is one. The behaviour you describe is similar to what I have observed with the rev3 version of my recovery.
[Miscellaneous Android Development] xbdesign:
O.K so i made changes to my fstab too.

# mount point	fstype	device	[device2]

/cache	ext3 /dev/block/mmcblk0p2

/data	ext3 /dev/block/mmcblk0p3

/.secure ext3 /dev/block/mmcblk0p4

/system	ext3	/dev/block/mmcblk0p1

/emmc vfat /dev/block/mmcblk0p5

/sdcard vfat /dev/block/mmcblk1p1

/sd-ext ext3 /dev/block/mmcblk1p2
[Miscellaneous Android Development] primedape:
No prob for me. I just rooted with SuperOneClick which was really super easy.

But it did not work for the new Chinese rom. So I switched back to 2525_ROW.

[Feedback]

I did a backup, installed a new rom and restored the previous successfully. No impact on the OS, everything runs smooth.
[Miscellaneous Android Development] purloiner:
Updated to rev3 today, no issues :D

Flashed 2525_ROW as well, looks good so far! :D:D
[Miscellaneous Android Development] gmarkall:
I think there's an update.zip floating around somewhere (with a name like lepad_a1_rooter.zip or similar) that can be used from Clockworkmod to root - you might be able to try that with the new Chinese ROM.
[Miscellaneous Android Development] xbdesign:
To root using CWM just download A1_rooter.zip and run it from CWM choosing it from SD-Card

---------- Post added at 07:40 PM ---------- Previous post was at 07:21 PM ----------

I hope you understand that you are now running your backup rom with kernel (uimage, uboot ...) from Chinese one!

Because CWM doesn’t make backup from x-loader, u-boot, kernel or any of ramdisks you should complete install your first ROM and then your backup.

I mean you don’t have to, it will work like you have done too.

But if you noticed, there are changes in uImage and other stuff within different ROMS.
[Miscellaneous Android Development] monsefito:
Hi guys,

as you well know android doesn't support ad-hoc tethering so I tried to install a patch from szysm. My surprise comes when i saw a message from CWM telling me that "amend scripting is not still supported form the third version.

Can any one help me with this issue????

Thank's
[Miscellaneous Android Development] gmarkall:
Monsefito,

The amend scripting language used to be used for updates but has been obsolete for a long time. The current way to write an update script is to use the edify scripting language.

The patch you are using must be quite old - in order to make it work, its update script must be rewritten in edify.
[Miscellaneous Android Development] monsefito:
Thanks a lot Gmarkall,

i'll keep searching for a solution to my Ideapad a1 wifi tethering...
[Miscellaneous Android Development] gmarkall:
No problem - do you have a link to the patch that you're trying to use? If it's relatively simple, I might be able to suggest how to fix it so it works with CWM 5.
[Miscellaneous Android Development] monsefito:
Of course mate: szym.net/android/wpa_supplicant-ibss.patch
[Miscellaneous Android Development] gmarkall:
That's not a patch that you can install in Clockworkmod. You need to apply this patch to the wpa_supplicant source and recompile it.

I'm not sure why CWM thought this was an amend script - it was probably confused by the content of the file.
[Miscellaneous Android Development] monsefito:
You're right, sorry for the mistake.

Anyway, now I got some bad news.

I've tried to factory reset just qhen my battery fails and now I can't restart nothing.

When I push the start button it keeps on the animation screen for all night...

I can't even acces to my A1 via usb, because the system does not recognize it.

:(
[Miscellaneous Android Development] gmarkall:
Can you restart in recovery? If you can, can you try factory resetting again?
[Miscellaneous Android Development] monsefito:
No I can't.

When I tried it seems like is installing update and later shut down.

If I just could acces via usb, maybe?
[Miscellaneous Android Development] gmarkall:
Were you using a fake flash version of CWM before? It sounds like the stock recovery is booting and running an update.zip.

Did you use an OTA package at some point recently?

Could you also try copying the CWM rev3 zip to an SD card on your computer, name it "update.zip" and then put it in and boot into recovery - if it is the stock recovery that's running, then this should hopefully flash CWM over it.

You might also want to join #ideapad-a1 on freenode, and we can discuss this in real time.
[Miscellaneous Android Development] monsefito:
Weeee!!

Thank's a lot mate!

finally I bring it alive.

I stored your CWM third rev. in a external sd and after the CWM start I found there was impossible to mount sdcard, so I tried to factory restore without succes.

At the end I've flashed the 2525 OTA and that's it, my A1 works again.

Thanks a lot for the CWM!!
[Miscellaneous Android Development] monsefito:
Hi Gmarkall and comapany,

I'm just posting to say that I've made a little blog with spanish translation for rooting and installing CWM. Thanks for all!

http://rootlenovoideapada1.blogspot.com/
[Miscellaneous Android Development] gmarkall:
Thanks! - I've just added your name to the first post credits :)
[Miscellaneous Android Development] ArcadiumNL:
Hi GMarkall,

Thank you for your work on the CWM for the A1. Lenovo has a new update (beta) released. It fixes the rebooting bug on Google Maps but it appears that root is broken.

So I tried your CWM to flash the Rooted Zip file but failed to do so because it couldn't mount my SD Card. (Looks like the partition table has changed or something?)

---

Update: Nevermind, just used the wrong function within CWM... still great work though! :)
[Miscellaneous Android Development] wurzel555:
Hi, this is great, it instaleld perfectly with no problems.

Is it possible for you to incorperate the extended power options onto the power button so we can reboot into recovery mode or reboot the tablet from the power switch menu? The only option currently there is power off.

Cheers and keep up the good work.
[Miscellaneous Android Development] gmarkall:
Glad it worked for you :)

This is a feature of CM7 - it might be possible to add to the stock system, but I'm personally focusing my efforts on CM7 rather than improvements to the stock system. Unfortunately my time is a bit limited at the moment. :o
[Miscellaneous Android Development] nccruz:
hope this is not off the cuff.... does 2525 support ext3/ext4 partitions on the removable_sdcard? sorry if this is not the right plalce to post this.
[Miscellaneous Android Development] mmjbone:
First of all, thanks for taking the time to work on this! Got it installed and it's fantastic. Question about the quote above. I just got my A1 and in case I have any kind of warranty issues and I need to deal with Lenovo. I was interested in restoring the stock. How exactly do I do this? I'm obviously doing something wrong because I can't get that part to work.

I can make a backup and recover that, but just not succeeding in making the stock work.
[Miscellaneous Android Development] gmarkall:
New experimental release

I've made a newer release based on CWM 5.0.2.8. This version can backup and restore the ramdisk as well. It is considered experimental for now, and carries extra risk in its installation since you must flash a modified MBR that exposes the ramdisk. Only a version for the 16GB Ideapad is available for the time being - do not flash it to the 2GB model.

It is available from the download page. Please post a reply if you try it - I would appreciate the feedback to determine if there are any problems, or to confirm that it is working well.

EDIT: A big thanks to xbdesign, who has also tested this recovery.
[Miscellaneous Android Development] sputnik3:
I installed the experimental CWM 5.0.2.8 and the partition tool on my 16GB A1, and so far so good. I made a backup of the stock system and then installed the latest nightly of CM7 with it. Thanks for your good work, gmarkall.
[Miscellaneous Android Development] imritechere:
Excellent job on the cwm 5.0.2.8 installed with the partition.zip works nice I've gone from Stock to Cyanogen / backups for both easy to go from one to the other no problems at all.
[Miscellaneous Android Development] Lyon huntington:
download.lenovo.com/lenovo/content/sm/A1-Kernel-Source.tgz
[Miscellaneous Android Development] J_T:
Clockworkmod Recovery 5.0.2.7 for Ideapad A1, rev 3 installed and working.

Used it backup before upgrading to A107W0_A234_001_015_2643_US, and used it to install A1_Rooter.zip afterwards.

Is it supposed to be only landscape or did I mess something up?
[Miscellaneous Android Development] Whayle:
It runs in landscape mode...it makes it easier to use the power/volume buttons that way.
[Miscellaneous Android Development] J_T:
Seriously? Having the volume up/down at 90 degrees to the menus is not easier.
[Miscellaneous Android Development] gmarkall:
Fortunately, you can use home as up, and menu as down, which is a bit more intuitive.
[Miscellaneous Android Development] J_T:
Thanks Graham! I did not know that.
[Miscellaneous Android Development] multijoy:
Just a quick note (further to metioning it on IRC), that I installed CWM .8 with no problems, via CWM .7
[Miscellaneous Android Development] purloiner:
Just installed .8 with new partition tables no problems, although my internal SD card is all messed up again :eek::eek:

edit:

So I'm baffled, tried a factory reset with dalvik wipe, same problem, ext sd card is mounted to /sdcard on first boot, internal card not mounted. In CM7 settings I changed the use internal setting and after reboot ext sd card is mounted to /emmc, internal sd not mounted.

In terminal: mount /dev/block/mmcblk0p5 /mnt/sdcard gets me going again. However this was all fine before the .8 / partition table upgrade.

My vold.fstab is like this:

# cat /etc/vold.fstab

## Vold 2.0 A1_07 fstab

dev_mount sdcard /mnt/sdcard auto /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

dev_mount emmc /mnt/emmc 5 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0

I'm on the 7/3/12 build (which I was before the upgrade.)

-----

Further edit: answer, I shouldn't have installed new part tables and expected internal sd to work
[Miscellaneous Android Development] jouwheld:
Check http://xdaforums.com/showpost.php?p=23471133&postcount=409

For a link to go back to the old partition
[Miscellaneous Android Development] leggomycreggo:
Successful Root

Thanks! Installed CWM Version 5.0.2.7, then installed A1_rooter with no issues at all. Very simple process, thanks to your guide!
[Miscellaneous Android Development] madmat71:
android market & or google play

I have lenovo A1 with build

A107W0_A234_001_021_2643_SC

I tried to put update.zip in the root dir but nothing happens (following your procedure, the system goes back with the standard rom 3 alternatives)

My biggest concearn is to have android market / google play in my pad as it doesn't have it as default and I can't find a way to install it.

Any clue? is your software the solution?

THanks,

Matteo
[Miscellaneous Android Development] jpisini:
Which update zip are you trying to install?
[Miscellaneous Android Development] madmat71:
this one:

gmarkall. spiegeleixxl. de/ gmarkall/ nightlies/ cm7-a1-2012-03-18. zip
[Miscellaneous Android Development] jpisini:
You shouldn't need.to rename that. You should just use the install from zip option in cwm.
[Miscellaneous Android Development] whisky23:
Thanks very much for this thread. It's been a lifesaver. My sis got a hand-me-down A1 with CM7 installed, but with android process errors popping up when running Play. Was trying to figure out how to revert back to stock first when I found the treasure trove of info courtesy of gmarkall.

Except, I tried to install the latest official ROW rom, and I forgot to reflash the ramdisk first. Well, quite few hours later, I figured out that yes, you do need to use the 2375_ROW rom to match the ramdisk file provided by gmarkall. If you forget to flash the ramdisk, or you try to use a different rom, you will get yourself stuck in a bootloop. To update to the latest rom, install 2375_ROW, then use the built-in update tool under About Tablet.

(Note: I did not test to see if the 2375_US rom would have worked)