C6903 - CyanogenMod 11 for Locked Bootloaders - Help needed! - Xperia Z1 Q&A, Help & Troubleshooting

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.

Related

Cyanogen Mod?

I did a search here and didn't see any info on this...
Now that ROMs are being rolled out, will we be seeing a Cyanogen Mod? I ran it on my G1, Mytouch Slide, G2, and need some Cyanogen loving for my D3...
Is he waiting for the unlocked bootloader?
Code3VW said:
I did a search here and didn't see any info on this...
Now that ROMs are being rolled out, will we be seeing a Cyanogen Mod? I ran it on my G1, Mytouch Slide, G2, and need some Cyanogen loving for my D3...
Is he waiting for the unlocked bootloader?
Click to expand...
Click to collapse
Apparently they're working on it
http://www.youtube.com/watch?v=FrzPSLIJyiQ&feature=player_embedded
Be patient. CyanogenMod is a source built ROM, it's compiled from source and the source code is a mix of AOSP from Google/Android and the CyanogenMod Team's own programming. Hashcode has been working very hard on getting the source ported so that it will compile and run on the Droid 3. He's also working on making it work in a "sandbox" area so as not to affect the stock ROM (easy to switch back and forth between the two).
All the current ROMs for the Droid 3 are modified stock ROMs. Some theme changes, app deletions/additions, a few build.prop edits, etc...
tcrews said:
Be patient. CyanogenMod is a source built ROM, it's compiled from source and the source code is a mix of AOSP from Google/Android and the CyanogenMod Team's own programming. Hashcode has been working very hard on getting the source ported so that it will compile and run on the Droid 3. He's also working on making it work in a "sandbox" area so as not to affect the stock ROM (easy to switch back and forth between the two).
All the current ROMs for the Droid 3 are modified stock ROMs. Some theme changes, app deletions/additions, a few build.prop edits, etc...
Click to expand...
Click to collapse
I am not that well versed on CyanoGen... I started off with a D2, and the flexribbon broke before I was able to see the dawn of custom kernels. Is cyanogen truly a custom kernel? If so, I assume we're trying to hijack the boot process to load dual kernels?
librarat said:
I am not that well versed on CyanoGen... I started off with a D2, and the flexribbon broke before I was able to see the dawn of custom kernels. Is cyanogen truly a custom kernel? If so, I assume we're trying to hijack the boot process to load dual kernels?
Click to expand...
Click to collapse
CyanogenMod on locked bootloaders hijacks the init process and runs on top of the stock kernel. No kernel replacement on locked bootloader phones.
Yyup, that's what I thought.
Also, according to Hashcode0f, well be seeing a CM7 beta in the very, very near future. He's going to be writing a dossier up on it shortly.
Source: his twitter feed.
Sent from my DROID3 using XDA App
Downloading!
Even though it has a bootloader, that doesn't mean the development cannot take place. Why not develop now so when the bootloader gets unlocked, you will already have a pretty descent ROM to flash on!
http://hash-of-codes.blogspot.com/
CM7 Alpha release here... read carefully, radio still doesn't work.
Androidsims said:
http://hash-of-codes.blogspot.com/
CM7 Alpha release here... read carefully, radio still doesn't work.
Click to expand...
Click to collapse
Technically the radio works (3G data), but the phone app crashes due to an audio codec issue I'm looking at.
But be careful anyway.
Hashcode said:
Technically the radio works (3G data), but the phone app crashes due to an audio codec issue I'm looking at.
But be careful anyway.
Click to expand...
Click to collapse
****, that's functional in my book. Who calls people nowadays?
Sent from my DROID3 using xda premium
mothman57 said:
Even though it has a bootloader, that doesn't mean the development cannot take place. Why not develop now so when the bootloader gets unlocked, you will already have a pretty descent ROM to flash on!
Click to expand...
Click to collapse
Honestly, I don't believe the bootloader will ever be unlocked. It will have to be unlocked by Motorola and I just do not believe that they ever will.
So developing ROMs (from source) will require using the 2nd-init process CM7 is using to boot the "new" OS on top of the stock kernel. Kernel will remain stock.......
Did you forget who bought motorola? Google! And google supports devs. Like all the unlocked nexus phones! It will be released sooner or later! Have hopes!
Sent from my DROID3 using XDA App
mothman57 said:
Did you forget who bought motorola? Google! And google supports devs. Like all the unlocked nexus phones! It will be released sooner or later! Have hopes!
Sent from my DROID3 using XDA App
Click to expand...
Click to collapse
If the acquisition passes through (which likely won't be soon).. word is Google bought them more for patents than for anything else. If we're lucky, Google might make sure future phones are unlocked. However I highly doubt Google will do anything about phones already released.
Plus Moto said they would release an update to unlock the bootloaders where carrier approved. The other variations of the droid 3 may get unlocked, but I doubt big red will give their approval for unlocking the droid 3.

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

AOSP for locked bootloader

Hello There!
So i just got my new xperia Z from my company and it is for two years and i had to pay for it anyway.
I have choosen this one cause i knew its a good phone and have loads of devs, and i didnt check if there is any aosp for locked bootloader i was sure, and i thought i can unlock mine anyway.
I was about to unlock my bootloader and i saw i cant do it i googled for 3-4 hours , and there is no way to unlock it even if you pay for it or something.(T-mobile hungary )
At the moment there is no AOSP rom for locked bootloader.
Here is my question : Sony updates this phone really fast, almost as AOSP or 1-2 months i see some good devs making sony custom roms for our device, Can any of you make AOSP only pure cyanogenmod thaths all i need. I'm Sick of the bloatware that sony has in their roms.
I just boot up my phone and half the memory gone.
Are the sony built kernels and custom roms kernels so different? Is it ompossible to make an AOSP rom ?
I would love to see one , i will definately use it and test it for bugs.
I know **** about android development (or any other) but i will get into because i dont want to use ****ty sony roms for 2 years
Cheers!
Viktor
There is no way to get AOSP on a locked device. Is not only that the kernels are different, but the thing is locked bootloaders only run signed Sony kernel.
If memory is your main concern, flash a debloated, stripped down version of Sony's roms.
DrKrFfXx said:
There is no way to get AOSP on a locked device. Is not only that the kernels are different, but the thing is locked bootloaders only run signed Sony kernel.
If memory is your main concern, flash a debloated, stripped down version of Sony's roms.
Click to expand...
Click to collapse
yea but we should build an aosp rom for the sony kernel or is it that hard?
in theory its very possible but what will you really gain?
You will have to use pretty much all original binary blobs, and will end up with some framework changes.
is there anything specific in an aosp build that you want?
the Z has one of the most closest none GPE roms around as it is..
as others have said why not just debloat or install a debloated rom?
fards said:
in theory its very possible but what will you really gain?
Click to expand...
Click to collapse
I've mentioned this before but it never went anywhere, if Sony's AOSP kernel is signed then what stops it being put in an ftf to be flashed, and if that was possible would that not open the way to getting locked down bootloaders unlocked?
XperienceD said:
I've mentioned this before but it never went anywhere, if Sony's AOSP kernel is signed then what stops it being put in an ftf to be flashed, and if that was possible would that not open the way to getting locked down bootloaders unlocked?
Click to expand...
Click to collapse
It looks to me that Sony haven't provided anything for the AOSP kernel but the sources via their AOSP website (I could be wrong, but I don't see any kernel images on their github, only sources).
In that case, anyone wanting to use it has to build it themselves, therefore it will have to be signed by whoever builds it.
So, if everything I said is correct, then it's no use for getting this running on locked bootloaders.
Sent from my C6603 using Tapatalk 4
kingvortex said:
It looks to me that Sony haven't provided anything for the AOSP kernel but the sources via their AOSP website (I could be wrong, but I don't see any kernel images on their github, only sources).
In that case, anyone wanting to use it has to build it themselves, therefore it will have to be signed by whoever builds it.
So, if everything I said is correct, then it's no use for getting this running on locked bootloaders.
Sent from my C6603 using Tapatalk 4
Click to expand...
Click to collapse
Agreed. Now if we could figure out the Sony keys, or someone leaks them, it is a different story.
nikc0069 said:
Agreed. Now if we could figure out the Sony keys, or someone leaks them, it is a different story.
Click to expand...
Click to collapse
I think either situation is highly unlikely.
I don't think it's at all possible to "figure out" keys. If it was, the security wouldn't be very.....secure.
As for leaks from Sony, has this ever happened, for any device in their history?
Sent from my C6603 using Tapatalk 4
kingvortex said:
I think either situation is highly unlikely.
I don't think it's at all possible to "figure out" keys. If it was, the security wouldn't be very.....secure.
As for leaks from Sony, has this ever happened, for any device in their history?
Sent from my C6603 using Tapatalk 4
Click to expand...
Click to collapse
No I don't think it has. You never know when someone might make a mistake, but I'd agree it isn't something to hold out hope for. Kexec or similar is the best bet, otherwise no AOSP for the locked bootloaders!
fards said:
in theory its very possible but what will you really gain?
You will have to use pretty much all original binary blobs, and will end up with some framework changes.
is there anything specific in an aosp build that you want?
the Z has one of the most closest none GPE roms around as it is..
as others have said why not just debloat or install a debloated rom?
Click to expand...
Click to collapse
Hey!
I use one of the debloated rom i gues (monxified)
and i open the process list :
device usage
overheat control
warrantytimeservice
small apps manager
smart search my xperia
location based wifi
semc cnap provider
theese are the useless running apps
so useless installed apps list :
i was able to start to write the list but it will take like 30 minutes
anyway FXP rom size 246 mb + gapps 88mb 334 mb
monxified rom : 545 mb existenze ultra 741mb excelzius 643 mb and thoose megabytes mostly sony bloatware
can u point me to a rom that doesnt have theese inside?
cheers,
Viktor
fulii said:
Hey!
I use one of the debloated rom i gues (monxified)
and i open the process list :
device usage
overheat control
warrantytimeservice
small apps manager
smart search my xperia
location based wifi
semc cnap provider
theese are the useless running apps
so useless installed apps list :
i was able to start to write the list but it will take like 30 minutes
anyway FXP rom size 246 mb + gapps 88mb 334 mb
monxified rom : 545 mb existenze ultra 741mb excelzius 643 mb and thoose megabytes mostly sony bloatware
can u point me to a rom that doesnt have theese inside?
cheers,
Viktor
Click to expand...
Click to collapse
Flash any AOSP/CM based ROM from here - http://forum.xda-developers.com/forumdisplay.php?f=2088
Drummerjed said:
Flash any AOSP/CM based ROM from here - http://forum.xda-developers.com/forumdisplay.php?f=2088
Click to expand...
Click to collapse
And that is exactly what he can't do, as he can't unlock the bootloader... All those ROMs need a custom kernel...
Felimenta97 said:
And that is exactly what he can't do, as he can't unlock the bootloader... All those ROMs need a custom kernel...
Click to expand...
Click to collapse
Oops, didn't realise he was the OP
Why didn't you buy one which could be bootloader unlocked?
As i said its from my company and my company is a child company of the Hungarian T mobile so im ****ed anyway
Sent from my C6603 using XDA Premium 4 mobile app
My Xperia Z with 100% stock firmware and lots of extra apps only has 1 GB of RAM in use. That's the advantage of having 2 GB of RAM, you don't have to worry about memory usage. So just chill out and enjoy your awesome phone
AOSP would ruin a lot of the nice features and design of this phone anyway.
Sent from my Xperia Z using Tapatalk 4
Just to let you guys know, it is possible to run AOSP Roms on locked Bootloaders. I was running CM10 on my Razr (XT910) and Motorola Devices where always locked untill the HD.
Just have an look, what these Guys meanwhile rockin' on this locked Device
http://forum.xda-developers.com/showthread.php?p=39998592
It was an long way to crack Motos Bootloader, but there're some Bad Ass Devs and they kicked Motos Ass
Gesendet von meinem C6603 mit Tapatalk 2
yea and there were good working stock based roms, even dualboot etc with locked bootloader. but here somebody said it before no dev will bother about locked bootloaders if the device can be unlocked for the 70% of the Z users, and razr couldn't be unlocked.
anyway monixified is a great rom its fast and etc but i miss cyanogenmod features like theme chooser and nice weather on the lockscreen
so anyone doing this? or nope?
well you can always remove them yourself with titanium or a root file browser ? remember to backup rom/apps first, as there can be consequences from removing system apps.. alternately try googling for sony stock sys apps that are safe to remove

[ROM/MOD][WIP]CM for locked BL

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

Categories

Resources