porting AOSP to one plus x - OnePlus X Q&A, Help & Troubleshooting

Hi all,
Apologize for higjacking this thread to ask this but since i am a new member i have no other way.
So i wanted to port AOSP to one plus x and since i am a newbie my ques are as below:-
1.Can i port AOSP made for nexus 5x(marshmallow) to one plus x using cm 12.1(lollipop) for one plus x as the base rom?
2.Can i port the nexus 5x images(marshmallow) on google to one plus x again using cm12.1 or the oxygen os dump 2.1.3 as the base rom?
Please pardon my ignorance.i have been looking up tutorials and videos to port but couldnt understand this part.Please could you give me some hints

sand87ch said:
Hi all,
Apologize for higjacking this thread to ask this but since i am a new member i have no other way.
So i wanted to port AOSP to one plus x and since i am a newbie my ques are as below:-
1.Can i port AOSP made for nexus 5x(marshmallow) to one plus x using cm 12.1(lollipop) for one plus x as the base rom?
2.Can i port the nexus 5x images(marshmallow) on google to one plus x again using cm12.1 or the oxygen os dump 2.1.3 as the base rom?
Please pardon my ignorance.i have been looking up tutorials and videos to port but couldnt understand this part.Please could you give me some hints
Click to expand...
Click to collapse
Porting AOSP from nexus5X ! That too with help of CM base??
Tip: use AOSP code base from Google
Better do some research first
Send from my OnePlus X

sarthakspiker said:
Porting AOSP from nexus5X ! That too with help of CM base??
Tip: use AOSP code base from Google
Better do some research first
Send from my OnePlus X
Click to expand...
Click to collapse
actually i had tried doing that.but on my broadband connection syncing from git using the tutorial at google was very difficult.went on for many days and still i couldnt get source downloaded and syncd.used command to pick up latest branch.still failed.that why i thought about this way.Do you think the porting as i mentioned above ia possible.specially the cross porting using 5.1.1 base to port a marshmallow aosp made for nexus 5x or even one plus one bacon

sand87ch said:
actually i had tried doing that.but on my broadband connection syncing from git using the tutorial at google was very difficult.went on for many days and still i couldnt get source downloaded and syncd.used command to pick up latest branch.still failed.that why i thought about this way.Do you think the porting as i mentioned above ia possible.specially the cross porting using 5.1.1 base to port a marshmallow aosp made for nexus 5x or even one plus one bacon
Click to expand...
Click to collapse
To what I know.. It's not possible.. You've to sync git for sure.. That's how every dev is working here..
Send from my OnePlus X

this was the reason
sorry to disturb but i go this idea based on this video here
How to Port a Custom Rom to your Android Smartphone
would have posted the link but i am not being allowed to

Well try syncing some source and build.. You can't just port it.. Maybe the tutorial is about different kinda ROMs like MIUI
Try slim.. It's little less.. Still you've to spent 20-30GB
Send from my OnePlus X

the video i spoke about was to port pac man rom uaing cm as the basefor galaxy grand 2.however the guy said that we need the porting rom to be of a similary spexed device.
that had got me wondering if i can port aosp and that too cross porting where the base remains a 5.1.1 cm made for one plus x.
i would have loved developing from source but my crappy internet will never allow me to

Try OxygenOS as base.. It's completely for OpX and you can add features etc.
Send from my OnePlus X

ok so i will use:-
1.aosp 6 marshmallow made for some device ,or nexus 5x rom
2.oxygen os 2.1.3-x as base
i hope thats fine.will update here if i succeed

you will definietly not succeed.

OldDroid said:
you will definietly not succeed.
Click to expand...
Click to collapse
That's kinda true
Send from my OnePlus X

OldDroid said:
you will definietly not succeed.
Click to expand...
Click to collapse
LMAO!
Have to give him points for trying though. Good luck sand87ch

I am in a similar situation. I read infinite articles, millions of videos (not literally) but I still didn't get my answer. I am trying to build AOSP from Source for onyx, already synced Source code but now I want to know what changes I should be making in order to get working device tree, kernel tree, vendor, common and other things for AOSP 7.0? I have sources of CM14 but I don't know what exactly to do and no one seems to like helping out noobs with potential to learn (at least I think that about myself but again, sorry if this question is stupid)

