yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] Tof37:
Hello,

Daily news from Fance ;)

So I got good and bad news ...

The bad one is that I thought timestamp error was solved with 3.0.8 or 3.4 video drivers ...but no ... sorry I mistaken but don't really still think kgsl problem is related to video drivers ...

I compiled 3.0.8 drivers (the ones from NaA kernel) with nt35580 specs, made it with 3.4 drivers but still no luck ...

The good news :

3.4 video drivers are nearly poprted so it should be useful for 3.4 kernel .. but I focus on 3.0.8 for now.

With 3.0.8 video drivers, kernel logo is shown (add lines to use semc_backlight_control), 32bpp is enabled, rom is booting but due to kgsl mistake rom is not displaying (adreno libs are loading etc but no display).

I wrote kgsl mistake but it's MY mistake....

As the logs says, adreno_ringbuffer adress is mistaken... (in the log don't care about logo error logs ;) it's an old one)

What I understand is that the gpu drivers are inited but not as they should. Why ? I realize I'm missing internal_power_rail lines in kgsl_pwrctrl.c and in board ...stupid me ...

I'll try this and hope that's the only thing that it need :fingers-crossed:

BTW I made some clean-up in my repo ... I renamed branches and add an other one and deleted some ;)

The kernel will be available with or without ion. So it would be use if you have or have not ion in your rom ...
[XPERIA X10 Android Development] TakisBeskos:
maybe you should try to fix the kernel using pmem and the old adreno drivers since we know that these are compatible .

That's what nAa , mikeioannina and other devs have done in xperia 2011 ( arc, neo , mini , ray ... )

and you should check if your hardware is ion compatible . in xperia 2011 phones , we can't use ion for camera, that;s why mikeioannina is trying to use ion for everything else , and pmem for camera ( like galaxy s plus i9001 and htc explorer-pico ).

i suggest to work on no-ion kernel ( pmem ) and find any problems that might exist , fix them , and then work on ion kernel , so you can be sure that the problems you'll face are caused by ion
[XPERIA X10 Android Development] Tof37:
Thanks for the advices ;)

That's why I made 2 kernels, one with ion and an other one without.

What is working on the "classic" memory I get it on the one with ion.

And on both kernel I got the same error :)

For now as I can't use rom I can't see what needs pmem instead of ion.

For adreno drivers they are the same that were used in latest .32 or .29 kernel. The kernel coding is a little bit different but from what I read from logcat from 4.2.2 aosp, cm10.1 adreno drivers are loading correctly ... just this thing I forgot in kernel.

As dpu/msm codes are different, and as adreno libs are loading it's not useful to use .32 or .29 gpu/msm codes which needs to much modifications in kernel headers.

I posted on mikeioannina's 3.4 dev thread as I've got the same problem with mddi_host_timer_service ... I got it too when I ported 3.4 video drivers :)

Regards
[XPERIA X10 Android Development] Tof37:
Some fresh news ...

Have just update my repo, the branch which doesn't use ion : https://github.com/Tof37/msm7x30-3.0.x-nAa/tree/Es209ra-3.0.8-no-ion

Adding pwr_rail lines did what I wished ... finally someting booting.

Tested on a cm10.1

here are the logs :

dmesg

logcat

didn't made any changes in the ramdisk nor rom ... just used the last cmx10 released.

So ... video/drivers/msm are the one from 3.0.8 kernel. As you may see there's a mddi_host_timer_service error and kgsl is buggy ...

This means rom still be usable at all ..

32 bpp is here .

Will need some work ;)
[XPERIA X10 Android Development] Tof37:
Finally found a solution to solve display problem in rom :)

Increased MSM_PMEM_ADSP_SIZE :)

will commit my repo tonight and maybe will upload a cm10.1 with 3.0.8 alpha 1 ...
[XPERIA X10 Android Development] TakisBeskos:
using ion or pmem ?
[XPERIA X10 Android Development] JeffreyPiket:
:eek: That's great news! Thank you sooooooooooooooooooooooooooooo much!!! Will it work with Achotjan's Semc Debrand Engine 4.1.2?
[XPERIA X10 Android Development] TakisBeskos:
it says cm10.1 , and this is 4.2.2 from cyanogenmod
[XPERIA X10 Android Development] JeffreyPiket:
Damn!, you're right. Wasn't paying attention :silly:
[XPERIA X10 Android Development] Tof37:
For now it's "only" with pmem ... seems the changes don't work with the ion kernel.

