[I9001][ICS][28 JUL] Camera Development - Galaxy S Plus I9001 Android Development

note: these files are provided with no warrenty. you are installing it at your own risk!
instructions:
1. you will need cm9 by arco68 (alpha build 5) and a ics recovery
2. wipe dalvik cache
3. wipe cache
4. install latest camfix
5. fix permissions
download:
http://forum.xda-developers.com/showpost.php?p=29459177&postcount=1568
bugs:
-fc after taking 5 photos
-videorecording in hd (720px) is not working
-------------------------------------------------------------------
if you want to report some bugs, do it!
but follow some rules. post step by step what you did and attach a logcat.
[WIKI I9001 - HOW TO REPORT BUGS]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
thanks to ivendor, mirred, grabber28, vpupkin, oisis, arco68 and all testers
(will add more informations soon)

Thank You ROM_TESTER
Good to see a different thread
No more spams!

rahilsayed said:
Good to see a different thread
No more spams!
Click to expand...
Click to collapse
yea everybody who's still asking about camera should be banned
first of all we should collect every helpful information
http://forum.xda-developers.com/showthread.php?t=1510485

Kokacrime said:
yea everybody who's still asking about camera should be banned
first of all we should collect every helpful information
http://forum.xda-developers.com/showthread.php?t=1510485
Click to expand...
Click to collapse
added to 1st page

this could help too http://forum.xda-developers.com/showthread.php?t=1379368

This will be helpful as well: HOWTO compile CM9. Rom_Tester could you put together all links and useful information in first post?

oisis said:
This will be helpful as well: HOWTO compile CM9. Rom_Tester could you put together all links and useful information in first post?
Click to expand...
Click to collapse
I am not really sure how that helps with the camera development...
And Rom_Tester added the links posted anyway.
Sent from my GT-I9001 using xda premium

Xistance said:
I am not really sure how that helps with the camera development...
And Rom_Tester added the links posted anyway.
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
So without sources, compiling and tests, how can you build drivers?
Sent from my GT-I9001 using XDA

Hi! Wazzup?
Sorry for not being participated in current development.
I have to say that you're unlikely to build CM9 following my instructions mentioned before. I'll try to write a new one.
So, you might be asking how does compiling by yourself will help with camera development? Well, I have built several drivers from different phones, and none of them actually loaded.
When I tried to do logcat I just got something like "Camera module not loaded" that is possibly happened because some of functions that need to be implemented into driver - were not implemented. But I've met some compiled drivers that loaded successfully but didn't work because, as I suppose, have inappropriate combination of some parameters (e.g. refresh rate). Unfortunately I haven't manage to find their sources.
So what can you do? You can try to build different camera drivers, put the resulting module as "/system/modules/hw/camera.ariesve.so", start logcat and try to run Camera app. If logcat shows something more about camera that just "Camera module not loaded" - just post it in this thread. It will be strarting point.
Of course,there is a harder way - try to implement everything by yourself, but it's way more complicated that previous step.

vpupkin said:
Hi! Wazzup?
Sorry for not being participated in current development.
I have to say that you're unlikely to build CM9 following my instructions mentioned before. I'll try to write a new one.
So, you might be asking how does compiling by yourself will help with camera development? Well, I have built several drivers from different phones, and none of them actually loaded.
When I tried to do logcat I just got something like "Camera module not loaded" that is possibly happened because some of functions that need to be implemented into driver - were not implemented. But I've met some compiled drivers that loaded successfully but didn't work because, as I suppose, have inappropriate combination of some parameters (e.g. refresh rate). Unfortunately I haven't manage to find their sources.
So what can you do? You can try to build different camera drivers, put the resulting module as "/system/modules/hw/camera.ariesve.so", start logcat and try to run Camera app. If logcat shows something more about camera that just "Camera module not loaded" - just post it in this thread. It will be strarting point.
Of course,there is a harder way - try to implement everything by yourself, but it's way more complicated that previous step.
Click to expand...
Click to collapse
welcome back!!! privet ukraina!

Where can we get some coders to get our camera working? Or to support vpupkin?
Gesendet von meinem GT-I9001 mit Tapatalk

Keinbockwurst said:
Where can we get some coders to get our camera working? Or to support vpupkin?
Gesendet von meinem GT-I9001 mit Tapatalk
Click to expand...
Click to collapse
WE HAVE ONE ----> Vpupkin <3

So we just need a camera driver that is starting now to start programming with it?
Gesendet von meinem GT-I9001 mit Tapatalk

vpupkin said:
Hi! Wazzup?
Sorry for not being participated in current development.
I have to say that you're unlikely to build CM9 following my instructions mentioned before. I'll try to write a new one.
So, you might be asking how does compiling by yourself will help with camera development? Well, I have built several drivers from different phones, and none of them actually loaded.
When I tried to do logcat I just got something like "Camera module not loaded" that is possibly happened because some of functions that need to be implemented into driver - were not implemented. But I've met some compiled drivers that loaded successfully but didn't work because, as I suppose, have inappropriate combination of some parameters (e.g. refresh rate). Unfortunately I haven't manage to find their sources.
So what can you do? You can try to build different camera drivers, put the resulting module as "/system/modules/hw/camera.ariesve.so", start logcat and try to run Camera app. If logcat shows something more about camera that just "Camera module not loaded" - just post it in this thread. It will be strarting point.
Of course,there is a harder way - try to implement everything by yourself, but it's way more complicated that previous step.
Click to expand...
Click to collapse
Well, we are no coders. Our only hope is a real coder, and I think that's you.
Welcome back !

Keinbockwurst said:
So we just need a camera driver that is starting now to start programming with it?
Gesendet von meinem GT-I9001 mit Tapatalk
Click to expand...
Click to collapse
What, sorry I dont get what you have postet
Vpupkin is coding now new driver

