[Need DEV] Some problem after build a ROM. - XPERIA X8 Android Development

Hello all DEVs in XDA!!! I have a noob question for some bugs after am i build a ROM from HTC Hero (GSM) Source...
I has wifi bug ( it's can't search new wifi network ), GSM bug ( it's can't be search mobile network ) and bug with USB cable connection ( when i connect my USB cable and it don't notify me, it's mean i can't use USB connection )...
This is my first build ROM and i am very noob , i hope all DEVs will help me!!! Thanks
( Sory for my bad English )

hmm, why didnt you use X8's source? in freexperia github.
for network problem is related to hciattach, wpa_supplicant, and libril.
htc hero use libril-htc, and x8 use libril and libril-qc1, just see build.prop, and compare x8 one and hero one.

aldee_s said:
hmm, why didnt you use X8's source? in freexperia github.
for network problem is related to hciattach, wpa_supplicant, and libril.
htc hero use libril-htc, and x8 use libril and libril-qc1, just see build.prop, and compare x8 one and hero one.
Click to expand...
Click to collapse
So... Can you give me X8's Source???

http://lmgtfy.com/?q=freexperia+github

LOL nice Graveir.

Graveir said:
http://lmgtfy.com/?q=freexperia+github
Click to expand...
Click to collapse
Hehehe thanks )

Haha, LOL
btw, how can i sync with github? because x8 source is in android-CM7 folder, and im afraid if i use repo sync, it will download all the folders including android-AOSP, boot_tools,etc.

Related

[Q] what is a radio libril?

Hi,
Question for devs, especially slade87
In slade's latest gintonic 2.5.0 he includes a special patch called "libril for 2.1.1.C.0.0 radio OTA"
Being pretty noobish at the under the hood stuff of this, I was just wondering, what is this and what does it do?
rosshalz said:
Hi,
Question for devs, especially slade87
In slade's latest gintonic 2.5.0 he includes a special patch called "libril for 2.1.1.C.0.0 radio OTA"
Being pretty noobish at the under the hood stuff of this, I was just wondering, what is this and what does it do?
Click to expand...
Click to collapse
its the library for your GSM/HDSPA access which also communicates with your hardware of your phone.
in short its the lib that allows you to use the phone with your gsm provider.
slade87 said:
its the library for your GSM/HDSPA access which also communicates with your hardware of your phone.
in short its the lib that allows you to use the phone with your gsm provider.
Click to expand...
Click to collapse
Hi, slade: just following this thread, and the Gintonic.SE ROM...
Just curious: why this library is not provided as part of the ROM itself? I mean, if this is the library for GSM/HDSPA access, I guess it should always be inside the ROM, otherwise we would have no signal connection. Right?
...and, is this a "standard" library? I mean: can I use it even with another ROM?
Thanks for any reply.
NovaMa said:
Hi, slade: just following this thread, and the Gintonic.SE ROM...
Just curious: why this library is not provided as part of the ROM itself? I mean, if this is the library for GSM/HDSPA access, I guess it should always be inside the ROM, otherwise we would have no signal connection. Right?
...and, is this a "standard" library? I mean: can I use it even with another ROM?
Thanks for any reply.
Click to expand...
Click to collapse
oh i can answer this one partly i think
according to what slade said on the gintonic thread, apparently the library is different between phones that had 2.1.1.A.0.0 and 2.1.1.C.0.0 Stock roms. Sony seems to have released the right one after detecting which one u need automatically.
However the one that is for slade's operator (presumably) is the same one as for 2.1.1.A.0.0 stock rom.. so all gintonic versions have had that one by default. that's y some people had error trying to search networks.. however that's y he released an alternate one for ppl who had the networks needing 2.1.1.C.0.0 libril.
Slade...Am I right??
Edit:
whether u can use it with another rom.. not sure...
rosshalz, thanks for your answer: actually, reading in detail the post from the ROM, it seems to be the way you described...
rosshalz said:
oh i can answer this one partly i think
according to what slade said on the gintonic thread, apparently the library is different between phones that had 2.1.1.A.0.0 and 2.1.1.C.0.0 Stock roms. Sony seems to have released the right one after detecting which one u need automatically.
However the one that is for slade's operator (presumably) is the same one as for 2.1.1.A.0.0 stock rom.. so all gintonic versions have had that one by default. that's y some people had error trying to search networks.. however that's y he released an alternate one for ppl who had the networks needing 2.1.1.C.0.0 libril.
Slade...Am I right??
Edit:
whether u can use it with another rom.. not sure...
Click to expand...
Click to collapse
yes basically you are right
x10 Mini Pro u20i stock system library files libril Network Error *FIX*
The answer everyone was looking for.
http://forum.xda-developers.com/showthread.php?p=18961421#post18961421
Btw SLADE87 - GinTonic rules n so do You!
Phoenix - Rising From The Ashes
phnxme7 said:
The answer everyone was looking for.
http://forum.xda-developers.com/showthread.php?p=18961421#post18961421
Btw SLADE87 - GinTonic rules n so do You!
Phoenix - Rising From The Ashes
Click to expand...
Click to collapse
??? that wasnt my question!!!

