Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Romanbb
Old
(Last edited by Romanbb; 29th June 2012 at 02:26 PM.)
#1  
Romanbb's Avatar
Recognized Developer - OP
Thanks Meter 6742
Posts: 3,531
Join Date: Sep 2009
Location: Memphis

 
DONATE TO ME
Prompt [DEV] Compiling *working* a kernel from source

Has anyone done it?

I did a few runs with the m2_att_defconfig and the defconfig I pulled from the stock boot.img but I've had no luck with either. I'm fairly certain I'm repacking my boot.img back correctly, but that could be an issue as well.

I've uploaded the kernel source to github as well as the defconfig I pulled from my phone in case someone wants to save some time.

I wonder if the ominous "QUALCOMM SECUREBOOT: ENABLE" has anything to do with it too.

Anyone have any thoughts? Ideas?

Please stay on topic here

================================================== ====

Edit

mdeejay is a genius. It works with the following:
Code:
./mkbootimg --cmdline "console=null androidboot.hardware=qcom user_debug=31" --kernel zImage --ramdisk ramdisk.gz --base 0x80200000 --ramdiskaddr 0x81500000 -o ./boot.img
The Following 16 Users Say Thank You to Romanbb For This Useful Post: [ Click to Expand ]
 
brfield
Old
#2  
Senior Member
Thanks Meter 25
Posts: 348
Join Date: Apr 2010
Location: Goodyear, AZ
I have been getting nothing but errors, can't figure it out. I'm trying for just stock right now.

Sent from my SGH-T999 using Tapatalk 2
Quote:
Originally Posted by The Pope of Dope View Post
you are giving ubuntu problems. Linux is infallible.
 
mdeejay
Old
#3  
mdeejay's Avatar
Recognized Developer
Thanks Meter 11600
Posts: 2,489
Join Date: Jul 2010

 
DONATE TO ME
Romanbb
try it
Attached Files
File Type: img boot.img - [Click for QR Code] (4.95 MB, 19 views)
File Type: zip modules.zip - [Click for QR Code] (868.2 KB, 20 views)
The Following 4 Users Say Thank You to mdeejay For This Useful Post: [ Click to Expand ]
 
mskip
Old
#4  
mskip's Avatar
Senior Moderator / Recognized Developer
Thanks Meter 11108
Posts: 10,868
Join Date: Mar 2008
Location: Norfolk

 
DONATE TO ME
Have been working on this 'problem' now for nearly a week with testers (I have the International gsm model) and no luck at all. Tried unpacking/repacking with/without the command line using manaul methods and automatic but always hit a bootloop.

I NEED to be able to work with these boot image for AT&T/VERIZON/SPRINT and also TMOBILE for my US S3 ToolKit so if anyone has any insight what is needed to successfuly repack the boot image please share. I have been working with boot images from NAND backups as that was the only image available to me until yesterday when Adam Lange published the Odin Stock Roms for all the carriers so I will have another go today with those.

@ mdeejay is that a repacked boot image for Tmobile? If so and its worked for you please could you share how you managed it?

Mark.
.


Twitter: http://twitter.com/mskipxda | Website: http://www.skipsoft.net
Google Nexus Stock Firmware Images, Recoverys and All Toolkit Downloads: http://goo.im/devs/mskip

My Work
[Galaxy Nexus Toolkit] [GSM][VERIZON][SPRINT]
[Google Nexus 4 Toolkit] [THREAD]
[Google Nexus 7 Toolkit] [THREAD]
[Google Nexus 10 Toolkit] [THREAD]
[Samsung Galaxy Camera Toolkit] [THREAD]
[Samsung Galaxy Note2 Toolkit] [INT][ATT][SPRINT][TMOBILE][VERIZON]
[Samsung Galaxy S3 Toolkit] [INT GSM][INT LTE][ATT][SPRINT][TMOBILE][VERIZON]
[Samsung Galaxy S3 Mini Toolkit] [THREAD]
[Samsung Galaxy Note 8.0 Toolkit] [THREAD]
The Following 3 Users Say Thank You to mskip For This Useful Post: [ Click to Expand ]
 
mdeejay
Old
#5  
mdeejay's Avatar
Recognized Developer
Thanks Meter 11600
Posts: 2,489
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by mskip View Post
@ mdeejay is that a repacked boot image for Tmobile? If so and its worked for you please could you share how you managed it?

Mark.
yes. its for tmobile
i cant test. i dont have device
you can try same way http://forum.xda-developers.com/show....php?t=1584919 create boot img with correct offsets for sgs3
i think its useful for all msm8960 devices
The Following User Says Thank You to mdeejay For This Useful Post: [ Click to Expand ]
 
