Custom CWM for P505 & P506 Colors Fixed

donavan

Well-known member
May 18, 2011
582
162
0
Warning the use of certain P500 ROM (especially CM7 nightly RC1) will cause an error when flashing. This does not appear to be an issue with CWM but actually appears to be an issue with the ROM's themselves looking for the phone to be a P500 rather than a P505/P506 (or other device)

OK thanks to the effort of some folk on here for testing and a freenode user by the name of utkanos for having some serious linux kung fu, I have a custom CWM for you all. The colors are fixed but there is an issue with the buttons mapping being different than what you are used to in past CWM's.

The image file can be found at the following link.

http://dl.dropbox.com/u/71615452/Utkanos_CWM_P505-P506_v_1.0.img

Once downloaded you will need to place the file in the root of the sdcard, then run the following commands either from the adb shell or from a terminal emulator on the phone (root is required).

su
cp /sdcard/flash_image /data/local/flash_image
chmod 755 /data/local/flash_image
/data/local/flash_image recovery /sdcard/Utkanos_CWM_P505-P506_v_1.0.img
reboot recovery


Though you shouldn't have much in the way of issues I know the Thrive can be a little picky at times. Also I recommend against installing this if you are a new user and you havn't read up on things.




BUTTON LAYOUT

POWER BUTTON - ACTS AS THE SELECT BUTTON
VOL UP BUTTON - ACTS AS THE SCROLL UP BUTTON
VOL DOWN BUTTON ACTS AS THE SCROLL DOWN BUTTON
MENU BUTTON - ACTS AS THE SCROLL DOWN BUTTON
HOME BUTTON - ACTS AS THE SCROOL UP BUTTON
BACK BUTTON - RETURNS YOU BACK ONE LEVEL IN THE MENU STRUCTURE
SEARCH BUTTON - ACTS AS THE SELECT BUTTON


Know bugs:
Error message on boot. (probably not fixable but also not an issue just an annoyance)
Selecting reboot actually shuts the phone down (just power it back on)
Back Port for ROM Manager.




Source code can be found here
https://github.com/utkanos/android_device_lge_p505
 
Last edited:
Re: I need a couple of brave souls to test a custom CWM

