[ROM][JB][UNOFFICIAL] CM10 BETA1 based port for Legend [FIX Camcording] [DEC 5]

nodens76

Member
Jun 17, 2010
38
6
28
Paris
Do you think that my reboot are due to wifi sleep ? I must admit that i change the wifi sleep after posting here. I will see that during the day.

Sent from my Legend using xda app-developers app

---------- Post added at 07:46 AM ---------- Previous post was at 07:44 AM ----------

Try it and you will see. Dont forget to backup.

Sent from my Legend using xda app-developers app
 

obscurer

Senior Member
Dec 29, 2010
57
21
28
Everything pretty well and stable.
Running even on min/max/gov. 806/806/peperformance - no freeze/reboot
Even some HD video playing almost without lag :)

Not working:
-data usage
-calculator
-Google search
 
  • Like
Reactions: zeubea

zeubea

Senior Member
Oct 12, 2011
377
1,357
0
Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
E:Missing file:
system/app/CMWallpapers.apk
E:Verification failed

Installation aborted


This is what I get now. Is there a way to fix that? Because really, I don't need those wallpapers (nor the live wallpapers.) However, it just won't install it this way ):
CMWallpapers.apk is for picking up the wallpapers for unziping it by hand, rather for reinstalling because the aim is to save the 7MB size of this app ;).

Edit -- If you want install it anyway, just add it to cm10 zip and reinstall cm10 again.


Everything pretty well and stable.
Running even on min/max/gov. 806/806/peperformance - no freeze/reboot
Even some HD video playing almost without lag :)

Not working:
-data usage
-calculator
-Google search

data usage is not in this cm10 and calculator is FC., but Google Search and Google Now is working for me.
 
Last edited:

zeubea

Senior Member
Oct 12, 2011
377
1,357
0
Okay, well. I did that now. But now I get the same problem as with CM9 Beta 5 and with CM10 alpha 1 or 2. It just hangs at the HTC logo. It just doesn't start. It's not a bootloop, where it keeps prompting (and buzzing) the phone all over again. It just hangs.

Edit: I don't know if it is clear that I managed to install CM10 now, but I succeeded.
Yes, is is clear for me you are trying install CM10 as I have told you in previous message to re-sign cm file ...

Sorry, but I don´'t idea why you can not install CM10.

Try this checks:

CWM version,
hboot version,
proper partions size /system /data /cache /boot
format /system /data /cache /boot
format sd-ext
format sdcard
 
Last edited:

zeubea

Senior Member
Oct 12, 2011
377
1,357
0
I also don't know why. I am running CM9 Beta 4 again. So I assume it's in the ROM, why else would one work, and would one not. Then again. Some people now succesfully run CM10. So then it would mean that it's a phone problem...

CWM version: 5.0.2.0
HBOOT version: 0.43.0001
S-ON
I don't know where to find the system/data/cache/boot sizes. I know that I have an eternal memory of 290mb or so. I have a 32GB SD card in it. I don't have an SD partition and have recently formated the sd card when I was trying to install CM9 Beta 5.
You should have got unlocked the hboot or S-OFF, as it is said in CM9 OP.
 

zeubea

Senior Member
Oct 12, 2011
377
1,357
0
So why can I run CM9 Beta 4? Well, I guess that's not the point. I will try if I can easily get S-OFF or have an unlocked hboot easily. Thanks for everything man :)
Note because 0.43 hoot, you can do unrevoked/Alpha-rev S-OFF and this process is reversible.

Otherwise, if you choose htcdev unlocking, it will upgrade hboot 0.43 to 1.01.0000 and then to 1.02.0000. Next, you can to do the downgrading process (or relock), but it only will be possible downgrade to 1.01.000 hboot (at least for me and this phorum, and in this device).
 

zeubea

Senior Member
Oct 12, 2011
377
1,357
0
What I am usually doing is 'volume down' - power on.
Then I go into recovery, do 'volume up' and power on.
Then I use an update.zip from my sd card and boot into Clockwork Mod Recovery.
But now I just read that when you do that, you are S-Off temporarily?

So that would mean that cm10 should be working, and that would mean that this is not the problem, right?

