Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,925 Members 51,943 Now Online
XDA Developers Android and Mobile Development Forum

[Sources] CWM Based Recovery On-Screen Touch Navigation Controls [Team UtterChaos]

Tip us?
 
Napstar
Old
(Last edited by Napstar; 9th February 2012 at 10:38 AM.)
#1  
Napstar's Avatar
Recognized Developer - OP
Thanks Meter 1189
Posts: 398
Join Date: Aug 2011
Location: Pune

 
DONATE TO ME
Angry [Sources] CWM Based Recovery On-Screen Touch Navigation Controls [Team UtterChaos]

[ info ]

Hello friends!

as some of u may, or may not, have heard we have been working for the past two months on this project of getting on-screen touch navigation controls for the CWM recovery menu!

most of this work is based on the basic touch capabilities which were ported from SteamMod recovery... majority of the work was carried out by me... with some valuable inputs from my team mate DooMLoRD...


we had already released this working version on various devices which include phones like Ideos X6; Samsung Galaxy SL; SE Xperia X10, Arc, PLAY & even tablets HTC Flyer & Kindle Fire...

we finally managed to merge our sources for various devices (at least for the phones) into a common repo!
These dont currently contain sources for tablets as devices we tested on required very specific changes. We are trying to generalize them. If somebody needs it urgently, post a request as a reply in this thread. We will send them as they currently stand.

These sources are modified ClockworkMod Recovery v5.0.2.7 sources i.e. modification over CM7 git tree for gingerbread branch.


[ credits ]

a BIG thanks to koush & the CM team for their awesome work on the CWM recovery sources

sztupy for his great work on SteamMod recovery!



[ sources ]

For CWM recovery v5.0.2.7 (branch: gingerbread)




[ info for developers ]

now coming to the main part...

we have posted this thread so that it may help other developers port our work to their device... we can use this thread as a medium to communicate if u need any specific help (FOR DEVELOPERS ONLY... NO NOOBS PLEASE)... we will also share our experiences and updates on our further work on this touch based system... yes this in not the end of it...

Here is a sneak preview of the things we have already implemeted and are currently testing...



it will soon be released for supported devices...




we are well aware that koush is already working on a touch version of CWM recovery... we do not mean to compete with anyone... since we have been working on this for a while, we felt others might benefit from this and learn something new, we sure did learn a LOT ourselves throughout this project...


feel free to use these sources to port this to ur device! but if u use them kindly credit us (Team UtterChaos) and post a link to this thread from ur OP....


enjoy!


P.S.: this is not meant to be a tutorial thread on how to compile recovery from sources! there are many tutorials available for that, SEARCH!!!!
Click on the thanks button if you found this post useful
if you want to support my work buy me a beer/coffee


Member of Team UtterChaos
Android Device:
 

[ Spice Mi410 ]
Quote:
Device: Spice CSL Mi410
ROM: CyanogenMod 9 by edowar
[ Samsung I9003 Galaxy SL ]
Quote:
Device: Samsung Galaxy SL (GT-I9003)
ROM: CyanogenMod 9 Alpha6 by dhiru1602
Kernel: UCK-GSLi v15
Recovery: Touch based CWM recovery v5.5.0.4

Some of my contributions in Huawei Ideos X6 sub-forums
[ UC-kernel ] | [ CWM based recovery v5 ] | [ Recovery menu ] | [ Boot menu/Grub like menu ] | [ Android kitchen for Ideos X6 ]
The Following 41 Users Say Thank You to Napstar For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
(Last edited by DooMLoRD; 23rd February 2012 at 07:54 AM.)
#2  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 37988
Posts: 13,045
Join Date: Jul 2010
Location: Noida
[ device specific sources ]

HTC Flyer

Kindle Fire




something new that we are working on:

The Following 9 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
Napstar
Old
(Last edited by Napstar; 29th May 2012 at 09:54 AM.)
#3  
Napstar's Avatar
Recognized Developer - OP
Thanks Meter 1189
Posts: 398
Join Date: Aug 2011
Location: Pune

 
DONATE TO ME
Default Guide for porting to a new device

Guide for porting to a new device:

  1. Download ClockworkMod Recovery v5.0.2.7 sources (branch- Gingerbread) from https://github.com/CyanogenMod/andro...717598d6c74e3d
  2. Apply touch related changes from my repo.
  3. In BoardConfig.mk file from your system-device directory, if you have set some value for; BOARD_CUSTOM_RECOVERY_KEYMAPPING then apply default_recovery_ui.c related changes from my sources into your custom recovery_ui.c sources (Placed anywhere in your source tree.)
  4. Customizing recovery_ui.c for your device of interest:
  • Set TOUCH_CONTROL_DEBUG flag to 1, set maxX and maxY to 0 from recovery_ui.c
  • Compile this modified recovery and boot into recovery. Then touch anywhere on screen and note down the values printed for gr_fb_width() and gr_fb_height()
  • Open recovery_ui.c and modify resX and resY with values returned for above twofunctions.
  • Now touch extreme corners of your touch panel and note down highest X and Y values printed on screen.
  • In recovery_ui.c modify maxX and maxY to these extreme values.
  • Recompile your recovery and test it out.
