yashsingh1/xdaforums huggingface dataset:
[XPERIA X1 Android Development] nikosddesign:
I was wondering if it was battery almost dead or a problem with last commits.

So it was just my battery. Cool.

Btw, if someone want to thanks in spending 9€ to buy me a battery, you can send me private message and i will give you a postal adress :) ... but i dont want to open a paypal account, collect money and buy the battery. No time to spend on that.[/QUOTE]

I have two xperia x1 and a phone is broken screen.

and I'm from GREECE. happy to donate the battery. but someone to pay and Courier

[/IMG]
[XPERIA X1 Android Development] skas_2002:
http://www.ebay.com/sch/i.html?_nkw...hipping&_osacat=0&_trksid=p3286.c0.m270.l1313

5-15$ depending on a seller and shipping is ALWAYS free from China :) Quality may be questionable. But 5$.
[XPERIA X1 Android Development] ashwin1234:
Edit: I was wrong :(
[XPERIA X1 Android Development] Fennesz:
Actually they both share the same battery type. So skas_2002 is right. Take a look at Wiki
[XPERIA X1 Android Development] ashwin1234:
Ohh, had no idea. Just that most of those links had it with the X10 cover which just increases the cost unnecessarily.
[XPERIA X1 Android Development] zargloub:
Hi, thank all for your proposals, Elibl said he send me one.

I didn't realied so many people were using this kernel.

So i have a wonderfull phone for everyday (Defy+ is a good choice), and when i'll have an alive battery and some time i'll continue to work on the kernel.
[XPERIA X1 Android Development] ryo2456:
So nice to hear that.

and congrats you got a great phone.
[XPERIA X1 Android Development] zargloub:
Received battery today.

Thank's a lot Elibl !
[XPERIA X1 Android Development] kerfooly:
desperatelywaiting for a kernel update

from 1000 Xperoid users
[XPERIA X1 Android Development] zargloub:
For now battery is still near the x1 on my desk. I got it back from my daugther,

Lot of work this month, but i'll have a look as soon as i'll have some free time. Don't worry :)
[XPERIA X1 Android Development] jaimitop:
hi boys, I just can say that u are the best. What a big work you're putting on these projects for old faithful X1.

I have been testing 2 NAND ROMs , and here is what I found (<b>+</b> is good, <b>-</b> is not so good). Both are latest versions available (as of apr 15)

cyanogen 7

+ fast

+ stable

+ soft on battery

+ low overheat

- cannot install new keyboard (weird...stuck and reboot)

- hang wifi suspend

- no phone in Bluetooth (music is ok, but no sound with bt when answer a call)

- no USB storage

- cannot install new launcher (weirder...no boot stuck on adndroid screen)

icedroid

+ USB storage ok

+ can change KB / launcher

- hard on batt life

- a lot of overheat even with WiFia and data turned off

- slow / sluggish

I have 2 SD cards, one boots (16GB Kingston Class 2), one not (4GB Kingston Class 4), happens the same in both roms.

So, why not take good things from both and make a better one?

I don't know much about android kernel, or how can i explore/modifiy packaged OS, so i can't put any work to it (if u know about docs about this, you can send me a link or two if it's no toruble for you).

Thanks a lot again. U rocks!!!!
[XPERIA X1 Android Development] Elibl:
@jaimitop did you try my guid (last page icedroid thread) for the sdcard that doesn't boot?

Gesendet von meinem Sony Ericsson Xperia X1 mit Tapatalk
[XPERIA X1 Android Development] jaimitop:
Yes, I did

Did not work in any of both ROMs
[XPERIA X1 Android Development] mudenza:
Hi what has happened to kernel development?
[XPERIA X1 Android Development] neoofoox:
No one is working on that...
[XPERIA X1 Android Development] zargloub:
Hi,

I'm currently on hollidays.

The brand new battery sent by Elibl is waiting for my return, on my desk in Paris near the X1.

I think i may have some time to work on the kernel before the end of the month.

Don't worry, i'll post here new version ... :)
[XPERIA X1 Android Development] aloysius987:
ON holidays... angry that you can have holidays, i have school lol...
[XPERIA X1 Android Development] Elibl:
i've got good news for you zargloub you don't have to search anymore in kernel for sdcard boot issue as boot works flawless with your kernel in ics so have nice and relaxing holidays ;)

EDIT: btw i had some reboots/freezes from time to time with the lastest kernel like you told zargloub...

EDIT2: reboot after unplug, useless battery data...

EDIT3: and battery runs too low i think (red led under power button when plug in after complete run down)
[XPERIA X1 Android Development] Elibl:
hy,

i found something maybe interesting: it's the se oem driver for our battery chip for 2.6.29... x10 uses the same battery and is native android... maybe you already know that... and here is the driver (not ds2746 but max17040): driver maybe you can get how things work from there... if it's only temperature... i already tried to use this driver by replacing it with ds2746 and finally got it already compiled (i just threw things together not that easy as it uses other i2c_read/write functions and gets CHARGE_TYPES not from pda_power.h but from usb... a lot of things needed to be added to compilation / *.h files) android boots but couldn't find power_supply struct paths don't know where's the issue and how to go on...

but i just wanted to point you at that driver you can have a look if and how it could help...

and something is still wrong with mic in call... especially when the phone is busy there is no mic after incoming call acception... and with headset it's always disabled and disables itself when going to sleep (all during call)

all the best ;)
[XPERIA X1 Android Development] Elibl:
for mic it's maybe something with mic_endpoint functions in amss_5225.c...

and could you map in your repo right silver key to android KEY_SEARCH that'd be nice cause as it's KEY_POWER we can't change it with keylayout file (*.kl) thanks in advance
[XPERIA X1 Android Development] zargloub:
Key search : done.

Edit : Do you have a way to reproduce mic problem without SIM card ?

If you have one, i could have a look.
[XPERIA X1 Android Development] Elibl:
ah you're back in the game nice ;) and thanks...

hmm... right you have no sim anymore i forgot it looks like it only happens at incoming call therefore no :cool:

just out of curiosity how long does the battery last?
[XPERIA X1 Android Development] zargloub:
So if someone have a way to reproduce problems with my X1 without SIM card, i'm interrested.

The brand new battery have an incredible life, about 3 days (of course without gprs)
[XPERIA X1 Android Development] radzix27:
You mean battery life in WM or Android?
[XPERIA X1 Android Development] zargloub:
Battery life is ok.

I was meaning for mic.
[XPERIA X1 Android Development] Light_Sephiroth:
Glad you are back Zargloub.

I'll test your new kernel tomorrow, since this afternoon i have a test at university, iìll let you know if i find something interesting for the mic problem.

:D
[XPERIA X1 Android Development] djkarl:
your work on bring android to our old devices very much appreciated guys, i still hold out hope that one day we can have fully working nand rom
[XPERIA X1 Android Development] gaurav_v:
keep up the good work ...

---------- Post added at 02:22 AM ---------- Previous post was at 02:18 AM ----------

sry i am no active contributor to our xperoid project but it was always good to get in touch wit kian (kerfooly) neo zarglob and alex ..... thx
[XPERIA X1 Android Development] Light_Sephiroth:
Hi, everybody.

Yesterday i installed Icedroid and your new kernel.

The first thing i can tell you is that battery has improved, now it lasts at least 4 hrs more, with a total of 23hrs on gprs/edge active only when the screen is on thanks to Simple Battery Saver.

Then i noticed that charging is now accurate and it shows 100% only when it is really completely charged.

I'm trying to figure out how to reproduce the mic problem, maybe i'll try downloading some recording apps..

I have two OT questions:

@elibl: how do you solve the problem of booting with sdcard? EDIT: Thank you!! :)

@everybody: Is there a way to remove the noisy vibration of the phone when i turn it off?

It's really a pain in the a** when your family is sleeping at night and you turn off the phone making more noise than an helicopter.
[XPERIA X1 Android Development] Elibl:
sdcard boot fix

Gesendet von meinem Full Android on Kovsky mit Tapatalk
[XPERIA X1 Android Development] Light_Sephiroth:
I think there is a wrong value in the minimum voltage when you turn on the device: The phone never turns on if the battery is under 37-39%.

I don't know if it is kernel or LKBootLoader related (I have the 28/4/12 version of the bootloader)
[XPERIA X1 Android Development] zargloub:
Hi,

The register modified by linux is the acr, and if percentage is about 30, this register is not at a very low value.

So it might be a problem with the bootloader.

I'll have a look. Do you know what is the repository used to build the X1 bootloader ?
[XPERIA X1 Android Development] squallvai:
I think we should ask Sp3dev for the repository
[XPERIA X1 Android Development] sp3dev:
obviously

https://gitorious.org/lk-msm7200a-htc-wince/lk-msm7200a-htc-wince/trees/master

and

https://gitorious.org/lk-msm7200a-htc-wince/tinboot-for-lk-xda/trees/master

and messing with bootloader won't help much
[XPERIA X1 Android Development] Elibl:
for me it boots under 30% but looking at lk would be a nice thing cause i think it makes some problems for your battery driver.

here's repo:

https://gitorious.org/lk-msm7200a-htc-wince

build.sh you will get from here:

https://gitorious.org/~acl/lk-msm7200a-htc-wince/acls-lk-msm7200a-htc-wince/trees/master

EDIT: hhmm too late^^
[XPERIA X1 Android Development] squallvai:
thanks for your fast respond
[XPERIA X1 Android Development] Light_Sephiroth:
june, 19th 2012

Turning off autofocus was a good idea, now we can actually take photos with the camera from long, medium and short distance! :D
[XPERIA X1 Android Development] squallvai:
does anyone knows how to connect Wifi with WEP protected network?

thanks
[XPERIA X1 Android Development] neoofoox:
Change WiFi Router to WPA 2, that it works.

As far as I know there is no way to connect to WEP-Network even no work around
[XPERIA X1 Android Development] ryo2456:
Tested, It's have not reboot with a missing call!

Thank you for your work!!!!zargloub!!!!!!
[XPERIA X1 Android Development] aseteo:
Xperia X1 Android is ready for Daily Use IMO

I've recently updated to the June 19th kernel and the phone works awesomely now, i see that a new commit came out for the lost call bug, unfortunately i can't test it as my X1 has died, i'm currently working on it to figure out its failure, but it was an old abused phone...

If anyone can confirm that the new lost call fix works, this kernel is complete in my opinion, and the X1 would be ready for daily use, although I think it was ready from before, as i was using it as my day to day phone.

Excellent work by SP3Dev and Zargloub, and as of recently coolrunner, you've made / you're making the dream come true, and have breathed new life into an otherwise great phone!

Much respect!!
[XPERIA X1 Android Development] zargloub:
Thanks, but it's CoolRunnerII who backported the commit from linux-msm and tested it. I just cherry-picked his patch :)
[XPERIA X1 Android Development] blackie333:
Great job guys, all who contributed :highfive:

So what we need now is a new/updated NAND ROM from Jerrytan? :)
[XPERIA X1 Android Development] ady_95:
Great job! For one moment I started to think that development is dead.

I don't want to f**k anybody's mind but: next things to solve are Wi-fi WEP and GPS.
[XPERIA X1 Android Development] Isich:
Hello,

I'm trying to compile the sources and build boot.img, but at here:

sed -i 's/min_freq 122880/min_freq 19200/g' boot.img-ramdisk/init.kovsky.rc

I'm getting that init.kovsky.rc is not found, so is this a problem for building the image?

Where I can get the .rc file or what to write in it, if I create it myself?
[XPERIA X1 Android Development] zargloub:
Hi,

If you use a recent boot img i published, the min freq has allready be changed in init.rc
[XPERIA X1 Android Development] Feed_Rulz:
hi zargloub

are you still developing kernel for X1?

i would really like to see GPS and wifi working update.

thank you
[XPERIA X1 Android Development] CoolrunnerII:
Hi

GPS needs to solved in the Android part, not the kernel. I am working on a proper build environment for CM7.2. You can see the thread at http://xdaforums.com/showthread.php?t=1726550 for build instructions and some info about progress.

I have currently gotten to the point where everything compiles, but I still havent figured out how to make the .zip file with update scripts.

I wont have much time the next couple of weeks, but will look into the GPS after that.
[XPERIA X1 Android Development] Elibl:
Hey guys,

with the help of CoolRunnerII's documentation i was able to compile cwm recovery from source and to make it a 'bit' better readable :D:D:D

so enjoy new recovery: download ZIP, extract it, connect your device, run adb_recovery.bat with device running normally or fastboot_recovery.bat with device in fastboot mode

BTW: little tweak: if you create .one_confirm no matter what content in /sdcard/clockworkmod/ you won't have in some confirmations the multiple no's...
[XPERIA X1 Android Development] ryo2456:
Great! finally we got the normal recovery :D
[XPERIA X1 Android Development] CoolrunnerII:
There is only one kernel that works with the NAND roms. That is the zargloub kernel you find in this thread. Use the newest one, it has the latest bug-fixes.

If you want to use GPS you can try my latest kernel in the CyanogenMod 7.2 thread. You will also have to flash my latest zip. This is still a bit experimental, but I would very much like some feedback.

WiFi signal measurement is nor working and WEP does not work at all. you need WPA to connect.
[XPERIA X1 Android Development] timkeeper:
Hi,

Sorry for my very very very bad english :)

Many Thanks for your GREAT Job (all developper) !!! :good::good::good::good:

I'm new android user on my only phont Xperia X1.

I don't know how to flash kernel rom. I'v downloader the last file .img.

Couly you please give me a link for a tute (I dont' find it) or give me a little tuto.

I think use recouvery mode and start update.zip. But I don't have this fils.

Other question but I dont' know if it is the good post. What is the last .nbh to flash phone with hard slp. I don't know il there is onely one version or more. Ant haw to know my version ?

Thanks for your help.

Timkeeper.

If the new uset feed back can help you, I'm here.
[XPERIA X1 Android Development] CoolrunnerII:
Hi

You need to use a program called "fastboot" to flash kernels.

You start the phone and keep the power button pressed until it stops in the fist screen. Then you plug in USB and falsh with fastboot. Have a look in the paragraph called "KERNEL" in the fist post here:

http://xdaforums.com/showthread.php?t=1329379
[XPERIA X1 Android Development] timkeeper:
Hi CoolrunnerII

Thanks for your quick answer.

I'm trying tour NAND. It's a very greay job. I've install it yestesay and meet some issue. So my kernel si not up to date.

I do it and post you my feed back.

To you think add ICS on your rom ?

Thanks

Timkeeper
[XPERIA X1 Android Development] Light_Sephiroth:
I'm sorry for not being able to report yet but i had some work to do at university.

What version of Zargloub's kernel did you use?

Because the battery meter looks less precise than the last one, maybe i should install a fresh version, i'll try.

Plus, the minimum frequency for the cpu is set to 245, but you can solve the problem changing it in cyanogenmod settings and set 19 Mhz as default.

Also, two days ago, after using gps for navigating porpouse, the phone did not boot anymore.

Maybe things aren't linked. But it never happend before.

So, if you people want to try this new kernel DO A BACKUP in the recovery!
[XPERIA X1 Android Development] CoolrunnerII:
Hi

What zip's did you use? and what boot.img? The more details I get the better chance I have of figuring out what whent wrong.

Where did it stop during boot? Was It at gps init? did adb come up?
[XPERIA X1 Android Development] Light_Sephiroth:
Oh, i'm sorry, i went a little fast with that post, and i also noticed i posted in the wrong topic.

I was still using IceDroid v8 and this boot.img

The phone boots till you can see the boot animation, then it resets, and i can't use it anymore except wiping all and restoring the backup i did.

And the gps was off before shutting down the phone.
[XPERIA X1 Android Development] CoolrunnerII:
This sounds quite strange. If it happens again it would be a great help if you could boot it with usb connected and run "adb logcat" and post the messages you get.

When you run the command it will wait for the phone to get ready and when it does it gives you all the messages in the ring buffer. adb is initialized before the boot animation, so if you did this you would get a very good picture as to what stopped it.
[XPERIA X1 Android Development] DeeChan:
can't download

Ive been trying to download one of the newer boot.img files but all the links seem to not work for me. It always shows this message "Diese Datei wurde vom User oder durch eine Abuse-Meldung gelöscht."

Can someone possibly upload to another mirror?

Thanks.
[XPERIA X1 Android Development] DeeChan:
Anyone? Upload to different file host please?
[XPERIA X1 Android Development] CoolrunnerII:
I'm working on it.

Does anyone have a suggestion as to what host to use?
[XPERIA X1 Android Development] DeeChan:
4shared or mediafire would work
[XPERIA X1 Android Development] CoolrunnerII:
I uploaded my latest zip and the recovery.img-file to 4shared, but it looks like you have to be logged in to download it. Do you have any idea how to fix that?
[XPERIA X1 Android Development] DeeChan:
I don't think there's a workaround but I do have account on it so that would work for me.

Or you can do it on mediafire as well if you please.

Thanks,
[XPERIA X1 Android Development] Light_Sephiroth:
It happened again, but i was ready to logcat it: attachment :)
[XPERIA X1 Android Development] CoolrunnerII:
I had a look at the file.

It is a known bug that has been fixed in my latest cm 7.2 release. (There you get a few other bugs instead :p) It happens when gps is enabled when you boot.
[XPERIA X1 Android Development] kainjinez:
Plz re-upload newest Kernel. Thx
[XPERIA X1 Android Development] CoolrunnerII:
I finally got around to do some testing on my extra xperia. I soldered two leads from the i2c bus on the microp that controls the leds and connected them to a logic analyzer so I could read out the I2C transactions on the bus.

At least I found one thing.

The ambient light sensor is connected to the microp at I2C address 0x66. After writing 0x30 to it you can read out the ambient light. Using this info it should be quite easy to extend the screen backlight driver with auto screen brightness.

