[ HELP NEEDED] Hey I HV a general doubt in porting apps and features!!!! - General Questions and Answers

Hey all the Dev's here at XDA can anyone tell me that is it possible toold stock apps and features to a custom rom.If yes, can you please explain me.If no then can you please make something for it

Understand.
powerup90 said:
Hey all the Dev's here at XDA can anyone tell me that is it possible toold stock apps and features to a custom rom.If yes, can you please explain me.If no then can you please make something for it
Click to expand...
Click to collapse
You see, custom ROMs are built on certain Bases and as such are differentiated, such as the AOSP(Android Open Source Project)-based ROMs, CM(CyanogenMod)-based ROMs, AOKP(Android Open Kang Project)-based ROMs, Touchwiz-based ROMs, etc.
An app may or may not be port-able in general. But some apps (and a lot of system features) require a specific base and hence won't run on other bases.
For example, Samsung features such as Multi-window will usually be found on TouchWiz-based ROMs as Samsung stock ROMs are TouchWiz-based.(Though you may find other apps which may give you multi-window features, they will not be based on the original code from Samsung.)
(<--Remember to Thank me if this helps)

The Dork Knight Rises said:
You see, custom ROMs are built on certain Bases and as such are differentiated, such as the AOSP(Android Open Source Project)-based ROMs, CM(CyanogenMod)-based ROMs, AOKP(Android Open Kang Project)-based ROMs, Touchwiz-based ROMs, etc.
An app may or may not be port-able in general. But some apps (and a lot of system features) require a specific base and hence won't run on other bases.
For example, Samsung features such as Multi-window will usually be found on TouchWiz-based ROMs as Samsung stock ROMs are TouchWiz-based.(Though you may find other apps which may give you multi-window features, they will not be based on the original code from Samsung.)
(<--Remember to Thank me if this helps)
Click to expand...
Click to collapse
Hmm I know that but is not possible to make those apps run on custom ROM by faking them that the ROM is stock is it possible anyhow??

powerup90 said:
Hmm I know that but is not possible to make those apps run on custom ROM by faking them that the ROM is stock is it possible anyhow??
Click to expand...
Click to collapse
Hmm. I'm not sure (I'm not that good a developer). I'd say if you DID manage to fake that, the feature wouldn't work properly as you obviously won't REALLY have the system required to run those features smoothly. They might work, but they'd be faulty...
But I'm pretty sure there are alternatives to any app or feature you may want. For example, if you want Multi-Window, get the Xposed Framework and the XHaloFloatingWindow module..it's much better than original multi-window and floating window features, with fully movable and resizable windows and customizable properties...
Which exact features do you want to port?? Maybe I can help you find alternatives??

i wanna port sony camera coz the paranoid cam is bit boring and not that good!!

Related

[Q]

