yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II, Galaxy S III Developer Discussion ] Gioyik:
[Issue Building][B2G] Porting FirefoxOS tto the S3 i9300

Hi,

I am a working Porting FirefoxOS to the S3 i9300, but i have a problem with the gralloc_module.cpp, so this is the log:

b2g/application.ini
b2g/libnspr4.so
target thumb C++: gralloc.i9300 <= hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: In function 'int gralloc_lock(const gralloc_module_t*, const native_handle_t*, int, int, int, int, int, void**)':
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:386: error: 'GRALLOC_USAGE_YUV_ADDR' was not declared in this scope
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp: At global scope:
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: error: 'gralloc_module_t' has no non-static data member named 'getphys'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::info'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::finfo'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::xdpi'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::ydpi'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::fps'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::enableVSync'
make: *** [out/target/product/i9300/obj/SHARED_LIBRARIES/gralloc.i9300_intermediates/gralloc_module.o] Error 1

real 1m57.225s
user 1m53.015s
sys 0m23.001s

> Build failed! <

Build with |./build.sh -j1| for better messages
If all else fails, use |rm -rf objdir-gecko| to clobber gecko and

Could some help me with this? I like continue with the Port but i can't find a patch to solve this. The repo where there are all the files of the Port is this

https://github.com/Droid2Fox.

The repo that has the library wrong is this:

https://github.com/Droid2Fox/android_hardware_samsung

I work with the ICS branch, not with the Jellybeam.

Thanks
[Galaxy Note II, Galaxy S III Developer Discussion ] T-Macgnolia:
Ok from what your error says I think the lines you need to pay attention to in the error is the following lines.

hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: error: 'gralloc_module_t' has no non-static data member named 'getphys'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::info'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::finfo'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::xdpi'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::ydpi'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::fps'
hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480: warning: missing initializer for member 'private_module_t::enableVSync'

In your build folder look in hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp and look at line 480 of that file. Now without being able to look at that file I can not tell you anymore about it. But that is what i read from your error.
[Galaxy Note II, Galaxy S III Developer Discussion ] Gioyik:
Re: [Issue Building][B2G] Porting FirefoxOS tto the S3 i9300

This is the file that has the issue:

https://github.com/Droid2Fox/androi...exynos4/hal/libgralloc_ump/gralloc_module.cpp

Do you know any idea of how to do it work?

Thanks
[Galaxy Note II, Galaxy S III Developer Discussion ] garyd9:
This reply might seem insulting, but it's impossible for me to know what previous knowledge the original poster has...

Do you understand the errors and warnings that the compiler is generating? What have you done already in order to try and diagnose the errors/warnings? What were the results (if any?)

Are you a developer who is fluent with c++, or are you only looking for someone to provide patches to make things work for you?

Thanks

Gary
[Galaxy Note II, Galaxy S III Developer Discussion ] Gioyik:
Hi,

I understand the warnings that generates the compiler, and i am trying to declare those functions, but i am not good with C++. I create a patch for the Cammerawrapper.cpp before, but for this i don't understand so much how to fix it. I have been some changes, i can declare some functions but it continues giving problems with other functions that are not declared. I found this:

http://git.linaro.org/gitweb?p=peop...b;hb=24a9e234b68b3f44f0f0dbe7dc7efc8f0d57808d

It's good, it solve the 80% not the 100% of the issue, because it fails again because the 'GRALLOC_USAGE_YUV_ADDR' is not declared.

So, i post this in XDA, because i know that there are a lot of devs that knows too much than me about this, and possibly someone has a solution for this. I am not rude and i don't like that other do the work for me, it's only a Post to ask if someone pass for this before and got a solution.

Thanks for you're answers.
[Galaxy Note II, Galaxy S III Developer Discussion ] cpu999:
or you could just build aosp ics and copy whatever the error says it cannot build into the b2g out...
[Galaxy Note II, Galaxy S III Developer Discussion ] Gioyik:
Re: [Issue Building][B2G] Porting FirefoxOS tto the S3 i9300

Yes could be a solution. I will try. Thanks.
[Galaxy Note II, Galaxy S III Developer Discussion ] Gioyik:
Note: This is not a question or helping post, this is for Devs interested in continue with the Port of FirefoxOS to i9300

Hi,