I try install driver galaxy ace.... aborted... driver Universal... aborted... now try motorola... wait...
Inviato dal mio GT-I9001 con Tapatalk 2

mav.erik said:
I try install driver galaxy ace.... aborted... driver Universal... aborted... now try motorola... wait...
Inviato dal mio GT-I9001 con Tapatalk 2
Click to expand...
Click to collapse
LOL, I dont postet it to install, I postet it to use the sources

vpupkin said:
If logcat shows something more about camera that just "Camera module not loaded" - just post it in this thread. It will be strarting point.
Click to expand...
Click to collapse
Hi!
Code:
04-21 11:00:18.591 I/CameraService(133): CameraService started (pid=133)
04-21 11:00:18.601 E/HAL (133): load: module=/system/lib/hw/camera.msm7x30.so
04-21 11:00:18.601 E/HAL (133): Cannot load library: link_image[1965]: 133 could not load needed library 'libcamera.so' for 'camera.msm7x30.so' (reloc_library[1314]: 133 cannot locate '_ZN7android7Overlay5setFdEi'...
04-21 11:00:18.601 E/CameraService(133): Could not load camera HAL module
04-21 11:00:48.090 I/talk (911): Refresh the supported camera state
04-21 11:00:48.180 I/talk (911): supported front camera false
04-21 11:00:48.200 I/talk (911): supported front camera false
04-21 11:01:02.494 I/ActivityManager(232): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.camera/.Camera} from pid 465
04-21 11:01:02.644 I/ActivityManager(232): Start proc com.android.camera for activity com.android.camera/.Camera: pid=1287 uid=10007 gids={1006, 1015}
04-21 11:01:02.824 V/CameraHolder(1287): open camera 0
04-21 11:01:02.824 E/CameraService(133): Camera HAL module not loaded
04-21 11:01:02.824 E/CameraHolder(1287): fail to connect Camera
04-21 11:01:02.824 E/CameraHolder(1287): java.lang.RuntimeException: Fail to connect to camera service
04-21 11:01:02.824 E/CameraHolder(1287): at android.hardware.Camera.native_setup(Native Method)
04-21 11:01:02.824 E/CameraHolder(1287): at android.hardware.Camera.<init>(Camera.java:320)
04-21 11:01:02.824 E/CameraHolder(1287): at android.hardware.Camera.open(Camera.java:280)
04-21 11:01:02.824 E/CameraHolder(1287): at com.android.camera.CameraHolder.open(CameraHolder.java:131)
04-21 11:01:02.824 E/CameraHolder(1287): at com.android.camera.Util.openCamera(Util.java:267)
04-21 11:01:02.824 E/CameraHolder(1287): at com.android.camera.Camera$4.run(Camera.java:1118)
04-21 11:01:02.824 E/CameraHolder(1287): at java.lang.Thread.run(Thread.java:856)
04-21 11:01:03.144 V/camera (1287): surfaceChanged. w=480. h=640
04-21 11:01:03.304 I/ActivityManager(232): Displayed com.android.camera/.Camera: +672ms (total +10s633ms)
Something like this? It's from this kernel.
As you can see, module can't be loaded, because there are missing functions in library 'libcamera.so' (in logcat you can see one, but I bet, there are more).

Rom_Tester said:
LOL, I dont postet it to install, I postet it to use the sources
Click to expand...
Click to collapse
No problem... i'm crazy band hope help working for we
Inviato dal mio GT-I9001 con Tapatalk 2

For me the problem is I don't know where I have to start. Is there any chance I can have a look on the files which are necessary for the camera? Until I have all sources etc.

Related

