yashsingh1/xdaforums huggingface dataset:
[G1 General] hellfenix:
Is the serial/debug/logging part of the kernel loaded before what crashes us though? I hope so :D

[edit]I just noticed this, do you have that line in your current kernel? CONFIG_CMDLINE="mem=76M console=ttyMSM2,115200n8" don't have my phone with me to verify [/Edit]

[Edit2]Is it possible that it might be a Qualcomm patch? :S [/Edit]
[G1 General] SpEnTBoY:
FWIW ... with hellfenix's help (and a couple others) I've managed to get a kernel compiled ... probably the same one that no one can get to boot :)

I did however find something in the proccess. When I try to build a kernel from the existing config on the phone it dies with:

arch/arm/kernel/entry-armv.S: Assembler messages:
arch/arm/kernel/entry-armv.S:210: Error: selected processor does not support `cpsie a'
arch/arm/kernel/entry-armv.S:431: Error: selected processor does not support `cpsie a'

I then did a make against msm_defconfig and had no issues. I did a diff on the two .config files and selectively patched the new one with the old options, specifically around architecture and proccessor. The main difference was the reference to msm vs versatile (CONFIG_ARCH_VERSATILE=y, and accompanying options.

As soon as the reference to msm is taken out and subbed for versatile options it wont compile due to the above error. I haven't been able to nail down the exact reason for the error however. Anyway this doesn't really contribute productively but I figured just in case someone saw something in this drivel that might be useful :)

EDIT: for kicks and knowing that it probably wouldn't work I tried to build modules for the only kernel I've been able to get compiled. Same as the kernel it builds fine but wont load.

# /data/local/bin/busybox insmod ip_tables.ko
insmod: cannot insert 'ip_tables.ko': invalid module format (-1): Exec format error

I wasn't expecting it to ... anyway I verified (only via 'file') that at least the kernel versions matched. I compared them against the wlan.ko module on the phone:

# for i in wlan.ko ip_tables.ko ext2.ko; do echo $i: && strings $i | grep 2.6; done
wlan.ko:
vermagic=2.6.27-9af60ed4 preempt mod_unload ARMv6
ip_tables.ko:
vermagic=2.6.27-9af60ed4 preempt mod_unload ARMv6
ext2.ko:
vermagic=2.6.27-9af60ed4 preempt mod_unload ARMv6

</adding to my previous drivel>
[G1 General] hellfenix:
Are you saying that the config for the default kernel in the Rogers phone has ARCH_VERSATILE to true?

That strikes me as really really odd since we obviously have a Qualcomm MSM7201A and thus ARCH should be MSM not VERSATILE.

Was ARCH_MSM true at all in your running config?
[G1 General] cyanogen:
That doesn't sound right. The config that Haykuro sent me from his Rogers G1 was definitely MSM.
[G1 General] SpEnTBoY:
I dont get it ... I just did a pull on the config again and it says msm ... I obviously messed something up but I have no idea how it happened. I have (what I thought was) the original pull of the config in my home directory unzipped and I made a few copies and they all have VERSATILE.

Either way it is in fact MSM, sorry for the confusion :o

[edit] Ok so I successfully built the kernel and modules based off of the device config I just pulled and FWIW modules still wont load in the kernel. It's not a version miss match, but an invalid module format

insmod: cannot insert 'ip_tables.ko': invalid module format (-1): Exec format error
[G1 General] SpEnTBoY:
Small bit of success ...

I did manage to get modules trying to load and they were failing because of the module version.

<3>[86645.028625] ip_tables: version magic '2.6.27-00393-g6607056-dirty preempt mod_unload ARMv6 ' should be '2.6.27-9af60ed4 preempt mod_unload ARMv6 '

Easy enough fix ... rebuilt the modules with the correct version magic.

# head -4 Makefile
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 27
EXTRAVERSION = -9af60ed4

Then commented out the sanity check for git and git repo in setlocalversion. Now I get unknown symbol errors but it does try to load:

<4>[86847.528625] ip_tables: Unknown symbol xt_free_table_info
<4>[86847.530792] ip_tables: Unknown symbol xt_register_match
<4>[86847.532134] ip_tables: Unknown symbol xt_find_match
<4>[86847.533752] ip_tables: Unknown symbol xt_alloc_table_info
<4>[86847.535095] ip_tables: Unknown symbol nf_register_sockopt
<4>[86847.536529] ip_tables: Unknown symbol xt_check_match
<4>[86847.539886] ip_tables: Unknown symbol xt_unregister_match
<4>[86847.541259] ip_tables: Unknown symbol nf_unregister_sockopt
<4>[86847.543060] ip_tables: Unknown symbol xt_register_target
<4>[86847.546417] ip_tables: Unknown symbol xt_register_table
<4>[86847.548217] ip_tables: Unknown symbol xt_proto_init
<4>[86847.549560] ip_tables: Unknown symbol xt_replace_table
<4>[86847.551177] ip_tables: Unknown symbol xt_find_table_lock
<4>[86847.552673] ip_tables: Unknown symbol xt_table_unlock
<4>[86847.554260] ip_tables: Unknown symbol xt_proto_fini
<4>[86847.555664] ip_tables: Unknown symbol xt_check_target
<4>[86847.557434] ip_tables: Unknown symbol xt_find_revision
<4>[86847.559204] ip_tables: Unknown symbol xt_unregister_table
<4>[86847.560577] ip_tables: Unknown symbol xt_find_target
<4>[86847.562164] ip_tables: Unknown symbol xt_unregister_target

I also compiled a tunnel4 module ... and it loads fine:

# _ insmod -v ./tunnel4.ko
Using ./tunnel4.ko
# lsmod
tunnel4 2824 0 - Live 0xbf093000
wlan 594356 1 - Live 0xbf000000