The kernel doesn't boot on sde 4.1.2, got problem with the ion version of the kernel and problems with ramdisk.

I uploaded a cm10.1 ftf with the 3.0.8 kernel ... don't wait to have a super fast rom ... the kernel is stock, no oveclock or else ... don't report me the things that are not working :) no wifi, no bluetooth, no camera .... it's just a early early alpha and the bug list still long ...

Here is the link : Cm10.1-3-0-8kernel-alpha1
[XPERIA X10 Android Development] Tof37:
Some more fresh news ...

Ion version is booting with kgsl working.

The price to pay is less memory available ...

With cm10.1 it seems as "slow" as the no ion version ...

I think I'll make a new thread for "official" release ... if ever someone is interrested in using and upgrading this kernel...
[XPERIA X10 Android Development] Tof37:
post 2 has been updated ...

Repo has been updated too (both versions)

Add needed files for wifi and trying to get bluetooth working.

ar6000.ko building is disable in repo as long as I have to code msm_sdcc.c or find a way to get needed lines in it

[MENTION=5214412]doodownunda[/MENTION]

Thanks for the screenshots :)

Wanted to know if data and calls are working please ? I don't have the sim card any more that fitting this phone ;)

Thanks
[XPERIA X10 Android Development] JeffreyPiket:
Thanks for this! Once this baby gets Wi-Fi i am sure as hell gonna test it! :)
[XPERIA X10 Android Development] FeraVolt:
Don't forget to edit source code of wlan driver too.. Thanks.
[XPERIA X10 Android Development] doodownunda:
@ TOF , Yes mate Data and phone call's are both working. :highfive:

Still hard to get screen to come on at times? I pull battery out and restart to get it to come on. Other times it just work's :confused:

If you need any-one to test anything just let me know as I'm flashing mad - lol :p

Thank you
[XPERIA X10 Android Development] Tof37:
For the screen problem, I have problem with mddi_register_write ... because of mddi_host_timer_service crash ... it's not all the time ....seems the changes I've done are not enough.

Trying to find a solution for qdsp6 and smsm modem reset .. got headache with wifi and bluetooth
[XPERIA X10 Android Development] Tof37:
What's new ? ...

Hmmm ... not so much things ...

Didn't work on wifi / bluetooth but on qdsp6 and smsm_reset.

I tried a different way to have sound :

In fact what I understood, qdsp6 (acdb dal to be precise) needs smsm (shared memory state machine).

But ... before it was not like this ... just like on HTC Desire (bravo) acdb is using a file in user space (acdb.default)

So I used their qdsp6 (from Evervolv 3.0 repo) but as the acdb.default is not made with x10 specs I got a boot with qdsp6 enabled, but dirty sound and kernel crash ...

But that didn't pleased me and didn't looked further in that way.

So I had few lines in smd.c (this file got all smsm modem commands)

Got a new log : http://pastebin.com/EcN7uN3M

As you can see smd is ok .. but still crash ..

I saw some lines in smd_debug.c are missing :

static int debug_read_ch_v1

static int debug_read_ch_v2

As I manage to use them in smd.c they may be needed in smd_debug.c too :)

May someone confirm this please ?
[XPERIA X10 Android Development] Kornelije23:
Hello guys i am noob about deweloping, and i know i shuld not post here, but i need to ask what this 3.0.8 kernel means for our x10 whay is it better than some feras kernel, or achotian, because i see lot of people are interested in this thred, thank you for your patiance with me. And Tof37 if you need something to test pm me , i am good with flashing :D peace.
[XPERIA X10 Android Development] Tof37:
It's just because I have a loooot of time to waist.... :) just kidding ;)

It won't be better than kernel that already exist.... Achot, Fera and others are great devs.

If I suceed to make something they'll be able to use this base to make recent rom working on this old good device that x10 is ;)

The kernel won't make the phone faster or have better display etc... but have the latest system !)
[XPERIA X10 Android Development] Kornelije23:
Aham, i understand thanks for replaying, also i have tested your rooms ,and kernels they are very good , keep up the good work mate.
[XPERIA X10 Android Development] Tof37:
Found what is making trouble with qdsp6.

ACDB init but it's not able to get table ...

When I comment acdb_get_ table in q6audio.c I got boot but no sound and got a kernel crash.... cause acdb is needed....

Have to find how it works...
[XPERIA X10 Android Development] Tof37:
Got a display problem with evervolv 4.2.2.... pics attached.

