Looking for some help on creating a kernel for stock LT30a. Need to stop the bootloop issue when turning on extended battery mode.
Let me share where im at.
i used flashtool to extract the kernel.sin, this gives me the kernel.elf file.
I then used kernel tools to edit the ramdisk to change settings.
Now i complied the kernel elf. i guessed on this part. as in the dialog it ask's for:
also keep 'RPM.bin' and 'cmdline.txt' in input folder for Xperia 2012 Qualcomm Phones
Click to expand...
Click to collapse
for this i renamed kernel.elf.rpm.bin to rpm.bin and then renamed kernel.elf.bootcmd to cmdline.txt. again not sure if this was the right thing to do. but doing this gave me no errors.
So i have the kernel elf and need to put it back into the kernel sin? i think. Because i see in the kernel update from greg's ftf file, it's kernel.sin (6mb).
This is where i get confused, let me explain.
in the rorgers ftf file is a kernel.sin (20mb) and that's what i used to extract in flashtool to get me the kernel.elf (6mb).
so i guess i need to convert the kernel.elf to kernel.sin and put it back in the ftf file?
I tried to rename kernel.elf to kernel.sin and put that back in the kernel update ftf file but it would not flash.
also the new kernel.sin is only 6mb, it's the same size as the one from greg's kernel ftf file.
If anyone is familiar with the processes i would be very grateful for any assistance.
Thanks
hackit said:
If anyone is familiar with the processes i would be very grateful for any assistance.
Thanks
Click to expand...
Click to collapse
No need for that. If ts correctly formatted as kernel.elf and your compile worked correctly you will able to flash to the kernel.elf via fastboot.
Give it a try.
My stock kernel.sin files are completely stock, so I left them as .sin
However kernel kitchen cannot yet compile .sin kernels for 2012 devices.
Just leave it as .elf and flash it...
gregbradley said:
No need for that. If ts correctly formatted as kernel.elf and your compile worked correctly you will able to flash to the kernel.elf via fastboot.
Give it a try.
My stock kernel.sin files are completely stock, so I left them as .sin
However kernel kitchen cannot yet compile .sin kernels for 2012 devices.
Just leave it as .elf and flash it...
Click to expand...
Click to collapse
Thanks Greg,
I didn't think i could flash in fastboot with a locked bootloader?
hackit said:
Thanks Greg,
I didn't think i could flash in fastboot with a locked bootloader?
Click to expand...
Click to collapse
you cant.
But you wont be abe to flash any modified kernel anyway, even if its in .sin format.
locked bootloader=stock kernels only (And they have to be signed by sony)
EDIT
If you want a small ftf file for flashing the stock LT30a kernel just make a copy of the stock ftf for LT30a and delete all unnecassary files from it other than kernel.sin and anything needed to flash it...check inside my stock kernel ftf's to see what to leave in.
gregbradley said:
you cant.
But you wont be abe to flash any modified kernel anyway, even if its in .sin format.
locked bootloader=stock kernels only (And they have to be signed by sony)
Click to expand...
Click to collapse
Hey Greg maybe im missing something else?
Let me explain.
I'm trying to fix the bootloop issue if you turn on extended battery mode with a locked bootloader.
So i have a stock kernel in an ftf file and flashed it to update the kernel. it worked but i lost root.
So i talked with championswimmer and he said i needed to edit the ramdisk and build prop to change ro.secure=1 to ro.secure=0.
so i did that and now i have kernel.elf file.
So what did you do too fix the bootloop issue if extended battery mode is selected?
P.S
i guess the main goal is to have the latest kernel, i also notcied that my manifest.mf file in the ftf file is different than yours.
there's a line that says cmd25: flase and in your ftf file to update the kernel for locked bootloaders says cmd25: true.
Is that something you changed?
Your help is much appreciated.
hackit said:
Hey Greg maybe im missing something else?
Let me explain.
I'm trying to fix the bootloop issue if you turn on extended battery mode with a locked bootloader.
So i have a stock kernel in an ftf file and flashed it to update the kernel. it worked but i lost root.
So i talked with championswimmer and he said i needed to edit the ramdisk and build prop to change ro.secure=1 to ro.secure=0.
so i did that and now i have kernel.elf file.
So what did you do too fix the bootloop issue if extended battery mode is selected?
Click to expand...
Click to collapse
yes, he probably thought you had an unlocked bootloader. If you edit the kernel in anyway by decompiling it then you cannot recompile it with Sony's signature so you need an unlocked bootloader to flash it.
You need to downgrade to .303, root, install cmw for locked bootloader, flash a stock based .195 .zip then the cmw fix (from the cmw locked bootloader thread)
I think thats the process, but i cant be sure right now, I am pretty drunk as its my birthday today!
Anyway, one things for sure, with a locked bootloader you can only flash completely stock kernels...
PS, i think its this
After you have rooted and installed the cmw for locked bootloaders
•Enter recovery, factory reset and flash the ROM. Then flash the flashable version of CMW recovery for locked bootloaders before you reboot.
Then flash my stock .195 kernel http://d-h.st/ZvP in flashtool in fastboot mode to update to 195 kernel and stop the bootloop
Its all mentioned in my rom thread...
gregbradley said:
I think thats the process, but i cant be sure right now, I am pretty drunk as its my birthday today!
Anyway, one things for sure, with a locked bootloader you can only flash completely stock kernels...
Then flash my stock .195 kernel http://d-h.st/ZvP in flashtool in fastboot mode to update to 195 kernel and stop the bootloop
Its all mentioned in my rom thread...
Click to expand...
Click to collapse
Thanks for the reply, happy birthday.
I have a locked bootloader so no fastboor mode for me.
You can flash completely stock kernels in fastboot with a locked boot loader!
That's the point, I linked a stock kernel that had Sony's signature do you can flash it. It's only modified kernels that need an unlocked bootloader.
If you are unsure about fastboot, use flashtool to flash it, but choose fastboot mode...it will work
Sent from my LT30p xda premium app.
How do I customise the signature on xda premium app?
Make your rom and flash it via CWM, flash the flashable CWM before you reboot (unless you packed it into your rom), flash the reboot fix as well (the one that fixes reboots when editing system files) again unless you packed it into your rom.
Turn the phone off then flash your stock kernel in flashtools. You can use your stock ftf just exlude everything except kernel and uncheck wipe data/cache and stuff. This will reflash the stock kernel but leave everything else alone. This has worked for me with my customized stock .195 and .223.
Hi Guys
My pc can't load ftf files to my z 6603. Could somebody please create a stock. zip kernel for me to flash via TWRP.
Thanks
Hello friends,
Can anyone Upload the stock kernel from the 108 firmware please?
Sorry for my bad english
change the extension from .zip to .sin
kernel.sin
Thank you very much but can i flash this file?
not in recovery, its just the kernel.sin that I changed the extension to .zip so I could upload it on xda.
Use flashtool to flash it.
i am currently on stock .254 rooted,locked bootloader,cwm recovery..
i want to flash .205 ftf...
my doubts..
1. will i be able to restore .254 via cwm after flashing..
jatt111 said:
i am currently on stock .254 rooted,locked bootloader,cwm recovery..
i want to flash .205 ftf...
my doubts..
1. will i be able to restore .254 via cwm after flashing..
Click to expand...
Click to collapse
If if you are not able to, you can always flash stock ftf file from here:
http://forum.xda-developers.com/showthread.php?t=2311964
Anybody tell me, is there a way to flash stock rom with root and deoxdexed and recovery preinstalled via flashtool.
jindal_bharat said:
Anybody tell me, is there a way to flash stock rom with root and deoxdexed and recovery preinstalled via flashtool.
Click to expand...
Click to collapse
U can flash stock rom... Then root it,install recovery and de odex it... Why u need pre rooted rom? if there is way to root it easily...
I know that but its difficult to get drivers everytime fot flashtool and its difficult to root latest firmware
Flashtool is for flashing unmodified stock firmware packages only in flashmode. You can't make modified FTF files.
Sent from my C6603
jindal_bharat said:
I know that but its difficult to get drivers everytime fot flashtool and its difficult to root latest firmware
Click to expand...
Click to collapse
just install the driver which is inside the. flashtool folder.. And it's very easy to root new firmware..... Just use this ---
http://forum.xda-developers.com/xperia-z/general/guide-how-to-root-10-5-1-0-283-t2872873
Credit -kingvortex (for easy Guide)