yashsingh1/xdaforums huggingface dataset:
[G1 General] haykuro:
lol instructions will be posted publicly.

donations were a community effort, and the community gets it as a whole.

anywhooo..

so it seems i'm in a bit of a pickle. due to the recent accidental format of my computer, i lost a lot of insider roms that could have helped and been the solution. i've recovered 3 of those, and failed to find one that can boot.

my options are at this point:

1. wait for a boot.img that boots (thus allowing me to find the new boot locations, and creating a rooted boot.img specific for the rogers device)

2. rip this baby apart, make a JTAG cable for it, at which point i can dump the entire device and finish rooting it.. or it messes up the device. :o

soo.. as i said, in a bit of a pickle.. what would you guys like me to do at this point? :confused:
[G1 General] esmith:
I say do number 2...

Anyone could have done number one and waited for a boot.img to work.
[G1 General] i<3andr0id:
Can you not reach out to others in the community that have these "insider roms"? I would hate to risk the device because of impatience. I think opening, jtagging, and dumping the entire device sounds spledid, but the risk that you break it is not worth it if there are other options.
[G1 General] jpa-:
Soooo basically you're saying our options are:

a.) Wait longer

or

b.) Risk fail?

My instincts are telling me to be patient and wait.... But there are variables. How big of a risk would it be to tear it apart? Once bricked, can you unbrick it via your skills in magical magic? On the flipside - how long you figure it would be before you find a boot.img that will boot?
[G1 General] esmith:
Again... I never said EXCLUSIVE... all I said was that people who actually spent their own money, that it would have been nice to get some benefit above the people who didn't give a crap and didn't want to help out and just wanted to enjoy the end result.

Someone said their friend didn't want to donate because a Canadian should have done it and I'm sure that person will be flashing roms once the project is complete.

Anyways moving on.
[G1 General] i<3andr0id:
!

When you say "first taste" the implication of exclusivity is there. Dont bull**** me E, we just started playing nice. Lets not turn this into a symantic pissing contest.

And really? You want him to rip it a part even though another "insider rom" might work? REALLY? Thats the most impatience thing i've hear this week.

Haykuro, try to reach out to the other rom builders! This is a community effort, yes we elected you, but others can surely help! You are not alone.
[G1 General] evilpig:
I'd like to know how much of a risk it is to open and dump.
[G1 General] haykuro:
it's a 50/50 chance. it either works, or it doesn't. the pins i have to reach are extremely small, but i don't think that would be a problem. my main fear is the pins not working really. the instructions i received are for the G1, not sure if they'll hold true for the dream.. i figure they would as the board looks almost identical (give or take a few hardware exchanges).
[G1 General] SpEnTBoY:
Based on everything I've been able to read I would say:

a) try to put a call out to people that may have copies of those images ... if nothing surfaces, I have faith in some good old (read new) school jtag work. The preference is to not axe the device or get it to an unrecoverable point because then we're exactly where we were before we got some hardware except all the people that donated would still not have a rooted device lol

That being said with hardware hacks there is ALWAYS a risk ... and in a manner of speaking we're a democracy so I'll throw my vote in for going with the herd, but I'm not opposed to cracking it open if others are comfortable with it :D

How was that for a soft mushy response? lol
[G1 General] lbcoder:
Some thought on the matter;

1) the device needs some jtag research done. There are a lot of bricked devices out there demanding some attention.

2) rigging up the jtag should be done first on a more readily available US version, when it is proven, then it can be used to dump the CDN version.

3) Though definitely in the spotlight, haykuro hasn't really done anything particularly amazing. Moving a few files around, some custom compiling, and seems to be a bit of a repository for bootleg images. None of that is anywhere near the degree of hacking required for this project... not saying he's incapable, but realistically, it is most definitely an unsupported assumption that he will be able to do this.

haykuro; you're 17 right? That means that you haven't any engineering degrees yet, correct? Probably also a bit of a lunatic risk taker like every other teenager and liable to jump in before assessing your abilities. I hope for your sake that you are able to generate something, otherwise you'll be letting down quite a few people. I advise you to proceed along these lines; 1) rig up a jtag to YOUR US device and get the read/write procedure straightened out -- this will have the side-effect of a) not risking the CDN device, b) possibly(if successful) generating a cure to all the bricks that you inadvertently created by providing files that hadn't been adequately tested. 2) hook it up to the CDN version and do what you need with that.

