yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] Tremere:
The system can't enter power save mode properly so its burning a bit of power even while 'sleeping'. I wouldn't say its overheating though..

As for damage there might be some if you let it reach <10% and discharge. I've let it happen a few times already :(

Luckily enough I keep a battery-powered USB charger around to give it a bit of juice now and then,
[XPERIA X1 Android Development] rohith_luffy:
waiting for the backlit keyboard tht sdandroid just released :)
[XPERIA X1 Android Development] circleofomega:
And I am waiting for the Droid X white keyboard for Froyo...:p:p:o:rolleyes:
[XPERIA X1 Android Development] lofarkas:
Indeed, I just tested it myself. Charger not plugged in when starting haret, wait for Android to boot, plug in charger; the phone started charging. One issue less to work on, I guess.
[XPERIA X1 Android Development] circleofomega:
How?? What version files are you using????

Im using the system.sqsh from the last update, but I have to plugin the charger BEFORE running Haret...:eek:
[XPERIA X1 Android Development] Tremere:
I might be confusing charging with adb debugging over usb, but I myself have had issues with charging failing to happen..
[XPERIA X1 Android Development] Celso Marques:
Just a feedback. I never needed to plug in the charger before start the haret, to get phone charging on android. I can charging battery on android in every moment...

I'm using the last update.
[XPERIA X1 Android Development] circleofomega:
Thats pretty weird..some peolpe can chrage without logging the charger in...some cant...
[XPERIA X1 Android Development] pirlano:
me too, i can re-charge phone in every moment with unplugged cable when starting haret :rolleyes:
[XPERIA X1 Android Development] sstfn:
Me too, I can charge every moment I want. :)
[XPERIA X1 Android Development] radzix27:
I also see charging icon when I plug cable in phone, but I don't know battery is charging or not ;) But icon appear ;)
[XPERIA X1 Android Development] przemhb:
Is there a chance for an ad-hoc Wi-Fi patch to be applied?

http://www.xda-developers.com/android/android-ad-hoc-wireless-network-support/
[XPERIA X1 Android Development] Tremere:
Good news everyone, I've been doing some kernel work tonight with the touchscreen and battery driver. Hopefully I'll release a new download soon, but it will have a very big WARNING to back up your data.img as I've lost it a few times in the past week testing the kernel.

http://mcbridematt.dhs.org/mobile/index.php?title=Kernel_builder_script

I'll see what I can do. I would post the request in the xdandroid thread in the Raph forum, since I haven't compiled any images from source recently, just taken theirs and tweaked things.
[XPERIA X1 Android Development] blackie333:
Looking forward to new updated version Tremere :)

Hoping for better battery live and screen sensitivity.
[XPERIA X1 Android Development] Delver26:
Good stuff, can't wait!!!

I'll be frantically tapping F5 all evening! :D
[XPERIA X1 Android Development] lancedehm:
ajaja we too!

I will buy a beer to Tremere when the battery drivers arribe! ;)
[XPERIA X1 Android Development] nurps:
Sense and a fix for the clock thingy would be great...
[XPERIA X1 Android Development] sstfn:
Good work, I will buy you a beer too. When the battery driver works!
[XPERIA X1 Android Development] ilgreco112:
Ithink the day that battery driver comes Tremere will be drunk!!! because i'll donate for a beer too!
[XPERIA X1 Android Development] jkoljo:
Well, just to get him even more drunk, I will buy him one, too :D
[XPERIA X1 Android Development] visser:
There'll be a six pack coming from me!
[XPERIA X1 Android Development] NaCoXperia:
Thank man, it works !!!
[XPERIA X1 Android Development] NaCoXperia:
Create a folder...where ?
[XPERIA X1 Android Development] lordblacksuca:
Tenes que crear una carpeta llamada Andboot en el root de la SD, y ahi metes todos los archivos, y ejecutas haret desde ahi.

Es bueno ver argentinos por aca!!!

You have to create a folder called Andboot in your SD Card root, then, you put all files there and run haret from there.

Is good to see Argentinian people here!
[XPERIA X1 Android Development] calvinfoo:
Err... the market doesn't connect. I keep getting an error. Is there something wrong?

Btw I love ur android the most though battery also lasts the longest.

Keep up the GD work.
[XPERIA X1 Android Development] Tremere:
Yes, restart your device and try again, connect WiFi immediately after bootup if you can then try market.

BTW guys Battery driver won't lower power consumption, it just means all the x1 drivers will be in xdandroids tree now :)
[XPERIA X1 Android Development] calvinfoo:
Oh thks u were right. Any chance u could improve battery life?
[XPERIA X1 Android Development] rohith_luffy:
Wat do u mean by tht? Drivers in xdandroid tree? ?

Also Is it possible to create a cyanogen based port? Widout any ext2 headache?

Last thingie .... teach us how to enable live wall papers
[XPERIA X1 Android Development] Tremere:
xdandroid is the main port for our generation of HTC devices, like the X1, Touch Pro and Diamond. phhusson from xdandroid maintains the operating system code for these devices and after 'branching' off to add some X1 support it will finally be in the same place

I won't be doing that. I hate this initrd/loopback mess. More likely I'll work out a way to partitioning on the device or distribute images for various sdcard sizes (4G 8G etc.).

I don't intend to maintain this xdandroid-based port forever, I've been wanting to start my own from Android source once the X1 works well out of the box.

I don't know, haven't tried, and from what I hear on the other Android port forums its battery and cpu eating.
[XPERIA X1 Android Development] matejdro:
I don't think live wallpapers are good idea, they would slow down it even more.

But anyway, you need to find LiveWalpapers apk file. And copy it to AndroidApps.

@tremere so after you make xdandroid work for X1, you will leave us?
[XPERIA X1 Android Development] Tremere:
No, I'll go back to what I was originally doing when the Froyo source came out, start working from that, document everything (sort of a 'learning experience') and deliver Froyo just for X1 :cool:
[XPERIA X1 Android Development] tin427:
man you are my hero!:p
[XPERIA X1 Android Development] xperiaatic:
nothing to teach :rolleyes: download, install and it works
[XPERIA X1 Android Development] wwuuwu:
Include Chinese language package?
[XPERIA X1 Android Development] NaCoXperia:
THANK YOU man !!!

And YES!. Just like you say....Is good to see us here !!
[XPERIA X1 Android Development] xperiaatic:
todays version feels quicker than before and the bluetooth finally works :)
[XPERIA X1 Android Development] blackie333:
Have some problems with proper calibration in the new build, but it has keyboard lights working, even bluetooth seems to be working, nice! :eek:

Just the speed doesn't look so fast as before, don't know why it seems slower to me.
[XPERIA X1 Android Development] otterrrr:
I'm concerned of the sms encoding problem as well

I'm also interested in sms encoding problems of asia character encoding

Fortunately, I'm ready to build 'libhtcgeneric-ril.so' you mentioned before.

Thus, if you have the sms porting in mind yet, I could provide you with build environment.

Besides, I've already heard that a developer named 'panshi' had succeeded sms service for chinese without any incorrect characters like links below.

developers.com/showthread.php?t=667775

However, The real problem is that the sms code for chinese is not public more, and we should keep logging the procedure of 'htcgeneric-ril.c' to support any other encodings for asia characters

I'd tried to log the htc ril code, but failed to get logs with LOG_TAG "RIL"

For logging the htc ril code, I tried the followings

#define LOG_NDEBUG

#define LOG_NDDEBUG

....

and run the command 'adb logcat' with my window machine.

other tags such as 'Installer', 'dalvikvm' are logged well using 'adb logcat -s Installer:d', 'adb logcat -s dalvikvm:d' respectively, but the tag 'RIL' doesn't appear yet.

Anyway, to summarize, I could help you about the build system.

However, to solve the problem, the behavior of htc sms ril code should be understood because the chinese sms code is not opened for public.

Finally, I'm currently eager to get logs related to "RIL" and "SMS_RIL"
[XPERIA X1 Android Development] lordblacksuca:
HI, i am having a problem, every time that I boot android my windows mobile clock go back to GMT time...

is there a way to fix it?
[XPERIA X1 Android Development] rohith_luffy:
thanx for the update :)
[XPERIA X1 Android Development] matejdro:
Try turning off automatic clock in android. That fixed problem for me.
[XPERIA X1 Android Development] spamam1:
clarifying OP - touchscreen calibration, WORKING portrait-mode notifications

2 (related) notes:

1) screen calibration

I wasn't sure what instructions you were referring to; maybe say "Follow the ONSCREEN instructions" (I was looking up XDANDROID install instructions =p)

2) notifications in portrait mode

I have the slide down working OK. I'm thinking that this is related to 1).

Specifically, the ONSCREEN instructions say "Top-left, Top-Right, Middle, Bottom-Left, Bottom-Right" *but* the actual boxes (each with a "+" inside it) are actually a little AWAY from the corners.

