[Q] how to port rom for L9 - LG Optimus L9 P760, P765, P768, P769

Hey,
I was a semi-developer for a my previous phone, it was a mediatek.
As you all know porting and customizing ROMs for mediatek phones is really easy.
But now I also want to start building/porting for this phone.
Can someone give me links to guides,tips,.. for this phone.
What is the best phone to port ROMs from?
Thanks

Can no p760 developer give me tips? Or are you all thinkig "noob"?

You dont have to be PRO to port roms I started doing it one week ago and it goes really well. I will quote nasheich. He wrote very good tips:
nasheich said:
1. Find device with same CPU, LG L9 have dual core CPU, so find it, for example, Motorola Razr(I'm used on Mokee n Paranoid), Galaxy Tab 2(I'm used on Xperience, AOKP, Hellfire).
2. Forget about screen size(4", 5" or 7"), the important is screen DPI, it has to be used same DPI, LG L9 has HDPI, find it the HDPI device
3. Same OS version, KK with KK, JB with JB, special for JB, see the version of JB, example JB 4.2.2 with JB 4.2.2
4. Make sure you have installed software on Windows/Mac, for porting, you may need just 2 software,
- Note++(for editing build.prop & other files like .txt, .bin etc)
- Apktool (for decompile n recompile .apk n .jar files)
5. Open mind
Click to expand...
Click to collapse
I will add only two tips. Don't give up and try to read as many guides as you can

Xerdox said:
You dont have to be PRO to port roms I started doing it one week ago and it goes really well. I will quote nasheich. He wrote very good tips:
I will add only two tips. Don't give up and try to read as many guides as you can
Click to expand...
Click to collapse
Thanks for your response but could you give me a link to the guide you used? I tried some guides that I found but it didn't work. Im trying to port slimkat.

http://forum.xda-developers.com/showthread.php?t=1908008
http://forum.xda-developers.com/showthread.php?t=1957219
http://forum.xda-developers.com/showthread.php?t=2245786
http://forum.xda-developers.com/showthread.php?t=2284985
I think that's all.

Xerdox said:
http://forum.xda-developers.com/showthread.php?t=1908008
http://forum.xda-developers.com/showthread.php?t=1957219
http://forum.xda-developers.com/showthread.php?t=2245786
http://forum.xda-developers.com/showthread.php?t=2284985
I think that's all.
Click to expand...
Click to collapse
Thanks gonna try it soon

Remember that you will never find a guide which will work for all roms

Related

Xperia ICS ARMv6

Hello Guys..
For: ARM6 And Display 3,2" Zoll
I found this:
http://forum.xda-developers.com/showthread.php?t=1849750
This can Porting
have where intressting?
kevios12 said:
Hello Guys..
For: ARM6 And Display 3,2" Zoll
I found this:
http://forum.xda-developers.com/showthread.php?t=1849750
This can Porting
have where intressting?
Click to expand...
Click to collapse
The Rom surely look preety good.
I hope someone would port it
Yes i hop this too this is a very great rom and the CPU is supported
Hello. I'm not a true dev, but I like a lot WALKMAN app and I'd like to take a look to Xperia customization, too. I've done a basical port. Just boots and shows initial setup. Every process FCs. If anyone wants to work on this, I can upload the zip. Actually I'm on holiday and I've done this on my friend's PC. I'll take a better look inside this port when I'll be back home, but I DON'T PROMISE ANYTHING. As said in the beginning of the post, I'm not a true dev, so I'm not sure I can do this.
But maybe there's someone sets ran for porting
Yes for sure you can port that from P500 Due to almost same device (Same based armv6) just need some trick over the porting.
Framework & Apps most important overall for the porting process.Also for adb knowledge
Steriod™ said:
Yes for sure you can port that from P500 Due to almost same device (Same based armv6) just need some trick over the porting.
Framework & Apps most important overall for the porting process.Also for adb knowledge
Click to expand...
Click to collapse
Looks cool tough

[DEV] [OLD] Porting and booting custom rom via 2nd-init

Before you read this theard:
There isn't any rom which you can install.
This Development Thread is for users who have any idea, something to share.
Click to expand...
Click to collapse
As we know our L9 has locked bootloader. We can't flash boot.img and recovery.img, but we can load custom ramdisk and recovery through 2nd-init.
What is 2nd-init?: Read there: http://cvpcs.org/blog/2011-06-14/2nd-init._what_it_is_and_how_it_works
My CWM Recovery for L9 is also loaded through 2nd-init, so we have ready 2nd-init scripts. Where recovery and custom ramdisk will be storied:
boot.tar (custom ramdisk): /system/bootstrap/boot.tar
recovery.tar (custom recovery): /system/bootstrap/recovery.tar
So, we have 2nd-init script, we can start porting rom to our device (I have P760 variant). We have to port rom from Prada 3.0 and Atrix 2 (very similar devices) or compile from sources. For now 1st option is better because we haven't got any sources expect 10a rom.
At the end I attach full 2nd-init script. You can test it on stock rom, it works. Only need to edit ramdisk and port some files to get working CM9/10. Link to ramdisk is in second post. In the most part it is playing with the files and ramdisk (like editing the lg prada, 4x was edited stock ramdisk), because we can not run custom kernels. There are many specific files, which ramdisk, kernel checks md5 checksum of this files (drm files).
IMPORTANT INFORMATIONS ARE ALSO IN POST BELLOW (2nd post, links to important files).
This is the end for now. Theard will be updated.
What can you do:
Post something useful for us
Have an idea, write there
Links to useful websites/theards
Share some info about porting roms to L9
Notes about the idea, porting roms, very important information
Please don't:
Ask for ETA's & Troll
Edit: Now. Cyanogenmod 9 is working. If you want to port roms use this rom as base. Ramdisk is storied in /system/bootstrap/boot.tar
For now I don't neeed tester, It don't work for now. I and persons who help me are working, but it isn't easy as porting with unlocked bootloader.
For devs. Some informations and links. I add some important links. Some of them are from Optimus 4X. I added it, because In 4X CM10 ramdisk is fixed drm conflict (everything I will write in this post).
LG Prada Cyanogemod 9 (uses 2nd-init, stock LG kernel, easiest way to port): http://goo.im/devs/milaq/p940/cm9/cm-9-20121126-NIGHTLY-p940.zip
LG Optimus 4X CM10 (there is fixed booting, drm conflict). Important files in this rom: /system/bin/netd /system/bootmenu/boot.tar (also I upload it without rom), /system/drm, system/drm2, /system/lgdrm.tar: http://d-h.st/ivJ
10b (branded 10a) P760 system and boot (ramdisk) dump: http://www.mediafire.com/?9b4oywl94j0bp
Optimus 4X Stock boot (ramdisk): http://www.mediafire.com/?k48h27ln4xnygrh
Optimus 4X CM10 ramdisk (you can compare with 4X Stock ramdisk, see what's changet, try to do this on L9, also included in 4X rom /system/bootmenu/boot.tar): http://www.mediafire.com/?fia0d72cs93cy71
Stock P760 ramdisk with ro.secure=0 edited to work with 2nd-init (bootable, working, to boot install cwm recovery and copy boot.tar to /system/bootstrap, it's base to port cm9/cm10). Only one bug is soft button light:http://www.mediafire.com/?ra5itp818uijpk3
CM 10 for Atrix 2 (similar device to L9): http://forum.xda-developers.com/showthread.php?t=1869692
Important theards/posts:
Similar devices to L9:
LG Prada 3.0 (The same platform, manufacturer, different screen resolution, similar ramdisk, also similar some files specific to platform, phone model)
Atrix 2 (the same resolution, platform, other manufacturer)
hi,i have a P760,if you need testers count with me.
have you recovery installed and i know how to flash kdz and everything else.(install zip and create backup).sorry for my google translate..
artas182x said:
I need testers witch other variant of L9 (P765, P768, P760 and others).
Click to expand...
Click to collapse
I have P765, fit for all your requirements, but don't have much free time. In any case, I will try to help if I can.
I can test the rom on a P760
Hallo guys, finally we have our sub forum, for me to begin will be also good to have one clean and deodexed stock rom with some advance, like script for kernel OK and........
Also agree to port cynogen 9 and other rom:thumbup:
Inviato dal mio LG-P760 con Tapatalk 2
count me in... P760... had a lot of android based devices. so i know to flash via recovery, also flashed P760 several times via kdz..
can test for the p769. I'm well versed in cwm flashing and have reflashed this phone using kdz several times.
P-765 user
Let me try it
i will test as well, got an lg l9 P760 thats the reason we are here. to support and try :highfive: hope it works and to go forward even more with CM 9,10, 10,1 ....
I can also help test with p760 , can do all that you ask and have alot experience in device modding/testing
Hi man! Im a developer for three lg phones and have p760! Do you know how compile cmX for phone that have locked bootloader?
Inviato dal mio LG-P760 con Tapatalk 2
P769 here.... happy flashing etc.
Sorry saw the post very late. I am here for...
P765 Indian (Asian) variant.
Excellent write up on 2nd-init at http://cvpcs.org/blog/2011-06-14/2nd-init._what_it_is_and_how_it_works
Thanks it explained many things and hijacking booting sequences.
I know its really early, but do you think its possible to have a touch led notification feature built into a rom? Thats the only thing missing from this phone I dont like. I miss having a blinking light telling me if I missed a call or message.
I know theres an app on the store but from my using it, its pretty buggy and doesnt always work. And it seems to eat up the battery too.
Would be difficult to compile the original KDZ 10E with root after install?
redspeed said:
I know its really early, but do you think its possible to have a touch led notification feature built into a rom? Thats the only thing missing from this phone I dont like. I miss having a blinking light telling me if I missed a call or message.
I know theres an app on the store but from my using it, its pretty buggy and doesnt always work. And it seems to eat up the battery too.
Click to expand...
Click to collapse
Not only that app but this feature itself is battery consuming. Tried this on O2x and removed after noticing battery drain.
nevp said:
Would be difficult to compile the original KDZ 10E with root after install?
Click to expand...
Click to collapse
ICS Source code for all L9 variants (except 765) are released. Should it be a problem for devs to compile rooted KDZ from source? Just curious to know this from devs.
One more thing, now as CWM by Artas185x is fully working, is it possible for sharing restorable zips with rooted roms? Again just curious to know.
well as of now i have set up a petition for lg to unlock the bootloader of all L9 Variants maybe if we get enough signatures they will do as they are doing with the 4X and the optimus G in my signature below hopefully they get a hint
cmahendra said:
Not only that app but this feature itself is battery consuming. Tried this on O2x and removed after noticing battery drain.
Click to expand...
Click to collapse
I guess its because the cpu gets woken up each time the leds go on? Is there a way to toggle a low brightness blinking or pulse when a notification is received that will shut off again once the screen is turned back on? I wouldnt think one or both of the leds blinking at low brightness by themselves would take up too much battery power?
I've just signed the petition and i'm ready to test with P760

Building a ROM from scratch, guide?

Are there any guides that show the user how to create a rom from scratch? I've seen multiple guides on creating a rom but they do so using the kitchen. I would prefer something that shows how to make a rom without a crutch.
please help
HydrogenPeroxide said:
Are there any guides that show the user how to create a rom from scratch? I've seen multiple guides on creating a rom but they do so using the kitchen. I would prefer something that shows how to make a rom without a crutch.
Click to expand...
Click to collapse
I would say the best way to make a ROM from scratch is to compile it from source. If your interested in learning how to compile a ROM from source I would recommend taking a look at this guide to building Jelly Bean from source, as well as Google's offcial documentation on building Android from source. Additionally this guide on Zip Based ROM tweaking is a good guide to take a look at. Let me know if you still have any questions .
HydrogenPeroxide said:
Are there any guides that show the user how to create a rom from scratch? I've seen multiple guides on creating a rom but they do so using the kitchen. I would prefer something that shows how to make a rom without a crutch.
Click to expand...
Click to collapse
Normally all device forums have tutorials on how to compile ROM from source(if someone has already compiled it).
If no development has yet started for your phone then you you need to create the device tree which is tough. Otherwise just google . There are lots of tutorials lying on xda.
shimp208 said:
I would say the best way to make a ROM from scratch is to compile it from source. If your interested in learning how to compile a ROM from source I would recommend taking a look at this guide to building Jelly Bean from source, as well as Google's offcial documentation on building Android from source. Additionally this guide on Zip Based ROM tweaking is a good guide to take a look at. Let me know if you still have any questions .
Click to expand...
Click to collapse
Thanks, I didn't even know there was an official guide
I'm wanting an AOSP ROM on my s5 g901f but there is no support at all. Could someone point me in the right direction? I'd like to have a go and have looked up porting but I don't think that is the way to go. If somebody could give me the steps what I need to do for this modal I will research.
Could I use the cm for note 4 as it has similar specs, ie
805, 420 etc. Or s5 g900 as a base ROM? Or would I need to build from scratch?
There is only one custom ROM for g901f and that's touchwiz so somebody please help before I go insane. Touchwiz really is that bad
Up for this. Really interested especially for us who has not so good programming skills
mikey187lfc said:
I'm wanting an AOSP ROM on my s5 g901f but there is no support at all. Could someone point me in the right direction? I'd like to have a go and have looked up porting but I don't think that is the way to go. If somebody could give me the steps what I need to do for this modal I will research.
Could I use the cm for note 4 as it has similar specs, ie
805, 420 etc. Or s5 g900 as a base ROM? Or would I need to build from scratch?
There is only one custom ROM for g901f and that's touchwiz so somebody please help before I go insane. Touchwiz really is that bad
Click to expand...
Click to collapse
Let's see if I can point you in the right direction! Because of the differences in specs between your S5 Plus and the regular S5 you can't use that to port ROM's. For the Note 4 idea, since you only have a Touchwiz ROM as your base (The one from your S5 Plus) it won't work properly for the port ROM (CM12 Note 4). I would recommend looking at compiling CM12 for your device, which I would recommend taking a look at this guide here. Let me know if you have any questions be happy to help you out.

D803 Rom "porting" requests, please write them here!

Mods, if this is in the wrong section, please move it.
*sorry for the bad english*
Alright, the purpose of this thread is simple. I made this with the intention of uniting all of the d803 users, and give them the opportunity to post a request for a rom they would like to see on their d803's that is available for other variants such as the d802. At the moment, I've found a way to "port" only d802 roms to the d803, and by port I mean making some slight changes that allow the rom to boot in our devices without any or with the least issues possible. These two devices are very similar hardware-wise, so software wise it doesnt change much.
If there's any D802 rom that you would like to see on our D803, feel free to leave a reply and I will do my best to move my gears and upload it so you guys can have it! As we all know, the development scene for the Canadian variant isnt as active as the d801 or D802, and with this I aim to end that barrier by trying to make those roms available to our device
Too long didnt read version:
If the rom exists for the D802, post a reply and I will try to make it available for the D803
Disclaimer:
I am in no way a developer, I simply edit files and put them in the right place so it boots for us. I do this to help fellow d803 users.
If I helped with a file, always make a nandroid backup just in case things go haywire. Anything that happens to your phone is your responsibility.
Everything I submit gets tested rigorously on my own G2 before being posted to ensure its working, but we all get different results, so the experience might vary. Just a heads up.
Click to expand...
Click to collapse
Any suggestions or edits by mods to the post are welcome.
[email protected] said:
Mods, if this is in the wrong section, please move it.
*sorry for the bad english*
Alright, the purpose of this thread is simple. I made this with the intention of uniting all of the d803 users, and give them the opportunity to post a request for a rom they would like to see on their d803's that is available for other variants such as the d802. At the moment, I've found a way to "port" only d802 roms to the d803, and by port I mean making some slight changes that allow the rom to boot in our devices without any or with the least issues possible. These two devices are very similar hardware-wise, so software wise it doesnt change much.
If there's any D802 rom that you would like to see on our D803, feel free to leave a reply and I will do my best to move my gears and upload it so you guys can have it! As we all know, the development scene for the Canadian variant isnt as active as the d801 or D802, and with this I aim to end that barrier by trying to make those roms available to our device
Too long didnt read version:
If the rom exists for the D802, post a reply and I will try to make it available for the D803
Disclaimer:
Any suggestions or edits by mods to the post are welcome.
Click to expand...
Click to collapse
To port any ROM to any version just download your devices patch from dr87's Mahdi ROM thread then all u gotta do is change out the boot IMG, a few lines in the build prop n updater script then flash ROM, gapps, the patch then your good. We had a similar patch for toro on the gnex forum and I was waiting for the day someone put one together for us seeing as all g2's use the same mainboard. The days of worrying about whether your variant will get support is finally over, for aosp Roms at least. I'm gonna try doing it w a stock ROM to see if that works cuz that's something I'd really love to see. Cuz as a vs980 owner I can say from experience that our stock ROM development is lacking compared to the d802 or f320
blazewit said:
To port any ROM to any version just download your devices patch from dr87's Mahdi ROM thread then all u gotta do is change out the boot IMG, a few lines in the build prop n updater script then flash ROM, gapps, the patch then your good. We had a similar patch for toro on the gnex forum and I was waiting for the day someone put one together for us seeing as all g2's use the same mainboard. The days of worrying about whether your variant will get support is finally over, for aosp Roms at least. I'm gonna try doing it w a stock ROM to see if that works cuz that's something I'd really love to see. Cuz as a vs980 owner I can say from experience that our stock ROM development is lacking compared to the d802 or f320
Click to expand...
Click to collapse
Well I meant it more in a way for those who don't understand much about editing the updater script and exchanging the boot.IMG. with what I'm offering all they have to do is ask the ROM and I'll post it online with said changes in case they don't know how to do it. Something like a small favor for everyone, but thanks for the reply!
Request
If you could please port this rom I would very much appreciate it
http://forum.xda-developers.com/showthread.php?t=2609355
---------- Post added at 08:48 AM ---------- Previous post was at 08:38 AM ----------
blazewit said:
To port any ROM to any version just download your devices patch from dr87's Mahdi ROM thread then all u gotta do is change out the boot IMG, a few lines in the build prop n updater script then flash ROM, gapps, the patch then your good. We had a similar patch for toro on the gnex forum and I was waiting for the day someone put one together for us seeing as all g2's use the same mainboard. The days of worrying about whether your variant will get support is finally over, for aosp Roms at least. I'm gonna try doing it w a stock ROM to see if that works cuz that's something I'd really love to see. Cuz as a vs980 owner I can say from experience that our stock ROM development is lacking compared to the d802 or f320
Click to expand...
Click to collapse
Could you possibly make a quick tutorial on how to do this? or possibly direct me to where i could find one?
Hi, I was looking at your old thread about how you could port d802 roms to d803. I was wondering if you could port cyanogenmod 11 snapshot m12. http://download.cyanogenmod.org/?device=d802 i would really appreciate it. and it seems like u are good at what u do so you should maybe consider building for d803 for cyanogenmod. thousands of d803 users have been waiting for cyanogenmod support but to this day have recieved none. anyways if u could port it i would really appreciate it! thanks!
can you make lollippop rom pls
http://forum.xda-developers.com/lg-g2/development/rom-android-lollipop-fast-clean-t2941922
CM12 !
PLZ !

Looking for an Alpha Lollipop build for the G2? Look no further!

"The G2 Dream Team" (and they well deserve that name) has released not one, but TWO lollipop builds for the LG G2. Both ROMs are based on the same build tree, but one ROM is CM12 and the other is a LiquidSmooth 4.0 ROM. Despite being built from the same build tree, they carry different features. They are stable and usable for daily drivers, but they may carry some bugs, like a non-functional video playback, NFC issues for LS/VS980 but it should all be sorted out in the near future. Head over to the threads to read more!:
Liquidsmooth 4.0:
http://forum.xda-developers.com/lg-g2/development/rom-liquidsmooth-v4-0-lg-g2-t2948395
CM12:
http://forum.xda-developers.com/lg-g2/development/rom-cyanogenmod-12-0-lg-g2-t2944269
Older posts:
An increasing amount of devices have been receiving unofficial Android Lollipop 5.0 ports, like the HTC One M8 and the LG Optimus L9. Today another device can be added to the list of phones receiving a treatment with the taste of Android Lollipop, the LG G2. While there generally has been a wide contribution from the community; testing, sharing files and giving ideas, two XDA members stood out in particular in order to create the build, @ylukasy and @InfinitusDesigner. The port is still in a very early pre-alpha stage, and the bugs are barely known yet, but the ROM boots and has even been rooted! While it might be wisest to wait until an official thread has been made before grabbing your devices and start flashing, @ylukasy has already provided a download link for the ROM, and calls for people to help discover the bugs so that they can be eliminated. Please notice that the ROM might not be stable enough to be used as a daily driver, but owners of a LG G2 are officially an important step closer to having a stable Lollipop ROM!
If this post caught your interest and you're willing to take the risk, head over to the last pages in the following thread: http://forum.xda-developers.com/lg-g2/general/unofficial-cm12-nexus-5-posted-t2936398
As previously mentioned, a lot of things are not sorted out yet, and the build might not be for your device number, so make sure you read the entire thread before continuing, or simply wait untill an official thread is made.
Update:
An official thread has been posted and it can be found by following this link: http://forum.xda-developers.com/lg-g2/development/rom-android-lollipop-fast-clean-t2941922
The build is a port of the Nexus 5 ROM, and users of the ROM have been saying that the rom is very fast and fluid, calls work, camera works (although the quality is inferior), but other users have been reporting random reboots and incompatibilities with certain apps such as YouTube or WhatsApp.
by vPro97
This post will be updated regularly when new information regarding Lollipop ports surface.
Fantastic News! Will get round to trying it shortly, thanks for the link!
While I have my doubts about it being functional (or even booting) on my LS980, I'll give it a shot and see what happens.
Nice to see things moving at breakneck speeds these days.
On a side note, I just read the AnandTech review of the Nexus 6 and am happy to report that my well over a year old G2 beats it in several benchmarks so I'm pretty satisfied at the moment, especially considering I got it for free. I mean really...
In before "no build for xxxx?!?!?!?"
Anyone know how to port a d802 rom to d800?
Ready to try it out and see what happened..??
his build is from the same source the other was he doesn't deserve credit for it. it's using cm12 kernel and dev claims it's using nexus 5 port yet requires gapps and no signs of any nexus 5 code at all.
Wouldn't it be alot easier to just post the download link here?
₪LG G2₪
Zyner said:
Wouldn't it be alot easier to just post the download link here?
₪LG G2₪
Click to expand...
Click to collapse
It's not my work, and there are some steps which must be followed in order to make it work. I am just objectively informing any news regarding Android Lollipop for the LG G2.
OP has been updated.
The download link was removed before i could get the v3 version so im stuck with v2 and ive been using it as my daily (yeah it reboots every 5 minuets and i can leave wifi on or it will bootloop) But honestly thats the fun in testing this stuff out
MrNegative370 said:
The download link was removed before i could get the v3 version so im stuck with v2 and ive been using it as my daily (yeah it reboots every 5 minuets and i can leave wifi on or it will bootloop) But honestly thats the fun in testing this stuff out
Click to expand...
Click to collapse
Me too.
Is there anyone that can share privately the V3 version with me ? :fingers-crossed:
here is something better:
http://forum.xda-developers.com/lg-g2/development/rom-cyanogenmod-12-0-lg-g2-t2944269
Jam4l said:
here is something better:
http://forum.xda-developers.com/lg-g2/development/rom-cyanogenmod-12-0-lg-g2-t2944269
Click to expand...
Click to collapse
TY !
Can anyone port the Nexus 5 ROM?
Updating this thread later today if nothing gets in the way.
Hi everybody!!
I need a tester please:
I built pure AOSP for the D802 from sources of Android right now, has anybody time to test it?
It is an experimental build and I didn't test it right now, so I don't know if it is working, please make a backup from your current rom.
The build comes with an built in CWM recovery and should be with root access. It can be flashed with the same instructions like the CM 12 build.
Edit: Bootloop right now ... Anybody, can you take a logcat?
http://builds.hubdroid.com/otherroms/aosp_d802-ota-102.zip
Thank you in advance!! Please anybody who tries it: can you send me a pm?
Flo0008 said:
Hi everybody!!
I need a tester please:
I built pure AOSP for the D802 from sources of Android right now, has anybody time to test it?
It is an experimental build and I didn't test it right now, so I don't know if it is working, please make a backup from your current rom.
The build comes with an built in CWM recovery and should be with root access. It can be flashed with the same instructions like the CM 12 build.
http://builds.hubdroid.com/otherroms/aosp_d802-ota-102.zip
Thank you in advance!! Please anybody who tries it: can you send me a pm?
Click to expand...
Click to collapse
I'd love to test this for you, but I'm on Sprint LS980 Would you mind making a build for us?
iamterence said:
I'd love to test this for you, but I'm on Sprint LS980 Would you mind making a build for us?
Click to expand...
Click to collapse
Yes sure, but right now, I have to solve the bug, that the d802 wouldnt boot, so this may take some more time until I build it for other devices too.
Regards

Categories

Resources