Edit: perhaps, if you don't want to cloud your forum with this problem, we can message. It's your call.
Hi, Marijnrombouts, as it is said in CM9 OP and several times in this thread it is assumed hboot unlocked or S-OFF.

After BETA5, kernel is switched to cryptomilk kernel, resulting in a greater kernel image, and as a result, the new boot image is greater (2.7 MB instead of 2.0MB). Because of S-ON is enabled at boot time (S-OFF is only temporally enabled during fake flash) , it is posible this size is not supported by HBOOT 0.43. I suppose this is could be a reasonable explanation of why from BETA5 is not possible to install in HBOOT 0.43 legends and it is does fine in hboot unlocked (HBOOT 1.02.0000) of S-OFF.

So, I suppose if you want builds with this kernel you must will be hboot unlocked or S-OFF.
 
Last edited:

ranger4740

Senior Member
Jan 17, 2011
1,497
447
0
Melbourne
Yes mr Z is right, I remember now something about all the system partition sizes were changed to accomidate froyo, I can't remember the exact changes at this point. The other issue could be that ics and jellybean are very large in size in comparison to say cm 7.2 and if you have too many bad blocks in the system partition it could be causing issues, our legend is getting really old now and these solid-state flash memory's don't last for ever, esspecially if your flashing ALL the time, my understanding is the storage for the rom wasn't designed to be flashed regularly but only to hold the version of rom HTC let us have.

Sent from my Legend using xda app-developers app
 

zeubea

Senior Member
Oct 12, 2011
377
1,357
0
Yes mr Z is right, I remember now something about all the system partition sizes were changed to accomidate froyo, I can't remember the exact changes at this point. The other issue could be that ics and jellybean are very large in size in comparison to say cm 7.2 and if you have too many bad blocks in the system partition it could be causing issues, our legend is getting really old now and these solid-state flash memory's don't last for ever, esspecially if your flashing ALL the time, my understanding is the storage for the rom wasn't designed to be flashed regularly but only to hold the version of rom HTC let us have.

Sent from my Legend using xda app-developers app
Yes, ranger, indeed the size of recovery partition is increased respect to original size, and this could be a reason, but this fix is previous to BETA4, so it is not clear for me if this could be the real reason for errors in installation on HBOOT 0.43. It could be this size is not set up on 0.43 HBOOT and only when it is oversized during BETA5 installation, it results on bootloopings. ¿? So, HBOOT unlocker or S-OFF are supported for this builds, because they are assumed different partition size for some partitions.


https://github.com/zeubea/android_device_htc_legend/blob/ics/BoardConfig.mk
#$ adb shell cat /proc/mtd
#dev: size erasesize name
#mtd0: 000a0000 00020000 "misc"
#mtd1: 003e0000 00020000 "recovery"
#mtd2: 00300000 00020000 "boot"
#mtd3: 0f000000 00020000 "system"
#mtd4: 02800000 00020000 "cache"
#mtd5: 0b920000 00020000 "userdata"
#BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x003e0000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000

BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00300000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0f000000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0b920000
 
Last edited:

kugel.

Senior Member
Jul 11, 2010
131
18
38
What's the difference between the normal gapps and the "small_armv6" gapps? I installed the normal one and it works like a charm.

I do have another question. I read that I have to disable the automatic wifi sleep. Can I still toggle it on and off manually or should I expect reboots from this (I remember 2.6.35-based kernels have this problem).

And one more question: How is trackball wakeup supposed to work? I executed the script, but I still cannot unlock the phone using the trackball. Instead, when I use the trackball a mouse appears and I can use it as mouse (which is totally not what I want).
EDIT: I investigated the case. After running the trackballwake script the curcial-oj.idc file is empty(!). The write was not successful, and trying to copy a correct version gives "cp: write error: No space left on device"
 
Last edited:

nodens76

Member
Jun 17, 2010
38
6
28
Paris
I took the lite gapps and in result only the play store (and now and search) was installed. Better than the full if you don't need all Google services.

About the wifi, try to change the sleep configuration it solves the bootloop on my device.

Sent from my Legend using xda app-developers app