Camera file please (can be deleted) - Samsung Galaxy SL i9003

i need the libcamera.so from system/lib on kpu please. thanks.
shrioms video fix is taking my camera down so it cant open without laggs and after a minute cam doesnt work.
edit: found the post now- it has a revert back file. mod delete. thx

Related

[GUIDE] How to port a ROM

For those who doesn't search a bit n bug here n there for the question "how to port roms??? like cm7 n miui?"
here is the answer :
add/replace these
/system/app:
Bluetooth.apk → To fix the bluetooth problem
Phone.apk → To fix the proximity sensor issue
Added liquid settings & GApps
/system/bin:
Since you probably use the old sensor, you need to add all the *_yamaha files.
brcm_patchram_plus → To fix the bluetooth
dhcpcd
netd → To fix the wifi hotspot (you MUST change also /lib/libhardwarelegacy.so too, else you will get a bootloop)
rild → To get the network working
servicemanager → To get the sensors working
vold → To get the vold working
/system/etc:
the entire firmware folder to get wifi and sensors working
the init.d folder to tweak the rom
the permissions folder, added missing xmls
the entire wifi folder to get the wifi working
gps.conf → To improve the GPS
hosts → To fix ads
media_profiles.xml → To fix problems with camera and camcorder
vold.conf and vold.fstab → To fix vold, if you don't change them the rom won't boot.
/system/framework:
Added com.google.android.maps.jar to fix problems with the apps which uses GMaps.
You can find there the files to tweak with smali to get some stuff working. For example, if you want to get the prox. sensor working well, you need to edit the PowerService class in services.jar.
/system/lib:
the entire egl folder
the entire hw folder
the entire modules folder
all the libOmx* .so files → To get the camcorder working
all the libaudio* .so files → To get the audio working (if you don't change them, it won't boot)
libandroid.so
libauth.so
libcamera.so and libcameraservice.so → These depends on the ROM.
libcm, libcommondefs.so, libdiag.so, libdll.so, libdsm.so, libdss.so, libeffects.so, libg*.so
libhardare_legacy.so
libloc*.so
liblog.so
libmedia.so
libmmgsdilib.so, libmmipl, libmmjpeg.so, libnfc_ndef.so, libnv.so
libms3c_yamaha.so → To fix the sensors
liboemcamera.so → To fix the camera & camcorder
liboncrpc.so, libpbmlib.so, libqmi.so, libqueue.so
libril*.so
librtp_jni.so
libsensor*.so
libspeech.so
libsqlite_jni.so
libstagefright_*.so → These are usually not required
libt99.so
libvoicesearch.so
libwebcore.so
libwms.so
libwmsts.so
/system/sd:
The placeholder file. → To get sd working
/system/usr:
the entire 'keychars' and 'keylayout' folders
/system/vendor:
The entire folder.
/system:
Edit build.prop and add/change the following strings:
ro.product.board=salsa
ro.hw_version=4
rild.libpath=/system/lib/libril-acer-1.so
Obviously you also need to change the kernel and, if needed, you must also edit the BOOTCLASSPATH in the init.rc file in the ramdisk. Please refer to other tutorials for this.
Very nice, Thanks man
sachin0701 said:
For those who doesn't search a bit n bug here n there for the question "how to port roms??? like cm7 n miui?"
here is the answer :
add/replace these
/system/app:
Bluetooth.apk → To fix the bluetooth problem
Phone.apk → To fix the proximity sensor issue
Added liquid settings & GApps
/system/bin:
Since you probably use the old sensor, you need to add all the *_yamaha files.
brcm_patchram_plus → To fix the bluetooth
dhcpcd
netd → To fix the wifi hotspot (you MUST change also /lib/libhardwarelegacy.so too, else you will get a bootloop)
rild → To get the network working
servicemanager → To get the sensors working
vold → To get the vold working
/system/etc:
the entire firmware folder to get wifi and sensors working
the init.d folder to tweak the rom
the permissions folder, added missing xmls
the entire wifi folder to get the wifi working
gps.conf → To improve the GPS
hosts → To fix ads
media_profiles.xml → To fix problems with camera and camcorder
vold.conf and vold.fstab → To fix vold, if you don't change them the rom won't boot.
/system/framework:
Added com.google.android.maps.jar to fix problems with the apps which uses GMaps.
You can find there the files to tweak with smali to get some stuff working. For example, if you want to get the prox. sensor working well, you need to edit the PowerService class in services.jar.
/system/lib:
the entire egl folder
the entire hw folder
the entire modules folder
all the libOmx* .so files → To get the camcorder working
all the libaudio* .so files → To get the audio working (if you don't change them, it won't boot)
libandroid.so
libauth.so
libcamera.so and libcameraservice.so → These depends on the ROM.
libcm, libcommondefs.so, libdiag.so, libdll.so, libdsm.so, libdss.so, libeffects.so, libg*.so
libhardare_legacy.so
libloc*.so
liblog.so
libmedia.so
libmmgsdilib.so, libmmipl, libmmjpeg.so, libnfc_ndef.so, libnv.so
libms3c_yamaha.so → To fix the sensors
liboemcamera.so → To fix the camera & camcorder
liboncrpc.so, libpbmlib.so, libqmi.so, libqueue.so
libril*.so
librtp_jni.so
libsensor*.so
libspeech.so
libsqlite_jni.so
libstagefright_*.so → These are usually not required
libt99.so
libvoicesearch.so
libwebcore.so
libwms.so
libwmsts.so
/system/sd:
The placeholder file. → To get sd working
/system/usr:
the entire 'keychars' and 'keylayout' folders
/system/vendor:
The entire folder.
/system:
Edit build.prop and add/change the following strings:
ro.product.board=salsa
ro.hw_version=4
rild.libpath=/system/lib/libril-acer-1.so
Obviously you also need to change the kernel and, if needed, you must also edit the BOOTCLASSPATH in the init.rc file in the ramdisk. Please refer to other tutorials for this.
Click to expand...
Click to collapse
nothing to unlock the wifi?
i posted this 7 months ago
and lol u copied it - 'rild.libpath=/system/lib/libril-acer-1.so'
I am sure this guide will not make the phone boot
Sent from MIUI V5 on GT-I9003
Never needed this
Yeah sakindia is right he posted this way back in june
Sent from my GT-I9003 using XDA App
bro sakindia i searched xda for porting roms but cudn't find any 1and this i ddn't copied u its from combined resources out of xda!!!!!
i dont knew abt this sorry bro!!!!
sakindia123 said:
i posted this 7 months ago
and lol u copied it - 'rild.libpath=/system/lib/libril-acer-1.so'
Click to expand...
Click to collapse
if u think i will delete this post so chilax!!!
gm007 said:
I am sure this guide will not make the phone boot
Sent from MIUI V5 on GT-I9003
Click to expand...
Click to collapse
bro than wud u help me correct this post plz???
Hello, Sachin.. I will try out your guide.
But I have one suggestion: make it more newbie friendly. Currently seems like people who already know how to port a ROM would understand this, but those that don't (the people who most need a guide) will have to try this blind. Can you make is so its like a guide for an absolute newbie?
inciongd said:
Hello, Sachin.. I will try out your guide.
But I have one suggestion: make it more newbie friendly. Currently seems like people who already know how to port a ROM would understand this, but those that don't (the people who most need a guide) will have to try this blind. Can you make is so its like a guide for an absolute newbie?
Click to expand...
Click to collapse
take the rom you want to port n take a stable rom for the same device....
extract both roms....now replace all above files of a stable rom from the rom u want to port!!! after replacing/adding reapack it n u r done......
wen u extract rom u will find a file system.rfs extract it...than u will be able to find the files listed above!!!!!
sachin0701 said:
take the rom you want to port n take a stable rom for the same device....
extract both roms....now replace all above files of a stable rom from the rom u want to port!!! after replacing/adding reapack it n u r done......
wen u extract rom u will find a file system.rfs extract it...than u will be able to find the files listed above!!!!!
Click to expand...
Click to collapse
Sry for the noob question but if its jut extract and repack then how come the devs are having problem making the camera work
Sent from my GT-I9003 using XDA App
devilhell007 said:
Sry for the noob question but if its jut extract and repack then how come the devs are having problem making the camera work
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Video, audio Codec and lib files I believe.
Cheers
Sent from my i9003 powered by Cyanogenmod 7
I really want to this tutorial
Sent from my Droid using Tapatalk 2 Beta-4
Useful guide.
Sent from my GT-I9003 using xda premium