My name is Giovanny, and i was trying to make the Port of FirefoxOS to S3 i9300. I have some work ready and some patches ready to build some parts of the port but i can't cotinue making it, because i have some problems compiling that i can resolve myself. I am not a great Android Developer, i know somethings but i am not an expert. For that reason i like share my work with XDA, if there's a Dev interested in make the Port succesfull. This is my Organization account in GIthub:

https://github.com/Droid2Fox

There, i have all the sources ready to start building the Port, it has problem building thats bad for me, because i don't know how to resolve it. :( If you're interested in continue with the Port you can follow those steps:

Steps:

Clone the repo: https://github.com/Droid2Fox/B2G

Into the repo directory run in the terminal: ./config.sh i9300

When it finishes the download of sources: ./build.sh

And flash with the finally package

For more information visit:

https://developer.mozilla.org/en-US...lug=Mozilla/Firefox_OS/Building_Boot_to_Gecko

https://developer.mozilla.org/en-US...Firefox_OS/Preparing_for_your_first_B2G_build

What's the problem with the Port:

Problems with galloc library

Problems when compile ./test.....js

Possibly other problems

I know that someone can do it more easier, i have some time ago doing this but i can't resolve all the problems, for that reason i decide that other Devs interested can complete this. :)

Thanks so much, i will be reading if someone is working on it.
[Galaxy Note II, Galaxy S III Developer Discussion ] garyd9:
Merged the two "firefox i9300" threads (both started by the same person in the same section) together.
[AT&T Samsung Galaxy Note I717] markdexter:
Just looking for some recommendations from bell users on a good rom for our device.
[AT&T Samsung Galaxy Note I717] djafoul05:
cm 10.1 cyanogenmode
[Android General] xd-lskb:
ckuck95 congratulations on your work! I had trouble with this new rom that you harbor aokp (JB) I connect AS THE HEADSET PHONE NO TO YOU ACKNOWLEDGE AND THEREFORE NOT FOR THE MUSIC IN ESCULTAR EARPHONE.
[T-Mobile, Samsung Galaxy SIII] clninja:
From what I gathered. Still will be illegal to unlock a phone if "bound by a service agreement" so if your under contract they can refuse to unlock your phone
[T-Mobile, Samsung Galaxy SIII] Valhalla_:
Haha. I was just about to post the exact same thing as the OP. Just got the email too.

So if bound by a service agreement, they don't have to unlock the phone. But what's stopping anyone from doing it on their own?

+Bound for Valhalla!
[T-Mobile, Samsung Galaxy SIII] sswb27:
Nice to see our government can work for us for a change.
[T-Mobile, Samsung Galaxy SIII] Towle:
They just wanted it off their desk so they can continue to raise our taxes and make their wallets fatter.
[T-Mobile, Samsung Galaxy SIII] Jose0726:
Probably just another Ilumminati trick lol
[HTC One S] blackcell1:
Is it possable to change bootdown animation on vipers ? Anyone no the filename/location ?
[HTC One S] Ice Master Ben:
U can use the venom tweakes to change them or, system/customize/resource the file names are bootanimetion.zip and downanimation.zip respectively
[Kindle Fire Q&A, Help & Troubleshooting] timtlm:
I got a couple of Kindle Fires for my kids, and Installed the Play store. Most apps that I had paid for in the Play store work just fine, but on a few I get this error when launching them. Obviously I'm hoping to avoid having to re-buy apps on the Amazon Market. I'm just wondering if there are some build.prop edits or something that may fix this issue. I realize I could flash a CM10 rom, but I was going to try to keep the kf OS to take advantage of prime, and some exclusive kids apps on the kf. Seems like there are a lot of developers of kids games that are only publishing apps for the kf devices. I'm guessing because kindle fires are a little more kid friendly especially with the new FreeTime feature on the newer versions.
[Kindle Fire Q&A, Help & Troubleshooting] jma9454:
I don't know if there is a work around on the stock os, but what you could do is backup all the kindle apps that you have, and flash cm10 or 10.1. You would need to install Amazon's appstore to use them, but you don't need the kindle-specific version; just the one you can download. There is a thread on here that talks about getting Prime videos working, but I don't know if that would work. There are a ton of apps that will backup apps, but a popular one is titanium backup.
[Kindle Fire Q&A, Help & Troubleshooting] timtlm:
I suppose I can give that a try. I just assume that some of the Kindle fire specific apps like the Dora ABC volume 1 won't work without the Kindle fire OS.
[Kindle Fire Q&A, Help & Troubleshooting] jma9454:
They still work. I can speak from experience. I backed up quite a few kindle-specific apps and they worked.

