[Q] Compiling FirefdsKit - Xposed General

I already asked in the FirefdsKit thread, but there doesn't seem to be much activity going on there to be noticed.
I was wondering how I could compile FirefdsKit from the source.
I've already cloned the repo, imported into Android Studio, and added the dependencies.
However, I cannot figure out how I am supposed to resolve these two missing symbols:
Code:
import com.sec.android.app.CscFeature;
Code:
import com.samsung.android.multiwindow.MultiWindowStyle;
I've looked through the repo and I can't seem to find the libraries from which these come from.
Could someone please point me into the right direction?

Related

Compiling only selected system apps in Eclipse - how?

Hi,
I have successfully set up FRG83 and Cyanogen repositories, I've compiled the whole ROM, and I've compiled specific apps (make Gallery3D, for example).
Now I'm trying to start working with Eclipse. I've installed it and imported Cyanogen repo into it as a project - worked fine. The problem is - what if I want to compile a single package from it, say, Calendar app only? What is the equivalent of "make Calendar" in Eclipse, and is there any?
Thanks.
Bump. I don't believe no developers pass around here..
Don't believe many people in here know as much as you... xD
I know you shouldn't post questions in the dev section, but it may be a better option?
Sent from my Nexus One using XDA App
Unfortunately there are still plenty of internal-only API calls in the AOSP system apps. This means that many of them will not compile using the SDK.
So the right way to work with them would be editing in Eclipse and building in command line, like I did. Oh well... Thanks

[DEVS] You too can build a CM-based AOSP ROM

Obviously, I am going to be cleaning up some bugs with the CM7 build...
But, for those of you who might be inclined to develop a CM-based AOSP ROM, feel free to check out my github source to see what's involved:
https://github.com/Hashcode
Or you can:
repo init -u https://[email protected]/Hashcode/cm4D3.git
repo sync
To pull the entire set of android files that I use for compiling the current build.
Please note that the Board Config is currently setup to generate Safestrap .zip files.
Great job
Thank you for everything you have done for the droid 3!
Is there a kitchen for DROID 3 roms. Running windows 7
Sent from my DROID3 using xda premium
You need to be running Linux to do this hardcore kind of stuff.
Like Ubuntu I had it set up in VB and detain. Was just wondering if there was some thing for Motorola roms out there. I have had HTC phones this my first moto with android on it.
Sent from my DROID3 using xda premium
I'm starting to tinker with building (learning, actually) ROMs. I'm running Linux Mint Debian - has there been a kitchen built for D3?
Hashcode said:
repo init https://[email protected]/Hashcode/cm4D3.git
Click to expand...
Click to collapse
That should be
Code:
repo init -u git://github.com/Hashcode/cm4D3.git -b gingerbread
or whatever URL you want to use from the access URL box at https://github.com/Hashcode/cm4D3.
And of course "gingerbread" could be "ics" if your excitement about being on the bleeding edge overrides what should be a fairly sensible fear reaction to the term "bleeding edge".
@Hashcode: You don't use your own ALSA repos? (Comparing with my own generated manifest for your project...)
Also, are you planning on pulling newer Gingerbread manifest changes into your tree? I noticed CyanogenMod have gained a u8150 device tree, and I happen to have one of those, but your manifest doesn't list it...
Ooops. I have a u8510. >_< But the question stands...
TBBle said:
That should be
Code:
repo init -u git://github.com/Hashcode/cm4D3.git -b gingerbread
or whatever URL you want to use from the access URL box at https://github.com/Hashcode/cm4D3.
And of course "gingerbread" could be "ics" if your excitement about being on the bleeding edge overrides what should be a fairly sensible fear reaction to the term "bleeding edge".
@Hashcode: You don't use your own ALSA repos? (Comparing with my own generated manifest for your project...)
Also, are you planning on pulling newer Gingerbread manifest changes into your tree? I noticed CyanogenMod have gained a u8150 device tree, and I happen to have one of those, but your manifest doesn't list it...
Ooops. I have a u8510. >_< But the question stands...
Click to expand...
Click to collapse
Thank you for pointing out that my repo init line was wrong. I fixed it for those that were having issues.
Also, for those watching my manifest for ICS, I'm getting an error when syncing:
error: revision refs/heads/master in manifests not found
I'm trying to fix that. Correction: Fixed it and double-checked with a repo sync.
Some quick answers:
- I tried to customize the alsa source to fix some of the audio issues. But it ended up being a bit more complex than just changing ALSA. Motorola added a layer into the audio system for handling HDMI audio and in call audio volume.
When you build stock AOSP Gingerbread using the alsa drivers, the libaudio.so file ends up being all of the ALSA calls. If you examine the libaudio from the D3, you'll see that it is nothing of the sort. It's the customized mixer lib for RDS voice and HDMI audio. There's another lib from the phone: libaudio_ext.so which ends up being the alsa calls.
All of which made customizing just the alsa code risky at best as the further away from the version of alsa that was used on the phone, the less likely that the custom libaudio would work.
I probably still have the unfinished hardware_alsa git out on github, but it's not active in the current build.
- I can occasionally check for updates to the CM7 manifest and add them, or if you fork the manifest and add it in there that works as well.
Side Note: I may need to pick your brain on an EGL 0x0500 erorr I'm getting in the ICS code. I'm fairly certain it's an enum value that our version of the PowerVR drivers aren't set to handle, but I'd like to confirm that for my troubleshooting. And it seems that you might have some knowledge in that area
Where/how does someone begin working on building a ROM once they've downloaded these files? I'd rather dive into code and learn Android rather than using a menu driven wizard. Is there a tutorial somewhere? What tools are needed?
Sent from my DROID3 using XDA App
Phibernaut said:
Where/how does someone begin working on building a ROM once they've downloaded these files? I'd rather dive into code and learn Android rather than using a menu driven wizard. Is there a tutorial somewhere? What tools are needed?
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
This would be the starting point that you're looking for:
http://source.android.com/
Hashcode said:
Side Note: I may need to pick your brain on an EGL 0x0500 erorr I'm getting in the ICS code. I'm fairly certain it's an enum value that our version of the PowerVR drivers aren't set to handle, but I'd like to confirm that for my troubleshooting. And it seems that you might have some knowledge in that area
Click to expand...
Click to collapse
Some, but probably not enough. I'm happy to look, but I'm actually moving internationally tomorrow so I may not have 'net access for a week or so. >_< (That's why I've been trying so hard to get backup working. ^_^)
Once I'm settled in I will probably use fdisk to repartition my device or have a poke at hacking sd-ext support into safestrap, so I can start playing with custom ROMs.
Did you see my safestrap-ME863 nandroid patch in the Safestrap thread, BTW? It's got a couple of TODOs, but seems safe and roughly correct to me. http://forum.xda-developers.com/showpost.php?p=19683372&postcount=249
It could also form the basis for detecting when /preinstall can't be used as safe-system although I didn't look to see if there's already code to do that.
Does anyone know of a site where I can peek at reference code for random things (Apps, Kernal etc.)? It'll make it easier to understand how the code works. I haven't look at any code yet so I don't even know what language apps and the os are programmed in. (Java, C, C++, Ruby)
Sent from my D3-CM7-SS using xda premium
tenchi19134 said:
Does anyone know of a site where I can peek at reference code for random things (Apps, Kernal etc.)? It'll make it easier to understand how the code works. I haven't look at any code yet so I don't even know what language apps and the os are programmed in. (Java, C, C++, Ruby)
Click to expand...
Click to collapse
Just pull down the repo as Hashcode describes in this thread - you'll have all of the Android source. To the best of my knowledge, it comprises of mostly C, C++, and Java, but there is probably a smathering of some other things like ASM, perl, BASH, etc.
And to those who are asking if there is a kitchen, there is, it's called make