Enjoy touch version of CWM recovery, made available by Team UtterChaos

Click on the thanks button if you found this post useful
if you want to support my work buy me a beer/coffee


Member of Team UtterChaos
Android Device:
 

[ Spice Mi410 ]
Quote:
Device: Spice CSL Mi410
ROM: CyanogenMod 9 by edowar
[ Samsung I9003 Galaxy SL ]
Quote:
Device: Samsung Galaxy SL (GT-I9003)
ROM: CyanogenMod 9 Alpha6 by dhiru1602
Kernel: UCK-GSLi v15
Recovery: Touch based CWM recovery v5.5.0.4

Some of my contributions in Huawei Ideos X6 sub-forums
[ UC-kernel ] | [ CWM based recovery v5 ] | [ Recovery menu ] | [ Boot menu/Grub like menu ] | [ Android kitchen for Ideos X6 ]
The Following 9 Users Say Thank You to Napstar For This Useful Post: [ Click to Expand ]
 
aaa801
Old
#4  
Senior Member
Thanks Meter 43
Posts: 180
Join Date: Jul 2010

 
DONATE TO ME
Attempting port to gt540 (5.5.0.4 recovery)
Quite some substantial source differations, but i have the first few touch patchs in place,
compiling now
 
aaa801
Old
(Last edited by aaa801; 8th February 2012 at 02:15 AM.)
#5  
Senior Member
Thanks Meter 43
Posts: 180
Join Date: Jul 2010

 
DONATE TO ME
Mhm.. i get
[UI_WAIT_KEY] key code: 330
Key: 14a
when i press on the screen which is BTN_TOUCH

Whatdo :/
 
Napstar
Old
#6  
Napstar's Avatar
Recognized Developer - OP
Thanks Meter 1189
Posts: 398
Join Date: Aug 2011
Location: Pune

 
DONATE TO ME
Quote:
Originally Posted by aaa801 View Post
Attempting port to gt540 (5.5.0.4 recovery)
Quite some substantial source differations, but i have the first few touch patchs in place,
compiling now
Quote:
Originally Posted by aaa801 View Post
Mhm.. i get
[UI_WAIT_KEY] key code: 330
Key: 14a
when i press on the screen which is BTN_TOUCH

Whatdo :/
We forgot to mention that our patches are meant for gingerbread branch (v5.0.2.8) and not for ics branch (v5.5.0.4).

There are a lot many differences between these two branches itself. So, currently these patches will not work for CWM recovery v5.5 (ICS).

We are still working on porting these changes to ICS branch.
Click on the thanks button if you found this post useful
if you want to support my work buy me a beer/coffee


Member of Team UtterChaos
Android Device:
 

[ Spice Mi410 ]
Quote:
Device: Spice CSL Mi410
ROM: CyanogenMod 9 by edowar
[ Samsung I9003 Galaxy SL ]
Quote:
Device: Samsung Galaxy SL (GT-I9003)
ROM: CyanogenMod 9 Alpha6 by dhiru1602
Kernel: UCK-GSLi v15
Recovery: Touch based CWM recovery v5.5.0.4

Some of my contributions in Huawei Ideos X6 sub-forums
[ UC-kernel ] | [ CWM based recovery v5 ] | [ Recovery menu ] | [ Boot menu/Grub like menu ] | [ Android kitchen for Ideos X6 ]
The Following 4 Users Say Thank You to Napstar For This Useful Post: [ Click to Expand ]
 
aaa801
Old
#7  
Senior Member
Thanks Meter 43
Posts: 180
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by Napstar View Post
We forgot to mention that our patches are meant for gingerbread branch (v5.0.2.8) and not for ics branch (v5.5.0.4).

There are a lot many differences between these two branches itself. So, currently these patches will not work for CWM recovery v5.5 (ICS).

We are still working on porting these changes to ICS branch.
Ye i noticed the changes, but i managed to hackup a 5.5.0.4 with your patchs applied

Are you going to be doing any more commits today?
 
eyronic
Old
#8  
eyronic's Avatar
Senior Member
Thanks Meter 76
Posts: 305
Join Date: Mar 2011
Is there a shutdown button? I read somewhere in the optimus 2x forums that it's missing. I need it because reboot doesn't work on my phone. Ramhack is messing with it. Using optimus 2x.
 
DooMLoRD
Old
#9  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 37988
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by eyronic View Post
Is there a shutdown button? I read somewhere in the optimus 2x forums that it's missing. I need it because reboot doesn't work on my phone. Ramhack is messing with it. Using optimus 2x.
the new CWM commits (from koush) have removed the "power off" option...

though u can add it to ur self:
https://github.com/DooMLoRD/CWM-Reco...ecovery.c#L784
and
https://github.com/DooMLoRD/CWM-Reco...ecovery.c#L991
The Following User Says Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
sibiru
Old
#10  
Member
Thanks Meter 1
Posts: 56
Join Date: Jun 2011
Location: Bandung
Is it working for galaxy gio gt-s5660 ?
How to make it work on gio?

Tags
p76ti
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes