LT30a kernel - Sony Xperia T, TL, TX, V

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.

Related

[Q] Unable to flash stock kernel :(

I have a x8 unlocked bootloader and rooted .
I have already download the stock kernel .ftf file and flashed it using flashtool for my xperia x8 which is running xperience walkman mod 1.0 but it was no luck ... i tried to flash stock rom first but cwm would not flash it
i did tried to flash the kernel but i boot up it will just stuck at the sony ericsson logo and i am unable to enter recovery ..
Can anyone help me?
Flash stock kernel and use seus
Sent from my X8 using XDA
To the best of my knowledge, you can flash kernels only via flashtool. CWM won't help. And the kernel .ftf file must have a loader.sin in addition to a kernel.sin when viewed via flashtool.
I remember a day I flashed my X8 37 times within 24hours! At times, it would get temperamental & fail to boot beyond the SE logo screen for reasons it alone knows. Cheer up. And get flashing!
Hmmm... i dont want to use SEUS because by then i would have to reroot and even unlock bootloader again i tried couple of times to flash the stock kernel but my phone just stuck at the se logo
superng888 said:
Hmmm... i dont want to use SEUS because by then i would have to reroot and even unlock bootloader again i tried couple of times to flash the stock kernel but my phone just stuck at the se logo
Click to expand...
Click to collapse
Which kernel are you tried to flash? You can use flashtool to flash your kernel, and install ROM with CWM! If you are flashing aNa kernel, CWM is already built-in. If you still struck at SE logo, mean your kernel is not flash yet.
saintckk said:
Which kernel are you tried to flash? You can use flashtool to flash your kernel, and install ROM with CWM! If you are flashing aNa kernel, CWM is already built-in. If you still struck at SE logo, mean your kernel is not flash yet.
Click to expand...
Click to collapse
i am trying to flash se stock kernel
thx.......................................
saintckk said:
Which kernel are you tried to flash? You can use flashtool to flash your kernel, and install ROM with CWM! If you are flashing aNa kernel, CWM is already built-in. If you still struck at SE logo, mean your kernel is not flash yet.
Click to expand...
Click to collapse
Well, there's actually still ADB but it carries a certain amount of risk. With flashtool, most of that is obviated. If you need more information, scout the Android Development section for related topics.
Search in the Flashtool post the list of official firmwares, and flash one of these (yes, only that )
If the links are dead, send me a PM and I will give you the ftf that I have
I do have the .ftf file and flashed it.. but my phone will just stuck there

[REQ] Xperia TX JB 9.1.B.1.67 DEODEXED CWM Flashable Zipalingned STOCK ROM

once we have a STOCK .67 CWM Flashable ROM then we can flast it via CWM when we r on .411 and then beffore the restart we can flash a flashable CWM and SuperSU all together and get complete ROOT on LOCKED BL :good:
Good! Can you tell me how to make kernel.elf from stock FTF file into a flash able boot.img?
updateing said:
Good! Can you tell me how to make kernel.elf from stock FTF file into a flash able boot.img?
Click to expand...
Click to collapse
sorry, i dont know. but i guess it can be done using some android kitchen
updateing said:
Good! Can you tell me how to make kernel.elf from stock FTF file into a flash able boot.img?
Click to expand...
Click to collapse
got it :good:
you need Flashtool installed and then extract the FTF via 7zip
select sin editor from tools menu of flashtool and browse the file kernel.sin from where you extracted the FTF file
then click extract data and you will see a kernel.elf file has been created in the same dir as where you extracted the FTF file
let me know how it went
i just did that and it went fine
updateing said:
Good! Can you tell me how to make kernel.elf from stock FTF file into a flash able boot.img?
Click to expand...
Click to collapse
there is no need to do that.
If you have a stock kernel.elf you can flash it using fastboot (Or flashtool in fastboot mode) on both locked and unlocked bootloaders
gregbradley said:
there is no need to do that.
If you have a stock kernel.elf you can flash it using fastboot (Or flashtool in fastboot mode) on both locked and unlocked bootloaders
Click to expand...
Click to collapse
is this thread unrelated to its topic or I AM blind?!!
the topic is something, but i can't find anything in connection with that :|
correct me if I'm wrong :|
gregbradley said:
there is no need to do that.
If you have a stock kernel.elf you can flash it using fastboot (Or flashtool in fastboot mode) on both locked and unlocked bootloaders
Click to expand...
Click to collapse
I know.But I want to make stock kernel a flashable zip(so that I can switch between stock kernel and doomkernel easily ),so the kernel.elf won't fit.
chinmoy32 said:
once we have a STOCK .67 CWM Flashable ROM then we can flast it via CWM when we r on .411 and then beffore the restart we can flash a flashable CWM and SuperSU all together and get complete ROOT on LOCKED BL :good:
Click to expand...
Click to collapse
trust me
it wont work
its not really rooted
ebi4321 said:
is this thread unrelated to its topic or I AM blind?!!
the topic is something, but i can't find anything in connection with that :|
correct me if I'm wrong :|
Click to expand...
Click to collapse
You are right. It is a fake thread in the wrong section. It must be deleted by administrator. We are waiting for a real flashable ROM for our TX under this title.
petalex99 said:
You are right. It is a fake thread in the wrong section. It must be deleted by administrator. We are waiting for a real flashable ROM for our TX under this title.
Click to expand...
Click to collapse
someone has to remove it, or at least change the title, it's damn confusing :|
Just report it to the mods.
Use the yellow triangle in the top right of the first post.
I can not do it add I am on the app.
Sent whilst sat on the toilet.

[Q] Stock kernel ftf

Hi, i want to have my c6943 rooted and with cwm recovery. Currently i got this using doomlord kernel, but my digital tv isn't working. So, i want to flash a stock kernel, but i just have the stock ftf firmware. If i extract the ftf, get the meta-inf folder, the kernel.sin and the loader.sin and 7-zip in a .ftf file i can flash it without problem?
Or there is a more elaborated way to create a ftf flashable file?
Also, how can i get cwm recovery with stock firmware?
Don't want to flash stock firmware because i would lose root...
You can flash stock kernel by excluding everything in flashtool, and keeping ONLY kernel.
Regards,
~J2C

Help! flashing via flashtool

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)