[Rom] ICS port for x8 alpha4 by n1kolaa dev stopted

Tihis is my firs room
tnx emch0 for help
me and troufiniou make a team
Working:
Gsm
Tochscreen
Hardbottns
sound(too cute )
...
need to fix :
wi-fi
Warning
read it before instal a rom
Unlock Bootloader
(For advanced users) : http://forum.xda-developers.com/show....php?t=1254225
(For n00bs like me ) : http://forum.xda-developers.com/show....php?t=1267273
Flash nAa kernel/alfs kernel/ linuxdx
Place rom on your sd card
Go to CWM Recovery
Full wipe
Wipe data
Wipe cache
Flash rom
Done!
...
link:coming soon
https://github.com/n1kolaa my git hub
my alpha 4 based on hero ics (not on truf) http://www.mediafire.com/?czdxsi4b0y19tx9
next update coming next week
http://www.facebook.com/pages/N1kolaaxda/203871403026784
my facebook page
i have fix for truf rom
my fix is for camera , wi-fi and audio
http://www.mediafire.com/?pwcivir2roi3p link for folder
Cypress touchscreen is working?
will se soon when i upload it ...stil testing it
I think it will be better for everyone if you and troufinio be a team, and working as a team.
... and what mean GSM? SMS and calls?
Im definetly gonna try this one out
i got cypress so i can test and tell you whats working and whats not
jahlovePL said:
I think it will be better for everyone if you and troufinio be a team, and working as a team.
... and what mean GSM? SMS and calls?
Click to expand...
Click to collapse
Yes it's mean sms and calls!
troufinio+n1kolaa=Good team=> Fully working ICS for X8!!!
DeFcOn said:
Yes it's mean sms and calls!
troufinio+n1kolaa=Good team=> Fully working ICS for X8!!!
Click to expand...
Click to collapse
Yeah i agree with DeFcOn if you two work together we might see a rather fully working ICS ROM around the corner
call and sms stil bug but gsm working
Im trying it out now
cant wait to see how it looks and feels thank you again n1kolaa!
Edit-
So its based on the gingerDX?
atleast it says so when i flash it.
Ehh, maybe you will posting and opening new threads with bigger update than this. Hope, u and troufinio will get along and merge yours topics to one. Anyway, thanks for this.
somthing big is coming
Touch doesnt wprk for cypress but keep up the good work
Sent from my X8
no i forgot to re name it
GSM is for network carrier right? So meaning there is already a network signal, but I am confused why cant send sms nor call if you have network signal?
n1kolaa said:
somthing big is coming
Click to expand...
Click to collapse
hardware acceleration?????
Do you know how close you are to cypress fubctionality?
Sent from my X8
i think is problem with kernel
need new driver to write ( i dont have time to write ti )
Does this mean that there will be no touch ability for cypress devices?
Sent from my X8

**Thread Closed**