gallery android 4.2

This is the new gallery of android 4.2
http://forum.xda-developers.com/showthread.php?t=1965895
Don't flash it. you must put the apk and files lib in system (app and lib) change permissions in rw-r-r.
The camera works fine the photosphere is laggy.
venetkens said:
This is the new gallery of android 4.2
http://forum.xda-developers.com/showthread.php?t=1965895
does anyone know if it works on i9003?
You can find it also in androidpolice but i can't post the link.
Click to expand...
Click to collapse
Try it, it should work on ICS but if not definetly JB unless the DPI difference creates some problem because I think that android gallery from Nexus 4 which is xhdpi
I installed gallery with camera of android 4.2 . gallery works fine and camera to but in sphere mode in camera we get incompitable error for support that can be solved by changing build.prop but still not able to take sphere photograph due to some missing lib. gallery works fine but get force close when you use sphere button in gallery.
nicsptl said:
I installed gallery with camera of android 4.2 . gallery works fine and camera to but in sphere mode in camera we get incompitable error for support that can be solved by changing build.prop but still not able to take sphere photograph due to some missing lib. gallery works fine but get force close when you use sphere button in gallery.
Click to expand...
Click to collapse
I can't try it now but in the version on android police photos sphere should work.
this is what you can read on android police :
Note: Original credit goes to XDA and AndroidCentral Forums but the download below contains a camera/gallery build that we patched to allow users of non-Nexus devices to capture and view Photo Spheres.
I' m sorry but I can't post the link for download because it' s an external link
I flashed the gallery (android police) 3 time but in the menu there aren't the new gallery and the new camera,there are only the old ones.
Then I fleshed the version on xda but the situation is the same. Any solution ?
It worked for me.....I flashed it but no luck..then I opened the zip and put the apps in their right places....then I rebooted and I saw 2 camera and two gallery apps....Using root uninstaller delete the old gallery...then you're free to use 4.2 gallery and camera..Don't forget...after placing the apps put their proper permissions ( rw-r-r )
Sent from my GT-I9003 using xda premium.
Hit thanks if I helped you
mathew1234 said:
It worked for me.....I flashed it but no luck..then I opened the zip and put the apps in their right places....then I rebooted and I saw 2 camera and two gallery apps....Using root uninstaller delete the old gallery...then you're free to use 4.2 gallery and camera..Don't forget...after placing the apps put their proper permissions ( rw-r-r )
Sent from my GT-I9003 using xda premium.
Hit thanks if I helped you
Click to expand...
Click to collapse
I have already tried pushing the apk in system app but in this way the photos sphere don't work for me.
I tried it on CM10 a3 it works perfectly. Photosphere is a bit laggy.
BassBlaster said:
I tried it on CM10 a3 it works perfectly. Photosphere is a bit laggy.
Click to expand...
Click to collapse
I have the build.prop of topdroid. Can it be the problem?
mathew1234 said:
It worked for me.....I flashed it but no luck..then I opened the zip and put the apps in their right places....then I rebooted and I saw 2 camera and two gallery apps....Using root uninstaller delete the old gallery...then you're free to use 4.2 gallery and camera..Don't forget...after placing the apps put their proper permissions ( rw-r-r )
Sent from my GT-I9003 using xda premium.
Hit thanks if I helped you
Click to expand...
Click to collapse
When I tried pushing it via Solid Explorer it said "invalid CRC" for all the files.
Tried flashing through recovery, no success.
How did you do that?
I tried them on both CM10A3 by dhiru and RemICS-JB.
cheeyeen said:
When I tried pushing it via Solid Explorer it said "invalid CRC" for all the files.
Tried flashing through recovery, no success.
How did you do that?
I tried them on both CM10A3 by dhiru and RemICS-JB.
Click to expand...
Click to collapse
I push the googlegallery apk in system app, then i change permission in rw-r-r and owner in root- root. then reboot the device.
For me the gallery and camera work the only thing that doesn't work is photosphere
Now everything works! I pushed both apks into system/app, then pushed all the lib files into system/lib, changed all their permissions and then rebooted. Optional to delete old Gallery2.apk. Everything now works.
Note: photosphere lags. The blue dot moves at a per second basis. Will only take the first picture and lag big time, and gallery would force close afterwards.
Sent from my GT-I9003 using xda app-developers app
Wow it is wonderfull and of the most delight design.
I used the .zip by androidpolice but figure out that the apk and libs were send to the wrong folder...
So following comment's advices I extract the zip and put the 2 apk in /system/app and the libs in /system/lib without forgetting to change permission as the other base apks and lib so: RW-R-R (all of this using solid explorer).
I also deleted gallery2 which suck^^.
So far this version of gallery is so SEXY and CLEVER, wow now the interface is very tiny and let a lot of space for taking pictures, etc..
The video mode work also good, maybe better than previous gallery on CM10-alpha3 Paranoidandroid rom.
I never expected something of photosphere, it launch but can't be used.
There is a possibility to retouch pictures, sweet!
The interface is neet, you have to see screenshots, just for that I recommend gallery 4.2.
One little point: no possibility to take pictures with menu button.(ok very small point)
Big problemanorama doesn't work for me, am I the only one or did I do a mistake?
For me, panorama works fine! The camera is so damn smooth :good: dhiru should implement it instantly if he released another JB 4.1- Build!!
Epar said:
For me, panorama works fine! The camera is so damn smooth :good: dhiru should implement it instantly if he released another JB 4.1- Build!!
Click to expand...
Click to collapse
Ok so thanks, I used http://forum.xda-developers.com/showthread.php?t=1965895 link for 4.2 camera from xda instead of androidpolice's one and by doing exactly what I said earlier I'm happy that everything working smooth!
I was also able to took 2 pictures in sphereview ^^.
Ho and yes the panorama mode works.
Edit: the spheremod is working, I was able to take pictures, generate a file and then watch it in "3D"
Nevertheless for photosphere, pictures could only be taken following a vertical axe and I had to rotate a lot my arm so the result of my test is terrible: I had with a living room a composition of a door+ the ceiling+ another wall.
So the 2 remains problem with photosphere are that it is too slow, I mean to go to another blue point you have to move a lot and that you could only do it following one axe.
Edit2: The gyroscope seems to be the problem as said here http://forum.xda-developers.com/showthread.php?t=1965895.
Hi
I've a problem with this mod. When i try flash from recovery the zip file nothing happens. But when i extract the zip file and copy apps to system/app, lib to system/lib and changed permissions, reboot phone. Phone reboot , system loading and reset, now phone boot and go to recovery. I can't boot system normally. What i do wrong ? Can someone post a tutorial, step by step how to do it ?
Thanks for advice and sorry for my english.
ymmi21 said:
Hi
I've a problem with this mod. When i try flash from recovery the zip file nothing happens. But when i extract the zip file and copy apps to system/app, lib to system/lib and changed permissions, reboot phone. Phone reboot , system loading and reset, now phone boot and go to recovery. I can't boot system normally. What i do wrong ? Can someone post a tutorial, step by step how to do it ?
Thanks for advice and sorry for my english.
Click to expand...
Click to collapse
More info like ur ROM and android version will be useful. But from the way you said it sounds correct.
Sent from my GT-I9003 using xda app-developers app
O sorry, I use CM10 Alpha 3.
ymmi21 said:
O sorry, I use CM10 Alpha 3.
Click to expand...
Click to collapse
Try reflashing your ROM if you can only go into recovery?
1. Extract the files from zip
2. Copy the GoogleGallery.apk and GmsCore.apk and paste into system/app, change permission to rw-r--r--
3. Copy the lib files (total 3) and paste into system/lib, change permission to rw-r--r--
4. Reboot.
5. Check the camera app and gallery if they're working.
That's what I did to make it work in CM10A3 and RemICS-JB, and also JellyBam.
cheeyeen said:
Try reflashing your ROM if you can only go into recovery?
1. Extract the files from zip
2. Copy the GoogleGallery.apk and GmsCore.apk and paste into system/app, change permission to rw-r--r--
3. Copy the lib files (total 3) and paste into system/lib, change permission to rw-r--r--
4. Reboot.
5. Check the camera app and gallery if they're working.
That's what I did to make it work in CM10A3 and RemICS-JB, and also JellyBam.
Click to expand...
Click to collapse
Hey, thx for advice, but this solution don't work. I did it so, I install titanium backup, I did backup gallery file and uninstall gallery. Next I extract and rename file (like original gallery2.apk) and I go to system/app and copy files (googlegallery.apk and gmscore.apk) with change permissions. Now reboot and everything works fine. I have only one camera and gallery in menu. I change with this solution default desk clock and again work fine.

