yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] maxxer30:
Changing a gpio

How do you change the gpio's in the kernel . Is there a list because i see that when i remove my battery it says 3.5mm headset connected .

never mind other kernel works better lol
[XPERIA X1 Android Development] soham chowdhury:
hi bro! so does this mean that the screen upside down problem is resolved with this newest version ????:confused:

bt nyway u work gr8 dude !!! go fatsal....keep up the gr8 work...:D
[XPERIA X1 Android Development] shithead:
You mean with 21 Feb-version?

Yeah that was one of the biggest change ^^

And it's a lot more stable :)

Give it a try ;-) but it's not perfect (yet)

Fatsal is working on it :)

I've seen the new version on Touch Pro 2 works quite smoothly :D

So I hope it will that good too on our X1's :)

Keep up the good work, Fatsal ;-)
[XPERIA X1 Android Development] sdemon:
I like what I see so far. However there are some speed issues on my t-mobile branded Dutch Xperia. Might have to go with a custom WWE rom soon to smooth things out here.

Keep up the good work Fatsal! We can wait a little while on a perfect build! :cool:
[XPERIA X1 Android Development] vdelf:
Hi @all!

If you want to help improving android on the X1, then now you can. Download and play with the kernel-image in the attachment. It is basically a late build of the main htc-android-repos (http://gitorious.com/linux-on-qualcomm-s-msm/linux-msm/commits/htc-msm-2.6.27). I made some small changes and finally managed to activate the mic. That means, that it is now possible to use the X1 with android as a phone and talk to someone :D

Also it seems to me, that with this kernel android is somewhat responsive and keeps that responsiveness. It is not as fast as a real android-device, but quite usable. I played around (installing and testing apps) for nearly three hours and it was still very usable. So please download and unzip it and than replace the zImage on the root of the sdcard (or backup your existing one :D ). If it works well, then the mic-patch will be commited in the repos.

Nearly forgot: Please do backup your existing zImage, because my kernel breaks WiFi.
[XPERIA X1 Android Development] fatsal:
thumbs up for vdelf,

don't forget to make package for new build, like, initrd, rootfs and of course modules needed for getting wifi working.

i'm waiting for you my friends.

cheers,

fatsal.
[XPERIA X1 Android Development] wess786:
At first, when I replaced it and launched haret.exe, the 'cmd' was upside-down.

Second, could it be that it boot faster?

I'll give more feedback later, it's booting right now
[XPERIA X1 Android Development] vdelf:
Yes, that is ok, the kernel does not rotate the boot-messages. But Android is right side up. If not, slide keyboard open and close it again. It is not a fully fledged replacement, but a test if mic is working and if stability and responsivenes is good.
[XPERIA X1 Android Development] DarkPotato:
i know 1 person said this works, but can anyone else confirm that the GENY dual boot thing works withthis?
[XPERIA X1 Android Development] chrisgu:
Will be downloading and testing the new image shortly, but still looking to find out what exactly I need to do to use ext2 partition on my SD card (data/system and swap)

Any help guys.??

Thanks for all the work.
[XPERIA X1 Android Development] wess786:
Got another question, will be appreciated if it could be answered.

Is there an option to put off GPRS while on Android?
[XPERIA X1 Android Development] Reversedhex:
gprs is not working yet

edit

nevermind
[XPERIA X1 Android Development] vdelf:
Question:

Answer:

That will stop any data connection.
[XPERIA X1 Android Development] wess786:
Thank you so much :) I love the Android system on my WinMo phone :P

EDIT: Any option to put LCD off when the screen is off (Android).
[XPERIA X1 Android Development] Chaosstorm:
It does, (i tried it myself)
[XPERIA X1 Android Development] vdelf:
Hey, good news: wlan is working again :D

Download and extract zip-file to get the file modules-2.6.27-00974-gbb90acc-dirty.tar.gz. Put that file on the root of your sdcard and (re)boot android. After that, wlan should work again.
[XPERIA X1 Android Development] fatsal:
you're the best my friend...
[XPERIA X1 Android Development] fatsal:
last word...

