[ROM/MOD][WIP]CM for locked BL - Sony Xperia T, TL, TX, V

Hello guys
First, big fat disclamier:
THIS IS NOT WORKING. Please don't try this for fun, only if you're willing to put in some time to help me get this fixed.
@djolivier and @letama worked out a way to get CM10 running on Xperia S with locked bootloader, loosely based on the work @atis112 did for Xperia U.
For the past couple of days I've been trying to port it to our beloved T.
It does sort of boot but there is nothing on screen. Logcat is working however and so is adb shell (though no su) so we have some way of debugging.
At the moment there is a working recovery (CWM 6.0.4.6 for locked BL by @davidmarco), enter it by pressing vol+ when the led is blue (it will turn green, then red). Here you will have an su shell and you can get dmesg and /proc/last_kmsg.
Please read the thread by djolivier to get an idea of how it works. In the last couple of pages you will find everything I have tried so far and some insightful answers from letama.
So the main thing now is to hunt down which are the libs/drivers we need.
I will try to get some more info into this thread asap but first I wanted to get it up so those of you who think they can help can get going.
Download
cm10_lb_mint_b12.zip - 188.72 MB
This includes the .489 stock kernel, which is probably the best for compatibility.
XDA:DevDB Information
CyanogenMod for Locked Bootloader, a ROM for the Sony Xperia T
Contributors
TiMiN8R, letama, djolivier
ROM OS Version: 4.1.x Jelly Bean
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: Alpha
Created 2014-01-08
Last Updated 2014-01-08

Reserved

I think someone starting this off is a great idea, when i have some free time i'll try to offer you some help mate.
But need to get up to speed with it all from djolivier's thread before anything else. But i'm happy to offer some help when i can, if that be testing, or general de-bugging.

This is awesome.keep up Timn8r
Sent from my LT30p using XDA Premium 4 mobile app

How about asking letama for help? He was the one getting this to work on Xperia S..
By the way, really appreciate you doing this.. Was already waiting for someone to try this on our devices!
When it boots up I will try to flash the 30p to 25i patch and see if it works!
Sent from my LT25i using xda app-developers app

WhiteNeo said:
How about asking letama for help? He was the one getting this to work on Xperia S..
By the way, really appreciate you doing this.. Was already waiting for someone to try this on our devices!
When it boots up I will try to flash the 30p to 25i patch and see if it works!
Sent from my LT25i using xda app-developers app
Click to expand...
Click to collapse
Letama already helped me a lot over in the other thread, getting it up to this point. But now we need to find some very device specific stuff, that's best left to the people who actually have the device to test and debug. My time is limited this week and I don't have a need for this since mine is unlocked, it's just for the sport, so I figured, let's get some other people in on the action
Sent from my Xperia T using XDA Premium 4 mobile app

now im not too sure of this so i maybe completely wrong so please correct me if i am but im sure i read somewhere that the CM kernel drivers and STOCK kernel drivers differ in some way or another ..... again i repeat im not certain on this but if this is the case then certain things in the rom may need redirecting to the STOCK drivers rather than CM drivers as they done exist? ..... if i am right i wouldn't have a clue where to start to be honest but obviously you cant change the drivers in the kernel because then it wouldn't work on LB ..... perhaps ask rimmer for some help or advice as he ported MIUI to stock?

oddeceed said:
now im not too sure of this so i maybe completely wrong so please correct me if i am but im sure i read somewhere that the CM kernel drivers and STOCK kernel drivers differ in some way or another ..... again i repeat im not certain on this but if this is the case then certain things in the rom may need redirecting to the STOCK drivers rather than CM drivers as they done exist? ..... if i am right i wouldn't have a clue where to start to be honest but obviously you cant change the drivers in the kernel because then it wouldn't work on LB ..... perhaps ask rimmer for some help or advice as he ported MIUI to stock?
Click to expand...
Click to collapse
Yes that's just about right. We cannot change the drivers in the kernel but what we can do, and what I've been trying to do, is trying to match the drivers in the rom with the kernel, i.e. swapping out CM drivers for drivers from the stock .489 firmware. But there are quite a lot, that's why we need more people trying, testing, debugging. We could go another way, namely build new CM from source to match the kernel but that's beyond me I'm afraid.
letama said:
There is no easy way to solve that I'm afraid. You can try to play with dlls (check this for a list), but it has big chances to fail. The proper way to do that is to get fxp repo, patch hal to match stock kernel and recompile cm.
Click to expand...
Click to collapse
If @Rimmer1966 wants to help he is welcome of course.

TiMiN8R said:
... there are quite a lot, that's why we need more people trying, testing, debugging. We could go another way, namely build new CM from source to match the kernel but that's beyond me I'm afraid.
Click to expand...
Click to collapse
i know less than you and stuck on windows 8.1 which makes it even harder for me to do anything to help .... i hope that this can get up and running ..... providing you can get screen and touch working its more than enough proof of concept of what can be achieved and if enough different devices get going this way then maybe just maybe teams like CM will revert back from thier custom kernel (which i dont like) and start using stock kernels in builds (we can all dream right?)

Any updates on this? I can help as a beta tester or help with building on my pc.

