Need root to install HardSPL on ADP1 ? - G1 Android Development

I was looking at http://forum.xda-developers.com/showthread.php?t=442480 thread on rooting, hacking and flashing your phone.
I have the ADP1 and wanted to install JF1.31 on it.
I'm not sure how to get root on ADP1 since telnetd won't work on ADP1. Will I need root to install HardSPL? Or can I just copy the update.zip and continue as usual?

You already have root access on ADP1, just invoke su. You can install any SPL you wish as well, as your ADP1 already has the test keys used to sign the SPL packages. Just copy the update.zip to sdcard and reboot into recovery. Same goes for JF 1.31.

funky_Saggi said:
I was looking at http://forum.xda-developers.com/showthread.php?t=442480 thread on rooting, hacking and flashing your phone.
I have the ADP1 and wanted to install JF1.31 on it.
I'm not sure how to get root on ADP1 since telnetd won't work on ADP1. Will I need root to install HardSPL? Or can I just copy the update.zip and continue as usual?
Click to expand...
Click to collapse
To telnetd on ADP1, go to the terminal emulator type su then enter then telnetd then enter. You can now telnet to localhost.

Thanks to both of you. I've got this sorted. Running the ADP build of JF 1.31 and installed HardSPL on it. Now going to enable application install to SD Card.

Related

Simpler instructions for installing modified recovery image

