Camelia, the Perl 6 bug

IRC log for #motoactv, 2012-04-02

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

All times shown according to UTC.

Time Nick Message
00:01 Bugaboo75 joined #motoactv
00:14 Bugaboo75 Hi, is anyone on?  I was asked to join this channel so the motoactv 16gb image could be extracted.
00:16 [mbm] hello
00:17 Bugaboo75 hi
00:17 [mbm] are you familiar with fastboot already?
00:18 Bugaboo75 for phones - haven't done anything with the motoactv other than peruse xda
00:18 [mbm] works exactly the same way
00:18 Bugaboo75 ok sounds good.  I'm very good at following directions. ;)
00:19 [mbm] what version is the motoactv running?
00:19 Bugaboo75 the latest version.  let me check what it is on motocast
00:20 [mbm] nah, not important
00:20 Bugaboo75 OK, had checked for any updates, and there weren't any, so I think I'm on the latest
00:20 [mbm] http://dl.opticaldelusion.org/recovery.img
00:20 [mbm] http://dl.opticaldelusion.org/misc.img
00:21 [mbm] after flashing those it should boot into recovery with adb active
00:22 Bugaboo75 do I need to download drivers for adb?
00:22 [mbm] dunno, I use linux ;)
00:23 Bugaboo75 hmm, I'm on Windows 7...
00:24 [mbm] first step is to use fastboot to flash misc and recovery
00:25 Bugaboo75 OK, what buttons do I need to press to get into fastboot?
00:26 [mbm] power off, hold down start and press power
00:28 Bugaboo75 My firefox is running a bit wonky.  Let me restart and I'll re-join.
00:31 Bugaboo75_ joined #motoactv
00:31 Bugaboo75_ sorry mbm, back on
00:31 [mbm] re.
00:31 Bugaboo75_ so go into fastboot - without being connected to computer right?
00:34 Bugaboo75 joined #motoactv
00:34 Bugaboo75 sorry, I got booted off somehow.  mbm, fastboot w/o being connected to computer right?
00:37 [mbm] hmm? you're supposed to connect to fastboot and flash those two images I gave earlier
00:38 Bugaboo75 ok, but taking a quick look at the motactv wiki, it looks like I may need drivers for the motoactv
00:39 Bugaboo75 I had set up drivers for my phone, with fastboot image, and am unsure if I need to uninstall before running fastboot and flashing the 2 images
00:40 [mbm] shouldn't need to
00:41 [mbm] suggest just trying to flash and deal ith problem as they happen instead of obsessing over things which may not even matter
00:43 Bugaboo75 gotcha, gimme a few minutes - I gotta take a call
00:43 * kr1t1c4l wanders off during the ad break
00:45 Bugaboo75 ok, I'm back and in fastboot mode
00:46 Bugaboo75 what commands to flash the 2 files?
00:48 [mbm] fastboot flash recovery recovery.img
00:48 [mbm] fastboot flash misc misc.img
00:48 [mbm] fastboot reboot
00:50 Bugaboo75 damn, says fastboot command not recognized
00:50 Bugaboo75 I think I may need specific motoactv drivers
00:51 [mbm] you're confusing drivers and ccommands
00:51 Bugaboo75 LOL, you're probably right.
00:51 [mbm] you need the fastboot.exe util
00:51 [mbm] which if you've used fastboot before you probably have somewhere
00:52 Bugaboo75 gotcha, so the fastboot that I used for rooting my phone will be okay to use?
00:52 [mbm] yep
00:52 Bugaboo75 ok, lemme try again then
00:53 Bugaboo75 bingo
00:53 Bugaboo75 worked this time
00:54 Bugaboo75 now I have a prompt on the motoactv that says "reboot system now."  How do I do this?
00:55 [mbm] that's just recovery, ignore what it says on the screen for now
00:55 Bugaboo75 ok, what next then?
00:55 [mbm] now you need to connect to it from adb
00:56 Bugaboo75 okay, isn't this where I need specific drivers to connect by adb?
00:56 [mbm] try it first and see what happens :P
00:58 Bugaboo75 okay, what command do you want me to type for adb?
00:58 [mbm] adb shell
00:59 Bugaboo75 ok, that seemed to work
00:59 [mbm] cool.
01:00 Bugaboo75 now I have a  /# prompt
01:00 Bugaboo75 what next?
01:01 [mbm] right, so now we need to start grabbing copies of all the partitions
01:01 Bugaboo75 ok, lemme know what I need to type in
01:02 [mbm] chmod 777 /dev/block/*
01:02 Bugaboo75 didn't seem to do anything
01:03 [mbm] that's fine
01:03 Bugaboo75 ok
01:04 Bugaboo75 what next?
01:04 [mbm] next thing is to run "cat /proc/partitions" .. it'll give you a nice list, copy it into notepad or something
01:06 Bugaboo75 got the listing - how the hell do you copy from the cmd window??
01:06 Bugaboo75 or I guess I can take a screen shot
01:06 Bugaboo75 ok, got a screenshot
01:07 [mbm] windows? click the dos ion in the left of the title bar, edit->mark
01:07 [mbm] drag a selection and then edit->copy
01:09 Bugaboo75 ok, cool, got it
01:09 Bugaboo75 now what?
01:09 [mbm] actually, go to http://pastebin.com paste that and give me the url of the paste
01:10 Bugaboo75 okay, pasted it in.  just click "submit"?
01:11 [mbm] yep
01:11 Bugaboo75 http://pastebin.com/1jdjVUvQ
01:11 Bugaboo75 hopefully you can see the info
01:12 [mbm] yep,
01:12 Bugaboo75 ok, cool
01:12 [mbm] looks almost identical to the 8g version
01:12 Bugaboo75 but not exactly?
01:12 [mbm] the emstorage is larger
01:12 Bugaboo75 guess that makes sense
01:12 Bugaboo75 if it's just the storage component
01:13 Bugaboo75 what next?
01:13 [mbm] so now we need to backup partitions, the important ones are boot and system
01:13 Bugaboo75 ok, please give me the adb commands and I'll type in
01:14 [mbm] boot is mmcblk1p12, so drop out of adb shell and run the command "adb pull /dev/block/mmcblk1p12 boot.img"
01:16 Bugaboo75 hmm, I typed in exit, and then typed in your command, but got this message: remote object '/dev/block/mmcblk1p12' not a file or directory
01:17 [mbm] huh; are you sure you typed it correctly?
01:17 Bugaboo75 I'll try again.  had copied and pasted in
01:18 Bugaboo75 dunno what's wrong, but still get the same error
01:19 Bugaboo75 the command window is still opened from the folder with fastboot
01:19 [mbm] try this -
01:19 [mbm] adb shell ls -l /dev/block/mmcblk1p12
01:20 Bugaboo75 that did something
01:20 [mbm] yes, but I need to know what it said
01:21 [mbm] it it start with brwxrwxrwx ?
01:21 Bugaboo75 brwxrwxrwx    1 0        0        179,  44 Jan  1 00:09 ←[1;35m/dev/block/mmcblk 1p12←[0m
01:21 [mbm] ok, good, not a permissions problem
01:22 Bugaboo75 tried entering the adb pull command, but still getting the same message.  ??
01:23 kr1t1c4l theres a space in the file name mmcblk 1p12 ?
01:23 [mbm] assumed that was a cut and paste error
01:24 Bugaboo75 there shouldn't be a space, right?
01:24 kr1t1c4l ah
01:24 Bugaboo75 ok, am guessing you figured it out?
01:26 [mbm] just firing up my windows machine to see if there's some stupidity with running adb under windows
01:26 Bugaboo75 may be me doing something stupid
01:26 Bugaboo75 but I've had adb work before when working with my phones
01:28 Bugaboo75 whoa, I entered in the adb pull, with a space in the file name like you had mentioned, and it spit out a lot of text
01:29 Bugaboo75 you want me to drop into pastebin again?
01:30 Bugaboo75 http://pastebin.com/p8PYeLRH
01:32 kr1t1c4l Bugaboo75: thats just help stuff when the program doesn't understand the command
01:32 Bugaboo75 gotcha
01:33 Bugaboo75 not really sure why the command isn't working, since I've both pasted and typed in the adb pull command
01:33 [mbm] hmm, my windows machine is also acting weird with the pull command
01:33 Bugaboo75 hmm, so it's not me doing something stupid
01:33 Bugaboo75 that's a start
01:33 kr1t1c4l adb pull <remote> [<local>]  - copy file/dir from device
01:34 kr1t1c4l thats from the help output
01:34 [mbm] kr1t1c4l: yeah, but I'm cutting corners trying to pull data directly from the flash without creating files
01:34 kr1t1c4l ah
01:34 [mbm] guess we'll do it the slow way
01:35 [mbm] go back in adb shell
01:35 Bugaboo75 i'm in
01:35 Bugaboo75 and should I be worried about battery, since my screen has been on for a while?
01:35 Bugaboo75 wasn't sure if there would be an issue if battery ran down
01:36 [mbm] hasn't been in there that long
01:36 Bugaboo75 ok good
01:36 Bugaboo75 how long, will the long way take?
01:36 [mbm] anyway, "mount /dev/block/emstorage /sdcard"
01:37 Bugaboo75 done
01:37 [mbm] cp /dev/block/boot /sdcard/boot.img
01:38 Bugaboo75 done
01:38 [mbm] umount /sdcard
01:39 Bugaboo75 got this message: /system/bin/sh: unmount: not found
01:39 [mbm] umount /sdcard
01:39 [mbm] second letter is an m ;)
01:39 Bugaboo75 sorry, got it.  worked this time
01:40 [mbm] then look at the motoactv, make sure reboot is selected and hit the start button
01:40 Bugaboo75 okay, did it, and now it looks like it's rebooting
01:41 [mbm] when it boots back up you should be able to copy boot.img off the usb drive
01:41 Bugaboo75 okay, it's rebooted
01:41 Bugaboo75 battery is 30%
01:41 Bugaboo75 charging by usb now
01:42 Bugaboo75 what now?
01:42 Bugaboo75 or should I charge to 100% and try again tomorrow?
01:42 [mbm] plug it in the computer, it should show up as a removable usb drive
01:43 Bugaboo75 yeah, it is
01:43 [mbm] grab a copy of boot.img and upload it somewhere
01:43 [mbm] (mediafire?)
01:44 Bugaboo75 or I can drop into dropbox - I think I can send you the folder link
01:44 [mbm] that works
01:45 Bugaboo75 http://dl.dropbox.com/u/6642209/boot.img
01:45 Bugaboo75 see if you can download
01:47 Bugaboo75 now what?
01:48 [mbm] got it.
01:49 Bugaboo75 ok cool
01:49 [mbm] probably best to just let the battery charge before doing anything else
01:50 Bugaboo75 OK, sounds good.  I'll rejoin again tomorrow night.  Will you be back on (~7:30 pm EST)?
01:51 [mbm] I probably on't be around until closer to 9pm
01:52 Bugaboo75 ok, will try then.  Have a good one.
01:52 [mbm] at this point you can reflash boot.img with the rooted version but I'd like to get a copy of system before you go mangling any files there
01:52 Bugaboo75 yeah, don't wanna mess anything up without getting a backup!
01:53 Bugaboo75 will hold off on flashing anything until we chat again tomorrow night
01:56 utkanos nice [mbm]
02:06 cubecloudos joined #motoactv
02:14 cubecloudos joined #motoactv
02:21 kljalkdjf joined #motoactv
02:22 kljalkdjf whowas cubecloudos
02:22 kljalkdjf it was me...
02:22 kljalkdjf im having trouble though
02:23 kljalkdjf I flashed CleadDroid rom
02:23 kljalkdjf and now it won't boot at all
02:23 kljalkdjf can anyone help?
02:23 kljalkdjf it doesn't even turn on at all...
02:25 kljalkdjf I can't get into fastboot either...
04:52 christefano joined #motoactv
05:11 CEnnis91 oh thats right yesterday was sunday
05:11 CEnnis91 [mbm]: is this the 16gb boot.img? 9:45:14 PM <Bugaboo75> http://dl.dropbox.com/u/6642209/boot.img
05:13 [mbm] should be
05:14 [mbm] he's supposed to come back at 9pm eastern to sort out how to backup system
05:43 christefano joined #motoactv
05:52 dproldan joined #motoactv
08:14 christefano joined #motoactv
13:37 cmw joined #motoactv
15:56 utkanos joined #motoactv
15:56 utkanos gentlemen
15:56 dproldan sir
16:34 CEnnis91 [mbm]: so, i just got around to diff-ing, it IS only the kernel that differs at this point
16:43 dproldan joined #motoactv
17:00 utkanos dproldan, comí el mejor huarache que he probado este sábado, la masa era perfecta y hecha a mano :)
17:01 dproldan me alegro,  no hay nada como una buena comida :-)
17:02 bigbob joined #motoactv
17:07 utkanos dproldan: gracias, estoy de acuerdo
17:07 dproldan <--- flashing a new CM7 build,  crosses fingers
17:08 utkanos :)
17:08 utkanos awesome
17:10 bigbob sweet
17:11 dproldan rebooting....
17:12 bigbob I am thinking about picking up a Motoactv today....that might have just made my decision...lol
17:12 dproldan too soon  :-P
17:13 dproldan doesn't boot
17:14 dproldan is it possible to see what's inside a initramfs?
17:14 [mbm] CEnnis91: yeah, saw that already, and I suspect the only thing in the kernel that differs is the build timestamp
17:15 [mbm] CEnnis91: still, if we're going to offer a return to stock we need all the sha1 hashes to match or the next ota fails on applypatch
17:15 bigbob I am not a fitness buff, but I do have an obsession with tinkering, android and watches.  Would you guys recommend I pick one up for those reasons?   l clearly see there is still dev. support which is a big plus.
17:16 dproldan sure,  I bought one for those same reasons
17:19 [mbm] dproldan: sure, initramfs is just a cpio.gz
17:19 dproldan ok, let me try
17:20 [mbm] bigbob: it's basically a droid1 with a tiny screen (no 3g though)
17:21 bigbob Cool...does it place nicely with non-moto phones or does it have to be modified first?
17:21 bigbob sorry I meant play nicely
17:22 [mbm] think the motoactv app that syncs it to phones is locked down to only run on moto phones
17:22 dproldan I used the wrong word,  I was already comparing the ramdisk of the stock boot.img to the one that I'm building,
17:22 dproldan I want to compare "init" inside the ramdisk
17:22 [mbm] not that it really needs to be connected to a phone
17:23 [mbm] dproldan: init is a binary that runs the init.rc stuff
17:23 bigbob I gonna go get one...I am sure I will be bothering you guys later....Thanks for the feed back.
17:23 dproldan there's a hacked motoactvapp that works with non.motorola phones,  and they're also releasing a new one this motnh
17:24 bigbob Great thanks dproldan
17:24 [mbm] hmm, just saw a news article about yet another stock firmware update
17:24 utkanos yeah another FW update coming soon
17:24 utkanos dproldan: pm
17:25 [mbm] http://www.droid-life.com/2012/04/02/motoactv-golf​-update-build-6-6-is-available-now-quick-hands-on/
17:25 [mbm] not sure if that differs from the golf one I loaded on saturday
17:26 utkanos interesting how many updates there are to this device
17:26 utkanos yet all the other moto stuff is ancient and very behind on updates
17:26 bigbob Ya, that really doesn't make sense, since it's more of a niche device
17:27 utkanos and.. in typical moto fashion, they're going to split their customer base by introducing essentially the exact same thing with diff software in the 'golf' edition
17:27 dproldan left #motoactv
17:27 [mbm] maybe it's because they don't need to pass carrier and reglitory testing
17:27 utkanos lol
17:27 dproldan joined #motoactv
17:27 dproldan left #motoactv
17:28 utkanos you mean due to lack of radio?
17:28 utkanos telephony that is
17:28 [mbm] utkanos: just wait until they make a motoactv golf maxx, few mm thicker and double the battery :P
17:28 [mbm] utkanos: yeah
17:28 utkanos yeh exactly
17:28 utkanos its a shame
17:29 utkanos they should focus on making one good core product
17:29 bigbob lmao...moto got me with that on the razr...really pissed me off
17:29 utkanos it's absurd sholes is basically up to droid 4
17:29 utkanos in less than 2 years
17:29 utkanos each one has one slight modification
17:30 [mbm] utkanos: well, let ke put it this way; nobody pays for android os upgrades, so there's no profit in it, people do however buy new phones when their phone nolonger runs a recent os
17:30 dproldan joined #motoactv
17:31 utkanos I totally understand that
17:31 [mbm] evil, but it's the truth
17:31 utkanos but at the same time, I feel its really aggressive with moto
17:31 utkanos at least compared to say HTC
17:31 utkanos where the evo is STILL somehow selling incredibly well
17:31 [mbm] ditto, I hate the fact that most of the hardware is locked down
17:32 utkanos yep
17:32 bigbob Well it seems lately moto has been the worst with releasing devices with very little differences, thats why I went to the Sammy Gnex
17:32 utkanos I'm sort of bitter about toro
17:32 utkanos because of google's dropped AOSP support
17:32 utkanos but I'll leave that impotent rage for another day
17:32 bigbob lol,,,thanks...I gonna go get my shiny new what...yall have a good one.
17:33 bigbob *watch
17:35 dproldan heh
17:36 dproldan he'll be back asking about 8GB or 16GB
17:41 CEnnis91 [mbm]: true, which means we still need to grab each boot.img and system.img for the 16gb as they come?
17:41 [mbm] CEnnis91: nah, we only need one complete set per device
17:42 CEnnis91 oh, thats true, then they just apply multiple updates
17:42 [mbm] can always run update-binary manually to walk a set forward to the next release
17:42 [mbm] btw, see above? they already pushed out another golf update
17:43 CEnnis91 lol...is it active this time
17:44 CEnnis91 or does it still need a manual pull
17:44 [mbm] dunno, not at home to check
17:45 CEnnis91 crap well i have work
17:45 CEnnis91 bbl
18:41 christefano joined #motoactv
20:25 mbm joined #motoactv
21:14 dproldan left #motoactv
21:56 manielse joined #motoactv
21:59 manielse Just got my MotoACTV 16GB. Should I grab latest software updates before I root? If I root, can I get all of the new app/updates yet?
22:11 [mbm] you running windows or linux?
22:12 manielse Windows but have no issue using Linux if preferred approach
22:15 [mbm] just need someone with a stock 16g who runs linux
22:20 manielse So if someone has a stock 16g and runs linux, I can grab those new files after I root and add my multiple launchers?
22:21 [mbm] it's mostly just a matter of nobody here having a complete backup of a 16g, and it's easier to do the backup from linux
22:22 manielse Ah, gotcha
22:22 [mbm] as far as rooting you can do whatever you want, allowing for the caveat above that nobody has backups to restore it to stock if you screw up
22:24 [mbm] so I'm trying to find someone reasonably competent in linux to grab proper backups
22:24 manielse Won't call myself expert but not n00b either
22:26 [mbm] well, fire up linux and I'll try to walk you through it
22:28 manielse Not near my CentOS box, so I'd have to do it another time. Don't even have MotoACTV charging yet, just was exploring whether I should grab them updates or prevent them once booted.
22:28 Funkyb joined #motoactv
22:29 manielse Will happily try to grab a backup later though.
22:30 [mbm] manielse: the updates aren't really a big deal, however all of the updates are patches to the previous firmware and relies on sha1 hashes
22:32 [mbm] and annoyingly they appear to have recompiled between the 8g and 16g models so even otherwise identical executables have different crc/md5/sha1 just based on timestamp
22:33 manielse Yeah, I got that in the message boards.
22:35 [mbm] hardware wise, the only difference is the size of the flash chip, specifically the last partition on it that acts as usb storage
22:36 [mbm] same rooting tricks, custom roms and whatever else for both 8g and 16g
22:36 manielse So, they split the partition 8g/8g?
22:37 [mbm] the 8g uses up something like 2g for various android os related partitions leaving it with about 6g of storage
22:38 [mbm] the 16g has the exact same partition layout with the exception that the last partition is about 14g
22:39 [mbm] (don't have my notes with me, so my memory may be slightly off)
22:39 manielse no prob, I'll be exploring this week.
22:40 [mbm] http://pastebin.com/1jdjVUvQ
22:40 [mbm] there we go; that's the layout of a 16g
22:41 [mbm] reasonably familiar to anyone who's done any android work, particularly on moto devices
22:43 manielse Yeah, that looks kind of like my old Moto Droid.
22:44 [mbm] yep, but easier - these use emmc instead of a nand chip
22:44 CEnnis91 god im already tired of releasing stock images for this device; time for a new method
22:44 [mbm] so it basically has a sd card soldered to it and uses a dos partition table
22:45 [mbm] CEnnis91: lol
22:45 cmw joined #motoactv
22:45 CEnnis91 [mbm]: im just gonna have it unpack the boot.img on the device
22:45 CEnnis91 and insert the edits there
22:45 CEnnis91 make the root universal
22:45 [mbm] CEnnis91: the problem is people insist on bundling the stock images with the root tools
22:46 CEnnis91 omg dont remind me
22:46 CEnnis91 i want all root tools for this thing gone
22:46 [mbm] lol
22:46 [mbm] I can't say I blame you
22:46 CEnnis91 fastboot > recovery > ... > ... > root tools
22:47 CEnnis91 ... = something that i can think of but has to be a better method then root tools
22:47 CEnnis91 cant*
22:47 [mbm] ">" translates to "more awesome than"?
22:47 CEnnis91 that could imply that root tools = awesome, so no
22:48 CEnnis91 less annoying perhaps
22:48 [mbm] well, would imply fastboot is more awesome than recovery ... root tools
22:49 [mbm] and at least in terms of being incredibly direct, fastboot is awsome
22:50 CEnnis91 well yea of course
22:50 CEnnis91 is fastboot all google?
22:50 [mbm] downside is fastboot doesn't have any concept of filesystem, so changing just one file is a pain
22:50 CEnnis91 or did it exist elsewhere prior to android
22:50 [mbm] think google invented it for android
22:52 CEnnis91 also regarding the concept of filesystem, you have to admit, this is where recovery comes in as awesome =)
22:52 [mbm] redovery would be awesome if there was a hotkey for it
22:53 [mbm] requiring fastboot to get into recovery makes me more inclined to use fastboot as much as possible
22:54 CEnnis91 i still cant believe they didn't include one
22:54 CEnnis91 i find it really hard to belive
22:55 CEnnis91 have you tried the back button in the key combos?
22:55 [mbm] yep,
22:55 [mbm] I tried a ton of key combos didn't find anything other than fastboot/sbf
22:56 CEnnis91 have you tried key combos within fastboot
22:56 CEnnis91 like how you got from fastboot to sbf
22:56 [mbm] yep
22:56 CEnnis91 got it
22:56 [mbm] fastboot to sbf isn't possible; you hold down different keys at boot to get into those
22:56 CEnnis91 we should 2nd-init to make it boot into recovery =P
22:57 [mbm] oh god no
22:57 CEnnis91 oh whats the keycode for sbf?
22:57 [mbm] umm, music+power
22:57 CEnnis91 okay
22:57 CEnnis91 ill have to remember that
22:58 [mbm] actually holding down power and any other key will get you into the bootloader
22:58 CEnnis91 heh
22:58 [mbm] look at the screen to see if it says fastboot
22:58 manielse OK, I'm a n00b here but I thought I read to put the device in fastboot mode Turn off the device and hold the power key and the start key for 3 seconds then release.
22:58 CEnnis91 maybe there was a typo
22:58 CEnnis91 also, what's your opinion of this [mbm] http://forum.xda-developers.​com/showthread.php?t=1522226
22:58 CEnnis91 bootloader menu
22:59 [mbm] manielse: iirc, hold the start key, tap power
22:59 manielse http://forum.xda-developers.​com/showthread.php?t=1454685
23:00 [mbm] CEnnis91: that's actually nice, but it doesn't apply here
23:01 [mbm] manielse: so you gave up the idea of performing a backup first? :/
23:01 CEnnis91 le sigh
23:01 manielse No, just trying to help in this convo  :-)
23:02 CEnnis91 [mbm]: well, more of the idea of a 2nd bootloader in general
23:02 [mbm] I'm not sure we can allow references where the screenshots are that horrid ;)
23:02 CEnnis91 why wouldnt that be applicable to any device?
23:03 CEnnis91 yea what an ugly desktop he has there
23:03 CEnnis91 at least i keep my windows desktop clean for when i boot into it
23:04 [mbm] CEnnis91: it works on the nook because there actually is an sdcard slot and by toggling a few registers you can trick the cpu into booting from it -- it's not a 2ndboot/2ndinit, it literally is rebooting
23:04 CEnnis91 oh, i see
23:04 CEnnis91 (i knew it wasnt 2ndboot/2ndinit)
23:05 CEnnis91 fwiw my desktop (when the icons aren't hidden): http://dl.dropbox.com/u/5849675/windows.png
23:05 [mbm] for that matter usb boot is also possible
23:05 [mbm] problem is that on hs chips usb boot needs to be signed
23:06 CEnnis91 [mbm]: out of curiousity, what would happen if you loaded a recovery into boot.img?
23:06 CEnnis91 would it fail, or load up recovery
23:07 [mbm] it'd boot recovery
23:07 CEnnis91 thought it might
23:07 CEnnis91 now
23:07 [mbm] but then it'd also overwrite itself when the update wrote boot.img
23:08 CEnnis91 in turn, if said reboot recovery and but boot.img into recovery's slot, what would happen
23:08 CEnnis91 would android os fail, because it would be reading from the wrong partition?
23:08 CEnnis91 omg so many errors
23:08 CEnnis91 in turn, if YOU said reboot recovery and PUT boot.img into recovery's slot, what would happen
23:08 [mbm] hmm, that'd probably work
23:09 [mbm] but you'd still break ota updates for having the two swapped
23:09 CEnnis91 well yea, but in most cases, after you root, you dont want ota's =P
23:10 CEnnis91 but using that simple swap, would i really be that easy to have, say a "2nd bootloader"?
23:10 [mbm] one other thing to watch out for
23:11 [mbm] if you remember the misc trick for getting the bootloader to load recovery
23:11 [mbm] recovery itself will sometimes try to write that so if it gets interrupted it goes back into recovery
23:13 CEnnis91 if what get interrupted, recovery writing to misc?
23:14 [mbm] hmm?
23:14 CEnnis91 "...so if it gets interrupted..."
23:14 CEnnis91 what is "it"
23:15 [mbm] so, suppose the system takes an ota, writes it to cache and then reboots into recovery
23:15 CEnnis91 yep
23:15 [mbm] first thing recovery will do is write it's own commandline to misc
23:16 CEnnis91 oh
23:16 [mbm] so that if power is lost or whatever, it goes right back into recovery and loads the ota
23:16 CEnnis91 i always thought it used cache
23:16 [mbm] that's only part of it
23:16 CEnnis91 oh, so sidenote
23:17 CEnnis91 if you really want to stop and ota
23:17 CEnnis91 write a blank misc in fastboot
23:17 CEnnis91 s/and/an/
23:17 [mbm] read the recovery sources and pay atgention to stuff like set_bootloader_message
23:17 * CEnnis91 goes to look
23:17 [mbm] heh yep, actually the bootloader wipes misc after each bootup
23:19 CEnnis91 what a surprise all instances of that func are in bootloader.c and recovery.c
23:19 CEnnis91 strlcpy(boot.command, "boot-recovery", sizeof(boot.command));
23:19 CEnnis91 heh, that keeps coming back
23:21 CEnnis91 does it really matter where you put "boot-recovery" in misc.img?
23:22 CEnnis91 yours has it offset quite a bit
23:27 [mbm] think it does
23:32 christefano joined #motoactv

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