Rooting MyTouch3G/G1 the easy way - G1 Android Development

There have been allot of forms that tell you need to make a gold card and all this other stuff to root a my touch the easiest way is to download the MT3G sapping zip and downgrade to cupcake and then do the one step rooting apk it is very simple i do this to make money and it only takes me like 15 min a phone there is no gold card necessary the same thing applies to the g1 except it is called the DREAM.nbh and then do a cupcake update zip the official one and then you do the one step rooting apk after the apk finishes what it is doing then you can flash any rom radio spl but not in that order i will put up a diy next time i do a phone and remember to do one

Yes .

awsome

why post this unless you post the steps to root???
nice how you dont need the gold card, however for the G1 there are numerous threads for rooting out there.
makes more sense to post this in the sapphire forum....

Related

[CONCEPT] Root automatically from SD Card or from PC

I'm thinking of creating a small archive of files, that when extracted to the SD card root, and applied, will root the phone and apply a firmware in only three steps.
It will only contain four files - the RC29 DREAIMG.nbh file necessary for downgrading, an update.zip that contains the latest SPL and Radio, the latest Cyanogen Recovery image, and a simple script that applies root, SPL/Radio, and your favorite firmware.
I'm not sure if it will work, but constructive criticism and ideas are welcome.
_______________________________________
First method: Root from SD card
This method puts all the necessary files on an SD card, and does not require a computer after that.
Basically, in a zip file, you have the RC29 DREAIMG.nbh, update.zip, and root script.
You extract this to the root of a FAT32-formatted SD card.
You reboot with camera+power, apply the DREAIMG.nbh, reboot.
Once the phone is booted, type in "sh /sdcard/root.sh".
From the exposed root terminal, it will begin the following:
Write the Cyanogen recovery image to flash, move image to system/recovery.img, remove image file
Place commands in /cache for recovery to apply the radio/spl combo package and if it exists, a custom firmware, in the correct order
reboot recovery, performing the above tasks automatically.
Benefits include:
- No telnet app required, not opening up a telnetd, more secure
- Only one command to enter
- No(?) risk on flashing the Hero-compatible radio/SPL out of order and bricking that way, as both are flashed at the same time
- Automates several of the processes in rooting, allowing for a quicker root
- Can be placed on a special "rootkit" sdcard, and used to quickly root your friend's phone in a matter of minutes, anywhere
_______________________________________
Second method: Root from PC
Another method I thought of uses no manual copying to the sdcard, but requires a PC with fastboot(?) and adb.
First, it pushes the RC29 DREAIMG.nbh to the sdcard, and issues a reboot to bootloader.
You press a few keys to write the image, and reboot.
--OR--
First, it pushes an update.zip containing the update just before T-Mobile patched the root kernel exploit, then it puts the commands to flash it and reboots into recovery. After that flashes, it reboots again.
From this point on, it's all automatic.
The script waits for the device to be ready, and adb install's the auto-root exploit apk, and launches the intent through adb shell am start [...]
At this point, the WiFi settings are probably not capable of downloading the Cyan recovery in the case of those of us without data plans, so it will need to be pushed.
Once the autoroot apk flashes the recovery, we must write parameters to flash the radio/spl combo package, and the custom firmware (if applicable), to /cache, and reboot.
At this point, the radio, SPL, and firmware should be pushed and written, so the script exits.
_______________________________________
If this sounds stupid, doesn't make sense, will auto-brick your phones, start global thermonuclear war, make all random numbers generated by your phone divisible by three, cause your meticulously placed lineup of G1 dominoes to collapse prematurely, or boot up the LHC and wind up creating a black hole, I am terribly sorry, but it's an idea I had at 2 in the morning, and it took me this time to research some things and write this post. It's about 5:30 AM now.
This is only an experimental concept. Some things might not be completely thought out. I'm tired, and hungry. I may create a proof-of-concept implementation of this, if I knew a bit more about the syntax of describing intents to launch in 'am', or the command syntax of the package:/META-INF/com/google/android/update-script file.
dont forget that for root from SDcard, EU users need a goldcard, so its still not that easy..
even for insta root from PC, you still need to downgrade, and for that we'll need a goldcard.
why not just use 1click root?
First you have one click root which does give you access to recovery with security off so possible to somehow go from there instead of downgrading and all that hassle. I personally to do not care to see the advancement of this app for the simple fact that there are already a wave of people that can not read and expect hand holding every second of the way and you want to make it even easier to confundle their minds.............are you nuts....
I already have a rooting sdcard for rooting other people's phone that contains one click recovery flasher, cyan 4.04 and the hard spl and it takes me 10 mins to do it just cause off the first boot up takes so long
also you cant have your pc reading the sdcard at the same time that the phone is
The concept is good but...theres many complications to have it done automatically.
I sure would like to see something like this. I have a G1 that I rooted the long way and a MT3G rooted with the one click method. I have enough knowledge to follow instructions and read, I partitioned my own card, so the G1 was doable. I dont have the time or the knowledge to go the long route with the MyTouch gold card ADB route and would love to be able to flash Hero ROMS when I get the bug. I have Cyan's latest on the MT now and its awesome like all his stuff but I would have played with Drizzy's ROMs. For someone like me with a little ability but far less than most people on here, something like this would be the bomb!
not sure if its possible or anything, but there should be some way for the script to check if the phone has a pvt board or not, and if not, it prevents the new spl from being flashed, should reduce noob bricks.
Leave root the way it is I think the harder it is to root your phone the less peaple are going to do it. I spent alot of time reading before I rooted, not so much to learn how to do it, but to decide if I wanted to make the jump. During this reading process I learned the ways of XDA, use search, where to place the right questions and where NOT to and finally read first then ask. With an autonatic root I would have loaded it then freaked out if something went wrong and started posting root questions all over the place. Leave well enough alone... Learning to root give you the right to pursue other adventures.
maybeoneday said:
Leave root the way it is I think the harder it is to root your phone the less peaple are going to do it.
Click to expand...
Click to collapse
Frankly, I didn't root my phone to feel special, so I don't see any benefit whatsoever in less people doing it.
I don't think this will work though. There's too many variables. As described it will only root US phones. UK phones would need RC7, so you'd have to include both and check if the current OS is CRC1 or CRC37 (or respective older/newer versions). But European phones outside the UK (like my German G1) will be on CRC37 too, and those won't take RC7 without a goldcard, so you'd have to automate goldcard creation as well. I'm sure the complications don't end here.
Also, shoving Haykuro's SPL onto inexperienced/unsuspecting/ignorant users' devices is just begging for trouble. Just use HardSPL - the rooting kit won't be able to run Hero-ROMs right away, but at least that won't brick the phone if flashing some rom downgrades the radio. (E.g., I know some official updates do that.)
1 click root is so simple and idiot proof (and im a total panzy noob lol)
i don t think there is any simpler way to do this lol
Frenchtom, nothing is idiot proof, have you been over to the q and a section, if there is a way to do something and good instructions, it will get screwed up cause of people not taking the time to read the complete directions and then read them twice to make sure they comprehend them
Okay, thanks for your input, everybody.
I did know about 1-click root, however I thought that depended on a kernel vulnerability that was already patched in the OTAs. I was looking at a more universal(ish) method, and I did not know about the "goldcard" issue. I did know that UK phones would need RC9, but I failed to include that as I really just wanted to get to bed.
Also, I don't think that root is anything "special", i.e. some sort of elitist egotist symbol that says "I haz root fone and I better than u". Seriously, more people should be allowed to use the more advanced features of their device at their own choosing, knowing that there are risks involved.
People who walk up to someone, say "I got a root phone", shows off some massive demo of awesomeness (i.e. Hero), and doesn't teach others to root the G1 themselves (or worse, charges for instructions that could be found free here) are really the antithesis of an open-minded community of developers adding more features as they feel, for what little donation money they get and the credit of doing something cool for other G1 users.
I do however agree that pushing features that can potentially insta-kill the device on the average person and their grandma, people that wouldn't know what the benefits of root are, and people who would never even have known that their G1 ran Linux (or what Linux is, for that matter), is just asking for trouble. A fair balance between educating people about the phone's internals and making easy-to-install root packages and stuff should be kept.
I learned a lot about Windows Mobile and embedded software when I first flashed a custom ROM to my HTC Wizard years ago. And I actually had a fear that if any small detail were left out, or if I breathed on the phone the wrong way, the flash would fail, white-screen, and brick out.
The G1 is no different, even though the flashing process has come a long way, we still have an IPL, SPL, bootloader mode, many different variations, board revisions, regional changes and operator customizations/lockdowns (I had a Cingular 8125 G3 btw), and many versions of Consumer, Engineering, and HardSPL that have to be treated very, very carefully, just like on the Wiz.
Anyway, anyone's free to try and build a better mousetra--- err, rootkit using my ideas. And thanks plenty to the dedicated developers here, the more enlightened users for helping me find out why this wouldn't work, all the users, without whom, we wouldn't have a reason to develop, and the 17%-or-so of you that dislike my idea.
When I learn a bit more, I might get into making something useful for Android.
repack dreamimg.nbh with everything, so one just has to flash the one image
Oh I am not saying that I think I am special just cause I have a rooted phone, I am also a person that is on here always trying to help walk someone through any issues that may arise,just saying making easier for people to break something because they did not read the instructions is quite common and think that it should take a little bit of work so that you learn in the process

