Oxygen OS-CM 12S? - Nexus 5 Q&A, Help & Troubleshooting

Anyone going to be working on these as ports when they come out?

cell2011 said:
Anyone going to be working on these as ports when they come out?
Click to expand...
Click to collapse
First of all, porting firmware from one device to another is extremely unlikely to function properly. If you can even get it to boot (the hardest part), a LOT will be broken as it was not built relevant to the hardware. Porting a custom ROM is even more pointless when it can be built specifically for your device.
OxygenOS has not been released yet, but it's likely to have features that other custom ROMs already have/can easily replicate.
Porting "CM12S" from the OnePlus One to the Nexus 5 is ultimately pointless. CM12 can be built from source anyways, then you can just take the few additional extra apk files from CM12S and paste them in.

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!

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!

[q] remix rom

Has anyone seen the REMIX ROM coming out? They are releasing a version for the Nexus 10. Potential port for the TF700T?
http://www.jide.com/en/desktop/ultra_tablet.html
gtsbrian said:
Has anyone seen the REMIX ROM coming out? They are releasing a version for the Nexus 10. Potential port for the TF700T?
http://www.jide.com/en/desktop/ultra_tablet.html
Click to expand...
Click to collapse
Where's their source repository?
When they release the ROM for the N10 and with it the source then it should be possible unless they have done something really peculiar. There is no way of knowing anything yet for sure though because it's not released.
REMIX ROM
I donated to the Kickstarter and will get a copy of the ROM, but am a NUBE to making one rom for our Machine. I will send my copy to any SUPER editor and count me in as a tester.
Should get it in May. Interesting the way they put up to 3 Apps side by side for multiwindow support.
B
Better OS video
https://youtu.be/VmKHL-bWzDs
I don't know if this would help anyone, but for the N7 grouper, someone created a similar OS to RemixOS called PhoenixOS. You can find the link for it in this thread:
http://forum.xda-developers.com/nexus-7/general/phoenix-os-nexus-7-grouper-t3299266
I tried it today on my N7 and it brought it back to life really well. The main issue most people had (and one developer was able to figure out for the last release, not current) was finding a way to get google play store on their device.

Several Noob questions about custom ROMs?