donovan, I tried the img you posted, and it seems to work fine on my Phoenix (I didn't feel like wiping or formatting anything, lol).

The colors are fine, but the messed-up keys is definitely an issue. The screen keeps going blank and coming back, and the ++++go back++++ keeps getting disabled and re-enabled.

Also, the instructions you linked to need another critical adjustment: on our phones, it's not /sdcard, it's /mnt/sdcard.


So far, so good!!
 
Re: I need a couple of brave souls to test a custom CWM

donovan, I tried the img you posted, and it seems to work fine on my Phoenix (I didn't feel like wiping or formatting anything, lol).

The colors are fine, but the messed-up keys is definitely an issue. The screen keeps going blank and coming back, and the ++++go back++++ keeps getting disabled and re-enabled.

Also, the instructions you linked to need another critical adjustment: on our phones, it's not /sdcard, it's /mnt/sdcard.


So far, so good!!

yeah like I said utkanos is working on the keys thing. I just ran out of time yesterday to give him the information he needed. as to the instructions I used the ADB method and it worked perfectly for me. And your right no clearing or wiping necessary.
 
Re: I need a couple of brave souls to test a custom CWM

with this new CWM, to test functions. see if backup works first, then restore, after that then see if the other stuff works. youll always have a backup to go back to. just a suggestion.
 
Re: I need a couple of brave souls to test a custom CWM

with this new CWM, to test functions. see if backup works first, then restore, after that then see if the other stuff works. youll always have a backup to go back to. just a suggestion.

I have tested the backup and had no issues... didn't try restore
 
Re: I need a couple of brave souls to test a custom CWM

So, do i need to use the method in the first post to install this or can i use fastboot? sorry if it's a dumb question and i missed something.
 
Re: I need a couple of brave souls to test a custom CWM

I think either would work, though I haven't used the fastboot method myself.
 
Re: I need a couple of brave souls to test a custom CWM

So, do i need to use the method in the first post to install this or can i use fastboot? sorry if it's a dumb question and i missed something.

honestly I have no idea about the fastboot method I have never tried it. I should have another version for you all to try sometime today if all goes as planned so you may just want to hold off till I upload the new version.
 
Re: I need a couple of brave souls to test a custom CWM

I have uploaded version 2 of the beta. Please give it a test run and let me know how it work. I have been testing builds for utkanos most of the day and this one looks pretty good as far as I can tell. If everything works out the error message should be fixed for the next build and it will be back ported to be used with ROM Manager and the source code will be released.
 
Re: I need a couple of brave souls to test a custom CWM

Well, I've flashed it, but I can't restart until later today, as I'm awaiting a call.

Is the plan to keep the key bindings as they are? As long as everything works, is this essentially the final version?
 
Re: I need a couple of brave souls to test a custom CWM

It's nice to be able to use the volume keys again.

Seems to work fine, just like the previous version.
 
Re: I need a couple of brave souls to test a custom CWM

There were a few changes and still a couple more to make it stable I found a bug last night playing around with it so expect at least one more version before its final. And yes the button will remained mapped like that I think.
 
Well with fb mode you flash a recovery.img and that file there is an img right? I'll try the fb way and see if it works, will get back to you.
 
Re: I need a couple of brave souls to test a custom CWM

Anyone interested I found out that for some reason the method I was using to flash with sometimes caused some glitches. For future flashing (and I recommend reflashing) use the following code. It should work from either from adb or from the terminal emulator on the phone.

su
cp /sdcard/flash_image /data/local/flash_image
chmod 755 /data/local/flash_image
/data/local/flash_image recovery /sdcard/recovery.img
reboot recovery


****note change the recovery.img to what ever the name of the build is that is most current
 
Re: I need a couple of brave souls to test a custom CWM

Beta 3 is up for the grabs on the first post same process as before but I did give some better instruction on installing... This should be the last beta as all the major issues are worked out I hope the next release will be RC1.
 
Re: I need a couple of brave souls to test a custom CWM

This one has failed for me. It says I'm running v5.0.2.8, except that I can't choose any of the options. Pressing the search button and back button do the same thing. The power button makes all text disappear, then pressing again makes it reappear. The menu and home buttons sometimes do the same as the power button, and sometimes the move the selection down/up.

I'll try re-flashing.
 
Re: I need a couple of brave souls to test a custom CWM

This one has failed for me. It says I'm running v5.0.2.8, except that I can't choose any of the options. Pressing the search button and back button do the same thing. The power button makes all text disappear, then pressing again makes it reappear. The menu and home buttons sometimes do the same as the power button, and sometimes the move the selection down/up.

I'll try re-flashing.

odd thats what one of the eariler builds did ... maybe I uploaded the wrong file on accident.
 
Re: I need a couple of brave souls to test a custom CWM

Ok I pull the build file for beta_03 back off of my phone and renamed it beta_04 let me know if there are any issues with that version. I am definately running the build img for beta_04 so if you have issues please let me know the steps your are taking to flash and what version of android you are on could be a problem with one of them. I would like to get this wrapped up so I can work more on getting us a good kernel ASAP.
 
Re: I need a couple of brave souls to test a custom CWM

Same thing. I think I kind of figured it out, though. It only gets all messed up when the back menu gets disabled. The thing is, though, I can't figure out how or why that happens. It's kind of random; sometimes when you press a button, the back menu item gets disabled/enabled. When it's disabled, you can't actually choose anything, so you have to pull the battery to get anywhere.

Is there, like, a buffer for the keypresses?
 

Forum statistics

Threads
955,461
Messages
6,964,856
Members
3,163,282
Latest member
dobebmo1