00:22.15 | *** join/#htc-linux ImCoKeMaN (~imcokeman@pool-98-111-113-96.hrbgpa.fios.verizon.net) |
00:23.56 | *** join/#htc-linux gassedup (faxed@c-76-30-161-228.hsd1.tx.comcast.net) |
00:57.15 | *** join/#htc-linux dr1337 (~textual@120.149.146.188) |
03:52.19 | *** join/#htc-linux gassed (~gassedup@c-76-30-18-103.hsd1.tx.comcast.net) |
03:53.26 | *** join/#htc-linux gassedup (faxed@c-76-30-18-103.hsd1.tx.comcast.net) |
07:11.44 | *** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl) |
08:51.21 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
08:54.15 | *** join/#htc-linux ElFinLazz (~elfinlazz@182.215.84.22) |
09:25.50 | *** join/#htc-linux rob_w (~bob@ppp-88-217-73-106.dynamic.mnet-online.de) |
09:25.51 | *** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029) |
09:38.30 | *** join/#htc-linux paulk-desktop (~paulk@lib33-1-82-233-88-171.fbx.proxad.net) |
10:43.30 | *** join/#htc-linux helicopter88 (~helicopte@host251-116-dynamic.55-79-r.retail.telecomitalia.it) |
11:07.33 | *** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13) |
11:49.33 | *** join/#htc-linux kiozen (~kiozen@ppp-93-104-80-56.dynamic.mnet-online.de) |
11:52.44 | *** join/#htc-linux ccube (ccube@nx.ccube.de) |
11:52.58 | *** join/#htc-linux LordDeath (~LordDeath@cable-81-173-164-174.netcologne.de) |
11:54.27 | *** join/#htc-linux LordDeath (~LordDeath@cable-81-173-164-174.netcologne.de) |
11:56.05 | *** join/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
12:03.05 | *** join/#htc-linux ccube (ccube@nx.ccube.de) |
12:16.06 | *** join/#htc-linux zeusk (77eb360e@gateway/web/freenode/ip.119.235.54.14) |
12:45.56 | zeusk | what is the difference in dex_comm and proc_comm ? |
12:56.40 | zeusk | ?? |
12:57.07 | *** join/#htc-linux ccube (ccube@nx.ccube.de) |
12:58.30 | *** join/#htc-linux leviathan (~quassel@2001:470:26:484:6ef0:49ff:fee6:8dca) |
13:04.54 | *** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
13:07.02 | *** join/#htc-linux helicopter88 (~helicopte@host251-116-dynamic.55-79-r.retail.telecomitalia.it) |
13:19.33 | *** join/#htc-linux ahigerd (~ahigerd@173.218.156.102) |
13:19.34 | *** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd) |
13:46.12 | *** join/#htc-linux anver (~miranda@shpd-92-101-133-192.vologda.ru) |
13:50.32 | *** part/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
13:50.47 | *** join/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
14:05.26 | *** join/#htc-linux TheXev (~user@2001:0:4137:9e76:2055:fb6e:5118:b9f5) |
14:07.59 | *** join/#htc-linux AstainHellbring (AstainHell@c-67-172-255-225.hsd1.ut.comcast.net) |
14:08.00 | *** join/#htc-linux AstainHellbring (AstainHell@unaffiliated/astainhellbring) |
14:21.15 | *** part/#htc-linux TheXev (~user@2001:0:4137:9e76:2055:fb6e:5118:b9f5) |
14:35.53 | *** join/#htc-linux Alex[sp3dev] (~alexander@178.76.204.13) |
14:46.31 | *** join/#htc-linux AstainW00T (~AstainHel@unaffiliated/astainhellbring) |
14:54.18 | zeusk | alex |
14:58.35 | *** join/#htc-linux balans2 (~user@82-170-217-205.ip.telfort.nl) |
15:05.26 | ahigerd | rolls in, sees jonpry, does not see detule, drops off http://pastebin.com/f35piAtC anyway |
15:13.01 | ahigerd | Some further tests show that it IS mostly just the browser, as it turns out all websites don't work in the browser but they do work in another browser (GetLogs can send to Pastebin, too, and Google Play can navigate -- but some downloads in Play don't work) |
15:17.46 | ahigerd | But it doesn't make sense why the browser would just... stop working. It was fine last week. |
15:18.56 | *** join/#htc-linux anver (~miranda@shpd-92-101-133-192.vologda.ru) |
15:19.11 | ahigerd | experimentally tries .27 |
15:23.35 | *** join/#htc-linux rob_w (~bob@unaffiliated/rob-w/x-1112029) |
15:25.44 | ahigerd | Aha! |
15:25.48 | ahigerd | That's what the green data icon means |
15:25.58 | ahigerd | It means that a connection to the Google servers has been successfully been established. |
15:27.36 | ahigerd | Okay, so... huh. .27 doesn't make a difference. Maybe I should try FRX... |
15:40.32 | jonpry | strange |
15:42.09 | *** join/#htc-linux helicopter88 (~helicopte@host251-116-dynamic.55-79-r.retail.telecomitalia.it) |
16:19.55 | *** join/#htc-linux helicopter88_2 (~helicopte@host116-114-dynamic.1-87-r.retail.telecomitalia.it) |
16:31.27 | *** join/#htc-linux ALoGeNo (~alogeno@unaffiliated/alogeno) |
16:38.47 | *** join/#htc-linux NeoMatrixJR (~NeoMatrix@173-18-84-218.client.mchsi.com) |
16:40.21 | *** join/#htc-linux ALo (~alogeno@189.Red-79-155-15.dynamicIP.rima-tde.net) |
17:02.34 | ahigerd | FRX is able to browse fine |
17:02.39 | *** join/#htc-linux kiozen (~kiozen@ppp-93-104-80-56.dynamic.mnet-online.de) |
17:08.20 | *** join/#htc-linux mes_ (~mes@sentry.lazo.ca) |
17:12.39 | *** join/#htc-linux yuuki (~yuuki@dsbg-4db5bf43.pool.mediaWays.net) |
17:15.09 | jonpry | ahigerd, frx acoustic with 3.2? |
17:15.47 | ahigerd | Uh... I think so? I rebooted back into GBX already |
17:16.06 | ahigerd | But given the behavior I *think* I'm certain it's not a kernel issue. |
17:16.24 | ahigerd | Though unless Google Play pushed me an update I didn't notice I don't know why a userspace issue would have come up in the last week |
17:16.29 | jonpry | that is good i think |
17:16.51 | ahigerd | Maybe I should grab the stock GBX rootfs and move my datafs out of the way and see if it makes a difference |
17:17.04 | ahigerd | Hmm |
17:17.10 | ahigerd | I wonder if the browser would work on wifi. |
17:17.20 | ahigerd | Easy test. |
17:18.01 | *** join/#htc-linux kiozen (~kiozen@ppp-93-104-80-56.dynamic.mnet-online.de) |
17:19.06 | ahigerd | ... most intriguing. It DOESN'T work on wifi. |
17:19.12 | ahigerd | Google! *fistshake* |
17:40.47 | *** join/#htc-linux helicopter88 (~helicopte@host116-114-dynamic.1-87-r.retail.telecomitalia.it) |
18:13.33 | *** join/#htc-linux Rajko (~rajkosto@de.iandoh.info) |
18:13.47 | jonpry | hmr |
18:45.04 | *** join/#htc-linux ahigerd (~ahigerd@173.218.111.126) |
18:45.05 | *** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd) |
18:45.19 | *** join/#htc-linux jonpry (~jon@adsl-74-235-205-26.mco.bellsouth.net) |
18:46.07 | ahigerd | boggles |
18:46.51 | CptAJ | what does proc_comm_wince do? |
18:48.21 | ahigerd | loads on stock GBX0B rootfs, moves data.img out of the way, switches to 2.6.27 kernel... |
18:48.39 | CptAJ | http://paste2.org/p/1980781 check out the new crash with wakelock stats off |
18:48.55 | CptAJ | [ 192.975402] active wake lock SMD_DS, time left 41 |
18:48.56 | CptAJ | [ 220.895843] ARM9 has CRASHED |
18:48.56 | CptAJ | [ 220.895904] smem: DIAG '' |
18:48.56 | CptAJ | [ 234.223388] msm_proc_comm_wince: DEX cmd timed out. status=0x0, A2Mcntr=37, M2Acntr=36 |
18:49.34 | CptAJ | I'm guessing it talks to the radio? Cause the phone is perfectly stable in airplane mode |
18:49.40 | ahigerd | That's what it sounds like from the name |
18:49.49 | ahigerd | And if the ARM9 crashed, then it makes sense that communications with it would time out |
18:54.22 | *** join/#htc-linux rajkosto (~rajkosto@de.iandoh.info) |
18:55.31 | CptAJ | yeah |
18:55.51 | *** join/#htc-linux ahigerd (~ahigerd@173.218.111.126) |
18:55.52 | *** join/#htc-linux ahigerd (~ahigerd@libqxt/developer/ahigerd) |
18:55.54 | ahigerd | Okay, now I am officially and thoroughly confused. |
18:56.16 | ahigerd | The browser STILL doesn't work. It worked for a few seconds and I was able to pull up the first part of the first page I loaded, and then it stopped. |
18:58.03 | ahigerd | I mean, as a workaround I could install some other browser |
18:58.21 | ahigerd | But I absolutely do not understand why this suddenly stopped working |
19:00.05 | CptAJ | http://androidforums.com/htc-hero/85370-default-browser-not-working-web-page-not-available.html you check the apn settings[? |
19:00.17 | CptAJ | post #5 |
19:00.47 | CptAJ | the proxy settings |
19:01.43 | ahigerd | Hmm |
19:01.46 | ahigerd | Proxy is "not set" |
19:02.32 | ahigerd | APN itself looks right |
19:03.16 | ahigerd | It doesn't make a whole lot of sense what could be wrong because this is essentially a fresh GBX install |
19:04.46 | ahigerd | It works in FRX and WinMo |
19:04.54 | ahigerd | In fact it worked in GBX a couple weeks ago |
19:06.56 | ahigerd | It also doesn't work on wi-fi, so that casts doubt that a T-Mobile info update caused the problem, especially since the proxy isn't set |
19:07.04 | CptAJ | well, the problem must be in the "essentially" part of that sentence >_> |
19:07.38 | CptAJ | do a completely fresh install and see if that works |
19:07.40 | ahigerd | It's the stock kernel, the stock rootfs, and a new data.img; the only thing left I could do would be to buy a new SD card |
19:10.04 | *** join/#htc-linux ftoz (~root@9-151.gtt-net.cz) |
19:11.29 | *** join/#htc-linux swc|666 (~goldbond@Aircrack-NG/Friend) |
19:11.49 | ftoz | Hi, I would like to replace wm6 with android on nand. Can anyone tell me, how to modify OS.nb to see kernel boot? |
19:12.48 | ahigerd | First question on that is "what phone do you have"? |
19:12.54 | ftoz | htc athena |
19:13.46 | ftoz | there in no working distro yet |
19:14.36 | ahigerd | None at all? Not even an SD one? |
19:14.43 | ftoz | I need to know, which part must be modified. I use nbhextract and imgfs tools |
19:15.03 | helicopter88 | you should compile LK bootloader for your device |
19:15.18 | ftoz | How |
19:15.22 | Alex[sp3dev] | helicopter88: it's pxa270 to start with |
19:15.48 | helicopter88 | I don't even know what's an athena,i just suggested something that might be NAND related |
19:16.11 | ftoz | can i use atool, which is for kaiser? |
19:16.18 | Alex[sp3dev] | and you cannot really use athena's NAND in linux |
19:16.27 | Alex[sp3dev] | it's m-systems disk-on-chip which emulates block device |
19:16.32 | Alex[sp3dev] | but no public docs |
19:16.49 | ftoz | i can write read from nand, kernel boot from haret ok |
19:17.03 | ahigerd | atool is VERY specific to the devices it supports. I would NOT try screwing with that on another device |
19:17.29 | ahigerd | (And on the Rhodium it's not even necessary) |
19:18.40 | ftoz | when i run nbinfo about os.nb it shows some parts as xip ram, imgfs and fat, which parts must be modified? |
19:22.39 | ftoz | atools for kaiser seem closer for my solutin. It is bootloader+ zimage. Zimage can be choosen. kernel commnad can modify with hex edit. But question is can I try to save flash without brick? |
19:22.53 | ahigerd | The short answer is "no" |
19:23.05 | ahigerd | The longer answer is that you need to be able to get into the bootloader |
19:24.01 | ahigerd | So find out what bootloader is installed, then either figure out how to get into its console without booting any OS, or replace it with one where you can do that |
19:24.07 | ahigerd | In the latter case you're still risking a brick |
19:25.42 | ftoz | nbinfo shows in partition section some boot part. Its bootloader? |
19:31.01 | ftoz | NBInfo 2.1rc2 |
19:31.01 | ftoz | '00_OS.nb' has valid boot sector |
19:31.01 | ftoz | Partition table: |
19:31.01 | ftoz | Partition 0 |
19:31.01 | ftoz | ----------- |
19:31.57 | *** join/#htc-linux ftoz (~root@9-151.gtt-net.cz) |
19:32.04 | ahigerd | That's probably where the bootloader is stored, yes, but you need to find out how to access the bootloader console, or at least how to modify the bootloader settings without being booted into the OS |
19:32.52 | ahigerd | And of course back up everything |
19:33.52 | ftoz | I mean the first part is bootloader from 0x2 to 0x3e ? |
19:34.43 | ahigerd | Uh... I... don't think so? That's going to vary from phone to phone, but that sounds too small to be the whole bootloader |
19:34.49 | ahigerd | It might be a stage1 that invokes the real bootloader |
19:35.36 | ahigerd | The problem is that the stuff you're asking for is always going to be system-specific, and no one here is an Athena expert AFAIK |
19:35.48 | ahigerd | I know I'm not |
19:35.51 | ftoz | An y mean that I must compile U-boot or something similar and replace it? |
19:36.47 | ahigerd | Possibly. |
19:36.54 | Cotulla | why not just replace the start of the OS.nb by second bootloader? |
19:37.04 | ahigerd | It may also be possible that the stock bootloader may be able to do it, if you figure out how to control it |
19:37.07 | Cotulla | it minimizes the risk |
19:38.40 | ahigerd | Could still brick it, though, if you don't have a way to reflash it if it doesn't work |
19:38.49 | ftoz | I dont understand nbh structure. It has many nb parts such as IPL, SPL, OS and others. I though, that SPL is some part of bootloader and i thought when I edit OS.nb, i cant brick it. |
19:40.00 | Cotulla | SPL is main bootloader |
19:40.11 | Cotulla | if u corrupt it, it won't boot |
19:40.21 | Cotulla | and u won't able to reflash NBH again |
19:40.56 | ftoz | I also have kaiser and when i flash android kaisimg.nbh it has normaly tricolor bootloader |
19:41.12 | ahigerd | That's because someone's done the work of getting that set up right for you |
19:41.16 | Cotulla | kaiser is other story |
19:41.23 | Cotulla | it's not athena |
19:41.32 | ahigerd | Like I said, this stuff is all system-specific |
19:41.49 | ftoz | and its dzo work? |
19:41.59 | ftoz | Who can advise me |
19:42.06 | Cotulla | what u need? |
19:42.25 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
19:44.00 | ftoz | I need same thing as atools but for athena |
19:44.09 | Cotulla | what is atools? |
19:44.36 | Cotulla | u should have a final idea not just "clone something already existing" |
19:44.41 | ftoz | bootloader+kernel nbh editor for kaiser |
19:44.44 | Cotulla | same things can be done by several different ways |
19:44.53 | Cotulla | oh |
19:44.54 | ftoz | ok how |
19:45.06 | Cotulla | I advice u to replace OS.nb by own bootloader |
19:45.13 | Cotulla | and build NBH with it |
19:45.28 | Cotulla | u can take structure from kaiser or later msm7200 devices |
19:45.33 | ftoz | i print my os.nb above |
19:45.34 | Cotulla | but sector size can be different |
19:45.44 | ahigerd | ftoz: You flooded the channel and got auto-kicked |
19:45.46 | Cotulla | there it's 2048 while mdoc may have 512? |
19:45.54 | ahigerd | ftoz: So we didn't see it. Use a pastebin next time. |
19:45.56 | ftoz | it has boot, xip ram and some fat |
19:46.01 | Cotulla | right |
19:46.16 | Cotulla | actually SPL load XIP to ram |
19:46.18 | Cotulla | and jump to it |
19:46.26 | Cotulla | but hard reset function can use FAT partition |
19:48.07 | ftoz | y mean that i can modify it with hex editor? Which values? |
19:48.50 | ftoz | Xip i can leave? |
19:49.01 | Cotulla | u need replace XIP actually |
19:49.10 | Cotulla | look how LK is doing that |
19:49.23 | Cotulla | or if atool open source, modify it maybe |
19:49.28 | Cotulla | replace sector size |
19:50.12 | Cotulla | but u sure u can access MDOC? |
19:50.25 | ftoz | If i do mistake, athe is dead? |
19:50.50 | ftoz | i can do image by dd |
19:50.57 | Cotulla | MDOC is complex thing |
19:51.08 | ftoz | i see wm folders under console |
19:51.18 | Cotulla | hm how? |
19:51.23 | ahigerd | Are you booted INTO WinMo? |
19:51.27 | ftoz | i have tffs in kernel |
19:51.41 | Cotulla | hm |
19:51.44 | ahigerd | Kernel means you're booted |
19:51.44 | Cotulla | ok |
19:51.54 | ahigerd | If you fail to boot, you're locked out |
19:51.58 | Cotulla | afaik some time there was no driver for that |
19:52.05 | Cotulla | for MDOC |
19:52.17 | ftoz | i heve /dev/tffsa1 and others |
19:52.22 | Cotulla | ok |
19:52.23 | Alex[sp3dev] | there was a driver for H1 or H3, but not G3/G4 |
19:52.26 | ftoz | i can mount it |
19:52.29 | ftoz | dump it |
19:52.33 | Cotulla | good |
19:52.34 | ftoz | h3 |
19:52.40 | Cotulla | so u need put bootloader instead of XIP |
19:53.00 | ftoz | latest tffs can all mdoc |
19:53.03 | Alex[sp3dev] | you can actually use tinboot and wrap linux in it. and use it instead of XIP |
19:53.27 | Alex[sp3dev] | basically winmo os image for old devices like athena is just a dos disk image with mbr |
19:53.35 | Cotulla | yes I advise him about that |
19:53.36 | ahigerd | Next question is if you have a Linux kernel that can actually boot from NAND. >.> |
19:54.14 | Cotulla | doubt in that. . . there can be many init parts missing |
19:54.20 | Alex[sp3dev] | well, any kernel should boot. some peripherals may fail but framebuffer is usually set up by the bootloader |
19:54.46 | Cotulla | it's not athena case afaik |
19:54.54 | Cotulla | SPL doesn't turn on screen there |
19:55.23 | Cotulla | and Ahi chip there as well |
19:55.42 | ftoz | i have driver for ati |
19:55.48 | Cotulla | good |
19:56.00 | Cotulla | is it official one? |
19:56.03 | ftoz | no |
19:57.09 | ftoz | and how can i remove xip, nb tools can export it? |
19:58.45 | Cotulla | there should be tools which convert NB to partitions |
19:58.52 | Alex[sp3dev] | please forget about nbtools and other utilities and use a hex editor. at least for the start the easiest way is to take official rom and overwrite xip with your own |
19:59.15 | Cotulla | maybe |
19:59.23 | Cotulla | but for that u need experience |
20:01.14 | ftoz | And how y mean with second bootloader, kaiser seems to do same. |
20:03.45 | ftoz | its looks save, i can enter to tricolor bottloader and flash android nbh from it |
20:06.01 | ftoz | i dont know which nb is critical, I thought that Os.nb is not critical |
20:06.42 | ftoz | Can i repare bad os.nb? |
20:07.38 | ftoz | Or tell me which parts dont be corrupted for save replace? |
20:12.41 | ftoz | atools looks like to run haret as second bootloader and kernel. It is save way, and i would like to do same. |
20:13.59 | ahigerd | Then... just do that? You can do that just by writing a little script that you put in your WinMo startup folder |
20:14.01 | ftoz | there is command line from haret in kaisimg.nbh from atools |
20:14.55 | ftoz | atools is python scipt i can modify it. |
20:15.01 | ahigerd | Er... wait, are you sure that's a HaRET command line and not a Linux kernel command line? |
20:15.03 | ahigerd | No, not atools |
20:15.10 | ahigerd | A Windows script, running on the device |
20:21.14 | ftoz | and with this solution i must replace xip? |
20:21.54 | ftoz | Or I only need to modify main OS.nb? |
20:23.58 | ftoz | have y some helpfull link to rebuild this? |
20:26.29 | ahigerd | With this solution you don't have to flash ANYTHING |
20:26.47 | ahigerd | It's equivalent to manually invoking HaRET, just doing it automatically |
20:27.04 | ahigerd | So your goal is to make it work when booting using HaRET |
20:27.11 | ahigerd | Then make it auto-load after Windows finishes loading |
20:27.36 | ahigerd | Zero risk |
20:31.46 | ftoz | Alex: If i do ati reset in driver and then fill registry and boot it from haret, It means that is prepare to boot? |
20:33.38 | Alex[sp3dev] | ftoz: don't get the question. if linux kernel does full init, then it should work on native boto |
20:33.41 | Alex[sp3dev] | s/boto/boot/ |
20:35.15 | ftoz | i can boot from haret into android from usb stick, but its slow. I need some storage. Sd dont work. I need replace winmo fs with andro and add bootloader |
20:38.18 | ftoz | yes, but i find solution with save way, 2 bootloaders will be good. I need some way to back, when i mistake |
20:38.33 | ftoz | I am not experinced in it |
20:39.32 | ahigerd | That's exactly the problem -- finding the safe way to do it requires a lot of experience. You need to find the way to work with the bootloader even if the OS fails to boot. |
20:42.00 | ftoz | what is xip? It is init part between tricolor bootloader and wimo files? |
20:42.10 | AstainW00T | xip has wimo kernel |
20:43.16 | ftoz | that means that is replaced by linux kernel? |
20:44.09 | ftoz | or by linux bootloader? |
20:47.17 | ftoz | Kaiser do safe, because it allow flash linux bootloader+ kernel from tricolor. I would like do similar |
20:47.30 | ahigerd | Here's the problem |
20:47.38 | ahigerd | No one here knows the architecture well enough. |
20:47.41 | ahigerd | Everyone's guessing. |
20:49.33 | ftoz | If I flash from tricolor, can some utility write to it? |
20:52.18 | ftoz | And heret.exe can be run directly from xip part? |
20:53.07 | ahigerd | My suggestion doesn't involve lashing |
20:53.09 | ahigerd | flashing* |
20:53.21 | ahigerd | That's why it's safe |
20:53.58 | ahigerd | But you'll really want to get SD working so you can leave the NAND read-only >.> |
20:58.04 | ftoz | I know, but kaiser do it. Y can enter zImage and default.txt to atool. It looks like to tricolor bootloader runs haret and it runs kernel.maybe there is some small fat with haret and other is linux parts. It is save and fully back from tricolor |
20:58.48 | ahigerd | Stop trying to compare phones to each other. I keep trying to tell you that every system is different. |
20:59.37 | ahigerd | You shouldn't be doing ANYTHING until you've done the research to UNDERSTAND how your phone works. |
20:59.42 | ahigerd | Guessing will just give you a brick. |
20:59.48 | ftoz | But file system is similar |
20:59.51 | ahigerd | It doesn't matter. |
21:00.01 | ahigerd | Every filesystem is similar. |
21:00.08 | ahigerd | Because there are certain components every OS needs. |
21:00.14 | ahigerd | But that doesn't mean they WORK the same. |
21:00.43 | ftoz | I dont want any changes in tricilor bootloader |
21:00.51 | ahigerd | You can use knowledge from other devices to give you direction for your research, but be careful how you assume things |
21:00.59 | ahigerd | Can't promise that. |
21:01.24 | ftoz | What is good step to experience |
21:02.04 | ftoz | Get some old device to possible destroy it? |
21:02.34 | ahigerd | That does help. |
21:02.52 | ftoz | Or what y advise? |
21:03.01 | ahigerd | Other things that help is researching the software/firmware it uses |
21:03.24 | ahigerd | Find the architecture of the system. |
21:03.41 | ahigerd | Disassemble code, figure out how to get to a low-level console, use HaRET to explore the device |
21:03.48 | ahigerd | HaRET does more than just boot a Linux kernel |
21:03.55 | ftoz | Knows some links to learn it? |
21:04.20 | ahigerd | Afraid not. I've not done this for a phone before, only for dedicated embedded systems where I was in control of the whole thing and therefore had documentation. |
21:05.00 | ahigerd | And the reason the Athena doesn't have a whole lot of progress is because the manufacturer keeps the information secret |
21:08.54 | ftoz | And nb files use some compress? If there is heret in it, can i see same code with hex as in hetet.exe? |
21:10.11 | ahigerd | HaRET isn't going to be used in any part of the official ROM |
21:10.17 | ftoz | Can i manualy add partition to nb? |
21:10.25 | ahigerd | Don't know. |
21:10.32 | ahigerd | You'll have to research that. |
21:10.46 | ahigerd | Which means learning how the bootloader WORKS. |
21:10.53 | *** part/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
21:10.57 | ahigerd | It may even mean analyzing ARM assembly code. |
21:11.49 | ftoz | ok, thx. I will try |
21:13.21 | *** join/#htc-linux ali1234 (~ajbuxton@s15821883.onlinehome-server.info) |
21:14.07 | ahigerd | I wish you the best of luck and I encourage you to find a community of hackers that know the device. |
21:14.12 | ahigerd | The XDA forums are a good start |
21:14.23 | ftoz | And can i run android from haret with rootfs on winmo partion? |
21:14.32 | ahigerd | Maybe, maybe not. That's something to ask on the forums. |
21:14.51 | ftoz | There noone knows |
21:14.53 | ahigerd | It's probably possible if the kernel has the right modules. |
21:15.04 | ahigerd | But who knows if the module EXISTS |
21:16.27 | ftoz | i can mount winmo partition, but dont know how to set root as folder |
21:18.05 | ahigerd | Because you don't |
21:18.14 | ahigerd | You create a rootfs image file -- an ext2 filesystem in a file |
21:18.19 | ftoz | only chroot? |
21:18.20 | ahigerd | And then you point the kernel at *that* |
21:19.22 | ahigerd | You don't want to use the WinMo partition itself as your root filesystem |
21:20.11 | ftoz | But for testing it will be good or step forward |
21:20.16 | ahigerd | So what you do is you make an initrd ("initial ramdisk") that holds just enough of a system to be able to mount the WinMo partition, then mount the rootfs image out of it, then pivot to that root |
21:21.00 | ahigerd | This is pretty standard Linux stuff, really not the hard part |
21:21.04 | ahigerd | The hard part is getting that far |
21:22.28 | ftoz | Adn initrd is create by bussybox? This way is unuseable today? |
21:25.18 | ahigerd | I actually don't know the details on making an initrd, except that you start with mkfs.ext2 |
21:26.20 | ftoz | I do some, but manytime it freeze at run init from kernel |
21:26.59 | ftoz | i dont know how to edit init and what is in |
21:27.57 | ftoz | old init was scripts, newer are bin |
21:29.54 | *** join/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
21:29.54 | *** part/#htc-linux Cotulla (~myfakemai@nat100-255-205-109.tvoe.tv) |
21:45.37 | *** join/#htc-linux jonpry (~jon@adsl-74-235-205-26.mco.bellsouth.net) |
22:25.41 | *** join/#htc-linux Funklord (~cow@84-55-99-121.customers.ownit.se) |
22:39.36 | *** join/#htc-linux rpierce99 (~rpierce99@96-42-107-19.dhcp.stcd.mn.charter.com) |
23:28.50 | CptAJ | In smd_tty.c, a conditional maps the 1 index to 7 on line 136. Why is that done? Whitestone isn't there but everyone else is >_> |
23:29.15 | CptAJ | 27 kernel |
23:29.47 | Alex[sp3dev] | short answer is that someone was lazy to fix ril |
23:30.07 | Alex[sp3dev] | long answer is that everyone was lazy to implement proper machine detection in userland |
23:30.08 | CptAJ | http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/blobs/htc-msm-2.6.27/arch/arm/mach-msm/smd_tty.c |
23:31.49 | CptAJ | hah, alright. but what's the purpose? and whats ril? |
23:33.05 | CptAJ | should whitestone be there? it mentions gsm compatibility. Whitestone is cdma/gsm. Would this FORCE gsm or merely make it compatible? |
23:33.15 | Alex[sp3dev] | ril is radio interface layer. basically, gsm modem driver |
23:33.48 | Alex[sp3dev] | for whitestone, just do everything as done for rhodium since it is also cdma/gsm and has the same amss |
23:34.47 | CptAJ | alright, I'll add it and see what happens. Also, whats SMD_DS? It's mentioned soon after that conditional |
23:35.11 | Alex[sp3dev] | CptAJ: btw, have you published your code anywhere? you could fork the kernel at gitorious and push changes. just in case you lose your work/enthusiasm anyone can pick up |
23:35.19 | Alex[sp3dev] | DS is probably debugging. or not |
23:36.26 | CptAJ | I'm getting a crash from it... I think. log: http://paste2.org/p/1980781 |
23:36.39 | CptAJ | have several logs ending exactly like that |
23:36.46 | CptAJ | it happens only when radio is on |
23:36.58 | CptAJ | airplane mode is the land of stability in whitestone right now |
23:38.03 | Alex[sp3dev] | probably that happens when smd7 is accessed |
23:38.17 | CptAJ | I did have trouble with smd and wakelock stats before |
23:38.30 | CptAJ | smd7 i mean |
23:39.28 | CptAJ | I'm thinking this is all wakelock related |
23:41.03 | CptAJ | the radio is fucking up the wakelocks at some point. If I go into airplane mode, supend works without crashing and the phone runs for hours on end (there's another wakeup bug there but we'll get to that later. its not a big deal) |
23:41.53 | CptAJ | this is probably the last roadblock to a usable whitestone android distribution |
23:42.16 | CptAJ | I'll push the changes with a patch (decent one this time) once I get through this |
23:50.24 | jonpry | crashing arm9 is not good |
23:51.46 | ahigerd | Pretty impressive really |
23:52.34 | jonpry | it isn't that hard |
23:52.48 | jonpry | we used to crash arm9 on the regular |
23:53.04 | ahigerd | Ah |
23:53.49 | jonpry | sound is a good way to do it. maybe some dex |
23:55.18 | jonpry | but i'm guessing its sound. probably has some acoustic build that is sending random stuff out to arm9, but doesn't have the sound driver loaded doing the other half |
23:56.20 | CptAJ | this is the whitestone branch created by emwe here: http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/trees/htc-msm-2.6.27-whitestone |
23:56.32 | CptAJ | don't know if it has any of that stuff, jonpry |
23:58.21 | jonpry | you running frx or gbx? |
23:59.14 | CptAJ | frx |