yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S8+ Questions & Answers] ggrant3876:
I have 6-7 Substratum themes installed and I haven't found a circle battery on any of them. Hopefully soon......................................
[Samsung Galaxy S8+ Questions & Answers] dfogelstrom:
Nothing on substratum but Xposed for Nougats' Gravity Box module has it! See screenie of my S8+

Running Bodhisattva V2 theme by envy
[HTC Vox] biktor_gj:
Hi,

I was looking for info about linux ports of the htc vox (found nothing, do you know if there's anyone trying it already?) I got myself booting linux on my vox using simply haret and the linux image from the linwizard project... oh, the keypad works too, but keys are completely wrong mapped, and some simply dump error. but you get to the login screen and doesn't get stucked at all :)

It would be really really nice to get linux working fully on this phone... until then, here is the photo!
[HTC Vox] h4waii:
Excellent work. Would you mind posting some more information on how you were able to boot the kernel from haReT?
[HTC Vox] biktor_gj:
Hi!

Go here: http://sourceforge.net/project/showfiles.php?group_id=174107&package_id=199577

And download the file linwizard-0.1.0-r1.tar. Decompress that file into \Storage Card, and then decompress the initrd.bz2 file into the same folder (the initrd is in the Tar file too). Run haret from the same directory and after hitting "run", you will be booting a 7mb linux image. Oh! forgot to say, you have USB Ethernet too, so you can play a little bit more :)
[HTC Vox] cr2:
Your SD card partition is detected, so why do you run off the ramdisk ?
[HTC Vox] biktor_gj:
Simply because I got the file directly from sourceforge and I didn't touch anything (yet), but as soon as I can I'll try to make something (I guess with gpe) after remapping the keyboard...

By now, X window works too, and even with the keypad mappings wrong, if you write "fooz" and press J (J is the Enter key) twice, you will get to the shell, there you may launch X window system.

Good work from the linux wizard project!
[HTC Vox] vhogemann:
Android?

This leads to the answer...

Could we dream about booting Android on the VOX, using a custom kernel?
[HTC Vox] h4waii:
We can dream. It's a linux kernel, so licensing rules apply and it will be completely open source. Problem is, finding somebody willing to hack on it long enough to make it useable.
[HTC Vox] jockyw2001:
Excellent work, finally something new and exciting.
[HTC Vox] biktor_gj:
About Android... too soon for that. I'm more concerned by now of building a root filesystem with a graphic environment with more than a simple xterm, find information or some source for a kernel driver for the wifi (tnetw1251), another one for the TI 6300 Bluetooth controller, clean the kernel patches I've found, and build the gsm module (omap 850 and 730 cpus are pretty much the same except for the RF -850 has edge, 730 hasn't).

There's lots and lots of work to do before even trying to make Android show a bootscreen in my opinion...

Any help would be appreciated. By now, I have the kernel source, the patches for the omap 850, a root filesystem I didn't have time to try (it should work more or less) yet, the gsm kernel module source, and a bit of documentation. But I'm missing lot's of things (like a real good gpio dump wich my haret doesn't want to do), more info about the other hardware on the HTC... lots and lots of things...
[HTC Vox] biktor_gj:
Gpe Working out of the box too!

Hi, just wanted to say... Gpe is running! Well, sort of.. it hangs up a bit, keys still don't work, gsm doesn't work, I think sound doesn't work either...but hey, it's better than nothing, isn't it?
[HTC Vox] thor2002ro:
anyone knows how to remap keyboard??? if we get that working we got a shot ot this...

and anyone got usb ethernet working? i got vista and its asking for driver "ethernet handheld"

startx works too... :)
[HTC Vox] h4waii:
the acx100 project might have some infoez for patching together a 1251 driver.
[HTC Vox] biktor_gj:
@thor202ro

I do know, more or less, how to remap the keyboard, but I don't know wich keys are connected where, that's what we have to find out!

And from the usb networking, it works from linux. With the IP stored in the default.txt file, I got ssh'd onto the htc at first try. I would recommend you use linux for these things, not windows. And if you use windows, I would recommend you to use XP not vista, before you do any other thing...