First one the problem and 2nd it dissapears when a window is open... any ideas ?
[XPERIA X10 Android Development] FeraVolt:
try to disable fb aligning... Had something similar with tripplebufferning on GB
[XPERIA X10 Android Development] Danny23:
Hi there.

I did remember something to do with this issue i was trying to look for the post where is saw it way back when Amin was developing kernel´s or scritch007.

But cant find it...

Something in a .rc file in the ramdisk.

With the new triple buffering i saw some of the devs using this line in the init.es209ra.rc file.

¨on boot

write /sys/module/msm_fb/parameters/align_buffer 1¨

Hope this fixxes the display flickering i am pretty sure thats it.

Greets
[XPERIA X10 Android Development] Tof37:
Thanks for your help :)

But the probleme is kernel related (I think ) cause with .32 drivers it works without any problem even with 32 bpp enabled.

For now I'm trying to get wifi and bluetooth working .

Having trouble with

filp = filp_open(filename, mode, S_IRUSR);

in ar6000_readwrite function in ar6000_drv.c

Enabling ar6000.ko returns troubles in msm_smcc and filp_open error in the log.

About recovery access at boot it works fine ... it's just that we don't need to use back key. To be honest I don't know why but touching the screen (double tap) while the blue light is blinking, allow recovery access ..

Don't have much time for dev actually (2 hours / day) so I'm concentrating on wifi and bluetooth.
[XPERIA X10 Android Development] Tof37:
I got rid of working on the kernel.... :)
[XPERIA X10 Android Development] Adigo18:
Something new?
[XPERIA X10 Android Development] JeffreyPiket:
Please! someone finish this kernel!!! :crying::fingers-crossed:
[XPERIA X10 Android Development] chriscx:
Please finish this kernel
[XPERIA X10 Android Development] JeffreyPiket:
No one cares about X10 anymore! Bastards!!! :mad:
[XPERIA X10 Android Development] alex_ncfc:
Lol [MENTION=4678108]JeffreyPiket[/MENTION] I think it's fair to say the X10, released nearly 6 years ago, has had its time. I still have mine as a backup and have reverted to stock ROM and kernel.
[XPERIA X10 Android Development] JeffreyPiket:
Lol :laugh:
[XPERIA X10 Android Development] alex_ncfc:
Don't get me wrong, I'd love to see a more modern kernel and ROM on the X10 for sh*ts and giggles. But I don't think it's going to happen now as it's all gone very quiet on here.

It was a shame that the SEMC Debrand 4.1.2 ROM didn't get more development as that looked very promising.
[XPERIA X10 Android Development] JeffreyPiket:
Sh*t Happens! :laugh:
[XPERIA X10 Android Development] Achotjan:
Yeah thats true, but guess what, I am back, and yeah will tray to do my best guys but I am not a magician so, all that is possible I will do, I hope to be able to build a Android N or at least android kitkat for you guys

Cheers
[Omni Q&A] matejdro:
Why is source for 4.4 phone app invisible?

I can see 4.3 source fine, but 4.4 is empty.
[Omni Q&A] Entropy512:
Because the package was moved/renamed in 4.4
[Galaxy S III General] SagiGo:
Hello,

I've read the guide about BBS.

After checing my device I saw that secril_fd-interface drains my battery.

Therefore I toggled of Fast Dormancy using the app from playstore.

Problem is that I still get this wakelock.

Help me find out what is the problem,

Thank you very much.
[Galaxy S III General] leonardo-lavazza:
Hi, if you post your question in the BBS thread your chance to get a reply will be higher:

> Android Development and Hacking > Android Apps and Games > [APP][2.1+][24 Nov. - V1.15] BetterBatteryStats
[Galaxy S III General] jinosong:
Toggle it another time. I find that the second time I toggle it, it sticks. Remember to reset after each toggle. Disable, reset, enable reset, then disable reset. It should stick.
[Xperia Z General] cjcelo:
Hi, Xperia Z Community

I have black dots (dead pixel) problem in my xperia Z.I want to replace it with Z1 camera / Same Connector

SNAPDRAGON S4 Pro supported Up to 20Mp Camera.Do you think would be compatible?

Camera Support

Up to 20MP

,

http://www.witrigs.com/oem-rear-facing-camera-for-sony-xperia-z1

Z Camera