no signal after flashing custom rom c6902

hi guyz..
i have flashed cm 12.1 official along with modem files zip. mobile shows no sim inserted.
so i decided to go back to stock rom. even after flashing stock ftf file still no sim is detected. i came to know that i need to flash baseband from ftf but im not able to find anything related to baseband in ftf file. someone plzz help..:crying:
imran4848 said:
hi guyz..
i have flashed cm 12.1 official along with modem files zip. mobile shows no sim inserted.
so i decided to go back to stock rom. even after flashing stock ftf file still no sim is detected. i came to know that i need to flash baseband from ftf but im not able to find anything related to baseband in ftf file. someone plzz help..:crying:
Click to expand...
Click to collapse
Flash latest ftf of your revelent version then start fresh, wipe everything.!
kathanpatel1001 said:
Flash latest ftf of your revelent version then start fresh, wipe everything.!
Click to expand...
Click to collapse
tried. didnt work.
also tried software repair using pc companion.
imran4848 said:
tried. didnt work.
also tried software repair using pc companion.
Click to expand...
Click to collapse
Try to search for modem for c6902 and flash that.
gauravbhakuni90 said:
Try to search for modem for c6902 and flash that.
Click to expand...
Click to collapse
zip or ftf? already tried zip. didnt work. could not find ftf. plz provide link for ftf
imran4848 said:
zip or ftf? already tried zip. didnt work. could not find ftf. plz provide link for ftf
Click to expand...
Click to collapse
Zip file. Try searching Jaguar rom for z1 and in that thread go to download section and download c6902 modem files. Works everytime for me. And do thank the Dev in that thread.
gauravbhakuni90 said:
Zip file. Try searching Jaguar rom for z1 and in that thread go to download section and download c6902 modem files. Works everytime for me. And do thank the Dev in that thread.
Click to expand...
Click to collapse
tried sir...no change. I'm going nuts
imran4848 said:
tried sir...no change. I'm going nuts
Click to expand...
Click to collapse
Tried it from the same source I cited??
Which ROM are you on??
Edit - do you have ftf and flashtool installed??
gauravbhakuni90 said:
Tried it from the same source I cited??
Which ROM are you on??
Edit - do you have ftf and flashtool installed??
Click to expand...
Click to collapse
At present I'm on sony's latest firmware 5.1.1 . I flashed a pre rooted firmware downloaded form a xda thread(.236 build) I downloaded modem zip from the same source u mentioned sir and flashed in recovery. but there is no change:crying: I have flashtool installed in my pc and i even downloaded latest ftf from flashtool using xperiafirm and flashed it. but didnt solve problem
imran4848 said:
At present I'm on sony's latest firmware 5.1.1 . I flashed a pre rooted firmware downloaded form a xda thread(.236 build) I downloaded modem zip from the same source u mentioned sir and flashed in recovery. but there is no change:crying: I have flashtool installed in my pc and i even downloaded latest ftf from flashtool using xperiafirm and flashed it. but didnt solve problem
Click to expand...
Click to collapse
Do you have stock ftf file and flashtool installed ??
Bootloader unlocked ??
And please don't call me sir , I am no knight .
gauravbhakuni90 said:
Do you have stock ftf file and flashtool installed ??
Bootloader unlocked ??
And please don't call me sir , I am no knight .
Click to expand...
Click to collapse
I have bootloader unlocked. I have flashtool installed in my pc and using flashtool I flashed stock ftf file.
I didnt get you regarding ftf and flashtool installed? In my pc or Z1??
imran4848 said:
I have bootloader unlocked. I have flashtool installed in my pc and using flashtool I flashed stock ftf file.
I didnt get you regarding ftf and flashtool installed? In my pc or Z1??
Click to expand...
Click to collapse
But you said you flashed pre rooted firmware from recovery.
Clean flash stock ftf file from flashtool in flash mode then report.
gauravbhakuni90 said:
But you said you flashed pre rooted firmware from recovery.
Clean flash stock ftf file from flashtool in flash mode then report.
Click to expand...
Click to collapse
I have already tried that. At present Im on pre rooted firmware
imran4848 said:
I have already tried that. At present Im on pre rooted firmware
Click to expand...
Click to collapse
What options are you choosing to flash in flashtool. Select wipe all and don't exclude anything in flashtool. Try that.
gauravbhakuni90 said:
What options are you choosing to flash in flashtool. Select wipe all and don't exclude anything in flashtool. Try that.
Click to expand...
Click to collapse
Flashed in that manner only. Wiping all and not excluding anything.
I have a doubt. There is nothing related to 'Baseband' in contents list or in exclude?
I read somewhere that i need to flash baseband from ftf in order to fix. Is it true?
imran4848 said:
Flashed in that manner only. Wiping all and not excluding anything.
I have a doubt. There is nothing related to 'Baseband' in contents list or in exclude?
I read somewhere that i need to flash baseband from ftf in order to fix. Is it true?
Click to expand...
Click to collapse
When you are flashing the whole ftf. You are flashing the baseband too.
gauravbhakuni90 said:
When you are flashing the whole ftf. You are flashing the baseband too.
Click to expand...
Click to collapse
what am I supposed to do now??
I tried flashing this file http://forum.xda-developers.com/attachment.php?attachmentid=2564631&d=1391783645
but didnt fix. I am losing my imei after flashing this
imran4848 said:
what am I supposed to do now??
I tried flashing this file http://forum.xda-developers.com/attachment.php?attachmentid=2564631&d=1391783645
but didnt fix. I am losing my imei after flashing this
Click to expand...
Click to collapse
I don't know. If I were you I would clean flash the rom from flashtool not from recovery.
gauravbhakuni90 said:
I don't know. If I were you I would clean flash the rom from flashtool not from recovery.
Click to expand...
Click to collapse
I did clean flash rom from flashtool . but it didnt fix
Bro all you need is a sony flashtool, sony pc companion, your z1, and some patience.
first of all make a ftf of original firmware for you device this might help second step flash the ftf which you made using flashtool (remember this ftf is the orignal copy of stock firmware).
after flash process finished just simply turn on your device and this might get back your modem's and signal and yes your imei number as how it should be.

Categories

Resources