Alternative to 11W29+ - XPERIA X8 General

Guys i came up with an idea
to change the kernel
by rewriting the kernel
i know this idea is crazy
but i just came up with this idea because im soo sick of using this stock roms stuck too much unlike the unlocked ones
im having 12W01 w8 mobile no wonder i bricked my phone twice
every one knows that we can modify the codes using rom manager so we just have to copy and paste whats in nAa kernel methods and implementations to stock tweaks
hope this will work
DEVELOPERS please consider

eh? explai better? you wanna unlock the bootloader with kernel for install kernel? ._.

its like this after 11W29+ they have blocked the kernel right
but still with using tools we can modify the running methods and implement new
so as i was trying to say it has to work if we replace the whole nAa Kernel methods and implementations to stock the whole bunch with out removing the kernel files

I dont think you can mod it whitout flashing it again...
Sent from my X8 using xda app-developers app

eh, nice idea bro!
but still, i don't think it could be possible without unlocked bootloader and trying it may brick your phone again as u need to probably reflash it, as said by Lukenda too...
good luck if you wanna try it. :good:
fingers crossed :fingers-crossed:

Do you mean something like this? I don't know if it works on X8 but with this thing we could be able to "install" custom kernels on devices with locked bootloader.

fifo171 said:
Do you mean something like this? I don't know if it works on X8 but with this thing we could be able to "install" custom kernels on devices with locked bootloader.
Click to expand...
Click to collapse
That could work. But i think the op is talking about modifying the kernel the phone is on as opposed to running a kernel on top of what's already there. At least that's how i understood the guide...
Sent from my rooted tomato using xda app

@OP : As long as the bootloader is locked, you can modify all the kernels you want, but it still won't be flashable to our phones.

untill your bootloader locked you cant flash any kernel mod into your device :'(

rohin he means to say to make changes in the stock kernel present in the phone some how and not flash new kernel...
it might work if some developer works on it....like alfsamsung and nobodyatall coming together and do it?
aZuZus method might be some help.. may be cwm flashable kernel? but that would require unlocked bootloader too.

CnC-ROCK said:
rohin he means to say to make changes in the stock kernel present in the phone some how and not flash new kernel...
it might work if some developer works on it....like alfsamsung and nobodyatall coming together and do it?
aZuZus method might be some help.. may be cwm flashable kernel? but that would require unlocked bootloader too.
Click to expand...
Click to collapse
To tamper with even the stock kernel, the bootloader needs to be unlocked. It's like trying to edit a stock rom (2.1 like Matej2010) without root. It's impossible.

Are you sure it won't work on locked BL? Then how is it possible that with kexec method X10 users can run custom kernels with locked BL? AFAIK they use the kexec to unload stock kernel and load custom kernel (for example like doixanhs DT module - it unloads the stock screen driver and loads the modified one. I think that kexec does the same with the whole kernel).

Provided you can load/unload the whole kernel w/o f*cking the system up

RohinZaraki said:
Provided you can load/unload the whole kernel w/o f*cking the system up
Click to expand...
Click to collapse
i suppose that if x10minipro can do it then so can x8

Yeah, maybe it's possible. Isn't here anyone to so that willingly?
Sent from my MANGO using Tapatalk2

Infact idea is working on the Samsung Galaxy S3 whereby Kexec is loading and selecting the boot from the recovery partition
But then we does need figure out a way to enable the system to boot from different partition.
hell of a work to rewrite script

Somebody should ask nAa and dx,they should know the answer
Sent from my X8 using xda app-developers app

@all azuzu's SBoot tool will make use of the kexec module. A kernel with a kexec module does not necessarily need an unlocked bootloader. It will (AFAIK) load up the new kernel for debugging over the existing stock kernel. We won't see such a kernel soon but that soon doesn't necessarily mean never.

Can we run 2 kernel om 2 different roms,like multibooting them? That way would be possible..
Sent from my X8 using Tapatalk 2

Lukenda said:
Can we run 2 kernel om 2 different roms,like multibooting them? That way would be possible..
Sent from my X8 using Tapatalk 2
Click to expand...
Click to collapse
Huh? Really explain what you mean and give an example if you can.

Related

Custom ROMs with Locked BL