** I also suggest regular backups of all important data.
[G1 General] i<3andr0id:
as i said before in 2 other posts, can you not reach out to other devs in the community for the afformentioned insider roms?

You say 50/50 to work or not work. Does that mean the device will still be functional? Or is the 50/50 based on jtagging and botching it and ruining the device?
[G1 General] i<3andr0id:
could not have said it better. donator Daniel is probably poopin a brick right now.
[G1 General] Capt Fiero:
I came in to this thread late and didn't donate, however as a contribution, whatever files H needs to post, I can offer server space and a direct download for. I can even set up a direct FTP account for H if he wants to add/update files at a later date. Server should not have any issues handling 10,000 downloads or so. ( I doubt there are 10,000 total cdns looking for root) Its on a very fast server.
[G1 General] SpEnTBoY:
LMAO ... sorry I understand this is serious but that was funny ... especially taking into account the duality in definition for the word 'brick'
[G1 General] i<3andr0id:
That is a fantastic offer Capt. and I for one would appreciate it greatly. We still need to get there though.

I think everyone should weigh in on the wait or jtag issue. Can anyone else put a call out to other devs with these roms h is looking for?
[G1 General] i<3andr0id:
I'm an English major. was well aware of the implications of using the word "brick". layered posts on forums are my forte. if only i could get paid for it. :D

that was harsh (first bold), but he does have a point (second bold).
[G1 General] Capt Fiero:
My opinion is, give it some time to find a boot.img that works. Kinda like having a car that won't run on the carbs you have in hand, but you are pretty sure that adding nitrous to the mix it'll run. If the carb was too rich, the nitrous is going to make it run like a raped ape, and tear up the track. If the carb was too lean, you're going to left with a pile of melted metal that closely resembles a paperweight.
[G1 General] tertiumsquid:
I put my vote in for wait. It seems to be the safer option (though what do I know? I've never hacked things like this before). I can be patient... Sometimes... *starts refreshing the thread/twitter like mad*

That being said, we still don't know what potential damage may result by JTAG-ing. Can anyone enlighten us? Is it merely a botched soldering job that would screw it, or is the JTAG process itself what could hose it?

Not that I claim to know anything about haykuro, other than reading through a few recent threads, but I've known many an unqualified 17-year-old who is smarter and more patient than some people who got their CCNA, A+, and electronic technician certs at the same time as me, and some were in their 30's and 40's (I'm 24, btw). Self taught can be better than an engineering degree. Again, not saying he is or isn't like this, just pointing out that it may be an invalid assumption to call him a lunatic risk taker.

If (or when?) he delivers, seven thumbs up!

If only, indeed...
[G1 General] i<3andr0id:
car similes aside, i whole-heartedly agree. what's the cliche? haste makes waste?

*can't take this. need to go for a walk and stop clicking refresh every 5 seconds*
[G1 General] esmith:
Again... if I meant exclusive I wouldn't have said "first"... First is First and second is second... I would have said "ONLY" if it was exclusive

First

Second

Third

Fourth...
[G1 General] lbcoder:
If everything is done correctly, the jtag is no risk. It is, in fact, *designed for it*... http://en.wikipedia.org/wiki/JTAG

The risk comes in the form of locating and identifying the correct test points, and attaching to them securely, as well as selecting the right voltage. There is really not a risk of damaging the hardware with a correctly constructed and connected jtag adapter, though it is definitely possible to corrupt data if you don't know what to do with it.
[G1 General] haykuro:
meh, regardless of what people have said, i'm still happy and dandy. if you feel high on your horse, that's fancy. how's the weather?

quite personally i'm here to root this device, not to argue.

moving on..

i've made quite a bit of movement.. i've managed to discover the new boot locations on those few magic devices that weren't booting the old boot.img's we made (they require new boot locations as well)

those are:

kerneladdr: 0x19208000

ramdiskaddr: 0x1a200000

secondaddr: 0x1a100000

tagsaddr: 0x19200100