[Q] Importing XposedBridgeAPI in Android Studio

I'm having problems in creating an Xposed module, especially in importing the XposedBridgeAPI in Android Studio.
Since the development tutorial is made for Eclipse, I don't have any reference points...
At first, I tried to import it the "normal" way in gradle build script, with different locations for the XposedBridgeApi.jar, first in libs/ folder, then outside the project folder, both times including it in build.gradle with:
Code:
compile files('libs/XposedBridgeApi-54.jar')
It built successfully, and I could install and activate in Xposed Installer, but after rebooting the module didn't work and I got a "java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation".
I googled it, and found this: Same problem, @rovo89's answer.
So I tried to find a different way of including the XposedBridgeApi, without including it into the apk, and found this: Link
Sadly, it didn't work, I couldn't do the last step with compileSdkVersion, it said the this target isn't available...
So, is anyone successfully using Android Studio for making Xposed modules? Anybody having same problem?
Cheers, and thanks in advance,
Max
Replace "compile" with "provided".
GermainZ said:
Replace "compile" with "provided".
Click to expand...
Click to collapse
Oh my god that is simple...why I didn't find that? Thank you very much, you're the best!

[Q] How to add a device to a repo

Hi all, i have been busting my head and still cant find like a proper tuto to do this.
If a repo does not have a phone/tablet added into it, how can i go ahead and add that device to a repo, so it can be synced?
example: add android_device_xxxxxx to the repo list in the repo github
What i will need to change or where.
I would really appreciate your pointing finger to the right way for me to get this.
Thank you.

Error when trying to build APK from GitHub

Hello I´m trying to build an APP called zoomgesturetile from the authors GitHub. But when I want to build the APK, I get this Error:
Something wrong with the Maven Repository I guess. I never used Android Studio, so it would be nice if someone could help me out here, or may look into the code if he or she can compile it.
Thank you for your help

Categories

Resources