Here are some instructions for installing JesusFreke's modified recovery image. You have to install the modified recovery image before you can install modified firmwares. These instructions are simpler than the existing ones because they don't require the use of adb or telnet.
Firstly, you need to already have firmware version RC29 or RC7. To check which version you have go to "Settings" and then "About phone". At the bottom you will see a "Build number" which will include "RC" and then a number. If you have RC30 or RC8 then you need to downgrade. THAT WILL WIPE ALL THE DATA/APPLICATIONS ON YOUR PHONE. Instructions for downgrading are here.
Now that you have RC29/RC7:
Download 'AndroidMod.zip' from one of the links in JesusFreke's post
Extract 'recovery_testkeys.img' from that zip and copy it to your SD card.
Download 'install.zip' which is attached to this post below.
Extract 'install' from that zip and copy it to your SD card.
Put the SD card in the phone or disconnect the phone if it is attached by USB.
Reboot the phone (switch it off and then on again).
When it has finished booting type the following at the home screen. It will start searching your contacts, but don't worry about that. Also, you won't see any visible sign that the first command worked. Just go ahead and type the second command straight afterwards:
cd sdcard<press enter>
sh install<press enter>
After a moment your phone should reboot itself. To check that the flashing worked, switch off the phone and then hold down the home key while you switch it on again. Keep the home key held down until you see the recovery screen (with the "!" triangle and the picture of the phone). Then press Alt+L on the keyboard and if you see "Using test keys" on the second line of text then the modified recovery image is installed and you can now install a modified firmware.
Cool! Thanks for that... much simpler... anyone else tried this yet?
I'm going to attempt all this later.
Phil
i just tried it and it works. confirmed.
great for beginners!
Hey tried it and it works!! Now how about one on restoring data after backup.
thanks for this just tryed it and worked first time.
First off thanks for all information here. Am I correct that after I downgrade to rc29 I then follow the instructions in this thread and then I can install jf 1.3 rc30. Or do I have this all wrong?
gottifour said:
First off thanks for all information here. Am I correct that after I downgrade to rc29 I then follow the instructions in this thread and then I can install jf 1.3 rc30. Or do I have this all wrong?
Click to expand...
Click to collapse
you are correct. once you have the modded recovery image, you can use jfs update zips.
korndub said:
you are correct. once you have the modded recovery image, you can use jfs update zips.
Click to expand...
Click to collapse
Sweet! Thanks for the reply. I will attempt this real soon. Do you have any suggestions before I begin? After I modify the firmware I will not get ota updates anymore right? Lets say the cupcake update, or any other for that matter, does come out. I would just have to wait untill a smarter person then me converts it to a new modified image to flash to my phone? Is that right? Thanks for any help. I'm sure this is probably the worng place to ask all of these questions. d
gottifour said:
Sweet! Thanks for the reply. I will attempt this real soon. Do you have any suggestions before I begin? After I modify the firmware I will not get ota updates anymore right? Lets say the cupcake update, or any other for that matter, does come out. I would just have to wait untill a smarter person then me converts it to a new modified image to flash to my phone? Is that right? Thanks for any help. I'm sure this is probably the worng place to ask all of these questions. d
Click to expand...
Click to collapse
in one of the zips from JF is an app that will REsign any update.zip, so when an ota comes you just have to wait for the update.zip to show up then you could REsign it with the dev keys, pretty easy, but it will probably show up pretty fast now that almost every G1 is probably running that keyset.
bhang
UPDATE..
Its working now...I wasn't doing it in the telnet client. I was just typing it in randomly and it didnt work that way for some reason.
Ok. I have downgraded to rc29 and copied the two images two my sd card. but I'm not sure if I even have root. When I try to change directory it doesnt happen. I have to have root by installing the modified rc29 right? I did type telnetd at the home screen and pushed enter. nothing happened. I know I'm missing something just not sure what yet? I did install the telnet client from the market as well. I'm not understanding something it appears. Anyone?
gottifour said:
UPDATE..
Its working now...I wasn't doing it in the telnet client. I was just typing it in randomly and it didnt work that way for some reason.
Ok. I have downgraded to rc29 and copied the two images two my sd card. but I'm not sure if I even have root. When I try to change directory it doesnt happen. I have to have root by installing the modified rc29 right? I did type telnetd at the home screen and pushed enter. nothing happened. I know I'm missing something just not sure what yet? I did install the telnet client from the market as well. I'm not understanding something it appears. Anyone?
Click to expand...
Click to collapse
use the telnet client to telnet to localhost. *then* you will have root. (note: that's only applicable for RC29. to get root on JFv1.3, just type su in terminal emulator).
To know if you have root access, check the prompt you get. if you get #, then you have root access. if you get $, you don't have root access.
JJC1138 said:
Here are some instructions for installing JesusFreke's modified recovery image.
Click to expand...
Click to collapse
well this is a big help for many people thank you for your addition
JesusFreke said:
use the telnet client to telnet to localhost. *then* you will have root. (note: that's only applicable for RC29. to get root on JFv1.3, just type su in terminal emulator).
To know if you have root access, check the prompt you get. if you get #, then you have root access. if you get $, you don't have root access.
Click to expand...
Click to collapse
I got the #
Thanks so much for everything so far..This is really awesome!!
gottifour said:
UPDATE..
Its working now...I wasn't doing it in the telnet client. I was just typing it in randomly and it didnt work that way for some reason.
Click to expand...
Click to collapse
Hi there. I just wanted to clarify that if you're following the instructions I posted then you don't need telnet.
gottifour said:
Ok. I have downgraded to rc29 and copied the two images two my sd card. but I'm not sure if I even have root. When I try to change directory it doesnt happen. I have to have root by installing the modified rc29 right?
Click to expand...
Click to collapse
No, you don't need the modified RC29 to do this. After you type the "cd sdcard<enter>" command nothing visible should happen. It works because the bug in RC29 which we are exploiting executes everything you type on a hidden root console, so the cd command works, but it just doesn't show you anything. Then you enter the second "sh install<enter>" command and that runs a script that does all the good stuff and then reboots.
JJC1138 said:
Hi there. I just wanted to clarify that if you're following the instructions I posted then you don't need telnet.
No, you don't need the modified RC29 to do this. After you type the "cd sdcard<enter>" command nothing visible should happen. It works because the bug in RC29 which we are exploiting executes everything you type on a hidden root console, so the cd command works, but it just doesn't show you anything. Then you enter the second "sh install<enter>" command and that runs a script that does all the good stuff and then reboots.
Click to expand...
Click to collapse
Thanks for the reply and for simplifying this for everyone. I was confused at first but now I understand better. I have the modified RC30 working now with the dev boot loader as well. Oh and a new theme too. Thanks again!!!
JJC1138 said:
Hi there. I just wanted to clarify that if you're following the instructions I posted then you don't need telnet.
No, you don't need the modified RC29 to do this. After you type the "cd sdcard<enter>" command nothing visible should happen. It works because the bug in RC29 which we are exploiting executes everything you type on a hidden root console, so the cd command works, but it just doesn't show you anything. Then you enter the second "sh install<enter>" command and that runs a script that does all the good stuff and then reboots.
Click to expand...
Click to collapse
Correct, this is a really good idea! Instead of typeing telnetd to start it as root, you are typing in and running the script that will root your phone-- as root! I'll update my sticky post shortly.
worked for me now do i delete the install file, DREAIMG file and Recovery test keys files or do i have to keep em?
l0uisz said:
worked for me now do i delete the install file, DREAIMG file and Recovery test keys files or do i have to keep em?
Click to expand...
Click to collapse
You can delete them off your SD card after they're installed.

Installed rc33 theme on ADP 1.1h...phone stuckk :(

I in all my stupidity installed a rc33 theme on my tmobile G1, which was running JF 1.43 ADP 1.1h at the time. Now the phone gets stuck on the blinking Anroid screen and dosent go any further.
What should i do?
Any and all help is appreciated
[email protected] said:
I in all my stupidity installed a rc33 theme on my tmobile G1, which was running JF 1.43 ADP 1.1h at the time. Now the phone gets stuck on the blinking Anroid screen and dosent go any further.
What should i do?
Any and all help is appreciated
Click to expand...
Click to collapse
Re-Apply the JF 1.43 ADP 1.1h
lilithpro said:
Re-Apply the JF 1.43 ADP 1.1h
Click to expand...
Click to collapse
first of all thanks for replyin
and how would i do that?
the rc33 theme is named as update.zip and wihtout acces to the phone i cant change that.
[email protected] said:
first of all thanks for replyin
and how would i do that?
the rc33 theme is named as update.zip and wihtout acces to the phone i cant change that.
Click to expand...
Click to collapse
Put the sd-card into a cardreader, delete the update.zip, copy the jf-zip and rename that to update.zip. Boot to recovery and flash the image.
If you dont have a cardreader, get one, or another g1.
The way i would do it is take your card out of the phone, place it into a mini card reader and delete the update.zip (theme) and place the update.zip (rom) onto the card.
hold down home+menu+end and proceed like normal to update from sdcard.
tats wat i orignally thought of doing...but i dont have a mini card reader
Im gonna try to borrow a freind's G1
but is there any other method i can try?
[email protected] said:
tats wat i orignally thought of doing...but i dont have a mini card reader
Click to expand...
Click to collapse
like i said...you need that.
Find some1 who has a device with a microsd-card-slot (most modern winmo-handsets have it)
without card reader
now i dont have much time this hapened to me b4 what u wanna do is if u have acess to adb just use adb (i dont remember if this is exzactly it but im sure someone could build off it did u try a wipe btw?
step 1
download adp1 rom place on a drive (C:\
step 2
start adb
step 3
type adb remount
step 4
typ adb shell
(it will give you a #)
step 5
type rm /sdcard/update.zip
step 6
type push xxx\update.zip /sdcard/update.zip
(xxx = file location of downloaded update)
step 7
reboot and install as normal

how to run app on sd for official adp1.1

I have install the official adp 1.1 according to:
http://www.htc.com/www/support/android/adp.html#s3
But I can not find the /system/init.rc in the system. So I can not mount the ext partition of my sdcard to the /system/sd when system load.
I only see the /init.rc file but can not modify it.
Can some one guide me how to resolve it?
You can't .
root you're phone first.
don't hesitate to use the search button too.
His phone is Rooted. He has an ADP.
@ cpedia: What he means to say is that you have to have JF's Firmware to be able to run apps from your SD Card.
Prerequisites:
1. Rooted g1 with jesus freak version 1.30 or 1.31, 1.41 (rc30, rc33) Works with all rooted US, UK, international versions of the g1.
You will need to go here to learn how to root your phone with JF firmware:http://forum.xda-developers.com/showthread.php?t=442480
Hope this helps.
Thanks for the clarifying.
I did that with the JF's firmware successfully before that.
There were some issues on JF's firmware for me. So I flash the official adp 1.1 firmware.
I have already install the busybox to adp1.1, but can't find a way to load the ext2 partition when system loaded.
Dredge said:
His phone is Rooted. He has an ADP.
@ cpedia: What he means to say is that you have to have JF's Firmware to be able to run apps from your SD Card.
Prerequisites:
1. Rooted g1 with jesus freak version 1.30 or 1.31, 1.41 (rc30, rc33) Works with all rooted US, UK, international versions of the g1.
You will need to go here to learn how to root your phone with JF firmware:http://forum.xda-developers.com/showthread.php?t=442480
Hope this helps.
Click to expand...
Click to collapse

[23/05] rooting the "Magic" - we have a root! [MODS?]

MODS - can you please move this thread to the sapphire development forum and stick it? thanks
_______________________________________________________________
WE HAVE A ROOT NOW
haykuro said:
GOT ROOT?
http://droiddeveloper.com/hrbuilds/boot-new.img.zip
1. download this, extract boot-new.img to your computer.
2. place your device into bootloader mode (BACK+POWER, or VOLUME DOWN+POWER)
3. fastboot boot boot-new.img
4. wait for device to boot
5. adb push boot-new.img /sdcard/boot-new.img
6. adb shell flash_image boot /sdcard/boot-new.img
that's it!
your device now has root via adb shell.
i'm making the rooted recovery.img now for magic
Click to expand...
Click to collapse
It shouldn't be too hard.
Viper only needs to update his QMAT for creaatin goldcards for the Magic.
Then you have to flash the RC29 nbh with it.
If only adb successes connecting to the magic with rc29 of g1, you can start telnetd.
Then you should be able to. Flash a custom recovery image to flash a modified cupcake.
maxisma said:
It shouldn't be too hard.
Viper only needs to update his QMAT for creaatin goldcards for the Magic.
Then you have to flash the RC29 nbh with it.
If only adb successes connecting to the magic with rc29 of g1, you can start telnetd.
Then you should be able to. Flash a custom recovery image to flash a modified cupcake.
Click to expand...
Click to collapse
Well, you see what I meant? all the expert are here!
Let's wait for Viper comment and/or ideas.
But one problem:
I don't know if the RC29 is compatible with the Magic. Maybe someone has to create a custom .nbh with customized drivers for the magic.
And please. Don't call me an expert
It's only an idea I know linux commands etc. But i know only some basics of programming (e.g. to make a DOS caluclator in C++ )
maxisma said:
But one problem:
I don't know if the RC29 is compatible with the Magic. Maybe someone has to create a custom .nbh with customized drivers for the magic.
And please. Don't call me an expert
It's only an idea I know linux commands etc. But i know only some basics of programming (e.g. to make a DOS caluclator in C++ )
Click to expand...
Click to collapse
I am far from being an expert but even if RC29 works and the DREAM test recovery works (which I doubt), it has no support for virtual keyboard, so right after he gets root he will need a hacked rooted ROM for the Magic. Isn't it safe to assume that until someone cook a special ROM for the Magic he is stuck with a rooted but unusable device?
A much bigger problem: how in the hell can you telnet in the Magic with no keyboard? Or even get past the setup wizard? In other words, even with RC29 there'll be no way to get root or even use the phone. This is gonna be a hell of a lot more difficult than it was for the G1(and it was pretty damn difficult for that)
Well, I guess HTC created this function for their reasons (tests etc.) and now it's only a matter of time until someone will find the way to do it too.
that's the reasone I posted the request, I seen things in XDA that i could never believe before, let's hope it'll happen again ...
Will this post help? http://www.codeandroid.org/forum/?wpforumaction=viewtopic&t=9.2
The guy pk detailed a 27 step, step-by-step guide to unlock those HTC Dream outside UK and US. Hope it helps.
chuazy said:
Will this post help? http://www.codeandroid.org/forum/?wpforumaction=viewtopic&t=9.2
The guy pk detailed a 27 step, step-by-step guide to unlock those HTC Dream outside UK and US. Hope it helps.
Click to expand...
Click to collapse
"2) Launch Terminal Emulator
3) Enter the following:
cd /sys/class/mmc_host/mmc1:*"
Terminal Emulator doesn't seem to work without hardware keyboard(doesn't bring up vk for me on G1 using cupcake, I'd imagine it wouldn't work on magic either). Speaking of which, you guys with Magic's wouldn't be able to use any of the recovery mode options either since those all require a hw keyboard. So even if you got a JF build you wouldn't be able to flash it.
[email protected] said:
"2) Launch Terminal Emulator
3) Enter the following:
cd /sys/class/mmc_host/mmc1:*"
Terminal Emulator doesn't seem to work without hardware keyboard(doesn't bring up vk for me on G1 using cupcake, I'd imagine it wouldn't work on magic either). Speaking of which, you guys with Magic's wouldn't be able to use any of the recovery mode options either since those all require a hw keyboard. So even if you got a JF build you wouldn't be able to flash it.
Click to expand...
Click to collapse
But you do understand this function must be exist right? even if you can't find it now, HTC created it because they do use the recovery mode options for test and stuff...
avimak said:
But you do understand this function must be exist right? even if you can't find it now, HTC created it because they do use the recovery mode options for test and stuff...
Click to expand...
Click to collapse
Unless they do so using some external hardware which is fully possible...(think external keyboard, possibly through extUSB)
EDIT: btw: not trying to be an ass or say that you guys are screwed, just pointing out problems that will need to be solved in order for this to work.
[email protected] said:
Unless they do so using some external hardware which is fully possible...(think external keyboard, possibly through extUSB)
EDIT: btw: not trying to be an ass or say that you guys are screwed, just pointing out problems that will need to be solved in order for this to work.
Click to expand...
Click to collapse
Well, if external USB keyboard is the only thing it takes to root my device - I'll buy one, and root the rest of the Magic Israeli users for free
You don't need a virtual keyboard.
If USB-Connection an ADB wworks, you can get in the hidden root shell by using adb shell with the sdk-tools.
maxisma said:
You don't need a virtual keyboard.
If USB-Connection an ADB wworks, you can get in the hidden root shell by using adb shell with the sdk-tools.
Click to expand...
Click to collapse
I got it:
$ (I can write stuff)...
what next?
@avimak:
You mean, you've connected your magic with installed rc29?
maxisma said:
@avimak:
You mean, you've connected your magic with installed rc29?
Click to expand...
Click to collapse
No, I have the Magic (vodafone version) connected to my PC (win xp) and I can run ADB shell.
avimak said:
No, I have the Magic (vodafone version) connected to my PC (win xp) and I can run ADB shell.
Click to expand...
Click to collapse
ok.
But i meant someone has to test if a magic downgraded to rc29 (via goldcard) works.
Not the orig. Firmware.
maxisma said:
You don't need a virtual keyboard.
If USB-Connection an ADB wworks, you can get in the hidden root shell by using adb shell with the sdk-tools.
Click to expand...
Click to collapse
That's true for the terminal once the operating system has started, but they'll be hosed if they ever reach a boot looping problem or need to flash any ROM.
EDIT: Well not if they boot loop on the android screen, but if it loops on the SPL, then they're hosed.
[email protected] said:
That's true for the terminal once the operating system has started, but they'll be hosed if they ever reach a boot looping problem or need to flash any ROM.
EDIT: Well not if they boot loop on the android screen, but if it loops on the SPL, then they're hosed.
Click to expand...
Click to collapse
Can you please write it again in simple words?
It's a bit "pro only" talking. I got my Android yesterday...
maxisma said:
ok.
But i meant someone has to test if a magic downgraded to rc29 (via goldcard) works.
Not the orig. Firmware.
Click to expand...
Click to collapse
There is an option to go back to the orig. version after the downgrade? can I "dump" my OS somewhere and Install it again from SPL if it failed the rc29?
I'm coming from WM - I'm speaking they lang...

Root your Rogers's Magic !!!

Only apply if you have a stock Roger's Magic without root!
The following procedure flashes the stock Roger's boot image with root access enabled to your Roger's Magic :
1. Copy this update to your SD-card.
2. Download RAv1.0's rooted recovery here.
3. Boot the device in fastboot mode.
4. Connect the device to your machine over USB.
5. $fastboot boot recovery-RAv1.0H.img
wait a few minutes and unplug your device from USB
6. Choose option "Apply sdcard:update.zip" from the menu
If the flashing doesn't work you might need to flash this SPL update from your sd-card after fast booting with recovery-RAv1.0H.img
If you want to have a rooted recovery as well, you can check out this post.
Enjoy
Special thanks to :
Haykuro for all his help ^^ , buy him a Nesquik!
JesusFreke for his JFv1.43's recovery
Would this work on the Rogers Dream?
alritewhadeva said:
Would this work on the Rogers Dream?
Click to expand...
Click to collapse
No it would not work.
It works! Woot Root!
Edit: Confirmed root adb access by pushing these onto my phone. Now my Rogers is more awesome! Huzzah!
how do i do the fifth step
"5. $fastboot boot recovery-RAv1.0H.img"
when i connect in fast boot method, i get a a found new hardware dialog box running windows vista ultimate x64 eition
trincisor said:
how do i do the fifth step
"5. $fastboot boot recovery-RAv1.0H.img"
when i connect in fast boot method, i get a a found new hardware dialog box running windows vista ultimate x64 eition
Click to expand...
Click to collapse
Did you install the drivers properly?
Now we need to get more roms working with the Rogers! Any ideas on how we con go about that?
is there any reason that this wouldn't work on the Dream ?
jpa- said:
is there any reason that this wouldn't work on the Dream ?
Click to expand...
Click to collapse
1. I don't think the kernel inside the recovery image would work on the dream.
2. The boot image inside the update is from the Magic, not from the dream.
There's no harm in trying to fastboot the recovery image... but I don't think it will work. Let us know if it would!
Don't we need rooted recovery to be able to restore our backups? Just confirming......
parrot5 said:
Don't we need rooted recovery to be able to restore our backups? Just confirming......
Click to expand...
Click to collapse
recovery-RAv1.0H.img is rooted...
Wow... Thanks Amon_RA! I can now install some input methods that I couldn't do...
We still can't just choose any ROM out there, correct? Or now that we have ROOT we are invincible? .. hehe
Here's another possible noobish question: there doesn't appear to be any su installed by default into the stock Rogers rom (ie. attempting to su from the console results in "su:not found"). Any ideas?
parrot5 said:
Wow... Thanks Amon_RA! I can now install some input methods that I couldn't do...
We still can't just choose any ROM out there, correct? Or now that we have ROOT we are invincible? .. hehe
Click to expand...
Click to collapse
The boot images inside the "any ROM" would have to be repacked using Haykuro's discovered offset
So make sure you know what you are doing and always make a backup of your current configuration first!
Any specific ROM you would like to run on your rooted Rogers?
skittleguy said:
Here's another possible noobish question: there doesn't appear to be any su installed by default into the stock Rogers rom (ie. attempting to su from the console results in "su:not found"). Any ideas?
Click to expand...
Click to collapse
Just download Koush's su from his blog here.
* Unzip the ZIP file (it will create a folder called Superuser).
* Run install.bat (or install.sh if you are on Linux) from the Superuser directory.
Amon_RA said:
The boot images inside the "any ROM" would have to be repacked using Haykuro's discovered offset
So make sure you know what you are doing and always make a backup of your current configuration first!
Any specific ROM you would like to run on your rooted Rogers?
Click to expand...
Click to collapse
Not sure I know what I'm doing I do not know how to mod an image.
I saw on the forum that a few people mentioned the Ion ROM is the fastest of the bunch? I definitely would want to try it. I know many other people who want the Hero ROM instead
Amon_RA said:
Just download Koush's su from his blog here.
* Unzip the ZIP file (it will create a folder called Superuser).
* Run install.bat (or install.sh if you are on Linux) from the Superuser directory.
Click to expand...
Click to collapse
Thank you so so much for all your work. You have truly made my month
wow it worked.. damn.. now i might have to get me a mytouch3g when it gets released
I followed the instructions and the phone rebooted... should I be able to su now?
I get permission denied..
thanks for your work on this Amon_RA & Haykuro!
All the best,
Rob
thank you for this.
i have a rooted rogers magic with su access.
wifi-tether is not working for me with the rogers rom. need to install a new rom i guess.

Categories

Resources