Z1 Camera 20.7
[Xperia Z General] ~iPod~nano~:
I think not that easy, maybe can, but you must change the camera lib/fw
[Xperia Z General] cjcelo:
Yep, I Know if I change camera absolutely add z1 firmware library..
[Xperia Z General] soldiers33:
what makes you think the camera lib files will work on z firmware? If it was that easy surely a lot of people would do that?
[Xperia Z General] umerkhalid204:
You're Crazy

Dude, Its nowhere near possible I think, smartphones are very tightly integrated, is it just me or the size of the lens looks a bit bigger? If this is so then it wouldn't be possible.
[Xperia Z General] joejoe23:
You can ask monx or krappabel as they ported z1 camera to our z.
[Xperia Z General] NamenIos:
You mean the camera app, that is something completely different.

If you want to built CM11 (or another open source ROM like PA, Omni etc.) with Z1 camera libraries you could probably succeed. Try to built and boot one Rom with the Z1 camera libs just to see if the CSI interface of the SOC is similar enough, if this works I would rate you chances good (read as in I would guess 40%) that it will work. You could get a more educated guess from the guys of the FXP, I think, though they might be more pessimistic as they might not be fans of those kind of tinkering.

With original Sony firmware I would think that it is way harder to accomplish.
[Xperia Z General] cjcelo:
Thank u for All informations I ask monx and krappel

C6603 cihazımdan Tapatalk kullanılarak gönderildi
[Xperia Z General] NamenIos:
They ported the apps and not the HAL/framework. They most likely can't help you. Read my previous post.
[Xperia Z General] Luhccas-X10:
The camera on Z1 have it's own firmware and a lot of other things related to the kernel.

You'll have a enormous work here,for sure.

Sent from my Odin!
[Xperia Z General] Dsteppa:
It would be awesome if it worked since I also need to change my camera due to dead pixelz.

I think it would be hard tho, even if you asked monx or any other dev. Because they aren't in the same situation as you are. Of course they can give you some support, but it's still limited compared to if they did it themselves.
[Xperia Z General] iKillCypher:
this will never work

1) you need to modified camlib

2) also you need to modified the internal system core -> kernel etc

3) also it will screw your phone badly and all you will have is a device which does nothing ;)

take my advise just get a Z1 if you have the money if not just stay on Z it is not a bad phone...
[Xperia Z General] rajaganesan7:
Buying Z1 Camera

I Have A Dead Pixel In My Camera, Now I Buyed Z1 Camera Lens ,I Replace My Old Z Lens to Fix a Z1 Lense..

I Open Camera App, It's Says Camera Not Available:crying:

I Buyed In rounded.com
[Xperia Z General] St.Jimmy90:
Did you even read what is nessecary to make it work??? You can't just put hardware in it, that differs from the original
[Xperia Z General] ~iPod~nano~:
as I said before, that will not easy to just change like that.

hmm, does the camera socket fits it?

And, does the Z1 camera is thicker than the original Z camera?
[Xperia Z General] owlwood:
This can't be serious.
[Xperia Z General] neoxx3m:
Guys r u serious? Is this a joke? It's impossible and there's no chance to do that. U can damage ur motherboard because connectors are not designed in the same way.
[Xperia Z General] rajaganesan7:
Help Bro!

But Snapdragon S4 pro Supports Upto 20MP,I Fix it the Z1 lens ,They Cannot Detect the Lens Help Me How to I Detect The Lens.....:confused:
[Xperia Z General] neoxx3m:
U can't detect the lens, connector is not the same. Z1 connector have more pins, end of story.
[Xperia Z General] iDroid8:
You didn't even read the thread did you? Jesus, some of the things people do nowadays...
[Xperia Z General] ~iPod~nano~:
Sorry for asking you again,

Can you reply, my question in above post?

Just curious, maybe I can tell there's a way or not.

Everything's may happen.

Newer camera, usually uses same protocol, e.g MIPI.

mod the kernel and lib, maybe there's a chance to get that camera working.

I Might be wrong. Maybe sony uses custom protocol and interface for their high-end camera too.
[Xperia Z General] jonmorris:
I suggest you just shove the sensor in the casing and then put it back together. Although the camera won't work, you can still technically get away with telling everyone that your phone has a 20.7-megapixel camera inside.

You won't be lying, but you'll just have to say you don't fancy taking a photo right now.
[Xperia Z General] neoxx3m:
You're wrong man, connector on xperia Z1 camera module has 19 pins (38 if u count both sides) and connector on our xperia Z has 17 pins so physically does not fit each other. I am a former serviceman (official Sony repair center in my country) so I know what I'm talking about. I made the comparison in the picture below:
[Xperia Z General] boss_y:
Thread closed now... :)
[Xperia Z General] ~iPod~nano~:
Okey, thanks for clarifying about the physical connector.
[Xperia Z General] dika.personavity:
I don't think so man, that risky and could spoiled more than a dot on a camera in the end..