mskip
Old
#6  
mskip's Avatar
Senior Moderator / Recognized Developer
Thanks Meter 11108
Posts: 10,868
Join Date: Mar 2008
Location: Norfolk

 
DONATE TO ME
Quote:
Originally Posted by mdeejay View Post
yes. its for tmobile
i cant test. i dont have device
you can try same way http://forum.xda-developers.com/show....php?t=1584919 create boot img with correct offsets for sgs3
i think its useful for all msm8960 devices
Ok thanks for the info I will check it out

Mark.
.


Twitter: http://twitter.com/mskipxda | Website: http://www.skipsoft.net
Google Nexus Stock Firmware Images, Recoverys and All Toolkit Downloads: http://goo.im/devs/mskip

My Work
[Galaxy Nexus Toolkit] [GSM][VERIZON][SPRINT]
[Google Nexus 4 Toolkit] [THREAD]
[Google Nexus 7 Toolkit] [THREAD]
[Google Nexus 10 Toolkit] [THREAD]
[Samsung Galaxy Camera Toolkit] [THREAD]
[Samsung Galaxy Note2 Toolkit] [INT][ATT][SPRINT][TMOBILE][VERIZON]
[Samsung Galaxy S3 Toolkit] [INT GSM][INT LTE][ATT][SPRINT][TMOBILE][VERIZON]
[Samsung Galaxy S3 Mini Toolkit] [THREAD]
[Samsung Galaxy Note 8.0 Toolkit] [THREAD]
 
Romanbb
Old
#7  
Romanbb's Avatar
Recognized Developer - OP
Thanks Meter 6742
Posts: 3,531
Join Date: Sep 2009
Location: Memphis

 
DONATE TO ME
mdeejay is a genius!

The Following User Says Thank You to Romanbb For This Useful Post: [ Click to Expand ]
 
mskip
Old
#8  
mskip's Avatar
Senior Moderator / Recognized Developer
Thanks Meter 11108
Posts: 10,868
Join Date: Mar 2008
Location: Norfolk

 
DONATE TO ME
Quote:
Originally Posted by Romanbb View Post
mdeejay is a genius!
Hey Romanbb I havent had a chance to look at this yet do you mind sharing the params you had to use packing the boot image.

Thanks, Mark.
.


Twitter: http://twitter.com/mskipxda | Website: http://www.skipsoft.net
Google Nexus Stock Firmware Images, Recoverys and All Toolkit Downloads: http://goo.im/devs/mskip

My Work
[Galaxy Nexus Toolkit] [GSM][VERIZON][SPRINT]
[Google Nexus 4 Toolkit] [THREAD]
[Google Nexus 7 Toolkit] [THREAD]
[Google Nexus 10 Toolkit] [THREAD]
[Samsung Galaxy Camera Toolkit] [THREAD]
[Samsung Galaxy Note2 Toolkit] [INT][ATT][SPRINT][TMOBILE][VERIZON]
[Samsung Galaxy S3 Toolkit] [INT GSM][INT LTE][ATT][SPRINT][TMOBILE][VERIZON]
[Samsung Galaxy S3 Mini Toolkit] [THREAD]
[Samsung Galaxy Note 8.0 Toolkit] [THREAD]
 
Romanbb
Old
#9  
Romanbb's Avatar
Recognized Developer - OP
Thanks Meter 6742
Posts: 3,531
Join Date: Sep 2009
Location: Memphis

 
DONATE TO ME
Quote:
Originally Posted by mskip View Post
Hey Romanbb I havent had a chance to look at this yet do you mind sharing the params you had to use packing the boot image.

Thanks, Mark.
already edited the OP with what I used to repack the ramdisk
The Following 2 Users Say Thank You to Romanbb For This Useful Post: [ Click to Expand ]
 
mskip
Old
#10  
mskip's Avatar
Senior Moderator / Recognized Developer
Thanks Meter 11108
Posts: 10,868
Join Date: Mar 2008
Location: Norfolk

 
DONATE TO ME
Quote:
Originally Posted by Romanbb View Post
already edited the OP with what I used to repack the ramdisk
Thanks I will give it a try when I get home

Mark.
.


Twitter: http://twitter.com/mskipxda | Website: http://www.skipsoft.net
Google Nexus Stock Firmware Images, Recoverys and All Toolkit Downloads: http://goo.im/devs/mskip

My Work
[Galaxy Nexus Toolkit] [GSM][VERIZON][SPRINT]
[Google Nexus 4 Toolkit] [THREAD]
[Google Nexus 7 Toolkit] [THREAD]
[Google Nexus 10 Toolkit] [THREAD]
[Samsung Galaxy Camera Toolkit] [THREAD]
[Samsung Galaxy Note2 Toolkit] [INT][ATT][SPRINT][TMOBILE][VERIZON]
[Samsung Galaxy S3 Toolkit] [INT GSM][INT LTE][ATT][SPRINT][TMOBILE][VERIZON]
[Samsung Galaxy S3 Mini Toolkit] [THREAD]
[Samsung Galaxy Note 8.0 Toolkit] [THREAD]

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...