yashsingh1/xdaforums huggingface dataset:
[G1 Q&A, Help & Troubleshooting] zamtetsuken:
Hello everyone.

I have done a lot of reading and searching regarding rooting a G1. There are so many guides and resources out there I was wondering if you guys could point me to the best (safest?) way to do it.

I have been thinking of rooting it for months due to the benefits I can get once I have done it but the thought of bricking it has been stopping me from doing it. I want to get it over with now and would appreciate if you guys can point me to the best guide and the best rom (I know there is many, I would like speed, stability and some nice features would be cool). I have a G1, I live in the UK and it is supplied by T-Mobile. I keep it up to date with the OTA updates so I think I will have to downgrade which I believe is shown in most guides? If there is any info you guys need, please say.

I would be really thankful if I got some help, it's not something I want to do without proper knowledge (which all of you have). Is it easy enough to do if I follow the instructions and make sure my battery is charged enough?

Also, can we in the UK flash the radio, is that meant to be tampered with, what are the pros and cons of doing that?

Thank you so much.

EDIT -----------------------------

Please look at post #6, I made a list of what I think I need to do.
[G1 Q&A, Help & Troubleshooting] shagge68:
I would suggest finding the 1-click root to make it easy for you. Then, flash the 1.6 HTC image like all builds based off of Cyanogen's build environment require now and then flash @wesgarner's build for the fastest most stable build available.
[G1 Q&A, Help & Troubleshooting] mrandroid:
Here's how to root your phone... nice and simple....

The one click root doesn't work if you've upgraded your phone to the OTA 1.6 update.

So the old instructions would be a safe bet since i don't know if you have 1.5 or 1.6.

Follow these instructions: http://www.myhangoutonline.com/2009/11/20/how-to-root-your-g1/

Then upgrade your radio and SPL from here: http://www.myhangoutonline.com/2009/11/22/upgrade-radio-recovery-spl/

Then if you want to upgrade to the newest CM build do this:

Before you install the Cyanogenmod 4.2.7.1 ROM you need to install the HTC 1.6 Dev Rom first.

HTC took it off their website, i have it uploaded on my site...

do this: ( This is for HTC Dream (G1) )

CLEAR YOUR EXT PARTITION or REPARTITION YOUR CARD to get rid of any Incompatible files.

Download CM 4.2.7.1 -> http://www.myhangoutonline.com/downloads/?did=17

Download HTC Dream Image 1.6 -> http://www.myhangoutonline.com/downloads/?did=6

Place them both on the root of your SDCard.

Reboot your phone into recovery mode...

1. WIPE

2. Install HTC Dream Image

3. Hit Reboot when it's done (and keep an eye on the phone!)

4. you will see the little picture with an arrow (radio installation), WHEN YOU SEE THE PHONE REBOOT HOLD THE HOME KEY. It should reboot right back into recovery.

5. Now install the CM ROM

6. Reboot and you're done...

Hope that helps!
[G1 Q&A, Help & Troubleshooting] supremeteam256:
http://androidoverdrive.com/viewtopic.php?f=11&t=7
[G1 Q&A, Help & Troubleshooting] zamtetsuken:
Thank you all for the information and links.

I have been doing a lot more reading today and think I might go with Dwang's rom. From what I understand (to do it the quick way) I need to revert my G1 back to Cupcake (RC7 for europe?) from Donut 1.6. Then Download the recovery flasher and flash a recovery image, do I use Amon Ra's? Do I then load the rom, then the theme afterwards? I hear people mentioning the radio, is it a necessity for the G1 that I mess with the radio? Is it easy to brick the phone doing it this way?

Thanks again for the help and understanding :).
[G1 Q&A, Help & Troubleshooting] zamtetsuken:
After watching this http://www.youtube.com/watch?v=vCG9XhFmoEw

Could you guys tell me if this would work?

1. Format my SDCard. Transfer the old android (RC7?) image, Amon Ra's recovery image, Dwerg's rom and a nice theme made for the rom to the SD card.

2. Can I use the telnet thing to flash the Aman Ra recovery image?

3. Power off.

4. Power on holding the camera button and the power button and then downgrade my version. Reboot.

5. Turn on and set up my google info. Press enter twice and type "telnetd" and press enter. Proceed to the market and download the telnet app.

6. Run the app, and type in what's needed to flash the new recovery image. Again, can I use Aman Ra's? I'm unsure what to type but I will try and figure it out.

7. Power off.

8. Power on holding the Home and power keys, which should bring me to the new recovery image.

9. If I am flashing Dwerg's do I need to flash 1.6 first like you need to do for CM? Or is that a CM only thing? Flash the rom.

That should be it? Would doing it that way work ok? Less chance of bricking? There was no mention of radio flashing or anything.

Hopefully you guys can help me out.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] -888-:
Since Msoft doesn't publish their AKUs...

Last year I compared different build ROM contents (with different AKUs) and when I was making new ROM I have "transplanted' some of the newer files from ROM with newer AKU to the ROM base with lower AKU (since I didn't want to cook ROM using untested and possibly unstable base, but I wanted few things there that weren't available with older AKU - and it worked).

I'd like to make a complete AKU in .cab file, so it could be used to update basically any older ROM build to the latest AKU version, if possible of course.

I'm thinking of AKU1.6.1 for WM6.1 (which is and most likely will be the very last AKU for WM6.1).

Has anyone tried to do something like this?

TIA :D
[HD2 Windows Mobile 6.5 Themes and Apps] madindehead:
Hey guys,

I have a small issue with the icons for my quick link programs on my home screen.

If I change the icon in the start menu, it won't update on the quick link. So I'm stuck with the old icon on my quick link, and the new icon in my start menu.

Any ideas on how to fix it? I'm using JWMD Icon Changer to change the icons.
[HD2 Windows Mobile 6.5 Themes and Apps] alexleon:
the same for me!
[HD2 Windows Mobile 6.5 Themes and Apps] xenocide976:
tip/guide from here
[HD2 Windows Mobile 6.5 Themes and Apps] madindehead:
That does indeed seem to have fixed it. Thanks mate.
[HD2 Windows Mobile 6.5 Themes and Apps] xenocide976:
no prob...
[HD2 General] Ephemeral:
For some strange reason my Windows Live stops syncing with my hotmail account after a while. Every time it happens I seem to have to re-set up my hotmail account details for it to work again. A re-boot of the phone doesn't make a difference.

Looking at the "sync status" it shows me that it is attempting to sync every 15 minutes like I set it up to, but from the "last synchronised" I can see that it's not syncing.

Anyone else have the same issue?
[HD2 General] coolfx35:
I do not take credit for this, this was from another forum. Make sure you set it up correctly.

http://www.htchd2forum.com/how-to/how-to-set-up-a-hotmail-co-uk-or-multiple-accounts/

1. Click your "start" button to go to windows mobile

2. Select the "e-mail" icon

3. Select the "setup e-mail" option

4. In the email field write your email but replace the "joebloggs@hotmail.co.uk" with "joebloggs@hotmail.con", this way the OS is not going to load Windows live messenger to sync your email.

5. Enter your password and select the "save password" option...click next

6. Disable the option "Try to get e-mail settings..."...click next

7. Select the email provider from drop down box, in this case, Internet e-mail....click next

8. Complete the name and account display name...click next

9. For Incoming server, type in "pop3.live.com:995" and for Account from drop down box, select "POP3"...click next

10. Complete the form with your username and password. Note: the username is your full e-mail address: "joebloggs@hotmail.co.uk" and not "yourusername".

11. Select the "save password" option...click next

12. For the Outgoing mail server, type in "smtp.live.com:25". Check the box for "outgoing server requires au...".

13. Click on Advanced settings link at bottom of screen and check both boxes "Require SSL..." for incoming and outgoing e-mail...click done...then click next

14. Complete the rest of the setup to how often you want e-mail checked...click next

15. Now, click the "start" button...select "e-mail" icon . Selct your email account.

16. Now select "menu" and go to Tools > Options, once there, click on the email account you just created and click on "Edit account setup link.

17. Replace the "joebloggs@hotmail.con" with the right one "joebloggs@hotmail.co.uk" and hit "next " button to scroll through until the end...select finish and you are done!
[HD2 Windows Mobile 6.5 Themes and Apps] khlui:
Can't change wallpaper anymore after installing "Vovichek_Jamrecords_20shcut_m2525", anybody help?
[G1 Android Development] Daneshm90:
Hey guys, so this script de-odexe's a rom's apks and jar's.

Many thanks to ofcourse JesusFreke who created this method and the way to do it. Also to coolbho for his apkopt script from which i learnt certain techniques of batch programming. This is crzyruski script updated with jesus freke's latest smali/baksmali update ver 1.2.3

It incorporates detecting the bootclasspath of the odex instead of the user specifying it. For non standard odex however a specific bootclass path must be defined. For example:

According to Jr33 for rosie deodexing u have to add class paths com.htc.framework.jar. Thank him for the new Sense bootclasspaths :)

For those who dont know, this essentially uses jf's method of baksmali'ing the odex file into smali files, and then recreating the classes.dex file and packaging it into the apk hence disregarding the need for the odex.

*New Menu added

*Ability to specify custom bootclasspath (eg for sense ui)

*Added a java check at the beginning

*Added 1.2.3 smali/baksmali with froyo support(thank jf ofcourse :D)

*Modified it so if an error is encountered during deodexing, it leaves that file behind so once done you know what files encountered errors

*Added Ignore Mode

*Removed zipalign

*If apk doesnt have corresponding odex, it moves it to deodexed_APK instead of user manually moving it

*Added compression level option

*You can monitor the status of ignore mode / compression level right above the main menu

DISCLAIMER:

Its a batch file so it'll only work on windows.

Convince farmatito to bring this to linux ;)

Thanks
[G1 Android Development] enomther:
So I checked this out and all ...

It's only apk's, right?

I only glanced but I didn't see anything in there for framework, etc.

If I'm right, then perhaps .. you should just say it de-odex's a ROM's apk's instead of the entire ROM. :)

~enom~
[G1 Android Development] Daneshm90:
Oh, yea so it takes the apk and odex and creates the classes.dex and repackages into the apk so u only need the apk. Ok, ill change the post a bit:) also yes, it doesnt do frameworks cuz i dont think they have odex's and the jar's do but i dunno of a method to do tht
[G1 Android Development] enomther:
Yea ... the jar's have dex's too and can be odex-d and can also be un-odex-d. I personally have never been able to successfully de-odex a fully odex'd framework (but I haven't tried hard enough either ;) ). The main difference is once they are de-odex'd ... you insert the classes.dex into the jar and no re-signing required (as they aren't signed).

Either way, nice script mate. Good Job! :)

~enom~
[G1 Android Development] Daneshm90:
Ah sweet, something i shall incorporate in the script later on. thanx :)
[G1 Android Development] Joe333x:
so will this script allow you to take an app from say a cliq dump and allow it to run on any android device?
[G1 Android Development] mrandroid:
Will this allow you to grab the MyFaves from a TMO rom and de-odex it and install?
[G1 Android Development] Daneshm90:
Emm...no im 99.99% sure it doesnt help tht way. I know that odex's cause customization problems in roms....there are other factors im sure :rolleyes:
[G1 Android Development] enomther:
MyFaves == No Go ... it requires some other form of trickery ... I'm not sure what exactly ... as I did de-odex it and it would not work properly on test-key ROM's like CM, etc.

:( ... So it requires more than a simple de-odex.

~enom~
[G1 Android Development] mrandroid:
does your phone need to be connected? I noticed some ADB commands in the script
[G1 Android Development] wesgarner:
So the apk after that has the DEX built in or is dexopt still needed?
[G1 Android Development] kingklick:
>.<.......................
[G1 Android Development] wesgarner:
Hey I am just double checking
[G1 Android Development] jubeh:
If you're having problems de-odexing the framework is because there's a particular order to it.

If you look at your bootclasspath you'll see the framework files necessary to boot the android system, the rest (whatever's not in there) can be dexopted in any order.

If you're trying to de-odex the framework, you're going to have to backtrace yourself.

Personally, I do:

for i in /system/app/*.apk

unodex

for j in /system/framework/nonCoreJar1.jar /system/framework/nonCoreJar2.jar /system/framework/...nonCoreJarN.jar

unodex

for k in /system/framework/bootClassPathJarN.jar /system/framework/bootClassPathJarN-1.jar /system/framework/...bootClassPathJarN-y.jar

unodex

it requires a couple of reboots along the way to deal with any created dalvik-cache so that it doesn't interfere with the next needed classes.dex

the only turn-off was that it requires a running system to do it (it's not that big of a problem, but porting and then flashing starts getting old after a while).

Has that changed?

Does OP mean you can take the apks, toss them into a folder, and then do it from the computer without the phone?

---edit---

shoot me for not reading.
[G1 Android Development] enomther:
Yea I would figure as much ... simply b/c one must follow the BOOTCLASSPATH order when odex'ing ...

So Jubeh .. you're saying you've personally de-odex'd an fully odex'd framework b4?

Just looking for confirmation from someone who has personally ... since I'm too lazy to go through that hectik crappy process :D

~enom~
[G1 Android Development] jubeh:
I did it with the tattoo build, but upon boot I would get all sorts of fc's, but I think that was due more to a bad, hasty port than the deodexing. It was also a long time ago when the tool first came out, dont know if there's been newer revisions, so I'll try it again on that funky tattoo rom.
[G1 Android Development] Daneshm90:
K guys one problem i found after doing multiple apk's is that i need to give the listening dex command a bit delay so its ready for baksmali. I was doing it right after which it misses for some conversions. I'll upload with delay between the two commands. Hmm framework i gotta give a shot :/ Sounds interesting ...
[G1 Android Development] Beast11:
Solid script! Should make deodexing A LOT easier :)
[G1 Android Development] Daneshm90:
Ok so i uploaded with delay between, seems to work fine, tested a LOT of times :)
[G1 Android Development] Wysie:
thanks for this! can't wait for frameworks to be de-odexed.

jubeh: Thanks for the info. I had no idea and have informed JF previously here: http://jf.andblogs.net/2009/11/08/smalibaksmali-v1-0/ (see comments)
[G1 Android Development] jcarrz1:
at least it has that framework to even boot... because you need all to boot. But if this one is borked, what's the difference between a broken one and an empty file.... lol. Can you upload them though?
[G1 Android Development] Daneshm90:
K uploading as we speak. If it doesnt boot try removing those 2 rss.apk and the rss.jar. I think a system should boot without them, stuff gets screwed when one of them is odexed n other isnt.
[G1 Android Development] j_r0dd:
worse case scenario the phone won't boot. it worked for Blur. it must have some sort of external dependencies.
[G1 Android Development] Daneshm90:
Yea true. I dont get one thing though, when jf says dependencies dont have to be in framework, they can be in /system/app, hows tht possible, those r apk's n the script doesnt run if u put an apk as a classpath. :confused:
[G1 Android Development] Daneshm90:
Here Link
[G1 Android Development] j_r0dd:
it may not run with an apk in the classpath but i bet it would run with it's corresponding odex as a classpath
[G1 Android Development] jcarrz1:
YOU'RE THE BEST!!!! are you going to try it (booting it)
[G1 Android Development] Daneshm90:
Hmm, i wish jf made it so it doesnt auto-detect just the 5 classpaths, instead w/e dependecy a file has as long as i have given it a folder, it shud go through em n find it :D yea i know it wud take longer but would be less error prone.
[G1 Android Development] jcarrz1:
Yep. his goal was to make blacksmali itself user-friendly by autodetecting, and he probably didn't think that everyone would just use a script (this one) that makes it extremely user-friendly.
[G1 Android Development] j_r0dd:
i agree. but it should only go to the other files if baksmali doesn't find what it's looking for in the main 5 classpaths. feature request??
[G1 Android Development] Daneshm90:
Where do we make it ? :) Yea it would be awesome if it did that.
[G1 Android Development] j_r0dd:
http://code.google.com/p/smali/issues/list

just title it "feature request", i guess lol
[G1 Android Development] jcarrz1:
http://code.google.com/p/smali/issues/list probably. It's not really an issue though.

Edit: haha you beat me with the exact same thing :P
[G1 Android Development] j_r0dd:
lol. did the phone boot or what?
[G1 Android Development] jcarrz1:
it's still signing... it took me a while to download.
[G1 Android Development] j_r0dd:
hmmm.....can you post the system dump again? i wanna play with it
[G1 Android Development] jcarrz1:
try 1 or 2 pages back... i posted the img. mediafire link.

Is odexed framework, deodexed apps a plausible combination? probably not, i'd assume...
[G1 Android Development] j_r0dd:
hmm i tried a few minutes and it said file was no longer available. i prefer the .img
[G1 Android Development] jcarrz1:
it says unable to register all android natives after trying to deodex com.scalado.util.ScaladoUtil.jar.

i just noticed that the bootclasspath you posted several times has a space in the middle of the name for that jar... I think that is a mistake.
[G1 Android Development] j_r0dd:
that may be the issue
[G1 Android Development] jcarrz1:
oh yeah the url in that post has a ... in the middle. lol i'll make a bit.ly hold on one sec
[G1 Android Development] jcarrz1:
http://kea.nu/1kq

haha nevermind here's a keanu reeves!! enjoy the image, then click skip :)
[G1 Android Development] jcarrz1:
yea. daneshm90 did you catch that? Unfortunately, I'd redo it myself, but for some reason on my machine, it can't even figure out how to deodex services.jar... so i'm not even going to bother. but go to page 16 or so, and notice the space where it says:

scalad o

in the bootclasspath.
[G1 Android Development] j_r0dd:
i will attempt a little later. i am building the aosp froyo source right now
[G1 Android Development] jcarrz1:
noice... not for g1 though eh? lol.
[G1 Android Development] j_r0dd:
nope. don't even own a g1 anymore.
[G1 Android Development] Daneshm90:
Ugh, sorry had to go somewhere. So it didnt boot ? can u upload a compatible boot.img n ill give it a whirl. U try removing the rss files n trying to boot ?

As for the space i dunno why it posted tht way, its spaceless when i used it.
[G1 Android Development] jcarrz1:
what do you mean with compatible boot.img? do you want the boot.img from the Aria? also, why doesn't the -I work for the framework, while it does for the apps? It worked fine on Footprints and Locationpicker and Bluetooth, but on the rss framework it doesn't work.... it acts like the parameter isn't even there... what command exactly did you run on the rss framework?
[G1 Android Development] Daneshm90:
java -Xmx512m -jar baksmali-1.2.3.jar -I -d framework -d app -d deodexed_APK -d deodexed_JAR -c :myclasspath -x abc.odex

K so did u try booting without the rss apk/jar ???

As for the boot.img, im using a 32a magic, so wont work outta the box :(
[G1 Android Development] jcarrz1:
right. and that's exactly what I did for the baksmali command... i'm trying without as we speak. Someone in my rom thread said that they got it to show the att logo at boot without the rss jar.
[G1 Android Development] Daneshm90:
Ah k cool, im trying a new approach to solving the rss issue. Gonna extract all the dex in /system/app to find out which one has that class im looking for.
[G1 Android Development] jcarrz1:
did not work without com.htc.rss.jar
[G1 Android Development] Daneshm90:
Wht bout the rss apk ? try removing that as well
[G1 Android Development] jcarrz1:
ok. ill do that.
[G1 Android Development] snakebitezz:
does this thing seem to have anything good??

cuz i got an eris to play with on the weekends..
[G1 Android Development] rodigezstyle:
Hi, i can´t Download Deodexer_2.0.zip is a mirror Online ?

*edit*

http://www.multiupload.com/7U5GOKN2PQ
[G1 Android Development] snakebitezz:
Yeah look back a page or two a buddy of mine made an alternate link for me misfire was having a period lol
[G1 Android Development] Daneshm90:
I dont understand why the link doesnt work for some people. Do u see the download page of mediafire but when u click it just refreshes n ur back where u started ? ive had tht problem before. Regardless thanks to the mirror's. ill post em in OP.
[G1 Android Development] Dexter_nlb:
hmm, reading through this, and still being new to it?

Would apk's not needing to be sign'd after this deodex'ing job?

i have read jar framework does not need it, and since no one speak of it, it can not be needed, correct? the test-keys work here?
[G1 Android Development] Daneshm90:
No. because they're system apks they donot require signing upon content change.
[G1 Android Development] puertoblack2003:
Is there an instruction to where to put the files so it can be deodex.?
[G1 Android Development] Dexter_nlb:
hmm, my milestone apk's are not loaded , exactly because the signature is not found in cache? so somehow that must be important as well.

But ok, it worked out.. its working without signing the remaining apks..

so i guess i just need to repack the milestone apks..
[G1 Android Development] Daneshm90:
Just run the script. There's a howto/help section in the script to guide u.
[G1 Android Development] puertoblack2003:
yea i found that I'm tring to figure out where the apk file went after the deoxed was completed for the apk file.It was showing that it was processing them.but the folder deodexed_APK is empty.:confused:
[G1 Android Development] Dexter_nlb:
it seems that some files inside the apk do not work , when compressed.

is there any tool that handle apk contents better? so files like the ogg files do not get compressed (this i confirmed by repacking the zip with "archive" mode, and it works fine now)
[G1 Android Development] Daneshm90:
If u received an error for an apk, it'll b left behind in app folder. look into the error n try finding the appropriate classpath.
[G1 Android Development] puertoblack2003:
i did see that it was for the youtube.apk it was looking for youtube.odex but there's none so should i remove all apk that dont come with the odex? and re-run it
[G1 Android Development] Daneshm90:
Try the script in my signature. Apk Manager, it should do wht ur looking for.
[G1 Android Development] Daneshm90:
Well if something doesnt have a odex then theres no "deodexing" required. Hence yea u can just move it to deodexed_jar/apk. If u need assistance u can tell me wht ur trying to deodex n i could help u do it as well.
[G1 Android Development] puertoblack2003:
well i know this section is for the G1 I'm trying to deodex the sprint evo stock rom
[G1 Android Development] Daneshm90:
can you link make me too it i'll try n deodex
[G1 Android Development] puertoblack2003:
ok give me about 10 to 15 min i have to zip the file and upload it..I pulled it form stock
[G1 Android Development] puertoblack2003:
here's the file http://www.4shared.com/file/Dp_HL0Se/WORKING_070110_125036.html thanks for your help :)
[G1 Android Development] Daneshm90:
K ill look into it. thnx