you can download an easy to use livesystem from http://www.ubuntu.com
[HTC Vox] thor2002ro:
i got linux on my laptop no problem...

as for the keys we need something like "showkey"

Explanation

showkey - Examine the scancodes and keycodes sent by the keyboard. Options are -s (show scancodes) -k (show keycodes, default) -m (show keymap). This program outputs key values that the user presses on the keyboard. The program terminates when no keys are pressed for 10 seconds.

o and if you what to restart to wm without removing the bat "reboot" does the job :)
[HTC Vox] biktor_gj:
First, sorry for my english, wich is not as good as I'd want...

Yes, that's more or less what I think, but in a different way. I think the problem is in the kernel. See, this kernel is designed for a HTC Wizard. And this PDA has a quite different keyboard mapping, so some keys are missing in the layout, some do nothing, and some dump a kernel message, and I think what I must change is in here:

linux-2.6.16.27/arch/arm/mach-omap1/board-htcwizard.c

+	KEY(0,0,KEY_RECORD),

+	KEY(0,1,KEY_CAMERA),

+	KEY(0,2,KEY_PHONE),

+	KEY(0,3,KEY_VOLUMEUP),

+	KEY(0,4,KEY_F2),

+	KEY(0,5,KEY_MAIL),

+	KEY(0,6,KEY_DIRECTORY),

+	KEY(1,0,KEY_MENU),

+	KEY(1,1,KEY_COMMA),

+	KEY(1,2,KEY_M),

+	KEY(1,3,KEY_K),

+	KEY(1,4,KEY_OK),

+	KEY(1,5,KEY_I),

+	KEY(1,6,KEY_U),

+	KEY(2,0,KEY_RED), // FIX ME

+	KEY(2,1,KEY_TAB),

+	KEY(2,2,KEY_N),

+	KEY(2,3,KEY_J),

+	KEY(2,4,KEY_ENTER),

+	KEY(2,5,KEY_H),

+	KEY(2,6,KEY_Z),

+	KEY(3,0,KEY_SPACE),

+	KEY(3,1,KEY_L),

+	KEY(3,2,KEY_B),

+	KEY(3,3,KEY_V),

I think this is completely wrong... at least for my phone. But, my haret doesn't deal too well with it (maybe it's because of the cooked rom), and it looses connection once a while, and cannot get to debug where the keys are...

Workin' on it!
[HTC Vox] thor2002ro:
and how are going to edit those ... those dont look linke key codes at all... there got to be an config file somewhere...
[HTC Vox] biktor_gj:
There's the problem. And with that, the other problem:

Welcome, this is HaRET 0.5.1 running on WindowsCE v5.2

Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF

Detected machine Generic TI OMAP/OMAP850 (Plat='SmartPhone' OEM='HTC_S710')

CPU is ARM ARM arch 5TEJ stepping 3 running in system mode

Enter 'HELP' for a short command summary.

HaRET(1)# dump gpio

line 1: No dumper gpio available, see HELP DUMP for a list

So, it doesn't work. Tried with versions 0.5.0 and 0.5.1. Didn't find anything newer than that, and I don't know how to do it in another way...any ideas?
[HTC Vox] thor2002ro:
you can try watch GPIOS 10

and look here for haret builds http://www.handhelds.org/~koconnor/haret/

it seems like dump gpio is not present in curent builds anymore...

