i heard an i9100 rom can be used on these devices if you overwrite it's kernel with an i777 kernel.
is it true? i can spew out a current i777 kernel, anybody wants to try?
is it true? i can spew out a current i777 kernel, anybody wants to try?
I'm interested as I'm planning on porting a i9100 CM11 M12 build to I777, using one of the guides here. I was planning on using a kernel from a previous unofficial CM11 ROM for i777. The issue is these don't have the TRIM and/or FPBug fixes. If you spew something out, I would be more than willing to try it. However, I cannot guarantee that I would do it immediately (i have a 3-year-old and a 3-month old and their life schedules are unpredictable). I was hoping this holiday weekend.i heard an i9100 rom can be used on these devices if you overwrite it's kernel with an i777 kernel.
is it true? i can spew out a current i777 kernel, anybody wants to try?
Yes, it's true. As a result, many i777 users don't bother with ports, they simply shop in the i9100 forum, and keep an appropriate kernel on the SD card.i heard an i9100 rom can be used on these devices if you overwrite it's kernel with an i777 kernel.
is it true? i can spew out a current i777 kernel, anybody wants to try?
please try this kernel:I'm interested as I'm planning on porting a i9100 CM11 M12 build to I777, using one of the guides here. I was planning on using a kernel from a previous unofficial CM11 ROM for i777. The issue is these don't have the TRIM and/or FPBug fixes. If you spew something out, I would be more than willing to try it. However, I cannot guarantee that I would do it immediately (i have a 3-year-old and a 3-month old and their life schedules are unpredictable). I was hoping this holiday weekend.
thank you!Yes, it's true. As a result, many i777 users don't bother with ports, they simply shop in the i9100 forum, and keep an appropriate kernel on the SD card.
-Cyril
... thank you!
so the kernels/recoveries are modded to accept flashing of the i9100 zips? usually i9100 zips will not flash in i777 (assertion failure, from assert coded in the zip), but the i777 recovery could be hacked to make it work.
i suppose not. the recovery and kernel come together and dont read build.prop at all. that info must be replicated somewhere in the ramdrive with the recovery. so once you boot the recovery you get the i777 props.I usually simply remove the assert lines from the updater script, if the installation fails because of device type.
I was under the impression that once the i9100 firmware (+i777 kernel) was installed, the resulting build.prop would allow subsequent i9100 installations without issue.
^^ I'm not 100% sure about that one, I don't run i9100 firmware often.
Pulls device model from the recovery default.propi suppose not. the recovery and kernel come together and dont read build.prop at all. that info must be replicated somewhere in the ramdrive with the recovery. so once you boot the recovery you get the i777 props.
anyway, i can fix that. the important thing is whether this kernel works or not.
thanks!
thanks! ok, so confirmed, answer is noPulls device model from the recovery default.prop
No problemthanks! ok, so confirmed, answer is no
Is porting as simple as that? There are a couple of guides here that indicate the need to copy/update things like:I usually simply remove the assert lines from the updater script, if the installation fails because of device type.
I was under the impression that once the i9100 firmware (+i777 kernel) was installed, the resulting build.prop would allow subsequent i9100 installations without issue.
^^ I'm not 100% sure about that one, I don't run i9100 firmware often.
Hi Lanchon,for the record, nobody has tried and reported on the test kernel yet:
http://forum.xda-developers.com/showpost.php?p=57772448&postcount=24
Flashing an i777kernel.zip does all of that (check the updater.script).Is porting as simple as that? There are a couple of guides here that indicate the need to copy/update things like:
sec_touchkey.kl
modules
boot.img/zImage (I think this one is a given)
If I flash an I777 kernel (or replace the boot.img in the I9100 zip), I was under the impression that I need to do the other two things. Is this not true? Do you confirm that just flashing an I777 satisfies the port?
ok thats good, thanks.Hi Lanchon,
I just flashed a ported I9100 CM11 M12 ROM with your test FPBug kernel embedded into the ZIP. Flashed OK and booted OK.
I attached a shot of the About Phone screen showing the Kernel version.
if i were to publish a kernel i need to do that too. please point me to one or two examples of flashable kernels you trust so i can look at their scripts. thank you!Flashing an i777kernel.zip does all of that (check the updater.script).
The typical i777kernel.zip installation procedure extracts a few files to /system, (which includes the touchkey file), then flashes a zimage to the kernel/recovery partition.
The steps of the guides are correct, if you want to provide a firmware.zip for OTHERS to simply flash-and-go.
-Cyril
I mean I grabbed a i9100 CM11 M12 ROM and modified the ROM's zip to include the boot.img from your kernel ZIP. I also did other modifications to the system to make it I777-compatible.ok thats good, thanks.
what exactly do you mean by "ported"? please dont leave out anything!
lol ok, i wanted you to point me to those modsI mean I grabbed a i9100 CM11 M12 ROM and modified the ROM's zip to include the boot.img from your kernel ZIP. I also did other modifications to the system to make it I777-compatible.
Is this OK or does invalidate your kernel or its fix? Please let me know if I need to do something else to have better confidence in the installation. For example, would you like me to simply install your kernel's ZIP at the end of all this just to be sure?
I9100 CM11 M12 ROMlol ok, i wanted you to point me to those modsthe installation is fine. but fyi this kernel has fpbug fix but NO trim.
if i were to publish a kernel i need to do that too. please point me to one or two examples of flashable kernels you trust so i can look at their scripts. thank you!
so you are saying that you use the i9100 kernel on the i777? this can't work! take a look:I9100 CM11 M12 ROM
CM11-I777-SNAPSHOT-M10 ROM from which I grabbed files like the sec_touchkey.kl and modules.
Regarding a kernel ZIP, I don't usually flash that separately since it's already part of the CM11 ROM (I just use the default CM). The only kernel I flashed in the past is @rogersb11's SHIFT kernel v5.0 but it was unstable for me (occasional audio crackling when listening to music) so I reverted to CM11's.
Hope this helps!
PS: I am yearning for the TRIM version of this kernel because I am curious the difference, and also still squeezing every ounce of stability and performance out of this phone before I switch to something else.![]()
#ifdef CONFIG_SND_SOC_MC1N2_MIC_ADC_SWAP
void swap_mic_adc_paths(MCDRV_PATH_INFO* psPathInfo)
{
UINT8 temp_state;
temp_state = psPathInfo->asAdc0[0].abSrcOnOff[0];
psPathInfo->asAdc0[0].abSrcOnOff[0] = psPathInfo->asAdc0[1].abSrcOnOff[0];
psPathInfo->asAdc0[1].abSrcOnOff[0] = temp_state;
}
#endif