[Q] [DEV] camera2.h problem - Galaxy S Advance I9070 Q&A, Help & Troubleshooting

In file included from development/tools/emulator/system/camera/EmulatedCamera2.h:28:0,
from development/tools/emulator/system/camera/EmulatedFakeCamera2.h:26,
from development/tools/emulator/system/camera/EmulatedCameraFactory.cpp:28:
hardware/libhardware/include/hardware/camera2.h:112:39: error: 'HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED' was not declared in this scope
make: *** [/home/syafiq0408/slim/out/target/product/janice/obj/SHARED_LIBRARIES/camera.goldfish_intermediates/EmulatedCameraFactory.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
can someone please help me.. i'm trying to build slim rom but during build, this error appear and i dont to how to deal with HAL_PIXEL_FORMAT_IMPLEMENTATION..

Grab the string from system/core/graphics.h and add it to the camera2.h file
Sent from my GT-I9070 using Tapatalk 4 Beta

Maybe you are missing the framework mods for camera hal, pixel format, vibrator, etc from github cause they don't sync automatically with a repo init and sync I guess unless you manually edit your default.xml in .repo folder
Sent from my GT-I9070 using xda app-developers app

Shaaan said:
Grab the string from system/core/graphics.h and add it to the camera2.h file
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
I will look into graphic.h and try as u suggested..thanks shaan
frapeti said:
Maybe you are missing the framework mods for camera hal, pixel format, vibrator, etc from github cause they don't sync automatically with a repo init and sync I guess unless you manually edit your default.xml in .repo folder
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
No2 i did not manually edit the default.xml..so what is your suggestion then?btw, i will try as shaan suggested and report back here..
Sent from my GT-I9070 using xda premium

Related

editing build prop

hi, can anyone give me a TUT of how to create a flashable zip to add lines into the build.prop. i kept trying but i dont see any new lines in my buildprop. can anyone also give me the command to add lines into the build.prop in the updater-script file.
RayQ1223 said:
hi, can anyone give me a TUT of how to create a flashable zip to add lines into the build.prop. i kept trying but i dont see any new lines in my buildprop. can anyone also give me the command to add lines into the build.prop in the updater-script file.
Click to expand...
Click to collapse
Why do you even want to build a flashable zip only to modify BUILD.PROP file? Just use Root Explorer and edit the file, save it and reboot. You'll see the changes.
The Scientist95 said:
Why do you even want to build a flashable zip only to modify BUILD.PROP file? Just use Root Explorer and edit the file, save it and reboot. You'll see the changes.
Click to expand...
Click to collapse
I'm learning how to do this so I can make a zip file that contains everything
please tell what is the benefits of creating 2 accounts
I forgotened my password.
Sent from my GT-S5570 using xda premium
Someone report him I can't report him right now
Sent from my GT-S5570 using Tapatalk 2
Messi10 said:
Someone report him I can't report him right now
Sent from my GT-S5570 using Tapatalk 2
Click to expand...
Click to collapse
what to report for
dheeraj (dhlalit11) said:
what to report for
Click to expand...
Click to collapse
2 account u said
he should himself ask the mod to remove his previous account i had indicated him before about this
How am I suppose to remove it?
Sent from my GT-S5570 using xda premium
just talk to the mod about it
RayQXX said:
How am I suppose to remove it?
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Let me help you with that one.
THREAD CLOSED.

How to change text below the toggle buttons

i have the 15 toggle bar for the note n7000... but the text below them are too big.. can anyone tell me how to change them?
Hey anyone.. No replies yes.... Hmmmm..
I know that it's in the values folder.... String. Xml.... But when I edit the file and recompile the framework... The phone won't boot.
Sent from my GT-N7000 using xda premium
my question is add another language for title icon (i.e. italian) or change the title icon properly (i.e. flash light to flashlight).
i decompiled lidroid-res.apk add values-it and edit strings.xml, recompiled , put the new lidroid-res.apk into zip for cwm,
installed the zip via cwm, reboot but error ...
one week always error...
can someone help us?
Hey Devs.. please give us a hint of how to recompile the -res.apk file cuz we not getting any success.. i have been trying to get this done.. but failing every time... ...
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
letters_to_cleo said:
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
Click to expand...
Click to collapse
Thanks for ur response... but i seem to have used all the apktools available... i can recompile the "-res.apk" but when i put it back to \system\framework ... the UI FCs and the notification bar doesnot load.
unfortunately od has stopped. >> is the message i get when i put the modified "-res.apk".
i have noticed one thing that the recompiled apk doesnot have META-INF folder... although i tried to copy it and gave a try but still no go...
what i am trying to do is using a themed apk like lidroid or crikelos res .. decompile .. change some text under the toggle buttons ...
what am i doing wrong... ?
hmm... have you tried setting back the permissions on your modified -res.apk in /system/framework? Mounting it before hand?
If you have, you may indeed try to ask some devs or someone who knows their way in recompiling apks as this is a sensitive matter to touch with and I'm moderately more on contributing stuffs rather than delving into the internal programmings on the android ecosystem.
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No problems bud.
Hope somebody can take notice on your issue and give you a lending hand on it.
:victory:
---------- Post added at 10:08 PM ---------- Previous post was at 10:06 PM ----------
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Well there you go.. Cheers and Kudos to CoolCat on this :good:
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
nokiamodeln91 said:
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
Click to expand...
Click to collapse
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
CoolCatGetHome infinite thanks
you saved me from sleepless nights looking for the solution
again thanks
CoolCatGetHome said:
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
so this is wat i do, correct me where i go wrong plz
1 decomiple app..
2. change the dimen.xml
3. recomile app
4. open the original app using 7z
5. go to the build/apk folder
6. copy the res folder and the .asrc file to the opened apk.
7. sign the apk
there is a classes.dex file as well... do i change it or do i keep the original
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
nokiamodeln91 said:
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
Click to expand...
Click to collapse
No that apk doesnt need to have that apktool.yml edit
Only lidroid needs it
But u need to sig it with
Android manager
Or apkmanager
Etc
Sent from my GT-S5830 using xda premium

CyanogenMod for GT-S5830i

Hello guys.
As i know, Broadcom is working with the GSY devs and most probably will release the GPU source. Once the source is out, your device will get CM too. But just to speed up the process, i have started the base of building CM for the cooperve by setting up the device config and makefiles on my github here.
Anyone who wants to go to the next step and extract the proprietary modules and files is welcome to work. Please send me a pull request only when you are sure that the files are correct and up-to-date. Then i will add the files and patches if any.
So lets start building CM. Why wait if we can complete a few things and wait till Broadcom releases the GPU source.
Why don't you post this in the Android Development section?
Sent from my GT-S5830i using xda premium
RubenStauttener said:
Why don't you post this in the Android Development section?
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
The Android Development Section is only for development purposes. I haven't compiled CM. These are just the basic config and makefiles. So this is the correct section..
You are right man
Sent from my GT-s5830i using xda premium
:good:
vkv1995 said:
You are right man
Sent from my GT-s5830i using xda premium
Click to expand...
Click to collapse
carry on bro, gud luck
any news ?
Well some guy in the gal y section got paranoidandroid 4.0.4 working
Sent from my GT-S5830i using xda app-developers app
How we can extract the proprietary modules and files?
I have to wonder a thing? Why
gpu drivers, not extracted from
stock rom ? Using this driver in
cm7. this is very hard to
Just run the mkvendor script in the build environment.
Shaaan said:
Just run the mkvendor script in the build environment.
Click to expand...
Click to collapse
So I connect my phone to pc (with a linux distro right?) and run mkvendor?
Qeemi said:
So I connect my phone to pc (with a linux distro right?) and run mkvendor?
Click to expand...
Click to collapse
You need the source synced from CM github.
Sent from my GT-S5360 using xda app-developers app
Shaaan said:
You need the source synced from CM github.
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
One post dude for 1000 posts
I don't get it, Wasn't the user Qeemi sending the signatures to broadcom/samsung so they look back at us?
Fixed swapped colors in cm7 and cm9 with this patch:
Thanks for the information whitexp.
Based on your feedback, we've noted the following issues with the current BCM21553 CM7 port, and will investigate to see if we can help resolve them:
1) Colors are swapped when using software rendering. There are fixes for this, which involve copying libraries from the stock firmware, but they introduce stability issues.
2) libGLES_hgl.so has many shared library dependencies and does not work with the stock surfaceflinger/libui.
I was able to build CM7, with a couple modifications to your device tree, and replicate the color swap issue seen with software rendering.
We're working on a solution to formally release our software, but in the meantime, we have a test patch to fix the color swap issue without using any additional prebuilt libraries.
To try this, please copy the gralloc folder from hardware/libhardware/modules/gralloc ([-LINK-]) to your device tree and apply the attached patch to use the correct fbFormat for the hardware.
You will also need to modify the LOCAL_MODULE in Android.mk with the correct board name.
Thanks,
David
Patch inline:
bcm21553_gralloc_fb_format.patch
Code: [Select]
Code:
diff --git a/modules/gralloc/framebuffer.cpp b/modules/gralloc/framebuffer.cpp
index fe57a8a..a46d46e 100644
--- a/modules/gralloc/framebuffer.cpp
+++ b/modules/gralloc/framebuffer.cpp
@@ -355,7 +355,7 @@ int fb_device_open(hw_module_t const* module, const char* name,
if (status >= 0) {
int stride = m->finfo.line_length / (m->info.bits_per_pixel >> 3);
int format = (m->info.bits_per_pixel == 32)
- ? HAL_PIXEL_FORMAT_RGBX_8888
+ ? HAL_PIXEL_FORMAT_BGRA_8888
: HAL_PIXEL_FORMAT_RGB_565;
#ifdef NO_32BPP
format = HAL_PIXEL_FORMAT_RGB_565;
Click to expand...
Click to collapse
Thanks to dhsu from Broadcom and WhiteXP, Galaxy Y Dev
Does this mean the CM is on the way again? Wasn't the binaries just going to be released?
When the ROM is available for this version of ACE?
NEVER.
Ok?
Qeemi said:
NEVER.
Ok?
Click to expand...
Click to collapse
qemmi
why never ?
Because noobs cant wait.
Inviato dal mio GT-S5830i con Tapatalk 2

[Q] Help adding menus to Setting app

Hello,
I've been trying to add a section to Settings, but whenever I recompile the app and push, setting permissions, it to my phone, my device will say "App not installed". I've just added a few lines to settings.xml, and then stated the string on values/strings.xml. It gives no error when recompiling, am I doing something wrong?
Thanks in advance.
ImSoBored said:
Hello,
I've been trying to add a section to Settings, but whenever I recompile the app and push, setting permissions, it to my phone, my device will say "App not installed". I've just added a few lines to settings.xml, and then stated the string on values/strings.xml. It gives no error when recompiling, am I doing something wrong?
Thanks in advance.
Click to expand...
Click to collapse
You have to sign the apk coz android won't allow unsigned apk to be the system app. Use signapk for signing the apk file. Its very common tool for signing u can find it in the forums or just Google it.
Sent from my GT-S5830 using xda premium
BhawaniSingh said:
You have to sign the apk coz android won't allow unsigned apk to be the system app. Use signapk for signing the apk file. Its very common tool for signing u can find it in the forums or just Google it.
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Thanks, but it didn't work. I thought system apps didn't have to be signed unless AndroidManifest was touched...
That true
To add links to mai settings.xml
Make sure the packagenames are correct of the apk you want to link in the settings
An also add proper strings and icon resources
Sent from my GT-S5830 using xda premium
DeadSp1d3r said:
That true
To add links to mai settings.xml
Make sure the packagenames are correct of the apk you want to link in the settings
An also add proper strings and icon resources
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
With that's true, you mean signing the apk? I tried to sign it still, but still no luck. Thanks
ImSoBored said:
With that's true, you mean signing the apk? I tried to sign it still, but still no luck. Thanks
Click to expand...
Click to collapse
No sign apk
Did u replaced your res folder of compiled apk !
Sent from my GT-S5830 using xda premium

[Q][DEV] building aokp error

The buidlding of aokp is not complete and this error appear..can any developer(s) help me..
using device-specific extensions in device/samsung/common
unable to load device-specific module; assuming none
Traceback (most recent call last):
File "./device/samsung/u8500-common/releasetools/u8500_ota_from_target_files", line 115, in <module>
main(sys.argv[1:])
File "/home/syafiq0408/aokp/build/tools/releasetools/ota_from_target_files", line 873, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./device/samsung/u8500-common/releasetools/u8500_ota_from_target_files", line 63, in WriteFullOTAPackage
if OPTIONS.backuptool:
AttributeError: 'Options' object has no attribute 'backuptool'
make: *** [/home/syafiq0408/aokp/out/target/product/janice/aokp_janice-ota-eng.syafiq0408.zip] Error 1
[email protected]:~/aokp$
SOLVED
Does the syncing part work properly for you. I got some error.
Sent from my GT-I9070 using xda premium
Abhinandh Ajay said:
Does the syncing part work properly for you. I got some error.
Sent from my GT-I9070 using xda premium
Click to expand...
Click to collapse
yup! work nicely and about time to publish my first ever source-built rom..
Edit : and btw, what errors that you facing?
assassin0408 said:
yup! work nicely and about time to publish my first ever source-built rom..
Edit : and btw, what errors that you facing?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=43344115&postcount=26
I had posted it here quiet some time back
Abhinandh Ajay said:
http://forum.xda-developers.com/showpost.php?p=43344115&postcount=26
I had posted it here quiet some time back
Click to expand...
Click to collapse
try renaming your local_manifest to local_manifests
assassin0408 said:
try renaming your local_manifest to local_manifests
Click to expand...
Click to collapse
OK thanks and I see you have built AOKP from source. Nice
Sent from my GT-I9070 using xda premium

Categories

Resources