The first two (top-left and top-right) are the hardest, since you have to eyeball approximately where they *should* be.. middle, bottom-left and bottom-right are easy: just tap in the middle of the respective "+".

If you tapped too close to the TOP-right and TOP-right, may have calibrated the notification part of the screen OFF the actual screen...

*** to clarify ***

Even though the TEXT on the screen is right-side up, the SQUARES are, I guess, on some kind of overlay AND said overlay is upside down. Meaning, when the text says "touch the TOP-LEFT, the actual square appears on the BOTTOM-RIGHT.

Notice that the square is NOT at the actual bottom-right; similarly, the "top-left" should be similarly offset from the top-left. Same for top-right.

The 3rd/4th/5th squares are actually on the screen, so should be easy.

***************

thanks for the great work; trying it now!!
[XPERIA X1 Android Development] Tremere:
Thanks, I cleared the instructions up.

Hopefully someone holds the source code to tssc-calibrate so we can fix it.
[XPERIA X1 Android Development] matejdro:
Why do we suddenly have to calibrate? Touch screen was working fine before.
[XPERIA X1 Android Development] Tremere:
Before we used a calibration setting someone had dreamed up in the past - this was the msmts_calib on the kernel command line.

Now we've changed drivers to the touchscreen driver from HTC in line with all the other devices, so it needs to be done again.
[XPERIA X1 Android Development] matejdro:
It would be great if somebody that done it correctly would post its ts-calibration file. I am now rebooting my device for the third time (it would also be nice to have faster re-calibrate option than reboot and delete file) and it's pain in the ass.

Anyway, thanks for the instructions.
[XPERIA X1 Android Development] loco-:
Hmm, seems like you forgot haret.exe in the new release :D

I have a question if someone would create a ROM of this (i know it won't happen soon), would it be faster than booting android through haret?
[XPERIA X1 Android Development] Tremere:
No doubt internal NAND will be faster, but we don't know by how much..

Android really is more RAM bound and we don't have any more of that.
[XPERIA X1 Android Development] loco-:
Here you have a RapidShare.com Mirror, including Haret.exe and working ts-calibration.

rapidshare.com/files/414336444/xperia-xdandroid-20100821.7z.html

ts-calibration only:

rapidshare.com/files/414338284/ts-calibration.html

Greetings :)
[XPERIA X1 Android Development] XtriFe:
i cant get my data connection to work (no internet)... wonder whats wrong. And also... when i connect my phone to my laptop using the usb cable while androids loaded, nothing happens. Is this normal ?
[XPERIA X1 Android Development] daweeb:
After reboot you can create new APN settings (while in APN settings, press left lower button, the menu-button), but it still didn't work for me, see my post on previous page. No wifi either...

yes, this happened with older releases as well... something with the usb connection and sd-card I guess...