Sorry guys thread is closed due to Oodie beating me to it. I created this thread to try and port the latest MIUI and I failed. I wanted to give the latest update of MIUI to eeryone, but i can see now in Oodies thread, he has already fully working 2.1.13
Please refer to this thread :
http://forum.xda-developers.com/showthread.php?t=1295089
to get the latest MIUI on Xperia X10
legzd2010 said:
Hi everyone
This rom is based on the latest MIUI ver 2.1.6, download link below.
Ive just cooked this rom from the following sources:
Click to expand...
Click to collapse
will give this a try! thanks for the update, did u actually try the rom for yourself?
Good work Buddy
& about wifi issue,
Have you tried fxp kernel , since you are basing this on FXP 52 ? Try using fxp kernel & relevent wifi modules ( system/lib/modules ) & all wifi related files in etc folder , wpa_supplicant in bin folder .
@kumayam - yes I have tried it, this is how I found the bugs your welcome I hope to fix wifi asap
@Oodie - Thanks mate, Im going to look at this now. I have tried FreeKernel4054_Cob05 and flashed modules, but still no luck I will try and replace any wifi related files as you mentioned and I will test it, hope I can get it working
EDIT: Just flashed a new version, going to test and release if WiFi is fixed
EDIT 2: I have tried replacing all WiFi files and I still cant get it to work once I find a solution, I will start fixing the smaller bugs I hope someone can help me with this issue.
hi..
any screen capture of the new rom.. ?
Sup3rSn4k3 said:
hi..
any screen capture of the new rom.. ?
Click to expand...
Click to collapse
Hi mate, I will upload screens once I get WiFi working this is my main concern for now sorry. There are no visual modifications to this MIUI version yet so screens from current rom will not be a WOW unless ofcourse you havent seen miui before
Try replacing
/bin/wlan_mac
/bin/wlan_tool
/bin/hostapd
/etc/wifi all files
/lib/modules all here
Check if you have
lib/modules/athwlan.bin.z77
lib/modules/data.patch.hw2_0.bin
Sent from my HTC Desire S using XDA App
@ Spaarc
Replace with originals of stock 2.3.3 or CM7.2 (2.3.7) ?
Chears
L
Take from cm7.2
I guess all your files are from cm7.2
You could have a look at my guide for some more help
legzd2010 said:
@ Spaarc
Replace with originals of stock 2.3.3 or CM7.2 (2.3.7) ?
Chears
L
Click to expand...
Click to collapse
Sent from my HTC Desire S using XDA App
thanks buddy will look at this when I get home
bluetooth
not able to turn bluetooth on mate
krishnachetan.ts said:
not able to turn bluetooth on mate
Click to expand...
Click to collapse
thanks for letting me know mate, its an easy fix and will be available in the next update which is estimated 9hrs from now with wifi and other fixes also, only have remote access to my pc atm and still trying to fix wifi, but it should be available within 12hrs
Good starter rom, just Bluetooth and wifi issues are present. Thanks for the effort, I'm sure your next release will be near perfect.
Sent from my X10 using Tapatalk
legzd2010 said:
thanks for letting me know mate, its an easy fix and will be available in the next update which is estimated 9hrs from now with wifi and other fixes also, only have remote access to my pc atm and still trying to fix wifi, but it should be available within 12hrs
Click to expand...
Click to collapse
Any update available yet ?
legzd2010 said:
thanks for letting me know mate, its an easy fix and will be available in the next update which is estimated 9hrs from now with wifi and other fixes also, only have remote access to my pc atm and still trying to fix wifi, but it should be available within 12hrs
Click to expand...
Click to collapse
thank u mate ...waiting for the next update with fixes....
Hi Mate,
I'm very glad to see another person starting cooking/developing ROM's. I'll wait for ur next release as I'm on limited network plan :/ so I can't live without the wifi and I will give it a go then.
Thanks again and looking forward to ur next release!
thanks guys, im new to cooking roms and still cant get wifi to work, this is main issue at the moment, as soon as its fixed i will be flying out the updates
P.s hope a dev can help me
Basicly, MIUI is based on CM so you should try to take these files from CM:
- system/etc/apns-conf.xml (if it has)
- system/etc/wifi/
- system/lib/modules/ {ar6000.ko, athwlan.bin.z77, data.patch.hw2_0.bin, wifi.ko} or easily, take all then paste into MIUI in the same folder BUT don't replace not related wifi files.
- system/lib/libwpa_client.so
Try it lol, I just develop stock based, not CM and MIUI so maybe I'm wrong
silveraero said:
Basicly, MIUI is based on CM so you should try to take these files from CM:
- system/etc/apns-conf.xml (if it has)
- system/etc/wifi/
- system/lib/modules/ {ar6000.ko, athwlan.bin.z77, data.patch.hw2_0.bin, wifi.ko} or easily, take all then paste into MIUI in the same folder BUT don't replace not related wifi files.
- system/lib/libwpa_client.so
Try it lol, I just develop stock based, not CM and MIUI so maybe I'm wrong
Click to expand...
Click to collapse
Thanks silveraero, i have tried this, still not happening :s Im getting help from Spaarc and I think i know the problem now. Once I understand this, Updates on MIUI should be easy
hihi.
i am using oodie prime 7 edit. i have a2sd installed. But when i install apps, after a reboot the apps disappear. however under data/apps there is everything there.
any solutions?
Edit: solved. kernel related. install kernel from oodie thread problem solved. at first i was using cobrato's kernel number9.

[DEV][JB 4.2.1][Alpha 0] CM 10.1 now for PLAY[WIP]

Hi all!
During Christmas holidays I have some time to develop and so I thought to begin this new project. I need of course the help of other developers.
In particular I have a problem. Hardware modules like gralloc, memalloc, hwcomposer, etc don't compile, so I have copied these libs from my old 4.1.2 rom. I don't know why.
What works:
- GSM
- SMS
- Camera
- GPS
What doesn't :
- Audio
- WiFi
- Bluetooth
- Data
Download:
ROM + Kernel
Cretits:
AOSP, FXP, CM, Sony and all the others
Thank You, really good job
I have also compiled a build of cm10.1 which didn't boot, maybe you want some part or whole of it?
I don't remember having problems with hw modules
Sent from my R800i using xda app-developers app
No, but what steps did you follow to compile it?
I followed the steps from Here page 13 from nickholtus replacing the branch to cm-10.1.
Cheers seems that GSM doesn't work at all in contrary to what the OP states.
Just tell me if you need logcats.
GSM does work, at least for me. Are you sure that in your ROM were present libgralloc.so, libmemalloc.so hwcexternal.so hwcomposer.msm7x30.so and all other .msm7x30.so under system/lib/hw?
Supervenom said:
GSM does work, at least for me. Are you sure that in your ROM were present libgralloc.so, libmemalloc.so hwcexternal.so hwcomposer.msm7x30.so and all other .msm7x30.so under system/lib/hw?
Click to expand...
Click to collapse
Well seems that you are right, I don't have all of those files, weird, I must have deleted them before compiling then.
wifi and bluetooth are easy.
just some ramdisk changes, and probaply missing files
nickholtus said:
wifi and bluetooth are easy.
just some ramdisk changes, and probaply missing files
Click to expand...
Click to collapse
yes, you are right. I didn't try yet. My first problem is to understand why some modules don't compile. Maybe something is changed between 4.1.2 and 4.2.1...
Supervenom said:
what's work:
- Camera
Click to expand...
Click to collapse
you mean the leagecy camera or the jb camera?
edit: checked, leagecy camera only. anyway, nice rom and not bad for rom that without any compile. for now
Awesome start. Can't wait to see a fully working 4.2 ROM before some of us start to move to new phones
Sent from my R800i using xda premium
hi super!!
saw the work here ??
https://github.com/2011Xperia
szlkiev had pushed some changes on msm7x30, mogami and urushi that takes urushi to a working condition with cm10.1
maybe that can be of some help to you
if we use xperia arc rom as base will these problemes be fixed?
Maybe you guys can use LuPus' PAC ROM sources when he releases the next version. He said that it was possible and also told us that other than Bluetooth not working, everything SHOULD be fine.
Sent from my R800i using xda app-developers app
can't we base on this? http://forum.xda-developers.com/showthread.php?t=2021679
edit: oh, it's not neo l

[DEV]JB Camera wrapper for SEMC 2011 phones

