[Q] - General Questions and Answers

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 ??

Related

[Q] ASOP Sidekick 4G ROM?

Am I the only one who is unhappy with the slim pickings of ROMs that are available for the SK4G?
Does anyone know anything about an ASOP ROM?
It's AOSP (Android Open Source Project) and you're not the only one not happy with the current SK4G options. I personally want MIUI or CM7, but seeing as we're currently stuck with Froyo, we'll have to see what the devs can cook up.
Sent from my SGH-T839 using XDA App
For future reference, questions go in the General forum, not the Development Forum.
As for AOSP or MIUI, I know that AyoTeddy and Revolution are currently working on separate MIUI roms, and for AOSP, I'm working on that, but not sure exactly what you want from AOSP that's different from what we have?
If you are unhappy with the selection of ROMS here, you are always welcome to make your own, android is open source for a reason.
sduvick said:
For future reference, questions go in the General forum, not the Development Forum.
As for AOSP or MIUI, I know that AyoTeddy and Revolution are currently working on separate MIUI roms, and for AOSP, I'm working on that, but not sure exactly what you want from AOSP that's different from what we have?
If you are unhappy with the selection of ROMS here, you are always welcome to make your own, android is open source for a reason.
Click to expand...
Click to collapse
If they want the real miui we will need some sort of aosp gingerbread to start with and a custom CM7 kernel or something.. Since we dont have either yet I guess we'll have to make the best out of what we have now like we have been. But those wanting a taste of miui may like what I have planned for my next release.
Sent from my SGH-T959 using XDA App
ayoteddy said:
If they want the real miui we will need some sort of aosp gingerbread to start with and a custom CM7 kernel or something.. Since we dont have either yet I guess we'll have to make the best out of what we have now like we have been. But those wanting a taste of miui may like what I have planned for my next release.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
And so anticipation had set in, i can't wait ayoteddy. im very excited. SMX was great, and SMGC was awesome, and now with this? whewwww. think i better go lay down, lol.
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Thank you for joining the Sidekick 4G section , & we welcome you but if you want you could pause the game's for the ROM if anything & Question 1 is a no & Question 2 no cause they have to be compiled with the 2.3 kernel .
- Said by Sduvick
jmpz said:
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Click to expand...
Click to collapse
Revolution, thanks for relaying my responses.
jmpz, I tried building the source before, but was unable to build it completely, but that was possibly because of some errors with my dependencies. The kernel compiles fine from source, you just need to pull initramfs, or you can get it from Dr. Honk's github.
Thank you for your answers.
So, can anyone enumerate the list of drivers which we should extract from kernel?
I can name these:
1) Keyboard
2) Mic
3) 2 speakers
4) buttons
5) front camera
6) rear camera
7) trackpoint
8) lcd
9) digitizer
10) 3.5 jack
Please correct me and add missing
If I understanding it rightly the key problem is getting proprietary drivers from the kernel. Right?
nope, the key problem is trying to build the system entirely, without any errors, which may be easier with someone following a stock designed build environment. I don't use Ubuntu which is what has the listed dependencies for every tutorial I can find. You can get the drivers out of Dr. Honk's voodoo kernel ramdisk here: http://forum.xda-developers.com/showthread.php?t=1145139
There shouldn't be any problems if you just set up a build environment following the directions in any of the tutorials, then add the platform from the samsung source.
I'm a linuxoid - so these tutorial are for me. Thank you for the link.
By the way, drivers are in Linux Kernel, so I don't think that I need to use Samsung Platform from the source. Instead I wanna use platform from AOSP or Cyanogen. Correct me if I'm wrong.
I think that grabbing drivers from kernel source from samsung would be enough to build the rom.
jmpz said:
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Click to expand...
Click to collapse
I 100% support your efforts. I want Cyanogen on the SK4G badly, but I'm not sure what kind of help a non-programmer like me could do, but do have some experience with flashing phones and such, so if there is anything you need let me know.
If you do get rolling heavily on this, I'd be willing to donate monetarily to your efforts.
If anyone can get CyanogenMod 7 on the Sidekick they would definetely get a donation from me. Id be thrilled. Glad to see its going to be worked on.
Sent from my Sidekick 4G using XDA Premium App!

Xiaomi MI-ONE plus android development plz