[Q] how to optimise apk files

Guys I'm a newbie to apk building...
I wanted to build a theme....
I've to optimise the apk file....
How do I do that, should I optimise the files in apk before building or should I optimise the apk itself...
Wt ever way I want that to be done, plz tell what all files I've to download to optimise the files
And procedure too
swaroopg551 said:
Guys I'm a newbie to apk building...
I wanted to build a theme....
I've to optimise the apk file....
How do I do that, should I optimise the files in apk before building or should I optimise the apk itself...
Wt ever way I want that to be done, plz tell what all files I've to download to optimise the files
And procedure too
Click to expand...
Click to collapse
U need optimize files in APK and after build it, example of optimizing is reduce quality of PNGs, remove languages, etc...
You follow this guide (only first post) to decompile and compile APK files .
http://forum.xda-developers.com/showthread.php?t=1453869
Regards.
Started theming...
Faced a problem yesterday
force close
sense stopped working
Don't know why
3reasons for that might be
1. I just replaced png by JPEG and the other way
2.I dint resize the PNG, just placed as it is
3. Some thing might have went wrong while compiling
Wt do u think the reason for fc's
swaroopg551 said:
Started theming...
Faced a problem yesterday
force close
sense stopped working
Don't know why
3reasons for that might be
1. I just replaced png by JPEG and the other way
2.I dint resize the PNG, just placed as it is
3. Some thing might have went wrong while compiling
Wt do u think the reason for fc's
Click to expand...
Click to collapse
I think that the reason is JPEG images, I think that only are compatible PNG images.
And if you only want replace images, open APK with WinRAR and replace images, it is the safer and faster method to theming .
Regards.
I did, the thing wrong with that method is,
By replacing a JPEG image file by PNG file, is not being recognised on flashing that apk...
Everything else other than those images are working fine....
One more thing along with the above problem
I've taken some theme, replaced some image files, wanna rename that apk
Wt should I do
On just renaming the default name where ever I saw in folders dint help me....
Sent from my HTC Explorer using xda app-developers app

Does Anyone have Stock Camera files?

I flashed a mod and accidentally deleted my gallery and camera apk's in the priv-app directory...
Can someone post them for me?

Camera and gallery folders in system/priv-app messed up. Please help.

I have messed up the whole camera and gallery folders in the system/priv-app . It would be great if someone made a flashable zip. I'm running nougat. Thanks in advance.

Categories

Resources