When I have the time I will look into it.

I had hoped to figure out the extra current draw and maybe the camera auto focus by doing this, but none of them seem to be related to the I2C bus.
[XPERIA X1 Android Development] CoolrunnerII:
I have made a i2c log of the entire boot. It looks like there are a couple of unknown devices on the bus. This could be interesting to figure out.

Lines with R C6 or W C6 is the battery monitor

Lines with CC is the microp controlling leds and other small stuff

Lines with CE is the microp controlling keyboard

Lines with 20 is the camera (I started the camera at the end of the log)

5A, C0, B8 and B0 are not refferenced at all in our linux kernel. I think it would have been a good idea to just try to copy the writes to these addresses, and see what happens.

I tried to attach the log.
[XPERIA X1 Android Development] CoolrunnerII:
Does anyone remember if the X1 can have blinking leds under windows mobile?

Blinking the led for a short time every half a second is a good way to indicate stuff without draining too much power. I am working on the lights hardware driver at the moment, and if someone can tell me what to to under windows mobile to make it blink the leds I can grab the i2c messages and implement that also when working on the auto backlight.

CRII
[XPERIA X1 Android Development] CoolrunnerII:
New I2C file

I noticed some missing transactions. Also I made a file without the timing data.

I have sensor readout now, but I think I may need some kind of calibration, as the level seems to go to zero too fast.

I'll publish a zip when I have something working.
[XPERIA X1 Android Development] Saulis:
some searches on device i2C address on the net:

5A - Possible candidate is MLX90614 IR sensor, but looking to pcb don't see this. Maybe MPR121.

C0 - PCA9532(I2C LED Dimmer)? or CMPS03 - Compass Module

B0 - 133MHz-16.2kHz programmable oscillator (DS1077), TDA9875 tv chip
[XPERIA X1 Android Development] SDogo:
Have you tried to sniff the i2c traffic while the FM radio is ON?
[XPERIA X1 Android Development] CoolrunnerII:
No, but that was a good idea. I guess the bluetooth/FM-radio chip could be one of the missing units. I got hold of the datasheet some time ago, and the FM-radio is completely separated from the bluetooth part, and has its own i2c bus. As far as I could see the audio is also separate, so making the FM-radio work could be quite challenging because it involves working with the audio co-processor.

There is actually an example FM-radio stack for the chip available for linux, but adapting it to our phone and making it work it more than I will be able to do with my limited time.
[XPERIA X1 Android Development] CoolrunnerII:
I figured it out. C0 is a OV6680 camera chip (The front facing camera) 5A and B0 I think are just noise on the bus.

I am going to try to do all the writes to the OV6680 chip and see if the current draw drops. I may get lucky ;)
[XPERIA X1 Android Development] CoolrunnerII:
I have some good and some bad news.

The bad: The ov6680 chip is not available on the i2c bus without doing some other kind of magic, so it is probably without power, and not causing the extra current draw.

The good: I have figured out the light sensor and am ready to get auto brightness working. I only have one question: Do you guys want a kernel that can *only* do auto brightness, or do you want me to patch the entire android system to make it possible to set manual brightness?

To make it possible to set manual brightness the config database must be changed causing a complete recompile.
[XPERIA X1 Android Development] wallaceff:
I vote Both if possible :)
[XPERIA X1 Android Development] pbfree:
The faster from the development point of view or the most compatible with the actual nand rom

Inviato dal mio GT-I9100 con Tapatalk 2
[XPERIA X1 Android Development] CoolrunnerII:
I just uploaded a new boot.img to http://code.google.com/p/cyanogenmod-kovsky/downloads/list

Please try it and report back
[XPERIA X1 Android Development] CoolrunnerII:
I think I finally have gotten somewhere with the battery drain. Alex had written some code to turn of power to the LCD-panel, but he had put a "return;" in front of it. I removed it and Voilá: Lower battery drain :D

You do get some artifacts on the screen when going out of suspend. I think this is just an annoyance, but I have just tested it since last night.

I just uploaded a boot.img file.
[XPERIA X1 Android Development] wallaceff:
Just to make sure I do things in the correct order:

1) fastboot latest recovery then fastboot boot_LC_power_off.img

2) from recovery format data/system/cache then install cm-7-20130106....zip then gapps-gb-20110828...zip (without rebooting inbetween?)

3) reboot

Is there a way to load boot.img from recovery?
[XPERIA X1 Android Development] Marcintosh:
Does the boot.img file with auto brightness also include the LCD panel power kernel?