I want to compile the boot.img of CM10 for our devices with added features like
More governors
OTG support
I would like to know how to compile just the boot.img rather than the full rom.
I am able to compile CM10 full roms.
Some dev plz help me by writing a guide
Sent from my Xperia Mini Pro using xda app-developers app
singh_dd93 said:
I want to compile the boot.img of CM10 for our devices with added features like
More governors
OTG support
I would like to know how to compile just the boot.img rather than the full rom.
I am able to compile CM10 full roms.
Some dev plz help me by writing a guide
Sent from my Xperia Mini Pro using xda app-developers app
Click to expand...
Click to collapse
Any progress with regards to this??
Maybe you find some help here?
Maybe not just espacially in this thread, but you could search the wiki
mihahn said:
Maybe you find some help here?
Maybe not just espacially in this thread, but you could search the wiki
Click to expand...
Click to collapse
I'd be also interested in some stock kernel building if you could help me with some links you know of
Sent from my Neo v using xda premium
Ghostfreak NB said:
I'd be also interested in some stock kernel building if you could help me with some links you know of
Sent from my Neo v using xda premium
Click to expand...
Click to collapse
Follow this guide - developer.sonymobile.com/2011/05/06/how-to-build-a-linux-kernel/
Download doomlord's toolchain for this. Also I would recommend u to use backtrack as most of the dependencies and needed things are in it. and when ull write deconfig_semc_devicename replace device name with ur device's codename. Also in the commands don't use "none" whereever given. @abcdjdj will soon write a complete guide on this once he has some free time
For any doubts just PM me
Cheers,
AJ
alokbina is now Abhinav2
Related
A Humble Request for Devs: Please Give Us CM9 for Xperia U.
mdanyjam said:
A Humble Request for Devs: Please Give Us CM9 for Xperia U.
Click to expand...
Click to collapse
Wait ICS and Source is out. And the devs will start the development!
Correct Me If I'm Wrong
Sent from my ST25i using xda app-developers app
Elwino2.3 said:
Wait ICS and Source is out. And the devs will start the development!
Correct Me If I'm Wrong
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Exactly. So when is the ICS Releasing for U?
mdanyjam said:
Exactly. So when is the ICS Releasing for U?
Click to expand...
Click to collapse
Use search button :laugh:
Elwino2.3 said:
Use search button :laugh:
Click to expand...
Click to collapse
:good:
Not able to modify CM 9 boot.img
Hi,
I got the CM 9 (FXP150) for Sony xperia U from one of the mirror.
I want to modify the boot.img, please let me know the correct tool/script to unpack/repack and modify.
I already tried using following with no success:
1) unpacking & packing scripts from Github i.e. unpack-bootimg.pl & repack-bootimg.pl
- unpacking and packing the boot.img without any modifications, this creates a boot.img which doesn't boot
2) split_bootimg.pl
- Gives error message "Bad Magic"
Thanks!
Dev
Hi
Pls tell step by step and tools for kernel development from source.
I am waiting for ur answer
Sent from my SK17i using xda premium
wtf?
u guys think that in this forum everyone will write personal tutorials?
u think this forum is for requests?
I request to Kamarush
Sent from my SK17i using xda premium
Hi mv_style
Do u know kernel repacking.
I compiled kernel from source i get zimage.
Then repack it in xperia boot tools. But stuck in logo. I tried working kernel split and repack without modification. Stuck in logo. I think the problem is in boot.img splitter or repack code.
Do u know pagesize of sk17i.
Sent from my SK17i using xda premium
riyasopr said:
Hi mv_style
Do u know kernel repacking.
I compiled kernel from source i get zimage.
Then repack it in xperia boot tools. But stuck in logo. I tried working kernel split and repack without modification. Stuck in logo. I think the problem is in boot.img splitter or repack code.
Do u know pagesize of sk17i.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
You could use dsixda's android kitchen . Unpacking and repacking are fully automated . Just have to specify the boot.img and it'll get unpacked.
hit thanks if I've helped!
sent from my smultron
---------- Post added at 02:02 PM ---------- Previous post was at 01:53 PM ----------
mv_style said:
wtf?
u guys think that in this forum everyone will write personal tutorials?
u think this forum is for requests?
Click to expand...
Click to collapse
Given that the op is a junior member You could have explained kindly . Just saying.
hit thanks if I've helped!
sent from my smultron
He already opened a thread with the exact same issue, if he wants personal help from someone he can pm the interested person insted of spamming the forum
gouthamthemostwanted said:
You could use dsixda's android kitchen . Unpacking and repacking are fully automated . Just have to specify the boot.img and it'll get unpacked.
hit thanks if I've helped!
sent from my smultron
---------- Post added at 02:02 PM ---------- Previous post was at 01:53 PM ----------
Given that the op is a junior member You could have explained kindly . Just saying.
hit thanks if I've helped!
sent from my smultron
Click to expand...
Click to collapse
there are forum rules that he is suppose to read
Thanks Goutham for ur help.
Sorry. I say Kamarush because. Kamarush is developed a kernel for mini pro named krsh kernel. Sorry.
Sent from my SK17i using xda premium
Hi you should om anonymous or slade 87 they build very good kernels and they also answer per pm
Sent from my SK17i using xda app-developers app
riyasopr said:
Thanks Goutham for ur help.
Sorry. I say Kamarush because. Kamarush is developed a kernel for mini pro named krsh kernel. Sorry.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
YO man search the general android development section there is a bunch of tuts.....
OK why did i press thnx??:crying::crying: Oh my phone freaked and clicked by mistake
Hi guys,
My aim is to get work usb 3g modem in mobile.
I think pppwidget is helpful.
This application need drivers(usbserial,option) in kernel.
All kernel sources have usbserial , option but this drivers not enabled in kernel.
I am make this modules from source.
I tried install this module "insmod usbserial.ko". but error "......invalid module format"
I am using xkernel 2.6.32.59
Pls help me.
Sent from my SK17i using xda premium
mv_style said:
there are forum rules that he is suppose to read
Click to expand...
Click to collapse
FORUM RULES
2.3 Flaming: XDA was founded as a group of people sharing information about certain mobile phones. Sharing does not involve virtual yelling (flaming) it does involve working together to solve problems in an environment of mutual respect and understanding. Losing your temper and flaming another member, or group of members, is not acceptable behavior.
2.5 Courtesy towards other Members: Treat new members the way you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instruction when you can and always with respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.
being a recognized contributor i thought you read the forum rules well before the op .
just someone else broke the rules it does not give us the liberty to break it too .
sorry if my reply offended you.
just wanted to help.
thank you.
---------- Post added at 08:52 PM ---------- Previous post was at 08:34 PM ----------
riyasopr said:
Hi guys,
My aim is to get work usb 3g modem in mobile.
I think pppwidget is helpful.
This application need drivers(usbserial,option) in kernel.
All kernel sources have usbserial , option but this drivers not enabled in kernel.
I am make this modules from source.
I tried install this module "insmod usbserial.ko". but error "......invalid module format"
I am using xkernel 2.6.32.59
Pls help me.
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
are you using the xkernel kernel sources to build the modules?
You should be using xkernel kernel source to build the module if you want the modules to work with xkernel, not some other kernel source. They probably have their own patches and changes which make building your modules from a different kernel source and having them to work with xkernel to be difficult.
Try googling your error you'll get the solution .
First search before you post.
PRESS THANKS IF I HELPED YOU!
I am using xkernel sources.
The phone shows kernel version 2.6.32.59-codenameX. My modules info "modinfo" shows 2.6.32.59-perf.
Then i found a solution
I change "kernelsource/include/linux/utsrelease.h" file content perf to codenameX. Then compiled.
Now error is "insmod option.ko
insmod: can't insert 'option.ko': unknown symbol in module or invalid parameter "
Sent from my SK17i using xda premium
Hi,
I want to build MIUI roms, which are updated if MIUI updates its roms.
So I started, but got some problems on MIUI 2.11.9, based on ICS:
It boots, bootanimation appears, lockscreen for 2 seconds, it reboots, bootanimation, lockscreen, bootanimation again and it starts all over...
I attached a zip, because I mad a logcat, a 2nd logcat after doing fix permissions in cwm, the build.prop (to be sure that I did everything like MIUI wants it) and the updater-script (to be sure everything's okay with it).
It would be great if you could download them and help me!
Best regards
Mihahn
P.S.: Please don't spam this thread, only helpfull information, please!
From source or porting from arc s?
Sent from my SK17i using XDA Premium HD app
sandy7 said:
From source or porting from arc s?
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
From LT18i, not from source.
Maybe if I get this rom booting and everything working, I will try to port from sources, or I will start porting Android 4.2, but because I'm not really a developer, it's hard to work from source...
Do you know what the problem on my project is?
See my signature..for the guide..u will find if u did any thing wrong..
Sent from my SK17i using XDA Premium HD app
sandy7 said:
See my signature..for the guide..u will find if u did any thing wrong..
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
Okay I read your guide, but I have done everything like you tell there before, so I really don't know what's wrong. Maybe you could see the logcat and help me?
as per ur logcat.....
these might be the problems..
mistake in updater script
wrong recompiling of framework-res.apk or
base rom problem
sandy7 said:
as per ur logcat.....
these might be the problems..
mistake in updater script
wrong recompiling of framework-res.apk or
base rom problem
Click to expand...
Click to collapse
Okay, so base rom should have no problem, the updater-script could be, but I just took the one inside for Lt18i, tried anotherone, didn't work anyway...
There were no errors, when compiling framework-res.apk
Thanks for your answer!
ok u plz pm what all u did in detail....
sandy7 said:
ok u plz pm what all u did in detail....
Click to expand...
Click to collapse
Thank you very much will pm you :good:
Hello XDA'its!!
Now that JB has been ported to Sola by the great dev Munjeni & couple of greats devs working to make it fully working including me!!
I wanna take up the next project ..
And it's MIUIv5 porting to our Sola!!
It's a tough job but without a push of Munjeni it wouldn't be possible!!
It's already been made for Go by him so I would wanna port it to Sola!!
Permission taken by Munjeni so will post the progress over here asap !!
Please don't post anything as yet that's a request!!
And if you wanna show appreciation hit thanks!!
Cheers!!
Sent from my MT27i using xda premium
soulhackereborn said:
Hello XDA'its!!
Now that JB has been ported to Sola by the great dev Munjeni & couple of greats devs working to make it fully working including me!!
I wanna take up the next project ..
And it's MIUIv5 porting to our Sola!!
It's a tough job but without a push of Munjeni it wouldn't be possible!!
Click to expand...
Click to collapse
need help for anything PM me...
I mean small things in which I can help....
i have port miui v5 but after completed it bootloop...
Deleted Sorry
Mtakween said:
advice:
this should be stock based
cm10 isn't stable
and i think porting from stock will be easier
Click to expand...
Click to collapse
Please read title it's stock based only!!
Cheers!!
Sent from my MT27i using xda premium
Need someone who can edit a kernel..
PM me asap who so ever up for the task...
Sent from my MT27i using xda premium
soulhackereborn said:
Need someone who can edit a kernel..
PM me asap who so ever up for the task...
Sent from my MT27i using xda premium
Click to expand...
Click to collapse
@alivanov79 ?
The kernel developer's device has been damaged so presently he can't do anything....
Any other who is ready to edit the kernel for me???
Sent from my MT27i using xda premium
soulhackereborn said:
The kernel developer's device has been damaged so presently he can't do anything....
Any other who is ready to edit the kernel for me???
Sent from my MT27i using xda premium
Click to expand...
Click to collapse
Why dont you PM deepunknown?
mirost1 said:
Why dont you PM deepunknown?
Click to expand...
Click to collapse
He is busy for his exam don't disturb him please
How is life my dear friend
Sent from my MT27i using xda premium
lalit387 said:
He is busy for his exam don't disturb him please
How is life my dear friend
Sent from my MT27i using xda premium
Click to expand...
Click to collapse
You just PM him to let him know you need him
I am fine, just ordered HTC One X and may be soon i will be only reading here for my Wife's Sony Xperia Sola :laugh:
Sorry didn't see this thread,
I can edit a kernel and I already had done it for sola, (if you had pm me about it I would give it to you )
I did it because akkufix asked me to do
here is the link http://www.mediafire.com/download/um6uct2ypt990vk/boot_sola_jb_patched.img
oh by the way I just changed the init.rd to have shelld services it still using framework_ext.jar though you can do it to framework_ext.jar by using my github => https://github.com/sijav/patchrom_nypone
you have to get fix_patchrom.sh and also download build and tools folders, (I have added some script which will build this framework.jar without any problems by moving some files from framework.jar to framework_ext.jar )
you may wanna download the after_patch_out as it has the fix for the android.policy.jar!
If you don't want the after_patch_out then you should delete the last line in tools/add_miui_smail.sh which is "cp -r -f after_patch_$2 out/"
happy porting
Thanks alot for your help bro..
Really appreciate it!!
Will try your edited kernel for Sola & let it boot first and then later on will start fixing other issues..
Cause sola is like almost same as go interms of framework n stuff
Cheers!!
Sent from my MT27i using xda premium
welcome
P and GO have same framework.jar! and also android.policy.jar and services and framework_ext.jar, I have confirmed it by making diff at every single smali file in these frameworks, but still if you have any problems let me know
just be sure to rename framework2.jar to framework_ext.jar when you are using this kernel
sijav said:
welcome
P and GO have same framework.jar! and also android.policy.jar and services and framework_ext.jar, I have confirmed it by making diff at every single smali file in these frameworks, but still if you have any problems let me know
just be sure to rename framework2.jar to framework_ext.jar when you are using this kernel
Click to expand...
Click to collapse
Sure bro..
An extra helping hand of a pro is always better
Cheers
Sent from my MT27i using xda premium
Good news!!!!!!
Successfully booted it on Sola finally!!!
Not usable... Plenty of FC!!
Will work my way to make it working!!!
Cheers!!
Sent from my MT27i using xda premium
soulhackereborn said:
Good news!!!!!!
Successfully booted it on Sola finally!!!
Not usable... Plenty of FC!!
Will work my way to make it working!!!
Cheers!!
Sent from my MT27i using xda premium
Click to expand...
Click to collapse
good job bro..
well, at least we need some devs to port MIUI framework to unofficial stock JB.
Now It's a pain in the *** to test a rom and we have to restore rom or some sort to get back to our daily rom.
And Sony Xperia S had succeeded,I'll take it as a reference and see if we can work on this.
This is not a placeholder.
Link to the Xperia S thread.
http://forum.xda-developers.com/showthread.php?t=1880305
I'll be "investigating" this.And I also need all the devs help. (I'm not really an highly skilled developer,so I would really need some help here)
Devs only please. No request for tester or users that asks for ETA. Do not post any reply unrelated to development on this thread.
Keep it only for devs,and make it clean.
Devs,good luck to you guys.
Dual recovery is needed,I'll start by porting TWRP. (I'll focus on this first)
Wow. This is kick ass stuff.
Similar to what was done in G3MOD, except that here its actually dual boot, with the ROMs installed on internal storage, while there it was implemented in a slightly simpler way by packing multiple ramdisks and extracting system.img files when required to switch between ROMs.
Considering our already existing problem of not having of an expandable storage, G3MOD's implementation seems far more appealing.
I will take a look at this soon enough.
Well I didn't store a lot of things on my device,only roms and some other stuff,my internal storage is actually more than enough.
But that method seems to be more friendly on the internal storage,as we have a lot of unused phone memory. (the place where roms are installed to)
I'll look into that too.
Edit : It seems like the G3MOD project is already abandoned. But we can look at their sources at github.
We could make it load from sdcard by pressing a combination of buttons on Sony logo! We need kernel first of all! But also a way to do it.
Sent from my ST25i using xda app-developers app
Andrewasth said:
We could make it load from sdcard by pressing a combination of buttons on Sony logo! We need kernel first of all! But also a way to do it.
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
We're trying to dual boot different rom with different kernel
I don't believe that we can make it load a different kernel! If we could then we could also let permanently locked bootloaders to do so too! We will have to load it from a single kernel!
Sent from my ST25i using xda app-developers app
Andrewasth said:
I don't believe that we can make it load a different kernel! If we could then we could also let permanently locked bootloaders to do so too! We will have to load it from a single kernel!
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
In the first thread,Xperia S is able to load two kernel.
why is there always have to be made for locked bootloader?
custom kernel NEEDS an UNLOCKED BOOTLOADER.
how can you use a single kernel?via the patch?
I'll look into it first.
XDA_Bruno said:
why is there always have to be made for locked bootloader?
custom kernel NEEDS an UNLOCKED BOOTLOADER.
how can you use a single kernel?via the patch?
I'll look into it first.
Click to expand...
Click to collapse
Don't be so offensive! What I want to say is that I doubt we could load two kernels! That's all
Sent from my ST25i using xda app-developers app
Andrewasth said:
Don't be so offensive! What I want to say is that I doubt we could load two kernels! That's all
Sent from my ST25i using xda app-developers app
Click to expand...
Click to collapse
Wait...I'm not being offensive,but we might actually found a way to load kernel from other directory in system. (Not entirely sure if that's possible though.)
That actually might be possible! Search for it a little.
Sent from my ST25i using xda app-developers app
XDA_Bruno said:
Wait...I'm not being offensive,but we might actually found a way to load kernel from other directory in system. (Not entirely sure if that's possible though.)
Click to expand...
Click to collapse
ramdisk.tar u mean ?
Sent from my S500 using xda app-developers app
The method xperia s use is: pack one kernel with 3 kernels inside it (one kernel for the dual boot menu, and 2 normal kernels)
So it is possible to do
Sent from my MI2 using xda premium
The guys at the Moto Defy forums have it sorted out, using 2nd-init and 2nd-boot: http://forum.xda-developers.com/showthread.php?t=1364659
Good luck.
So we have to create system image to multi boot rom?
Sent From My JB 4.1.2 Xperia U
Press Thanks If I Helped You....
MythT said:
So we have to create system image to multi boot rom?
Sent From My JB 4.1.2 Xperia U
Press Thanks If I Helped You....
Click to expand...
Click to collapse
yes probably.
Okay this is very good if we can get it working
Then we can boot CM And JB no need of flash
Sent From My JB 4.1.2 Xperia U
Press Thanks If I Helped You....
MythT said:
Okay this is very good if we can get it working
Then we can boot CM And JB no need of flash
Sent From My JB 4.1.2 Xperia U
Press Thanks If I Helped You....
Click to expand...
Click to collapse
How about kernel if start to dual boot? If we wanna use some rom base or Cm we always changed the kernel?
Sent From C6603 Using xda premium
Encang_Rojali said:
How about kernel if start to dual boot? If we wanna use some rom base or Cm we always changed the kernel?
Sent From C6603 Using xda premium
Click to expand...
Click to collapse
Sorry i dont understand what you mean
Sent From My JB 4.1.2 Xperia U
Press Thanks If I Helped You....
Its a bit harder bec. Xpu doesnt have external sd card so 4gb aint enough maybe?
JohnLouise said:
Its a bit harder bec. Xpu doesnt have external sd card so 4gb aint enough maybe?
Click to expand...
Click to collapse
I have about 2GB free so it's enough.
Plus,the plans is to install the rom on phone,not internal storage (working on TWRP at the moment though.)