Related

Developers for Desire V

Any developers out there having HTC desire v and interested in building roms for our device, post here.. I have been helping in development of galaxy mini, and a member of team jellaxy as well..
I am currently not having free time so cannot build one! If anyone else interested post in this thread, I will try out when I have free time in a couple of weeks
Sent from my HTC Desire V using xda app-developers app
i create this thread http://forum.xda-developers.com/showthread.php?t=2007243 this is my first ROM, but i wont to build for our Desire V CM10 or AOSP
AKA_noodle said:
i create this thread http://forum.xda-developers.com/showthread.php?t=2007243 this is my first ROM, but i wont to build for our Desire V CM10 or AOSP
Click to expand...
Click to collapse
That's great @AKA_Noodle. I used to own the Galaxy i9003 and have experience in testing ROMs, customizing, boat ware removal etc. for 10 months. I have just bought a Desire V yesterday and this is my first HTC. I am getting to know the difference.
I have followed your post and am going to ROOT the phone in a couple of days. I am giving my stock 7 days for the just in case hardware issues with my handset. Post that I will unlock the bootloader and free my device. I am ready for testing and development.
And by the way,
Congratulations to all. We finally have a dedicated thread for our phone.
Thanks @AKA_Noodle, i use the European Rom, great
Guys,
I don't own this device, but I'm interested in developing for it.
I believe I could try to port a ROM or two from the desire X to this device, if anyone would test it.
The only thing I need to know is: do you guys have android 4.0.4 or 4.0.3?
Sent from my awesome fridge
4.0.3
Rew64 said:
4.0.3
Click to expand...
Click to collapse
Thanks. I hope that little difference doesn't affect the ROM.
I don't have time in this week, but I'll try to get you guys a ROM next week.
Sent from my awesome fridge
I'm interested with HTC Desire V Rom Development. And I will first make CM10, then MIUI, etc. I'm following the tutorials at XDA.
Finally i have device tree ready for HTC DESIRE V The next task is to download sources for CM9 ( takes a hell lot of time :/ ) and start working on it, hopefully with community's help, it will be completed
i will be uploading the device tree soon, so anyone can help me building it..
I'm waiting for that CM9, because all other ROMs I tried are disappointing. I posted here earlier a version for Baidu ROM but turns out that was also buggish.
So, please someone make a Cyanogenmod for this phone.
yeah... please develop a CM9/10 version for this dual sim phone ///
Until today, i still can't find an easy way to root my device. LOL!
carliv said:
I'm waiting for that CM9, because all other ROMs I tried are disappointing. I posted here earlier a version for Baidu ROM but turns out that was also buggish.
So, please someone make a Cyanogenmod for this phone.
Click to expand...
Click to collapse
I did some snooping - it turns out that it's buggish because we are using the nightly builds version of the Baidu . The official version is V4:
http://translate.google.com/transla...m.php?mod=viewthread&tid=62590&extra=page%3D1
charmainelooi said:
I did some snooping - it turns out that it's buggish because we are using the nightly builds version of the Baidu . The official version is V4:
Click to expand...
Click to collapse
I know, but my version was from that stable one, which is based on version 27. Still it had some "things" because for Baidu stable not means final, it's a project in developement. I guess, if no one develop a CM for our device we'll have to wait for some final Baidu.
One other thing is that they develop Baidu to integrate with their service (let's not forget that Baidu is Google for China), and it will be more suitable to users from China .
Too bad that HTC couldn't release a ROM without bugs. Baidu, even in beta, didn't restart my phone randomly like HTC rom did (stock version too), and I have a friend with Wildfire stock, unrooted, untouched which do the same. Maybe it is something with HTC rom platform, I don't know.
I don't think it is hardware, because if it was, Baidu would restart too.
For developement
I just finished to try every single open source of android to make a new build for this phone and my conclusion is not good.
HTC announced that this phone will not get JellyBean - understandable 1 single core processor, 512 MB Ram, not enough.
That will be a huge obstacle in order to get Paranoid, PAC or Slimbean to this phone - they mentain those sources now only for jellybean. Or for jellybean, we need a new kernel to support that. And even so, we can not know if it will work - poor phone specs.
Cyanogenmod doesn't support DualSim, and I bought this phone for that function only.
MIUI doesn't support DualSim either - I know there are a lot of dualsim phones with MIUI, but these are ported not compiled from source - and MIUI source isn't public (what they have on github is a patch tool, wich doesn't work very well, especially with HTC phones which are more difficult).
LewaOS has a source open on github, but is only for Gingerbread - if they upgrade this it will be our best alternative, because LewaOS is a very stable, fast and reliable ROM, and works well even in low specs phones. Baidu ROM seems to be at the begining some port of LewaOS (I still found some mediatek references in baidu, and mediatek is the main processor for Lewa).
So, we're stuck with Sense...
Desire V Rom Development
rohan007 said:
Finally i have device tree ready for HTC DESIRE V The next task is to download sources for CM9 ( takes a hell lot of time :/ ) and start working on it, hopefully with community's help, it will be completed
i will be uploading the device tree soon, so anyone can help me building it..
Click to expand...
Click to collapse
Hi Rohan,
I am interested In developing Android Rom for HTC desire V, so i required few things, can you suggest where i get the device identity (Device Tree, Vendor) details.
carliv said:
Too bad that HTC couldn't release a ROM without bugs. Baidu, even in beta, didn't restart my phone randomly like HTC rom did (stock version too), and I have a friend with Wildfire stock, unrooted, untouched which do the same. Maybe it is something with HTC rom platform, I don't know.
I don't think it is hardware, because if it was, Baidu would restart too.
Click to expand...
Click to collapse
I have the same problem with my htc desire V, can you please link the rom that solved your problem?
ManthanRB said:
I have the same problem with my htc desire V, can you please link the rom that solved your problem?
Click to expand...
Click to collapse
None, it's a hardware issue. I took it to a service shop and then I sold it and never bought a HTC again.

Porting CM12 Using 4.4 as a base

There are Lott's of threads for porting for Rom's to any device..
But most of describes to use same android versions for base and port...
But i want try porting CM12 for Galaxy Core...
I am not a developer but still want to use Cm12 on my device .. So instead of asking some one i would love to port it by myself:thumbup:
hareshsangar said:
There are Lott's of threads for porting for Rom's to any device..
But most of describes to use same android versions for base and port...
But i want try porting CM12 for Galaxy Core...
I am not a developer but still want to use Cm12 on my device .. So instead of asking some one i would love to port it by myself:thumbup:
Click to expand...
Click to collapse
That is hard to do without a background in building from source and knowing some coding and kernel stuff. You don't have lollipop yet on that device so it will be even harded. You can't just copy some files. You need a device tree and modify the kernel and then build cm12 from source.
Thanks for taking time .. But i would if i can port CM11 at least
hareshsangar said:
Thanks for taking time .. But i would if i can port CM11 at least
Click to expand...
Click to collapse
Well I don't know about your device (it's basically the same for all Qcom device, I don't know about MTK). Porting by copying files is less reliable then building from source (well it's way easier). It's very very hard to solve bugs when copying files and if the base has bugs the port might be even more buggy.

Cyanogenmod ROM mipad 2

Does anyone know if a cyanogenmod rom for mipad 2 is available?
Envoyé de mon Mi-4c en utilisant Tapatalk
+ 1
Dear Developers and Hackers of XDA,
I just bought this tablet. I looked around on the MIUI forum for MI Pad 2 and see that there are ways to root a developer MIUI ROM for this tablet. I also see that there are also instructions to unlock the bootloader and install a custom recovery. I am big fan of Cyanogemod and am hoping to have it on the tablet. Has anybody tried and/succeeded to port Cyanogenmod to this tablet?
Hoping for the best
Sincerely
dspati
Hi dEvasEnApati I'm in your situation! I hope to recive news as soon as possible because i want to install cyano!
Xda dev have you got some news?
Hi,
Following the instructions from the miui forum I managed to unlock the bootloader, root , install TWRP and AOSP rom. I was wondering what are the requirements to have a cyanogen mod for it? Are there CMs for devices with intel x86_64 hardware?
I'll get my mipad 2 soon! I think in a week or two then I'll Start heavy development on it ? i think of aosp is possible cm will be possible too :] I'll keep u guys updated
Hi Nailyouh,
Thank you very much for doing this!
Maybe this may help: As paul_ro21 mentioned, a working AOSP rom, which was most probably developed by Xiaomi is available on the miui forums. I have it on my mi pad 2 as well and it's working fine. I am looking forward to a CM rom for this tablet and I will be happy to help with testing!
Sincerely
dspati
Nailyouh said:
I'll get my mipad 2 soon! I think in a week or two then I'll Start heavy development on it �� i think of aosp is possible cm will be possible too :] I'll keep u guys updated
Click to expand...
Click to collapse
Nailyouh said:
I'll get my mipad 2 soon! I think in a week or two then I'll Start heavy development on it �� i think of aosp is possible cm will be possible too :] I'll keep u guys updated
Click to expand...
Click to collapse
Waiting for your work on CM
Im too tired with stupid MIUI on this awesome tablet :
Stupid ram management, it has 2gb ram but it cannot run multi-tasking !
Im facing a big Problem i was not aware about..the Kernel of the MiPad2 is not open source so we are pretty f**ed by xiaomi. In fact the Kernel source has to be released but xiaomi don't care about Copyright infringements. I regret the decision buying this Tab. I like the Dualboot thingy and the aosp Rom runs smooth as butter but without the source we'll stuck on 5.1.1. really sad if you ask me, the Tablet is really beautyful and I love the outstanding Display. I'll try to figure around with the kernel from the aosp Rom next week I'll keep u informend and will make a thread if I suceed.
Cheers
Naily
Nailyouh said:
Im facing a big Problem i was not aware about..the Kernel of the MiPad2 is not open source so we are pretty f**ed by xiaomi. In fact the Kernel source has to be released but xiaomi don't care about Copyright infringements. I regret the decision buying this Tab. I like the Dualboot thingy and the aosp Rom runs smooth as butter but without the source we'll stuck on 5.1.1. really sad if you ask me, the Tablet is really beautyful and I love the outstanding Display. I'll try to figure around with the kernel from the aosp Rom next week I'll keep u informend and will make a thread if I suceed.
Cheers
Naily
Click to expand...
Click to collapse
Too sad, I know this will happens becoz Xiaomi released just some models ( Mi4 ... )
Hope You will find a way to solve this
The hardware is awesome, but the OS is SUCK !
Any news?
any news?
@Vihru there is some progress in the MIUI forums, I'm using MIRU 7 and currently waiting MIRU 8 to finish downloading. It's like a whole new tablet, amazing what they've done with it
Remix 2.0: http://en.miui.com/thread-329758-1-1.html
MIRU 7: http://en.miui.com/thread-325531-1-1.html
MIRU 8: http://en.miui.com/thread-353077-1-1.html
If anyone on MI Forum as registered, please assist here:
http://en.miui.com/forum.php?mod=redirect&goto=findpost&ptid=424803&pid=7862023
See if I gave him all correct links and processes..
vdbhb59 said:
If anyone on MI Forum as registered, please assist here:
http://en.miui.com/forum.php?mod=redirect&goto=findpost&ptid=424803&pid=7862023
See if I gave him all correct links and processes..
Click to expand...
Click to collapse
Is this good news for you:
http://en.miui.com/thread-411400-1-1.html
CyanogenMod 13 x86 6.0.1 on MiPad 2 Intel x5 z-8500
xposed will work too. Right now the audio is under construction (not working, yet).
Xiaomi added kernel souces for Mi Pad 2
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/latte-l-oss
datorprofessor said:
Is this good news for you:
http://en.miui.com/thread-411400-1-1.html
CyanogenMod 13 x86 6.0.1 on MiPad 2 Intel x5 z-8500
xposed will work too. Right now the audio is under construction (not working, yet).
Click to expand...
Click to collapse
Thanks mate.
Checking it.
Kernel source is out (github)
Nailyouh said:
Im facing a big Problem i was not aware about..the Kernel of the MiPad2 is not open source so we are pretty f**ed by xiaomi. In fact the Kernel source has to be released but xiaomi don't care about Copyright infringements. I regret the decision buying this Tab. I like the Dualboot thingy and the aosp Rom runs smooth as butter but without the source we'll stuck on 5.1.1. really sad if you ask me, the Tablet is really beautyful and I love the outstanding Display. I'll try to figure around with the kernel from the aosp Rom next week I'll keep u informend and will make a thread if I suceed.
Cheers
Naily
Click to expand...
Click to collapse
Kernel source is now out on github. Any thoughts about it?