(i will post a hacked up mkbootimg for those of you that may want it later, although if you understand what any of this means, i'm sure you can do it yourself :P)

anywho, with this information i figure while i wait for a final decision (whether to JTAG or not) i will start bruteforcing some boot images.

some extra info:

i noticed that there is a 0x9200000 difference between the new locations, and the old locations (new-0x9200000=old) so maybe if i fidget with these i can find one that works.

EDIT: i'd also like to comment on the, what i like to call, "**** blowers." they insist on feeding **** into peoples minds without any previous knowledge of the area. there is already a fully functional JTAG cable designed for the g1. the schematics are not released for private matters. (i most likely should not even be speaking of it, but feel that it had to be said so others can understand a bit more where it's coming from.)
[G1 General] lbcoder:
Those things in your little list are NOT engineering degrees.. Those are private certificates that ensure a certain competency in using and/or configuring operating systems and hardware. And yes, I absolutely agree that a 17 year old could easily master everything in those with little effort. I certainly had when I was 17. A little 90 minute exam that you can study for over a single weekend. I'm sorry if I sound demeaning, but it is what it is. An engineering degree is granted ONLY by UNIVERSITIES and requires YEARS of study. Typically 4 years for an undergraduate (B.A.Sc, B.Sc or B.Eng) degree, 2 additional years for a masters (M.A.Sc, M.Sc, M.Eng), and 3-5 additional years for a doctorate (PhD). So think on average a DECADE of school for the full works.... for those that make it. Most can't complete the undergrad.
[G1 General] esmith:
Thanks again for all your work.
[G1 General] brettshouse:
This is all better than a movie....I'm standing by with my rogers magic...I have my finger on the donate button ready to fire.

go haykuro!
[G1 General] i<3andr0id:
whatever helps you sleep at night E. as in all scene releases, whether they be new firmwares for 360s or instructions for flashing new firmware to routers, they should be tested by a few people, then put up for everyone to grab. no first, seconds, thirds. this isn't a caste system.

thanks for the clarification. the more light we can shed on the process the more comfortable many of the people reading and posting will feel about you taking a soldering iron to the device we all chipped in for.

Lets not turn this thread into a "shouldn't have sent it to Haykuro because he's incapable." That's a really sh!tty thing to say, not to mention unproven until he says he can't. And even if he does say, "this is beyond me" then the device will be passed on to someone else until we have root. We trusted Haykuro with the device, no other dev came in and suggested anything else so here we are. end of discussion.

If it's merely soldering, then someone should just post the schematics and process. I know plenty of people capable of jtagging this device and would only require the software needed for dumping.

OMG. really. that's just childish and unnecessary. this thread has nothing to do with an engineering degree. dumping a phone is not rocket science. if someone has the process and the want and ability to do it then let them have at it. i understand if you're offended that someone just said that a 17 year old who hasn't has the opportunity to put the time you did into university for a degree is just as capable as you (if more so). I totally can see why that would piss you off. But grow up, your degree means nothing to the community if you flash it around as if it makes you something better than the rest of us or the anyone else who is trying to do something for others in the community. At the end of the day its a forum. people say all kinds of things. As spent told me a while back, don't take it to heart. Let's just get passed this and get to work.
[G1 General] jpa-:
Amen to i<3android, and furthermore - I think it's a fair to say that people should leave age out of the argument for now. Obviously H. has skills that far exceed many people of many ages. You don't see any 30 year-olds attempting this right now. He's the only one openly doing it right now, so just sit back - be patient, and let him do his thing. Apparently these things take time.
[G1 General] tertiumsquid:
Perhaps I'm reading too far between the lines here, but why did this turn into an argument? I'm merely pointing out that haykuro may not fit the cookie cutter of the 17-year-old's you're thinking of (and certainly not the ones in my area). I certainly was NOT trying to compare his overall experience to someone with any engineering degree, let alone a PhD; I was merely stating that he probably has more experience with this device than a lot of older people with engineering degrees. We, the community, elected him based on past successes, not someone with a degree who has never touched an Android.

Also, I wasn't saying I had an engineering degree, either; I was just using my own experience as a point of comparison for the age reference. Also, it was a 9-month course in electronics, circuit analysis, soldering, computer repair, and radio communication, which also happened to include some study towards the CCNA and A+ certs. Yes, they were easy 90-minute tests (I finished in 40-ish). The other 9 months were much tougher. I only listed those easy certs because the course I took was locally developed and specific to the college I went to.

Apologies if I offend anyone, but I don't give a damn what education anyone has, since I'm probably happier with my life than they are.

