[Q] Porting question - XPERIA X8 Q&A, Help & Troubleshooting

Hi! Maybe this question very stupid...
I want to port rom to x8. What can i do with boot.img? On x8 roms it don't exist.
Sorry for my bad english, of course.

nikmaletz55 said:
Hi! Maybe this question very stupid...
I want to port rom to x8. What can i do with boot.img? On x8 roms it don't exist.
Sorry for my bad english, of course.
Click to expand...
Click to collapse
boot.img is something like kernel just delete it :good:

fotak-x said:
boot.img is something like kernel just delete it :good:
Click to expand...
Click to collapse
And that all? thank you very much, bro!

nikmaletz55 said:
And that all? thank you very much, bro!
Click to expand...
Click to collapse
You're welcome :good:

The boot.img is a small(ish) file that contains 2 main parts, the kernel (the brain of the Android system) and the ramdisk (a core set of instructions and binaries that begins the boot process and controls base aspects of the system, such as mountpoints, memory management and startup services. It is often flashed via fastboot command.
We don't have this in our ROMs.

Related

how to build kerne ramdisk

--------------------------------------------------------------------------------
can someone tell me how to repack the RAMdisk into .img file please
thank you
p.s
i'm building kernel for the xperia x8 and it has no fastboot support
I think pl scripts and makebootimg,(it's been a while since i did that) search you'll find many tuts.
Think there is a simplified tool by ketut, search for ketut kumajaya dev tools.
roofrider said:
I think pl scripts and makebootimg,(it's been a while since i did that) search you'll find many tuts.
Think there is a simplified tool by ketut, search for ketut kumajaya dev tools.
Click to expand...
Click to collapse
yeah i tried that already but the problem is that i don't need boot.img i only need ramdisk and then i pack it in a .ftf file that i flash with xperia flasher
yair25 said:
yeah i tried that already but the problem is that i don't need boot.img i only need ramdisk and then i pack it in a .ftf file that i flash with xperia flasher
Click to expand...
Click to collapse
The last time i checked ramdisk was inside the boot.img, u want to pack that ramdisk alone into a .ftf?
Never had a sony, u'll have ask this in the Xperia forum.
roofrider said:
The last time i checked ramdisk was inside the boot.img, u want to pack that ramdisk alone into a .ftf?
Never had a sony, u'll have ask this in the Xperia forum.
Click to expand...
Click to collapse
let me explain my problem, i've created a .ftf (kernel for xperia x8) and it is boot up but i missed some files inside the ramdisk, so now i need to repack my new ramdisk folder into ramdisk file and i don't know how to do that .
yair25 said:
let me explain my problem, i've created a .ftf (kernel for xperia x8) and it is boot up but i missed some files inside the ramdisk, so now i need to repack my new ramdisk folder into ramdisk file and i don't know how to do that .
Click to expand...
Click to collapse
So u have the ramdisk and now u want to zip it to boot.img-ramdisk.gz?
roofrider said:
So u have the ramdisk and now u want to zip it to boot.img-ramdisk.gz?
Click to expand...
Click to collapse
i need it to packed like this one
i mark it in the picture
yair25 said:
i need it to packed like this one
i mark it in the picture
Click to expand...
Click to collapse
I can barely see the detail but it's enough to say that it's different from what i've been doing with my sammy.
U have to ask about this in xperia forums.
roofrider said:
I can barely see the detail but it's enough to say that it's different from what i've been doing with my sammy.
U have to ask about this in xperia forums.
Click to expand...
Click to collapse
ok, thank you for your help
roofrider said:
I can barely see the detail but it's enough to say that it's different from what i've been doing with my sammy.
U have to ask about this in xperia forums.
Click to expand...
Click to collapse
I was about to direct him to ketut's tools to until I saw the picture
"Everybody gets so much information all day long that they lose their common sense." -Gertrude Stein
EDIT: Poor post by me.
Sent from myushi
So @OP you found any solution?if yes,pls enlighten!
Thanks in adv
Sent from my MT11i using xda premium
http://www.freeyourandroid.com/guide/extract-edit-repack-boot-img-windows
that is all i can propose as i canno't see correctly the attached image.it is tool little for my eyes.
hope it would help.
DSIXDA'S Android Kitchen does it this automatically.
when working folder has been setup:
0 > 12 > w (to extract boot.img)
then you will get BOOT-EXTRACED, inside there will be a ramdisk folder, once finished editing enter "b" to build the boot.img again

[Q] How do i switch from TWRP to CWM?

How do i do this? I have beem seeing other posts, but im confused about those, any help?
DangerousPopcorn said:
How do i do this? I have beem seeing other posts, but im confused about those, any help?
Click to expand...
Click to collapse
Flash the 'kernel with cwm' in twrp!
szzlgupta said:
Flash the 'kernel with cwm' in twrp!
Click to expand...
Click to collapse
I have another little question, can i install cwm through rom manager?
DangerousPopcorn said:
I have another little question, can i install cwm through rom manager?
Click to expand...
Click to collapse
Why use ROM manager ? Use a safe method. Flash ! Or universal kernel flasher!
szzlgupta said:
Why use ROM manager ? Use a safe method. Flash ! Or universal kernel flasher!
Click to expand...
Click to collapse
Sorry for being so noobish but, whats a kernel?
DangerousPopcorn said:
Sorry for being so noobish but, whats a kernel?
Click to expand...
Click to collapse
http://www.howtogeek.com/howto/31632/what-is-the-linux-kernel-and-what-does-it-do/
Hit thanks if helped !
szzlgupta said:
Hit thanks if helped !
Click to expand...
Click to collapse
Hey, i just remembered why did i install TWRP. I wanted to flash the JetMod ROM. But i dont know why, my TWRP doesnt see any files in the SDcard, i also cannot use the backup feature, it says "E:failed to mount sdcard (No such file or direction)"
Im using Team Win Recovery Project v2.2.1.
DangerousPopcorn said:
Hey, i just remembered why did i install TWRP. I wanted to flash the JetMod ROM. But i dont know why, my TWRP doesnt see any files in the SDcard, i also cannot use the backup feature, it says "E:failed to mount sdcard (No such file or direction)"
Im using Team Win Recovery Project v2.2.1.
Click to expand...
Click to collapse
I think u need to Mount system in twrp. I never used it. I always used cwm !
szzlgupta said:
I think u need to Mount system in twrp. I never used it. I always used cwm !
Click to expand...
Click to collapse
Could you link me to a kernel with cwm?
srry for all this trouble, im new here :#
DangerousPopcorn said:
Could you link me to a kernel with cwm?
srry for all this trouble, im new here :#
Click to expand...
Click to collapse
Go to Android development > cocore 6.0
szzlgupta said:
Go to Android development > cocore 6.0
Click to expand...
Click to collapse
In the same thread to find the solution for TWRP
szzlgupta said:
Go to Android development > cocore 6.0
Click to expand...
Click to collapse
Sorry for late reply, but cocore 6.0 is for android 4.1, i never switched to any other version of the system, would i need to switch to 4.1? i have 2.3.6. Or is there another way?
DangerousPopcorn said:
Sorry for late reply, but cocore 6.0 is for android 4.1, i never switched to any other version of the system, would i need to switch to 4.1? i have 2.3.6. Or is there another way?
Click to expand...
Click to collapse
I don't know about 2.3.6 .. but for cocore u need 4.1.2 .. u can update and its a really easy and short process

[REQ][DEV]More eMMC patch supported ROMs?

* First of all this maybe shouldn't be a new thread, but I want to see how many people have eMMC brick, maybe this is not that important if there is only few of us. (if your phone is eMMC bricked, please reply) *
Anyway, at this moment only Ivendor supports eMMC bricked devices and he provides a patch for us with every new update of his CM10 (very nice guy), I guess it is not that hard to do, I am not a dev, but I suppose it is only few lines of code ("/data is not here, /data is on SD.") .
At this point I can only have one ROM and I would be happy if other devs could spend few more minutes and create eMMC patch for their ROM/s.
Thank you.
Thanks to alireza7991 we have CWM that works for bricked /data devices ( wipes /data w/o errors ). - HERE
Still waiting for more ROMs.
haven't bricked my phone..... but be endangered.. ..... not quite sure but hope to be on safe side with broodrom JB rs3
Bitman64 said:
haven't bricked my phone..... but be endangered.. ..... not quite sure but hope to be on safe side with broodrom JB rs3
Click to expand...
Click to collapse
I can confirm that either broodROM JB and broodRecovery are 100% safe to flash even with bad emmc chips.
broodplank1337 said:
I can confirm that either broodROM JB and broodRecovery are 100% safe to flash even with bad emmc chips.
Click to expand...
Click to collapse
That is great, but I am talking about already bricked devices with /data partitions on SD cards...
sava92ns said:
That is great, but I am talking about already bricked devices with /data partitions on SD cards...
Click to expand...
Click to collapse
Ah ok. Didnt read your first post xd. Ill implement the patch as well. I believe it was in the device spec right?
broodplank1337 said:
Ah ok. Didnt read your first post xd. Ill implement the patch as well. I believe it was in the device spec right?
Click to expand...
Click to collapse
Well this is what I wanted to hear and attention I wanted to attract. Thanks. :good:
I believe it was in the device spec right?
Click to expand...
Click to collapse
Not sure what you mean, be more precise...
sava92ns said:
* First of all this maybe shouldn't be a new thread, but I want to see how many people have eMMC brick, maybe this is not that important if there is only few of us. (if your phone is eMMC bricked, please reply) *
Anyway, at this moment only Ivendor supports eMMC bricked devices and he provides a patch for us with every new update of his CM10 (very nice guy), I guess it is not that hard to do, I am not a dev, but I suppose it is only few lines of code ("/data is not here, /data is on SD.") .
At this point I can only have one ROM and I would be happy if other devs could spend few more minutes and create eMMC patch for their ROM/s.
Thank you.
Click to expand...
Click to collapse
just search a bit i made a solution which works with all 4.1 jelly bean Roms ..
Sent from my GT-I9001 using xda premium
I have the eMMC brick but I'm on Ligux rom with castagnaIT kernel from this post : Solution of eMMC brick
I've a question too : why not all the devs of kernel inplant the patch in their kernel or make a kernel patched apart of the normal ? So we can install the kernel that we want ! Not a bad idea ?
Jonboy2011 said:
just search a bit i made a solution which works with all 4.1 jelly bean Roms ..
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
Well I post this mainly for 4.2 / CM10.1 ROMs, because atm I cant use any of them...
I think I dont ask too much, devs that want to participate, just make eMMC-fix.zip for your ROM.
LiiQuoR said:
I have the eMMC brick but I'm on Ligux rom with castagnaIT kernel from this post : Solution of eMMC brick
I've a question too : why not all the devs of kernel inplant the patch in their kernel or make a kernel patched apart of the normal ? So we can install the kernel that we want ! Not a bad idea ?
Click to expand...
Click to collapse
Kernels/ROMs, everybody that have something developed could make some tweaks for us.
Dont want to force anybody, just do it if you feel like it and we will be thankful.
sava92ns said:
Well I post this mainly for 4.2 / CM10.1 ROMs, because atm I cant use any of them...
I think I dont ask too much, devs that want to participate, just make eMMC-fix.zip for your ROM.
Kernels/ROMs, everybody that have something developed could make some tweaks for us.
Dont want to force anybody, just do it if you feel like it and we will be thankful.
Click to expand...
Click to collapse
if you want, i make a modded 4.2 kernel when i'm at home
Sent from my GT-I9001 using xda premium
broodplank1337 said:
I can confirm that either broodROM JB and broodRecovery are 100% safe to flash even with bad emmc chips.
Click to expand...
Click to collapse
Great.... Thanx brood!
Jonboy2011 said:
if you want, i make a modded 4.2 kernel when i'm at home
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
Why not, cant hurt...
Anyway I am still hoping for more devs like Ivendor and brood (who will provide this patch, as he said), so we can maybe stick to the stock kernel or whatever. This way we are still stuck with one kernel. I hope you get what im trying to say.
Ok I found the device spec patch: https://github.com/ivendor/android_...mmit/422db8790284deb06b0080bd902e372574314ae4
This is for the people who already got a bricked /data.
To prevent it from happening in the first place we need the emmc patch of the kernel source (which is floating lonely through the universe)
broodplank1337 said:
Ok I found the device spec patch: https://github.com/ivendor/android_...mmit/422db8790284deb06b0080bd902e372574314ae4
This is for the people who already got a bricked /data.
To prevent it from happening in the first place we need the emmc patch of the kernel source (which is floating lonely through the universe)
Click to expand...
Click to collapse
I think all dev must choose an uniq qcom.fstab and recovery.fstab for bricked data devices ! Devs Please let to choose the fstab from ivendor's one
I will build an special version of my CWM for bricked data . and I may pack all custom kernels for bricked data devices.
I do not promise to do this soon becuase I am on exams and also I I I 'm going to port lk bootloader for our device ...but I hope I do that in near future !
Thanks to alireza7991 we have patched CWM now, with working wipe /data w/o errors (even if /data is on SD).
Good job.
Check this out here.
sava92ns said:
Thanks to alireza7991 we have patched CWM now, with working wipe /data w/o errors (even if /data is on SD).
Good job.
Check this out here.
Click to expand...
Click to collapse
rofl, your linking to his topic XD, but its better then the person who linked to his own profile a while ago hahaha
broodplank1337 said:
rofl, your linking to his topic XD, but its better then the person who linked to his own profile a while ago hahaha
Click to expand...
Click to collapse
Well im kinda new here so im dont really know all the rules, if I shouldnt link and credit him, I will remove.
sava92ns said:
Well im kinda new here so im dont really know all the rules, if I shouldnt link and credit him, I will remove.
Click to expand...
Click to collapse
that's not the point ^^, you linked the thread he made to him :good: that's what I mean, your not breaking any rules, just found it funny
broodplank1337 said:
that's not the point ^^, you linked the thread he made to him :good: that's what I mean, your not breaking any rules, just found it funny
Click to expand...
Click to collapse
I think that he was linking the thread to all of us and not to reply alireza
ktulu84 said:
I think that he was linking the thread to all of us and not to reply alireza
Click to expand...
Click to collapse
Exactly.
Sent from my GT-I9001 using xda app-developers app

I need HELP fast !!!

Hello ! I have a question.I want to make a custom rom and use cocore kernel,but is kernel.bin.md5 and in kitchen (cygwin) must be boot.img .What i can do? Help me please.I need fast answers
Force said:
Hello ! I have a question.I want to make a custom rom and use cocore kernel,but is kernel.bin.md5 and in kitchen (cygwin) must be boot.img .What i can do? Help me please.I need fast answers
Click to expand...
Click to collapse
Simple,don't put a kernel in the ROM,you are not obliged to do that.Also,CoCafe doesn't want his kernel by default in ROMs.
ionescugeo9942 said:
Simple,don't put a kernel in the ROM,you are not obliged to do that.
Click to expand...
Click to collapse
I want best performance so i need
Force said:
I want best performance so i need
Click to expand...
Click to collapse
Flash it after.
ionescugeo9942 said:
Flash it after.
Click to expand...
Click to collapse
I want that people who will flash my rom to flash directly with kernel.
Force said:
I want that people who will flash my rom to flash directly with kernel.
Click to expand...
Click to collapse
CoCafe will not allow you.Read his thread.
ionescugeo9942 said:
CoCafe will not allow you.Read his thread.
Click to expand...
Click to collapse
I received permission from cocafe some time ago.Now please stop to be a clean topic.
I wait for answers for my question.
Force said:
I want that people who will flash my rom to flash directly with kernel.
Click to expand...
Click to collapse
If people want to install ROM they need to use custom recovery. Only kernel that is supported now is CoCore, so 99% of chance is that they will already have CoCore.
Force said:
I received permission from cocafe some time ago.Now please stop to be a clean topic.
I wait for answers for my question.
Click to expand...
Click to collapse
If so,I think you need to extract it.Better ask CoCafe if he gave you the permission or look for a guide.
Also,your "clean" behaviour will not lead to an answer.
---------- Post added at 07:54 PM ---------- Previous post was at 07:53 PM ----------
shut_down said:
If people want to install ROM they need to use custom recovery. Only kernel that is supported now is CoCore, so 99% of chance is that they will already have CoCore.
Click to expand...
Click to collapse
Yes.So,uselles struggling.
shut_down said:
If people want to install ROM they need to use custom recovery. Only kernel that is supported now is CoCore, so 99% of chance is that they will already have CoCore.
Click to expand...
Click to collapse
Nope, we have temporary cwm and it's working like a charm at flashing ROM (with root) :silly:
I want to include cocore in rom...
Darkness and Hope said:
Nope, we have temporary cwm and it's working like a charm at flashing ROM (with root) :silly:
Click to expand...
Click to collapse
Yes,if you really want to use the HARDER method...
ionescugeo9942 said:
Yes,if you really want to use the HARDER method...
Click to expand...
Click to collapse
I don`t care if is harder,but i want to include in rom.And if i do it first time, i will know for other times.
You can use this file type as well... Check updater script of any existing rom which has a kernel of same for type... And copy the same line... But first ask for permission from the cook of the rom...
Or extract your kernel and search for mount points for kernel and use it..
Sent from my Galaxy Nexus using xda app-developers app
ionescugeo9942 said:
Yes,if you really want to use the HARDER method...
Click to expand...
Click to collapse
I don't like CoCore so I want to use stock.Is it unreasonable ?
And where is the hard thing about this ?
Darkness and Hope said:
I don't like CoCore so I want to use stock.Is it unreasonable ?
And where is the hard thing about this ?
Click to expand...
Click to collapse
The thing bout the home button.Some said it's not working.
Anyways,what to not love from CoCore-E!!!:laugh:
lokeshsaini94 said:
You can use this file type as well... Check updater script of any existing rom which has a kernel of same for type... And copy the same line... But first ask for permission from the cook of the rom...
Or extract your kernel and search for mount points for kernel and use it..
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Thank you for your answer

[Xperia Z2][D6503] Newest Beta System Dump [MM 6.0.1][FW: 23.5.A.1.203]

Hi everyone,
As some of you may know, due to Sony cracking down on the beta program, it's impossible to share the new Beta firmware with everyone. @niaboc79 asked me if I could try to do a system dump and surprisingly, it worked fine with ADB.
I'm not really sure what you guys can do with it but I thought I may as well share it with everyone so you'll find it in the link at the end of this post.
I'm uploading it to Mega right now, it's pretty heavy (over 2 gigs) so please be patient but I should think it'll be ready in an hour or so.
Update: link provided at the bottom of the post
Have fun with it and if it is of any help, I'll post future Beta system dumps if and when they become available.
Link: https://mega.nz/#!pdomjD5a!A6eZ4ZL-59g0P6BdqhVpfnsb83usfJupv-QQtwcVhOs
I thought the .570 was the official version of MM 6.0.1?
NewbieFTW said:
I thought the .570 was the official version of MM 6.0.1?
Click to expand...
Click to collapse
Your username say all... :laugh:
EugenStanis said:
Your username say all... :laugh:
Click to expand...
Click to collapse
Hahahaha totally I used to live in Samsung world, that's why
EugenStanis said:
Your username say all... :laugh:
Click to expand...
Click to collapse
Lol
op updated with link. Enjoy...
jamesbdx said:
op updated with link. Enjoy...
Click to expand...
Click to collapse
Can anybody make a flashable zip of new beta update?
jamesbdx said:
op updated with link. Enjoy...
Click to expand...
Click to collapse
Is there boot.img too?
timoti123 said:
Is there boot.img too?
Click to expand...
Click to collapse
no !!
@jamesbdx we need boot.img bro back it up and upload please.thank you
It will be better if he could back it up as .img files than we can easily flash it. Because it is not so easy to flash system folder. But maybe it isn't possible I don't know. I'm now trying something but it probably won't work.
Who has an idea for stamina mode xperia x settings. The Xperia Z2
Any tutorial how to install without root ? This rom have Polish language ?
Then you can install with ADB?
Z2User said:
Then you can install with ADB?
Click to expand...
Click to collapse
Now i have CE1 5.1.1 official rom. Any video tutorial ? I dont have experience with adb.
WolusPL said:
Now i have CE1 5.1.1 official rom. Any video tutorial ? I dont have experience with adb.
Click to expand...
Click to collapse
Not some tutorial or something to install it, it was a question, as he mentions that works with ADB
Why do you guys keep posting these questions in development section? Its clearly written that its a system dump from the new Beta update.
ITS IS NOT A ROM, this is not ready for users to flash, this is a dump for developers to work with and hopefully create a working flashable ROM.
Please dont spam and wait for a flashable version.
People just dont like to read op or comments,anyway this will probably go out of beta in a week or two,same as last update did.Why such haste then,just dont brick your phones guys by trying to get this FW in weird ways,there will be a flashable soon
I don't know if it's possible to extract the boot.img without su privileges, if it is can someone provide me with how to do it and I'll gladly help.
And yeah, it's pretty obvious that this isn't a rom but it's harmless in the sense that in the current state, nobody can actually flash anything accidentally and brick their phone. So, I'm leaving it up as it is and people can do whatever they want, I'd be happy if a rom could be made out of this but I certainly don't pretend to have the skills to do it myself which is also why I'm only sharing what I can.
jamesbdx said:
I don't know if it's possible to extract the boot.img without su privileges, if it is can someone provide me with how to do it and I'll gladly help.
And yeah, it's pretty obvious that this isn't a rom but it's harmless in the sense that in the current state, nobody can actually flash anything accidentally and brick their phone. So, I'm leaving it up as it is and people can do whatever they want, I'd be happy if a rom could be made out of this but I certainly don't pretend to have the skills to do it myself which is also why I'm only sharing what I can.
Click to expand...
Click to collapse
i tried to flash with .570 kernel but the phone doesn't boot up so we need the kernel and i'm not sure if you can backup the kernel without root so i hope if someone can help in this.
EugenStanis said:
Your username say all... :laugh:
Click to expand...
Click to collapse
Lol

Categories

Resources