I have been waiting for a long time assuming some developer might take up development for Xiaomi Mi-ONE phone which ships with MIUI ROM as stock, with recovery that can let you boot into two different partitions for flashing an updated ROM when you need etc.
However, there seems to be absolutely no interest in developing for this phone, even after the sources are out ! I bought this phone hoping I can make good use of the "unlocked from factory " ecosystem. The phone has a recovery, but it can flash only an update.zip file which means i can only update the OS with a newer MIUI version that releases every week. Other than that, there is no custom kernel/recovery that i can use with this phone, simply because there is nothing developed yet.
Having a custom recovery would help people flash MODS like beatsaudio apks & libs, framework mods etc . I somehow like this phone even with all this handicap of custom recovery not being available yet, but hope some one starts a development effort for this beast of a phone and help ppl like me
I would myself try and help in whatever way i can for the development of this phone, but since i have never tried any development activity for a phone, i am at sea !!
Esteemed developers, plz help !!
cwm mi-onespuniq;27636172]I have been waiting for a long time assuming some developer might take up development for Xiaomi Mi-ONE phone which ships with MIUI ROM as stock, with recovery that can let you boot into two different partitions for flashing an updated ROM when you need etc.
However, there seems to be absolutely no interest in developing for this phone, even after the sources are out ! I bought this phone hoping I can make good use of the "unlocked from factory " ecosystem. The phone has a recovery, but it can flash only an update.zip file which means i can only update the OS with a newer MIUI version that releases every week. Other than that, there is no custom kernel/recovery that i can use with this phone, simply because there is nothing developed yet.
Having a custom recovery would help people flash MODS like beatsaudio apks & libs, framework mods etc . I somehow like this phone even with all this handicap of custom recovery not being available yet, but hope some one starts a development effort for this beast of a phone and help ppl like me
I would myself try and help in whatever way i can for the development of this phone, but since i have never tried any development activity for a phone, i am at sea !!
Esteemed developers, plz help !![/QUOTE]
My mi-one is awaiting.collection at the post office, so keep on eye on miui-au
---------- Post added at 03:26 PM ---------- Previous post was at 03:23 PM ----------
And the reason there is no custom kernel/recovery/rom is because no source is available. The rom is not open source (only a few apps are), and no kernel source has.ever.been made public (which is against gpl, i know, but its the truth)
lenny_kano said:
My mi-one is awaiting.collection at the post office, so keep on eye on miui-au
And the reason there is no custom kernel/recovery/rom is because no source is available. The rom is not open source (only a few apps are), and no kernel source has.ever.been made public (which is against gpl, i know, but its the truth)
Click to expand...
Click to collapse
well its good then.. i ll keep an tab on miui-au Thanks for the info.
I heard MIUI is actually built on CM9 base. So could it be possible to take AOSP CM9 kernel source and tweak it for MI-One ? I guess most of the hardware is similar between Nexus S & Mi-One, except for some specific functionality. May be i should give it a try .. do you hav any suggestions ? I basically hate the stock recovery which comes with this phone, coz it allows me to flash only update.zip and not any other zip file unlike the awesome CWM recovery !!!
And you most likely won't many developers are not happy about what the Dev of MIUI did by taking the code of another developer making it closed source and then selling it. Not to mention there are things that are legal in China that are not in the rest of the world. With a huge China government backing backing it makes many people avoid it.
sent from my cell in Arkham
krispuniq said:
well its good then.. i ll keep an tab on miui-au Thanks for the info.
I heard MIUI is actually built on CM9 base. So could it be possible to take AOSP CM9 kernel source and tweak it for MI-One ? I guess most of the hardware is similar between Nexus S & Mi-One, except for some specific functionality. May be i should give it a try .. do you hav any suggestions ? I basically hate the stock recovery which comes with this phone, coz it allows me to flash only update.zip and not any other zip file unlike the awesome CWM recovery !!!
Click to expand...
Click to collapse
The mi-one is more similar to the htc sensation than anything else, but no, without device specific stuff from xiaomi its just not gonna happen. I might try sometime if i can do it just via ramdisk mods but i doubt it (wouldnt hold your breath).
As for the comment about taking stuff and selling it, that was hardly the case. CM was used as a base for ports, but the mi-one rom (which is the only one thats "sold") is xiaomi code. The only thing theyve done which is a violation of other developers is not releasing the kernel source.

Questions about ROMs and Porting