I guess I can't guarantee their workability, because some might not work, but for the most part, they should work.
[Kindle Fire Q&A, Help & Troubleshooting] timtlm:
I just tried with a couple apps and restored them on my phone. First tried Toca Hair Salon (exclusive kf app), and surprisingly it did work. The other I tried was the Dora ABC volume 1, and that didn't work. It didn't even have the correct icon. The Dora app does use whisper sync game circle, though. So it may be because it depends on those stock apps being present. Do you know if you've tried with any of these kind of apps? I still need to try restoring it on an actual kf running 4.2 and not my phone, but I just tried for a quick test.
[Kindle Fire Q&A, Help & Troubleshooting] jma9454:
I can't tell you about an app like that, but if you up the apk, I will try.
[Kindle Fire Q&A, Help & Troubleshooting] timtlm:
I just installed cm10 on my 2nd kf, restored the Dora app, and it did work. I also tried on my nexus 7 and it worked too. So, the app is not compatible with my phone I guess.

However, I tried a few of the apps that were giving the error message in the title of this thread, and they still give the same error in cm10. So, it seems the error is within the app, but strange multiple apps from different developers have the same message.
[Kindle Fire Q&A, Help & Troubleshooting] jma9454:
What apps specifically?
[Kindle Fire Q&A, Help & Troubleshooting] timtlm:
Some free ones you can try:

Space Jigsaw Puzzle or any other free app from Wombi. The space jigsaw puzzle is available for free from the Amazon store as well, which that one works on the kf.

https://play.google.com/store/apps/details?id=com.wombi.spacepuzzle

Sight Words Games Lite

https://play.google.com/store/apps/details?id=cz.cfc.androidgp.sightwordslite

Snow white interactive book

https://play.google.com/store/apps/details?id=TheLusca.com.SnowWhite2

The paid Super Why game from the play store also produces this error, but other PBS Kids apps like Daniel Tiger and Fresh Pick do not.
[Kindle Fire Q&A, Help & Troubleshooting] jma9454:
I tried this one. It didn't work at first, but then I changed the manufacturer from Amazon to Google and the model or whatever it is from Amazon Kindle Fire to Nexus 7 all manually. I rebooted, and launched the app and it worked just fine. So there's a work around that I would guess works for all/most apps like this.

-edit-

I just reset the manufacturer to Amazon and it still worked with a "nexus 7" device. But I went back to kindle fire as the device and it didn't work again. I didn't even notice till now, but it changed my signature to nexus 7 while I had that modded. :)
[Kindle Fire Q&A, Help & Troubleshooting] timtlm:
Big thanks! That does work. I didn't think it would be that simple. For Super Why I had to change both the model and the manufacturer. Now I think all my apps are working. Thanks a lot.

When I was searching out this error, I saw developers discussing this message on a cross-platform development software called Carona. It must be something that it adds automatically depending on the build options. This would explain why different apps have the same error message. I'm guessing all these apps were developed using this software.
[HTC Sensation] tommer2:
Hi, I've done searches and still can't find what I need so here it is. I have a T-mobile Sensation 4G that I rooted. I used Juopunutbear S-OFF (HBOOT 1.27.0000 with 3.32 ICS Firmware. I then flashed ARHD 6.7.2. I'm selling the phone and the person just wants a STOCK Sensation. I need help doing this. I did download the RUU for the T-mobile US. I have this one. RUU_PYRAMID_ICS_TMOUS_3.32.531.14_Radio_11.69A.3504.00U_11.23.3504.07_M2_release_256085_signed. I tried running this but it said there was an error. Can you guys help me out? Thanks:confused:
[HTC Sensation] malybru:
Hi,

Look HERE

Make sure you are not using USB 3.0 slots

Try different slots on the PC,including the back.

Go into bootloader,fastboot ,then, plug in the usb cable.

It should read "Fastboot USB".

:)
[MDA, XDA, 1010 Software Upgrading] ymj:
I have a locked T-Mobile and I am in the middle-east

I have the serial cable and I can sync my pocket pc phone Edetion ( T-Mobile ) without problems & I downloaded the XDA manipulator

I followed all the steps but it didn't work. The program couldn't detect my T-Mobile. I don't know wath could be the problem

Please could anyone help me

thanks
[MDA, XDA, 1010 Software Upgrading] Peter Poelman:
If you are sure you have a serial cable, the problem might be that some other program, possibly even ActiveSync, is keepin the COM port open. So kill ActiveSync or tell it to leave the port alone, and then try again.
[MDA, XDA, 1010 Software Upgrading] Cnovamd:
Yeap, this was a problem for me, I uninstalled Active sync and unlocked it faster than you can say (insert something corny here).
[MDA, XDA, 1010 Software Upgrading] ymj:
stell non responce

thanks alot XDA Developer #7GH &Cnovamd for respons

i do uninstall sync & i am sure i have serial cable

but stell i cant conect with my device it give ( conecting to host ) an then disconnect again.

ymj

:(
[MDA, XDA, 1010 Software Upgrading] martinlong1978:
Just wanted to check. Do you have it in bootloader mode?
[MDA, XDA, 1010 Software Upgrading] ymj:
replay

yes i do

the steps i do as follw

1-start my pc

2-wait tel all programs loaded to the pc

3-disable all programs so to be sure that no eny program using com port

4-reset my device by the heding botton botom side ( using the pen)

5- making soft reset from the top botton

6-conecting the seril cable to the device

7- runing the program

non respons( give the same result) conecting to host and then disconect

ymj
[MDA, XDA, 1010 Software Upgrading] Peter Poelman:
Re: replay

These steps have to happen at the same time! In other words: hold the on/off button pressed while performing a soft reset (using the big hole on the bottom left).
[MDA, XDA, 1010 Software Upgrading] ymj:
you are sooooo grat

XDA developer Peter Poelman you are soo grate man

the stpes as i read it was given my up side down instractions

i do prefer to do write the steps on the weeb site step by step that every one can ander standet clearly

thanks a lot again and again

ymj
[Xperia Arc Q&A, Help & Troubleshooting] LMHudson:
OK to start. Yes I have searched and read more info in the last 5 days than. I have done in the last year !!

I've literally spent about 10 hours reading / testing so far

Sorry for the war and peace below but if I explain everything so far it may help answer some of the initial questions that are normally asked

Here is what I have, what I wan't to achieve and what I've tried so far and the results.

I have a "Basic" arc (Not pro or "S" or anything like that). - LT15i. Latest version of andriod it will take via the official channels is 2.3.4

Build 4.0.2.A.0.62 (I Think).

I want to put on a custom rom and jazz things up a bit

Searching for good stable roms etc, several polls / posts point to "Xperia Ultimate HD" so thats what I'm trying 1st.

Looks to be on 4.1 of ICS (Seems a bit of a big jump from 2.3. (Can my arc handle that)

OK Here's what's happened so far

Tried to root the phone (flashtool, then loads of other ways) finally found out that build ......62 has a Kernal that can not be rooted, so I flashed .....42 with a rootable Kernal and then the zergrush rooting exploit worked.

Next I tried to unlock the bootloader, did the "*#*#7378423#*#" (Service info > Configuration > Rooting Status) check which was blank, thus shouldn't be unloackable, but I'm kinda stubborn and tried it anyway. Flashtool reported that it worked and now the status says unlocked !!

So I installed X-parts and flashed the zip file exactly as its says in the instructions to flash the rom, leaving all the default options as they are unless I specifically had to choose something, like i.e. which phone is this for (Chose ARC), when finished I re-booted and it now just gets stuck in a loop, getting to the Sony logo screen and re-booting. None of the support searches seem to fix / address my particular issue

I've managed to re-flash back to the stock version and tried the above method a couple of times.

Note: I'm a little more comfortable flashing FTF files via flashtool, but can use recovery software and flash from a zip on SD if required

Q: Any ideas what I'm doing wrong?

Q: Does this ROM work on the Std Arc or is it for the "S" (LT18)

Q: Any other roms you advise I should try. Want something stable but with a little bit more Jazz than the outdated version I'm on now.

Q: Any advise on best way to backup my current phone & config. (Solved - figured how to do a backup in CWM)

I don't mind flashing a backup if something goes wrong / doesn't work when applying a new rom, but at present i'm having to flash a stock image and re-do my contacts, play account etc etc.

Thanks for taking time to read this, any replies / suggestions greatly appreciated
[Xperia Arc Q&A, Help & Troubleshooting] boyob32:
Did you do factory reset, cache partition, user and system clear and battery stats reset?

---------- Post added at 12:50 AM ---------- Previous post was at 12:48 AM ----------

You can also backup anything you've done through clockwork mod.
[Xperia Arc Q&A, Help & Troubleshooting] LMHudson:
Yep, done all the usual resets / clears

N.b thanks for the hint on CWM backup. I'd just figured that bit out also
[Xperia Arc Q&A, Help & Troubleshooting] SXUsr:
If your bootloader is unlocked you don't need X-Parts, and wiping data will remove it from the system.

Sent from Myushi
[Xperia Arc Q&A, Help & Troubleshooting] LMHudson:
I've managed to get this installed

Not sure which of the following worked (suspect it was the latter)

1 installed stock ICS rom 1st

2 When installing the HD ROM, I chose the 2nd option in the launcher install menu (GX)

Although I have a CWM backup, I would like to know if there is a way to make an FTF file based on my current phone config so I can image this via flash tool in the event of a non booting phone?
[Xperia Arc Q&A, Help & Troubleshooting] SXUsr:
No. CWM is the best.

Sent from Myushi
[Xperia Arc Q&A, Help & Troubleshooting] popthosegaskets:
A CWM backup is enough. But if you're still interested in creating a FTF:

http://xdaforums.com/showthread.php?t=2075736

僕のLT18iから送られてきた
[Galaxy S I9000 Q&A, Help & Troubleshooting] SilentException:
I'm currently on CM 10.1 M2 but using CM 10.1 since first experimental release. Is there any way to enable lock screen rotation or it's by design to have it portrait only? Is this even an option in CM? I think I've looked through all the options but to no avail... Thanks!
[Galaxy S I9000 Q&A, Help & Troubleshooting] laur3n.newm4n:
Hi. I have a Galaxy Nexus, and the ability isn't present in our CM 10.1 M2 either. Apparently it was in earlier builds in the display settings as a specific option, but is no longer there.

I notice that my Xoom doesn't have the option either, but the lockscreen still rotates.

Maybe all the actual phone builds don't have this then... I just replied because I've been seeking the same answers as you, but for the GNex.
[Galaxy S I9000 Q&A, Help & Troubleshooting] takeoutttt:
As you can see you can try Screen Orientation on the Play Store. It rotates the screen and the lockscreen as you like. Check it out. I don't think that feature is available in the SGS but in 4.2 Moto Atrix they have it.
[Nexus 7 Q&A, Help & Troubleshooting] Erik.Leach:
No, you should not see "serial". Your devices serial number should be displayed under whichever path is valid at that time. If you are in the bootloader, your device serial number should be under "fastboot". If you are booted normally, your device serial number should be under "ADB".

I used this guide:

http://xdaforums.com/showthread.php?t=1741395&highlight=guide
[Nexus 7 Q&A, Help & Troubleshooting] stickplayer:
I've since figured that out. There was nothing at all, when in fastboot mode, only ADB. But then I found the thread describing two missing INF entries. I added those, updated the driver, and now the fastboot mode (which wasn't even recognized by windows) is now ok in the Device Manager. However, in the main menu, it shows, literally, "??????????" instead of a serial number - that is, there are question marks instead of serial number, Following that, a few spaces and then "fastboot".

Apparently, there are still inadequacies in the driver as relates to very, very new models running 4.2.2 (which this is).
[Nexus 7 Q&A, Help & Troubleshooting] Erik.Leach:
BTW, I do believe I read somewhere that the stock recovery initially comes up with just the android on his back with the warning sign. You then have to hold power and tap volume up or something like that and the recovery menu becomes visible. I could be wrong, I know I had to do this on my old GNex, and those were the steps that worked.
[Nexus 7 Q&A, Help & Troubleshooting] stickplayer:
Interesting. I did re-flash the stock recovery, and could get that without the android image.
[Nexus 7 Q&A, Help & Troubleshooting] Erik.Leach:
That may have been a GNex thing that I am remembering. Either way, I'm glad you got everything all straightened out. :good:

I'm still kinda new at this stuff too, but if you need any more help, feel free to hit me up. Even if I don't know the answer to the question, I'll help you find it. :D
[Nexus 7 Q&A, Help & Troubleshooting] stickplayer:
Thanks! Next is trying to put 4.x on a Samsung Vibrant.