masterjet said:
Any updates on this? I can help as a beta tester or help with building on my pc.
Click to expand...
Click to collapse
Not much going on on my end. I've been running on the leaked stock 4.3 for the last few days. I did have a little go on using the kernel from that rom to boot CM10.2 but I've not made much progress, seems that SELinux is throwing a spanner in the works.
If anyone wants to have a go, here's what you can do. Get the stock .489 here.
We should try swapping out .so in /system/lib/hw one at a time. You can do this by booting to CWM, mount /system and adb push, chmod 0644 the file and reboot. Get a logcat, reboot to CWM and get dmesg and last_kmsg
Code:
adb logcat > logcat
adb shell cat /proc/last_kmsg > last_kmsg
adb shell dmesg > dmesg
Lather, rinse, repeat. It is a slow and tedious process, so the more the merrier
TiMiN8R said:
I replaced hwcomposer.msm8960.so, that seems yo have fixed it. Also tried a couple of others that didn't work: gralloc.msm8960.so (can't start), copybit.msm8960.so (brought back the camera probs). Still no screen.
Most prominent spam now is
Code:
smd_pkt_open: DATA5_CNTL open failed -19
I also noticed this in logcat
Code:
I/clearpad_fwloader( 681): hanlde_arg: option = [default]
I/clearpad_fwloader( 681): hanlde_arg: saved.module_id = [0x32]
E/clearpad_fwloader( 681): read_sysfs: Unable to open /sys/devices/virtual/input/mice/name
E/clearpad_fwloader( 681): read_sysfs: Unable to open fwfamily
That is the touchscreen. There is indeed no /sys/devices/virtual/input/mice/name. I'm not sure if it is related to the no video issue but it's a problem nonetheless.
Click to expand...
Click to collapse

Thread is dead? No updates, no progress?

masterjet said:
Thread is dead? No updates, no progress?
Click to expand...
Click to collapse
Seems a bit of a dead end. Our stock kernel just seems to be to different from the stock kernel.
No-one else seems to want to pitch in and try some stuff out.
Might have another go with 4.3 when the official Sony's finally out.

it might be a stupid idea but why dont we swap out every .so file from the miui rom witch works with the stock kernel?

like i mentioned before
Why don't we try to do what they did with the moto defy/bravo and run a 2nd init. http://www.google.com/url?sa=t&sour...9ICIDA&usg=AFQjCNHMzrlHTlHC4EjfkhTkZxavJbEJow

lordyka said:
it might be a stupid idea but why dont we swap out every .so file from the miui rom witch works with the stock kernel?
Click to expand...
Click to collapse
If you had read the other thread, you would have known that I've already tried a lot of .so's from stock firmware but nog all of them work. This is the hard part, finding the ones that work.
jewkhok said:
Why don't we try to do what they did with the moto defy/bravo and run a 2nd init. http://www.google.com/url?sa=t&sour...9ICIDA&usg=AFQjCNHMzrlHTlHC4EjfkhTkZxavJbEJow
Click to expand...
Click to collapse
Well the first part, the hijacking, is exactly what does mod is doing. With regards to the 2nd-init program, I'm not sure that init itself is the problem. The "only" problem we have is finding drivers/libs that are compatible with both CM and stock kernel. But I could be off though. If someone wants to build us a 2nd-init go right ahead

Wow just came back to the T forums to see how things were going and I see this! Hopefully Tim can port it I'm sure he can
Sent from my XT1058 using Tapatalk

I honestly don't think 2nd init would make a big difference, as TiMiN8R has already stated, the problems are the drivers. You can now either ask FXP to use drivers from the Sony 4.3 Stock kernel or do it yourself...
Good luck on this, you'll surely make it.
Gesendet von meinem Xperia S mit Tapatalk

got the source codes?
I'm thinking about doing the same with Z1, wouldn't mind take a look at your work

If you asked me: here are the sources.
Gesendet von meinem Xperia S mit Tapatalk

Related

CM10 for 4X HD

