yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] jerpelea:
did you look on our repo

that branch is already added
[Xperia Arc Android Development] jerpelea:
i prefer to start clean istead of porting bugs
[Xperia Arc Android Development] tom3q:
Yes, I did, but branch names and commit descriptions are meaningless (even there is no commit history other than initial commit), so I couldn't figure out what was the original source. That's why I suggested spending some time learning Git.

I agree, this usually leads to better effects, assuming that you have enough time or people to work on it.
[Xperia Arc Android Development] jerpelea:
if there will be more that only give instructions probaly will take longer

but for now clean base is not even booting

so i have to debug a lil
[Xperia Arc Android Development] scholbert:
Hi,

nice to see, that useful discussion starts.

I'm not sure what i may contribute here, but i grabbed the sources from codeaurora as well and made my own diff.

I know that making diffs is pretty oldskool, i like it to get an overview though.

Like already stated this looks like a good starting point.

Just let me give a short comment on this:

- apart from keeping track of the API changes board files should be relatively easy to integrate

- there are many special device drivers included (charger, sensor stuff, camera, led driver etc.)

maybe we find other references for 3.4 kernel which could be adopted

- many firmware files in hex values are included, if we keep track of the driver API, would be copy and paste

- some stuff looks not relevant at all

From what i know about the hardware from Xperia series the I2C bus plays an elementary role on these devices.

If one of the device attached to this bus, is not set up properly or blocks the bus in some way, the device will not boot up or at least would have trouble to do so.

Maybe it's a good idea to explicitly keep unused devices in a safe state.

Anyway low-level debugging would be nice.

Just a side-note... would be awesome to get some information about UART3 testpoints for debuging.

Have fun,

scholbert
[Xperia Arc Android Development] tom3q:
Hmm, maybe you should search for a service manual. It should show exactly what devices are connected to I2C (and any other interfaces). I believe it should be present somewhere on the Internet.
[Xperia Arc Android Development] scholbert:
I got one for the Xperia Pro and schematic for Neo is floating around here. Not sure about Arc, maybe i'll have look tomorrow.

No problem to create a list... if i find some time the next days.

Just another addon:

After stepping through the diff i saw that Sony also made some changes to cmdline handling.

This should be considered as well.

See ya,

scholbert
[Xperia Arc Android Development] tom3q:
All the changes should be considered as potentially needed, but there is always a chance that it can be simply dropped or replaced with something less invasive. Basically any modification of core kernel code should be avoided and any platform specific extensions or hacks should be done in platform specific code.

