Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sduvick
Old
#1  
Recognized Developer - OP
Thanks Meter 330
Posts: 857
Join Date: Oct 2010
Location: MN

 
DONATE TO ME
Default [WIP] Building/Porting Clockwork [WIP]

First off, This is not a release, it is a work in progress

As we haven't heard anything back in a while from any of the Devs, and I find myself with some free time, I'm gonna take a shot at porting CWM from the sources of the Epic4g version as well as the SGS version that had better keymappings.

If anyone who still has Clockwork installed could look under the advanced options and try using the key mapping feature to give me the keymaps of the hard buttons, that would be greatly appreciated, as I'm back on a stock recovery.
The Following 2 Users Say Thank You to sduvick For This Useful Post: [ Click to Expand ]
 
yogi2010
Old
#2  
Senior Member
Thanks Meter 275
Posts: 1,978
Join Date: Dec 2010
Location: Los Angeles, CA
Quote:
Originally Posted by sduvick View Post
First off, This is not a release, it is a work in progress

As we haven't heard anything back in a while from any of the Devs, and I find myself with some free time, I'm gonna take a shot at porting CWM from the sources of the Epic4g version as well as the SGS version that had better keymappings.

If anyone who still has Clockwork installed could look under the advanced options and try using the key mapping feature to give me the keymaps of the hard buttons, that would be greatly appreciated, as I'm back on a stock recovery.
i will have more time later, but i tried this real quick, and for each key i press, it gives a number. do you need the # for every key?
 
sduvick
Old
#3  
Recognized Developer - OP
Thanks Meter 330
Posts: 857
Join Date: Oct 2010
Location: MN

 
DONATE TO ME
yeah, that's what i'm looking for. if you can give me a list in the format:

<button name> : <Number>

that would be greatly helpful. Those numbers are what map to keys in Clockwork/android, so all I have to do is change some numbers in the build and remap a partition in fstab.
 
yogi2010
Old
#4  
Senior Member
Thanks Meter 275
Posts: 1,978
Join Date: Dec 2010
Location: Los Angeles, CA
Quote:
Originally Posted by sduvick View Post
yeah, that's what i'm looking for. if you can give me a list in the format:

<button name> : <Number>

that would be greatly helpful. Those numbers are what map to keys in Clockwork/android, so all I have to do is change some numbers in the build and remap a partition in fstab.
ok, unfortunately I can't get into CWM anymore, after a few failed Odin attempts. would have to successfully Odin and then reroot.

Sent from my HTC Vision
 
jahnbodah
Old
#5  
Senior Member
Thanks Meter 17
Posts: 113
Join Date: Jun 2009
Ill be more than happy to help get things moving...

1 - 16
2 - 17
3 - 25
4 - 33
5 - 41
6 - 49
7 - 2
8 - 10
9 - 18
0 - 67
q - 68
w - 65
e - 3
r - 11
t - 19
y - 27
u - 35
i - 43
o - 51
p - 59
a - 20
s - 28
d - 36
f - 44
g - 52
h - 60
j - 5
k - 13
l - 21
DEL -4
SEARCH -45
z - 53
x - 61
c - 6
v - 14
b - 22
n - 30
m - 38
SMILE - 54
ENTER - 29
L SHIFT - 15
ALT - 23
@ - 56
, - 48
SPACE - 63
. - 64
? - 32
MICROPHONE - 40
R SHIFT - 46
VOL UP - 42
VOL DN - 58
JUMP KEY - 7
HOME - 8
MENU - 66
BACK - 34
CAMERA - 39
POWER - 26
TRACKBALL (push) - 50

Also, if it helps, this is a cheat sheet to navigate with current buttons
BACK - VOL DN
UP - CAMERA
DOWN -6
SELECT - MIC


Hope this helps
The Following User Says Thank You to jahnbodah For This Useful Post: [ Click to Expand ]
 
sduvick
Old
#6  
Recognized Developer - OP
Thanks Meter 330
Posts: 857
Join Date: Oct 2010
Location: MN

 
DONATE TO ME
great work, this should be what I need!
 
sduvick
Old
#7  
Recognized Developer - OP
Thanks Meter 330
Posts: 857
Join Date: Oct 2010
Location: MN

 
DONATE TO ME
In trying to build, my laptop is failing to build otatools... apparently it can't build on x86 for whatever reason. I have however changed the keymaps according to @jahnbodah's testing, to what should work with vol being up and down, power or touchpad as accept, and the back button as back. I also remapped the /sdcard partition in recovery.fstab to where ours is (according to my phone) as /dev/block/vold/179:1

I will attach the build files (still labeled as epic4g) if anyone who has a good build environment (Devs, anyone?) can compile this for us?

This is not a working flashable release, don't even try to flash this.
Attached Files
File Type: zip SK4g_from_epic4g.zip - [Click for QR Code] (2.66 MB, 62 views)
The Following User Says Thank You to sduvick For This Useful Post: [ Click to Expand ]
 
jahnbodah
Old
#8  
Senior Member
Thanks Meter 17
Posts: 113
Join Date: Jun 2009
Quote:
Originally Posted by sduvick View Post
In trying to build, my laptop is failing to build otatools... apparently it can't build on x86 for whatever reason. I have however changed the keymaps according to @jahnbodah's testing, to what should work with vol being up and down, power or touchpad as accept, and the back button as back. I also remapped the /sdcard partition in recovery.fstab to where ours is (according to my phone) as /dev/block/vold/179:1

I will attach the build files (still labeled as epic4g) if anyone who has a good build environment (Devs, anyone?) can compile this for us?

This is not a working flashable release, don't even try to flash this.
If you tell me how to do what is needed I will be more than happy to do so, or point me to some online tutorials.

What software is needed? I am running win7 x64
 
mustang9438
Old
#9  
mustang9438's Avatar
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Mar 2011
Location: oklahoma city
Awesome Job man!! Glad to see some real dev work going on! sduvick....your my hero!
 
sduvick
Old
#10  
Recognized Developer - OP
Thanks Meter 330
Posts: 857
Join Date: Oct 2010
Location: MN

 
DONATE TO ME
We're not anywhere yet, it still needs someone with a 64bit computer to compile it, as after some testing, as I thought, I can't run a 64bit vm on a 32bit computer, even though that's what koush told me to do haha.

 
Post Reply+
Tags
cwm sidekick sk4g
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...