always boot on batterypower....
[XPERIA X1 Android Development] XtriFe:
thanks for your answer daweeb... however i did what you suggested... and i dont think its the APN settings.. i mean the phone did detect the right settings automatically (same ones that win mobile uses, which work) and it still wont connect to the internet..
[XPERIA X1 Android Development] deflex_:
Great work!!! Keep it up tremere! Thanks a lot for this release.:D:D:D
[XPERIA X1 Android Development] jnq1234:
Thank for all developer ... this is a best android i was used ( I'm come from Vietnam and English is bad ). The first time i use this 2.2, Display is Small ... i not like it. .. when i read a post edit lcdxxx 160 to 240 !!! Screen is normal ^.^, but ... Menu not work, when go to Menu, not see anything icon ... but it is not worry because i think i can use Widget or shortcut !!! ( Hope will fix in future )

How to use Data, i set right but can't use it ( 3G or GPRS ). Wifi not work and i not use market or browser to check mail !!!

Memory card is ...not see in my X1 !!! I was unmout and insert but not see !!! hixxx !!! How to see my memory card !!! How to set Ringtones !!! How to check speaker !!! Hixxx !!!
[XPERIA X1 Android Development] DonDizzurp:
how did you change the resolution? do you have a link?
[XPERIA X1 Android Development] ixemerix:
To get normal screen size change in startup.txt all lcd.density to 240, not 160

With the latest rootfs.img from here (xdandroid.southcape.org/rootfs) you can set an apn and data connection works, but screen is upside down...
[XPERIA X1 Android Development] xperiaatic:
like i mentioned before i managed to get data working through changing rootfs.img to one found here:

http://xdandroid.southcape.org/rootfs/

but if change just rootfs.img then screen is upside down and you need init file from original rootfs.img to fix that. (under linux you can just mount img and copy over what is needed, under win you need to use some kind of image file manipulation tool, i don't use win so i don't know what to recommend). i'm no dev so i don't know, maybe this fix is like fixing teeth trough anal but at least it helps testing the port.

even after that reception is quite week and connection is very poor. it is a bit confusing because older builds got no such kind of problems.

all in all, the build is quite stable and it is indeed froyo 2.2 but no miracle here most of the similar faults are present like previous dev builds (i think rough kernel is to blame). for example, battery don't last even over night all the bells and whistles turned off.

biggest surprise was defenetly working GPS, as far as i know no other xperia build has accomplished that.
[XPERIA X1 Android Development] Devaster:
charging issue still happen
[XPERIA X1 Android Development] xperiaatic:
yep, mostly all old issues still happen because they seem to be kernel related.
[XPERIA X1 Android Development] JayXon:
Great work,it's very fast, but GPRS&WIFI is not working. Hope for the next release.
[XPERIA X1 Android Development] szawel:
Hi. Good to see some 1 still remamber X1.

Really hope u can make it work.

Good luck!
[XPERIA X1 Android Development] tin427:
hey dude you're awesome!!

X1 will be an amazing phone if andriod can run on it!!!:cool:

though wm is good enough for me:p
[XPERIA X1 Android Development] DonDizzurp:
lol thanks man its so much easier to use now..this is BY FAR the best android build when it comes to stability and speed... text messaging works, calling works.. gps is giving me problems but ive got it to work..

things that are still a problem:

-wifi

-powering off device still has that crazy vibrating thing doesnt work..

-touch sensitivity isnt as nice as WM or as smooth when scrolling..

-keyboard characters arent positioned, i tried using the file from the 2.1 rom but it didnt help.. also the keyboard backlight is off, also how can i re-map the hardware keys?

from what i remember these are the biggest issues right now (for me, atleast)
[XPERIA X1 Android Development] XtriFe:
Yeah, that and the data connection not working.

Also.. im not sure how to install apps ? and what folder to save files in so i can access them from the android file explorer ?
[XPERIA X1 Android Development] gaurav_v:
Hey Firend Good Work .. hats off for you .. you did the dream coming true work for all us ..

while if u fix the bug of Internet connection then i will start using android as primary os !! cheers ..

and hope flash works for x1 ..

fingers crossed :p

thanks once again . this is killng thig for me ..
[XPERIA X1 Android Development] steadyshot:
Thank you very much for that release. I did what xperiaatic said and managed to get data connection working without the screen being flipped. This is definitely the best build. Keep up the great work! :D
[XPERIA X1 Android Development] Tremere:
Sweet, that means they are building Android with the xperia patch in now. I need to send the init patch to them when I find a way to autodetect the Xperia in init. Then you can download the next release they do :)

The data issue is probably caused by incorrect file permissions generated by the xdandroid build. I'll try again this afternoon.
[XPERIA X1 Android Development] FatTrousers:
For some reason I can only get this working with the screen upside down but screen presses where they should be, tried deleting everything & going from scratch. No luck for me
[XPERIA X1 Android Development] circleofomega:
I was out for a week and now i have no clue as to whats happening..can v run Froyo on X1??If so, HOw??
[XPERIA X1 Android Development] NaCoXperia:
Thank man, I´ll download this !!
[XPERIA X1 Android Development] jeroendh:
Data

In this version is default data over network on!

I'm using Vodafone NL, and before i saw this and turned it off it cost me €4.50.

So you be warned.
[XPERIA X1 Android Development] loco-:
Maybe this is androids default?

@Tremere: The new battery driver doesn't work properly. When i started haret the battery was at 40%. I played around with android, heard some music, checked out the market and so on. The little battery tray icon has not changed. But back in win mo it told me that the battery is at 4%.

And is the new version struggling for you, too? It feels very choppy when scrolling through the market or the menu.
[XPERIA X1 Android Development] pirlano:
I can confirme that data connection starts on! :confused:

BT finally seems to work :D

Shoutdown now really shoutdown (no reboot) :D

Usb charging doesn't work anymore with usb unplugged during start up (was working good for me in older builds) :(

System seems less responsive than older version, i prefere old layout too :(

Linpack bench: MFLOPS: 3.609
[XPERIA X1 Android Development] calvinfoo:
I have managed to make my battery last longer by

1)minimum brightness

2)getting a task manager to kill unnessecary running programs.