Just a heads up for all you people thinking its gonna take ages
http://www.engadget.com/2012/07/13/cyanogenmod-developers-slap-jelly-bean-on-an-optimus-4x-hd-teas/
not really. He has a developer edition with already open bootloader.
Does not help us !
d1dd1 said:
not really. He has a developer edition with already open bootloader.
Does not help us !
Click to expand...
Click to collapse
Sorry my ignorance but... he needed to flash that phone right?
If that is possible, why we still having people here with bricked devP880's ???
If he can put that phone running on CM10, why we can't even flash a regular .kdz file?
I have no idea
RuedasLocas said:
Sorry my ignorance but... he needed to flash that phone right?
If that is possible, why we still having people here with bricked devP880's ???
If he can put that phone running on CM10, why we can't even flash a regular .kdz file?
Click to expand...
Click to collapse
seems u misunderstand that
I think the meaning is that guy having CM10 has a different phone from our retail version
so we can do nothing now
hmm, maybe we should find some ppl who have skills with LG dev, f.ex. 2X or 3D
updates?
The Troll said:
updates?
Click to expand...
Click to collapse
We need to wait LG, again...
But now not for update, but for the bootloader unlocker.
But if LG choose to lock bootloader, i think that there is a reason..
MrGioba said:
We need to wait LG, again...
But now not for update, but for the bootloader unlocker.
But if LG choose to lock bootloader, i think that there is a reason..
Click to expand...
Click to collapse
why wait?
i got JB on my o4x, although all is not perfect, it does work.
Dexter_nlb said:
why wait?
i got JB on my o4x, although all is not perfect, it does work.
Click to expand...
Click to collapse
How? Do you have a dev phone ?
Regards
vlamers said:
How? Do you have a dev phone ?
Regards
Click to expand...
Click to collapse
no, i just used my cwm recovery and hijack. i believe i even showed that htc one x rom runs on our o4x.
Dexter_nlb said:
no, i just used my cwm recovery and hijack. i believe i even showed that htc one x rom runs on our o4x.
Click to expand...
Click to collapse
can you atleast tweak the stock 4x rom?
not libraries but atleast porn some other apps?
especially LS and contacts?
Dexter, how far is your progress on the jb Rom? Can you release it here (as alpha/beta), so we can test it?
Gesendet von meinem LG-P880 mit Tapatalk 2
muellersmattes said:
Dexter, how far is your progress on the jb Rom? Can you release it here (as alpha/beta), so we can test it?
Gesendet von meinem LG-P880 mit Tapatalk 2
Click to expand...
Click to collapse
i would rather not. having too many posts saying not working or similar, is not fun, ive been around too long to find that interesting or positive.
and personally i find it less worth testing in public, since its basically stock jb and hardly nothing works.
Dexter, hello.
Maybe you already saw this but, if it helps here it goes.
It?s the android_device_lge_x3 , CM10 device tree for LG-P880 :
https://github.com/TeamNDVRu/android_device_lge_x3
Maybe its worthless or maybe you can do something with it, hope so...
Best regards
RuedasLocas said:
Dexter, hello.
Maybe you already saw this but, if it helps here it goes.
It?s the android_device_lge_x3 , CM10 device tree for LG-P880 :
https://github.com/TeamNDVRu/android_device_lge_x3
Maybe its worthless or maybe you can do something with it, hope so...
Best regards
Click to expand...
Click to collapse
that could help i will maybe try one last time, to get my build environment to work, which would help alot, but somewhere my ubuntu seems to keep bugging me.
ok, just noted it was m-deejay's upload, that will do nothing good. i need the one that was build for the developer device.
So it is possible to flash a custom rom with CWM without touching/unlocking the bootloader ?
d1dd1 said:
So it is possible to flash a custom rom with CWM without touching/unlocking the bootloader ?
Click to expand...
Click to collapse
many define a custom rom by the option to compile a kernel from source.
we cannot include a modified kernel, without semi-bricking our devices.
but we can change startup and we can init kernel parameters a second time, to allow loading of different services and libraries, which for some is enough to load a customized kernel for graphics mod, removing adware, loading modules and porting cm10,aokp and other roms, like sense or similar miui roms.
i personally believe a port of highly modified rom, is custom. other believe its not a real rom
anyways with the clockworkmod i made its possible, as long as you do the same hijack when needed to change kernel init services or libraries to load.
Dexter_nlb said:
many define a custom rom by the option to compile a kernel from source.
we cannot include a modified kernel, without semi-bricking our devices.
but we can change startup and we can init kernel parameters a second time, to allow loading of different services and libraries, which for some is enough to load a customized kernel for graphics mod, removing adware, loading modules and porting cm10,aokp and other roms, like sense or similar miui roms.
i personally believe a port of highly modified rom, is custom. other believe its not a real rom
anyways with the clockworkmod i made its possible, as long as you do the same hijack when needed to change kernel init services or libraries to load.
Click to expand...
Click to collapse
good enough..
whats stopping us?
The Troll said:
good enough..
whats stopping us?
Click to expand...
Click to collapse
lack of support from more developers i guess, seems other hardware devices are more popular, and propably much easier to get donations on that on a device with locked bootloaders where development stops at the locked device. today, donations is very popular and driving many towards popular devices.

[DEV][WIP] Porting & Booting Custom Rom via 2nd-Init