Hello all,
we from Spain have been able to load a custom ROM (SE|TWEAKED v0.5) in a Xperia Neo with locked BL. Basically we installed this:
And modify the .img of the ROM, so it does not overwrite /system all content.
Later we will try to post a tutorial
Is kernel flashing too possible with locked bootloader
Sent from my MT15i using Tapatalk
Could we do that to cm7 as well?
Sent from my LT15i using Tapatalk
We are actually working on it. We think we will be able to flash kernels too without unlocking el BL, we are trying to break through flashmode. More information in our forum (sorry but it's a Spanish forum):
http://www.htcmania.com/showthread.php?t=294105&page=3
Any devs help is wellcome
Nothing is impossible!
Keep going.
Cheers
Sent from my MT15i using Tapatalk
Tried to install CM7 like recovery img, phone starts and loads CM7 bootanimation but in "Enter Pin Code" input text field doesn't show nothing. This made me think that tactile screen not works 'cos some cm7 kernel module was missed, but after installing my original backup SIM needs puk code, so i introduced too many intents in CM7. Tactile screen works, input text field no.
this is good start man! keep it up!
More tests. Blend_Miui not working,eternal boot loop. SE Tweaked 0.7 works with some wifi issues.
so basically its like what happened with the x10?
What happened with x10? By now, Flashtool can unlock the bootloader of X10 (I don't know if only unbranded phones or all phones)
like before the bootloader we could flash roms while locked. Is that what this is?
More or less. You can flash custom ROMS converted to recovery file (.img) only if those ROMs are based on Stock Kernel
so thats a no to cm7 and miui then
does that mean i can install SE Tweaked v0.7 to my locked bootloader arc-s?
i have a recovery menu from nAa-r2 cwm.. is this possible?

Kernel repacking?

my old phone was the HTC One X and I remember having to repack the kernel for the rom I was using
1) is it the same here with the Nexus 4 after rooting/unlocking? any automatic repackers out there?
Also,
2) do I still need to "fastboot flash boot boot.img" everytime I flash a new rom
PS pretty excited about getting back into the android scene. my nexus 4 is coming in tomorrow.
From what I know I never had to repack any kernel on my nexus phones. All you need to do is run the unlock command once through fast boot and you can flash whatever you like. This phone is made so you can run what you like without jumping through hoops like the branded phones.
Sent from my Nexus 4 using xda app-developers app
can anyone second that?
once the bootloader is unlocked, and have a custom recovery installed, you can flash any nexus 4 kernel you want(compatible kernel). you dont have to repack anything.
Thanks simms22
is flashing the boot.img required after flashing a rom?
misterpho06 said:
Thanks simms22
is flashing the boot.img required after flashing a rom?
Click to expand...
Click to collapse
if thats the kernel that you are flashing. theres only one that i can think of that requires flashing the boot.img, all the others are flashable via the recovery. but, to answer the question, after every rom flash, youll have to reflash your custom kernel, as the rom will overwrite the kernel that you are running.
misterpho06 said:
Thanks simms22
is flashing the boot.img required after flashing a rom?
Click to expand...
Click to collapse
Coming from a One X myself, I can confirm that you don't need to go hunting for a repacked ramdisk for use with your kernel of choice.
As the Nexus is fully unlocked, (not some half-arsed partial unlock that was the case with the One X), all the kernels can be flashed directly within recovery
Sent from my Nexus 4 using xda premium
THANK YOU for your responses guys.
any opinion on the best rom/kernel available right now for the nexus4?
I would really like the features of AOKP and cyanogenmod but hates little bugs.
Probably might stick with stock rom but maybe a franco kernel for now??
rasbean jelly rom, trinity kernel. stock rom is good too. but theres no best, theres whats best for your needs. experiment with a few different roms/kernels, find what you and your device likes best

[Q] Is Someone working on a Dual-boot option for s4?

a while ago back when the S2 was relatively new there was some custom recoveries released that had a dual boot option you could do. siyah was the only one i found that had this at the time. later on it stopped being supported and i miss it.
I am now wondering if it is possible to have a dual-boot option for the S4 and if someone is working on it. i know it requires a custom kernel as well as a custom recovery but that is as far as my knowledge goes.
Buddyjohn said:
a while ago back when the S2 was relatively new there was some custom recoveries released that had a dual boot option you could do. siyah was the only one i found that had this at the time. later on it stopped being supported and i miss it.
I am now wondering if it is possible to have a dual-boot option for the S4 and if someone is working on it. i know it requires a custom kernel as well as a custom recovery but that is as far as my knowledge goes.
Click to expand...
Click to collapse
Forever taunting me in my dreams.... Want this capability SOOOO BADLY!
couldn't aroma be used for a for a dual boot? just a thought.
TheAxman said:
couldn't aroma be used for a for a dual boot? just a thought.
Click to expand...
Click to collapse
i suppose it could, i have not looked into that at all.
I also have no idea how to do aroma so i guess that still adds to the question of if anyone is working on this or not
I had this on my nexus 7 and its the best thing ever
Sent from my SAMSUNG-SGH-I337 using Tapatalk 4 Beta
Buddyjohn said:
i suppose it could, i have not looked into that at all.
I also have no idea how to do aroma so i guess that still adds to the question of if anyone is working on this or not
Click to expand...
Click to collapse
I mean, you can add into what you want, and it executes what you specify. I am no dev by all means, but......
If you come up with something, I will try it.
TheAxman said:
I mean, you can add into what you want, and it executes what you specify. I am no dev by all means, but......
If you come up with something, I will try it.
Click to expand...
Click to collapse
I am no dev either. which sucks. but if a dev sees this thread by all means feel free to take on this project and let us know!
Buddyjohn said:
a while ago back when the S2 was relatively new there was some custom recoveries released that had a dual boot option you could do. siyah was the only one i found that had this at the time. later on it stopped being supported and i miss it.
I am now wondering if it is possible to have a dual-boot option for the S4 and if someone is working on it. i know it requires a custom kernel as well as a custom recovery but that is as far as my knowledge goes.
Click to expand...
Click to collapse
It can happen only thing is I'm not sure how it would work u need both custom recovery and custom kernel on the s2 both were linked on the s4 they r not ( which is nice love twrp over cwm ) so a kernel dev would have to make a kernel and a recovery to support both plus there's the Loki factor for all the users who use the cwm auto Loki recovery ( I just use the Loki doki zip for twrp I stead ) so it will have a lot of factors but there is only 3 separate kernel devs for this device ATM
KT ( doubt he has the time or the want to dev this ) no speaking for him
Faux ( his kernel is tw only and his plate is full ATM with many devices and apps )
And
Albinoman887 ( aosp only kernel and not sure on his kernel dev knowledge as far as something this complex goes )
sent from my SGH - leet ( i337) using Tapatalk 4 beta
oddspec said:
It can happen only thing is I'm not sure how it would work u need both custom recovery and custom kernel on the s2 both were linked on the s4 they r not ( which is nice love twrp over cwm ) so a kernel dev would have to make a kernel and a recovery to support both plus there's the Loki factor for all the users who use the cwm auto Loki recovery ( I just use the Loki doki zip for twrp I stead ) so it will have a lot of factors but there is only 3 separate kernel devs for this device ATM
KT ( doubt he has the time or the want to dev this ) no speaking for him
Faux ( his kernel is tw only and his plate is full ATM with many devices and apps )
And
Albinoman887 ( aosp only kernel and not sure on his kernel dev knowledge as far as something this complex goes )
sent from my SGH - leet ( i337) using Tapatalk 4 beta
Click to expand...
Click to collapse
they just got it working on internation s4. Im not sure if this works with the ATT version of the s4..it may or may not.
I believe the bootloader needs unlocked first
Sent from my GT-I9505 using xda premium
jball said:
I believe the bootloader needs unlocked first
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
This is right, it exists for international but requires unlocked bootloader. However, a dev named Hashcode is porting his safestrap recovery to Verizon S4, and it should come to us afterwards, which will allow you to boot stock rom along with 4 custom rom slots.

Starting to develop for Xperia SP