AOSP base rom for Redmi Note 4(MT6797)

Hi
Please build or port an Aosp rom to our great devices.
If somebody agree with me, please strengthen in it.
Thanks
zsolt
There are people working on CM and AICP ports. You can see here: http://en.miui.com/thread-407842-1-1.html
prismk said:
There are people working on CM and AICP ports. You can see here: http://en.miui.com/thread-407842-1-1.html
Click to expand...
Click to collapse
yes i know, i have seen these posts
thanks
If you already knew then why did you start a new thread?
Why do some people think that asking for a ROM will make it magically happen faster or something?
Sent from my Redmi Note 4 using Tapatalk
Do you use AOSP rom if that rom don't have fingerprint function (because RMN4 use FPC1035 with MTK TrustSonic enabled, it's so hard to port it unless Xiaomi release kernel source code) ?
Most people asking for porting rom from other devices but also demand porting rom have full functions working like original rom which impossible to make it happen...
longnt2007 said:
Do you use AOSP rom if that rom don't have fingerprint function (because RMN4 use FPC1035 with MTK TrustSonic enabled, it's so hard to port it unless Xiaomi release kernel source code) ?
Most people asking for porting rom from other devices but also demand porting rom have full functions working like original rom which impossible to make it happen...
Click to expand...
Click to collapse
Yep. As I said in the X20 kernel thread, it's only just the beginning because that's only generic X20 kernel source. ODM's *always* add their own hardware that is not covered by the original kernel source.
Typically, Camera and Sensor drivers were the most difficult to port (with blobs and reverse-engineering stock firmware). But TrustSonic sounds like it will be the biggest task.