Which SoC exactly is Xperia Arc based on? Is it MSM7x30 or MSM8255 (as it is written on pdadb)?
[Xperia Arc Android Development] n1kolaa:
plz report if it booting :)
[Xperia Arc Android Development] Yovecio:
MSM7x30
[Xperia Arc Android Development] tom3q:
So basically all the pages like pdadb and gsmarena have wrong information (they all say it's MSM8255T)? Nice.
[Xperia Arc Android Development] Yovecio:
Sorry i've committed a mistake, i've checked an serms to be a msm8255
[Xperia Arc Android Development] tom3q:
Schematics of Arc are there too. First hit for "Sony Xperia Arc schematics" on Google.
[Xperia Arc Android Development] n1kolaa:
PS:its not sony its sony ericsson
[Xperia Arc Android Development] jerpelea:
all development is done on xperia hallon with hardware debbuger
[Xperia Arc Android Development] Yovecio:
I've attached schematics of arc s(lt 18i) :good:
[Xperia Arc Android Development] szl.kiev:
@ J, any specific reason you use tag M7630AABBQMLZA203029A and 4.0.1.A.0.283 as a diff base?

in my opinion, M7630AABBQMLZA203019 & 4.1.B.0.431 is much closer as a diff base, both has an exact msm7630_defconfig, & the most minimum diff in board-msm7x30.c (also they both same year Copyright (c) 2009-2010 )

and 4.1.B.0.431 are already ready for all 2011 device, not just hallon (4.0.1.A.0.283)

please check it out.
[Xperia Arc Android Development] jerpelea:
@M7630AABBQMLZA203019 i think that you are right (i took newer tag)

all 4.1 have too much code backported from new revisions o i chose the cleanest copyleft and stripped it of all other devices so that we can focus first on booting the kernel

then we will add device specific stuff 1 by 1
[Xperia Arc Android Development] szl.kiev:
what i meant was clean 4.1.B.0.431 from sony that kind have a perfect match with M7630AABBQMLZA203019.

4.0.1.A.0.283 is far older than M7630AABBQMLZA203019, and don't have exact match msm7630_defconfig (for reference / comparison)

but if you want to stick with 4.0.1.A.0.283, then maybe should look for another older tag than 203019
[Xperia Arc Android Development] jerpelea:
ok

lets search for older tag
[Xperia Arc Android Development] szl.kiev:
M7630AABBQMLZA203009 has exact board-msm7x30.c & msm7630_defconfig with 4.0.1.A.0.283

(PS: M7630AABBQMLZA203008 & 203010 don't match)

but me & maybe others that doesn't have hallon might a bit difficult following your progress, since we need to patch our device kernel driver first to .283 :(
[Xperia Arc Android Development] jerpelea:
nice finding

will look a lil later

after initial bringup does not matter

all except zeus use same board (mogami)
[Xperia Arc Android Development] szl.kiev:
283 & 431 has different board-semc_mogami.c but it's not a big deal, we can get the diff for its device specific codes.

good luck mate, that's all i can share for today
[Xperia Arc Android Development] jerpelea:
this is normal

they rebased and added new upstream patches

diff is now 3.9 mb after more cleanup

nice work
[Xperia Arc Android Development] szl.kiev:
nice, only 269 files (162 modified + 107 added)
[Xperia Arc Android Development] jerpelea:
i will clean more later
[Xperia Arc Android Development] jerpelea:
more cleanup pushed
[Xperia Arc Android Development] adridu59:
Nice one J, I don't have hardware debugging but I'll eventually see what I can do with the repo. :good:
[Xperia Arc Android Development] jerpelea:
as ususaly more cleanup and more changes on new kernel
[Xperia Arc Android Development] scholbert:
Hey FXP,

great progress...

BTW, could you give some details about your debug environment?

You got JTAG on the Neo?

Nice work!!!

scholbert
[Xperia Arc Android Development] devrruti:
Why not 3.8 kernel? many changes have been made, specifically for arm.
[Xperia Arc Android Development] n1kolaa:
coz he will easyer port 3.4 coz all sony 2012(almost all ) will get 3.4 kernel for Jb update :)
[Xperia Arc Android Development] szl.kiev:
@ J

I made this board.c comparison using spreadsheet couple months ago, it's useful for board cleanup reference.

Easier to analyze them than using git diff

PS: at that time i used sony 3.0 source code (sony-kernel-msm8660)
[Xperia Arc Android Development] CosmicDan:
Is there any kernel output on fb console? Or not that far yet?

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Arc Android Development] n1kolaa:
FXP you are at portal now LINK
[Xperia Arc Android Development] sakindia123:
Wow. looks like everyone is fed up with 2.x
[Xperia Arc Android Development] CarrotAk23:
Uhm, seem like you are interested in this project mate :D

Please give us any advices or help us to develope this kernel :)

Gửi từ LT18i của tôi bằng cách sử dụng Tapatalk 2
[Xperia Arc Android Development] sakindia123:
um i need advice myself,our 3.x kernel for HTC Explorer doesnt boot(nand doesnt mount,and we have a working base from another htc device)

plus i dont have an xperia
[Xperia Arc Android Development] n1kolaa:
any news ?
[Xperia Arc Android Development] CosmicDan:
Hello? If you guys are this far then I could start working on patches. I would find out for myself but I would hate to spend a few hours building for zeus only to find you are not that far yet. Thanks :)

@sakindia123 have you tried manually specifying partitions on kernel commandline? Or hard-coding the partitions in nand.c? What exactly is the console output from kernel? This is a common problem, the real solution would be to add a wrapper function so partition info can be gathered from ATAG correctly (I assume bootloader specifications/exposed methods have slightly changed to be 3.x compliant).
[Xperia Arc Android Development] Supervenom:
I knew that also Kamarush was trying too port 3.x kernel to 2011. Maybe he can help you.
[Xperia Arc Android Development] CosmicDan:
It is 3.0 he was working on and he gave up on that a long time ago. ExPeacer and irii-soft did some more progress, I helped out with the partition situation but none of us have really bothered any more.
[Xperia Arc Android Development] nh1402:
I know this will likely not help, but I've been searching the HTC Desire HD thread, and they have a v3 kernel out, when previously on the same kernel as Xperia 2011 I think, although Sony messed around with features in ours, I'm sure it would help (even a little) porting while referencing it from the Desire HD.
[Xperia Arc Android Development] CosmicDan:
Yeah it would, there are a few HTC devices that are msm7x30 chipset that are on 3.x kernel. But I think the guys already know that :)

From memory a main obstacle is that Sony have quite a lot of modified code compared to linux mainline, more so than any other Android kernel apparently.
[Xperia Arc Android Development] nickholtus:
He is still helping fxp with 3.4

I have really good contact with him.
[Xperia Arc Android Development] AntiBillOS:
Not much, Sony, as always, break kernel by improve they stufs into kernel.

As pBPaul said they copy some things from 3.0.x (patching), but its not much problem, +1 one is rewried drivers.
[Xperia Arc Android Development] n1kolaa:
Doomloard ?
[Xperia Arc Android Development] CosmicDan:
kamarush.
[Xperia Arc Android Development] n1kolaa:
I see doomloard stard a project on github , he now have xt ...maybe he is also interest
[Xperia Arc Android Development] sakindia123:
hey dan,we actually got it to boot kernel 3.0.16yesterday,it boots to the bootanimation then reboots(we cant debug that as usb is broken,gotta fix that first)

We were missing the nand controller driver before,there was no need to hardcode MTD partitions(and it is risky too)

and avoid porting from htc devices unless u have a htc device yoursef,they have a screwed up source,with a sort of a different subsystem.u will have to write your board from scratch

Sorry for my 3 offtopic posts!
[Xperia Arc Android Development] cdesai:
Since it executes init already, you can debug it by adding a service in init to log somewhere, sdcard would be a nice place to log to.
[Xperia Arc Android Development] CosmicDan:
Nice work! So framebuffer is already working which means we can compile with on-screen kmsg. I might take a look but by the time I get a chance the USB may be fixed anyway.

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Arc Android Development] hminhhoai92:
kernel 3.0.8

I'm working hard to port kernel 3.0.8 for xperia 2011.
[Xperia Arc Android Development] n1kolaa:
can you link your github ?
[Xperia Arc Android Development] nickholtus:
Great!

i which i could help, i have only 1 ((offtopic) question:

I want to learn some more kerel developing (i only know some basics), so i want to get some books etc.

what develop language should i take? (for books etc.?)

do you have any tips?
[Xperia Arc Android Development] TheGreatSega:
c

mainly C
[Xperia Arc Android Development] CosmicDan:
If you have lots of free time like me, I just Google things that don't make sense and then try random things/hacks until I find a specific effect and work on that. Lol. But I have a background in many languages so I usually have a rough idea what I'm doing (even if it is guess work at first).
[Xperia Arc Android Development] sakindia123:
See the post on the 2nd page by developer tom3q ,he recommends some reading material.

For the language,well u should have a sound knowledge of C.

//off topic

We actually now have a usable 3.x kernel on the HTC explorer, display/ril/hwacc/most of the things work

You guys should probably start with porting One V sources to the xperia 2011 lineup,will certainly ease up your work
[Xperia Arc Android Development] n1kolaa:
Some people allready try to port from one v sorces (fxp and doomloard)...it was old project with was stoped in january 2012
[Xperia Arc Android Development] adridu59:
Lot of crap in HTC sources.
[Xperia Arc Android Development] n1kolaa:
Hi all , here is xperia E dual kernel source , maybe it can help :D

http://developer.sonymobile.com/dow...es/open-source-archive-for-build-11-1-a-0-53/
[Xperia Arc Android Development] adridu59:
How would that help?
[Xperia Arc Android Development] n1kolaa:
those guys port wokring kernel 2.6.35 (proting form sony xperia s sorce )

https://github.com/tkymgr/KTG_Kernel

only camera not ported and wi-fi not working

Xperia E have 3.4 kernel and some codes we can use from it :D
[Xperia Arc Android Development] AntiBillOS:
Does kernel from link not fake (does it not just changed Makefile)?

Its patched to 2.6.35 and fixed?
[Xperia Arc Android Development] nickholtus:
it is "not true", board files etc. are just the same, nothing with upstream changes.

it is .32.59 with some .35 backport.

Kamarush checked the sources for me.

he also told me the progress of this is great:) (booting, but screen not working)
[Xperia Arc Android Development] kamarush:
Not fake, just not a "true" .35 :)

It's an almost completely patched .32. You can see cam isn't working because in .35 need ion for that.

So it's a 2.6.32.xx with "merged" .35 stuff.
[Xperia Arc Android Development] n1kolaa:
@kamarush are posibole to port 3.4 kernel form sony sorce for xperia e ?
[Xperia Arc Android Development] CosmicDan:
Different chipset.

Sent from Xperia Play (R800a) with Tapatalk
[Xperia Arc Android Development] n1kolaa:
I know but there is some specific sony code :D
[Xperia Arc Android Development] kamarush:
I don't know /* don't had time to check */ that phone's hardware. If there any similarities @drivers, that should be helpful.
[Xperia Arc Android Development] DooMLoRD:
it has chipset MSM7227A... afaik it wont be useful... BTW are u guys sure Xperia E is on the 3.4 kernel?
[Xperia Arc Android Development] dinesh690:
I know this is offtopic, but oh my god is doomlord returning to the Arc? You have been sincerely missed
[Xperia Arc Android Development] kamarush:
I checked the source. It's 3.0.8 ............
[Xperia Arc Android Development] n1kolaa:
i see on youtube , it got 3.4 kernel and android verison 4.1.2 good see you on xperia arc subforum after almost a year ago

http://www.xperiablog.net/2012/12/1...elly-bean-update-to-introduce-new-3-4-kernel/
[Xperia Arc Android Development] jerpelea:
instead of triing to port htc / newer sony platforms

we should focus on caf kernel

this was the base for sony and they have released 3.4 msm7x30 kernel

i have updated git again with more changes
[Xperia Arc Android Development] jerpelea:
houston ......

"WE GOT BOOT"
[Xperia Arc Android Development] vipul955:
for 3.4??????
[Xperia Arc Android Development] n1kolaa:
nice progress , you are soo fast :D
[Xperia Arc Android Development] vipul955:
is it 3.4 ?
[Xperia Arc Android Development] jerpelea:
yes

for 3.4

but we have to add drivers 1 by 1
[Xperia Arc Android Development] DooMLoRD:
which sony/semc msm7x30 device has 3.4 kernel? afaik none of the 2012 devices are msm7x30...

thats great news J!

:)

i am around to help out but dont have a lot of time...

ya thats wht i thought...

hmmm... the interface on that device resembles the Xperia Z/ZL photos/press shots floating around... so i guess thats the new design Sony is heading with for 2013 devices...

P.S.: lets not clutter this thread with off topic chatter... else we will face the wrath of -PiLoT- & iris (if they are still around ;) )
[Xperia Arc Android Development] n1kolaa:
neo l is 2012 phone but have our chipset

http://www.gsmarena.com/sony_xperia_neo_l-4647.php
[Xperia Arc Android Development] DooMLoRD:
Neo L use the same board (mogami zeus) as 2011 devices... its kind of a delayed 2011 device :P
[Xperia Arc Android Development] CosmicDan:
As said, the Neo L does. While released in 2012 it's technically a 2011 device... it's identical to the Play in every single way except for the (lack thereof) touchpad and the Camera. I.e. Neo L basebands and ROM's work 100% on the Play except for those two things.

But CodeAuroraForum has a 3.4 msm7x30 kernel, it's just "generic" and that's what J is working on.

Good to hear it's booting. The easy part is done :) Looks like we might get it in six months afterall. I wish you great luck in trying to get modem/RIL/wifi working, that will probably be the most difficult...
[Xperia Arc Android Development] n1kolaa:
you are wrong http://www.xperiablog.net/specifications/2012-xperia/xperia-neo-l/ look here

sory fxp for off-topic
[Xperia Arc Android Development] DooMLoRD:
Neo L is zeus or mogami board ?
[Xperia Arc Android Development] nickholtus:
Neo l has zeus board like the play

Good work fxp
[Xperia Arc Android Development] ravid1323:
how the kernel work now? the device boosted? or something like that?
[Xperia Arc Android Development] M66B:
Yes the device will be boosted, but after a while smoke will appear and then flames and then the device will explode ;)

I guess it is to early to ask this kind of questions.
[Xperia Arc Android Development] AntiBillOS:
Absolutly: ZEUS.
[Xperia Arc Android Development] CosmicDan:
Doesn't matter, all 2011 devices are MSM8255 devices (or MSM7x30 if you prefer, same thing). Board files are minor, as someone who has ported kernels I know the work on mogami <> zeus board is just trivial.

Just focus on the mogami board guys (or whatever Arc is), we'll take care of the zeus part later :P
[Xperia Arc Android Development] jerpelea:
for now hallon is the one used for dev

as it has serial port

br

J
[Xperia Arc Android Development] Langes:
We need a lol button next to the thanks button ;)

Seriously though, although I have zero dev skills, I've been following this thread since the beginning with great interest. Congrats to the whole team on getting it to boot, I wish you guys all of the best in getting this beast up and running.
[Xperia Arc Android Development] scholbert:
Hey FXP!

I already tried to locate uart testpoints on my MK16.

Would you please tell me where to find serial port on hallon mainboard?

Any advice would be highly appreciated...

Thanks in advance,

scholbert
[Xperia Arc Android Development] AntiBillOS:
Where new kernel stucks boot?

Its can be used only for debug (not see anythin on screen) or you can see boot logo?
[Xperia Arc Android Development] jerpelea:
it has no panel !

howto see something on screen ?
[Xperia Arc Android Development] scholbert:
O.k. please leave at least a comment...

Do you have uart connection on your neo?

Where are the testpoints?

Send a PM if you like.

Thanks !

scholbert
[Xperia Arc Android Development] DooMLoRD:
jerpelea has a hallon dev board with UART
[Xperia Arc Android Development] The Gingerbread Man:
I don't know of you guys could help each other? http://xdaforums.com/showthread.php?t=2071021 is another 3.4 kernel project looking to get display working. Sorry if considered a spam

Sent from my Galaxy Nexus
[Xperia Arc Android Development] kamarush:
It's the easiest thing in the android world, to develop a kernel for a nexus device ;)
[Xperia Arc Android Development] scholbert:
So true... and if these noobs could read at least, they'd realize that development platform is hallon which is obviously Neo's base.

I'm really in doubt of mankind and sorry for off-topic.

Back on track...

What do we know about graphic implementation already?

Which Adreno libs should be used for the new kernel?

Maybe it is useful to create a list of the sensor chips as well and which codebases could be used.