Hi,
Some of you may recognise my name from around the forums, especially if you have had an Xperia device before. I started my first android developments on the Xperia Play and then continued onto the Xperia U. I then lost mass interest in development due to joining college and being overloaded with work due to a computing course. I was no longer able to contribute to any developments.
Now, I am in the second year of college and have dropped a subject I am finding myself with more free time so I have decided to start developing again, only this time I have an Xperia SP.
There's only one catch, the device I have is network locked to O2 and therefore I cannot unlock my boot loader, so most if not all of my work will be for those with a locked bootloader. I am mostly interested in creating custom ROMs based on stock and also creating my own applications and embedding them into the stock ROM.
And the flashy bar at the bottom, yeah I have ideas for that.
Developments for Xperia SP:
illumination app
~Keiran
Sent from my C5303 using Tapatalk
Thank you!
Sent from my C5303 using XDA Premium 4 mobile app
Thank you!
Thank you guy!
You have locked bootloader and you don't use fastboot
You should sell branded phone and buy no-branded
MrZender said:
Thank you guy!
You have locked bootloader and you don't use fastboot
You should sell branded phone and buy no-branded
Click to expand...
Click to collapse
I can't, it just means that I will only be able to developed for locked bootloader which is no problem really. All it means is that I cannot change the kernel image, using scripts I can mess about with the ramdisk though and may be able to boot CM on a locked boot loader if the stock kernel allows it.
Sent from my C5303 using Tapatalk
Glad to see you back in the game mate ! Too bad that you can't unlock your bootloader. Although I know that would not be a problem for you.
Sent from my C5303 using Tapatalk
Hi @KeiranFTW welcome to Xperia SP development!
I hope we can work together on a project I want to try when we get the Android 4.3 update, I'm not sure if it will be successful and I'm not sure if anyone else tried this on other devices, but I want to try.
Basically I want to build Android 4.3 that works with the stock Sony 4.3 bootloader. I already have my fork of CodeAurora up and running here, I call it recaf, it will 'simply' be a matter of satisfying the extra dependencies and other Sony changes.
Come chat on freenode IRC, I'm in #freexperia, or on my own at #recaf. (If I don't reply immediately it mean's I'm afk, but my irc bouncer keeps me logged in.)
adfad666 said:
Hi @KeiranFTW welcome to Xperia SP development!
I hope we can work together on a project I want to try when we get the Android 4.3 update, I'm not sure if it will be successful and I'm not sure if anyone else tried this on other devices, but I want to try.
Basically I want to build Android 4.3 that works with the stock Sony 4.3 bootloader. I already have my fork of CodeAurora up and running here, I call it recaf, it will 'simply' be a matter of satisfying the extra dependencies and other Sony changes.
Come chat on freenode IRC, I'm in #freexperia, or on my own at #recaf. (If I don't reply immediately it mean's I'm afk, but my irc bouncer keeps me logged in.)
Click to expand...
Click to collapse
I'm sure it is very possible, as there is a way that could work really, I could probably set it up as a dual boot. You would need the AOSP ramdisk in tar format somewhere on your phone and at boot time if you wish to boot AOSP then it would delete everything at / and extract that ramdisk to / and then continue boot process with that ramdisk.. as long as stock kernel is compatible.
Sent from my C5303 using Tapatalk
Welcome in SP section
Happy to see more real dev here
Well, maybe you could port kexec to our locked SP's? The main part of the module and binary is done, there is only one thing left - implementing proper hardboot and finally porting to our phones. I think some Xperia SP devs might help you. There's a thread in Z1 forums where delewer tries to get last parts of the job done. If you decide to start working on it, I want to be a alpha or beta tester
http://forum.xda-developers.com/showthread.php?t=2495152
Welcome mate, glad you are here can't wait to see your work I also had an xperia play and I'm pretty sure I had a few of your roms and mods installed at some point.
Sent from my C5303 using XDA Premium HD app
I have a few projects in mind at the moment:
1. Getting the 4.3 leak to boot on locked bootloader
2. When 4.3 is released get AOSP 4.3 to run also on locked boot loader - I will be working with @adfad666 on this - most priority
3. Maybe a stock based custom ROM - least priority.
Sent from my C5303 using Tapatalk
Maybe after booting AOSP 4.3 on locked BL you could try booting 4.4? Because it was possible in Xperia X8 "age of glory"(some devs booted 2.2 on 2.1 kernel if I'm not mistaken).
MrSteve555 said:
Maybe after booting AOSP 4.3 on locked BL you could try booting 4.4? Because it was possible in Xperia X8 "age of glory"(some devs booted 2.2 on 2.1 kernel if I'm not mistaken).
Click to expand...
Click to collapse
We could try.
The way I'm going to do it is hijack pre_hw_config.sh and then launch a script from there to determine whether to extract recovery ramdisk or AOSP ramdisk, then this will be extracted to /, and then everything will be unmounted and init will be started again to restart the boot process.
Sent from my C5303 using Tapatalk
I think I'll try to boot 4.3 today, with the method described in this thread: http://forum.xda-developers.com/showthread.php?t=2593806
I'll post my results later.
KeiranFTW said:
We could try.
The way I'm going to do it is hijack pre_hw_config.sh and then launch a script from there to determine whether to extract recovery ramdisk or AOSP ramdisk, then this will be extracted to /, and then everything will be unmounted and init will be started again to restart the boot process.
Sent from my C5303 using Tapatalk
Click to expand...
Click to collapse
Unfortunately pre_hw_config.sh doesn't exist in the 4.3 leak, so assuming that doesn't change when we receive the official update, we won't be able to use that.
adfad666 said:
Unfortunately pre_hw_config.sh doesn't exist in the 4.3 leak, so assuming that doesn't change when we receive the official update, we won't be able to use that.
Click to expand...
Click to collapse
then /system/bin/charger
Sent from my C5303 using Tapatalk
Well, pre_hw_config.sh doesn't exist even in stock 4.1.2. I think we should try with chargemon, not charger(because it's executed earlier). I tried booting DooMLord's DoomKernel ramdisk on stock kernel. Absolutely no luck. I don't even know what's wrong - after loading ramdisk, kernel panic occurs. Maybe someone more clever will figure it out.:silly:
I think I'm nearly there at hijacking the boot process to inject new ramdisk, I just have a little test that I will have to do later as I need to go out now.
What I'm going to do is use the same ramdisk as that's in the kernel but inject it again after removing anything, this way I don't need to change my ROM and I know that I can inject a new ramdisk. I'll upload my work to github later too so people can contribute
~Keiran
Sent from my C5303 using Tapatalk
Okay, so I've been successful in booting a custom RAMdisk, only problem I am experiencing is that the data partition is not being remounted when the new ramdisk is loaded, no idea why though.
Okay, done and fixed, sources are at https://github.com/keiranFTW/hijack-ramdisk-huashan
Get ready for exciting things coming now
KeiranFTW said:
Okay, so I've been successful in booting a custom RAMdisk, only problem I am experiencing is that the data partition is not being remounted when the new ramdisk is loaded, no idea why though.
Okay, done and fixed, sources are at https://github.com/keiranFTW/hijack-ramdisk-huashan
Get ready for exciting things coming now
Click to expand...
Click to collapse
I tried your method, but it has one bug - it doesn't symlink /data/media to /storage/sdcard0, so the data from internal memory isn't accesible through that path. Still amazing work, but I suggest you to change the format of ramdisk read by the script to .cpio, because it's easier to get from kernels. :good:

KERNEL Project-Testers Needed

Hello xda,
I would like to mention that I'm currently working on a custom kernel project for ZE550KL
I need testers in order to test the kernels I make.I will tell the complete procedure on how to boot kernel without actually flashing it.
I cannot test on my device because it is still under warranty .
Requirements=
1.)Own a ZE550KL
2.)Rooted and Bootloader Unlocked
3.)Ready to help.
Click to expand...
Click to collapse
Please contact me for further queries.
Looking forward for some replies,
abhishekr700
ABANDONED
No more testers needed,
I tried compiling every single thing from source without any edits,and got a kernel that actually boots up,but wifi / Bluetooth / softkeys do not work,
I also tried making all modules built in but it is still the same,thus I have abandoned this project and I will wait till we get a good developer here
CM develpers cannot help me because they are busy with their own stuff and fixes.
If anyone starts a kernel project I am happy to help.
Thanks
Sent from my C2305 using Tapatalk
I am in
I am in
You said you will help in booting kernel without flashing.
If this really happens I would be able to test otherwise not since I have stubborn locked bootloader. I hope kernel will boot on locked bootloader. Meanwhile I will keep trying to unlock it.
Edit: Arr.... second time today I posted without reading thread replies. Sorry man
sziraqui said:
I am in
You said you will help in booting kernel without flashing.
If this really happens I would be able to test otherwise not since I have stubborn locked bootloader. I hope kernel will boot on locked bootloader. Meanwhile I will keep trying to unlock it.
Click to expand...
Click to collapse
Yes kernel can be booted without flashing but it does need unlock bootloader else I would myself test it.
Everything becomez normal after reboot.
I have a tester and he tests the builds for me
Sent from my C2305 using Tapatalk

Categories

Resources