How can I port a Nougat 7 ROM

Can you please help me to guide how Can I port a android nougat ROM for my device Moto G 2015 Osprey XT-1541. I have seen few post on XDA but none of them is about N Roms . also one about N roms have negative comments stating thsi will not work .
Im intrested to port Paranoid android or PAC nougat ROM to me device
Why do you want to port?
Just build it directly from the source
chungomungo1 said:
Can you please help me to guide how Can I port a android nougat ROM for my device Moto G 2015 Osprey XT-1541. I have seen few post on XDA but none of them is about N Roms . also one about N roms have negative comments stating thsi will not work .
Im intrested to port Paranoid android or PAC nougat ROM to me device
Click to expand...
Click to collapse
Android Nougat available for your android.
https://forum.xda-developers.com/2015-moto-g/orig-development/rom-unofficial-cyanogenmod-14-t3466246
rjtgupta84 said:
Why do you want to port?
Just build it directly from the source
Click to expand...
Click to collapse
I want to port as I like these two ROMS but their Nougat versions not avaiable for my device . I have seen a few guides of porting and seesm they are not much difficult.
I have no clue how to build it from source ? any guide on that
Ashwinrg said:
Android Nougat available for your android.
https://forum.xda-developers.com/2015-moto-g/orig-development/rom-unofficial-cyanogenmod-14-t3466246
Click to expand...
Click to collapse
It is avaiable however I want to port these roms as I like these two ROMS but their Nougat versions not avaiable for my device . I have seen a few guides of porting and seesm they are not much difficult. I have alreday tried few nougat ROMS . also I wanst to go a bit on development side and porting seems to be first easy step
chungomungo1 said:
I want to port as I like these two ROMS but their Nougat versions not avaiable for my device . I have seen a few guides of porting and seesm they are not much difficult.
I have no clue how to build it from source ? any guide on that
Click to expand...
Click to collapse
If you're a newbie you should learn a lot of things from Google itself.
First of all you should consider building a CyanogenMod ROM since that's going to be good and better for you. Also see the things on AOSP.
that's a huge leap if you don't know coding. Even sometime CyanogenMod got to update few times to fix hardware issue

Categories

Resources