Hi guys,

this is the last word for me to my own thread, yesterday i just lost my X1...:(

sadly i can't continue this project. may be i can help some people to continues this project (like my best friend vdelf :) -> you're the man dude).

it's nice to see and know you guys, i still have my last work for this project. and may be i can share with you guys.

i just bought HTC Magic for replacing my belove X1 :)

thank you so much to all of you guys esspecially who had donation to me, i'm still hoping vdelf can make new thread for this Android Project.

cheers, salam, terima kasih,

Fatsal.
[XPERIA X1 Android Development] vietdoan20062006:
oh, im so sad :((

vietdoan20062006
[XPERIA X1 Android Development] omnislash:
system.img

:( error " failed to find system.img on sd card /bin/sh:can't access tty; job control turned off/# "

any clue what am I missing here ??

thanks.
[XPERIA X1 Android Development] sadjad_bp:
Download Problem

I cannot download the 1.6 version, can anybody please upload it somewhere else. Thanks
[XPERIA X1 Android Development] fatsal:
you can download from here :

http://www.2shared.com/file/10116377/9d649a1f/X1_andoidOStar.html
[XPERIA X1 Android Development] Viper89:
@ Fatsal great job so far on this project. Have you seen the video of the Nexus one :), It has this feature called live image and it lets the wallpaper interact with the touch of your finger. It's sort of like the fish panel except without the fishes. I think it's only for 2.1 though but maybe in the near future you could do 2.1 also. I plan on trying your work once all the bugs are fixed along with the screen orientation.
[XPERIA X1 Android Development] sadjad_bp:
Thanks so much
[XPERIA X1 Android Development] Tremere:
Thats some great work Fatsal..

I'm thinking of porting Maemo to the X1, will have to do a lot of thinking about that

The 2.0 image seems very slow. I guess thats what you mean by beta.

edit: It appears the 2.0 os runs out of memory, why do we only boot with 72M of RAM?
[XPERIA X1 Android Development] locomarco:
Don't port Maemo, better help to finish this Android stuff :D
[XPERIA X1 Android Development] fatsal:
hi tremere,

Maemo is good, on my X1 i've got working ubuntu 8.04 with LXDE Gui.

maybe next thread i'll be post my ubuntu 8.04.
[XPERIA X1 Android Development] blitz_:
I love it =) Keep up the good work!
[XPERIA X1 Android Development] omnislash:
bump bump bump bump !!!!
[XPERIA X1 Android Development] marky01:
hi guys im a nooby at this game and getting the same error can anybody help me getting this android workin on my se x1

thanks guys

marky01
[XPERIA X1 Android Development] jwte:
Isn't it Linux your porting so when you get that to work, all linux dist work or have the porting something to do with the "box" on top of linux for example Android?
[XPERIA X1 Android Development] CowMix:
how much performance is lost when using haret as opposed as running linux natively on the x1?
[XPERIA X1 Android Development] locomarco:
Sorry, i don't understand what you're saying :p

Either my or your english is too bad :D

EDIT:

Now, after reading it a few times, i understand what you mean :p

I thought that basic linux is like a "command shell". Those distributions are something like a GUI, but it must be more like that, because there's specific software for each of them. Correct me, if i'm wrong, that was just my mind.

I wrote my own little programs in PSP Lua and i tried out some visaul basic.

So i don't know how different Maemo and Android are :D
[XPERIA X1 Android Development] ketek90:
what?? ubuntu on experia`??? very interesting. can we have it plssss... :p
[XPERIA X1 Android Development] fatsal:
marky01, use this guide :

Guide:

-Place everything into the root of your sd card for Kovsky.

It should look like this

--root--

\conf

\media

-haret.exe

-initrd.gz

-rootfs.img

-system.img

-zImage

-startup.txt
[XPERIA X1 Android Development] azrillunatic:
the screen is upside down, correct?
[XPERIA X1 Android Development] allenx1:
yes, and it will be for some time
[XPERIA X1 Android Development] omnislash:
aight compressed file has "system.ext2" it doesn't have system.img
[XPERIA X1 Android Development] lewislew:
Running an fsck on the SD card

dosfsck 3.0.1 23 Nov 2008. FAT32, LFN

Logical sector size is zero

Mount: mounting dev/block/mmcblk0pl on /sdcard failed: inva

lid argument

Failed

Failed to mount the SD Card. Cannot continue.

/bin/sh: can't access tty; job control turned off

/Bin/sh : not found

i am facing this problem...with testing 1.6

edited: i was success...it really perfect work...

but the camera cant work..others still dn know yet..

well done.. cheers~
[XPERIA X1 Android Development] ukon:
Hmm, I am sorry to hear that mate.

But Magic is a nice phone too.

So congratulations with that! :)

and I hope that someone would get it to work propperly in the future :)
[XPERIA X1 Android Development] Jonny4911:
:'(

goodbye...
[XPERIA X1 Android Development] wess786:
Bye, have fun with your Magic!
[XPERIA X1 Android Development] kn3pp:
omg.. that is sad indeed.. I do hope vdelf picks up the torch.. (plz?)
[XPERIA X1 Android Development] CowMix:
sad day :(
[XPERIA X1 Android Development] Cypher84:
Sorry to hear about your phone fatsal. So near yet so far lol, I also hope someone will pick this up and carry on the good work.
[XPERIA X1 Android Development] albertkutw:
Gee, I'm totally shocked. =_="

Hopefully, someone will be interested in taking over the project and giving X1 a second life.

God bless.
[XPERIA X1 Android Development] imperiallight:
People upset from all over the world but hopefully you will get a spare X1 to hack on in the future
[XPERIA X1 Android Development] eurosport360:
So can you still release all the improvements you made up until this point fatsal?
[XPERIA X1 Android Development] fatsal:
sure...i'm still release update. but i can't test it, but if you guys can help me to send me report. i will continue this project.
[XPERIA X1 Android Development] Reversedhex:
why dont you start a donation project, i have a spare x1 which i might sell for not to much...
[XPERIA X1 Android Development] mobilkungen78:
i downloaded the latest build 21feb etc and put it in sd card..and run haret.exe but nothing happens am i supposed to download some more files because this file is around 70mb....can someone please help and yes i hav searched but found nothing that helped me
[XPERIA X1 Android Development] nente002:
Getting android to work

For me it works.

Maybe you have some files from an early version?

That messed things up for me, so I started with a clean mem card and it worked.

I've downloaded the one from the second mirror (it has both haret.exe and startup.txt)

Hope this helped...
[XPERIA X1 Android Development] dexteral:
i agree. donations might help u buy another x1 (if not a hassle for u fatsal)
[XPERIA X1 Android Development] Chaosstorm:
perhaps he's over the xperia and went on with life :P
[XPERIA X1 Android Development] farhang84:
Hey vdelf and Fatsal,

First of all, just wanted to thank you guys for your efforts on making Android happen on X1.

Secondly, I wanted to report on the latest zImage (vdelf). Everything is super fast, but I have trouble to turn off WiFi cause the phone freezes halfway through (I use the latest module).

After I make a call, the phone freezes and sometimes the activity.dialer... pops up for "force close" or "wait". But, the sound is great, even better than my winmo Roms. The mic works great too.

And Finally, you guys rock, and let me know if you need more testing reports.

Cheers
[XPERIA X1 Android Development] maverickzero:
sound

First of all I wanted to thank vdelf and fatsal for the great work. Android is working beautifully.

Just an issue with sound: calling works perfectly, but if I try to play media (music or video) there is no sound. Is this a common issue or is there a fix for it? And Im not able to connect to internet with 3g Vodafone Live (NL) is this normal too?

Thanks in advance,

Maverick
[XPERIA X1 Android Development] stream.k20:
Wah, ilang gimana bro??? turut bersedih nih bro...

Btw, is it possible that you can share your work on x1 for me? If you don't mind :o ..... please share on my email stream.k20@gmail.com. Who knows if there's anything that i can do.... :)

chears.....
[XPERIA X1 Android Development] DarkPotato:
you can continue working, and send it to vdelf to test it :)
[XPERIA X1 Android Development] asstro_boyz:
Hi,

I'm a new at here :)

I wants to thank you for all of your hard working for the X1.

I have some problem and want to get your support.

I already follow to each step.

Now I can use Android on X1 for talk via phone and hear voice from the other.

But when I have incoming call, why does the speaker was quiet and I'm not hear some ringtone?

Please kindly support me in this case.

Thank you very much.
[XPERIA X1 Android Development] Lio86:
i agree

fatsal u Must have another X1 :D

thx for ur work on android and x1

Lio
[XPERIA X1 Android Development] Teuflor:
im blind or i really didnt find the haret to download? ...
[XPERIA X1 Android Development] rex922:
haret is in the old version get it there

the 21st feb version does not contain haret.exe ;)
[XPERIA X1 Android Development] jwte:
X1 got two speakers, one for phone call on the top and one in the left bottom for music and ringtones and it's only the one on the top who is working.
[XPERIA X1 Android Development] maverickzero:
Thx a lot for the answer. Could've imagined that...
[XPERIA X1 Android Development] navidkrkic:
CESC0RED...
[XPERIA X1 Android Development] Jonny4911:
the "root" is the root of your memory card

i.e the beginning of your memory card before you click on any folders
[XPERIA X1 Android Development] kn3pp:
root folder is the "top most" folder of your sdcard.. first thing you see when you open it in exprorer or finder..
[XPERIA X1 Android Development] ronin368:
thanks

@fatsal

thank you so much for all your efforts hope you'll have fun with your Magic as much as you made us have fun with our XPERIA X1i....

Hope some one will continue the project

all the best
[XPERIA X1 Android Development] akshaysuri2000:
please continue your android work i love it man :o :o :o :o
[XPERIA X1 Android Development] DarkPotato:
lol i say it again :P

just continue working and send it to ur vdelf friend to test out anything thats need to be tested :)
[XPERIA X1 Android Development] hotlein:
kernel build

hello,

at first of all many thanks to fatsal and vdelf.

yesterday i have build a new kernel and i used the post #2 from fatsal. now i have any questions/notes.

Q1: Is this the right URL?

4.b. git clone git://gitorious.org/~fatsal/linux-on-qualcomm-s-msm/linux-msm-kovsky.git <--- new onces

N1: doesn't work

4.c. cd kernel

Q2: With this get i the actual commits from "gitorious.com/linux-on-qualcomm-s-msm/linux-msm/commits/htc-msm-2.6.27"?

4.d. git checkout -b htc-msm-2.6.27 origin/htc-msm-2.6.27

N2: not existing option "CONFIG_HTC_FB_CONSOLE_BOOT"

FOR QUICK BOOTING :
# CONFIG_HTC_FB_CONSOLE is not set --> CONFIG_HTC_FB_CONSOLE=y
# CONFIG_HTC_FB_CONSOLE_BOOT is not set --> CONFIG_HTC_FB_CONSOLE=y

At next, i build the kernel and take it on my X1, then i delete the eclair.user.conf in the conf directory and rename eclair.user.conf~ to eclair.user.conf (is there an documentation for the *.conf available?). I believe we don't need the swapfile. Now i run xperoid. it works quikly then ever before. The screen is in the right direction, but when i touch for example top right then i start the phone app bottom left. whats wrong?

sorry for my bad english, i am an old german people.

regards
[XPERIA X1 Android Development] radzix27:
Has anybody have 'Restart' application which is usable on android with X1?
[XPERIA X1 Android Development] vdelf:
First, welcome to this forum :) Very nice first post!

Well done!

Yes, as it is the adress of the clone of the main repos fatsal made, to do special changes for kovsky.

Since a few days, the main repos contains all nessesary changes to support kovsky out of the box. Thats why i am using it now. For this repos the command looks like

git clone git://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.git

Wrong path, but git does only create one. You can specify a target directory for the repos-clone. The correct git command has to look like

git clone git://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.git kernel
or
git clone git://gitorious.org/~fatsal/linux-on-qualcomm-s-msm/linux-msm-kovsky.git kernel

But that does not affect any functionality of the kernel. :)

IMHO this will give you the branch "htc-msm-2.6.27" of the repos git://gitorious.org/~fatsal/linux-on-qualcomm-s-msm/linux-msm-kovsky.git. If you want branches from another repos, you have to clone that repos, like

git clone git://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.git

That will give you the "htc-msm-2.6.27"-branch, as it is the default.

Hmm, not sure about this one. It might help, if you do

make menuconfig ARCH=arm

and then try to look in the drivers/video/something-menu for these options.

Very nice, did you check for the differences between the two conf-files? I dont know about documentation.

try to disabled CONFIG_TOUCHSCREEN_TSSC_MANAGER That worked for me (thanks to fatsal for this hint)

[GERMAN]Du kannst mir auch gern auf deutsch ne pm schicken :D[/GERMAN]
[XPERIA X1 Android Development] Lunie:
Lovin' the vdelf. :p:o
[XPERIA X1 Android Development] vdelf:
Sadly this is still not working. We working on this. Also Headphone does not work.
[XPERIA X1 Android Development] vdelf:
Thanks!! :rolleyes:
[XPERIA X1 Android Development] wess786:
Well, I got a problem. I deleted my GPRS connection, but when I'm on android my bills are getting up again :(

//I have put GPRS off in WinMo//
[XPERIA X1 Android Development] vdelf:
tried this?
[XPERIA X1 Android Development] wess786:
To be honest, yes. But I can't find APN settings. I'll try it again. Hold on.

Great! Works, now trying to get WiFi working
[XPERIA X1 Android Development] fatsal:
eclair.user.conf

# General parameters
general{
renice=1	# Run the renice script to inprove call answering
}

#compcache related parameters
compcache{
compcache_en=1	# enable(1) or disable(0) compcache [COLOR="Red"]-> THIS IS FOR ENABLED THE COMPCACHE[/COLOR]
cc_disksize=100	# Ram swap disksize - any number between 1 to 98 should work; default is 1/4 of the RAM (24) [COLOR="Red"]-> DO NOT CREATE DISKSIZE MORE THAN 100 (MEANS 100MB) CHECK YOUR MEMORY ABOUT THIS(LATEST BUILD FROM ME IT'S AROUND 107 MB)[/COLOR]
cc_memlimit=64	# Limit the memory usage for backing swap (cc .5x known issue-defaults to 15% of total RAM) [COLOR="Red"]-> SET MINIMUM SWAP[/COLOR]
cc_backingswap_en=0	# enable(1) or disable(0) backing swap
cc_backingswap=/dev/block/mmcblk0p4 # pointing to the backingswap partition device, swap [COLOR="Red"]-> set cc_backingswap_en=0 IF YOU WANT USING PARTITION SWAP ON YOUR SDCARD AND SET 1 IF DON'T USED PATITION SWAP. THIS PART WAS ONLY PRIORITY 2[/COLOR]
}

#create swap file for compcache or linux swap
swap_file{
swap_file_en=1	# set to 1 to create swap file [COLOR="Red"]-> SET 1 IT WILL BE CREATE /SDCARD/SWAPFILE[/COLOR]
# set to 0 to del the swap file
linux_swap_file_size=128	# swap file size in MB
linux_swap_file=/sdcard/swapfile	# pointing to the swap file location ( must be /system/sd/)
}

#Linux swap parameters
#
# linux swap can only be enabled if cc_backingswap_en is set to "0"
#
linux_swap{
linux_swap_en=1	# enable(1) or disable(0) linux swap
linux_swap_partition=/dev/block/mmcblk0p4 # swap partition device

[COLOR="Red"]-> IF YOU CREATE SWAP PARTITION ON YOUR SDCARD MAKE cc_backingswap_en = 1 AND DON'T FORGET TO KNOW WHICH PARTITION BECAUSE THE DEFAULT IT ON mmcblk0p4 (means partition 4 if on partition 3 become mmcblk0p3)[/COLOR]
}

#virtual memory
sys_vm{
sys_vm_en=1	# enable(1) or disable(0) virtual memory configurations
swappiness=0	# default 60
page_cluster=0	# default 3, (0 since CM3.9.6+)
laptop_mode=5	# default 0
dirty_expire_centisecs=3000	# default 3000
dirty_writeback_centisecs=1500	# default 500
dirty_background_ratio=3	# default 5
dirty_ratio=5	# default 10
vfs_cache_pressure=200	# default 100 (tendency of the kernel to reclaim cache memory)
overcommit_memory=1 # default 0 (0=Heuristic 1=Always overcommit 2=Don't overcommit)
overcommit_ratio=80 # default 50 (% of Physical+Virtual memory to allow allocation)
}

# custom shell commands, these commands run last
custom_shells{
#echo "Hello!!!" # example
#echo "You can create your own commands here" # example
}

i hope my explanation can help you guys...

cheers,

fatsal
[XPERIA X1 Android Development] fatsal:
hi hotlein,

it's nice to see people interest with this project.

everytime we boot the android, the kernel always load initrd.gz to load MAKEDEV -> this part is to create node on your /dev directory like /dev/mmcblk0p1 -> for your sdcard and other...

if initrd.gz has been load the init will load rootfs.img into /rfs directory on your memory.

rootfs will load /bin/userinit.sh -> this file will load compcache driver like (lzo_compress.ko, lzo_uncompress.ko, xvmalloc.ko and ramzswap.ko) from eclair.user.conf (if your using eclair, donut.user.conf if your using donut).

yes that right we don't need swapfile if the build install on your NAND, we are already know NAND more 5x faster then running on your /SDCARD. so my assumption is as long as we are running on /SDCARD the swapfile is important to make android running fast like running on nand partition.

cheers,

fatsal
[XPERIA X1 Android Development] Viper89:
I'm really sad to hear this:(. Did you ever finish the live wallpapers. I was really looking forward to that?
[XPERIA X1 Android Development] fatsal:
Hi viper,

You can use livewallpaper like nexus, just downloaded on the market. It's already working since my build using eclair. Have a nice try.
[XPERIA X1 Android Development] circleofomega:
Is it absolutely safe to run this on my X1..i have a very weak heart u know..anything goes wrong and poof! Im gone....hehehe...ok, seriously, is it safe to run this??? and I have a ITJE's ROM 21895 with Sense 2.5 running on my device..so will it give me any problems???

Thanx a lot!
[XPERIA X1 Android Development] fatsal:
it's save.
[XPERIA X1 Android Development] drunken_m:
Hi!

I can also confirm, tested it on my X1i. GenY DualBOOT works like a charm. :)
[XPERIA X1 Android Development] shell_uk:
Great work! :D I so want to get an Android phone properly now after this and playing with a mates Nexus One. I want something with a physical keyboard + 1GHz processor though which I don't believe exists yet :(

Anyway, back on to this topic... A few points/questions:

- Am I missing a way to turn the screen off? Like when you press the power button when it's in Windows?

- Any tips for running faster as it runs like a pig? I know it's not going to be nippy with it's slower processor. All I've done is download the latest version + Haret from the old one + startup.txt at the top of this thread yesterday.

Thank you!

Shell
[XPERIA X1 Android Development] ukon:
Well, I think that this phone has the same hertz on it's processor as HTC magic, and it runs android just fine.

Anyways, the Moterola droid, does just have 550 Mhz processor.

But it does have full qwert keyrboard, and android 2.0.

You should check it out mate ;)

You press the hang up button to turn your schreen off. however there is still coming light from the schreen, and the phone is getting quite warm.
[XPERIA X1 Android Development] ronin368:
it's nice seeing people working together

i'm sure we can make alot of progress very soon....

Thank you all