Baby steps I guess .. at least I know I can build modules for it :D ... too bad Network Packet Filtering has to built in to the damn kernel in order to use IP Tables :(

I dont have the means to debug the kernel issue but I'd be more than glad to provide whatever kernel I built if someone wants to test it. I dont imagine it would be any different than any of the ones you guys have already tried though *shrug*
[G1 General] SpEnTBoY:
ok what's the quickest way to test a kernel? it would be nice if I could just use the kernel image to fastboot or something I just can't seem to find anything on testing anything other than apps using the emulator.
[G1 General] hellfenix:
On any other device I guess you could use

Fastboot boot zImage ramdisk.img

However what this esentially does is wrap your Kernel and the ramdisk into a boot.img. This will not work for our device since we need a custom boot.img with different addresses. I think you would need the custom mkbootimg from Haykuro and pass it the correct arguments. I don't know where it is located though, a quick forum search should fix you up.

Maybe there is something else to do other than that though since Haykuro mentioned something else than the boot locations prevented him from booting.
[G1 General] SpEnTBoY:
Well ... I pm'd haykuro ... here's hoping he hasn't abandoned everyone lol :D .... :(
[G1 General] AlfaTrion:
hey im late to the party.

i ahven't been on the board since just after the phone was sent to H.

Thanks again haykuro. i just rooted my dream.

that sounds dirty.

when i get paid, you'll be getting some nq!
[G1 General] SpEnTBoY:
Has anyone been able to or tried to unpack the working boot.img that haykuro supplied? I've tried using a couple of scripts as well as manually via emacs and a hexeditor but I'm just not having any luck! The scripts for sure will unpack my own image builds but there's extra content in the working boot.img.

I was just going to try to repack that image with one of my kernels but it's just not playing nice :confused:
[G1 General] SpEnTBoY:
does anyoen know if the only other requirements for Apps2SD2 is a working unionfs kernel module? I read somewhere that it needed an ext2 modue as well but it looks like the kernel has ext2 support compiled in.

If I can't get a kernel booting yet at least maybe I could get a2sd working :p ... maybe :(
[G1 General] i<3andr0id:
Spent, sorry I have no idea. I really appreciate the fact that you and like minded people such as cyanogen are posting still. Gives me hope for custom roms.

Haykuro, why hast thou forsaken us? lols. Probably driving around a lot now that he got his first ride.
[G1 General] hellfenix:
Spent, there's many different implementations of A2SD, one of which can be done simply with symlinks. I wouldn't know because I have yet to bust my phone's memory and require such a thing.
[G1 General] esmith:
If Haykuro is not going to be around maybe he can send the donated Dream to Cyanogen and maybe he can work on some custom roms for us...

Just thinking it might have Cyanogen to actually have the device.
[G1 General] SpEnTBoY:
So far for me it's not a requirement really ... just a 'nice to have'. I've seen lots of posts for people claiming the phone speeds up quite a bit so I figured I'd give it a shot. The link above is the app I wanted to try. It creates a ext2 partition on your SD card and does work with symlinks but there seems to be more to it than just copying and linking. I'll have to check the tutorial in the forums here I guess.

[edit]

Yeah right after posting I found the tut Here ... right at the top it lists unionfs as a prereq ... I have it built but I get unresolved symbols which I'm assuming is the result of trying to load a module built on a patched kernel into a non patched kernel :p ... oh well[/edit]
[G1 General] SpEnTBoY:
I'm pretty sure all we need is a proven method for creating boot images that work or getting a damn kernel loading properly and then Cyanogen could work his magic ... although I could be on crack and out in left field.

I actually have to get some other work work done today so I don't know how much more monekying around I can do today but I don't mind running into walls :D
[G1 General] r4nd0mn4me:
Why haykuro left?

I was trying to find out why H up and left us, and I came across this.

http://www.androidiani.com/news/androidiani-presents-haykuro-2999

I don't know the whole story, but at least from what I can tell, it doesn't look like it started from our thread. Sorry to have lost you H, thanks for helping us root. I know it must suck if people are bugging you all the time for hints and tips, and then go on to build something and get the cred for it. Even pointing someone in a direction or teaching them to stop being a n00b and learn to use a search is helping them even if they don't realise it. Give someone a link and you help them for an hour, tell them how to use the search and you help them for life.

Pardon me if this did not come out right, early morning post.

And thanks to everyone who have stepped up in the mean time, you guys rock.:cool:
[G1 General] SpEnTBoY:
What I don't understand is why we're being impacted. I can understand being sick of politics etc but in no way were we involved. Collectively we came together to purchase hardware so we could get root and take back our phones, the problem is without all the detailed information (or extra work) we can't take it any further than just having root.

I think most people here would love to have Cyanogen ROM or at least the option for other ROMs so we can do all the things we wanted root for. If haykuro doesn't want to help any more that's his decission ... but at least help us help ourselves ... we could as the ROM builders if they'd like a crack at the device so we can do more or something and at least have the option.

As of right now (for me) it's been trial and error etc and honestly I just don't know enough about the device or have time to do/learn much more right now. I'll keep tinkering but it's more like brute force and or guessing and with code and hardware, this almost always bears no fruit there's just way too many variables. I've managed to isolate at least 2 blocks of code in the unionfs stuff and I patched a local build, but it's a cludge and unstable and we need to be able to build booting kernels/images for this damn thing lol

I'm not sure if there's much of a democracy here but if there was a vote I would say if haykuro doesn't want to work with us anymore, then maybe we should see if any one else wants to and have them inherit the hardware. I'd prefer H to just come back and not let other peoples opinions deter him from still playing around with this stuff but he hasn't responded to anything I've sent him (email, twitter, PM, etc) so I'm guessing this might also be another thing that's going to start pissing people off.

Personally it doesn't bug me it's just disappointing that when we were in the beginning of an upturn, everything just ground to a halt :(

</2 cent>
[G1 General] esmith:
If XDA is the problem I have lots of server space and would and could easily setup a forum for the Rogers users IF that would bring H "back"...

I know I didn't donate a great deal of money like a few people did but if I had known that I couldn't flash custom roms I wouldn't have donated or even bothered rooting because I personally don't have anything to show for it other than paid apps of which I have bought none...

I'm not against H... I want him to continue to help us but if he doesn't then it would be great if we could get the Rogers device sent to someone else who wants to try on the rom end of things... hell if he were to send it to someone else he can always have it back, I imagine we only need this figured out and he could have it back...

I'm sure people would donate towards the shipping back and forth...

Again, thanks H for getting this rooted.
[G1 General] hellfenix:
This thread is losing visibility, perhaps we should start a new one?
[G1 General] AmaruPhoenix:
Anybody experience a timestamp issue after root?

I rooted my phone, only removed the 5 rogers links, installed SU, and had paid apps running.

Now my Messages received and time stamped 4 hours earlier

eg if it's 6pm, and i receive a message it will show as 2pm. which messes up the entire messaging chat system.

i found it that a soft reset fixes the issue but I would like to know why it is happening because it's becoming more frequent and annoying.

thanks
[G1 General] hellfenix:
I don't have that, and if you have your phone set to sync time with network you shouldn't either.
[G1 General] Capt Fiero:
Ok Thank God, I thought I was having acid flashbacks or something. My time stamp is screwed up also. It does not fix or make any diffrence, when I

1. have it set manually or automatic.

2. set it manully to my time zone and hours.

3. update with PDA Sync
[G1 General] AmaruPhoenix:
okay, so as I stated, Soft Resetting the phone fixes it, not sure for how long but it's been my second time today that I had to do it..

Btw how do you get the Rogers symbol on your thing?
[G1 General] AmaruPhoenix:
So nobody else has experienced this after root?

Messaging time stamp issue that is?

I've never had this issue prior to root, maybe a dev can explain why this is occuring?
[G1 General] r4nd0mn4me:
Time stamp offset

I was experiencing this time stamp issue yesterday. Normally I'm not an avid txter, but I had a good convo going and things were getting wonky. Not only were the times off, but some txtx would get dropped and or were not received in the right order and confused the heck out of the girl I was chatting with. For all I know this could have been happening from the first day I r00ted, but if I only send a txt here and there, I would not really notice it.
[G1 General] cyanogen:
If someone sends me a device I'll happily work on getting custom kernels to boot on the thing.
[G1 General] lbcoder:
You're not planning to pull a haykuro and run off with it, are you?
[G1 General] AmaruPhoenix:
Please don't insult a dev who is has been trying to help out. And has a been a big contributor to american roms, besides haykuro kept his end of the bargin, he got a phone to root it, which he has done, I've been following this thread, all 60 pages and no where did it say anything else, as a means of a binding contract but root, yes it sucks that I'm affect since I'm on rogers but that's life, without proper binding agreements, you really have nothing
[G1 General] esmith:
"Raise of hands"... how many people thought that by getting this rooted they would be able to flash custom roms?...

(just curious....)
[G1 General] AlfaTrion:
me :(

they got hero working for rogers magic.

what is so different about our memory locations?
[G1 General] Capt Fiero:
Me as well. But I can't really bitc7 as I did not donate to the cause.
[G1 General] AmaruPhoenix:
for those who didn't donate the first time around or wish to do so.

anybody want to start another fund for cyan?
[G1 General] i<3andr0id:
*hand up*

Its upsetting that root is all we got from the donated device. I realize that H has kept up his end of the device for root business, but i assumed that he'd be around to help with custom ROMs. I wasn't, as i'm sure most everyone else wasn't, expecting to have just root so that i could run market enablers and setcpu.

I realize that H may have a life outside of the scene, and that this maybe the reason for his absenteeism but please at least take a minute to come in here and respond to those of us still wanting custom roms. At least a twitter, or respond to spentboy's many messages. Please.

I am absolutely thrilled to be part way there, but if Haykuro doesnt want to work on the project then i think he should send the phone to Cyanogen. The whole "start another fund" to send cyanogen a phone probably wouldnt go over well. I'd still donate, but if a device is already in the states and is just sitting in a drawer at H's house that really breaks my balls.

HAYKURO, PLEASE POST A REPLY. WE ARE ALL WAITING FOR YOU TO SAY SOMETHING.
[G1 General] Boomgawd:
H, WTF mate... WTF.

I'd love to see H check in sometime soon... Nothing I would like more than some custom roms. Honestly it would be nice to see the phone passed along to someone that was still interested in working with the community.

H, at the begining of this thread someone mentioned your age and directly insulted you, your responds was mature and you too no offence to the comment. What happened to force your hand? who could have offended you so dearly that you've decided to turn your back on everyone?

Whatever happend, I'm hoping you're just getting some fresh tail out in the real world. That would be a good enough excuse for me! ;)

Gnite.
[G1 General] AmaruPhoenix:
Yes I kind of agree, 700 CAD for just root is very pricy, we canadians were very uninformed but even the americans had no way of findinf out how different the HTC Dream from Rogers really was until they played with it. I also agree that even without a spoken/binding contact to Haykuro for more than just root, that he would be there to support and to really dissect the phone and reveal all the differences so others could develop roms and have apps support our phone. It was very immature to take it out on us (not me, didnt't donate) for a dispute over something that doesn't directly involve us, some kind of "taking credit" issue.. either case as much as we should thank him for root, he should at least understand that his work isn't done yet, if he doesn't wish to continue the project, I'll gladly send some money to compensate his work and to cover postal fees to ship it to cyan for futher dissection
[G1 General] esmith:
Maybe for a second hand one for like $300 (all over kijiji where I am..)

But then again... not really.

If H isn't going to come around someone should call Rogers because they do blacklisting IMEI now... maybe that will bring him back when the phone no longer works...
[G1 General] AmaruPhoenix:
I doubt that will solve anything, and besides he already has his own g1, and he was even prepared to brick it in a worst case scenario
[G1 General] esmith:
I was just being sarcastic...

He should be sending the device to someone who can provide us with what we need.

$700 to get a phone rooted and nothing else?... raw deal. I feel bad for that Daniel guy who donated well over $200... I imagine he expected more.
[G1 General] PhaseBurn:
It's not H's fault that the Rogers G1 requires kernel patches to the official tree to boot a damn kernel. Patches that HTC hasn't provided.

He rooted the device, as he agreed to try to do, and has my eternal thanks for it, as well as everything *else* he's done. I want to run a custom ROM on my Rogers Dream, too, but right now that's not possible. Just like everybody who bought a T-Mobile G1 before they were rootable and had to wait. Buying a phone that doesn't have X capability, even if it's a software restriction, doesn't guarantee it will ever *develop* that capability, even if other similar phones have had that restriction bypassed. The Rogers G1 is unique. Did I expect it to take this long? No. But it is what it is. I'm begging HTC for patches, and they're ignoring me. I'd consider sending my Rogers phone to Cyanogen if he thought he had a chance of bypassing the lack of patches from HTC, but for right now, there's other avenues being explored and that's all there is to it. Bashing H isn't going to accomplish anything.
[G1 General] i<3andr0id:
I'm not sh!tting on H, nor should anyone else. He did what we asked, and that was root. I was just saying if he doesnt want to work on custom roms, then pass the phone on to cyanogen if he thinks he can do something without the htc patches mentioned.

H has probably not even seen all this. The kid is 17 and just got a car. Give him a break. Last thing i want is him to come and see this and think we're turning on him. If you're frustrated that its taking so long for custom roms, you need to get a life. It will happen when it happens. Granted, if H no longer wants to work on it to the extent that someone else (cy?) does, then pass the phone on to give someone else a go.

Either way, a post as to intentions should be made by H so we can get the ball moving. Momentum would be nice.
[G1 General] esmith:
1.

H is free to step in any time and comment.

2. I think you guys must be totally out in left field if you EVEN THINK HTC or Google will EVER give you anything.

Seriously... you guys who think that have A LOT to learn.
[G1 General] i<3andr0id:
God, i'd hate to meet you in person. You're always such a condescending pr!ck. But for once i agree with you. At least on point #2. I wouldn't have said it in the way you did, but you do have a point. However, someone did say something about complying with gpl or some other acronym I had to look up. Due to the open source nature of android htc should be giving patches, but if new UI sell phones I could see why they would be hesitant in giving away patches that would allow other phones to have ports of other android distros or what ever they're called.
[G1 General] esmith:
You don't agree with me on number 1 that H is free to step in anytime and comment ?... ok? so you don't want to hear from him? Because that's all I said... ok...

and two... I'm sorry if I know a thing or two about how things work... having worked for Rogers for many years I have a pretty good idea of what you can gain access to and what people can't... and to think they, HTC, or Google will give out anything is crazy.

People can't even possibly get in touch with the people that retain that information so I hate to see one after another waste their time in sending those people e-mails wanting codes and such.

Your e-mailing someone who is probably paid $8 or $10 an hour to read e-mails and respond with what prompts they are giving to respond with. Seriously people don't waste your time or others who have to read through that garbage...
[G1 General] i<3andr0id:
OH MY GOD! After a few months of interacting with you i finally understand why youre the way you are!!

YOU WORK FOR ROGERS!

IT ALL MAKES SENSE NOW!

Hahahahahahahahahahahahahaha....

H is free to respond, but i bet he hasnt even seen half these posts. As i said, he's 17 and just bought his first car. Dude is probably rollin with his boys.