Ace ICS camera solution (more photos and source)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First of all, I am from China, my English is poor.
Camera solution:
1.Revert the commit about offset in MemoryHeapBase, make MemoryHeapPmem binary compatible.(commit: f24c4cd0f204068a17f61f1c195ccf140c6c1d67)
2.Add Overlay stub to libui, make libcamera.so symbol compatible
3.Implement a adapter CameraHardwareInterface.h to camera.h
sample implement, this a snapshot of local git repo
all source based on aosp ics-mr1 branch
libcamera.so liboemcamera.so libmmipl.so libmmjpeg.so from 2.36.405.8
I code patch and hal last weekend, but I do not have time to do it better, but it can work.
my git repo github.com/zbwu, but don't include libcamera now.
enjoy~
hello everyone
Now is office hour
I will post the source and detail tonight(GMT +8:00)
Could this work on other devices also? Like the desire s or z?
Sent from my HTC Vision using XDA App
johrie said:
Could this work on other devices also? Like the desire s or z?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
You can found several libcamera wrapper, for example TwistedUmbrella is working on it, but this problems are HTC specific. I think it can be used in most of HTC devices.
Here's some examples:
E/HAL ( 1207): Cannot load library: link_image[2048]: 1207 could not load needed library 'libcamera.so' for 'camera.default.so' (reloc_library[1384]: 1207 cannot locate '_ZN8SkMatrix10setRotateZEf'...
It's the first test, you can easily pass it with some smart google search
Here's my step:
E/HAL ( 1203): Cannot load library: link_image[1965]: 1203 could not load needed library 'libcamera.so' for 'camera.default.so' (reloc_library[1314]: 1203 cannot locate '_ZN7android7Overlay5setFdEi'...
Here am I, I tried to make a wrapper to overlay::Overlay::* to android::Overlay::*
But i'll w8 for source... It will be faster
frits666 said:
Something like Ndiswrapper used on some Linux distro's???
Click to expand...
Click to collapse
Like gpsshim (https://github.com/CyanogenMod/android_hardware_gpsshim)
I have posted more photos and source
I scale photos in gimp, not edit
zbwu86 said:
I scale photos in gimp, not edit
Click to expand...
Click to collapse
You alone have cured the threads of CQP (Camera questioning plague).
And for that, I commend you.
Someone give this man an OBE.
Regards
Please stop writing Chinese. Thank you!
Errrrrr I just had a quick glimpse of his github, this guy knows what he's doing and is pretty far ahead, everyones better off pulling his git compiling the whole thing and providing it as a rom, reason? youll most likely have wifi teathering aswell, I havent look at everything, but @OP well done!
It's promising, but it's not working me on CM9-KANG, i think, because of overlay (dummy) implementation... Or, I just need a full recompile... Dunno... Tomorrow, i'll try to implement liboverlay, maybe it's working... Anyway, it's a good start...
THANKS!
dh.harald said:
It's promising, but it's not working me on CM9-KANG, i think, because of overlay (dummy) implementation... Or, I just need a full recompile... Dunno... Tomorrow, i'll try to implement liboverlay, maybe it's working... Anyway, it's a good start...
THANKS!
Click to expand...
Click to collapse
You need to pull the whole source code off him
dh.harald said:
It's promising, but it's not working me on CM9-KANG, i think, because of overlay (dummy) implementation... Or, I just need a full recompile... Dunno... Tomorrow, i'll try to implement liboverlay, maybe it's working... Anyway, it's a good start...
THANKS!
Click to expand...
Click to collapse
in english
don't depend liboverlay.so
the overlay in the Overlay.patch.txt, patch it to framework/base
need full recompile,
in chinese
不依赖liboverlay.so
overlay 在 Overlay.patch.txt里面,在framework/base里使用这个补丁
需要重新编译所有东西
shaky156 said:
You need to pull the whole source code off him
Click to expand...
Click to collapse
Are you set up to do it?
wildchild048 said:
Are you set up to do it?
Click to expand...
Click to collapse
I would if I had a quad core or something that can compile fast, 2 core pc wont do it, I'm sure LC is already pulling from his git or something he has an i7
EDIT: just realized he doesnt have the whole thing up, only kernel/hal lol
zbwu86 said:
in english
don't depend liboverlay.so
the overlay in the Overlay.patch.txt, patch it to framework/base
need full recompile,
in chinese
不依赖liboverlay.so
overlay 在 Overlay.patch.txt里面,在framework/base里使用这个补丁
需要重新编译所有东西
Click to expand...
Click to collapse
I've recompiled libbinder and libui.so but not worked... full recompile is started, i'll see tomorrow... If it's not working, i'll try liboverlay
well my build won't load camera HAL, it saiy that it can't connect to libcamera.so
where can I find libs from htc sense rom base 2.36.405.8??
LorD ClockaN said:
well my build won't load camera HAL, it saiy that it can't connect to libcamera.so
where can I find libs from htc sense rom base 2.36.405.8??
Click to expand...
Click to collapse
I found this, http://forum.xda-developers.com/showthread.php?t=1042986 , but not sure if its the exact same thing hes talking about or not...But says Based on RUU Ace Gingerbread S 2.36.405.8 ...so probably could pull libs from it?
Yelp... !
I am not entirely familiar with the process to get the Camera working. Ca someone please help ?!
apocalypse.v said:
I am not entirely familiar with the process to get the Camera working. Ca someone please help ?!
Click to expand...
Click to collapse
You will have to wait till someone puts out a working rom with it.., this is for getting it to work building from source

[MOD][Xposed] Z1 Camera Tweaks

Requires Xposed Framework!
Just got the Z1, pretty awesome device, it does have its minor quirks though.
This module allows you to disable the camera launch sound when using quick launch (hardware key and lockscreen widget).
It also allows you to do bursts without running into a bug I noticed.
When enabling bursts, using the hardware key to capture photos always results in two burst shots, no matter how short the press is (unless you don't use the two-step focusing). This rendered the button useless to me, as I use it for steadier shots, but being forced to do burst shots takes out the ability to use flash.
Ticking the option in the app allows you to use the hardware key for single shots, and the touch key for normal and burst shots.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Compatibility:
Tested on the Xperia Z1. Will work on any device with the same camera app as the Z1.
Source:
The mod is open source: https://github.com/MohammadAG/Xposed-Z1-Camera-Tweaks
You may not publish it on the Play Store.
Download from Xposed Repository:
http://dl-count.xposed.info/modules/com.mohammadag.z1cameratweaks_v1_af72ec.apk
Support development:
If you found this mod useful, consider donating with PayPal.
Congrats for the new device and thank you for this wonderful mod
Just two questions for you:
Which firmware do you run and is it odexed or deodexed?
Did you get gravitybox to run without systemui fcs?
Gesendet von meinem C6903 mit Tapatalk
dtekkt said:
Congrats for the new device and thank you for this wonderful mod
Just two questions for you:
Which firmware do you run and is it odexed or deodexed?
Did you get gravitybox to run without systemui fcs?
Gesendet von meinem C6903 mit Tapatalk
Click to expand...
Click to collapse
Completely odexed stock (ota'd to 534), and rooted with vroot
It seems to work fine if you don't touch transparency settings. If you do you need to delete the keys added by it to the settings provider. I already forked it on Github and I'll push the fix I added to it.
Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
MohammadAG said:
Completely odexed stock (ota'd to 534), and rooted with vroot
It seems to work fine if you don't touch transparency settings. If you do you need to delete the keys added by it to the settings provider. I already forked it on Github and I'll push the fix I added to it.
Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
Click to expand...
Click to collapse
How do I do that? Tried to uninstall, so all settings should be reset but didn't work, still fcs when I try to check it again
Gesendet von meinem C6903 mit Tapatalk
Came across this while browsing modules in the Xposed app, absolutely perfect - fixes my 2 main gripes with the camera app. Thanks!
not working
not working in stock verdion. i have the latest version
Advance restore data via cwm to make gravity box work again. And don't touch transparency settings again! Bad!
dtekkt said:
How do I do that? Tried to uninstall, so all settings should be reset but didn't work, still fcs when I try to check it again
Gesendet von meinem C6903 mit Tapatalk
Click to expand...
Click to collapse
POWER1FM said:
Advance restore data via cwm to make gravity box work again. And don't touch transparency settings again! Bad!
Click to expand...
Click to collapse
Fixing the problem is better than clearing or restoring data from CWM
In adb shell or a terminal app:
Code:
settings put system status_bar_alpha_config_launcher null
settings put system status_bar_alpha_config_lockscreen null
settings put navigation_bar_alpha_config_launcher null
settings put navigation_bar_alpha_config_lockscreen null
You don't need all of them, you just need to clear the settings you set. Of course, running them all won't do any harm.
I'm not sure why @C3C076 opted to using system settings to store values, that makes it harder to clear settings if a user messes up.
karrouma said:
not working in stock verdion. i have the latest version
Click to expand...
Click to collapse
Install Xposed Framework and enable the module, then reboot.
MohammadAG said:
Fixing the problem is better than clearing or restoring data from CWM
In adb shell or a terminal app:
Code:
settings put system status_bar_alpha_config_launcher null
settings put system status_bar_alpha_config_lockscreen null
settings put navigation_bar_alpha_config_launcher null
settings put navigation_bar_alpha_config_lockscreen null
You don't need all of them, you just need to clear the settings you set. Of course, running them all won't do any harm.
I'm not sure why @C3C076 opted to using system settings to store values, that makes it harder to clear settings if a user messes up.
Install Xposed Framework and enable the module, then reboot.
Click to expand...
Click to collapse
That worked like a charm, now its back up and running again, thanks so much
Gesendet von meinem C6903 mit Tapatalk
xposed installer framwork
any help to work without rooting
karrouma said:
any help to work without rooting
Click to expand...
Click to collapse
Sorry, that's sort of impossible. You need a way to install Xposed.
Sent from my C6903 using xda app-developers app
Thanks for a great mod! would it be possible to make the camera open in manual mode when clicking on the button?
slonn said:
Thanks for a great mod! would it be possible to make the camera open in manual mode when clicking on the button?
Click to expand...
Click to collapse
You mean the hardware button?
Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
MohammadAG said:
You mean the hardware button?
Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
Click to expand...
Click to collapse
Yes, the hardware button.
slonn said:
Yes, the hardware button.
Click to expand...
Click to collapse
I'll look into it. I would've said yes but the camera app is two different activities (I'm not sure why Sony did this). There's the normal camera and a fastcapture one. The latter is only launched by the HW button and the lockscreen. That's why the icon didn't make the startup sound.
Anyway, when you switch to a differemt mode, or the front facing camera, it stops the fastcapture one and starts the normal one. So making it launch in manual mode may or may not cause some slowdown.
Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
MohammadAG said:
I'll look into it. I would've said yes but the camera app is two different activities (I'm not sure why Sony did this). There's the normal camera and a fastcapture one. The latter is only launched by the HW button and the lockscreen. That's why the icon didn't make the startup sound.
Anyway, when you switch to a differemt mode, or the front facing camera, it stops the fastcapture one and starts the normal one. So making it launch in manual mode may or may not cause some slowdown.
Sent from my Samsung Galaxy S4 (GT-i9500) using Taptalk 4
Click to expand...
Click to collapse
Would be really good if you can get this to work. I hate having to set the mode to manual each time I use the shutter button to launch the camera...
sg1969 said:
Would be really good if you can get this to work. I hate having to set the mode to manual each time I use the shutter button to launch the camera...
Click to expand...
Click to collapse
+1
Sent from my C6902 using Tapatalk
slonn said:
Yes, the hardware button.
Click to expand...
Click to collapse
sg1969 said:
Would be really good if you can get this to work. I hate having to set the mode to manual each time I use the shutter button to launch the camera...
Click to expand...
Click to collapse
amey2606 said:
+1
Sent from my C6902 using Tapatalk
Click to expand...
Click to collapse
I've implemented this, and it works fine, but only when the kernel / camera HAL / Qualcomm overlay system (I'm not sure which is the problem) doesn't hit a bug.
If it does hit the bug (which has happened in 80% of my tests), the camera will be locked up till you reboot (you can use it and all, but the next startup of the camera will show you a "Camera not available" error).
I may push it in the next update as a feature for those willing to experiment, it's quite a shame it didn't work as intended :/
I'm guessing this explains why Sony decided to make two cameras, one was a workaround.
MohammadAG said:
I've implemented this, and it works fine, but only when the kernel / camera HAL / Qualcomm overlay system (I'm not sure which is the problem) doesn't hit a bug.
If it does hit the bug (which has happened in 80% of my tests), the camera will be locked up till you reboot (you can use it and all, but the next startup of the camera will show you a "Camera not available" error).
I may push it in the next update as a feature for those willing to experiment, it's quite a shame it didn't work as intended :/
I'm guessing this explains why Sony decided to make two cameras, one was a workaround.
Click to expand...
Click to collapse
That's a shame about the bug, but thank you very much for trying.
Work fine in my xperia Zl with 4.2.2
Just a suggestion :
Can you make it compatible with api level 16, android 4.1.2?
Enviado desde mi C6506 mediante Tapatalk

[DEV ONLY] Nokia X 4.1.2 DesireHD Port [s89;DEVCOM_Thread]

[DESIRE HD NOKIA X PORT]
I've decided to open a new thread, especially since the previous thread is discontinued. I wanted to highlight progress is very much being made on the Nokia X port for the Desire HD.
When I mention progress, the build boots now; As I've re-based, re-structured and circumvented the issue's preventing a boot.
That's not to say this ROM is functional as a daily driver in it's current status, as it is quite the opposite.
However great strides are being made and success comes with the cost of time, effort and dedication from our developers.
This thread is open now as an invitation to ANY developer that:
1) is interested in this project
2) capable of pushing the project forward in effort to solve existing bugs
3) willing to spare their time to aid development.
As it stands I've done all the leg work getting the build to boot, and only since then I've had some assistance from a couple of sources in solving a few other issues in build.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Developer Activity Status:
At the moment I'm getting some priceless help in patching MSimTelephony references in build from another XDA Dev here, doing wonderful work and I anticipate that we can in fact succeed in a functional port in the near future.
Thus far our current efforts are focused on fixing radio, data and ril so bare with our current working/non-working log below...
(as a result of the above SystemUI is now beginning to respond as should, albeit a few flaws which are actively being ironed out)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Updates:
07/04/14 - [SYSTEMUI] System Statusbar and MSimTelephony references patched @SystemUI/classes.dex [Developer: opssemnik]
07/04/14 - [LIBRARY] Proximity and capacitive Light Sensors are now working [Developer: s89]
08/04/13 - [UPDATE] Investigating possibility of a System Wrapper to patch boolean isMultiSimEnabled @TelephoneManager and other related MsimTelephony calls globally. Eclipse app wrapper begun...
08/04/13 - [STUCTURE] Re-established 4.1.2 kernel, modules, hw and libraries to establish a common base and satisfy kernel requisites. [Developer: s89]
10/04/13 - [UPDATE] Wrapper implemented in build now and loading. Let the MSimTelephony patches commence [Developer: opssemnik]
12/04/13 - [SYSTEM] WIFI Fixed - Correct mismatched blobs and re-worked boot.img to fix Wifi and module loading issues. [Developer: s89]
12/04/13 - [SYSTEM] USB Mount Fixed - Patched storage-list.xml [Developer: opssemnik]
12/04/13 - [UPDATE] GPS Fixed
Click to expand...
Click to collapse
.............: Working :.............
USB Storage
Wifi
GPS
Vibrate
Touchscreen
Hardware|Capacitive Buttons
Display
Battery Sensor
Hardware Acceleration
Light Sensors
..........: Not working :..........
USB Storage
Sound
Camera
Radio
GPS
Wifi
Bluetooth
Light Sensor
.................Probably more
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please note: This ROM and Thread is intended for Developer activity only. Please do not fill this thread with spam, jargon and/or testing requests. This includes update requests (FYI All progress will be documented regularly within this post).
I am aware of most if not all of the currently not working and am actively resolving what I can, when I can.
All I ask is for is your patience and support > Public testing will be announced when most if not all the major show stopping bugs have been resolved.
Click to expand...
Click to collapse
If you are interested in joining efforts in minimizing our "Not working" list, feel free to contact me or write a request of interest here.
All and any updates to our current build that address an issue in our bug's list must be communicated back and consolidated into our output build to ensure all developers are up-to-date with the latest changes/bug fixes.
Current Team | Contributing Developers::
stickman89 [s89;] - Porting NokiaX build inc, fixing libraries, patching framework & ramdisk updates.
opssemnik - SystemUI, MSimTelephony Patches & continued wrapper development
Click to expand...
Click to collapse
​
Reserved...​
good job,thanks
wow.......nice work devz
chrisb906 said:
I know this..just letting dev know
Sent from my Desire HD using Tapatalk
---------- Post added at 05:18 AM ---------- Previous post was at 05:15 AM ----------
Oops. Just realized he didn't want test requests on here..lol. My bad
Sent from my Desire HD using Tapatalk
Click to expand...
Click to collapse
Yup, this is a DEV thread. Still lots too fix i.e. would like a dev collaboration since I've spent a lot of hours getting us to this point and feel it would be less stressful on me having some more capable hands in the kitchen.
OK NokiaX isn't dependent on ION so I rebuilt with correct kernel, modules, hw and added libraries from our 4.1.2 build however audio is NOT getting loaded for some reason. As far as I'm aware __strlen_chk is referenced at libc.so and libcrypto.so however I've replaced these libraries with that from a functional 4.1.2 build of ours and it's still not loading. Any devs here encountered this? If so which libraries are associated with it?
Code:
E/HAL ( 1424): load: module=/system/lib/hw/audio_policy.default.so
E/HAL ( 1424): Cannot load library: reloc_library[1331]: 1424 cannot locate '__strlen_chk'...
I think we have the same problem with sense 5 too
Gesendet von meinem One X mit Tapatalk
besimm said:
I'm interested on this ROM, can you give me the link??
Click to expand...
Click to collapse
All I ask is for is your patience and support > Public testing will be announced when most if not all the major show stopping bugs have been resolved.
Click to expand...
Click to collapse
No he can't , please be patient , the OP has his own closed testers group and he will release a public test rom when ready.
SO be patient !!!!
EDIT: THREAD CLEANED, STOP ASKING FOR LINKS !!!
THE DEV WILL RELEASE WHEN READY.
Stickman89 said:
OK NokiaX isn't dependent on ION so I rebuilt with correct kernel, modules, hw and added libraries from our 4.1.2 build however audio is NOT getting loaded for some reason. As far as I'm aware __strlen_chk is referenced at libc.so and libcrypto.so however I've replaced these libraries with that from a functional 4.1.2 build of ours and it's still not loading. Any devs here encountered this? If so which libraries are associated with it?
Code:
E/HAL ( 1424): load: module=/system/lib/hw/audio_policy.default.so
E/HAL ( 1424): Cannot load library: reloc_library[1331]: 1424 cannot locate '__strlen_chk'...
Click to expand...
Click to collapse
Did you try with "readelf" ? Maybe you can compare after with what you have and what is missing.
Wrapper implemented in build now and loading. Let the MSimTelephony patches commence. Lots of good stuff happening
RIL work's at this moment (SMS, Calls, USSD, 3G) ?
RazGame said:
RIL work's at this moment (SMS, Calls, USSD, 3G) ?
Click to expand...
Click to collapse
Not just yet, but we haven't finished tracing, debugging and adding Telephony calls to our wrapper. By all mean's not a quick process and ended up being a late night, I'm still wearing my sleepy face aha.
Telephony isn't registering a network as we've intentionally left methods out for the time being as there is more patching to do to SystemUI in regards to directing our new calls. More to continue tonight I imagine so all on your list is a nono for the time being.
If you can give me the files of the ROM I an take a shot in fixing the Storage issue as I am experienced in porting and specifically fixing this bug Have a nice day bro.
CedArctic said:
If you can give me the files of the ROM I an take a shot in fixing the Storage issue as I am experienced in porting and specifically fixing this bug Have a nice day bro.
Click to expand...
Click to collapse
Excellent, be more then welcome to have you aboard. We have a new SystemUI patch to update in build at some point tonight, once that's applied, I'll upload the updated build for your handy work good sir. You'll receive a PM once uploaded.
dont tell anyone you saw this, shhh
usb fixed
wifi fixed
plot twist:
gps fixed
Stickman89 said:
OK NokiaX isn't dependent on ION so I rebuilt with correct kernel, modules, hw and added libraries from our 4.1.2 build however audio is NOT getting loaded for some reason. As far as I'm aware __strlen_chk is referenced at libc.so and libcrypto.so however I've replaced these libraries with that from a functional 4.1.2 build of ours and it's still not loading. Any devs here encountered this? If so which libraries are associated with it?
Code:
E/HAL ( 1424): load: module=/system/lib/hw/audio_policy.default.so
E/HAL ( 1424): Cannot load library: reloc_library[1331]: 1424 cannot locate '__strlen_chk'...
Click to expand...
Click to collapse
Just an update, we already fixed this, just need some smali patching and then audio should work.
any processing?
we are waiting for it
opssemnik said:
Just an update, we already fixed this, just need some smali patching and then audio should work.
Click to expand...
Click to collapse
where is the updating?
if the sound IS ok,upload it plz,thx in advance.
admet615 said:
we are waiting for it
Click to expand...
Click to collapse
Update & Download Link
hi, its been months now, pls whats the progress? we are patiently waiting for an update and download link.
I know the issue has been the sound, how far has it gone. pls keep us updated.

[DISCUSSION] HTC One S C2 CM, AOSP and 3.4 kernel development

Only for HTC One S C2!!
This is a discussion thread, about the progress on 3.4 kernel development for cyanogen mod, and other aosp based roms. There is posibility that testers will be needed...
reserved...
Logcat Error
There is one error in logcat, which appears all the time:
Code:
I/auditd ( 7220): Starting up
E/auditd ( 7220): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 7220): Exiting
Possible this is causing any kind of problems?
I'm happy to try kernel porting for you guys but for that we will need a hangout group ....
You already have me, I'll write you when I have some spare time, you can also involve Robin he's willing to help
Gesendet von meinem HTC One S mit Tapatalk
It looks like things are moving into the right direction. But I am leaving for London today so I won't be able to test until my return.
Good luck!
Sent from my HTC One S using XDA Free mobile app
qzem said:
It looks like things are moving into the right direction. But I am leaving for London today so I won't be able to test until my return.
Good luck!
Sent from my HTC One S using XDA Free mobile app
Click to expand...
Click to collapse
Nice, have a good time in London then
qzem said:
It looks like things are moving into the right direction. But I am leaving for London today so I won't be able to test until my return.
Good luck!
Sent from my HTC One S using XDA Free mobile app
Click to expand...
Click to collapse
League of Legends Championship Series in Wembley stadium?
I can volunteer as a tester.
Sent from One
Tried porting new framebuffer drivers from CAF. Attached to the bottom of this post are the kernels with the new framebuffer drivers (one for PAC and one for CM11). All I need to know is whether or not it boots. Graphical glitches do not matter.
Also, I don't plan on getting too involved in the development here as I don't own the device.
Spii said:
League of Legends Championship Series in Wembley stadium?
Click to expand...
Click to collapse
No, just sightseeing .
Sent from my HTC One S using XDA Free mobile app
Sultanxda said:
Tried porting new framebuffer drivers from CAF. Attached to the bottom of this post are the kernels with the new framebuffer drivers (one for PAC and one for CM11). All I need to know is whether or not it boots. Graphical glitches do not matter.
Also, I don't plan on getting too involved in the development here as I don't own the device.
Click to expand...
Click to collapse
Hey, first of all thanks for doing this. Your work is highly appreciated! :good:
About the kernel: I've flashed the CM Kernel, first it was bootlooping but I somehow booted it successfully into Safe Mode
And Screenshot is working
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EDIT: At the 3rd loop it's booting successfully!
Spii said:
Hey, first of all thanks for doing this. Your work is highly appreciated! :good:
About the kernel: I've flashed the CM Kernel, first it was bootlooping but I somehow booted it successfully into Safe Mode
And Screenshot is working
EDIT: At the 3rd loop it's booting successfully!
Click to expand...
Click to collapse
I can't believe it actually booted on my first attempt without the device It probably bootlooped because you're on a very recent build of CM, and I used the ramdisk of a CM build made 3 months ago. New framebuffer drivers means that graphics are overall much smoother and display glitches are gone. They also allow you to use display-caf instead of display-legacy.
Sent from my Nexus 5 using Tapatalk
i would be glad if u add me to hangouts group
Tried to install the CM11 file but failed.
Error is
assert failed: getprop("ro.product.device") == "villec2
E:Error executing updater binary in zip '/sdcard/downlo......
Error flashing zip........
sunnyvijay said:
Tried to install the CM11 file but failed.
Error is
assert failed: getprop("ro.product.device") == "villec2
E:Error executing updater binary in zip '/sdcard/downlo......
Error flashing zip........
Click to expand...
Click to collapse
Yep, but don't worry I will include the updated Kernel in the ROM anyways, just wait for that
Thanks.
However could not wait and googled to fix the updater-script and was successful.
It was bootlooping but after 6th loop the phone was on and working
The Kernel Version in the About reflects 3.4.750Sultan-CAF-msmfb-g08a97af-dirty
Sultanxda said:
I can't believe it actually booted on my first attempt without the device It probably bootlooped because you're on a very recent build of CM, and I used the ramdisk of a CM build made 3 months ago. New framebuffer drivers means that graphics are overall much smoother and display glitches are gone. They also allow you to use display-caf instead of display-legacy.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Is there any progress on kernel? Or you don't have time to work on it?
Sent from my HTC One S using XDA Free mobile app
qzem said:
Is there any progress on kernel? Or you don't have time to work on it?
Sent from my HTC One S using XDA Free mobile app
Click to expand...
Click to collapse
All of the completed source is on my GitHub.
Kernel: https://github.com/sultanxda/android_kernel_htc_liberty-villec2
Device tree: https://github.com/sultanxda/android_device_htc_villec2
Vendor tree: https://github.com/sultanxda/proprietary_vendor_htc
Media-caf: https://github.com/sultanxda/android_hardware_qcom_media-caf
Display-caf: https://github.com/sultanxda/android_hardware_qcom_display-caf
Note that for display-caf and media-caf all you need are these patches:
For display-caf: https://github.com/sultanxda/androi...mmit/d8374d512958a02f05cac8261dc419efedde07c9
For media-caf: https://github.com/sultanxda/androi...mmit/67e47694cb00e70916b97e4308e1d8eef21f192f
Otherwise media-caf and display-caf are exactly the same as the CyanogenMod versions.
Now you guys have hardware vsync and the latest framebuffer drivers, along with the latest display and media HALs
Thanks a lot!! :good:
Syncing and compiling

xperia c3 cm12.1 portable

i port cm12.1 from source
with original stok kernel(ramdisk change)
but not working
cell network( that is missing library from stock rom. i find it)
wifi network
blue tooth turn on but maybe not working (i tested it)
nfc not working
sound not working
almost not working
im newbie newbie
so i dont know how to fix
my github is https://github.com/wwwhana
somebody help me?
read thx
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
kernel cmd
mkbootimg --base 0x00000000 --kernel <zImage> --ramdisk <ramdisk.img> --ramdisk_offset 0x02000000 --dt <dt.img> --tags_offset 0x01E00000 --pagesize 2048 --cmdline "androidboot.hardware=qcomyukon user_debug=31 msm_rtb.filter=0x37 androidboot.bootdevice=msm_sdcc.1 slub_min_objects=4 build_variant=user msm_rtb.enable=0" --output <boot.img>
Go to the cyanogenmod forums and ask there.
status
wifi is not working(i dont know why doesn't work it...pront wlan build with kernel....)
camera is not working *this is dosent work camera hal...
audio is sometime build working anothertime is not working
brigtness not working but modified /sys/class/leds/lm3630-lcd-bl/brightness can change
nfc is maybe working(possible turn on off)
bluetooth is working pair possible
baseband(cellular networking) is possible when dumping /bin, /lib, /vendor folder
sensors is maybe not working(i see logs.....many mnay errors....)
who are help me??
Help might have arrived... (I think)
wwwhana said:
wifi is not working(i dont know why doesn't work it...pront wlan build with kernel....)
camera is not working *this is dosent work camera hal...
audio is sometime build working anothertime is not working
brigtness not working but modified /sys/class/leds/lm3630-lcd-bl/brightness can change
nfc is maybe working(possible turn on off)
bluetooth is working pair possible
baseband(cellular networking) is possible when dumping /bin, /lib, /vendor folder
sensors is maybe not working(i see logs.....many mnay errors....)
who are help me??
Click to expand...
Click to collapse
Ah... another one. It seems you have gotten further than me. I'm having a look at your GitHub, maybe I can find something there. We are both new to this though, so maybe teaming up would be a good idea. Please contact me at [email protected] so that we can talk further.
Thanks
Riccorbypro
oh tanks
Riccorbypro said:
Ah... another one. It seems you have gotten further than me. I'm having a look at your GitHub, maybe I can find something there. We are both new to this though, so maybe teaming up would be a good idea. Please contact me at [email protected] so that we can talk further.
Thanks
Riccorbypro
Click to expand...
Click to collapse
i first try build from source. so, just booting but not working every thing
base device tree is tianchi(this device is same stock rom build! and family device)
so i dump from sony stock rom (if exist file not over write)
working cellnetworking
and i try something do...
i try insmod /system/lib/modules/wlan.ko
it working! wifi when type this command
but....i try now but not working....
i use
" http://forum.xda-developers.com/showthread.php?t=2545618 "
this trick
how to base cm rom and i just change lib folder from stock sony rom. i change file about runtime file(libart, linandroid~)
we can get cell networking, camera(!!!) HAL so, if this device need like sony openproject vendor file (that is not equeal) and some orinal library and /bin file need it
but not working gravity sensors...wifi(if shutdown se linux affter insmode...maybe working?).....and not led control(this front led, lcd backlight)
but working near seonsor(display off and do not touch when calling)
so i upload this result....
Just in case I'll put this file.
it's your devlopment and For those who are interested
http://www.mediafire.com/download/ewq6k6nda8a1ssc/and.7z
you can flash use
"fastboot flash system system.img"
fastboot flash boot boot.img"
and this is this rom logs
https://gist.github.com/wwwhana/2586f04fadf6bb59f5b5
thank you.
read my bad english.
xposed also working
Although of course, this is base is aosp so working
i try install xpoesed framework. so, not problem....
so i want this rom is perfect.....
and
that rom is working sound, nfc and already working list
wwwhana said:
Although of course, this is base is aosp so working
i try install xpoesed framework. so, not problem....
so i want this rom is perfect.....
and
that rom is working sound, nfc and already working list
Click to expand...
Click to collapse
*xposed working*
You now have my attention :good:
wifi f#[email protected]#$%
wifi need firmware file in firmware_bin where https://github.com/sonyxperiadev/prima 's prima tree
so now, Xperia c3 with C3(D2533) for cm-12.1 working list
cell networking
wifi
bluetooth
nfc
audio
maybe comming soon working
camera with torch(i find need camera files)
don't working
front led
rotation sensor
lcd-backlight
and i don't know any sensors....
i will comming final test this semester...
so i will comming 12/12 KST
Thank You
Dual sim model?
sorry
i Can't testable xperia C3 dual model
cause i'm not have them
if some one try my test rom, and say to here result
maybe Assuming working, that rom but not working 2nd sim
IF someone try it?
From what I've seen, the kernel for D2533 and D2502/D2503 is the same, there is no difference in the tree. So theoretically there should be one universal build, for both single sim and dual sim.
Sent via Carrier Pigeon
Sensors....
insert sensors.qcom.so
i get infomation about sensors but they not working...
maybe they not connect Android framework
and gps is not working....
cause FLP HAL is not initialize
show me error
missing library? no that.
logs say
07-03 14:18:25.128 764-764/? E/HAL: load: module=/vendor/lib/hw/flp.default.so
dlopen failed: cannot locate symbol "_ZN9LocApiV0216deleteAidingDataEj" referenced by "liblbs_core.so"...
07-03 14:18:25.128 764-764/? E/FlpHardwareProvider: Error hw_get_module 'flp': -22
07-03 14:18:25.129 764-764/? E/LocationManagerService: FLP HAL not supported
07-03 14:18:25.133 764-764/? E/LocationManagerService: Unable to bind FLP Geofence proxy.
Click to expand...
Click to collapse
why not?
Have you checked in CPU-Z if there is information coming from the sensors? I have no idea what's going on with the HAL though... Maybe the sensors.so is related to the HAL, so one won't work without the other...
Sent via Carrier Pigeon
Riccorbypro said:
Have you checked in CPU-Z if there is information coming from the sensors? I have no idea what's going on with the HAL though... Maybe the sensors.so is related to the HAL, so one won't work without the other...
Sent via Carrier Pigeon
Click to expand...
Click to collapse
i think that file name "jni" relate to HAL
Sony device have not camera hal
but jni file is replace that....
maybe sensor also?
Will CM12.1 remove the camera noise/blur?
sorry
AutumQueen92 said:
Will CM12.1 remove the camera noise/blur?
Click to expand...
Click to collapse
i don't know that
but we can't have camera sensor source
so maybe equal stock rom
wwwhana said:
i don't know that
but we can't have camera sensor source
so maybe equal stock rom
Click to expand...
Click to collapse
Well that's disappointing. I was hoping to find a mod for the camera but nothing came up, only Bravia Engine stuffs.
collect sensor log from stock
under link is log from stock rom about sensors
https://gist.github.com/wwwhana/983cae21f13b4e5ed29f
QTI waring/Error is also stock rom....
camera also sam error and warnig my rom
but other sensors?
we know light sensor name is apds9930_als.....
Input path = /sys/devices/virtual/thermal/thermal_zone[0~5]/temp
Ah! i tested near sensor working when call
but others not working....
sensor made me hard....
dual sim kernel maybe not equal single sim
Riccorbypro said:
From what I've seen, the kernel for D2533 and D2502/D2503 is the same, there is no difference in the tree. So theoretically there should be one universal build, for both single sim and dual sim.
Sent via Carrier Pigeon
Click to expand...
Click to collapse
i see about board-sony_tianchi.c and board-sony_tianchi_dsds.c
so i see that difference gpio.....
maybe also difference C3
who try made gpio map for dual sim?
wwwhana said:
i see about board-sony_tianchi.c and board-sony_tianchi_dsds.c
so i see that difference gpio.....
maybe also difference C3
who try made gpio map for dual sim?
Click to expand...
Click to collapse
No one that I know of... I'm the only person that I know that has this phone, and my carrier never sold the dual-sim version anyway, so i think we're going to have to try our best and get a tester for the dual-sim kernel.
Also, any idea why the f2fs compile is failing?
The error:
Code:
system/extras/f2fs_utils/f2fs_utils.c:53:13: error: 'struct f2fs_configuration' has no member named 'kd'
make Error 1
Riccorbypro said:
No one that I know of... I'm the only person that I know that has this phone, and my carrier never sold the dual-sim version anyway, so i think we're going to have to try our best and get a tester for the dual-sim kernel.
Also, any idea why the f2fs compile is failing?
The error:
Code:
system/extras/f2fs_utils/f2fs_utils.c:53:13: error: 'struct f2fs_configuration' has no member named 'kd'
make Error 1
Click to expand...
Click to collapse
.....?
I never get error like that....
if try "rm system/extras/f2fs_utils " and retry repo sync

Categories

Resources