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

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,196
39,697
263
Pune
Still got same problem with gt540, no x,y only touch reconginised :/
enable debug mode and check if X,Y touch is recognized...

also on HTC devices there is a specific binary/init.rc change which needs to be running in order to enable touch screen... ntrigd or something
 

clienthax

Senior Member
Jul 29, 2010
188
52
0
enable debug mode and check if X,Y touch is recognized...

also on HTC devices there is a specific binary/init.rc change which needs to be running in order to enable touch screen... ntrigd or something
i have the debug thing turned on, just doesnt print any x,y attall :/
 

scanno

Senior Member
Mar 27, 2008
2,244
3,793
203
Arnhem
Hi,

I am thinking about giving this a try by porting this for the Advent Vega tablet. I have built CWM 5.0.2.8 from the CM7 tree. Can i merge the sources from here into the CM7 recovery sources?


Verstuurd van mijn Vega met Tapatalk
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,196
39,697
263
Pune
Hi,

I am thinking about giving this a try by porting this for the Advent Vega tablet. I have built CWM 5.0.2.8 from the CM7 tree. Can i merge the sources from here into the CM7 recovery sources?


Verstuurd van mijn Vega met Tapatalk
yes... we worked on the CWM 5.0.2.7 sources... so as long as u are on the GB branch u can easily merge the changes :)
 

scanno

Senior Member
Mar 27, 2008
2,244
3,793
203
Arnhem
yes... we worked on the CWM 5.0.2.7 sources... so as long as u are on the GB branch u can easily merge the changes :)
Thanks.. I replaced the recovery sources from the CM GB brache with the Touch version. The Advent Vega has a recovery_ui.c in its device dependent directory, so i merged this with the default_recovery_ui.c and changed the resolution values and compiled it.

Conclusion it works for the Advent Vega / PoV Mobii. I have 4 touch buttons on the bottom of the screen and can use them to navigate through the recovery menus.

The only thing is that when you browse a directory, that the text overlaps the buttons. Have to figure out way to limit the text lines so the bottom lines are not used for displaying text.

Verstuurd van mijn Vega met Tapatalk
 

Napstar

Inactive Recognized Developer
Aug 20, 2011
398
1,097
0
Pune
Good to know that.
Thanks

For overlapping text, reduce value for max_rows definition from ui.c
Or if you have your landscape mode display then follow kindle fire sources for shifting buttons from bottom to right side.

PS. Please post your thread link in this thread.


Thanks.. I replaced the recovery sources from the CM GB brache with the Touch version. The Advent Vega has a recovery_ui.c in its device dependent directory, so i merged this with the default_recovery_ui.c and changed the resolution values and compiled it.

Conclusion it works for the Advent Vega / PoV Mobii. I have 4 touch buttons on the bottom of the screen and can use them to navigate through the recovery menus.

The only thing is that when you browse a directory, that the text overlaps the buttons. Have to figure out way to limit the text lines so the bottom lines are not used for displaying text.

Verstuurd van mijn Vega met Tapatalk


Sent from my GT-I9003 using XDA App
 

scanno

Senior Member
Mar 27, 2008
2,244
3,793
203
Arnhem
Good to know that.
Thanks

For overlapping text, reduce value for max_rows definition from ui.c
Or if you have your landscape mode display then follow kindle fire sources for shifting buttons from bottom to right side.

PS. Please post your thread link in this thread.






Sent from my GT-I9003 using XDA App
The link to my thread is here:

http://www.tabletroms.com/forums/showthread.php?t=4433

Thanks for the hints. Found the max_rows in ui.c. The advent vega is a 10" tab, so it is a landscape device. Will have a look at the kindle fire sources.

Verstuurd van mijn HTC Vision met Tapatalk
 

Hammerfest

Senior Member
Apr 3, 2008
1,659
279
83
San Antonio, TX
Its a shame Koush hasn't released his source
your not joking sadly... I keep hoping to see it all the time so it can be ported over to my Hero, my HD2 or my ASUS Transformer... but the devs for these great devices cannot do skit with no source provided... I hope they take a look at this and find a way... its sad to see no source...
 

Sblood86

Inactive Recognized Developer
Apr 18, 2011
415
407
0
Middle of nowhere, Texas
Kindle fire progression help

its my personal dev. tree... but yes all changes (atleast for that device) will be pushed there...


btw Kindle Fire requires special reboot commands, that why i have created wrappers for reboot commands:
/sbin/reboot_system
/sbin/reboot_recovery
/sbin/reboot_fastboot

just create/modify those files in the ramdisk and use the reboot commands required for ur device...
So I'm looking into 2 things; the first is correct is the 'reboot recovery' option in advanced for the Kindle Fire to cause it to actually reboot into recovery instead of doing a normal reboot. For the life of me I can't find where/how to actually make this change I will admit I'm relatively new to recovery, I tend to stick to the rom side of things.

The second thing is that I'm am wondering if you would mind if I merge a fork of this directly into the cm7 tree that I have for the kindle fire (for convenience and a more complete source tree).

Thanks in advanced.
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,196
39,697
263
Pune
So I'm looking into 2 things; the first is correct is the 'reboot recovery' option in advanced for the Kindle Fire to cause it to actually reboot into recovery instead of doing a normal reboot. For the life of me I can't find where/how to actually make this change I will admit I'm relatively new to recovery, I tend to stick to the rom side of things.

The second thing is that I'm am wondering if you would mind if I merge a fork of this directly into the cm7 tree that I have for the kindle fire (for convenience and a more complete source tree).

Thanks in advanced.
I have created reboot wrappers which get executed by my custom recovery...
/sbin/reboot_recovery
/sbin/reboot_system
/sbin/reboot_fastboot

These scripts in turn execute corresponding the bootmode setting binaries...

Sure u can merge the fork into ur repos, that's why the work is open-sourced ;)

Sent from my LT18i using XDA App
 
  • Like
Reactions: nilse and Sblood86

nilse

Senior Member
Aug 14, 2011
196
574
0
Berlin
Touchrecovery for the Xperia X8

First I would like to thank Team UtterChaos for the touchrecovery
GREAT WORK

and then i can announce that the recovery is working on the X8
together with alfsamsung we managed to port it to the x8
for both screen types: cypress and synaptics

Here is the thread http://forum.xda-developers.com/member.php?u=3081601
for now only the cm7 version has it, other version will come soon
 
  • Like
Reactions: steve1000

Napstar

Inactive Recognized Developer
Aug 20, 2011
398
1,097
0
Pune
Glad to hear that.
Thanx

First I would like to thank Team UtterChaos for the touchrecovery
GREAT WORK

and then i can announce that the recovery is working on the X8
together with alfsamsung we managed to port it to the x8
for both screen types: cypress and synaptics

Here is the thread http://forum.xda-developers.com/member.php?u=3081601
for now only the cm7 version has it, other version will come soon
Hi,

I have build a working recovery based on the Kindle Fire sources. My sources are on github: CWM-Recovery-Modded-Touch-Vega.git

Link to the tread: http://www.tabletroms.com/forums/vega-rom-development/4518-%5Brecovery%5D-vega-touch-recovery-previous.html
 

nilse

Senior Member
Aug 14, 2011
196
574
0
Berlin
Stock Kernel

hey after I implemented the recovery in a kernel
i tried it for stock kernel, since not every x8 user has unlocked bootloader

everything is right, exept the touch :(
I was compiling on gingerbread branch, but i just get:
[UI_WAIT_KEY] key code: 330

the recovery is started over the chargemon file
its a tar file with: etc,res,sbin,tmp,default.prop,init,init.rc

do someone have an idea why its not working ?