Code:
Disclaimer
**This isn't a ROM/anything you can download and install
**This Development Thread for Developer to have their idea's and sharing to get thing working
**I don't own a LG OPTIMUS 4X HD nor do i going to have $$ spent on it (I am not rich)
**I have bad experience with LG phone on the past
**I don't guaranteeing things working for you as i work on this on my free time & what's ETA?=SH1T
**How about a team? It's good if their's people lending a hand but i'm not into a team
As all O4XHD user should have encountering problem encountering Locked Bootloader which halt all the development here.
LG are ignoring user request for unlocking the bootloader for user therefore a effort have carried out to unlocked BL
I looked on a Tegra 3 Beast that doesn't even have any Custom Rom at all (I am shocked) therefore i might tried carry out some
development but as i would said it's slow and don't expect much because i don't own any device to test nor i'm a good developer
With BL Locked we need to do some workaround for the device.
Now starting to collecting data and required info for working on the device.
I need to focus my ongoing project for other device therefore don't expect thing will be done fast as i developing this for a phone i don't own.
What Can You Do?
[*]Post Link Regarding Info Might Be Useful
[*]Share some developer/workaround info
[*]Need some tester (Checkout the requirement)
[*]No ETA's & Trolling (Development Area)
[*]Can help by donating me (maybe getting device for me if thing work)
More to add.
Reserved #2
+1 happy to test have been using custom ROMs for years now. I have been looking to use HTC one x cm9 ROM as a port but I don't really have enough knowledge and have got as far as modifying build prop and kernel but not sure if it will get any where because of boot loader. Good luck sounds like you have more experience than me.
Sent from my LG-P880 using xda premium
i know i can do nothing but a little support and a thank for you
I saw from another thread, that you already found the leaked bootloader.Because I'm entirely inexperienced with the Android ecosystem (and Linux in general), I can't offer much of help, but I'm willing to be a beta-tester if you cook up something!
There was some work to get CM9 running on the device using 2nd-Init. Im going to look into 2nd-init a bit more, and try booting a htc one x CM9 on this which might only just work.
I suppose you already found these?
http://forum.xda-developers.com/showthread.php?t=1980092
http://forum.xda-developers.com/showthread.php?t=1960422
http://forum.xda-developers.com/showthread.php?t=1741892
http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGP880
XperiaPlayer said:
There was some work to get CM9 running on the device using 2nd-Init. Im going to look into 2nd-init a bit more, and try booting a htc one x CM9 on this which might only just work.
Click to expand...
Click to collapse
Same goes here.
I am trying 2nd-init and as i don't have this device i can't progress.
Still looking in holes that can get us something.
CWM isn't complete as it doesn't really complete flashable(maybe)
but thanks for other for the link.
Any 2nd-init related thread are required to study more better on 2nd-init function.
Zackconsole said:
Same goes here.
I am trying 2nd-init and as i don't have this device i can't progress.
Still looking in holes that can get us something.
CWM isn't complete as it doesn't really complete flashable(maybe)
but thanks for other for the link.
Any 2nd-init related thread are required to study more better on 2nd-init function.
Click to expand...
Click to collapse
Looks like you're abit too late bud. We had a fund raiser to give the money to a dev to work on the phone. Its already been claimed by kholk and I "think" that he's doing what he can. Its just your luck you didn't contact us first. If I'm not wrong, about 500-600 euros was given to kholk
Sent from my (V10H, Rooted, CWM-Installed, 4.2 Camera apk, CM10 bootscreen) LG Optimus 4X HD P880
Xenogenics said:
Looks like you're abit too late bud. We had a fund raiser to give the money to a dev to work on the phone. Its already been claimed by kholk and I "think" that he's doing what he can. Its just your luck you didn't contact us first. If I'm not wrong, about 500-600 euros was given to kholk
Sent from my (V10H, Rooted, CWM-Installed, 4.2 Camera apk, CM10 bootscreen) LG Optimus 4X HD P880
Click to expand...
Click to collapse
Yeah, but kholk is working on unlocking the bootloader. He might not succeed, so it's great if more devs are interested and have a look at 2nd-init (which works quite well on older Motorola devices, such as Milestone and Defy).
Xenogenics said:
Looks like you're abit too late bud. We had a fund raiser to give the money to a dev to work on the phone. Its already been claimed by kholk and I "think" that he's doing what he can. Its just your luck you didn't contact us first. If I'm not wrong, about 500-600 euros was given to kholk
Sent from my (V10H, Rooted, CWM-Installed, 4.2 Camera apk, CM10 bootscreen) LG Optimus 4X HD P880
Click to expand...
Click to collapse
Well,i don't take any cash here and i don't get any here.
I don't get to claim any money to buy O4X HD.It's great if people can help donating/plegde one for me but then if i can do it first.
Still identifying my own capability before moving next step
muellersmattes said:
Yeah, but kholk is working on unlocking the bootloader. He might not succeed, so it's great if more devs are interested and have a look at 2nd-init (which works quite well on older Motorola devices, such as Milestone and Defy).
Click to expand...
Click to collapse
I will look on it but then it doesn't mean a smooth progress.
Just helping here.
some hints to get resolved.
bootup "wallpaper" binary is started by lg.early.rc which checks for DRM binaries are where they should be in /system/lib and /vendor/lib folder, which normally would exclude any option for refreshing those at bootup.
bootup init files replace and removed if you use 2nd-init and it will reload the same binaries and you might get locked up, if its not cleaned.
modem binaries: they require some authentication it seems to get enabled, i did not find out what triggers it but using logcat -b radio did not help much on my OneX build.
wifi: LG have already compiled the kernel with the wifi driver built-in, which Means the libhardware_legacy, needs to skip the stage to insmod the wifi driver, it can be tricky or you need a workaround reloading the BTHID kernel module, to get around it.
for the wallpaper binary, you can always run it from Shell checking if you touched or removed liblgdrm or libdrmframework files, as it will Lock bootup, but thats only if you got the device in your hands, otherwise testers need to prepare to use the original kdz files and reflash Again, spending alot of time on nothing
using Mount -obind to get around replacing the files needed is the trick to replace lib supposed to be in /system/lib at bootup, using "ln -s" to point to a different bind'd folder when you actually can do it (from like a vold wrapper or so)
thats all hints i can come up with for now.
talked to some guys whom done 2nd Init.
They said aren't impossible but i am not sure they can help on this project.
I can't do much,don't have O4X for testing as well.
this the part of updates here
i do not believe anyone can do much without the o4x remote, especially when playing with 2nd-init and bypassing security and trying to improve.
it will probably die before it starts getting to boot
initially i seemed to be the only one getting a custom modded port working on o4x and i needed the device to get that far and as you said previously you will not ask for another contributed device, so it might just stop with our premodded recoveries by 2nd-init and maybe be leaked cm10 i did in another thread. (although not worth much)
Zackconsole said:
talked to some guys whom done 2nd Init.
They said aren't impossible but i am not sure they can help on this project.
I can't do much,don't have O4X for testing as well.
this the part of updates here
Click to expand...
Click to collapse
Create a rom with a second init is the best option?A new rom ICS installed via cmw with the same kernel...
create a vanilla version (,a clean version,stile Nexus),for example a v10H, deodexed, without Lg programs and useless programs. I Believe the users like it a clean version, fast ,and powerful.
Would be interested in a stripped and tweaked version of stock, vanilla style ics. If it's do able?
Sent from my LG-P880 using xda premium
WillySonicteam said:
Create a rom with a second init is the best option?A new rom ICS installed via cmw with the same kernel...
create a vanilla version (,a clean version,stile Nexus),for example a v10H, deodexed, without Lg programs and useless programs. I Believe the users like it a clean version, fast ,and powerful.
Click to expand...
Click to collapse
cartermg120 said:
Would be interested in a stripped and tweaked version of stock, vanilla style ics. If it's do able?
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
Guess you haven't read the OP. I doubt this is a "make a wish" thread...
Sent from my HTC One X using xda premium
Might as well make a wish, not a lot else happening for this phone atm.
Sent from my LG-P880 using xda premium
muellersmattes said:
Yeah, but kholk is working on unlocking the bootloader. He might not succeed, so it's great if more devs are interested and have a look at 2nd-init (which works quite well on older Motorola devices, such as Milestone and Defy).
Click to expand...
Click to collapse
Some other guys already tried 2nd init boot. But they encountered a problem. Can't remember what it was though.
Sent from my (V10H, Rooted, CWM-Installed, 4.2 Camera apk, CM10 bootscreen) LG Optimus 4X HD P880
If people want stripped off based rom like what they did over HTC OneX and other forum does,I can do it but if anyone interested i will post link of those
To Test it but after i done on CM10.1 Alpha 3 for Xperia Arc/S