i cant get ssh to connect it asks for password i tryed passwd to se password didnt help....
[HTC Vox] biktor_gj:
There's no password on that build, just use root as the username, press enter when asked for the passowrd, you're in.
[HTC Vox] thor2002ro:
~ $ cat proc/bus/input/handlers [J

N: Number=0 Name=kbd

N: Number=1 Name=mousedev Minor=32

~ $

~ $ cat proc/bus/input/handlers [J d[16D

~ $ cat proc/bus/input/devices [J

I: Bus=0000 Vendor=0000 Product=0000 Version=0000

N: Name="omap-keypad"

P: Phys=

S: Sysfs=/class/input/input0

H: Handlers=kbd

B: EV=3

B: KEY=6400 1 0 0 0 0 84100000 280 8400800 c0000 0 1e0ff07f d3ffc000

i think he uses kbd to map keys

but thers a bigger problem how do we make the sistem rw.... not just read only?
[HTC Vox] knedlyk:
Thank you very much for the complete info! I will try to make some experiments and post results here.
[HTC Vox] knedlyk:
@toasty_, one more question, how did you get Fn and numerical keys to work?
[HTC Vox] m32:
did U think about new target - instead of gene - use vox ?
[HTC Vox] toasty_:
Num-keys:

I got only the key codes (for NUM-keys). I've connected them with the standard linux Signal, but they aren't recognized by Android. Maybe its waiting for annother Signal... don't know. Same for the FN-Key... Sorry

If I have some free time, I'll do some experiments on this. But at the moment I'm busy.

this wouldn't be difficult, but its only useful if it's included in the wing-project or any other.

Bye
[HTC Vox] knedlyk:
Then my question redirected to @m32: does Fn and numerical keys work for you? And how???
[HTC Vox] m32:
Keyboard maps are in kernel/drivers/char/*.map

Regenerate defkeymap.c :

loadkeys --mktable defkeymap.map > defkeymap.c

Change from KEY(6,5,KEY_LEFTSHIFT) to KEY(6,5,KEY_CAPSLOCK) - capslock is available, but KEY_LEFTALT, KEY_LEFTSHIFT - has no effect - still trying.

m32
[HTC Vox] knedlyk:
@m32: Thanks for pointing that out! I will try to compile kernel again.
[HTC Vox] m32:
With proper defkeymap.map FN - works like ALT on my PC :D

m32
[HTC Vox] knedlyk:
So far so good. Caps lock works - it is OK. I noticed that the top keys raw (.,q,w,e...) is shifted for a one key left. And Fn keys still doesn't work.

BTW, after each "make clean" I have to generate default map file. It seams to me that uncommenting option GENERATE_KEYMAP := 1 in kernel/device/char/Makefile can do the job, how do you think?
[HTC Vox] m32:
KEY(6, 6, KEY_LEFTALT) should map to:

keycode 56 = Alt

# in defkeymap.map

keycode 56 = Alt

keycode 34 = g

alt keycode 34 = six

Remove defkeymap-htc* and #idef CONFIG_HTC* * #endif in makefile

because defkeymap.c depends on defkeymap-htcherald.c too (#ifdef CONFIG_MACH_GENE100)

m32
[HTC Vox] toasty_:
Hey great, I will also try it.

Has somebody managed gsm. Don't know if its allready included and only "ril" lib has to be adapted. For wing (elf, wizard, ...) it seems to work... But I havn't experimented for a while - atm I'm out of spare time...
[HTC Vox] m32:
properitary code is required to enable bluetooth, wlan, camera:

http://miano.us/android/properitary

howto use on G1:

http://libreplanet.net/wiki/Freest_hardware_comparisons/proprietary_G1_files

vox has different keyboard layout than any other model - so changes are required also in android key mapping for other than 2 runlevel:

http://www.kandroid.org/android_pdk/keymaps_keyboard_input.html

m32
[HTC Vox] m32:
wont work on vox :)

whole keyboard is now properly mapped in runlevel 2 - (networking mode without gui)

android: fn+keys require more changes - in qwerty.kcm like numpad keys on primary keyboard

new: slide_kbd works :) thanks to darkstar62, power button is properly mapped but ignored by android

N/VOL(up|dow)|RECORD|CAMERA - unchanged due to sending multiple keycodes at single click

m32

PS

1. binary download from: http://vox.trisoft.com.pl - available from 13.12.2009

2. next version (I hope) will be available from wing-linux distro

3. current diffs - http://sourceforge.net/apps/trac/wing-linux/ticket/40
[HTC Vox] m32:
runlevel 2:

space = space or | (with fn)

m = m or n (with fn)

1 = 1 or < (with fn)

3 = 3 or > (with fn)

_# = n

runlevel 4:

space = space

m = m or n (with fn)

1. binary download from: http://vox.trisoft.com.pl

2. current diffs - http://sourceforge.net/apps/trac/wing-linux/ticket/40

3. android qwerty.kcm.bin - adjusted for vox

m32

PS

I have aleso modified PATH - now includes /usr/bin:....

#>su - pass is: wing

#/>reboot - will halt android

kill_android also works
[HTC Vox] xcasex:
so anyone figure out how to close down apps & dialog windows on android yet? :D
[HTC Vox] cekvox:
hi,

thanks in advance for your work ...

now i can run android on my vox too.

how can i help in dev and test ?

in my test i see that sim is recognized and i if i try to call me

something appens but then hang up android.core ..etc...etc

as xcasex ask ... i cant close app ...

bye !

cekvox
[HTC Vox] Toasterson:
Great Work thanks

Hi

Have Installed and Tested your little Kernel. Seems to boot and work fine but the Menu keys seem to send multiple Keytrokes and the dont realy work. I Remember that the Original Poster (Cant remember his Name right now) had a Version of the Key mapping were The Menu keys Work.

Anyway Great work hope for more Releases and if you want me to Test some stuff yust Say it.
[HTC Vox] m32:
:) find and use docs about hw components - like swcu050d.pdf, write driver or app and push patches to wing-linux.sf.net

F1 in win nomenclature should go to previous menu - close app(s), since I'm interested only in linux console, so ask others - biktor_gj or make own release of android with more informative apps :)

m32
[HTC Vox] cekvox:
so you're focusing in linux porting, not in android ?

in both case we need to dev driver fot specific

vox hw (wifi,radio,etc...) ?

android doesnt' came with generics drivers supported by vox ?

does we need to write from scratch ?:(

close app sample :

i think i need to map a key to close/back signal. right ?

in this case can i modify keymap file and associate th red button pad with F1 signal ?!??!?:confused::confused:

sorry fro questions but i'm looking for a starting point ...

so you are working in run level 2 not in 4 ?

you specify this from the default.txt ?

tnx

vu
[HTC Vox] m32:
yes, generic drivers are written for generic hardware - processor, sd, lcd, but keyboard in vox/typhoon case seems to be bit different,

gsm/bt/audio/wlan - is a mixture between code from firmware/generic code and code stored in radio rom - not so easy

F1 is mapped to F1 - but it goes one screen back - looks like close, but for bussy app dosnt work as close

try terminal in android, type exit (like in linux) - application should close ... and terminal is still on top - then press F1 (back to menu)

there are two places where remapping occurs:

1. defkeymap.txt - mapping at kernel level

2. qwerty.kcm.bin - in android

last number is a runlevel - like in standard linux

2 = multiuser without gui

4 = multiuser with gui

m32
[HTC Vox] justchirag:
android on vox

hey,

lovely work by everyone here..

im rather nave but tryin to play a lil too.

i'v tried running android on my vox but im struck at the following error:-

mount: mounting /dev/block/loop0 on /data failed: Invalid argument

Failed.

:mad::mad::confused::confused::(:(

pl help.
[HTC Vox] Toasterson:
Looks like one of the Arguments is not Valid^^

Is that the Whole command the init file sends?

If yes then Im a little bit confused. I dont think the Device /dev/block/loop0 realy exists i havent got such a device on my VOX.

can you post the ls of /dev and the ls of /dev/block?

Would be interesting.

Greetings Toasterson
[HTC Vox] justchirag:
im a lil new wit linux too..

though, im nt sure i cn shoot ls in my vox at the point as its printing garbage on any keystroke..

Following is the snap of the error.. hope it helps.

Thanx.
[HTC Vox] Toasterson:
Have you realy used m32's Kernel and initramfs ? Otherwise Android wont work.
[HTC Vox] justchirag:
jus to make sure...

i'v come a long way trying combination's of zImage n init files..

cn u pl provide me wit the link.. i'll download and try again !!

Thanx.
[HTC Vox] Toasterson:
The Links were 1 page back^^

These are the init and Kernel Files, you need a Rootfs Image wich is ext2 cause the Kernel only acepts this as rootfs. If it still doesnt boot try Wing Linux and change the Kernel to the one from m32 this worked for me.

Greetings

Toasterson.

ps. Im still categorized as new User and therefore not able too post links
[HTC Vox] justchirag:
stil nt wrkin...

it says

mount: mounting /dev/ on /mnt failed:Invalid argument.
[HTC Vox] justchirag:
but...

the keyboard is wrkin fine.. lovely job !!!:):):)
[HTC Vox] Toasterson:
Well it would be bad if it wants to mount /dev/ somewhere^^

Looks to me like an invalid init file try to make a new initramfs with an Correct init file.

Greetigs Toasterson
[HTC Vox] justchirag:
wing linux

hey,

got winglinux from else and its wking.. an acc. jus boots to the desktop... nothin happens from there cnt use nothin !!!!
[HTC Vox] m32:
You have stored files in non acceptable place - proper one and only one is \Storage Card\linux

just unpack vox.zip in this directory - run haret-0.5.3, press enter, depending of default.txt You will get gui or tui of android working on vox

m32
[HTC Vox] m32:
Hi,

:) some path are stored hardly in knernel or initrd - read first message from dmesg - can't stat/open file in ... - so they have unpacked linux in wrong place

m32
[HTC Vox] m32:
boots and dies in hardware and keys are useless :)

just because You have downloaded an image not for vox - but for wings, gene ....

m32
[HTC Vox] flyboyovyick:
I got android working.

keyboard map an evrything!

couldnt tell you were i got it from though. (i forgot)

flyboy
[HTC Vox] toasty_:
just use the actual wing basefiles and change the kernel to this one.

D-Pad and also the most key should work.
[HTC Vox] m32:
I have build kernel from source with some patches (http://sourceforge.net/apps/trac/wing-linux/ticket/40)

qwerty.kcm.bin i have patched by hand - it should live in http://lrk-python.googlecode.com/ :) but isnt.

m32
[HTC Vox] m32:
added to svn
[HTC Vox] ktutza2006:
nothing new about android on vox? was the call/bluetooth/wifi fixed?
[HTC Vox] m32:
rather dead topic - there is no interest to run android on old htc phones like vox - from my side it was only test - to see console and perform some basic gui operations

:) - vox on wm 6.x is still rendering video better than - 600mhz samsung

m32
[HTC Vox] irpwnz:
AppUnlock

guys do you think this would work on the Pantech Matrix Pro?:confused:
[HTC Vox] warsoul:
Hi there guys/girls ... i just saw a video on youtube and that person simms to boot android 1.5 on his VOX ...

Does anyone knows from where i can download Android 1.5 and how exactly i have to flash it on my VOX ? i'ved been searching for some days on internet something regarding this and no luck at all ... just got some versions of Haret but my phone said that could not open the particular version of Haret .

anyone have a link from where i can dowload a tested and working version? Thank you .
[HTC Vox] nitin1599:
Can any one bring life to this dead topic..?

Please i really wanna see my HTC S710 working on android
[HTC Vox] Nigel1904:
Has anyone got explicit, step-by-step guidelines on how to get Android to work on an HTC s710 vox, I have been reading through this thread, and it just went dead. Great job to the guys that started it out, but has anyone followed through? Please help.
[HTC Vox] cyberdemon93:
where do i get default.exe file for htc s710???
[HTC Vox] lomo2002:
promising

hi guys,

it is promising, but it looks like it need a litte bit more adjustments and stuff. I hope some of the developers get this OS to be runnable on VOX. I love Linux's stability.
[HTC Vox] h4waii:
force remount to rw and chmod everything
[HTC Vox] biktor_gj:
Anybody has an HTC Wizard to test a kernel with it? I'm building a custom kernel, and it compiles, but doesn't boot on the HTC Vox, but I'm not sure if it would boot on anything else, and it would help me trace this...
[HTC Vox] biktor_gj:
@Thor2002ro

Okay, I'm starting to have the keyboard thing. I'm testing against a kernel wich doesn't finish booting (I think a problem with the mmc), but I've checked my theory about the keys and it was quite right. I have remapped all keys except the direction keys, pad center key, and voicedial and poweron keys, wich I haven't found the position. Still, working on it! (just to let you know I'm still with it...)

As soon as I get something working right I will post results!
[HTC Vox] h4waii:
once I get my new microsd, I can be of more help. until then keep up the good work!
[HTC Vox] biktor_gj:
Slowly, but progressing a bit.

Hi,

First the good news:

Keyboard mapping has been corrected, now most keys do what they should, except for Power, Voice Dial, arrow keys, D-Pad Center key, sliding keyboards' softkeys and the "N" key.

Sound seems to work too, but I'm not too sure about it as I cannot get to boot the rest of the operating system.

And the bad news:

Kernel doesn't work. It's not my mess, it does compile, and it boots, but get's stucked after passing control to Init. I don't know why that is, but I'm pretty sure it is because I'm missing some kernel patch wich I haven't found.

The first kernel I tried (wich I found on linwizard-0.1.0.tar.gz), got to boot, but release date was October 2007, and I haven't found any patch wich makes me get a kernel image like that, so I started from a base kernel with the same version.

Here's what I've done (if anyone is a linux geek feel free to correct me, or help me, or something else, I really *can't* do this all on my own)

1. Got a 2.6.16 kernel from www.kernel.org

2. Patched the kernel with two Omap patches:

patch-2.6.16-omap1

patch-2006-08-15

3. Then I patched the result with the initial release for the HTC Wizard:

htc-wizard-20060815

When you do this and you compile the kernel, you get a kernel wich does boot, but get's stucked when passing control to Init (that's exactly the problem).

4. I modified the board-htc-wizard.c, to include the key mapping for the HTC Vox keyboard. Keys respond, and do what they should, except for the keys mentioned above. I think those keys don't work because of a bug on the kernel, or on the patches I applied, because, "n" key for example, acts like if you pressed four or five keys (even if it ends up writing the "n" key in the end), seems like a switch without the "break;" command or something like that...

Thing is, I cannot find any suitable kernel source that actually *works*, to keep on developing, and as I know almost nothing about HTC vox, neither about the linux kernel (even if I quite understand the things I've seen) I don't know how to keep going... and the LinWizard project seems like... a little bit dead, and I don't know if they'll make another release, or if they have more patches apart from these two that I have found:

htc-wizard-20060815

linux-2.6.16.27-htcwizard-20071227

Any ideas?

PS: If you need sources, patches, whatever, tell me! I will upload them wherever you want (xda devel ftp?)
[HTC Vox] makaveli86:
is it safe to assume if we get linux to boot instead of WM6 it'll run a lot faster? biggest fault on the vox is the speed (or lack there of) will take a lot of tweaking, but hopefully we cna get to a point where its actually better than WM6? or is this wishful thinking lol
[HTC Vox] StefanHamminga:
I'd like to give this a shot, I'm not an embedded linux guru, but compiling a kernel isn't that hard.

Can you attach your .config file?

I just got a vanilla 2.6.24.2 and patched it for the TI Omap 1 platform (I attached the patch here).

I also ripped a .config for the TI P2 developement board, I'm using it as a basis now. Perhaps we can include a new keymap, instead of hacking the wizard one?

PS. Some links:

http://www.muru.com/linux/omap/patches/ <= Here you can find the generic OMAP patches, very up to date!

http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 <= Newest stable kernel source

http://www.handhelds.org/~koconnor/haret/ <= Haret updates

http://omap850.om.funpic.de/downloads/wizard/ <= HTC Wizard 'board' patch (I'm currently analizing it, to use as a basis for a S710 board patch).

http://msdn2.microsoft.com/en-us/library/bb500930.aspx <= RNDIS template from MSDN

<edit> I'm having trouble getting the 'Ethernet Gadget' driver to work under XP x64... The driver needed to have the PID changed from A4A2 to A4A1 to get recognized. Driver did not start (code 31). After a lot of digging around I found out Microsoft publishes a template on MSDN. I used that one, but it too results in an error (Code 10).</edit>