Camelia, the Perl 6 bug

IRC log for #motoactv, 2013-01-13

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

All times shown according to UTC.

Time Nick Message
00:27 dproldan ??  http://forum.xda-developers.com/showp​ost.php?p=36637076&postcount=421
00:28 Atarii yea that's the booti.img with the extra bluetooth profiles enabled
00:29 Atarii not really sure how that wouldn've affected certain apps working with tethering
00:29 dproldan all those things already worked,  AFAIK
00:30 dproldan or did some time ago
00:30 Atarii i'm guessing it was just a fluke
00:31 dproldan you took boot.img from stock or DPRom9?
00:31 Atarii yours
00:31 Atarii dprom9
00:31 Atarii extracted the RAMDisk
00:31 Atarii re-enabled those commented out bluetooth profiles
00:32 Atarii compiled it back up
00:33 dproldan ok  :-)
00:34 dproldan there's some placebo effect going here
00:35 Atarii yea, it just enabled HFAG, HSAG, OPUSH and PBAP
00:36 Atarii HFAG = Handsfree Audio Gateway, HSAG = Headset Profile, OPUSH = object push, PBAP = Phone book access profile
00:36 Atarii so...
00:36 Atarii lol
00:39 Atarii funny finding spelling errors in the code
00:39 Atarii "unknow_product"
02:00 dproldan this line is in init.mapphone.rc
02:00 dproldan exec /system/bin/enc_mgt_tool
02:00 dproldan but that executable is not present in /system/bin/
02:01 Atarii " mount eCryptFS if required"
02:01 dproldan shouldn't this hangup the booting process?
02:02 Atarii no it's just the same asif you try to run a file which doesn't exist
02:02 Atarii i.e. it would output "/system/bin/enc_mgt_tool: not found"
02:02 dproldan ok,  I read something about init being very picky about the exec commands
02:03 dproldan maybe it's only that it needs a specific retuned value
02:04 dproldan https://github.com/dproldan
02:04 dproldan now it has vendor and device
02:04 Atarii sweet! :D
02:04 Atarii nice work
02:04 dproldan and it builds!
02:05 Atarii awesome!
02:05 dproldan next things todo:
02:05 Atarii now just to get it to boot (!) :p
02:05 dproldan add all the proprietary blobs
02:06 dproldan find good release tools that build the OTA fila en right imgs
02:06 dproldan *file and
02:07 Atarii might have to make changes to the boot.img (ramdisk)?
02:15 Atarii right, I'm off
02:15 Atarii nice work dproldan, I'll see you later
02:16 dproldan yep,  bye
03:44 CEnnis91|Mobile joined #motoactv
10:12 dproldan joined #motoactv
10:42 Atarii joined #motoactv
10:42 Atarii joined #motoactv
11:31 CEnnis91_ joined #motoactv
16:32 Atarii joined #motoactv
16:32 Atarii joined #motoactv
18:38 dproldan joined #motoactv
18:51 Atarii hey dproldan
18:51 dproldan hi
18:52 dproldan I think this is in a state where it should boot
18:53 dproldan but I think this is still making the img with yaffs instead of ext3
18:53 dproldan I'm lookin for the correct way to tell the build system to use my provided releasetools sun such
18:58 Atarii ok cool
18:58 Atarii i'll have a look
18:58 Atarii probably should set up a build enviroment too
18:58 dproldan the motorola shadow has the same fstypes as the motoactv,  trying to copy from that
19:01 Atarii hmm
19:01 Atarii BOARD_MKE2FS := device/motorola/shadow/mke2fs ?
19:01 Atarii brb
19:42 evanzo23 joined #motoactv
20:48 Atarii back :)
20:52 dproldan hi
20:52 Atarii any luck with the fs type?
20:52 dproldan I'm reading the makefiles,  trying to make sense of them
20:52 Atarii that mke2fs is the binary to make ext* filesystems
20:53 Atarii shadow  has:
20:53 Atarii BOARD_HAS_LARGE_FILESYSTEM := true
20:53 Atarii BOARD_MKE2FS := device/motorola/shadow/mke2fs
20:53 Atarii in the BoardConfig.mk
20:54 dproldan yes
20:56 dproldan the check to make it yaffs or ext is in this file /build/tools/releasetools/img_from_target_files
20:56 dproldan if OPTIONS.info_dict["fstab"]["/da​ta"].fs_type.startswith("ext"):
20:56 dproldan build_command = ["mkuserimg.sh",
20:56 dproldan user_dir, img.name,
20:56 dproldan OPTIONS.info_dict["fstab"]["/data"].fs_type, "data"]
20:56 dproldan if "userdata_size" in OPTIONS.info_dict:
20:56 dproldan build_command.append(str(OPTION​S.info_dict["userdata_size"]))
20:56 dproldan else:
20:56 dproldan build_command = ["mkyaffs2image", "-f"]
20:56 dproldan extra = OPTIONS.info_dict.get("mkyaffs2_extra_flags", None)
20:56 dproldan if extra:
20:56 dproldan build_command.extend(extra.split())
20:56 dproldan build_command.append(user_dir)
20:56 dproldan oh
20:57 Atarii oh right
20:57 dproldan that's for userimg
20:57 dproldan one sec
20:57 Atarii ah
20:57 dproldan same thing for system
20:57 dproldan if OPTIONS.info_dict["fstab"]["/sys​tem"].fs_type.startswith("ext"):
20:57 dproldan build_command = ["mkuserimg.sh",
20:57 dproldan os.path.join(OPTIONS.input_tmp, "system"), img.name,
20:57 dproldan OPTIONS.info_dict["fstab"]["/system"].fs_type, "system"]
20:57 dproldan if "system_size" in OPTIONS.info_dict:
20:57 dproldan build_command.append(str(OPTIO​NS.info_dict["system_size"]))
20:57 dproldan else:
20:57 dproldan build_command = ["mkyaffs2image", "-f"]
20:57 dproldan extra = OPTIONS.info_dict.get("mkyaffs2_extra_flags", None)
20:57 dproldan if extra:
20:57 dproldan build_command.extend(extra.split())
20:57 dproldan build_command.append(os.pa​th.join(OPTIONS.input_tmp, "system"))
20:57 Atarii where was that file from?
20:57 Atarii the original vanilla source?
20:58 dproldan yes
21:00 dproldan https://github.com/android/platform_​build/tree/master/tools/releasetools
21:08 dproldan I'm goind to bed early today
21:08 dproldan this is what I have at the moment:
21:08 dproldan https://github.com/dproldan
21:08 Atarii ok cool
21:09 Atarii think i'll get this checked out and set up
21:09 dproldan added some instructions :  https://github.com/dproldan/android_de​vice_motorola_G2/blob/master/README.md
21:09 Atarii ok nice :)

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