Anyway, enough feeding potential trolls (apologies if you're not; it just seems that way from those two posts). Back on topic:

Good work! Perhaps, if you could clarify for those of us who don't quite understand what you mean, will this hacked up mkbootimg be usable on a non-rooted Rogers phone, as a means of testing, or not until it's rooted?

Either way, keep it up, and thanks a ton!

I laughed as I was madly refreshing :P
[G1 General] Merritt:
haykuro:

Not sure exactly what happened with your computer, but there are often ways to recover deleted/formatted files. If you'd like any help with that, let me know..
[G1 General] haykuro:
lol i'm aware of it :P theres various tools available to recover "formatted" partitions. but i hadn't bothered recovering as i figured i wasn't going to be needing any of my stuff anyways. :rolleyes:

anywho.. http://www.mediafire.com/?njl4x5ozldm heres the tool for those of you that want to play with it.

just run compilebootmagic -1 if you want to compile a magic handset compatible boot.img, or run compilebootmagic -2 <kerneladdr> <ramdiskaddr> <secondaddr> <tagsaddr> to make a dream boot.
[G1 General] haykuro:
just to keep everyone posted.. right now i'm generating 50+ boot.img's (using a script to increment by 100 the boot locations and go all the way up to the new boot locations) and try them all :P seems to be the best idea until i get the okay for JTAG.
[G1 General] zydus:
Great, really appreciate all the work Haykuro.

- Canadian dream user who can't wait for rooot.
[G1 General] haykuro:
heh 146 total.. going to start booting now i figure. :P
[G1 General] goorpy:
Given the 92 offset for the magic, maybe try the original G1 addresses + 92 offset on the dream?

Then again, I assume you've done that, and are now trying to find the new Dream offset (hopefully it exists).

Good luck, either way.
[G1 General] aggtrfrad:
haha

Maybe you can give me a list off offsets to try when i get home :p

I tried a couple before but i think you got to know both the kernel addr and ramfs addr to boot otherwise it will behave the same way, even if you get the kernel addr ur not gonna know it...
[G1 General] haykuro:
modify the contents of compilebootnew to be:

mkbootfs ./ramdisk | gzip > ramdisk-new.gz
mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel boot.img-kernel --ramdisk ramdisk-new.gz --kerneladdr $1 --ramdiskaddr $2 --secondaddr $3 --tagsaddr $4 -o $5
if [ "$?" -eq 0 ]; then
echo "win!";
else
echo "fail!";
fi

then create a php script in the same directory with this:

<?php
$kerneladdr = 268468224;
$ramdiskaddr = 285212672;
$secondaddr = 284164096;
$tagsaddr = 268435712;
$a = 0;
while($kerneladdr < 421560320) {
passthru("./compilebootnew ".dechex($kerneladdr)." ".dechex($ramdiskaddr)." ".dechex($secondaddr)." ".dechex($tagsaddr)." boot-new-".$a.".img", $retval);
$a++;
$kerneladdr += 1048576;
$ramdiskaddr += 1048576;
$secondaddr = $ramdiskaddr - 1048576;
$tagsaddr = $kerneladdr - 32512;
}

now just run that, and then do

mkdir boots
mv boot-new*img boots

thats everything i'm testing now :P

i'm at 16 / 122 (i deleted a few that i already tested, original number was 140 or 142)

Edit: just some more info for those of you testing all of these.. boot time is ~30 so wait about 31-32 seconds before removing the battery and trying the next one.

i'm at 30 / 122 now. (31*(122-30))=2852 should take about that many seconds for me to finish :P (http://www.google.com/search?q=2852+seconds+=+?+minutes)
[G1 General] MrException:
Hi, I'm new here. And new to the HTC Dream. Just got mine a few days back. Still learning about how the boot process works what not.

I'd like to help out with this brute forcing attempt, but I'm not sure how. From what I've read you can use fastboot to flash the boot.img or adb shell in and use flash_image. Is that correct? (I'm building android from source right now to get access to fastboot, and everything else, but it's taking ages) And if the boot.img doesn't work, is the phone then unusable until a proper boot.img is found? Is there a way to try the boot.img files without making the phone useless?

I'm not a complete retard, just point me in the right direction! I've been searching these boards and google, but info seems to be all over the place.

I'd love to help, just give me something to do.

Thanks haykuro for your efforts!
[G1 General] i<3andr0id:
If I only had a quarter for each time all of us have refreshed this page, I could buy... something.

i think that's 40ish minutes. Looks not so good....
[G1 General] haykuro:
48 more to go. :P

also, speaking with dream_kill.. he told me if i make a serial cable, i may be able to find the boot locations by looking at output during boot. (he can't verify as he isn't home.)

edit: (7:11 PM) 32 more... ughh
[G1 General] SpEnTBoY:
well here's hoping at least one of the next few (hundred) are fruitful!! heh ;) thanks again for all your work haykuro!!!
[G1 General] esmith:
I know someone already offered web space but just throwing it out there that I have a reseller account with host gator and have LOTS of space to spare...

Just FYI.
[G1 General] haykuro:
none of them worked. :(

alright, need to make a serial cable, and if the serial cable doesn't work. JTAG is the only solution.
[G1 General] i<3andr0id:
:( is right.

I really appreciate all the work you're putting into this H. Thank you for trying every possible solution even though I know you wanted to JTAG from the start. Thank you.

Let's keep our fingers crossed that the serial cable works. And if it doesn't, that the JTAG works.
[G1 General] ExTREmE99:
Good luck and thanks for trying to root the Roger's htc magic/dream.

Props to Haykuro!
[G1 General] haykuro:
thank you for being supportive :)

i'll have to order the parts tonight, i'll hopefully be able to order express so it gets here tomorrow or the next day.

i'll keep you posted.
[G1 General] aggtrfrad:
i edited the php script to go e little bit further, got about 250 images, started testing from 200. after 15 images I m ready to give up already...

you must have way too much patience to go through 150 images... :rolleyes:
[G1 General] jpa-:
Wow it really seems like they locked this phone down, huh? Isn't cracking phones usually easier than this?
[G1 General] aggtrfrad:
yes..

.....................
[G1 General] jpa-:
aaand the entire conversation comes to a screeching halt.
[G1 General] SpEnTBoY:
lol I think we're all waiting on baited breath hoping for a point of enlightenment from the people that are testing :p
[G1 General] dtx:
perhaps we should start a cheer for Mr. H?

let's go haykuro let's go! *clap clap*
[G1 General] r4nd0mn4me:
As I am in the middle of a week that includes 4 nights of OT I am playing catch up here.

May I shugest a poll be setup for the jTaging? I know people donated a lot to this, but personaly I would be happy to donate again if H ends up bricking thr phone....not that I expect others to feel the same. Then again I am young and ambitious :P

I am also more than happy to wait and take the safe route. Let's not rush H, things will hapen in good time.

Anyone wish to start a thread for Rogers users and share storys?

Also I would expect that H would give this thread the heads up when he posts the rooting steps, would that not be enough lead time to be the first few to root?

Agg battery is dieing...must find USB cable.
[G1 General] bluntegg:
f'n internet!

man i don't read this thread for 5 days and it turns into a bunch of arguing! a few of your guys sound like some women who are PRE! pls remove sticks from butts. or tampons.

i donated, and man, everyone knows knows asian teenagers are smarter than white adults :D

thank again haykuro, in terms of jtag... your call but if we need to donate another $700usd because the phone got bricked well... might take a lot longer to raise it the next time. just sayin. My $ commitment to this point has been relatively low, so I could toss in the same again, but I can't speak for all the other donators.
[G1 General] SpEnTBoY:
Anyone see This post?

I figure everyone is checking all these threads but just in case :confused:
[G1 General] hellfenix:
Well I'm not home but someone try to fastboot boot the daldroid recovery image!

http://www.megaupload.com/?d=JYPX30HN

Someone with Hboot 1.33 also couldn't boot using this one and needed that one for his swisscom phone : http://wiki.smartphonefrance.info/GetFile.aspx?File=android/boot-magic.zip
[G1 General] haykuro:
hey guys, sorry i haven't posted after last nights attempts, i caught a real bad fever (started as a headache and moved on to feeling nauseous and just over all horrible. stayed in bed all day after that).

i managed to get my brother to order the parts i need to make a serial cable. these parts should arrive within "4 to 5 business days." until then, not much else i can do. i'm hoping that the serial cable is our solution, i'm going to ask dream_kill now if he confirmed it.