Flashing ROM on HTC Magic Perfected SPL

After a bit of research, I finally got a solution to flashing non-official ROMs on my Magic with [perfected SPL|]:
Download [FlashRec|http://zenthought.org/content/project/flashrec]. Since you cannot remote fastboot recovery ROMs, you have to use this app to flash a recovery ROM locally on your phone
Get your favourite recovery ROM (I used [this one|http://forum.xda-developers.com/showthread.php?t=530492])
Copy both files on your SD card; leave the ROM on root folder of SD card
Install FlashRec on your phone (remember to allow non-market apps in Settings->Application Settings)
Back up applications (optional, using ASTRO)
Back up your APN settings (following the "How to backup your APN details" section on [this page|http://wiki.xda-developers.com/index.php?pagename=HTC_Sapphire_Hacking_2]. Note that this is not optional since my phone turned out to be unable to remember these settings after the ROM flashing. You cannot access data connection if you do not provide correct APN information
Get your favourite ROM at the bottom of [this page|http://wiki.xda-developers.com/index.php?pagename=HTC_Sapphire_Hacking]; put it in root folder of SD card; rename it to update.zip without upzipping
Run FlashRec; click "backup current ROM" first; then type "/sdcard/##YOUR_RECOVERY_ROM_FILE_NAME_GOES_HERE##" into the text box, then click "flash ROM"
Power off the phone; Hold HOME and POWER until the recovery ROM appears
Follow the steps in Section 5 on [this page|http://wiki.xda-developers.com/index.php?pagename=HTC_Sapphire_Hacking_2]
Type in the backed up (written down) APN information and enjoy
Good thing about this approach is that you do not need to do crazy things to fix perfected SPL, which I somehow believe is quite bricking-prone.
(http://lineardependence.blogspot.com/2009/12/flashing-rom-on-htc-magic-with.html)
What is new about your instruction that we can't find in other threads ?
I ended up flashing an engineering spl but it's good to know that it can be done with perfected spl. Thanks for the info!
Thanks a lot, I just bought a Magic for my dad, and he wanted Sense and root.. Turns out it have Perfect SPL. I was reading the howto for GoldCard, fortunately I found this guide after a bit reading
1.33.0014
Does this method work om this SPL??
If not I don't want to start all over with my apps, contacts and widgets
This metod work only Perfect SPL.
not suitable for g2 3.03 official roms. flashrec failed to work.
thanks dude
used this method myself. very useful posting in amongst all the (unecessary?) talk of flashing SPLs if you have 1.5 installed and want to get in on the ROM fun. (Even clearer than the method in the Newbie guide too)
flash failed: could not run command
I will ask the same question as I did on the 4th december.
Does this method work on 1.33.0014
If not I wont use this method, cause my phone is working with officiel rom, it's just slow and batteryconsuming
Does not work.....
I took the chance and tryed this, and it does not work. So I guees the only way out for me is the goldcard method
Do you need to be root?

A couple of questions....MyTouch 3g

I came from WinMo phone which I used to flash all the time with different ROMS. Now I have this Android and am not sure what to do with it, I love the phone, have had it for about 3 months now, but I know it can do bigger and better things. So is rooting the same thing as unlocking? When I used to flash my WinMo phone I would drop the ROM into the little software flash package I kept on my hard drive and change it out. Is there such a thing for Android. I really like this phone and don't want to screw it up assuming I know what I'm doing because I did it on my other phone, I want to edumacate myself like I did before I started flashing my other. Does anyone have reliable good information links they can point me to within this forum that will help me feel good about flashing this phone too? I know I've read that just rooting the phone makes it run faster without flashing a ROM....true? Thanks for your help, suggestions, etc. All is appreciated.
sopranoiam said:
I came from WinMo phone which I used to flash all the time with different ROMS. Now I have this Android and am not sure what to do with it, I love the phone, have had it for about 3 months now, but I know it can do bigger and better things. So is rooting the same thing as unlocking? When I used to flash my WinMo phone I would drop the ROM into the little software flash package I kept on my hard drive and change it out. Is there such a thing for Android. I really like this phone and don't want to screw it up assuming I know what I'm doing because I did it on my other phone, I want to edumacate myself like I did before I started flashing my other. Does anyone have reliable good information links they can point me to within this forum that will help me feel good about flashing this phone too? I know I've read that just rooting the phone makes it run faster without flashing a ROM....true? Thanks for your help, suggestions, etc. All is appreciated.
Click to expand...
Click to collapse
Wow... Amazing that you could put in the effort required to post all of this, but couldn't read through the Wiki posts and general information stickies at the top of this Forum.
Please do some more reading.
One hint... Your MyTouch 3G is a 32B device.
I was really confused when I started customizing my girls mytouch...Ive been flashing WM phones for years even update my kitchen with newest releases etc. In fact I personally use a touch pro.
I have yet to really sit down and figure out how to make some android roms myself. Ive been loading up premade roms posted on here.
It was a bit confusing when finding out how to get a hero rom on her phone. With all the fat 32/ext2/3/4/linux swap etc.
What I did was followed the one click rooting thing that loads cyanogens recovery and rom. Then I took the amon_ra recovery which allows you to partition the sd card on the device since I didnt have an sd card reader on my laptop or linux. When you are loading the cyanogen recovery/rom you'll download an app from market called recovery flasher or something like that. In the first step you'll be asked to backup the cyanogen recovery which makes a file on the sd card. Take the amon_ra recovery file and rename it the same as the backup file on the sd card. Overwrite the file on the sd card. Rerun the recovery flasher app and click restore from backup..Follow the instructions and you'll have the Amon_ra recovery.
Boot into the recovery screen (hold home and power until it boots up) partition the sd card. I have my girls 1gb set at 256mb ext4 partition, 64mb linux swap, and the rest as Fat32.
Then load up a rom make sure its intended for 32b.
I by no means am an expert in this so take what I said with a grain of salt. I wrote that from memory. Just trying to help someone out the was just like me a month ago. Really confused.
Hope that helps.
PS. Took me a while to find out but despite this being the forum that seems would be for the mytouch I actually find more roms for 32b in the G1 forum.
You can check out the wiki page on cyanogen's website:
http://wiki.cyanogenmod.com/index.php/Main_Page
that was enough information for me to get started. Note that I haven't partitioned my sd card.
maybe u can try this tutorial .. it's one of the simplest direct methods to flash ur phone
http://forum.xda-developers.com/showthread.php?t=579328
p.s. : expect things to be more complex here it's just linux way of doing things
I used the guide at the cyanogen wiki and it works marvelously. I do reccomend using Amon_RA's recovery image instead of the Cyanogen one used in the guide(not to be confused with Cyanogen's ROM. Absolutely use the ROM, but when you get to the Recovery Image part, install Amon_RA's and follow the same steps, making sure to adjust command lines to reflect this different recovery image).
It just offers more functionality that I'm sure you'll find useful for later, such as backing up, partitioning, converting ext partitions and so forth. You'll learn about that stuff later.
Happy rooting, and best of luck to you my friend. As a fellow myTouch3G user, feel free to PM me with any questions. =)

Droid incredible 2 runnydroid v2.0 installation

I am getting ready to put this rom onto my phone and before doing so just wanted to make sure I have the process right. I transferred the .zip file onto my microsd card and now i just simply boot my phone and it will open a menu where i can make a backup and then continue correcrt? i have not done anything to my phone to prep it for this and just wanted to make sure there wasn't any preemptive steps to take before beginning. Any help is greatly appreciated. my main concern was just reading a lot about needing s-off and downgrading to 2.3.3 on devices before installing roms. i have not done either of these and wasn't sure if it was required for this particular one
http://forum.xda-developers.com/show....php?t=1374853

Tut root mt6577 hero h2000 + plus inc /system access

Anyone with a hero 2000+ knows it's annoying to try and get full root, those without a hero reading it's a very light weight kinda cheap but still plays any game I've thrown at it Chinese phone that imitates the iphone 5 in design, ANYWAY back to the point
What will this guide achieve?
- Root including access to system apps ( /system )(/xbin /bin)
- Your external SD card will become the phone system memory for apps when installed instead of sdcard2 which the app market refuses to install directly too which makes installing big apps a pain in the A.
Any bad points?
Just one sadly the rear camera doesn't seem to be detected seems to only detect the front, i'm sure someone a little more experiences could extract the correct stuff and place it into the mod i'm going to link at the bottom and if you think you can do this please do would help me and other people a lot
What do you need?
Follow other guides around the forum to install CWM there are loads of ways around i'll include all the random ones i book marked and you can figure the rest out, took me a while to figure out which one was best and how to do it due to the phone being impossible
Links below:
FIRST AND THE BEST ONE FOR ME CLICK HERE : This one has drivers CWM hack and the basic root, it will give you root access but you won't be able to delete system apps or do anything really cool, but will give you the fundamentals to do the hack to gain this.
SECOND ONE: This one i can't remember its use but it had some use somewhere?? Play around with it whatever just giving you more info i found.
THIRD LAST : Not sure about this too but it did something when i played around with it... I think?
The tools to give you full root access the initial hack / mod / whatever you call it i was talking about in the first place before i placed all this jargon on you:
So once you have CWM and maybe root access is essential i'm not sure i don't think so, load into CWM you know turn off your phone, turn it back on hold volume key +, if you're this far you know the routine, make sure you put THIS FILE HERE CLICK HERE onto your internal sdcard not the external, click install from SD card, click install from internal SD, click on the file i supplied and wait for the magic, will load in Chinese once done, the first boot might take around 5- 8 minutes, click on the drop down instantly and select your language, and you are done with super user ( sadly all the Chinese **** is still on there) but you have the tools to remove it now at will
Also
Is you want to quickly replace superuser with SuperSu instead and delete some of the chinese jargon check out THIS LINK RIGHT HERE MOFO.
and... you... are... done.
BTW THE SAME **** IF YOU BRICK YOUR OWN PHONE FOLLOWING MY INSTRUCTIONS OR NOT AND ANY VARIATION OF MY GUIDE BLAH BLAH BLAH, DON'T BLAME ME YOU ARE F'ED, NOT MY PROBLEM I'M SURE YOU CAN AFFORD ANOTHER $120 FOR ANOTHER CHEAP LIGHT WEIGHT PHONE LIKE THIS CAN'T YOU? IF YOU CAN'T OH WELL.
Good luck guys.
WANT TO UNDO EVERYTHING WE DID?
http://www.gizmochina.com/2012/12/05/how-to-installi-rom-for-hero-h2000-phone/
Installing above will reset your hero back to normal if your phone was the one with the normal android / iphone ios theme not the complete ios theme hack version.
It also includes the official tools you need for drivers and the flashtool though if you want to play around with other roms you have found.
WANT ONE OF THESE THINGS?
CLICK HERE TO LOOK, ONLY TOOK A VERY SHORT 1 WHOLE MONTH TO GET FROM HONG KONG TO UK WITH FAST SHIPPING WOAH!
Root hero 2000+ h2000+ scatter mt6577 mtk6577
RESERVED
- Uploading scatter and files for a good looking rooted rom with camera completely bug free including supersu root and all bloatware deleted.
NEW TUTORIAL IMPROVED CAMERA FIX AND FASTER INSTALLATION:
http://forum.xda-developers.com/showthread.php?t=2138585

Categories

Resources