Hello there , I want to ask about custom Roms as cyanogen mod and PAC and all those teams out there.
First of all ,, the android that they make is similary to the stock one that I can get it from Google website to open it on jdk simulator. Then what is the deal in making custom roms??
And what about Samsung Galaxy Roms features.. Are they closed source? So there is no one can steel there features and use them in other Roms ???
I wish some one answer me because I am so confused about this .. Thanks
yahyanael said:
Hello there , I want to ask about custom Roms as cyanogen mod and PAC and all those teams out there.
First of all ,, the android that they make is similary to the stock one that I can get it from Google website to open it on jdk simulator. Then what is the deal in making custom roms??
And what about Samsung Galaxy Roms features.. Are they closed source? So there is no one can steel there features and use them in other Roms ???
I wish some one answer me because I am so confused about this .. Thanks
Click to expand...
Click to collapse
So to start from my understanding of the beginning, Samsung or HTC or LG and such will plan out a device, they put all the stuff they want on it ( as in the battery size, the specific GPU and CPU), and towards the end they slap on what version of android they want. this android is Stock like what you see with cyanogenmod or Aosp roms ( they are almost stock but with a few modifications like CPU governors and I/Os) from there they are able to put in all the features they want to feature on the device (so if you think about it, Samsung makes their own Custom rom for the phones but its very professional and are made for the General population where we are the few developers that aren't very professional.) like for Samsung, you will only see S Memo on Samsung phones (so yes Samsung Features are closed source if you develop a rom you are able to put features that come from the Stock rom you get when you buy the phone.), its possible to put s memo on other devices like one of HTC's, but is sorta illegal since Samsung owns s memo. for custom roms, we as developers are able to put stock android features into a rom because Google made android open source. (its not quite open source in some areas) now if you have a Samsung phone and want to make a rom based on Touchwiz (the normal Samsung Ui) or HTC phone and want to base a rom off Sense (Htc's Ui) we are allowed to do this only on these specific phones, otherwise making a Sense rom on a Samsung phone would be illegal and they would ask you to take down a download link. im sorry you had to hear me rant and i hope this made sense! if it sounds like i left anything out please ask.
OK I understood a part, but im still confused about Cyanogen mod part .. I mean what is that thing that they do and others cant do so every Dev make a ROM sayed it based on Cyanogen mod ??

[Q] Creating a Custom ROM?

Hey everyone, So I was wondering how hard is it to create a custom Rom. Does it need coding experience to do it and how complex is it (plus any other general information). Plus if anyone is interested in making one let me know.
This is a general question, If you got nothing important to say, don't say it -_-
It depends what you really think a custom ROM is.
Some people take a stock ROM, add some apks and scripts and call it a custom ROM. To be clear, that is not a custom ROM.
That's not to say that all stock based ROMs are not custom. People with skills can recompile apks and add new functions. This van be quite difficult and also quite limited. Yes, for that - understanding the code is very useful.
The other option is to learn to compile AOSP ROMs. Its not custom, as it starts as Google aosp but learning to do that, you can then Learn to cherry-pick functions from other ROMs. This will help you learn how things work and is the method I would recommend. Google have full guides for building available on their android source website.
rootSU said:
It depends what you really think a custom ROM is.
Some people take a stock ROM, add some apks and scripts and call it a custom ROM. To be clear, that is not a custom ROM.
That's not to say that all stock based ROMs are not custom. People with skills can recompile apks and add new functions. This van be quite difficult and also quite limited. Yes, for that - understanding the code is very useful.
The other option is to learn to compile AOSP ROMs. Its not custom, as it starts as Google aosp but learning to do that, you can then Learn to cherry-pick functions from other ROMs. This will help you learn how things work and is the method I would recommend. Google have full guides for building available on their android source website.
Click to expand...
Click to collapse
Thanks for the useful reply, and that's the one I was thinking about, compiling features from multiple ROMs, I will have to check out Google for the tutorials then. Still anyone interested, let me know

best or most prefered rom nowdays?

Hey im still running Android 4.4.2 CleanRom and its been a while since ive been around. I feel a bit outdate and was wondering what i should upgrade to. Not looking to do nightly's as i do not have the time, just looking for something new and stable. Let me know what you think. Thanks.
-Cam
camf3xu said:
Hey im still running Android 4.4.2 CleanRom and its been a while since ive been around. I feel a bit outdate and was wondering what i should upgrade to. Not looking to do nightly's as i do not have the time, just looking for something new and stable. Let me know what you think. Thanks.
-Cam
Click to expand...
Click to collapse
Hi, here on xda we dont compare roms, sorry. its just taboo of the worst kind. Also please post questions in the question and answers portion of the forum, thanks and cheers.
I'll go ahead and reply with respect to the split between KitKat and Lollipop. You'll note a bunch of Lollipop-based ROMs appearing. Some have chosen to flash those, to be on the cutting edge. However, the Xposed Framework - one of the most useful customization tooks in the Android world - has not been updated to work with the "ART" (Android Run Time) and instead is only still compatible with Dalvik-based system. The developer of Xposed has indicated that he may work on updating XPosed at some point, but there is no firm commitment or timeline.
I personally will not be upgrading to Lollipop as I find that the tweaks made available by the Xposed Framework and the plethora of modules built for it, are simply too important me to lose by upgrading to what isn't all that radically different of an Android update.
But to each his own. Thought I'd give you a bit of the background.
P.S. Anything by Santod is quality work (NuSenseSix, UnSenseSix, etc). He really knows Android.
Nothing beats stock as far as stability. For newest, well, the newest official software is stock as well until VZW releases Lollipop.
Sacred cows make extra tasty steaks. That said, I'll make recommendations. I think Fluent is as reliable as the stock 4.4.4 and more so than some of the more radically tweaked 4.4.4 ROMs out there built from non-Verizon sources. NuSense is solid as well, but hasn't been updated in a while, is minimally modified, and is based on the oldest of the lollipop releases. if 4.4.4 is all you want, Clean ROM 3.0 was a solid runner for me.
If you can do your own mods then I would go with Lollipop as you don't need xposed if your looking for stable stick to 4.4.4 for now.. Make sure you upgrade your firmware before if you haven't as you r still on 4.4.2 ROM I'm taking a guess your haven't updated firmware.
Tigerstown said:
If you can do your own mods then I would go with Lollipop as you don't need xposed if your looking for stable stick to 4.4.4 for now.. Make sure you upgrade your firmware before if you haven't as you r still on 4.4.2 ROM I'm taking a guess your haven't updated firmware.
Click to expand...
Click to collapse
What do you mean by doing your own mods? Short of coding them, I'm not sure how one would go about getting Samsung Milk to work, or cleaning up the Notification menu, or a bunch of other things that just aren't commonly built into customized ROMs. If you do know of a way to get such things working in Lollipop, do let me know - I'd then be able to make the switch!
godhamba said:
What do you mean by doing your own mods? Short of coding them, I'm not sure how one would go about getting Samsung Milk to work, or cleaning up the Notification menu, or a bunch of other things that just aren't commonly built into customized ROMs. If you do know of a way to get such things working in Lollipop, do let me know - I'd then be able to make the switch!
Click to expand...
Click to collapse
I was just saying if you know how to decompile apks an make code changes an recompile your make your own mods.

Which STOCK based ROM?

Hello there,
I'm using temasek ROM and I like it a lot, but it miss the great STOCK camera and the ANT+ support.
What's your best STOCK based ROM, possibly with the possibility to change theme so it can looks like ASOP roms?
Thanks!
if you want to change your theme you have to look for s6 port rom like Darklord or others that have theme store program .
Thanks!
Does it has ant+ support?
JanickGers said:
Thanks!
Does it has ant+ support?
Click to expand...
Click to collapse
If you want to have ANT+ support just download the application from the play store to utilize the hardware and software
Yeah, I can do this even now, but the app costs 10€ or so and it has several problems, I tried it.
So I'm searching for a ROM that has native ant+ support like the stock one.
First things first you have posted in the wrong section. Please get a moderator to move/delete/lock this thread as you should but this in the Q&A section...
All touchwizz roms have ant. And darklord is far from being a stock rom.
I recommend audax or if you're really looking for a stock experience try alexandr developer base.

I need the s10e's stock camera app apk

So, I'm running LineageOS 19.1 and it's stock camera app lacks functionality, and I don't want to use Gcam, I would like to use samsung's stock camera, if someone could provide me with a way to get it, would help me tremendously.
extracted from : G970FXXSFHVF1/system/priv_app
G970F_SamsungCamera.zip
drive.google.com
@elJaberJaber I'm curious if the stock camera apk works on Lineage, please report back about it.
You can't use the Samsung stock camera app on an AOSP rom as it lacks the proper framework for the apk to work with , you can only use it in other OneUI based roms .
In the odd chance that I am wrong, I'd love to see it happen.
CurlyBlonde said:
You can't use the Samsung stock camera app on an AOSP rom as it lacks the proper framework for the apk to work with , you can only use it in other OneUI based roms .
In the odd chance that I am wrong, I'd love to see it happen.
Click to expand...
Click to collapse
didn't get to test it out, I'm sorry, I've managed to brick my phone, so I reverted to the original ROM and rooted it to uninstall bloatware.
CurlyBlonde said:
You can't use the Samsung stock camera app on an AOSP rom as it lacks the proper framework for the apk to work with , ...
Click to expand...
Click to collapse
That's what I thought.
However, for the Sony Xperia Z3 series there was a port of the stock camera app that included the needed parts of the framework to work on AOSP/Lineage based roms.
It would be interesting if this could be possible on the Samsung S10 series too.
deleted because of double post
okij said:
That's what I thought.
However, for the Sony Xperia Z3 series there was a port of the stock camera app that included the needed parts of the framework to work on AOSP/Lineage based roms.
It would be interesting if this could be possible on the Samsung S10 series too.
Click to expand...
Click to collapse
Hasn't been done yet, your best bet is to talk to the Dev that made the rom , Linux or Ivan or whoever it was and also with Corsicanu, as he's very well skilled working with Samsung devices and tinkering with it's apps , you can find him in various groups and on telegram as well so give it a shot and ask him a question.
Hi everyone, can i import the framework on a different rom? im using an S22

Categories

Resources