Hi guys,
since we are not likely to get any new camera libs for our devices, I think it's time to start writing an opensource camera wrapper for JB 4.1+ roms.
Initial dummy wrapper is here https://github.com/LegacyXperia/android_device_semc_msm7x30-common/tree/cm-10.1/camera
Current status:
Working photo mode
Working video mode
Broken preview
Broken panorama
Low framerate on 720p video recording
TODO:
Properly fix preview without hacking the camera app
Additional info:
Additional SEMC camera parameters dumped from libcamera_clientsemc.so are here:
http://review.cyanogenmod.org/#/c/44498/
Please keep this thread only for developer discussion.
Reserved for future use
Awesome bro..!! if any testing,coding, theming and png editing help required let me know i'll help to my extent :good::good::angel:
will revent ion?
n1kolaa said:
will revent ion?
Click to expand...
Click to collapse
IF you want to use ION we need our own camera library not just a wrapper. We need to rewrite everything kernel, drivers, ... (or we write a PMEM to ION wrapper but this is crazy )
br
iriijo
i have a noob kind of idea but really dont know if we can mod the JB camera so that we can add libs and functions of Sony Camera and other stuffs related to camera??
xperia c will save xperia 2011 phones
it have exmitor r 8mp camera!also that phone its on jb
http://www.gsmarena.com/sony_announces_xperia_sp_m35t_and_xperia_c_s39h-news-6272.php news over gsmarena
Xperia c has a mediatek soc,, are you sure
Sent from my ST18i using xda app-developers app
n1kolaa said:
xperia c will save xperia 2011 phones
it have exmitor r 8mp camera!also that phone its on jb
http://www.gsmarena.com/sony_announces_xperia_sp_m35t_and_xperia_c_s39h-news-6272.php news over gsmarena
Click to expand...
Click to collapse
faraaz3 said:
Xperia c has a mediatek soc,, are you sure
Sent from my ST18i using xda app-developers app
Click to expand...
Click to collapse
Forget about camera libs from other devices. If Sony doesn't release libs for every single 2011 device, we are not able to properly fix camera/use ION. So please, stop the off-topic.
Regarding the wrapper, I started working on implementing sony's image & video stabilization.
Camera source
@mikeioannina hey mike What do you think if we take the x10 cam sources as base, because this is just a communication interface between the liboemcamera and the source uses the same libs and calls like our camera librarys?
I know this isn't a good idea or the cleanest method and must not work but maybe we have a base how we should write our own drivers
br
iriijo
iriijo said:
@mikeioannina hey mike What do you think if we take the x10 cam sources as base, because this is just a communication interface between the liboemcamera and the source uses the same libs and calls like our camera librarys?
I know this isn't a good idea or the cleanest method and must not work but maybe we have a base how we should write our own drivers
br
iriijo
Click to expand...
Click to collapse
Good idea but I don't know how compatible will the source be, because x10 was using gingerbread libs and we use ics libs, plus the camera sensor is different. If you want you can try it, I don't have much free time these days to start this project.
OK will try it But I think this will need a little bit time will upload it in my github page
BR
Iriijo
Sent from my Xperia Ray using xda app-developers app
PS: First step very much debuging...
X10 sources for 2011 CAMERA develop progress
I started developing yesterday and I think I'm doing good progress. Camera says nomore that we have no connection, linking is now successfull with liboemcamera and libmmipl.
More results soon and source will be uploaded also soon (this week)
br
iriijo
I have the next days not much time to work on the camera, so i will upload my sources soon when i have time
br
iriijo
Hey @iriijo, any news with the source?
mikeioannina said:
Hey @iriijo, any news with the source?
Click to expand...
Click to collapse
Yes sorry i forgot to upload it will do it now
br
iriijo
Here is the source:
https://github.com/irii-soft/semc_2011_camera_library
But I get no connection to the kernel space drivers :/ We need do write a for example bridge or something other maybe
iriijo said:
Yes sorry i forgot to upload it will do it now
br
iriijo
Here is the source:
https://github.com/irii-soft/semc_2011_camera_library
But I get no connection to the kernel space drivers :/ We need do write a for example bridge or something other maybe
Click to expand...
Click to collapse
how about to port camera drivers with ion ?
based on xperia s?
naa say for ion only missing camera drivers
n1kolaa said:
how about to port camera drivers with ion ?
based on xperia s?
naa say for ion only missing camera drivers
Click to expand...
Click to collapse
For now we need to get this drivers to work before we can start dreaming (working) for ION.
br
iriijo
iriijo said:
For now we need to get this drivers to work before we can start dreaming (working) for ION.
br
iriijo
Click to expand...
Click to collapse
@iriijo sorry to disturbe you from your development but I found that Sony does have released libs of GB camera of 2011 devices
http://developer.sonymobile.com/2011/11/17/camera-libraries-available-for-sony-ericsson-phones/
And a noob question (coz I'm noob, I know I'm not suppose to post here) If you can write drivers as x 10 base then it can be easy to use our own devices as base,is'nt it?
Thanks for ur hard work m sure this thread will be saviour of our devices.. Cheers to every dev. On this thread..
I will look what i can do but i have not much time to do this now
Br
Iriijo
Sent from my HTC One using xda app-developers app

Categories

Resources