C6903 - CyanogenMod 11 for Locked Bootloaders - Help needed!

Hello guys, I'm acquiring some info about how to build the CM11 to Honami with locked bootloader.
 @Olivier already did it to Xperia S and @letama said to me that MAYBE we can do the same to Z1.
I'm not a dev at all, but for sure I have some skill (I hope!).
So, I have to ask first, did anyone already tried it? Worked? Didn't work?
If anyone is willing to help, please, let me know.
---
Current status:
Repo sync
Impossible workout kexec, and that does not look promising. Is in the original development section.
Sent from my C6903 using XDA Premium 4 mobile app
gregbradley said:
Impossible workout kexec, and that does not look promising. Is in the original development section.
Sent from my C6903 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I will have a look into it, thanks to point it out!
gregbradley said:
Impossible workout kexec, and that does not look promising. Is in the original development section.
Click to expand...
Click to collapse
Well, this solution doesn't use kexec. It basically hijack stock firmware android boot to boot the alternate firmware but it's using stock kernel, that's why it can work with locked bootloaders. The only requirement is that cm or aosp should run on stock kernel and doesn't require a modified kernel. As you have kitkat on your device, there is a good chance that it does.
But it doesn't, that's why it does not work and a modified ramdisk (Hence modified kernel, hence unlocked bootloader) is needed
Hence kexec is needed, but that seems like a lost hope on Xperia Z devices
Nothink is imposible i hope
No, nothing is impossible, but there has to be enough effort spent on it.
Personally I don't think there will be as most devs got bootloaders which can be unlocked...hence they do not need kexec
In future its always preferable to check this before purchase
mabe don't need to unlock bootloader but workaround this - mabe multiboot or kexec will be more developed because more phone will released with LB and this is their new policy :/
gregbradley said:
No, nothing is impossible, but there has to be enough effort spent on it.
Personally I don't think there will be as most devs got bootloaders which can be unlocked...hence they do not need kexec
In future its always preferable to check this before purchase
Click to expand...
Click to collapse
gregbradley said:
But it doesn't, that's why it does not work and a modified ramdisk (Hence modified kernel, hence unlocked bootloader) is needed
Click to expand...
Click to collapse
Ramdisk is not a problem... When I say kernel, I mean zImage, not zImage+ramdisk: we extract cyanogen ramdisk in the boot hijack.
Kernel drivers combined to Android hal is what I meant and could cause problem depending on how Cyanogen was developed and how Cyanogen kernel source code is far from stock one. That's why we're usually stuck on Cyanogen with the same Android version.
Another solution is to hack Cyanogen code to support stock zImage. It's not for the faint of the heart, but it could be the only solution.
Greg's absolutely right, if your bootloader unlock allowed status is no or you're unwilling to unlock it then i'm afraid you're out of luck, i'm not saying it's impossible that just isn't true, but again as Greg's said this more than likely isn't going to happen as it would take some talented folk a lot of time to accomplish it, with the Z2 having been released and the vast majority of people able to unlock their bootloaders there is little call for someone to have a crack at it.
in all fairness though, the rom's that are available for locked bootloaders are pretty damn good and the launchers that you can install these days gives a near perfect android experience, you'll only be missing things like Halo and custom kernels along with a few mods and such that only appear to be available for cm based roms and the like.

