Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[DEV] Kernel Editing/HTC PUCCINI ROM DEVELOPMENT

OP jcarrz1

1st September 2011, 07:05 AM   |  #1  
jcarrz1's Avatar
OP Retired Recognized Developer
Thanks Meter: 1,432
 
1,627 posts
Join Date:Joined: May 2009
UPDATE, LOOKS LIKE IT'S GOING TO BE (ALMOST) IMPOSSIBLE TO PORT ENTIRE ROM, LOOKING INTO BITS AND PIECES THAT CAN BE PULLED.
here's the leak, for those who want it: http://forum.xda-developers.com/show....php?t=1240772

My progress. My kernel won't boot. I changed the bootclasspath and added some things to the init.rc, but it won't work, rebooting BEFORE THE CAMERA CLICK. If i flash clemsyn 3.1 v18 on top, the camera clicks, but it still reboots.

No logcat.

Anyone have any ideas? obviously it's not just the kernel, but the rom. I deleted stuff from the rom to fit onto the transformer, and hopefully I didn't mess it up. But i'm good at cramming **** onto the G1 and generally know what to use.

My kernel is based on prime 1.6. This is a 3.1 rom. I edited the bootclasspath and changed default.prop according to the puccini boot.img. both extracted perfectly, and my new kernel packaged up all nice. It, however, does not boot.

Any ideas are welcome. There wasn't a bootloader update in 3.2 or something that would prevent booting a 3.1 rom? food for thought.

If anyone wants me to upload my work so far, let me know.

Thanks for your input,
jcarrz1

p.s. the only part I wasn't sure about was the mkbootimg options, based on what RaYmaN said in another thread, http://forum.xda-developers.com/show....php?t=1121379 I followed his advice to omit cmdline option. I think that's the correct way, anyone else interpret differently?

Rayman's tools were the heart of this effort, thanks a bunch. Also to Roach2010 for a solid 3.1 base.

Jcarrz1

Teaser



Thank me for my efforts
Last edited by jcarrz1; 11th September 2011 at 11:43 PM. Reason: pics
The Following 41 Users Say Thank You to jcarrz1 For This Useful Post: [ View ]
1st September 2011, 07:41 AM   |  #2  
Senior Member
Thanks Meter: 19
 
327 posts
Join Date:Joined: Oct 2007
Isn't HTC using a Qualcomm soc? That could mean they are using a different instruction set which cause the reboot.

could be the reason why they got it booting on the flyer and we don't have success on tegra devices
Let's see if someone else with a tegra device is successful and gets it booting.

Edit: sometimes I should read more carefully. If your kernel doesn't boot there is something really strange going on. Can't you flash stock 3.1, replace the boot loader and try your port again?
Last edited by Ultimaex; 1st September 2011 at 08:44 AM.
1st September 2011, 12:20 PM   |  #3  
Jhinta's Avatar
Senior Member
Thanks Meter: 264
 
663 posts
Join Date:Joined: Dec 2010
Donate to Me
More
missing some info about the images your using ..
you have build the kernel , oke but witch ramdisk did you used?
witch kernel did you used ?
kernel config file?
1st September 2011, 12:26 PM   |  #4  
gnufabio's Avatar
Recognized Developer
Flag Milan
Thanks Meter: 3,533
 
1,386 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Is it a 3.1 or a 3.2 rom?
1st September 2011, 12:38 PM   |  #5  
lilstevie's Avatar
Senior Recognized Developer
Thanks Meter: 1,040
 
1,334 posts
Join Date:Joined: Apr 2009
Donate to Me
More
one word, NEON
1st September 2011, 02:10 PM   |  #6  
mskip's Avatar
Retired Senior Moderator
Flag Norfolk
Thanks Meter: 13,873
 
11,195 posts
Join Date:Joined: Mar 2008
Donate to Me
More
Quote:
Originally Posted by gnufabio

Is it a 3.1 or a 3.2 rom?

The OP said in the first post that it is a 3.1 Rom

Mark.
1st September 2011, 02:16 PM   |  #7  
lilstevie's Avatar
Senior Recognized Developer
Thanks Meter: 1,040
 
1,334 posts
Join Date:Joined: Apr 2009
Donate to Me
More
The following is from surfaceflinger
Code:
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "ARM v7"
Tag_CPU_arch: v7
Tag_CPU_arch_profile: Application
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-2
Tag_VFP_arch: VFPv3
Tag_NEON_arch: NEONv1
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align8_needed: Yes
Tag_ABI_enum_size: int
Tag_ABI_HardFP_use: SP and DP
In short the puccini rom will never run on a Tegra2 device, ANY Tegra2 device, as the Tegra2 SoC lacks NEON support

1st September 2011, 04:32 PM   |  #8  
fonix232's Avatar
Senior Member
Flag Debrecen
Thanks Meter: 364
 
684 posts
Join Date:Joined: Jun 2009
Donate to Me
More
Quote:
Originally Posted by lilstevie

The following is from surfaceflinger

Code:
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "ARM v7"
Tag_CPU_arch: v7
Tag_CPU_arch_profile: Application
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-2
Tag_VFP_arch: VFPv3
Tag_NEON_arch: NEONv1
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align8_needed: Yes
Tag_ABI_enum_size: int
Tag_ABI_HardFP_use: SP and DP
In short the puccini rom will never run on a Tegra2 device, ANY Tegra2 device, as the Tegra2 SoC lacks NEON support

Yup. Although if you swap the surfaceflinger to a Tegra2 generic one, it *should* work.

I'm sure that the kernel will NEVER boot on our device, as it's for Qualcomm platform, not Tegra2. But the ROM itself worth playing around, mostly if we can get the nice Launcher with themes.
1st September 2011, 11:59 PM   |  #9  
lilstevie's Avatar
Senior Recognized Developer
Thanks Meter: 1,040
 
1,334 posts
Join Date:Joined: Apr 2009
Donate to Me
More
Quote:
Originally Posted by fonix232

Yup. Although if you swap the surfaceflinger to a Tegra2 generic one, it *should* work.

I'm sure that the kernel will NEVER boot on our device, as it's for Qualcomm platform, not Tegra2. But the ROM itself worth playing around, mostly if we can get the nice Launcher with themes.

yes, you could swap the flinger, but you still have the problem of everything else,

the point of that was not that just this one binary, but the whole rom, that also means the launcher and everything use NEON.

Also the kernel not running is a given, that is hw specific. My point is the ROM itself will not run
2nd September 2011, 04:24 AM   |  #10  
jcarrz1's Avatar
OP Retired Recognized Developer
Thanks Meter: 1,432
 
1,627 posts
Join Date:Joined: May 2009
Thanks everybody for your advice. I stupidly assumed that "oh look it's a 1280x800 honeycomb tablet" lets port the software.

However, my kernel question persists; what did I do wrong? is it right to use mkbootimg in the way I did?

Thanks everyone.

The Following User Says Thank You to jcarrz1 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes