Camelia, the Perl 6 bug

IRC log for #motoactv, 2012-03-27

| Channels | #motoactv index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:52 Cubecloudos joined #motoactv
01:06 christefano joined #motoactv
01:24 cmw joined #motoactv
04:39 bdaman80 joined #motoactv
04:39 bdaman80 left #motoactv
04:42 bdaman80 joined #motoactv
04:46 bdaman80 joined #motoactv
04:55 bdaman80 left #motoactv
06:29 ds2 arrgg
06:29 ds2 what partition is preinstall flashed to?
06:49 ds2 [mbm]: your image is no good - (bootloader) image bigger than partition
07:06 [mbm] huh?
07:07 ds2 [mbm]: you gave me links for a system.img a few days ago
07:07 ds2 fastboot doesn't like it
07:08 ds2 i suspect somewhere along the line (bzip2 maybe?), it got padded out
07:08 ds2 163446784 is the size dd'ed out... yours after unzipping: 163840000
07:10 [mbm] hmm, what version are you on now?
07:11 [mbm] or, I guess were you on ..
07:13 ds2 one sec
07:14 ds2 4.55.78
07:24 [mbm] oh, dammit, they use yaffs2
07:25 [mbm] er, nevermind
07:26 [mbm] anyway, correct size of the filesystem is 163446784 but the partition happens to be slightly larger
07:27 [mbm] feel free to truncate that system.img I gave you
07:27 [mbm] I just did a dd of the partition
07:46 Snoothy joined #motoactv
08:02 christefano joined #motoactv
15:13 cmw joined #motoactv
17:23 CEnnis91 the system.img [mbm] gave you is the one that made the 5.6.0 update.zips llol
17:29 ds2 DOH
17:29 ds2 maybe the update.zip method isn't as picky as fastboot
17:30 ds2 btw, the zip file in the thread didn't work for me either but I could be comepletely off
17:31 ds2 rooted-5.6.0-signed.zip
17:31 dproldan joined #motoactv
17:31 ds2 that did not install with the recovery loader, at least not the recovery.img that came with the ClearD tool
17:52 [mbm] hmm?
17:53 [mbm] recovery is usually created at boot
17:53 [mbm] a script for that
17:54 [mbm] takes boot, applies patch, writes to recovery
17:54 [mbm] but the patch is against the stock boot.img
17:54 [mbm] doesn't work with the rooted img
18:00 dproldan hi
18:00 [mbm] .olleh
18:01 dproldan in the kernel logs,  it shows a failure to run the script to apply that patch,  doesn't it?
18:01 [mbm] probably
18:02 [mbm] the script is something like /system/etc/install-recovery.sh
18:02 [mbm] pretty much a one line sh script to run applypatch
18:03 dproldan <3>[   15.878448] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
18:03 [mbm] oh, the install-recovery is created by the ota update.zip files
18:04 dproldan maybe it is run at a later time
18:04 [mbm] if you haven't applied any updates you won't have it
18:04 dproldan aha
18:05 [mbm] basically the update reboots into recovery and patches boot and system, but isn't allowed to patch recovery
18:05 [mbm] after a reboot and it boots to the new system it updates recovery
18:06 [mbm] designed to help prevent bricks by making sure the system boots before changing recovery
18:06 CEnnis91 ./system/etc/install-recovery.sh and recovery-from-boot.p (patch file) are the two files required for that to work
18:07 CEnnis91 [mbm]: im surprised that was never used for custom recoveries
18:07 CEnnis91 can patch files simply hold an entire overwrite?
18:07 [mbm] CEnnis91: I'm not; patch system ties your recovery to a specific boot
18:07 [mbm] yes and no
18:08 CEnnis91 [mbm]: i meant more for something like cyanogenmod, but i guess when swapping around kernels that would become a pita
18:08 [mbm] applypatch requires an sha1sum for before/after
18:09 [mbm] so even if you use it to overwrite the entire file/partition you need to know the sha1sum of the before part
18:09 CEnnis91 meh
18:11 christefano joined #motoactv
18:21 christefano joined #motoactv
22:15 cmw joined #motoactv
22:57 dantalizing joined #motoactv

| Channels | #motoactv index | Today | | Search | Google Search | Plain-Text | summary