JesusFreke please read this. - G1 Android Development

Well today i had everything setup like i wanted. I had JFv1.41 rc33 version install on my g1 and a custom Theme. I wanted to switch my them for a new more looking one. So i download a new custom and install it. to my surprise i install an old them which i install. Boot the phone and got the T Mobile G1 logo and that it i get stoke there. So here why i made this tread to tell JesusFreke in the next or when ever he could add a USb toggle in recovery mode. I am stoke with this till 2 days. This will help allot of first g1 noob. Thanks for your time.

ok
A: next time make sure you download a theme that works with your version of JF
B: why didnt you put this under JF's thread?
C: if you have an update.zip(or something that can be renamed and used as such) you can go to the recovery console, type "mount sdcard", then use the basic linux commands to put it on the top directory of the sdcard and restart and load it up, thus fixing your phone. If not, you should keep on somewhere on your phone just in case such a need arises

[email protected] said:
ok
A: next time make sure you download a theme that works with your version of JF
B: why didnt you put this under JF's thread?
C: if you have an update.zip(or something that can be renamed and used as such) you can go to the recovery console, type "mount sdcard", then use the basic linux commands to put it on the top directory of the sdcard and restart and load it up, thus fixing your phone. If not, you should keep on somewhere on your phone just in case such a need arises
Click to expand...
Click to collapse
So you want to be a smart ha here i go.
A) People can make mistake
B)I did that because i wanted to make Jf read this thread and it will help people like me who don't really have the knowledge on using Linux easy.
C)I don't really know that much of using linux like u.

I'm sure many people send JF many PM's wanting the same thing as you do. Do you think he has the time or want to answer a question that someone else might be able to answer?

Making mistakes is something you need to be more careful about. Having root means the phone will let you do whatever you want. This means safety features that are made to protect you from yourself are not active. Read about what you are doing before doing it. That is the message n00bs need to be given.
Put the sd card in your computer, place the .nbh file on it, reboot into bootloader and downgrade your phone. Then work your way back up to JF 1.4x and read more carefully before you install themes. I know my way around the G1 very well (if I dont say so myself) but I still do not install themes. They are nice, but they are not at the point where installation is as easy or system friendly as they could be.

Blue*lable said:
C)I don't really know that much of using linux like u.
Click to expand...
Click to collapse
I've never really used Linux myself, as it seems more complicated than it's worth most of the time, but I've had no problems so far using a rooted G1, or installing custom firmwares, etc. I haven't tried themes, but from what little I've read into it, not only does it seem fairly straight forward, but I've also noticed quite a few of them warn the user that they need to be running the Lite version of JF 1.4x before they install a theme because otherwise there simply isn't room. That said, it's not up to JF to babysit everyone that decides to delve into the unknown.

I dont understand what your problem is,
if u dont know about linux buy an microsd to SD adapter, extract microsd from your phone and use a computer to copy JF's latest update.zip to your card and then upgrade usual way
what is the problem?

JesusFreke if your reading this I just wanted to say "Hi" and "Thanks" and ... and.... Ummm ...

Everyone in here relax.
Try not to direct threads to a specific person. This is a developement thread. You want a specific someone to read something, send them a PM. If you are lucky he will read it, if he doesnt have them turned off.

Related

New to G1

Good afternoon to the G1 community. I just purchased my G1 yesterday through Tmobile and I have a couple question.
I just came from using a wing so I am pretty savy with wmo rom flashing and whatnot, but android is completely new to me. Now, of course i want to get the most out of my device. I must say, out of the box it is by far the best device that I have used. Even so, i know that there is some stuff that i am missing.
I have done some reading here in the forum, and i do know how to search, but im not clear on a couple things. For starters, I have been reading about Rooting my device. Now to be totally honest with you, i've read through the Rooting Thread but only walked away with I would love to have autorotate for my screen! I mean, truely what are the benefits to rooting the phone? Will i loose access to the "market" or loose any other functionality of the phone as it is now? Future updates?
In a perfect world i'd love to have the auto rotate feature.... the ability to change the way the program list slides up to maybe sliding panel, and an onscreen keyboard (such as chompsms) when i select a line to type in (whether im in the browser or anyother program.)
I Love the phone as it is.. so all in all, what functionality would i gain, and what would i loose? besides warranty of course
I apologize, i realized i may have put this in the wrong section!
1. Rooting you phone allows you to basically use it to the best of its capabilities. For example, you can change themes, boot image, auto rotate, multitouch, etc. You won't lose the market or any other functions after you root the phone. (To my knowledge, I see paid apps and such just fine on my phone.) You will continue to see future OTA updates, but if you download them, you will lose root access for your phone.
2. The "Cupcake" OTA release is planned for April (As has been discussed on the forums, may be true, may be false. TMobile is claiming its false, but Google controls the updates) If we ever recieve this update, then we will be able to get things such as an onscreen keyboard.
3. I'm not sure about changing the order of the way the apps are presented on the slide-up menu, but there are apps like ahome or dxtop that have alternate home styles, such as the "Iphone" style horizontal scrolling or multiple menu tabs.
Thanks, I do appreciate your prompt response!
if you want the best out of your phone root it.. but thats completely up to you.. when you root you'll be able to get the latest builds from JF anyway soo you'll never be out on whats new.. if anything you'll be a couple steps ahead of regular g1 users at all times
Just to verify.... The market is still available for apps after rooting.. Now I will loose root if I download from the market or just the "OTA" updates for the phone?
Also, i was going through the instructions for the process and got to the point where you upgrade to the latest build. So, i assume RC33 is US Tmo vs RC8 being for UK. What is ADP1.1? So is my choice between ADP1.1 and RC33?
you shouldn't even recieve an OTA update notification if you follow directions, so you don't have to worry about that, and many apps on the market are actually FOR root users and only root users so you will not lose market obviously. the greatest thing about getting root is that you can basically make your phone do anything you want(so long as you are comfortable with linux commands and aren't afraid to temporarily "brick" you phone) but even if you kust want autorotate you will need to root the phone and you will need to grab a JF update. there is an app that someone has written, almost completely idiot proof rooting, and i am trying to help it to be COMPLETELY idiot proof, if you want to try it out search app that roots your phone and it should pop up
Ok, so I have decided to go ahead and play with this and see what there is to offer.
I have successfully downgraded to the rc29 firmware and verified it in my phone. Now I have also done these instructions to get root;
Rooting your RC29 or lower phone:
On RC29 phones and lower, anything you type into your keyboard is also being run in a hidden console with root permissions. More information regarding that at the bottom of this post. But, to get root access, do the following:
Instructions:
Download recovery.img and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card).
Download the Hard SPL and copy the zip file to the SD card.
All files must be on the root of your SD card.
Restart your phone. Wait for your phone to start up fully and show the home screen.
After your phone starts up, hit the enter key twice, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
Download an Android "Telnet" application from the Market and connect to localhost.
If you connect successfully, you will have a root prompt "#".
Type the following into Telnet (these commands will give you root access easier in the future):
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img
Now of course i dont know if it was successfull cause it doesnt tell you. Now here is my problem. I am trying to upgrade the rc33 now but with NO LUCK! Now the instructions say to download the file, rename to update.zip and go into recover mode and run update. However it keeps giving me the error "Can't open /sdcard/update.zip (bad). I have downloaded two copies and this happens with both and the radio version.
What am i doing wrong? I have tried to rename the file on both the phone and the computer, with the extension .zip and without it but with no luck. I have the file directly on the root of the sd card. Do I need any other files on the sd card? or just the zip file?
I have read and read, but I have not found a clear explanations.
I'm not on a G1 (I'm on a Google dev phone that came rooted out of the box), and thus haven't gone through that process myself, but I seem to remember reading something about having to go through RC30/JFv1.3x and THEN to RC33/JFv1.4x. Not RC29 -> RC33/JFv1.4x directly.
I could very well be wrong though.
Ok, well I did get it to install.. still working on it...
Definitely wierd. I'll update when i finish!
I successfully went from rc29 to rc33 v 1.41 but realized that the newest is 1.42 so thats loading now.
Its odd, it seems that my problem was when i was in recovery mode, I would alt L to bring up the menu and alt s to update from sdcard. It didnt work for nearly 10 times.. then all the sudden instead up alt L to bring up the menu, i just did alt S and it booted. I didnt realize that linux was that sensitive! Other than that, i'm about to play with the new firmware.
So there is no way to get an onscreen keyboard like chompsms? I kinda found that hard to believe.
while it is SUGGESTED that you go from 29 to 30 to 33(what ever happened to 31 and 32?) it is not necessary, i am gonna assume you are on windows and you may be naming it update.zip.zip because extensions are hidden. try it after just naming it update, and also make sure that you unmount the phone correctly after you put the file on there, a lot of times it is still writing data when you yank it out, and that will cause the (bad) error. hope this helps. if you get a file not found error after naming it update then just put the .zip extension back on the file and make sure you unmount properly
tubaking182 said:
i am gonna assume you are on windows and you may be naming it update.zip.zip because extensions are hidden.
Click to expand...
Click to collapse
This, and maybe you've downloaded the 'build environment' package.
At my first attempt I got the 'bad' message, too. I didn't know which one to pick up so my first try has been 'ADP1 build environment'. Later with 'ADP1' (not the build environment one) no problem. Now I'm going with the UK because I wanted the UI in german and because some market apps didn't download with ADP.

How and why do you people know all of this?

I had a friend root my phone and I know if I want to flash a new build I rename the file update and drag it to my android folder then restart the phone a certain way and press alt s to load the build.
I love my g1 and the 1.5 build Im using but I cant get any further because Ive scoured the internet and these threads and I just cant figure out what all of this computer jargon means and I dont understand how anybody does know without taking classes in it.
I think I should make a nandroid backup and partition my sd card to run apps but good lord what does this mean (regarding nandroid)???---
"anyone who has root on their G1 and has the engineering/dev spl bootloader [1] (or has a dev phone) + a recovery image with busybox and adbd running as root [2"
and this (regarding sd partition)???---
pre-requisite "You created the FAT32 / EXT2 combo partitions" I mean this is a PRE-REQUISITE! I found a thread regarding the fat/ext deal and didnt understand it either.
I know nobody is here to babysit but is there some website somebody can direct me to to begin understanding what Im reading, I mean I read through the sd partition for dummies thread and I literally understood MAYBE 10% of the words, if thats for "dummies" im clearly the "dumbest"
I have the will I just dont have the way, ive typed the language i dont understand into every search engine I know of and Ive learned nothing. You guys are born geniuses
and what the hell's a "script"
No offense intended, but I don't think you should root your phone or carry out any of the procedures outlined in the developer forum. Following instructions to the letter is important when you are performing unauthorized and unsupported hacks, and most of those instructions assume an intermediate-to-advanced level of computing understanding.
As far as "where you learn it", I assume it varies from person to person. Although in nearly all cases, you learn it slowly by absorption when you are immersed in computing culture. Eventually if you lurk enough and see a word enough times in a particular context, you gain an understanding of what it means without being explicitly told.
You learn as you read through forums and threads and asking questions. If you're lucky, someone will explain it to you.
A script is like a programming language that controls a software application.
Nandroid is a tool or script you can use to backup your phone. It takes a bit of knowledge to restore from the backup though and requires a separate thread
You can read all about SPL's here: http://forum.xda-developers.com/showthread.php?t=455860
Can't help you with busybox/adb/recovery image right now.
FAT32 and EXT2 are just file type partitions. Think of a hard drive as a box. You put a divider cutting the box down the middle to split it into 2 compartments so each compartment can store something different. That's essentially what you do to a SD card when you create a FAT32 and EXT2 partition.
I learned all this by totally screwing things up, then reading, and reading some more. Then using the search function of the forum and of course more reading.
Now I understand a good deal about ADB, terminal, and the many, many other things that come with a rooted phone,,
I don't agree with the post that said if you don't get it don't try it.....
But that is cause I learn by doing...
As mentioned, doing this is a little complicated. The wrong step can temporarily brick your phone and then you'd have to know how to fix it, which in a way also requires a certain level of knowledge. It's best to learn and absorb the information first and to NOT be in a hurry to implement what you learn.
DMaverick50 said:
I had a friend root my phone and I know if I want to flash a new build I rename the file update and drag it to my android folder then restart the phone a certain way and press alt s to load the build.
DMaverick50 said:
This will be invaluable to fixing a botched up hack. Although, many times you'll also have to wipe (alt-w) to clear out your personal settings and personal data.
DMaverick50 said:
I love my g1 and the 1.5 build Im using but I cant get any further because Ive scoured the internet and these threads and I just cant figure out what all of this computer jargon means and I dont understand how anybody does know without taking classes in it.
Click to expand...
Click to collapse
As mentioned, we all just love the stuff, and pick it up as we go. Most of us read extensively and have well set backgrounds on computers. If you want to get your degree in brain surgery, it helps to have basic knowledge of human anatomy, first.
DMaverick50 said:
I think I should make a nandroid backup and partition my sd card to run apps but good lord what does this mean (regarding nandroid)???---
"anyone who has root on their G1 and has the engineering/dev spl bootloader [1] (or has a dev phone) + a recovery image with busybox and adbd running as root [2"
Click to expand...
Click to collapse
Nandroid is a backup program build into the... "recovery mode" for lack of a better description. It's where you do the alt-s at. Alt-b creates a backup of your system. To restore it, you must read the thread sticky that walks you through it.
DMaverick50 said:
and this (regarding sd partition)???---
pre-requisite "You created the FAT32 / EXT2 combo partitions" I mean this is a PRE-REQUISITE! I found a thread regarding the fat/ext deal and didnt understand it either.
Click to expand...
Click to collapse
As mentioned, FAT32 and EXT2 are types of filesystems. Think of it as being told to store a box in a wearhouse. The filesystem, in a sense, would be like the isles, shelves, etc. that help you not just have a giant pile of stuff.
This is asking you to have an SD card that has been partitioned off into two partitions (a giant wall in the middle of the wearhouse) where on one side you have one way of storing things that is easily understandable by the average joe (windows, linux, apple) and one side that is much more complicated but much more efficient to store things that only the wearhouse manager understand (linux.)
DMaverick50 said:
I know nobody is here to babysit but is there some website somebody can direct me to to begin understanding what Im reading, I mean I read through the sd partition for dummies thread and I literally understood MAYBE 10% of the words, if thats for "dummies" im clearly the "dumbest"
Click to expand...
Click to collapse
No. We all started somewhere. Nobody here came here and understood everything over night. Most of us have YEARS of experience in the computer field, if not decades. As far as knowledge here, it takes months of READING to really start to understand things. Once you do, THEN things will make sense and then you're less likely to break your phone.
DMaverick50 said:
I have the will I just dont have the way, ive typed the language i dont understand into every search engine I know of and Ive learned nothing. You guys are born geniuses
and what the hell's a "script"
Click to expand...
Click to collapse
Read, read, read. That's my way.
And like mentioned, a script is just what it is in real life. Something you follow. If I gave you a movie script, you follow what it tells you to do while in the movie. In the computer world, it's the same. You write a script that tells the computer what to do.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
I see you joined few days ago. I suggest you start from the begining. i.e. read all stickies. Every questions that you've asked here was asked before by someone else and answered multiple times.
To offer a glimpse of hope here: it's a lot easier for n00bs now as more and more people get comfortable with Android and Android tools and it's not just 2-3 guys who can answer a question. Also, at this point we have apps that will run a script for you, move your apps and caches to SD, overclock you CPU, etc etc etc.
Welcome to XDA and good luck
For the APPS2SD do this....
http://forum.xda-developers.com/showthread.php?t=500387
OH, first backup EVERYTHING on your SD card to your desktop.
Open the terminal program... I always do this **** in adb cause you wont catch me dead trying to type and read a small screen when adb is copy and paste.
type
su
cd /data
wget http://64.105.21.209/bin/lib/droid/sdsplit
chmod 555 sdsplit
/data/sdsplit -nd -fs 7500M (thats for an 8 gig card. so adjust it depending on what side card you have 4 gig = 3500M etc...)
Now you need to make sure you have an APPS2SD rom... That makes /system/sd available. Now you have to copy and make "aliases" from the old spot to the new... Million threads on that one. Just wanted to give props to "MartinFick"s script (bunch of commands in a file I guess you can say. You can run any partitioning sw on windows 7 or I would of gone that route...
i appreciate the replies. Ive been on this forum for about month checking throughout the day (instead of paying attention to my professors) but only signed up recently to post.
I do understand the concept of nandroid and the sd partition, I just get lost in the processes very quickly. In my life Ive only learned by screwing things up so im ready for almost anything. I dont want to get stuck without a phone though so Ill definitely try to get a better understanding before trying anything dramatic. I guess Ill keep looking for some website that has a search where I can just type in all of the language I dont understand, surely this type of site exists I just havent found it yet...
southsko said:
For the APPS2SD do this....
http://forum.xda-developers.com/showthread.php?t=500387
OH, first backup EVERYTHING on your SD card to your desktop.
Open the terminal program... I always do this **** in adb cause you wont catch me dead trying to type and read a small screen when adb is copy and paste.
type
su
cd /data
wget http://64.105.21.209/bin/lib/droid/sdsplit
chmod 555 sdsplit
/data/sdsplit -nd -fs 7500M (thats for an 8 gig card. so adjust it depending on what side card you have 4 gig = 3500M etc...)
Now you need to make sure you have an APPS2SD rom... That makes /system/sd available. Now you have to copy and make "aliases" from the old spot to the new... Million threads on that one. Just wanted to give props to "MartinFick"s script (bunch of commands in a file I guess you can say. You can run any partitioning sw on windows 7 or I would of gone that route...
Click to expand...
Click to collapse
The steps seem doable but it says to use jesusfreak's build, i am on dude's will this be a problem? thanks
Simple...we are the borg! The apparent knowledge is actually just one giant shared conscience, connecting our minds together from the time we log onto XDA...and we think you should join us. *Evil Laugh*
knight4linux said:
Simple...we are the borg! The apparent knowledge is actually just one giant shared conscience, connecting our minds together from the time we log onto XDA...and we think you should join us. *Evil Laugh*
Click to expand...
Click to collapse
ROFL.
DMaverick50 said:
I guess Ill keep looking for some website that has a search where I can just type in all of the language I dont understand, surely this type of site exists I just havent found it yet...
Click to expand...
Click to collapse
I'm not sure if that exists. You see, almost all of those terms were invented by people in THIS forum.
DMaverick50 said:
The steps seem doable but it says to use jesusfreak's build, i am on dude's will this be a problem? thanks
Click to expand...
Click to collapse
I did it on the dudes. Any (i think) build that enables the ext partition to be mounted to /system/sd will work...
So can I partition while on this regular build and then flash the apps2sd build or do I need to first download an apps2sd build and then do the actual partition?
some help
When it says to use the jf build that's just the one he used and is familiar with the steps the root hack the phone are the same no matter what. Now the thing you want to do is learn one proccess and stick with it weather it be abd, fastboot, or the sdcard method for beginners or noobs I do not suggest adb or fastboot cause it require knowing how to use a comand line and if you don't know what that is then don't try it. But like everyone says read about it first before you take the plunge also since you have a friend who can do it have him show you how he does it sometime seeing it done on the fly or being told while doing it with someone there to take over if things go wrong is always good. Have fun flashing and once you figure it out do it a few time to get used to it
DMaverick50 said:
I had a friend root my phone and I know if I want to flash a new build I rename the file update and drag it to my android folder then restart the phone a certain way and press alt s to load the build.
I love my g1 and the 1.5 build Im using but I cant get any further because Ive scoured the internet and these threads and I just cant figure out what all of this computer jargon means and I dont understand how anybody does know without taking classes in it.
I think I should make a nandroid backup and partition my sd card to run apps but good lord what does this mean (regarding nandroid)???---
"anyone who has root on their G1 and has the engineering/dev spl bootloader [1] (or has a dev phone) + a recovery image with busybox and adbd running as root [2"
and this (regarding sd partition)???---
pre-requisite "You created the FAT32 / EXT2 combo partitions" I mean this is a PRE-REQUISITE! I found a thread regarding the fat/ext deal and didnt understand it either.
I know nobody is here to babysit but is there some website somebody can direct me to to begin understanding what Im reading, I mean I read through the sd partition for dummies thread and I literally understood MAYBE 10% of the words, if thats for "dummies" im clearly the "dumbest"
I have the will I just dont have the way, ive typed the language i dont understand into every search engine I know of and Ive learned nothing. You guys are born geniuses
and what the hell's a "script"
Click to expand...
Click to collapse
heheh .. didn't we mention we're all a bunch of geeks - LOL - genius cannot be found here (pointing at self) .. i have been known to have a couple bright ideas now and again tho
"script" is just a funny way of saying "we did the work for you" .. all those lines of text that nobody wants to type over and over and over are all neatly packed into one little file .. type the name of the file and VOILA!! all those lines of text are spit into the little pocket sized computer and you have no blisters on your thumbs to show for it
now .. if we could only find a script that got us thru rush hour traffic
DMaverick50 said:
So can I partition while on this regular build and then flash the apps2sd build or do I need to first download an apps2sd build and then do the actual partition?
Click to expand...
Click to collapse
I did what I posted then flashed the APPS2SD rom and then transferred everything over, but when I flashed it it still had all my apps so I would say you can do it before also.
Remember to nandroid backup before you try and move all your files.
OT
Once you get adb running sending all these commands are so easy as you copy and paste and you can restore your phone back the way it was in 2 minutes...
southsko said:
I did what I posted then flashed the APPS2SD rom and then transferred everything over, but when I flashed it it still had all my apps so I would say you can do it before also.
Remember to nandroid backup before you try and move all your files.
OT
Once you get adb running sending all these commands are so easy as you copy and paste and you can restore your phone back the way it was in 2 minutes...
Click to expand...
Click to collapse
i see. im so much more confident attempting the partition after these posts im tempted to ask for the same help with nandroid since ive looked through the threads. But I guess i should head to one of them and start asking questions i know they run a pretty tight ship around here with duplicate threads and off-topic ones and what not...
nandroid was so much harder to read in the thread than it actually is
I'm hoping this thread may help other people.... and will try and help till I run out of beer.. anyway
restoring a backup when you are can connect with fastboot is so simple. Once you get adb working then dl and put fastboot in the tool dir. Then you go to your sd card /nadroid/randomcrap/whatever date/ and copy the 3 files below into the same tools directory.
from the command line on your computer type
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash data data.img
I flashed to one of the first cupcake roms and was like **** this! flashed right back to my old backup. ahhhhh!!!
southsko said:
nandroid was so much harder to read in the thread than it actually is
I'm hoping this thread may help other people.... and will try and help till I run out of beer.. anyway
restoring a backup when you are can connect with fastboot is so simple. Once you get adb working then dl and put fastboot in the tool dir. Then you go to your sd card /nadroid/randomcrap/whatever date/ and copy the 3 files below into the same tools directory.
from the command line on your computer type
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash data data.img
I flashed to one of the first cupcake roms and was like **** this! flashed right back to my old backup. ahhhhh!!!
Click to expand...
Click to collapse
Get ready to laugh..............adb? Fastboot? Everything else looks straight forward ( I assume I'm copying the 3 things to sd thru cpu)...
lmao...

[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

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. =)

[Q] Step by Step?

Hey guys!
Noob here who has flashed other phones in the past, but never anything Android based. Is there a step by step guide anywhere for the Mesmerize? Something generic and simple to follow from post root to a fully flashed phone?
Thanks for any input.
Tyler
Well our moderator is nowhere to be seen.. we should have a step by step sticked.. but we don't.
1) Root your phone. Search the forums to figure out how to do that.
2) Install RomManager and the ClockworkMod Recovery. There's a thread for that as well.
3) Download and install the ROM of your choice. Roms are located in the Dev Forums.
The details can be found in the Mesmerize General and the Mesmerize Development Forums. Search is your friend.
tyler.raven said:
Hey guys!
Noob here who has flashed other phones in the past, but never anything Android based. Is there a step by step guide anywhere for the Mesmerize? Something generic and simple to follow from post root to a fully flashed phone?
Thanks for any input.
Tyler
Click to expand...
Click to collapse
When I began this process about 2 weeks ago, I was at the same experience level as you Tyler. This is what worked easiest for me for my US Cellular Mesmerize.
(I'm just going to elaborate a bit on what Dcow posted, hopefully he doesn't mind .
Also keep in mind there are many variations to each step, this is what worked for me the easiest as a newb, hoping it does for you too.
And last but not least. There is always the disclaimer that attempting any of this can and will make your phone dysfunctional and or possibly bricked beyond repair (but most likely just dysfunctional which is a pain in the arse to deal with) if you do not follow steps completely (and of a trustworthy source such as xda).
So take your time, read each step that these people have taken the time to carefully write up, and you'll be just fine. Be patient as things don't always move fast and you never want to freak out as you may screw things up bad, when it's actually just taking longer than you would expect. There is alot going on behind the scenes so just give it time, trust me!
1) Root your phone. - Basically all this means is gaining the ability to give programs/apps and yourself SuperUser access (equivalent of being admin in windows) and also the ability to flash roms via recovery, detailed below.
The easiest way to root is to acquire the z4root.apk.
Download Here
After download, put z4root.apk on your SD card root directory
Then make sure in Settings->Applications that the "Unknown sources" box is checked.
If you don't have a file manager, download a free one from the market, using the file manager navigate to the z4root.apk and select to install it.
Reboot your phone
After it boots, open the z4root app and press root. At this point it is going to hang, give it 2 minutes and pull the battery. Count to 10, put it back in and turn it on. - This is normal, trust me.
After it reboots open z4root again and run it, this time it will run no problems and phone will reboot.
Once you are rooted (you will see the superuser icon in your apps, it will show apps you've given that permission to eventually) you will need to make sure you have a file manager that can request root permissions (read/write) before you will be able to complete the next step. Search the market for "root file manager" and pick one to download and install.
Also at this step I would download and install RomManager and TerminalEmulator as you will need these later.
2) Install RomManager and the ClockworkMod Recovery. These will basically just give you the ability to boot into recovery where you can more easily flash kernel's/rom's and anything else you wish to push to your phone.
I was able to install the Clockwork Mod Recovery very easily just by simply using the root file manager app I downloaded with these instructions.
Download the two zip files located in the first post here
Place both files on your SD card root
Using the root file explorer app, move the Redbend_ua file from the SD card to /system/xbin/
Long press on the Redbend_ua file and click permissions, there should be one check missing, check that.
Now open the TerminalEmulator
NOTE:The spaces below are actual spaces and the bml8 is a lowercase "L" not a "1" there is also a space after cd, after redbend_ua, after restore, and after recovery.bin
TYPE THIS ALL EXACTLY AS SHOWN BETWEEN THE QUOTES
at the command line ($) type "su" (then hit enter)
Type "cd /system/xbin" (then hit enter, which changes directory)
Type "redbend_ua restore /sdcard/recovery.bin /dev/block/bml8" (then hit enter, It will now scroll a bunch of text and reboot.)
After phone boots, open RomManager
Click on Flash ClockworkMod Recovery
Select the Samsung Fascinate your phone will still be the mesmerize
At this point you're all stock and ready for new kernel/rom.
3) Install Voodoo lagfix kernel and new 5.0 sound
If you want speed and good battery life (and high standard marks) +unlocking the headphone amp and eq controls (it makes even the samsung headset sound killer) go here and follow those steps for using your now functional recovery mode to flash the new Voodoo 5.0 kernel.
Note: There are a few ways of getting into this recovery mode, the best way if all else fails is to hold phone from the back with left hand (thumb on volume button, in the middle holding both down and pointer on power button) hold these down until the mesmerize logo pops up then slide your thumb down a bit to volume down only (if you slip don't worry it might blink but it'll still go to recovery)
Note: If you are more code/computer oriented there is a method using a program called ADB, which I'm not familiar with and seemed more complicated than what I went with. Search for that on the forum if you wish to do the above process that way instead.
4) Download and install the ROM of your choice.
Just pick one from this list Here, read through the first post of each before you decide, some are plug and play some take a few steps first.
Credit goes to all of the OP's and many others included in my sig, these people are awesome show them some love!
Thanks for the nice stepbystep. I wonder if pming the mod would help get it stickied? He still hasn't replied to my last pm though..
dcow90 said:
Thanks for the nice stepbystep. I wonder if pming the mod would help get it stickied? He still hasn't replied to my last pm though..
Click to expand...
Click to collapse
Agreed this should be a sticky! Thanks for the AWESOME write up bdemartino!
dcow90 said:
Thanks for the nice stepbystep. I wonder if pming the mod would help get it stickied? He still hasn't replied to my last pm though..
Click to expand...
Click to collapse
Did you PM me? I don't recall ever getting one from you. If I did, I apologise! I always try to be proactive in my forums
I check in on all my forums many times per day (even at work ) so if I miss something, please feel free to PM me anytime and I'll try to help where I can
I'll get in touch with bdemartino regarding getting a guide together that I can sticky
In the meantime Ill move this to general.
I few days ago I found an explanation here on how to do this:
http://www.howardforums.com/showthread.php/1694111-Installing-Clockwork-and-Voodoo-onto-the-Samsung-Mesmerize
(The same explanation bdemartino gave here today)
1. I used the files from there. How do I tell if I am running voodoo5?
2. If its not the same, I've read that I can install voodoo5 over another voodoo, correct?
3. Is anyone having trouble with 3g, vibrate, etc...on the mez? I saw in the voodoo5 thread that a few people were having trouble with these things. I couldn't tell if they were fascinate, mesmerize or captivate.
Sent from my voodooized Mesmerize using XDA App
gr4ybu5h said:
I few days ago I found an explanation here on how to do this:
http://www.howardforums.com/showthr...ockwork-and-Voodoo-onto-the-Samsung-Mesmerize
(The same explanation bdemartino gave here today)
1. I used the files from there. How do I tell if I am running voodoo5?
2. If its not the same, I've read that I can install voodoo5 over another voodoo, correct?
3. Is anyone having trouble with 3g, vibrate, etc...on the mez? I saw in the voodoo5 thread that a few people were having trouble with these things. I couldn't tell if they were fascinate, mesmerize or captivate.
Sent from my voodooized Mesmerize using XDA App
Click to expand...
Click to collapse
That is the old Voodoo kernel, you will need to go to the link I listed in my post for Voodoo 5, and yes you can simply disable lagfix and flash the new one over the old.
And no problems on the write up, I spent a good amount of time digging up the links and stuff but I'll spend a little more time polishing it and will post it in another thread for Scotsman to stickie.
And to answer your last question, no I'm having no problems with any functions of my phone after upgrading to voodoo 5.
Thanks for the write up and nice job on it too. It seems, sometimes when people try and tell others how to do something, they don't break it down enough. But you did and made it easy for us noobs. Thanks again.
My clockwork ( or voodoo, not sure) didn't come with a "disable lag-fix" button. I just have to create an empty file called "disable_lagfix". I'm just unclear where to put it. I saw it somewhere before I just have to find it
Sent from my SCH-I500 using XDA App
gr4ybu5h said:
Thanks for the write up and nice job on it too. It seems, sometimes when people try and tell others how to do something, they don't break it down enough. But you did and made it easy for us noobs. Thanks again.
My clockwork ( or voodoo, not sure) didn't come with a "disable lag-fix" button. I just have to create an empty file called "disable_lagfix". I'm just unclear where to put it. I saw it somewhere before I just have to find it
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
There isn't a button, per se. When you go in to recovery, there is a disable lagfix option under voodoo. You can put the file, disable_lagfix, in the voodoo folder on your sdcard to do the same thing.
He does write up a good how-to, though, doesn't he.
Haha thanks guys, and you're welcome!
I think the reason you don't usually see this much detail from others is because they are more developmentally enabled and therefore "forget" to break down the little steps that are second nature to them but foreign language to a non-developer.
Thanks. I found it. and disabled it aready. now i just download the file in the write-up and boot into recovery, install zip from sd card and select my file correct?
I always wipe dalvik cache (in advance settings within Recover) before flashing anything.
So it's;
Disable Lagfix
Reboot (you'll hear the chick reversing the process)
Clear Dalvik
Install voodoo 5.0 from zip
reboot
re-enable lagfix and reboot one last time.
Then you'll need to download the voodoo controller app from the market to control the amp gain and set a few other eq settings.
Man you guys are fast. Thanks for the quick replies. WOW
Ive done all that except re-enable lag-fix. Noone ever mentions that step. Do I just remove the "disable_lagfix" file from the voodoo file and reboot?
I just enable/disable it through the voodoo menu in recovery, much easier than pushing files around. In your case i think you should be able to delete the file and reboot, but if not you may just need to go into voodoo and enable it that way (after removing the disable file)
I guess if I edit a post and dont finish it, the post gets deleted. Oh well, I asked how to reenalbe lag fix but i figured it out. Like I said I had to put the disable lag_fix file in the voodoo folder. I just had to remove it from that folder.
Is there a way to tell (besides the quickness and the extended battery life) how do i tell if its voodoo5? just out of curiousity
Just a guess here but possibly under About Phone the kernel version might? Mine is listed as 2.6.29
I would also think that when trying to use the Voodoo app it would fail if you didn't have the kernel so that would be a sign too, if that's what you're looking for.
Well thanks alot. Thats what mine was listed as also. And the voodoo app did work, so I guess I've got it. And I think thats all for now.
Now I think I might wait to see the awesome developers come up with for 2.2. I dont mind the stock 2.1 for now. I just dont want to keep flashing ROM's, if they might be close to getting a version of 2.2 going. I can wait....I think.
Thanks Again
gr4ybu5h said:
Well thanks alot. Thats what mine was listed as also. And the voodoo app did work, so I guess I've got it. And I think thats all for now.
Now I think I might wait to see the awesome developers come up with for 2.2. I dont mind the stock 2.1 for now. I just dont want to keep flashing ROM's, if they might be close to getting a version of 2.2 going. I can wait....I think.
Thanks Again
Click to expand...
Click to collapse
2.2 is so close, you should be able to smell it. I've had it's froyo-ey goodness all over my phone and even with the issues we're still having, I flash it back every night when I get home to play with it.
phidelt82 said:
I've had it's froyo-ey goodness all over my phone
Click to expand...
Click to collapse
That's what she said....

Categories

Resources