Device 4.4.4

Hello, if any developer can build drivers for solana 4.4.x, I can build any rom what u want, I think that the DROID RAZR XT910/912 have similar hardware, and camera and wifi and some others things, but I don't know how to build kernels, so if anyone knows how to, or anyone build a kernel(and necessary files for Android 4.4.4) please tell me and inmediatly I'll build a lot of roms for our device.
Sorry for my English.
Regards, Tony
PD: And if anyone knows where are the repos of Liquid 4.4 i'll be very pleased
help is here...
tonyt. said:
Hello, if any developer can build drivers for solana 4.4.x, I can build any rom what u want, I think that the DROID RAZR XT910/912 have similar hardware, and camera and wifi and some others things, but I don't know how to build kernels, so if anyone knows how to, or anyone build a kernel(and necessary files for Android 4.4.4) please tell me and inmediatly I'll build a lot of roms for our device.
Sorry for my English.
Regards, Tony
PD: And if anyone knows where are the repos of Liquid 4.4 i'll be very pleased
Click to expand...
Click to collapse
dont know if i can build a kernel but i can offer u my assistance in probably building a rom. there is already a kitkat rom for the D3 but the wifi & storage doesnt work, can u fix that? i'll give u the link to my rom site where lyes all the D3 roms look for the ls kk rom and maybe u could take that and maybe build a new one from it, the rest are jellybean roms maybe u can use that idk. https://www.mediafire.com/folder/b0gq735hrqxx6/Droid_3_ROMS
I'll build a rom for Solana(droid3) but I don't have the phone anymore, so if anyone wants to be a tester I'll upload it. Please note that I don't have the phone anymore so if this brick your phone I'm not responsable, in order to not to brick, please use slot-1 or slot-2, but not stock(in this way you can evade a brick).
anyway, those who wants to try this please tell me and when the rom finish building I put the link.
and another thing is:
I don't know a lot of English especial words, so I can't understand this:
http://forum.xda-developers.com/showthread.php?t=1943625
because we need a new recovery, we have a older release, to build the SAFESTRAP you can use this:
https://github.com/stargo/android_bootable_recovery
https://github.com/stargo/android_packages_apps_Safestrap
this is the lastest but I don't know how to build it.
If you want to use Lollipop anyone have to compile this SafeStrap.
tonyt. said:
I'll build a rom for Solana(droid3) but I don't have the phone anymore, so if anyone wants to be a tester I'll upload it. Please note that I don't have the phone anymore so if this brick your phone I'm not responsable, in order to not to brick, please use slot-1 or slot-2, but not stock(in this way you can evade a brick).
anyway, those who wants to try this please tell me and when the rom finish building I put the link.
and another thing is:
I don't know a lot of English especial words, so I can't understand this:
http://forum.xda-developers.com/showthread.php?t=1943625
because we need a new recovery, we have a older release, to build the SAFESTRAP you can use this:
https://github.com/stargo/android_bootable_recovery
https://github.com/stargo/android_packages_apps_Safestrap
this is the lastest but I don't know how to build it.
If you want to use Lollipop anyone have to compile this SafeStrap.
Click to expand...
Click to collapse
i can test it
dreikk91 said:
i can test it
Click to expand...
Click to collapse
The link is this: https://mega.co.nz/#F!vc0nyYZB!xXaGdS0Xyvy4zZq7U4FdJA
but the file will be online in about 2 hours, If the zip didn' flash correctly please use the "meta-inf" folder that uses LS KK(for solana obviusly)
LS KK(to extract the meta-inf):
I think that camera wont work, but I only want to see if kernel works
dreikk91 said:
i can test it
Click to expand...
Click to collapse
I can test it too. But since I know nothing about android applications compilation, all I can do is just flash a zip prepared by someone else, and report it behaves.
By the way, thank you. I thought Droid 3 development died. If only somebody was able to provide working camera modules...
rabinhood said:
I can test it too. But since I know nothing about android applications compilation, all I can do is just flash a zip prepared by someone else, and report it behaves.
By the way, thank you. I thought Droid 3 development died. If only somebody was able to provide working camera modules...
Click to expand...
Click to collapse
I only know three developers that can do it, Hashcode and Dhacker and @dtrail1 but Dtrail is not developing now
hi,i test AOSB, the kernel does not boot, after the SS logo nothing happens. To install had to take a meta-inf from LS KK
After some changes I can to run your build. Everything works fine, except that the home button is not properly assigned
HD codecs do not work
seems to be a problem in the modules arm_kexec.ko kexec.ko and uart.ko
the kernel just does not work
By google translate:cyclops:
Droid3 is a god qwerty device too bad no Roms here...
Sent from my HTC6435LVW using XDA Premium 4 mobile app
Androide3 said:
Droid3 is a god qwerty device too bad no Roms here...
Click to expand...
Click to collapse
I am also disappointed a bit. I came from Milestone 2, which is older, but still under development, even though it rests in 'legacy devices' forum. But existing ROMs for Droid 3 are fast and stable - i.e. Minimoto which I'm using now. No KitKat? Yeah, but who cares for KitKat?
I would love to see a 4.4.4 rom for the droid 3 or a 5.0 rom. I will gladly test.
cm11
Hi, compiled from source cm11
As usual is not working the camera and HD codecs
Because of old safestrap had to change the updater-script, so do not be surprised inscriptions liquid-smooth at steady
By the way would do well if someone compiled new safestrap
https://yadi.sk/d/J1fCNC3MdkrdZ
By Google translate XD
dreikk91 said:
Hi, compiled from source cm11
As usual is not working the camera and HD codecs
Because of old safestrap had to change the updater-script, so do not be surprised inscriptions liquid-smooth at steady
By the way would do well if someone compiled new safestrap
https://yadi.sk/d/J1fCNC3MdkrdZ
By Google translate XD
Click to expand...
Click to collapse
Exellent can yo send me the device, and kernel files? The problem is that safestrap is using kexec kernel, so we can't compile like otee omap4 devices, anyone have to talk to @stargo to build a new safestrap
Enviado desde mi iPhone utilizando Tapatalk
tonyt. said:
Exellent can yo send me the device, and kernel files? The problem is that safestrap is using kexec kernel, so we can't compile like otee omap4 devices, anyone have to talk to @stargo to build a new safestrap
Enviado desde mi iPhone utilizando Tapatalk
Click to expand...
Click to collapse
Device files is here https://github.com/dreikk91/android_device_motorola_solana
Kernel here https://github.com/STS-Dev-Team/android_device_motorola_omap4-common
You can also use my defconfig https://yadi.sk/d/ZVKjeaMJdksTr
dreikk91 said:
Device files is here https://github.com/dreikk91/android_device_motorola_solana
Kernel here https://github.com/STS-Dev-Team/android_device_motorola_omap4-common
You can also use my defconfig https://yadi.sk/d/ZVKjeaMJdksTr
Click to expand...
Click to collapse
Okay, thanks a lot!!, let me see what can I do, this repos may work for CM12, but first we need the new SS, to build it see this:
https://github.com/stargo/android_bootable_recovery
https://github.com/stargo/android_packages_apps_Safestrap
Would be nice to have cm12 on Droid 3
corby2geek said:
Would be nice to have cm12 on Droid 3
Click to expand...
Click to collapse
yes, it would be nice, but without the new safestrap will not work
Alternatively, you can compile the CM12 for droid 3 and install it on another device with a new safestrap and then upload system.img here
Anything new on a new ss and cm12?? I would love to see lollipop for the droid3. I currently run liquid smooth kk, not too bad.
dreikk91 said:
Hi, compiled from source cm11
As usual is not working the camera and HD codecs
Because of old safestrap had to change the updater-script, so do not be surprised inscriptions liquid-smooth at steady
By the way would do well if someone compiled new safestrap
https://yadi.sk/d/J1fCNC3MdkrdZ
By Google translate XD
Click to expand...
Click to collapse
I like this better than liquidsmooth btw what gapps to use??
Josephdbrewer25 said:
I like this better than liquidsmooth btw what gapps to use??
Click to expand...
Click to collapse
try this http://forum.xda-developers.com/showthread.php?t=2240652
I wonder why on kernel 3.0.8 do not work HD codecs. Tried to run on kernel 3.0.31 cm11 system does not work very well, but the codecs are working properly. I can not understand how you need to do to earn codecs