Hi guys,
I always read in the Xda forum but never wrote or asked a question...usually someone already asked them.
so I have the Mi 5S PLUS...but I hate the miui UI. can't get used to it. And yesterday I finally found that there are custom ROM for this device.
So I got few questions.
1. As far as i know, the source code hasnt been released but should be released soon. should I wait for a ROM that uses the source code?
2. I see that the most popular costum ROMs for this device are - Lineage and resurrection remix. In terms of battery life, stability and bug free rom. which one is the best?
3. I see there is one ROM with the tag [OFFICIAL]....does this mean it uses the source code? if not, what does it mean?
thanks a lot to those that answer
eliko2000 said:
Hi guys,
I always read in the Xda forum but never wrote or asked a question...usually someone already asked them.
so I have the Mi 5S PLUS...but I hate the miui UI. can't get used to it. And yesterday I finally found that there are custom ROM for this device.
So I got few questions.
1. As far as i know, the source code hasnt been released but should be released soon. should I wait for a ROM that uses the source code?
2. I see that the most popular costum ROMs for this device are - Lineage and resurrection remix. In terms of battery life, stability and bug free rom. which one is the best?
3. I see there is one ROM with the tag [OFFICIAL]....does this mean it uses the source code? if not, what does it mean?
thanks a lot to those that answer
Click to expand...
Click to collapse
1. Source code is released but rom based on source code are not released yet .You can use them but their are some bugs,
2.You can check yourself
3. Official means official rom from lineage team or other maintainers just like Global MIUI rom from xiaomi is official while xiaomi.eu is unofficial .
You can check for source in rom page for more info about what device tree and source code it uses
ashish289 said:
1. Source code is released but rom based on source code are not released yet .You can use them but their are some bugs,
2.You can check yourself
3. Official means official rom from lineage team or other maintainers just like Global MIUI rom from xiaomi is official while xiaomi.eu is unofficial .
You can check for source in rom page for more info about what device tree and source code it uses
Click to expand...
Click to collapse
Thanks for the answers. But I asked because I prefer to install one and that's it. and if someone used the both ..why not to hear opinions.
I recomend RR
eliko2000 said:
Thanks for the answers. But I asked because I prefer to install one and that's it. and if someone used the both ..why not to hear opinions.
Click to expand...
Click to collapse
The reason that people don't recommend one over the other is because YMMV. I know I came from a cyanogen ROM with my previous phone and dirty unicorns on the phoen before that (along with a whole set of custom ROMs). In the end though, I found them all to be "similar". Yes, some do some things differently like some offer a lot of CPU governors, while others keep the list pretty tight. Some default with swap space on, some don't use swap space at all (this phone shouldn't need swap space). Sometimes the difference between two ROMs is just the launcher.
For me, I don't really like the MIUI launcher. It feels a lot like an iphone. This isn't a bad thing. Some people like it. I just install Apex (from the play store) and my issues with the ROM were mostly resolved. The only remaining problem is MASS STORAGE. But, based on my experience with mly previous phone, I doubt I'll find a ROM that natively supports it. But I know how to hack my way in and get that going (just need root... which requires an unlocked bootloader... and if I am reading things correctly, you need to wipe everything which I currently not willing to do... but may have found a workaround... going to test it out tomorrow).
bmg002 said:
The reason that people don't recommend one over the other is because YMMV. I know I came from a cyanogen ROM with my previous phone and dirty unicorns on the phoen before that (along with a whole set of custom ROMs). In the end though, I found them all to be "similar". Yes, some do some things differently like some offer a lot of CPU governors, while others keep the list pretty tight. Some default with swap space on, some don't use swap space at all (this phone shouldn't need swap space). Sometimes the difference between two ROMs is just the launcher.
For me, I don't really like the MIUI launcher. It feels a lot like an iphone. This isn't a bad thing. Some people like it. I just install Apex (from the play store) and my issues with the ROM were mostly resolved. The only remaining problem is MASS STORAGE. But, based on my experience with mly previous phone, I doubt I'll find a ROM that natively supports it. But I know how to hack my way in and get that going (just need root... which requires an unlocked bootloader... and if I am reading things correctly, you need to wipe everything which I currently not willing to do... but may have found a workaround... going to test it out tomorrow).
Click to expand...
Click to collapse
Wipe everything is very simple connect the phone via USB cable to PC and via twrp wipe everything then past a Rom on the phone and flash it, that's it
venezolano69 said:
Wipe everything is very simple connect the phone via USB cable to PC and via twrp wipe everything then past a Rom on the phone and flash it, that's it
Click to expand...
Click to collapse
Wiping everything is easy, yes, but I want to avoid wiping if I don't have to.
Got the phone rooted without needing to wipe it (yay), but getting mass storage enabled failed on me. I can't seem to write to the file I need to which confuses me... but that is off topic so I'll refrain from boring you with details on that.
Back on topic, if you are switching to a custom ROM you will need to wipe things. I personally would wait for a custom kernel to come out before you start playing with custom ROMs unless the custom ROM has a feature you REALLY want. With my previous phones, the one that had a custom Kernel as well as custom ROMs was a lot more stable and had a lot fewer bugs. The one that had only factory kernel, the custom ROMs were flaky. They mostly worked, but they did have bugs. If I got a phone call or called somebody and they hung up first, it would crash the dialer and the dialer would fail to start again until I rebooted. Now a custom kernel may not have helped that, but since the kernel was based on a previous version of Android, it was unstable.
The current custom ROMs (that I have seen) are all based off of the stock kernel and not newer ones so I personally do not expect to see much benefit in changing ROMs except having different bloat and a different launcher. Well, at lest for the things I use my phone for. But YMMV.

Custom Rom Deveopment for the Lenovo P2

Hello everyone, I got this device about two months ago and am going to start trying to port over some roms from the redmi note 4.
I'v noticed that ROM development has been very slow recently, and even though I'm still a student its the holidays and I want this device to have a better future.
Here is the discord server for the P2 development and general chat.
https://discord.gg/K28XqCU
These devices have similar specs, which is one of the main reasons why I am trying to port roms from the redmi note 4 and not some other device.
I'm going to study more about custom roms, and if I may not be successful in porting one all the p2 community should give it a go as well. Everyone seems to be asking for roms and not many people bother to build/compile them.
I'll post any I find working on here as I go, and if anyone has advice/suggestions I'd be happy to take them, being new to custom roms and all.
If you guys could inform me about other devices with same cpu, screen resolution and camera specs that'd be great.
Currently the base rom I'm working on is AOSP extended v5 and the port rom is lineage os 15. I'v managed to port the boot.img over so far.
If anyone is interested on carrying on or continuing, all files will be uploaded on mega. You'll need android kitchen and other basics to continue development.
Make sure you have a device with unlocked bootloader, twrp recovery and a nanodroid backup in case anything goes wrong.
I am NOT responsible for any bricked devices, ect but I will try to help.
Link for rom port guide
https://forum.xda-developers.com/showthread.php?t=2483143
(full credits to ArjunrambZ)
Video for a rom port
https://www.youtube.com/watch?v=eZvNBwkszPE
(full credits to RV Technotutorials)
Link for boot.img (updated but untested)
https://mega.nz/#!5vhShSbC!W331Tf4oDpI3jznSLhHLFCW7RcdVuKlKFTJueW51vKs
Unpacked system folder for port
https://mega.nz/#!h7BAgZ6S!1ra_OAsXCJvsckWvn69DNawXkoVhGWQx3GKconC6sf4
Unpacked system folder for base (updated as originally was incorrect)
https://mega.nz/#!8zYEGTqT!Fe6lSBILjfAb7Kgb2n4-EjyWtZt5J8UiiSq7PHRfyXI
First ROMs have been compiled ?
Check ROMs section for aex 4.6 March sec patch and rr 5.8.5 December sec patch ?
Please do tell me if I'm doing anything wrong, as I am in no means a expert at this, just another p2 user wanting to give our devices a new life.
Thanks,
B50Corei5
Wish you a best of luck, just make it happenāœŒ
Haha thanks. Any advice/ things I should watch out for?
With you mate
I too was thinking of porting from Redmi note 4.
Could you kindly share the methods of porting. I am a noob in custom ROM porting.
Also suggestions on which roms to be ported.
BalagopalGopus said:
I too was thinking of porting from Redmi note 4.
Could you kindly share the methods of porting. I am a noob in custom ROM porting.
Also suggestions on which roms to be ported.
Click to expand...
Click to collapse
I'm currently attempting to port Lineage OS 15 from Redmi note 4, with base rom as AOSP Extended.
I'v ported the boot image over but can't find the "system" folder. If anyone would help with this it would be appreciated.
Thanks,
B50Corei5
Hopefully we can kick this thing off and get some other people involved, that way rom development for the p2 will speed up lots.
I myself am a "noob" at custom rom-ming, trying to follow youtube tutorials for porting roms. If anyone else with a bit more experience jumps on,
we should be able to get this finished quicker.
Let's do our best
b50corei5 said:
Hopefully we can kick this thing off and get some other people involved, that way rom development for the p2 will speed up lots.
I myself am a "noob" at custom rom-ming, trying to follow youtube tutorials for porting roms. If anyone else with a bit more experience jumps on,
we should be able to get this finished quicker.
Click to expand...
Click to collapse
Requesting help from experienced developers in finishing the ROM.
BTW are you using highwaystar's lineage os as base.
BalagopalGopus said:
Requesting help from experienced developers in finishing the ROM.
BTW are you using highwaystar's lineage os as base.
Click to expand...
Click to collapse
I'm probably messing up trying to port lineage os 15 while using AOSP extended v5.0 as base,
however you have to port roms that are the same os as your base.
You can't port a 8.0 rom with a 7.1.2 base.
Let's give a shot.
Don't expect for expert developer, because he/she can be already busy
Wonder Wicked Witch said:
Let's give a shot.
Don't expect for expert developer, because he/she can be already busy
Click to expand...
Click to collapse
Haha, thanks. I created a discord channel for it, link is all the way at start of thread.
Anyone willing to contribute can do so, I'll post updates on here as we go, don't expect
anything too soon though.
It is easy to get system dump and modify it cuz most of the files can be replaced easily by using the base rom.
Do you have any idea of creating update script and creating the final dat package? In my opinion this is the tough section i think.
Wonder Wicked Witch said:
It is easy to get system dump and modify it cuz most of the files can be replaced easily by using the base rom.
Do you have any idea of creating update script and creating the final dat package? In my opinion this is the tough section i think.
Click to expand...
Click to collapse
Hmm. I just started developing roms so I'll look into it. It does look quite complicated. If you haven't already, go ahead and join the p2
development discord as it'll be easier to comunicate.
https://discord.gg/K28XqCU
Wonder Wicked Witch said:
It is easy to get system dump and modify it cuz most of the files can be replaced easily by using the base rom.
Do you have any idea of creating update script and creating the final dat package? In my opinion this is the tough section i think.
Click to expand...
Click to collapse
I'm working on extracting the system.DAT file currently. Will post on here after I'm done.
b50corei5 said:
Hmm I'm working on extracting the system.DAT file currently. Will post on here after I'm done.
Click to expand...
Click to collapse
Great
Could u port miui 9 for lenovo p2?
Ramesh788 said:
Could u port miui 9 for lenovo p2?
Click to expand...
Click to collapse
We will try, however we are currently working on lineage os15
b50corei5....please port Mokee rom for P2..
Lenevo_Moto Z play also has same cpu as P2 as redmi note4
timytimy said:
b50corei5....please port Mokee rom for P2..
Click to expand...
Click to collapse
Hello, you can already find Mokee rom for p2 here
https://forum.xda-developers.com/le...-1-2-unofficial-mokee-source-project-t3601572
We have finished unpacking the system.dat files for both port and base, and are going to start porting things across later today.
b50corei5 said:
Hello, you can already find Mokee rom for p2 here
https://forum.xda-developers.com/le...-1-2-unofficial-mokee-source-project-t3601572
Click to expand...
Click to collapse
its dead months ago

Categories

Resources