3)turning off all windows animation, background data.

4)(not sure if this helps) I change LCD density bck to 240.

Hope this helps anyone with battery issues...

BTW I still can't get android to detect my SD card although OI filemanger detects it. Anyone can help me?
[XPERIA X1 Android Development] matejdro:
@tremere check out this http://www.xda-developers.com/android/get-higher-resolution-on-your-captivate/ . It says that you also have to change screen density in system.prop to fix some applications not being scaled up. If we fix that issue it would be awesome.
[XPERIA X1 Android Development] Jonny4911:
Random Reboots?

Is anyone else having an issue with random reboot in android? :confused:

Its happened a few times now

twice was when i was changing the volume (using vol up/down keys)

and once just now for no apparent reason, all its doing is charging... (and the screen was off with no programs running)

When i say reboot i mean android rebooting, not the phone, it goes back to the xdandroid boot logo and loads again, and i know its restarted, because it loses signal.

:rolleyes:

EDIT: this is with the latest package (21/8), fresh data.img, nothing imported etc.

all i've done is sync my gmail contacts, install launcher pro and another market app

EDIT 2: o.O Happened AGAIN? damn, looks like i'm staying on windows mobile for a bit longer xD
[XPERIA X1 Android Development] pirlano:
i confirme random reboot and random shutdown too, old version (9/8) seems better (formatted sd card, fresh android)
[XPERIA X1 Android Development] pirlano:
just delete old data.img and edit startup.txt with lcd density you want, restart haret (it will create automatically a new data.img that includes fixed build.prop with density you edited in startup.txt) and enjoy! :D
[XPERIA X1 Android Development] matejdro:
Yeah, but some apps have problem that they don't scale from 240. So there is app in center of the screen with black border around.
[XPERIA X1 Android Development] entasy:
excuse me.i want to ask why my X1 with android(8.21) can't be charged?While it connect to the computer with the usb,it had nothing happened.
[XPERIA X1 Android Development] circleofomega:
I hate to comment in the way i dont want a reply, but if u look some few pages ago (and from a long while) it is being discussed..u have to start charging your phone BEFORE u RUN haret...make sure your blinking lights are OFF in WiNMO..otherwise u wil have a funny andriod:p:p
[XPERIA X1 Android Development] Tremere:
The lcd.density is taken from startup.txt in xdandroid builds, I won't be changing it. You shouldn't need to remove your data.img to change the screen density.

If the app is not displaying full screen its a sign the developer didn't test/code for WXGA.

As for speed, you can try the system.ext2 from the last release.

Its not really a 'new' battery driver, rather its the old one done up to work on its own. The math is the same, and it works best when you start Android while on a full battery, still charging, so it can work out what the max physical battery capacity is.

Since releasing the latest one I have found some issues with Android failing to get out of sleep mode, I'm not sure what is causing it.
[XPERIA X1 Android Development] entasy:
thanks for your answer.i did not know that because i have used the android(7.29) for a long time.It can be charged normaly so i don't know the situation of this
[XPERIA X1 Android Development] Tremere:
Also I haven't added the "charger" interrupt for the battery driver, so it could take up to 30 seconds for the AC icon to appear/disappear.
[XPERIA X1 Android Development] radzix27:
I have a problem with shu tdown, first time was good, because phone turn off, but next times when I choose "Power off" and confirm, the phone hangs and I must use soft reset with stylus :/

Bluetooth works, but the speed is 10 KB/Sec. ;)
[XPERIA X1 Android Development] Jonny4911:
yup i can confirm this too!

also using the system.ext2 from the previous release doesn't fix the random reboot...

it's wierd because it happens when the screen is off, and when its on

it happened twice again yesterday night while just "sleeping" i know because i heard the little vibrate from when android starts xD
[XPERIA X1 Android Development] calvinfoo:
Confirmed

I also have the same shutdown problem. There seem to be a bug with the shutdown process after a few times i restarted it.
[XPERIA X1 Android Development] circleofomega:
Shut down and suddenly silent mode me too...

actually the mode isnt silent, it just doesent ring sometimes...i need to plugin my headphones, play music and THEN pul out the headphones...
[XPERIA X1 Android Development] lordblacksuca:
yes, shutdown problem confirmed...

I am using the older system.ext2 becouse with the last one I lost all my icons and widgets in launcher pro.
[XPERIA X1 Android Development] Jonny4911:
i just went into battery info while charging and it says

Battery Status: Charging

Power Plug: Unplugged

.

Is that normal?

EDIT: This is in spare parts btw