Lollipop for the Optimus 2x

Welcome to the official thread for the Lollipop roms for our Optimus 2x
As to start, this thread is exclusively for the developers who are interessted/working on on the Lollipop ports for our Optimus 2x
We had alredy some build like the OmniRom , CM12 and even ParanoidAndroid.
This thread is exclusively for discussions for the developers and for the testers to test the new made roms so I will update the links as the roms get made. So I am only posting here the links of the latest version, to get the versions from the past you wil need to browse throught this thread
Update 05/6/2016
Gucky did it again! New build for CyanogenMod 12.1 is up, and now with fixed camera! When I get the full list of working features and bugs, I will upload it here. Thank you Gucky for your massive help and contribution to this community. This device is very old after all, and you still find the time to tinker on it. No words really. Respect!
CM12.1 : https://sourceforge.net/projects/lg...cm-12.1-20160531-UNOFFICIAL-p990.zip/download
WARNING the Rom is still not stable, but we are close!
ParanoidAndroid: https://s.basketbuild.com/devs/Puri/p990/AOSPA(lollipop)
Take in mind that all these roms are unstable besides the CM12 rom,but it still has some major bugs which we as a group will fix.
As in all of this, stay tuned for updates
Good job my friend
Thank you very much. I'm downloading right now. It would be useful, if you could upload your (Lokal) Manifest, too. So we are able to re- build the rom with the necessary changes.
Looking forward!
Credits goes to you!
um
gucky01 said:
Thank you very much. I'm downloading right now. It would be useful, if you could upload your (Lokal) Manifest, too. So we are able to re- build the rom with the necessary changes.
Looking forward!
Credits goes to you!
Click to expand...
Click to collapse
um.......*noob mode activated.....BOOP * what you mean with manifest? lol
Could you please share your sources.
TheMysteryouse said:
Hello everyone.As you might know me from some threads where i comment some stuff.Anyways, since Lollipop was announced i was obssesed with it and my wish was that i would be the first one to make the version availble for our device.
Well i kinda did it....KINDA of course but we need some help if we wanna make it work.I call ALL of the developers for our device to work together to make it work.We are so close to get it fully booting.I made it boot to the animation and now where the help comes in use.We need some developers who can enable ADB on our device in the bootanimation.TO be honest i dont really know anything about sources and that stuff but i know some things.With the help of @tonyp and @timduru which I am the most thankfull of that gave me hope to make this.So here we go!
WARNING!!!
ONLY FOR DEVELOPERS
No one should download and flash this rom because you will get stuck in the bootanimation and will need to install previouse rom again and install everything over...blah blah blah.
Also the link to the rom is here ----> https://www.dropbox.com/s/fwhg08ux7qhtgsh/5.0 test.zip?dl=0
So if someone gets it working, please pm me in the progress. Cheers
Click to expand...
Click to collapse
TheMysteryouse said:
um.......*noob mode activated.....BOOP * what you mean with manifest? lol
Click to expand...
Click to collapse
a little help.
http://wiki.cyanogenmod.org/w/Doc:_Using_manifests
Oh
Hugo-PT said:
a little help.
http://wiki.cyanogenmod.org/w/Doc:_Using_manifests
Click to expand...
Click to collapse
Well to be honest, i dont really know how to share the menifest because i didn't use much the source. I was porting the Cm11 tonyp's rom and the rom from timduru, so i dont really know how to share the manifest lol
TheMysteryouse said:
Well to be honest, i dont really know how to share the menifest because i didn't use much the source. I was porting the Cm11 tonyp's rom and the rom from timduru, so i dont really know how to share the manifest lol
Click to expand...
Click to collapse
Did you change some files in the zips or did you build a new rom in the way Raum described, my friend?
http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305
nope
gucky01 said:
Did you change some files in the zips or did you build a new rom in the way Raum described, my friend?
http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305
Click to expand...
Click to collapse
nope, didn't touch anything other than the updater script i think and the build prop because i wanted fully stock experience
I can be your tester my phone got a battery problem so im having fun with flashing roms
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
DJNoXD said:
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
Click to expand...
Click to collapse
Well, it might be that he used KatKiss from timduru for the TF101 which has a Tegra 2, but still our phone uses the Tegra 2 AP20H, while the TF101 uses Tegra 2 T20. Small difference in the chipset, but still a difference. Easiest would be to port from the Galaxy R or Captivate Glide, but they too struggle with Lollipop over in their forum. Anyway, TheMysteryouse used timduru's AOSP rom, so maybe it would be easier building the whole thing from the demo CM12 sources available.
nonono
DJNoXD said:
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
Click to expand...
Click to collapse
Nope, this rom has NOTHING to do with the tegra 3 rom.I used the rom for TF101 tablet which is tegra 2 but had a cmall chipset difference.So yeah I am still trying to do some things like searching the framework sources from tony to see if he has a code in the build.prop which directly enables ADB from the boot, but cant really find it.Anyways try your best and so the others.Cheers
Hi guys, after some testings I could get booting to finish. There are some errors left. But I will work further this evening and upload the rom afterwards. Think this will remain a test build for some time, till Tony or DJ can fix the errors.
Stay tuned!
Any video or screenshot? xD
Sorry for nob request, but working well or not, its great to our comunity
p.s. if need tester in future, you, TheMysteryouse or DJNoXD.
Im ready for
...WoW!...That´s Good News...Thank You for All of You, Guy´s...
gucky01 said:
Hi guys, after some testings I could get booting to finish. There are some errors left. But I will work further this evening and upload the rom afterwards. Think this will remain a test build for some time, till Tony or DJ can fix the errors.
Stay tuned!
Click to expand...
Click to collapse
Awesome news buddy! Lollipop on first power dual core android device! Switch to 1+ One as a primary phone for some reason but I will continue to follow and supporto you!
That is great!!! ))))))))
Ok. I have to go one step back. The rom is not ready for the testers and I'm too tired to test more. For those, who want to repeat my steps or want to finish...
I replaced the files in Mystery's rom with my own Kitkat ones. The first half, than the second. Now I could get it to finish the booting process. This steps I went on and on. So I could reduce the problem to the framework-files in "system". If you replace all of them, it boots up with some error messages.
I think we have to reduce the 40 files inside more and more to find the reason for the bootloop.
All the best to you,my friends!
Damm this is great a device from 2010 receives android L. 4years later. If I can borrow the old optimus 2x from my father then I could also look into the problems if it's not booting yet then. Till then continue your work.

Categories

Resources