So, Since the Cyanogenmod source is so big (I heard that it has 19GB), people like us who have gay as slow internet have no chance of even trying to cook a ROM for our unsupported devices.
Since I can't download the whole CM source and I see awesome ROM's out there, I Ported one ROM called Cyanfox (which was made for Samsung S2 i9100) to Samsung Infuse 4G using Beanstalk ROM as a base. I followed a guide which asks me to replace some folders and edit some files. It was walking fine. Then came an update to both the ROMs, Thinking that cince it is a update, it will have the updated apps and source, I tried porting them again but this time Beanstalk updated ROM as a base cause a bootloop while the Beanstalk old ROM works fine as a Base ROM.
Now what I don't get is, why is Beanstalk new ROM not working as a base? (Since the new Beanstalk ROM will have updated Source, I want to use that ROM as my base.)
And the second question is, what files does actually matter when you are Porting or cooking an Android ROM? (I mean like windows works on all kind of PC's all it needs is the drivers right? The drivers actually matter on windows)
And the 3rd question is can I update the source files somehow without downloading the whole 19GB CM source and if possible how?
The 4rth is, I heard from somewhere that boot.img is the file which separates the phones? Then why can't we just port ROM's by replacing boot.img since these two phone's are from the same vendor and it has likely specs. (Which is not possible I think)
I am really really a newbie to this thingies, I just wanted to clear out these things. Sorry for my noobness.
Thanks!

n00b question

Android newbie here, come from an iphone5 to one of these S6's. Bit of a stupid question really but should Samsung Smart Switch for the PC work with custom roms or will it only work with the original Samsung images?
Rom in question is this one http://forum.xda-developers.com/gal...xtrestolite-deodexed-mod-edition-1-3-t3119968
Is there something from the Aroma package i should be using to get smart switch working or is it a no go altogether?
Thanks
These ROM's are based on Stock Samsung Firmwares with some modifications in order to let the ROM be lighter and faster. If the ROM developer said that the Smart Switch is NOT supported, you can't do much about it. Samsung features are embedded into the Samsung Framework, which the ROM developer may have deleted or disabled. The best way is to ask the ROM developer, if there's some way to enable that feature.
PS: Please do not use misleading titles...
Title should be "How to enable Smart Switch in XXXX Rom?"

Would there be any hope for getting Android Jellybean or KitKat on this old Samsung from 2012? (Samsung Galaxy Discover)

I have a Samsung Galaxy Discover, it's my old childhood phone and for the memories, I want to make it as usable as I can now, however I basically can't do anything internet related with it as it runs Android Ice Cream Sandwich (which I will be shortening to ICS for the rest of this post), ICS has certificate issues which you can't do anything about, to use anything internet related you need Jellybean (also has certificate issues but not as bad as ICS and they can be updated unlike ICS) or KitKat (has all modern certificates), however the Discover only has ICS ROMs, there was a Jellybean ROM at one point however the link is dead and I can't find an archive of it. I know it's possible to get Jellybean and KitKat on the Discover because the Galaxy Ace Plus has both Jellybean and KitKat ROMs, and the Ace Plus and Discover are basically the same phone, and I did spend a bit of time trying to port a CyanogenMod 10 ROM for the Ace Plus to the Discover, but I'm just too inexperienced with ROM porting and making ROMs and I had absolutely no idea what I was doing, so after I ran into an issue I couldn't find any details about on Google, I just gave up and went back to ICS.
If anyone could explain how to make a ROM (whether it be making my own ROM from scratch or porting an already existing ROM like CyanogenMod) for the Discover or even make a ROM for me, I'd be super thankful, preferably I want Jellybean as this is a super cheap phone and I don't think KitKat will run very well on it, however if KitKat is easier to get running I'll do KitKat. The exact model number of the phone is SGH-S730M. I have access to computers running macOS, Windows and Linux. (figured that'll be helpful to know if I need to make a ROM)
How do I create a custom rom?
Hey! So I was so happy with my phone, a Huawei mate 20 lite, that has been obsolete cuz it's old. I unlocked it's bootloader, and I will install TWRP for it, but there's no custom roms like pixel experience or Lineageos for it, so I decided to...
forum.xda-developers.com
jwoegerbauer said:
How do I create a custom rom?
Hey! So I was so happy with my phone, a Huawei mate 20 lite, that has been obsolete cuz it's old. I unlocked it's bootloader, and I will install TWRP for it, but there's no custom roms like pixel experience or Lineageos for it, so I decided to...
forum.xda-developers.com
Click to expand...
Click to collapse
That page doesn't help. The first guide linked there requires you getting the device tree, vendor, and kernel from GitHub, and since the Discover is an obscure device, I highly doubt any of that stuff is on GitHub, I'd have to pull it from a pre-existing ICS ROM or something (but idk how to do that), and on the second page linked there I don't see any sort of guide.

Categories

Resources