obviously didn't recommend :angel:
[JASJAR, XDA Exec, MDA Pro General] i-nZ:
Hi. I recently bought of ebay an almost new XDA Exec, but when I got it it doesn't want to turn on. The guy who've owned this one doesn't understand anything from hardware. I think the device has stayed without the main battery for a while (after being charged) .. let's say 2 weeks. I've plugged in the battery and charged for 1 hour already, but when I press the POWER button nothing happens. Any ideas how could I fix this? (With turn on I mean absolutly nothing happens when I press the power button)
[JASJAR, XDA Exec, MDA Pro General] underwurlde:
Bloody well send it back & ask for your money back!

'nuff said?
[JASJAR, XDA Exec, MDA Pro General] kelford:
Hi i-nZ,

Does the LED light come on to indicate that it is charging when it's plugged in?
[JASJAR, XDA Exec, MDA Pro General] i-nZ:
No light. If I remove the battery while charging there is red light and if I do a soft reset there is a red light blink again. :cry: What light should I expect?
[JASJAR, XDA Exec, MDA Pro General] kelford:
When it's plugged in with the battery, there should be an orange or green light (orange if it's charging, green if it's fully charged) in the upper left along the hinge in pda mode. No light when it's plugged in would seem to indicate that it's not charging, so it wouldn't be surprising that it didn't do anything after being plugged in, even for an hour. I haven't had a battery die on me yet, but I'm wondering if that might be the case here.

The red light that comes on after the battery is removed is throwing me as I wouldn't have expected it to do anything when the battery wasn't in. I guess that's a warning that there is no battery?

Have you contacted the seller about this yet?
[JASJAR, XDA Exec, MDA Pro General] i-nZ:
Hmm. I think it is a warning that there is no battery and it is charging, so this is actually great news, cause this means the charging plug is not damaged(i think :S). I will receive my secondary battery soon. The problem with contacting the seller is that it will take ages for him to reply and such. I will surely get a refund for the dead battery if that's the issue, but I must travel in a few days, so I need that gadget working :)
[JASJAR, XDA Exec, MDA Pro General] i-nZ:
I've got a brand new replacement battery and it doesn't work again! :( Again there is no green/orange/red light. Any ideas what could be possibly broken?
[JASJAR, XDA Exec, MDA Pro General] cktlcmd:
Sorry to say, but I think you just killed it by doing this. :( :( :( I believe I read it from the manual that you are not supposed to plug it in without the battery on it. :( :( :(
[JASJAR, XDA Exec, MDA Pro General] i-nZ:
I've been actually told that the battery has been charged, so it's not a dead battery :(
[JASJAR, XDA Exec, MDA Pro General] trapper:
I know this might sound stupid; but can you get it into boot mode?
[JASJAR, XDA Exec, MDA Pro General] Gajet:
The first xda exec I got had a fault where it wouldn't turn on, however if you pressed the reset button it would come on.

Of course this one went straight back to the shop. My advice is to try and return it.
[JASJAR, XDA Exec, MDA Pro General] i-nZ:
When i press the POWER button nothing happens. Dunno how to get into boot mode...

Tried to do a hard reset by pressing the two buttons with horizontal line and poking the reset meanwhile, but it doesn't seem to react...
[JASJAR, XDA Exec, MDA Pro General] trapper:
It's the power button, light button and soft reset all at once.

Also what happens if you try and charge it off of a USB connection minus the battery?
[JASJAR, XDA Exec, MDA Pro General] i-nZ:
Red light, but if with battery - no light.

P.S: Did the light + power + reset. Nothing happens. There is no light blink or something (as I Had on an old pocket pc of mine).
[JASJAR, XDA Exec, MDA Pro General] cktlcmd:
I think it is time to return it and get a refund. Any way you just bought if right? Better do it as early as possible otherwise whoever sold you the device might not take the responsibility. :(
[JASJAR, XDA Exec, MDA Pro General] i-nZ:
OMFG!!! The reset button was stuck... Found that myself :P
[JASJAR, XDA Exec, MDA Pro General] trapper:
All fixed now?
[JASJAR, XDA Exec, MDA Pro General] VolarisPtyLtd:
What happened here as the fault looks exactly the same as my current issue....