Custom Rom Deveopment for the Lenovo P2 - Lenovo P2 Guides, News, & Discussion

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

Related

iphone 4 mt6575 need help porting cyanogen mod

hello guys, I got this iphone 4s clone mt6575. since then, ive always wanted to get a new rom for this phone. i've worked on porting some CyanogenMod 7 on this device but it doesnt boot. please help me im just a newbie and im sorry for my bad english:crying:
this is the backup of my stock rom
www dropbox com/s/mma4wgc1n6uw1jr/NastyJeax_build.V1.0.0.rar
dont be bothered with the build coz i made some modifications of this. lol
hope you guys help me with this. PLEASE.
you cannot get cyanogenmod running on your particular device at this time. a cyanogenmod based on this chipset is in work, but is barely working yet. (just SystemUI starts, everything will FC).
ouch.. . that doesn't sound good.. anyway, can u give me links to the cyanogenmod development of this chipset? please
joevenrey said:
ouch.. . that doesn't sound good.. anyway, can u give me links to the cyanogenmod development of this chipset? please
Click to expand...
Click to collapse
They are gonna need it as without the full and proper kernel source code for each and every device that runs that chip it will never work completely. This is the reason CM doesnt support cheap knock offs.
zelendel said:
They are gonna need it as without the full and proper kernel source code for each and every device that runs that chip it will never work completely. This is the reason CM doesnt support cheap knock offs.
Click to expand...
Click to collapse
I had CM10 on my Jiayu G3 with the 6577. I'm sure it could be done someday. It actually ran quite smoothly. It just had a few bugs with some apps and had a battery drain but was otherwise rock solid.
think its possible for this chipset (MT6575) coz i found some posts proving that they have sucesfully ported CM7 and i actually tried to port using thier ROM with no luck at all. why my system apps starting with "BR" like BRMms.apk?

Oxygen OS-CM 12S?

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.

[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.

Miui v8 mi4i 6.6.18

I have a few days working on a port redmi build the three as they have a similar hardware but I can not make it boot , if you can help me,the base is cm12.1.
Miui v8 for test CM12.1 BASE (No boots...):https://goo.gl/0aEIqK
Bootloop Logcat:https://drive.google.com/file/d/0B0zoxbZU58LfVmhhb21sb2NiOU0/view?usp=sharing
Dmesg:https://drive.google.com/file/d/0B0zoxbZU58LfT2VfOTBud0Zycnc/view?usp=sharing
6.6.6.10 Firmware are needed
Miui v8 for test Stock Miuiv7 BASE (Not tested for me..):https://goo.gl/CA5xCx
Newest mi4i firmware will be installed when installing the build...
Sorry for my bad English
To be honest
Most custom rom here(based on aosp)using 6.6.10 firmware ..
Take a look at yureka thread,they do the same,a dirty build ....,maybe u can use it as base
What is the reason to update just a launcher (frankly speaking MiUI for me is just well designed android launcher) and left an old android 5? Let's just wait for stable ROM from Xiaomi and pray for getting MM.
BTW thanks for the job done ?
Anyone tried it is it boot ?
shoaib1574 said:
Anyone tried it is it boot ?
Click to expand...
Click to collapse
As OP mentioned its not booting.
dont waste time with this.. they wil probably release a stable build, everyone is going bezerk as there is no dev rom, but they had discontinued dev rom bfr miui8 even released! so chances of getting a stable build is still pretty decent! so no point in doing this
ƒεηιx said:
As OP mentioned its not booting.
Click to expand...
Click to collapse
so why you post thread here ?
shoaib1574 said:
so why you post thread here ?
Click to expand...
Click to collapse
Ask OP not me
shoaib1574 said:
so why you post thread here ?
Click to expand...
Click to collapse
Thanks for being so polite.
And It's a development section, he is trying and taking help from other developers. He is NOT here to answer your queries.
Let him cook first, buddy.
Global miui 8 release date is 30 june. Hopefully we will have the developer rom for our device. No need to worry:fingers-crossed:

want to make a custom rom for OBI SF1

is there any chance to make a custom rom for this phone obi sf1 cause the stock rom is so buggy and the company is no longer supporting it.
i hope anyone can help.
kholiochan said:
is there any chance to make a custom rom for this phone obi sf1 cause the stock rom is so buggy and the company is no longer supporting it.
i hope anyone can help.
Click to expand...
Click to collapse
If you want a ROM, you have 3 options.
1) buy another device like you have and donate it to a developer so they can build a ROM for it, they have to have the device to do the work.
2) learn to build it for yourself.
3) wait until someone that knows how builds a ROM for your device.
The 2nd option is probably the fastest way to get your ROM.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Thanks
I found a lot of topic talking about building ROM and porting another device ROM which process do you think more easier.
Any working rom you got?

Categories

Resources