BTW, i'll try to search for UART on my MK16 again, because i guess the testpoints are there.

This way i might get insights of the PRO.

Regards,

scholbert
[Xperia Arc Android Development] nickholtus:
I asked alejandrissimo they are close to the testpoint pins he dont know exactly where
[Xperia Arc Android Development] CosmicDan:
Sensor information shouldn't be a problem, AFAIK all Xperia 2011 devices have full sensor support thanks to DASH which J has contributed to. Since he is also working on the kernel then he will understand what needs to be changed in DASH.

EDIT: (To the reply below this post) Ah right, of course. Silly me.
[Xperia Arc Android Development] scholbert:
Thanks for pointing me at this, but i was talking about kernel level drivers for the peripheral chips (e.g. BMA150, AK8975, AS3676 etc.). AFAIK this is underlaying kernel level of DASH.

Maybe they could simply be copied from 2.6.32 to 3.4, but i'm not sure about that.

Regards,

scholbert
[Xperia Arc Android Development] adridu59:
Those sensors are still used nowadays so you'll easily find newer drivers.
[Xperia Arc Android Development] jerpelea:
after adb is up no need for test point

THIS IS OUR GOAL!
[Xperia Arc Android Development] adridu59:
What says the log currently?
[Xperia Arc Android Development] n1kolaa:
hi every body ktg team start working on 3.0.8 kernel https://github.com/tkymgr/KTG_test

PS: those team make working 2.6.35 kernel bifore 1 month ago :)
[Xperia Arc Android Development] papayayoghurt:
Goto you theard n1kolaa:banghead:

Gesendet von meinem LT18i mit Tapatalk 2
[Xperia Arc Android Development] n1kolaa:
@papayayoghurt i post It here to see some devs like FXP he didnt look at or general selction
[Xperia Arc Android Development] nickholtus:
Fxp don't need that, from what I heard from kamarush is that KTG kernel just .32 with some upstream changes and backport of .35

Driver's etc are the same as .32

So it is not a full .35 kernel

Fxp wants to use new drivers, then the kennel will also improve some things
[Xperia Arc Android Development] Vladko1:
And this .35 is for arc? Maybe not a full .35, but deffinetly will be better than the .32... Can you post me a link?

No need, found it. I'll wait for solving the current issues. It would be awesome kernel to run until 3.4 is done :)
[Xperia Arc Android Development] madhouses:
Are you sure you found 3 kernel. This seems only like his v 3 of kernel based on old kernel. Anyway iam just on mobile now.
[Xperia Arc Android Development] caqo71:
I have a Xperia Arc... but I bought a Samsung Galaxy ACE to my Daughter. I noticed... that Samsung roms comes with a kernels inside the rom. and I realized that samsung roms (zip file), can flash a kernel before the main rom. I'm wondering wich brand (Samsung, HTC, Motorola, etc), has an unique Kernel sytem to flash before main rom.... :confused:
[Xperia Arc Android Development] papayayoghurt:
We know this, its because all other devices has a recovery Partition, but in SE Devices, the recovery is included in Kernel.

Gesendet von meinem LT18i mit Tapatalk 2
[Xperia Arc Android Development] eagleeyetom:
Most of brands, which provides phones with unlocked bootloader allow to flash kernels via simple boot.img in zip file. Sony has a little different approach to these things, hence we have to use flashtool :)

I hope that I explained this :)
[Xperia Arc Android Development] varunrocks17:
I have atag log for neo v n If someone can make a custom partition of recovery, I will provide him those atag log....wedgess denied to dat...because of risk
[Xperia Arc Android Development] nickholtus:
It's not because of recovery that's included in kernel, recovery is also included in kernel at Xperia 2012 and with that phone flushing within recovery is possible!

Boot partition is on Xperia 2011 blocked by bootloader and only writable in fastboot

Please keep ontopic now
[Xperia Arc Android Development] adridu59:
What driver should we begin with? Touchpanel?